[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]OFD Sender: No OFD packet to send [03:01:21]OFD Sender: No OFD packet to send [03:01:26]OFD Sender: No OFD packet to send [03:01:31]OFD Sender: No OFD packet to send [03:01:36]OFD Sender: No OFD packet to send [03:01:41]OFD Sender: No OFD packet to send [03:01:46]OFD Sender: No OFD packet to send [03:01:51]OFD Sender: No OFD packet to send [03:01:56]OFD Sender: No OFD packet to send [03:02:01]OFD Sender: No OFD packet to send [03:02:06]OFD Sender: No OFD packet to send [03:02:11]OFD Sender: No OFD packet to send [03:02:16]OFD Sender: No OFD packet to send [03:02:21]OFD Sender: No OFD packet to send [03:02:26]OFD Sender: No OFD packet to send [03:02:31]OFD Sender: No OFD packet to send [03:02:36]OFD Sender: No OFD packet to send [03:02:41]OFD Sender: No OFD packet to send [03:02:46]OFD Sender: No OFD packet to send [03:02:51]OFD Sender: No OFD packet to send [03:02:56]OFD Sender: No OFD packet to send [03:03:01]OFD Sender: No OFD packet to send [03:03:06]OFD Sender: No OFD packet to send [03:03:11]OFD Sender: No OFD packet to send [03:03:16]OFD Sender: No OFD packet to send [03:03:21]OFD Sender: No OFD packet to send [03:03:26]OFD Sender: No OFD packet to send [03:03:31]OFD Sender: No OFD packet to send [03:03:36]OFD Sender: No OFD packet to send [03:03:41]OFD Sender: No OFD packet to send [03:03:46]OFD Sender: No OFD packet to send [03:03:51]OFD Sender: No OFD packet to send [03:03:56]OFD Sender: No OFD packet to send [03:04:01]OFD Sender: No OFD packet to send [03:04:06]OFD Sender: No OFD packet to send [03:04:11]OFD Sender: No OFD packet to send [03:04:16]OFD Sender: No OFD packet to send [03:04:21]OFD Sender: No OFD packet to send [03:04:26]OFD Sender: No OFD packet to send [03:04:31]OFD Sender: No OFD packet to send [03:04:36]OFD Sender: No OFD packet to send [03:04:41]OFD Sender: No OFD packet to send [03:04:46]OFD Sender: No OFD packet to send [03:04:51]OFD Sender: No OFD packet to send [03:04:56]OFD Sender: No OFD packet to send [03:05:01]OFD Sender: No OFD packet to send [03:05:06]OFD Sender: No OFD packet to send [03:05:11]OFD Sender: No OFD packet to send [03:05:16]OFD Sender: No OFD packet to send [03:05:21]OFD Sender: No OFD packet to send [03:05:26]OFD Sender: No OFD packet to send [03:05:31]OFD Sender: No OFD packet to send [03:05:36]OFD Sender: No OFD packet to send [03:05:41]OFD Sender: No OFD packet to send [03:05:46]OFD Sender: No OFD packet to send [03:05:51]OFD Sender: No OFD packet to send [03:05:56]OFD Sender: No OFD packet to send [03:06:01]OFD Sender: No OFD packet to send [03:06:06]OFD Sender: No OFD packet to send [03:06:11]OFD Sender: No OFD packet to send [03:06:16]OFD Sender: No OFD packet to send [03:06:21]OFD Sender: No OFD packet to send [03:06:26]OFD Sender: No OFD packet to send [03:06:31]OFD Sender: No OFD packet to send [03:06:36]OFD Sender: No OFD packet to send [03:06:41]OFD Sender: No OFD packet to send [03:06:46]OFD Sender: No OFD packet to send [03:06:52]OFD Sender: No OFD packet to send [03:06:57]OFD Sender: No OFD packet to send [03:07:02]OFD Sender: No OFD packet to send [03:07:07]OFD Sender: No OFD packet to send [03:07:12]OFD Sender: No OFD packet to send [03:07:17]OFD Sender: No OFD packet to send [03:07:22]OFD Sender: No OFD packet to send [03:07:27]OFD Sender: No OFD packet to send [03:07:32]OFD Sender: No OFD packet to send [03:07:37]OFD Sender: No OFD packet to send [03:07:42]OFD Sender: No OFD packet to send [03:07:47]OFD Sender: No OFD packet to send [03:07:52]OFD Sender: No OFD packet to send [03:07:57]OFD Sender: No OFD packet to send [03:08:02]OFD Sender: No OFD packet to send [03:08:07]OFD Sender: No OFD packet to send [03:08:12]OFD Sender: No OFD packet to send [03:08:17]OFD Sender: No OFD packet to send [03:08:22]OFD Sender: No OFD packet to send [03:08:27]OFD Sender: No OFD packet to send [03:08:32]OFD Sender: No OFD packet to send [03:08:37]OFD Sender: No OFD packet to send [03:08:42]OFD Sender: No OFD packet to send [03:08:47]OFD Sender: No OFD packet to send [03:08:52]OFD Sender: No OFD packet to send [03:08:57]OFD Sender: No OFD packet to send [03:09:02]OFD Sender: No OFD packet to send [03:09:07]OFD Sender: No OFD packet to send [03:09:12]OFD Sender: No OFD packet to send [03:09:17]OFD Sender: No OFD packet to send [03:09:22]OFD Sender: No OFD packet to send [03:09:27]OFD Sender: No OFD packet to send [03:09:32]OFD Sender: No OFD packet to send [03:09:37]OFD Sender: No OFD packet to send [03:09:42]OFD Sender: No OFD packet to send [03:09:47]OFD Sender: No OFD packet to send [03:09:52]OFD Sender: No OFD packet to send [03:09:57]OFD Sender: No OFD packet to send [03:10:02]OFD Sender: No OFD packet to send [03:10:07]OFD Sender: No OFD packet to send [03:10:12]OFD Sender: No OFD packet to send [03:10:17]OFD Sender: No OFD packet to send [03:10:22]OFD Sender: No OFD packet to send [03:10:27]OFD Sender: No OFD packet to send [03:10:32]OFD Sender: No OFD packet to send [03:10:37]OFD Sender: No OFD packet to send [03:10:42]OFD Sender: No OFD packet to send [03:10:47]OFD Sender: No OFD packet to send [03:10:52]OFD Sender: No OFD packet to send [03:10:57]OFD Sender: No OFD packet to send [03:11:02]OFD Sender: No OFD packet to send [03:11:07]OFD Sender: No OFD packet to send [03:11:12]OFD Sender: No OFD packet to send [03:11:17]OFD Sender: No OFD packet to send [03:11:22]OFD Sender: No OFD packet to send [03:11:27]OFD Sender: No OFD packet to send [03:11:32]OFD Sender: No OFD packet to send [03:11:37]OFD Sender: No OFD packet to send [03:11:42]OFD Sender: No OFD packet to send [03:11:47]OFD Sender: No OFD packet to send [03:11:52]OFD Sender: No OFD packet to send [03:11:57]OFD Sender: No OFD packet to send [03:12:02]OFD Sender: No OFD packet to send [03:12:07]OFD Sender: No OFD packet to send [03:12:12]OFD Sender: No OFD packet to send [03:12:17]OFD Sender: No OFD packet to send [03:12:22]OFD Sender: No OFD packet to send [03:12:27]OFD Sender: No OFD packet to send [03:12:32]OFD Sender: No OFD packet to send [03:12:37]OFD Sender: No OFD packet to send [03:12:42]OFD Sender: No OFD packet to send [03:12:47]OFD Sender: No OFD packet to send [03:12:57]OFD Sender: No OFD packet to send [03:13:02]OFD Sender: No OFD packet to send [03:13:07]OFD Sender: No OFD packet to send [03:13:12]OFD Sender: No OFD packet to send [03:13:17]OFD Sender: No OFD packet to send [03:13:22]OFD Sender: No OFD packet to send [03:13:27]OFD Sender: No OFD packet to send [03:13:32]OFD Sender: No OFD packet to send [03:13:37]OFD Sender: No OFD packet to send [03:13:42]OFD Sender: No OFD packet to send [03:13:47]OFD Sender: No OFD packet to send [03:13:52]OFD Sender: No OFD packet to send [03:13:57]OFD Sender: No OFD packet to send [03:14:02]OFD Sender: No OFD packet to send [03:14:07]OFD Sender: No OFD packet to send [03:14:12]OFD Sender: No OFD packet to send [03:14:17]OFD Sender: No OFD packet to send [03:14:22]OFD Sender: No OFD packet to send [03:14:27]OFD Sender: No OFD packet to send [03:14:32]OFD Sender: No OFD packet to send [03:14:37]OFD Sender: No OFD packet to send [03:14:42]OFD Sender: No OFD packet to send [03:14:47]OFD Sender: No OFD packet to send [03:14:52]OFD Sender: No OFD packet to send [03:14:57]OFD Sender: No OFD packet to send [03:15:02]OFD Sender: No OFD packet to send [03:15:05]ConnectInit Can't connect to host [03:15:07]OFD Sender: No OFD packet to send [03:15:12]OFD Sender: No OFD packet to send [03:15:17]OFD Sender: No OFD packet to send [03:15:22]OFD Sender: No OFD packet to send [03:15:27]OFD Sender: No OFD packet to send [03:15:42]ConnectInit Can't connect to host [03:15:42]OFD Sender: No OFD packet to send [03:15:47]OFD Sender: No OFD packet to send [03:15:52]OFD Sender: No OFD packet to send [03:15:57]OFD Sender: No OFD packet to send [03:16:02]OFD Sender: No OFD packet to send [03:16:07]OFD Sender: No OFD packet to send [03:16:12]OFD Sender: No OFD packet to send [03:16:17]OFD Sender: No OFD packet to send [03:16:22]OFD Sender: No OFD packet to send [03:16:27]OFD Sender: No OFD packet to send [03:16:32]OFD Sender: No OFD packet to send [03:16:37]OFD Sender: No OFD packet to send [03:16:42]OFD Sender: No OFD packet to send [03:16:47]OFD Sender: No OFD packet to send [03:16:52]OFD Sender: No OFD packet to send [03:16:57]OFD Sender: No OFD packet to send [03:17:02]OFD Sender: No OFD packet to send [03:17:07]OFD Sender: No OFD packet to send [03:17:12]OFD Sender: No OFD packet to send [03:17:17]OFD Sender: No OFD packet to send [03:17:22]OFD Sender: No OFD packet to send [03:17:27]OFD Sender: No OFD packet to send [03:17:32]OFD Sender: No OFD packet to send [03:17:37]OFD Sender: No OFD packet to send [03:17:42]OFD Sender: No OFD packet to send [03:17:47]OFD Sender: No OFD packet to send [03:17:52]OFD Sender: No OFD packet to send [03:17:57]OFD Sender: No OFD packet to send [03:18:02]OFD Sender: No OFD packet to send [03:18:07]OFD Sender: No OFD packet to send [03:18:12]OFD Sender: No OFD packet to send [03:18:17]OFD Sender: No OFD packet to send [03:18:22]OFD Sender: No OFD packet to send [03:18:27]OFD Sender: No OFD packet to send [03:18:32]OFD Sender: No OFD packet to send [03:18:37]OFD Sender: No OFD packet to send [03:18:42]OFD Sender: No OFD packet to send [03:18:47]OFD Sender: No OFD packet to send [03:18:52]OFD Sender: No OFD packet to send [03:18:57]OFD Sender: No OFD packet to send [03:19:02]OFD Sender: No OFD packet to send [03:19:07]OFD Sender: No OFD packet to send [03:19:12]OFD Sender: No OFD packet to send [03:19:17]OFD Sender: No OFD packet to send [03:19:22]OFD Sender: No OFD packet to send [03:19:27]OFD Sender: No OFD packet to send [03:19:32]OFD Sender: No OFD packet to send [03:19:37]OFD Sender: No OFD packet to send [03:19:42]OFD Sender: No OFD packet to send [03:19:47]OFD Sender: No OFD packet to send [03:19:52]OFD Sender: No OFD packet to send [03:19:57]OFD Sender: No OFD packet to send [03:20:02]OFD Sender: No OFD packet to send [03:20:07]OFD Sender: No OFD packet to send [03:20:12]OFD Sender: No OFD packet to send [03:20:17]OFD Sender: No OFD packet to send [03:20:22]OFD Sender: No OFD packet to send [03:20:27]OFD Sender: No OFD packet to send [03:20:32]OFD Sender: No OFD packet to send [03:20:37]OFD Sender: No OFD packet to send [03:20:42]OFD Sender: No OFD packet to send [03:20:47]OFD Sender: No OFD packet to send [03:20:52]OFD Sender: No OFD packet to send [03:20:57]OFD Sender: No OFD packet to send [03:21:02]OFD Sender: No OFD packet to send [03:21:07]OFD Sender: No OFD packet to send [03:21:12]OFD Sender: No OFD packet to send [03:21:17]OFD Sender: No OFD packet to send [03:21:22]OFD Sender: No OFD packet to send [03:21:27]OFD Sender: No OFD packet to send [03:21:32]OFD Sender: No OFD packet to send [03:21:37]OFD Sender: No OFD packet to send [03:21:42]OFD Sender: No OFD packet to send [03:21:47]OFD Sender: No OFD packet to send [03:21:52]OFD Sender: No OFD packet to send [03:21:57]OFD Sender: No OFD packet to send [03:21:59]accept exits with 8 [03:21:59]New connection [03:21:59]New thread 3067518308 created [03:21:59]Thread 3067374948 joined [03:21:59]Waiting for new connection... [03:21:59] Sock 8.Parse request [03:21:59]Sock 8.Check first char [03:21:59]Sock 8.First char is OK [03:22:00]request: POST /json_proto HTTP/1.0 [03:22:00]Method: POST [03:22:00]URL: /json_proto [03:22:00]Method is POST - this is cgi request [03:22:00]url: /json_proto [03:22:00]query_string will be loaded in cgi processing [03:22:00]execute_cgi json_proto POST (null) [03:22:00]execute_cgi path=json_proto method=POST [03:22:00]POST find Content-Length [03:22:00]Host: 172.17.42.3:8080 [03:22:00]Content-Length: 655 [03:22:00]Content-Type: application/json [03:22:00] [03:22:00]POST finish read [03:22:00]Found Content-Length = 655 [03:22:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17151", "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" : 3.000, "sum" : 285.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" ] } } [03:22:00]execute_script... [03:22: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)17151", "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" : 3.000, "sum" : 285.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" ] } } [03:22:00]POST & json_proto [03:22:00]process_json_proto [03:22:00]json parsed OK: [03:22:00]protocol is kg_v1.0 [03:22:00]action value=close_receipt [03:22:00]process_action close_receipt [03:22:00]cmd_close_receipt [03:22:00]MH_GetDate [03:22:00]Write to MH i2c: F0 00 00 D0 03 C2 [03:22:00]Write i2c OK [03:22:00]MH_I2C_Read... [03:22:00]Read from MH i2c: F0 [03:22:00]MH_I2C_Read... [03:22:00]Read from MH i2c: F0 09 00 [03:22:00]MH_I2C_Read... [03:22:00]Read from MH i2c: F0 09 00 D0 03 00 58 03 1F 67 EA E5 1E 67 00 [03:22:00]GetLastDocTimeStamp 1730081795 [03:22:00]current date 1730085720 [03:22:00]FM_GetShiftState [03:22:00]SAM_PROTO_GetShiftState [03:22:00]wFMCommunicate request_size=4 [03:22:00]MH_SAM_APDU [03:22:00]CAPDU: 80 13 01 00 [03:22:00]Write to MH i2c: E2 08 00 D1 03 80 13 01 00 00 00 00 00 51 [03:22:00]Write i2c OK [03:22:00]MH_I2C_Read... [03:22:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:22:00]Read from MH i2c: E2 [03:22:00]MH_I2C_Read... [03:22:00]Read from MH i2c: E2 0E 00 [03:22:00]MH_I2C_Read... [03:22:00]Read from MH i2c: E2 0E 00 D1 03 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 4C [03:22:00]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [03:22:00]wFMCommunicate OK [03:22:00]SAM_PROTO_GetShiftState done [03:22:00]FM_GetShiftState done [03:22:00]opened in 1730074770 [03:22:00]opened+sec_in_day 1730161170 [03:22:00]quantity*price = 28500 [03:22:00]sum+1 = 28501 [03:22:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 285.00 НСП 1% : 2.52 НДС 12% : 30.26 Наличными: 285.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 15 28.10.2024 03:22 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68110 ФПД: 40987301623429 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T032200&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68110&fm=40987301623429&tin=02508201610067®Number=0000000000091759&sum=28500 0 [03:22:01]StoreToDocumentArchive [03:22:01]shift 547 fd 68110 [03:22:01]save to /storage/0547/doc_00068110 [03:22:01]save last doc name /storage/0547/doc_00068110 to /storage/kkm_last_doc_name [03:22:01]save OK [03:22:01]Clear old archive folders... [03:22:01]Remove dir /storage/0522 [03:22:01]opendir ok [03:22:01]file . [03:22:01]file .. [03:22:01]file doc_1730081802 [03:22:01]remove file /storage/0522/doc_1730081802 [03:22:01]remove dir /storage/0522 [03:22:01]ProcessDocumentItem done err = 0, tmpTLVsize=293 [03:22:01]tlvbuf is 0092FAB0 [03:22:01]SAM_PROTO_ClearQueue [03:22:01]wFMCommunicate request_size=4 [03:22:01]MH_SAM_APDU [03:22:01]CAPDU: 80 09 00 00 [03:22:01]Write to MH i2c: E2 08 00 DE 03 80 09 00 00 00 00 00 00 53 [03:22:01]Write i2c OK [03:22:01]MH_I2C_Read... [03:22:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:22:01]Read from MH i2c: E2 [03:22:01]MH_I2C_Read... [03:22:01]Read from MH i2c: E2 03 00 [03:22:01]MH_I2C_Read... [03:22:01]Read from MH i2c: E2 03 00 DE 03 00 90 00 55 [03:22:01]RAPDU: 90 00 [03:22:01]wFMCommunicate OK [03:22:01]SAM_PROTO_ClearQueue done [03:22:01]KKMCreateOFDPacket [03:22:01]OFDProtocolAddRootSTLVToBuf [03:22:01]FM_MakeSignedData [03:22:01]FM_MakeSignedData [03:22:01]SAM_PROTO_SignData [03:22:01]wFMCommunicate request_size=4 [03:22:01]MH_SAM_APDU [03:22:01]CAPDU: 80 0D 01 02 [03:22:01]Write to MH i2c: E2 08 00 DF 03 80 0D 01 02 00 00 00 00 5B [03:22:01]Write i2c OK [03:22:01]MH_I2C_Read... [03:22:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:22:01]Read from MH i2c: E2 [03:22:01]MH_I2C_Read... [03:22:01]Read from MH i2c: E2 03 00 [03:22:01]MH_I2C_Read... [03:22:01]Read from MH i2c: E2 03 00 DF 03 00 90 00 56 [03:22:01]RAPDU: 90 00 [03:22:01]wFMCommunicate OK [03:22:01]wFMCommunicate request_size=255 [03:22:01]MH_SAM_APDU [03:22:01]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 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 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 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 0F 00 00 00 F4 03 04 00 58 03 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [03:22:01]Write to MH i2c: E2 02 01 E0 03 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 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 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 0F 00 00 00 F4 03 04 00 58 03 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 FF [03:22:01]Write i2c OK [03:22:01]MH_I2C_Read... [03:22:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:22:01]Read from MH i2c: E2 [03:22:01]MH_I2C_Read... [03:22:01]Read from MH i2c: E2 03 00 [03:22:01]MH_I2C_Read... [03:22:01]Read from MH i2c: E2 03 00 E0 03 00 90 00 57 [03:22:01]RAPDU: 90 00 [03:22:01]wFMCommunicate OK [03:22:01]wFMCommunicate request_size=52 [03:22:01]MH_SAM_APDU [03:22:01]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0E 0A 01 00 35 04 06 00 25 47 19 8D B6 85 [03:22:01]Write to MH i2c: E2 37 00 E1 03 80 0D 02 02 2F 00 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0E 0A 01 00 35 04 06 00 25 47 19 8D B6 85 00 00 91 [03:22:01]Write i2c OK [03:22:01]MH_I2C_Read... [03:22:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:22:01]Read from MH i2c: E2 [03:22:01]MH_I2C_Read... [03:22:01]Read from MH i2c: E2 03 00 [03:22:01]MH_I2C_Read... [03:22:01]Read from MH i2c: E2 03 00 E1 03 00 90 00 58 [03:22:01]RAPDU: 90 00 [03:22:01]wFMCommunicate OK [03:22:01]wFMCommunicate request_size=4 [03:22:01]MH_SAM_APDU [03:22:01]CAPDU: 80 0D 03 02 [03:22:01]Write to MH i2c: E2 08 00 E2 03 80 0D 03 02 00 00 00 00 60 [03:22:01]Write i2c OK [03:22:01]MH_I2C_Read... [03:22:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:22:01]Read from MH i2c: E2 [03:22:01]MH_I2C_Read... [03:22:01]Read from MH i2c: E2 0B 00 [03:22:01]MH_I2C_Read... [03:22:01]Read from MH i2c: E2 0B 00 E2 03 00 2D 02 CC F9 2C EE A0 37 90 00 46 [03:22:01]RAPDU: 2D 02 CC F9 2C EE A0 37 90 00 [03:22:01]wFMCommunicate OK [03:22:01]SAM_PROTO_SignData done [03:22:01]FM_MakeSignedData done [03:22:01]CreateOFDProtocolMessage [03:22:01]wFMCommunicate request_size=4 [03:22:01]MH_SAM_APDU [03:22:01]CAPDU: 80 11 00 00 [03:22:01]Write to MH i2c: E2 08 00 E3 03 80 11 00 00 00 00 00 00 60 [03:22:01]Write i2c OK [03:22:01]MH_I2C_Read... [03:22:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:22:01]Read from MH i2c: E2 [03:22:01]MH_I2C_Read... [03:22:01]Read from MH i2c: E2 17 00 [03:22:01]MH_I2C_Read... [03:22:01]Read from MH i2c: E2 17 00 E3 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 B7 [03:22:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [03:22:01]wFMCommunicate OK [03:22:01]CreateOFDProtocolMessage done [03:22:01]OFDSenderStorePacket 68110 [03:22:01]StoreOFDPacket docnum=68110 [03:22:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 39 01 00 00 A9 52 31 01 40 48 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 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 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 0F 00 00 00 F4 03 04 00 58 03 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0E 0A 01 00 35 04 06 00 25 47 19 8D B6 85 2D 02 CC F9 2C EE A0 37 [03:22:01]CheckFolder [03:22:01]dirname=/storage/ofd_packets [03:22:01]CheckFolder done [03:22:01]ProducePacketName [03:22:01]name=ofd_packets/00068110 [03:22:01]NVStorageSaveData ofd_packets/00068110 [03:22:01]File name is /storage/ofd_packets/00068110 [03:22:01]Write 343 bytes [03:22:01]NVStorageSaveData done [03:22:01]OFDSenderStorePacket done [03:22:01]KKMCreateOFDPacket done [03:22:01]NVStorageSaveData kkm_last_timestamp [03:22:01]File name is /storage/kkm_last_timestamp [03:22:01]Write 4 bytes [03:22:01]NVStorageSaveData done [03:22:01]ExternCall_PrintAddStr [03:22:01]wPrintStart [03:22:01]Write to MH i2c: 01 00 00 E4 03 E7 [03:22:01]Write i2c OK [03:22:01]MH_I2C_Read... [03:22:01]Read from MH i2c: 01 [03:22:01]MH_I2C_Read... [03:22:01]Read from MH i2c: 01 07 00 [03:22:01]MH_I2C_Read... [03:22:01]Read from MH i2c: 01 07 00 E4 03 00 00 00 00 00 FF 0F FC [03:22:01]RasterBufferAndPrint [03:22:01]line Счет N : (3)17151 [03:22:01]line ИНН: 02508201610067 [03:22:01]line Контрольно-Кассовый Чек [03:22:01]line ПРОДАЖА [03:22:01]line Товар: 4700000480050 [03:22:01]line Напиток Nitro Energy эн green ж/б 0,45л [03:22:01]line 3.000 * 95.00 [03:22:01]line = 285.00 [03:22:01]line НДС 12% НСП 1% [03:22:01]line > о реализуемом товаре [03:22:01]line ИТОГО: 285.00 [03:22:01]line НСП 1% : 2.52 [03:22:01]line НДС 12% : 30.26 [03:22:01]line Наличными: 285.00 [03:22:01]line Безнал.: 0.00 [03:22:01]line Место: АЗС № 160 "Партнер Нефть" [03:22:01]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [03:22:01]OFD Sender: Processing packet 68110 [packets to send 27, broken 26] [03:22:01]ProducePacketName [03:22:01]name=ofd_packets/00068110 [03:22:01]OFD Sender: To server: pG, [03:22:01]CommunicateWithHost lk.salyk.kg:30040 [03:22:01]ConnectInit lk.salyk.kg [03:22:01]line СНО: Общий режим [03:22:01]line Чек 15 28.10.2024 03:22 [03:22:01]line Смена: 547 ФФД: 1.0 [03:22:01]line ЗНМ: 0300000093 [03:22:01]line РНМ: 0000000000091759 [03:22:01]line Версия ККМ: 001 [03:22:01]line ФМ: 0000000000871758 [03:22:01]line ФД: 68110 [03:22:02]line ФПД: 40987301623429 [03:22:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T032200&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68110&fm=40987301623429&tin=02508201610067®Number=0000000000091759&sum=28500 [03:22:02]line 0 [03:22:02]Connected sock=10 [03:22:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 39 01 00 00 A9 52 31 01 40 48 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 B8 0B 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 54 6F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D2 0B 00 00 00 00 07 04 06 00 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 0F 00 00 00 F4 03 04 00 58 03 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0E 0A 01 00 35 04 06 00 25 47 19 8D B6 85 2D 02 CC F9 2C EE A0 37 [03:22:02]written 0, free lines is 4095 [03:22:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 AD 78 47 00 B2 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 38 37 31 37 35 38 10 04 04 00 0E 0A 01 00 F4 03 04 00 12 AF 1E 67 B6 04 01 00 00 77 71 FC B7 FD DF 31 43 [03:22:02]CommunicateWithHost err = 0 [03:22:02]CheckOFDResponse [03:22:02]1017 (14) - 77093643461234 [03:22:02]1041 (16) - 0000000000871758 [03:22:02]1040 (4) - 68110 [03:22:02]1012 (4) - 27.10.2024 21:22 [03:22:02]1206 (1) - 0 [03:22:02]OFD Sender: Remove packet 68110 [03:22:02]ProducePacketName [03:22:02]name=ofd_packets/00068110 [03:22:02]NVStorageDeleteData [03:22:02]Write to MH i2c: 01 00 00 0C 04 10 [03:22:02]Write i2c OK [03:22:02]MH_I2C_Read... [03:22:02]Read from MH i2c: 01 [03:22:02]MH_I2C_Read... [03:22:02]Read from MH i2c: 01 07 00 [03:22:02]MH_I2C_Read... [03:22:02]Read from MH i2c: 01 07 00 0C 04 00 00 00 00 00 D3 0C F6 [03:22:02]RasterBufferAndPrint [03:22:02]line [03:22:02]line [03:22:02]line [03:22:02]line [03:22:02]line [03:22:02]written 0, free lines is 3287 [03:22:02]MH_Cut [03:22:02]Write to MH i2c: D1 01 00 13 04 01 E9 [03:22:02]Write i2c OK [03:22:02]MH_I2C_Read... [03:22:02]Read from MH i2c: D1 [03:22:02]MH_I2C_Read... [03:22:02]Read from MH i2c: D1 01 00 [03:22:02]MH_I2C_Read... [03:22:02]Read from MH i2c: D1 01 00 13 04 00 E8 [03:22:02]Write to MH i2c: 01 00 00 14 04 18 [03:22:02]Write i2c OK [03:22:02]MH_I2C_Read... [03:22:02]OFD Sender: No OFD packet to send [03:22:03]*** Cut start [03:22:03]*** Partial cut [03:22:03]*** CUTSNS_PIN = 1 [03:22:03]*** CUTSNS_PIN = 0 [03:22:03]*** Brake cut motor [03:22:03]Read from MH i2c: 01 [03:22:03]MH_I2C_Read... [03:22:03]*** Stop cut motor [03:22:03]*** Cut end [03:22:03]Read from MH i2c: 01 07 00 [03:22:03]MH_I2C_Read... [03:22:03]Read from MH i2c: 01 07 00 14 04 00 00 00 00 00 FF 0F 2D [03:22:03]process_action close_receipt done [03:22:03]requested_data is exist [03:22:03]produce_requested_data [03:22:03]requested_item fm.sn is exist - process it [03:22:03]wFMCommunicate request_size=4 [03:22:03]MH_SAM_APDU [03:22:03]CAPDU: 80 11 00 00 [03:22:03]Write to MH i2c: E2 08 00 15 04 80 11 00 00 00 00 00 00 93 [03:22:03]Write i2c OK [03:22:03]MH_I2C_Read... [03:22:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:22:03]Read from MH i2c: E2 [03:22:03]MH_I2C_Read... [03:22:03]Read from MH i2c: E2 17 00 [03:22:03]MH_I2C_Read... [03:22:03]Read from MH i2c: E2 17 00 15 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 EA [03:22:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [03:22:03]wFMCommunicate OK [03:22:03]requested_item fd.num is exist - process it [03:22:03]SAM_PROTO_GetFieldsCounters [03:22:03]wFMCommunicate request_size=4 [03:22:03]MH_SAM_APDU [03:22:03]CAPDU: 80 13 00 00 [03:22:03]Write to MH i2c: E2 08 00 16 04 80 13 00 00 00 00 00 00 96 [03:22:03]Write i2c OK [03:22:03]MH_I2C_Read... [03:22:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:22:04]Read from MH i2c: E2 [03:22:04]MH_I2C_Read... [03:22:04]Read from MH i2c: E2 62 00 [03:22:04]MH_I2C_Read... [03:22:04]Read from MH i2c: E2 62 00 16 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 0E 0A 01 00 0E 04 04 00 23 02 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 2C [03:22:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 0E 0A 01 00 0E 04 04 00 23 02 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 [03:22:04]wFMCommunicate OK [03:22:04]SAM_PROTO_GetFieldsCounters done [03:22:04]requested_item shift.num is exist - process it [03:22:04]requested_item shift.opened is exist - process it [03:22:04]req_shift_opened [03:22:04]FM_GetShiftState [03:22:04]SAM_PROTO_GetShiftState [03:22:04]wFMCommunicate request_size=4 [03:22:04]MH_SAM_APDU [03:22:04]CAPDU: 80 13 01 00 [03:22:04]Write to MH i2c: E2 08 00 17 04 80 13 01 00 00 00 00 00 98 [03:22:04]Write i2c OK [03:22:04]MH_I2C_Read... [03:22:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:22:04]Read from MH i2c: E2 [03:22:04]MH_I2C_Read... [03:22:04]Read from MH i2c: E2 0E 00 [03:22:04]MH_I2C_Read... [03:22:04]Read from MH i2c: E2 0E 00 17 04 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 93 [03:22:04]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [03:22:04]wFMCommunicate OK [03:22:04]SAM_PROTO_GetShiftState done [03:22:04]FM_GetShiftState done [03:22:04]req_shift_opened done [03:22:04]requested_item shift.open_date is exist - process it [03:22:04]req_shift_open_date [03:22:04]req_shift_open_date done [03:22:04]produce_requested_data done [03:22:04]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68110,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [03:22:04]process_action_free close_receipt [03:22:04]json_value_free [03:22:04]json_value_free done [03:22:04]process_json_proto returns [03:22:04]Send response to host [03:22:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68110,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [03:22:04]free response buf [03:22:04]execute_script done [03:22:04]execute_script returns [03:22:04]free content buf [03:22:04]Sock 8.Close socket [03:22:04]Sock 8.Thread stoped [03:22:07]OFD Sender: No OFD packet to send [03:22:12]OFD Sender: No OFD packet to send [03:22:17]OFD Sender: No OFD packet to send [03:22:22]OFD Sender: No OFD packet to send [03:22:27]OFD Sender: No OFD packet to send [03:22:32]OFD Sender: No OFD packet to send [03:22:37]OFD Sender: No OFD packet to send [03:22:42]OFD Sender: No OFD packet to send [03:22:47]OFD Sender: No OFD packet to send [03:22:52]OFD Sender: No OFD packet to send [03:22:57]OFD Sender: No OFD packet to send [03:23:02]OFD Sender: No OFD packet to send [03:23:07]OFD Sender: No OFD packet to send [03:23:12]OFD Sender: No OFD packet to send [03:23:17]OFD Sender: No OFD packet to send [03:23:22]OFD Sender: No OFD packet to send [03:23:27]OFD Sender: No OFD packet to send [03:23:32]OFD Sender: No OFD packet to send [03:23:37]OFD Sender: No OFD packet to send [03:23:42]OFD Sender: No OFD packet to send [03:23:47]OFD Sender: No OFD packet to send [03:23:52]OFD Sender: No OFD packet to send [03:23:57]OFD Sender: No OFD packet to send [03:24:02]OFD Sender: No OFD packet to send [03:24:07]OFD Sender: No OFD packet to send [03:24:12]OFD Sender: No OFD packet to send [03:24:17]OFD Sender: No OFD packet to send [03:24:22]OFD Sender: No OFD packet to send [03:24:27]OFD Sender: No OFD packet to send [03:24:32]OFD Sender: No OFD packet to send [03:24:37]OFD Sender: No OFD packet to send [03:24:42]OFD Sender: No OFD packet to send [03:24:47]OFD Sender: No OFD packet to send [03:24:52]OFD Sender: No OFD packet to send [03:24:57]OFD Sender: No OFD packet to send [03:25:02]OFD Sender: No OFD packet to send [03:25:07]OFD Sender: No OFD packet to send [03:25:12]OFD Sender: No OFD packet to send [03:25:17]OFD Sender: No OFD packet to send [03:25:22]OFD Sender: No OFD packet to send [03:25:27]OFD Sender: No OFD packet to send [03:25:32]OFD Sender: No OFD packet to send [03:25:37]OFD Sender: No OFD packet to send [03:25:42]OFD Sender: No OFD packet to send [03:25:47]OFD Sender: No OFD packet to send [03:25:52]OFD Sender: No OFD packet to send [03:25:57]OFD Sender: No OFD packet to send [03:26:02]OFD Sender: No OFD packet to send [03:26:07]OFD Sender: No OFD packet to send [03:26:12]OFD Sender: No OFD packet to send [03:26:17]OFD Sender: No OFD packet to send [03:26:22]OFD Sender: No OFD packet to send [03:26:27]OFD Sender: No OFD packet to send [03:26:32]OFD Sender: No OFD packet to send [03:26:37]OFD Sender: No OFD packet to send [03:26:42]OFD Sender: No OFD packet to send [03:26:47]OFD Sender: No OFD packet to send [03:26:52]OFD Sender: No OFD packet to send [03:26:57]OFD Sender: No OFD packet to send [03:27:02]OFD Sender: No OFD packet to send [03:27:07]OFD Sender: No OFD packet to send [03:27:12]OFD Sender: No OFD packet to send [03:27:17]OFD Sender: No OFD packet to send [03:27:23]OFD Sender: No OFD packet to send [03:27:28]OFD Sender: No OFD packet to send [03:27:33]OFD Sender: No OFD packet to send [03:27:38]OFD Sender: No OFD packet to send [03:27:43]OFD Sender: No OFD packet to send [03:27:48]OFD Sender: No OFD packet to send [03:27:53]OFD Sender: No OFD packet to send [03:27:58]OFD Sender: No OFD packet to send [03:28:03]OFD Sender: No OFD packet to send [03:28:08]OFD Sender: No OFD packet to send [03:28:13]OFD Sender: No OFD packet to send [03:28:18]OFD Sender: No OFD packet to send [03:28:23]OFD Sender: No OFD packet to send [03:28:28]OFD Sender: No OFD packet to send [03:28:33]OFD Sender: No OFD packet to send [03:28:38]OFD Sender: No OFD packet to send [03:28:43]OFD Sender: No OFD packet to send [03:28:48]OFD Sender: No OFD packet to send [03:28:53]OFD Sender: No OFD packet to send [03:28:58]OFD Sender: No OFD packet to send [03:29:03]OFD Sender: No OFD packet to send [03:29:08]OFD Sender: No OFD packet to send [03:29:13]OFD Sender: No OFD packet to send [03:29:18]OFD Sender: No OFD packet to send [03:29:23]OFD Sender: No OFD packet to send [03:29:28]OFD Sender: No OFD packet to send [03:29:33]OFD Sender: No OFD packet to send [03:29:38]OFD Sender: No OFD packet to send [03:29:43]OFD Sender: No OFD packet to send [03:29:48]OFD Sender: No OFD packet to send [03:29:53]OFD Sender: No OFD packet to send [03:29:58]OFD Sender: No OFD packet to send [03:30:03]OFD Sender: No OFD packet to send [03:30:08]OFD Sender: No OFD packet to send [03:30:13]OFD Sender: No OFD packet to send [03:30:18]OFD Sender: No OFD packet to send [03:30:23]OFD Sender: No OFD packet to send [03:30:28]OFD Sender: No OFD packet to send [03:30:33]OFD Sender: No OFD packet to send [03:30:38]OFD Sender: No OFD packet to send [03:30:43]OFD Sender: No OFD packet to send [03:30:48]OFD Sender: No OFD packet to send [03:30:53]OFD Sender: No OFD packet to send [03:30:58]OFD Sender: No OFD packet to send [03:31:03]OFD Sender: No OFD packet to send [03:31:08]OFD Sender: No OFD packet to send [03:31:13]OFD Sender: No OFD packet to send [03:31:18]OFD Sender: No OFD packet to send [03:31:23]OFD Sender: No OFD packet to send [03:31:28]OFD Sender: No OFD packet to send [03:31:33]OFD Sender: No OFD packet to send [03:31:38]OFD Sender: No OFD packet to send [03:31:43]OFD Sender: No OFD packet to send [03:31:48]OFD Sender: No OFD packet to send [03:31:53]OFD Sender: No OFD packet to send [03:31:58]OFD Sender: No OFD packet to send [03:32:03]OFD Sender: No OFD packet to send [03:32:08]OFD Sender: No OFD packet to send [03:32:13]OFD Sender: No OFD packet to send [03:32:18]OFD Sender: No OFD packet to send [03:32:23]OFD Sender: No OFD packet to send [03:32:28]OFD Sender: No OFD packet to send [03:32:33]OFD Sender: No OFD packet to send [03:32:38]OFD Sender: No OFD packet to send [03:32:43]OFD Sender: No OFD packet to send [03:32:48]OFD Sender: No OFD packet to send [03:32:53]OFD Sender: No OFD packet to send [03:32:58]OFD Sender: No OFD packet to send [03:33:03]OFD Sender: No OFD packet to send [03:33:08]OFD Sender: No OFD packet to send [03:33:13]OFD Sender: No OFD packet to send [03:33:18]OFD Sender: No OFD packet to send [03:33:23]OFD Sender: No OFD packet to send [03:33:28]OFD Sender: No OFD packet to send [03:33:33]OFD Sender: No OFD packet to send [03:33:38]OFD Sender: No OFD packet to send [03:33:43]OFD Sender: No OFD packet to send [03:33:48]OFD Sender: No OFD packet to send [03:33:53]OFD Sender: No OFD packet to send [03:33:58]OFD Sender: No OFD packet to send [03:34:03]OFD Sender: No OFD packet to send [03:34:08]OFD Sender: No OFD packet to send [03:34:13]OFD Sender: No OFD packet to send [03:34:18]OFD Sender: No OFD packet to send [03:34:23]OFD Sender: No OFD packet to send [03:34:28]OFD Sender: No OFD packet to send [03:34:33]OFD Sender: No OFD packet to send [03:34:38]OFD Sender: No OFD packet to send [03:34:43]OFD Sender: No OFD packet to send [03:34:48]OFD Sender: No OFD packet to send [03:34:53]OFD Sender: No OFD packet to send [03:34:58]OFD Sender: No OFD packet to send [03:35:03]OFD Sender: No OFD packet to send [03:35:08]OFD Sender: No OFD packet to send [03:35:13]OFD Sender: No OFD packet to send [03:35:18]OFD Sender: No OFD packet to send [03:35:23]OFD Sender: No OFD packet to send [03:35:28]OFD Sender: No OFD packet to send [03:35:33]OFD Sender: No OFD packet to send [03:35:38]OFD Sender: No OFD packet to send [03:35:43]OFD Sender: No OFD packet to send [03:35:48]OFD Sender: No OFD packet to send [03:35:53]OFD Sender: No OFD packet to send [03:35:58]OFD Sender: No OFD packet to send [03:36:03]OFD Sender: No OFD packet to send [03:36:08]OFD Sender: No OFD packet to send [03:36:13]OFD Sender: No OFD packet to send [03:36:18]OFD Sender: No OFD packet to send [03:36:23]OFD Sender: No OFD packet to send [03:36:28]OFD Sender: No OFD packet to send [03:36:33]OFD Sender: No OFD packet to send [03:36:38]OFD Sender: No OFD packet to send [03:36:43]OFD Sender: No OFD packet to send [03:36:48]OFD Sender: No OFD packet to send [03:36:53]OFD Sender: No OFD packet to send [03:36:58]OFD Sender: No OFD packet to send [03:37:03]OFD Sender: No OFD packet to send [03:37:08]OFD Sender: No OFD packet to send [03:37:13]OFD Sender: No OFD packet to send [03:37:18]OFD Sender: No OFD packet to send [03:37:23]OFD Sender: No OFD packet to send [03:37:28]OFD Sender: No OFD packet to send [03:37:33]OFD Sender: No OFD packet to send [03:37:38]OFD Sender: No OFD packet to send [03:37:43]OFD Sender: No OFD packet to send [03:37:48]OFD Sender: No OFD packet to send [03:37:53]OFD Sender: No OFD packet to send [03:37:58]OFD Sender: No OFD packet to send [03:38:03]OFD Sender: No OFD packet to send [03:38:08]OFD Sender: No OFD packet to send [03:38:13]OFD Sender: No OFD packet to send [03:38:18]OFD Sender: No OFD packet to send [03:38:23]OFD Sender: No OFD packet to send [03:38:28]OFD Sender: No OFD packet to send [03:38:33]OFD Sender: No OFD packet to send [03:38:38]OFD Sender: No OFD packet to send [03:38:43]OFD Sender: No OFD packet to send [03:38:48]OFD Sender: No OFD packet to send [03:38:53]OFD Sender: No OFD packet to send [03:38:58]OFD Sender: No OFD packet to send [03:39:03]OFD Sender: No OFD packet to send [03:39:08]OFD Sender: No OFD packet to send [03:39:13]OFD Sender: No OFD packet to send [03:39:18]OFD Sender: No OFD packet to send [03:39:23]OFD Sender: No OFD packet to send [03:39:28]OFD Sender: No OFD packet to send [03:39:33]OFD Sender: No OFD packet to send [03:39:38]OFD Sender: No OFD packet to send [03:39:43]OFD Sender: No OFD packet to send [03:39:48]OFD Sender: No OFD packet to send [03:39:53]OFD Sender: No OFD packet to send [03:39:58]OFD Sender: No OFD packet to send [03:40:03]OFD Sender: No OFD packet to send [03:40:08]OFD Sender: No OFD packet to send [03:40:13]OFD Sender: No OFD packet to send [03:40:18]OFD Sender: No OFD packet to send [03:40:23]OFD Sender: No OFD packet to send [03:40:28]OFD Sender: No OFD packet to send [03:40:33]OFD Sender: No OFD packet to send [03:40:38]OFD Sender: No OFD packet to send [03:40:43]OFD Sender: No OFD packet to send [03:40:48]OFD Sender: No OFD packet to send [03:40:53]OFD Sender: No OFD packet to send [03:40:58]OFD Sender: No OFD packet to send [03:41:03]OFD Sender: No OFD packet to send [03:41:08]OFD Sender: No OFD packet to send [03:41:13]OFD Sender: No OFD packet to send [03:41:18]OFD Sender: No OFD packet to send [03:41:23]OFD Sender: No OFD packet to send [03:41:28]OFD Sender: No OFD packet to send [03:41:33]OFD Sender: No OFD packet to send [03:41:38]OFD Sender: No OFD packet to send [03:41:43]OFD Sender: No OFD packet to send [03:41:48]OFD Sender: No OFD packet to send [03:41:53]OFD Sender: No OFD packet to send [03:41:58]OFD Sender: No OFD packet to send [03:42:03]OFD Sender: No OFD packet to send [03:42:08]OFD Sender: No OFD packet to send [03:42:13]OFD Sender: No OFD packet to send [03:42:18]OFD Sender: No OFD packet to send [03:42:23]OFD Sender: No OFD packet to send [03:42:28]OFD Sender: No OFD packet to send [03:42:33]OFD Sender: No OFD packet to send [03:42:38]OFD Sender: No OFD packet to send [03:42:43]OFD Sender: No OFD packet to send [03:42:48]OFD Sender: No OFD packet to send [03:42:53]OFD Sender: No OFD packet to send [03:42:58]OFD Sender: No OFD packet to send [03:43:03]OFD Sender: No OFD packet to send [03:43:08]OFD Sender: No OFD packet to send [03:43:13]OFD Sender: No OFD packet to send [03:43:18]OFD Sender: No OFD packet to send [03:43:23]OFD Sender: No OFD packet to send [03:43:28]OFD Sender: No OFD packet to send [03:43:33]OFD Sender: No OFD packet to send [03:43:38]OFD Sender: No OFD packet to send [03:43:43]OFD Sender: No OFD packet to send [03:43:48]OFD Sender: No OFD packet to send [03:43:53]OFD Sender: No OFD packet to send [03:43:58]OFD Sender: No OFD packet to send [03:44:03]OFD Sender: No OFD packet to send [03:44:08]OFD Sender: No OFD packet to send [03:44:13]OFD Sender: No OFD packet to send [03:44:18]OFD Sender: No OFD packet to send [03:44:23]OFD Sender: No OFD packet to send [03:44:28]OFD Sender: No OFD packet to send [03:44:33]OFD Sender: No OFD packet to send [03:44:38]OFD Sender: No OFD packet to send [03:44:43]OFD Sender: No OFD packet to send [03:44:48]OFD Sender: No OFD packet to send [03:44:53]OFD Sender: No OFD packet to send [03:44:58]OFD Sender: No OFD packet to send [03:45:03]OFD Sender: No OFD packet to send [03:45:08]OFD Sender: No OFD packet to send [03:45:13]OFD Sender: No OFD packet to send [03:45:18]OFD Sender: No OFD packet to send [03:45:23]OFD Sender: No OFD packet to send [03:45:28]OFD Sender: No OFD packet to send [03:45:33]OFD Sender: No OFD packet to send [03:45:38]OFD Sender: No OFD packet to send [03:45:43]OFD Sender: No OFD packet to send [03:45:48]OFD Sender: No OFD packet to send [03:45:53]OFD Sender: No OFD packet to send [03:45:58]OFD Sender: No OFD packet to send [03:46:03]OFD Sender: No OFD packet to send [03:46:08]OFD Sender: No OFD packet to send [03:46:13]OFD Sender: No OFD packet to send [03:46:18]OFD Sender: No OFD packet to send [03:46:23]OFD Sender: No OFD packet to send [03:46:28]OFD Sender: No OFD packet to send [03:46:33]OFD Sender: No OFD packet to send [03:46:38]OFD Sender: No OFD packet to send [03:46:43]OFD Sender: No OFD packet to send [03:46:48]OFD Sender: No OFD packet to send [03:46:53]OFD Sender: No OFD packet to send [03:46:59]OFD Sender: No OFD packet to send [03:47:04]OFD Sender: No OFD packet to send [03:47:09]OFD Sender: No OFD packet to send [03:47:14]OFD Sender: No OFD packet to send [03:47:19]OFD Sender: No OFD packet to send [03:47:24]OFD Sender: No OFD packet to send [03:47:29]OFD Sender: No OFD packet to send [03:47:34]OFD Sender: No OFD packet to send [03:47:39]OFD Sender: No OFD packet to send [03:47:44]OFD Sender: No OFD packet to send [03:47:49]OFD Sender: No OFD packet to send [03:47:54]OFD Sender: No OFD packet to send [03:47:59]OFD Sender: No OFD packet to send [03:48:04]OFD Sender: No OFD packet to send [03:48:09]OFD Sender: No OFD packet to send [03:48:14]OFD Sender: No OFD packet to send [03:48:19]OFD Sender: No OFD packet to send [03:48:24]OFD Sender: No OFD packet to send [03:48:29]OFD Sender: No OFD packet to send [03:48:34]OFD Sender: No OFD packet to send [03:48:39]OFD Sender: No OFD packet to send [03:48:44]OFD Sender: No OFD packet to send [03:48:49]OFD Sender: No OFD packet to send [03:48:54]OFD Sender: No OFD packet to send [03:48:59]OFD Sender: No OFD packet to send [03:49:04]OFD Sender: No OFD packet to send [03:49:09]OFD Sender: No OFD packet to send [03:49:14]OFD Sender: No OFD packet to send [03:49:19]OFD Sender: No OFD packet to send [03:49:24]OFD Sender: No OFD packet to send [03:49:29]OFD Sender: No OFD packet to send [03:49:34]OFD Sender: No OFD packet to send [03:49:39]OFD Sender: No OFD packet to send [03:49:44]OFD Sender: No OFD packet to send [03:49:49]OFD Sender: No OFD packet to send [03:49:54]OFD Sender: No OFD packet to send [03:49:59]OFD Sender: No OFD packet to send [03:50:04]OFD Sender: No OFD packet to send [03:50:09]OFD Sender: No OFD packet to send [03:50:14]OFD Sender: No OFD packet to send [03:50:19]OFD Sender: No OFD packet to send [03:50:24]OFD Sender: No OFD packet to send [03:50:29]OFD Sender: No OFD packet to send [03:50:34]OFD Sender: No OFD packet to send [03:50:39]OFD Sender: No OFD packet to send [03:50:44]OFD Sender: No OFD packet to send [03:50:49]OFD Sender: No OFD packet to send [03:50:54]OFD Sender: No OFD packet to send [03:50:59]OFD Sender: No OFD packet to send [03:51:04]OFD Sender: No OFD packet to send [03:51:09]OFD Sender: No OFD packet to send [03:51:14]OFD Sender: No OFD packet to send [03:51:19]OFD Sender: No OFD packet to send [03:51:24]OFD Sender: No OFD packet to send [03:51:29]OFD Sender: No OFD packet to send [03:51:34]OFD Sender: No OFD packet to send [03:51:39]OFD Sender: No OFD packet to send [03:51:44]OFD Sender: No OFD packet to send [03:51:49]OFD Sender: No OFD packet to send [03:51:54]OFD Sender: No OFD packet to send [03:51:59]OFD Sender: No OFD packet to send [03:52:04]OFD Sender: No OFD packet to send [03:52:09]OFD Sender: No OFD packet to send [03:52:14]OFD Sender: No OFD packet to send [03:52:19]OFD Sender: No OFD packet to send [03:52:24]OFD Sender: No OFD packet to send [03:52:29]OFD Sender: No OFD packet to send [03:52:34]OFD Sender: No OFD packet to send [03:52:39]OFD Sender: No OFD packet to send [03:52:44]OFD Sender: No OFD packet to send [03:52:49]OFD Sender: No OFD packet to send [03:52:54]OFD Sender: No OFD packet to send [03:52:59]OFD Sender: No OFD packet to send [03:53:04]OFD Sender: No OFD packet to send [03:53:09]OFD Sender: No OFD packet to send [03:53:14]OFD Sender: No OFD packet to send [03:53:19]OFD Sender: No OFD packet to send [03:53:24]OFD Sender: No OFD packet to send [03:53:29]OFD Sender: No OFD packet to send [03:53:34]OFD Sender: No OFD packet to send [03:53:39]OFD Sender: No OFD packet to send [03:53:44]OFD Sender: No OFD packet to send [03:53:49]OFD Sender: No OFD packet to send [03:53:54]OFD Sender: No OFD packet to send [03:53:59]OFD Sender: No OFD packet to send [03:54:04]OFD Sender: No OFD packet to send [03:54:09]OFD Sender: No OFD packet to send [03:54:14]OFD Sender: No OFD packet to send [03:54:19]OFD Sender: No OFD packet to send [03:54:24]OFD Sender: No OFD packet to send [03:54:29]OFD Sender: No OFD packet to send [03:54:31]accept exits with 9 [03:54:31]New connection [03:54:31]New thread 3067374948 created [03:54:31]Thread 3067518308 joined [03:54:31]Waiting for new connection... [03:54:31] Sock 9.Parse request [03:54:31]Sock 9.Check first char [03:54:31]Sock 9.First char is OK [03:54:31]request: POST /json_proto HTTP/1.0 [03:54:31]Method: POST [03:54:31]URL: /json_proto [03:54:31]Method is POST - this is cgi request [03:54:31]url: /json_proto [03:54:31]query_string will be loaded in cgi processing [03:54:31]execute_cgi json_proto POST (null) [03:54:31]execute_cgi path=json_proto method=POST [03:54:31]POST find Content-Length [03:54:31]Host: 172.17.42.3:8080 [03:54:31]Content-Length: 768 [03:54:31]Content-Type: application/json [03:54:31] [03:54:31]POST finish read [03:54:31]Found Content-Length = 768 [03:54:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46196", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 40.440, "sum" : 3000.65, "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: Mbank", "payments": [ { "type": 1, "sum" : 3000.65 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:54:31]execute_script... [03:54: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 : (1)46196", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 40.440, "sum" : 3000.65, "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: Mbank", "payments": [ { "type": 1, "sum" : 3000.65 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:54:31]POST & json_proto [03:54:31]process_json_proto [03:54:31]json parsed OK: [03:54:31]protocol is kg_v1.0 [03:54:31]action value=close_receipt [03:54:31]process_action close_receipt [03:54:31]cmd_close_receipt [03:54:31]MH_GetDate [03:54:31]Write to MH i2c: F0 00 00 18 04 0B [03:54:31]Write i2c OK [03:54:31]MH_I2C_Read... [03:54:31]Read from MH i2c: F0 [03:54:31]MH_I2C_Read... [03:54:31]Read from MH i2c: F0 09 00 [03:54:31]MH_I2C_Read... [03:54:31]Read from MH i2c: F0 09 00 18 04 00 F7 0A 1F 67 EA E5 1E 67 EF [03:54:31]GetLastDocTimeStamp 1730085720 [03:54:31]current date 1730087671 [03:54:31]FM_GetShiftState [03:54:31]SAM_PROTO_GetShiftState [03:54:31]wFMCommunicate request_size=4 [03:54:31]MH_SAM_APDU [03:54:31]CAPDU: 80 13 01 00 [03:54:31]Write to MH i2c: E2 08 00 19 04 80 13 01 00 00 00 00 00 9A [03:54:31]Write i2c OK [03:54:31]MH_I2C_Read... [03:54:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:54:31]Read from MH i2c: E2 [03:54:31]MH_I2C_Read... [03:54:31]Read from MH i2c: E2 0E 00 [03:54:31]MH_I2C_Read... [03:54:31]Read from MH i2c: E2 0E 00 19 04 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 95 [03:54:31]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [03:54:31]wFMCommunicate OK [03:54:31]SAM_PROTO_GetShiftState done [03:54:31]FM_GetShiftState done [03:54:31]opened in 1730074770 [03:54:31]opened+sec_in_day 1730161170 [03:54:31]quantity*price = 300064 [03:54:31]sum+1 = 300066 [03:54:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 3000.65 НСП 1% : 26.55 НДС 12% : 318.65 Наличными: 0.00 Безнал.: 3000.65 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 16 28.10.2024 03:54 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68111 ФПД: 187054236322589 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T035431&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68111&fm=187054236322589&tin=02508201610067®Number=0000000000091759&sum=300065 [03:54:32]StoreToDocumentArchive [03:54:32]shift 547 fd 68111 [03:54:32]save to /storage/0547/doc_00068111 [03:54:32]save last doc name /storage/0547/doc_00068111 to /storage/kkm_last_doc_name [03:54:32]save OK [03:54:32]Clear old archive folders... [03:54:32]ProcessDocumentItem done err = 0, tmpTLVsize=251 [03:54:32]tlvbuf is 0092F8D0 [03:54:32]SAM_PROTO_ClearQueue [03:54:32]wFMCommunicate request_size=4 [03:54:32]MH_SAM_APDU [03:54:32]CAPDU: 80 09 00 00 [03:54:32]Write to MH i2c: E2 08 00 26 04 80 09 00 00 00 00 00 00 9C [03:54:32]Write i2c OK [03:54:32]MH_I2C_Read... [03:54:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:54:32]Read from MH i2c: E2 [03:54:32]MH_I2C_Read... [03:54:32]Read from MH i2c: E2 03 00 [03:54:32]MH_I2C_Read... [03:54:32]Read from MH i2c: E2 03 00 26 04 00 90 00 9E [03:54:32]RAPDU: 90 00 [03:54:32]wFMCommunicate OK [03:54:32]SAM_PROTO_ClearQueue done [03:54:32]KKMCreateOFDPacket [03:54:32]OFDProtocolAddRootSTLVToBuf [03:54:32]FM_MakeSignedData [03:54:32]FM_MakeSignedData [03:54:32]SAM_PROTO_SignData [03:54:32]wFMCommunicate request_size=4 [03:54:32]MH_SAM_APDU [03:54:32]CAPDU: 80 0D 01 02 [03:54:32]Write to MH i2c: E2 08 00 27 04 80 0D 01 02 00 00 00 00 A4 [03:54:32]Write i2c OK [03:54:32]MH_I2C_Read... [03:54:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:54:32]Read from MH i2c: E2 [03:54:32]MH_I2C_Read... [03:54:32]Read from MH i2c: E2 03 00 [03:54:32]MH_I2C_Read... [03:54:32]Read from MH i2c: E2 03 00 27 04 00 90 00 9F [03:54:32]RAPDU: 90 00 [03:54:32]wFMCommunicate OK [03:54:32]wFMCommunicate request_size=255 [03:54:32]MH_SAM_APDU [03:54:32]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 F8 9D 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 21 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 21 94 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 21 94 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 F7 0A 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0F 0A 01 00 35 04 06 00 AA [03:54:32]Write to MH i2c: E2 02 01 28 04 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 F8 9D 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 21 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 21 94 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 21 94 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 F7 0A 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0F 0A 01 00 35 04 06 00 AA 00 00 70 [03:54:32]Write i2c OK [03:54:32]MH_I2C_Read... [03:54:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:54:32]Read from MH i2c: E2 [03:54:32]MH_I2C_Read... [03:54:32]Read from MH i2c: E2 03 00 [03:54:32]MH_I2C_Read... [03:54:32]Read from MH i2c: E2 03 00 28 04 00 90 00 A0 [03:54:32]RAPDU: 90 00 [03:54:32]wFMCommunicate OK [03:54:32]wFMCommunicate request_size=10 [03:54:32]MH_SAM_APDU [03:54:32]CAPDU: 80 0D 02 02 05 1F F5 4F 4B 1D [03:54:32]Write to MH i2c: E2 0D 00 29 04 80 0D 02 02 05 00 1F F5 4F 4B 1D 00 00 7C [03:54:32]Write i2c OK [03:54:32]MH_I2C_Read... [03:54:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:54:32]Read from MH i2c: E2 [03:54:32]MH_I2C_Read... [03:54:32]Read from MH i2c: E2 03 00 [03:54:32]MH_I2C_Read... [03:54:32]Read from MH i2c: E2 03 00 29 04 00 90 00 A1 [03:54:32]RAPDU: 90 00 [03:54:32]wFMCommunicate OK [03:54:32]wFMCommunicate request_size=4 [03:54:32]MH_SAM_APDU [03:54:32]CAPDU: 80 0D 03 02 [03:54:32]Write to MH i2c: E2 08 00 2A 04 80 0D 03 02 00 00 00 00 A9 [03:54:32]Write i2c OK [03:54:32]MH_I2C_Read... [03:54:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:54:32]Read from MH i2c: E2 [03:54:32]MH_I2C_Read... [03:54:32]Read from MH i2c: E2 0B 00 [03:54:32]MH_I2C_Read... [03:54:32]Read from MH i2c: E2 0B 00 2A 04 00 84 CE BA D6 22 D0 F1 EA 90 00 59 [03:54:32]RAPDU: 84 CE BA D6 22 D0 F1 EA 90 00 [03:54:32]wFMCommunicate OK [03:54:32]SAM_PROTO_SignData done [03:54:32]FM_MakeSignedData done [03:54:32]CreateOFDProtocolMessage [03:54:32]wFMCommunicate request_size=4 [03:54:32]MH_SAM_APDU [03:54:32]CAPDU: 80 11 00 00 [03:54:32]Write to MH i2c: E2 08 00 2B 04 80 11 00 00 00 00 00 00 A9 [03:54:32]Write i2c OK [03:54:32]MH_I2C_Read... [03:54:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:54:32]Read from MH i2c: E2 [03:54:32]MH_I2C_Read... [03:54:32]Read from MH i2c: E2 17 00 [03:54:32]MH_I2C_Read... [03:54:32]Read from MH i2c: E2 17 00 2B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 00 [03:54:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [03:54:32]wFMCommunicate OK [03:54:32]CreateOFDProtocolMessage done [03:54:32]OFDSenderStorePacket 68111 [03:54:32]StoreOFDPacket docnum=68111 [03:54:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 AE FF 07 01 AF C1 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 F8 9D 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 21 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 21 94 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 21 94 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 F7 0A 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0F 0A 01 00 35 04 06 00 AA 1F F5 4F 4B 1D 84 CE BA D6 22 D0 F1 EA [03:54:32]CheckFolder [03:54:32]dirname=/storage/ofd_packets [03:54:32]CheckFolder done [03:54:32]ProducePacketName [03:54:32]name=ofd_packets/00068111 [03:54:32]NVStorageSaveData ofd_packets/00068111 [03:54:32]File name is /storage/ofd_packets/00068111 [03:54:32]Write 301 bytes [03:54:32]NVStorageSaveData done [03:54:32]OFDSenderStorePacket done [03:54:32]KKMCreateOFDPacket done [03:54:32]NVStorageSaveData kkm_last_timestamp [03:54:32]File name is /storage/kkm_last_timestamp [03:54:32]Write 4 bytes [03:54:32]NVStorageSaveData done [03:54:32]ExternCall_PrintAddStr [03:54:32]wPrintStart [03:54:32]Write to MH i2c: 01 00 00 2C 04 30 [03:54:32]Write i2c OK [03:54:32]MH_I2C_Read... [03:54:32]Read from MH i2c: 01 [03:54:32]MH_I2C_Read... [03:54:32]Read from MH i2c: 01 07 00 [03:54:32]MH_I2C_Read... [03:54:32]Read from MH i2c: 01 07 00 2C 04 00 00 00 00 00 FF 0F 45 [03:54:32]RasterBufferAndPrint [03:54:32]line Счет N : (1)46196 [03:54:32]line ИНН: 02508201610067 [03:54:32]line Контрольно-Кассовый Чек [03:54:32]line ПРОДАЖА [03:54:32]line ТРК (МРК, ГНК) : 24 [03:54:32]line Товар: 2710124500 [03:54:32]line Аи-95-К-3 [03:54:32]line 40.440 * 74.20 [03:54:32]line = 3000.65 [03:54:32]line НДС 12% НСП 1% [03:54:32]line > о реализуемом товаре [03:54:32]line ИТОГО: 3000.65 [03:54:32]line НСП 1% : 26.55 [03:54:32]line НДС 12% : 318.65 [03:54:32]line Наличными: 0.00 [03:54:32]line Безнал.: 3000.65 [03:54:32]line Место: АЗС № 160 "Партнер Нефть" [03:54:32]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [03:54:32]line СНО: Общий режим [03:54:32]line Чек 16 28.10.2024 03:54 [03:54:32]line Смена: 547 ФФД: 1.0 [03:54:32]line ЗНМ: 0300000093 [03:54:32]line РНМ: 0000000000091759 [03:54:32]line Версия ККМ: 001 [03:54:32]line Платежная система: Mbank [03:54:32]line ФМ: 0000000000871758 [03:54:32]line ФД: 68111 [03:54:32]line ФПД: 187054236322589 [03:54:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T035431&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68111&fm=187054236322589&tin=02508201610067®Number=0000000000091759&sum=300065 [03:54:32]written 0, free lines is 4095 [03:54:33]OFD Sender: Processing packet 68111 [packets to send 27, broken 26] [03:54:33]ProducePacketName [03:54:33]name=ofd_packets/00068111 [03:54:33]OFD Sender: To server: pG, [03:54:33]CommunicateWithHost lk.salyk.kg:30040 [03:54:33]ConnectInit lk.salyk.kg [03:54:33]Connected sock=10 [03:54:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 AE FF 07 01 AF C1 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 F8 9D 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 21 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 21 94 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 21 94 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 F7 0A 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0F 0A 01 00 35 04 06 00 AA 1F F5 4F 4B 1D 84 CE BA D6 22 D0 F1 EA [03:54:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 50 79 47 00 53 16 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 0F 0A 01 00 F4 03 04 00 B1 B6 1E 67 B6 04 01 00 00 AB 9A ED 23 5B D7 D2 6A [03:54:33]CommunicateWithHost err = 0 [03:54:33]CheckOFDResponse [03:54:33]1017 (14) - 77093643461234 [03:54:33]1041 (16) - 0000000000871758 [03:54:33]1040 (4) - 68111 [03:54:33]1012 (4) - 27.10.2024 21:54 [03:54:33]1206 (1) - 0 [03:54:33]OFD Sender: Remove packet 68111 [03:54:33]ProducePacketName [03:54:33]name=ofd_packets/00068111 [03:54:33]NVStorageDeleteData [03:54:33]Write to MH i2c: 01 00 00 54 04 58 [03:54:33]Write i2c OK [03:54:33]MH_I2C_Read... [03:54:33]Read from MH i2c: 01 [03:54:33]MH_I2C_Read... [03:54:33]Read from MH i2c: 01 07 00 [03:54:33]MH_I2C_Read... [03:54:33]Read from MH i2c: 01 07 00 54 04 00 00 00 00 00 F2 0C 5D [03:54:33]RasterBufferAndPrint [03:54:33]line [03:54:33]line [03:54:33]line [03:54:33]line [03:54:33]line [03:54:33]written 0, free lines is 3320 [03:54:33]MH_Cut [03:54:33]Write to MH i2c: D1 01 00 5B 04 01 31 [03:54:33]Write i2c OK [03:54:33]MH_I2C_Read... [03:54:33]Read from MH i2c: D1 [03:54:33]MH_I2C_Read... [03:54:33]Read from MH i2c: D1 01 00 [03:54:33]MH_I2C_Read... [03:54:33]Read from MH i2c: D1 01 00 5B 04 00 30 [03:54:33]Write to MH i2c: 01 00 00 5C 04 60 [03:54:33]Write i2c OK [03:54:33]MH_I2C_Read... [03:54:33]OFD Sender: No OFD packet to send [03:54:34]*** Cut start [03:54:34]*** Partial cut [03:54:34]*** CUTSNS_PIN = 1 [03:54:34]*** CUTSNS_PIN = 0 [03:54:34]*** Brake cut motor [03:54:34]Read from MH i2c: 01 [03:54:34]MH_I2C_Read... [03:54:34]*** Stop cut motor [03:54:34]*** Cut end [03:54:34]Read from MH i2c: 01 07 00 [03:54:34]MH_I2C_Read... [03:54:34]Read from MH i2c: 01 07 00 5C 04 00 00 00 00 00 FF 0F 75 [03:54:34]process_action close_receipt done [03:54:34]requested_data is exist [03:54:34]produce_requested_data [03:54:34]requested_item fm.sn is exist - process it [03:54:34]wFMCommunicate request_size=4 [03:54:34]MH_SAM_APDU [03:54:34]CAPDU: 80 11 00 00 [03:54:34]Write to MH i2c: E2 08 00 5D 04 80 11 00 00 00 00 00 00 DB [03:54:34]Write i2c OK [03:54:34]MH_I2C_Read... [03:54:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:54:34]Read from MH i2c: E2 [03:54:34]MH_I2C_Read... [03:54:34]Read from MH i2c: E2 17 00 [03:54:34]MH_I2C_Read... [03:54:34]Read from MH i2c: E2 17 00 5D 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 32 [03:54:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [03:54:34]wFMCommunicate OK [03:54:34]requested_item fd.num is exist - process it [03:54:34]SAM_PROTO_GetFieldsCounters [03:54:34]wFMCommunicate request_size=4 [03:54:34]MH_SAM_APDU [03:54:34]CAPDU: 80 13 00 00 [03:54:34]Write to MH i2c: E2 08 00 5E 04 80 13 00 00 00 00 00 00 DE [03:54:34]Write i2c OK [03:54:34]MH_I2C_Read... [03:54:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:54:34]Read from MH i2c: E2 [03:54:34]MH_I2C_Read... [03:54:34]Read from MH i2c: E2 62 00 [03:54:34]MH_I2C_Read... [03:54:34]Read from MH i2c: E2 62 00 5E 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 0F 0A 01 00 0E 04 04 00 23 02 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 78 [03:54:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 0F 0A 01 00 0E 04 04 00 23 02 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 [03:54:34]wFMCommunicate OK [03:54:34]SAM_PROTO_GetFieldsCounters done [03:54:34]requested_item shift.num is exist - process it [03:54:34]requested_item shift.opened is exist - process it [03:54:34]req_shift_opened [03:54:34]FM_GetShiftState [03:54:34]SAM_PROTO_GetShiftState [03:54:34]wFMCommunicate request_size=4 [03:54:34]MH_SAM_APDU [03:54:34]CAPDU: 80 13 01 00 [03:54:34]Write to MH i2c: E2 08 00 5F 04 80 13 01 00 00 00 00 00 E0 [03:54:34]Write i2c OK [03:54:34]MH_I2C_Read... [03:54:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:54:35]Read from MH i2c: E2 [03:54:35]MH_I2C_Read... [03:54:35]Read from MH i2c: E2 0E 00 [03:54:35]MH_I2C_Read... [03:54:35]Read from MH i2c: E2 0E 00 5F 04 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 DB [03:54:35]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [03:54:35]wFMCommunicate OK [03:54:35]SAM_PROTO_GetShiftState done [03:54:35]FM_GetShiftState done [03:54:35]req_shift_opened done [03:54:35]requested_item shift.open_date is exist - process it [03:54:35]req_shift_open_date [03:54:35]req_shift_open_date done [03:54:35]produce_requested_data done [03:54:35]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68111,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [03:54:35]process_action_free close_receipt [03:54:35]json_value_free [03:54:35]json_value_free done [03:54:35]process_json_proto returns [03:54:35]Send response to host [03:54:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68111,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [03:54:35]free response buf [03:54:35]execute_script done [03:54:35]execute_script returns [03:54:35]free content buf [03:54:35]Sock 9.Close socket [03:54:35]Sock 9.Thread stoped [03:54:38]OFD Sender: No OFD packet to send [03:54:43]OFD Sender: No OFD packet to send [03:54:48]OFD Sender: No OFD packet to send [03:54:53]OFD Sender: No OFD packet to send [03:54:58]OFD Sender: No OFD packet to send [03:55:03]OFD Sender: No OFD packet to send [03:55:08]OFD Sender: No OFD packet to send [03:55:13]OFD Sender: No OFD packet to send [03:55:18]OFD Sender: No OFD packet to send [03:55:23]OFD Sender: No OFD packet to send [03:55:28]OFD Sender: No OFD packet to send [03:55:33]OFD Sender: No OFD packet to send [03:55:38]OFD Sender: No OFD packet to send [03:55:43]OFD Sender: No OFD packet to send [03:55:48]OFD Sender: No OFD packet to send [03:55:53]OFD Sender: No OFD packet to send [03:55:58]OFD Sender: No OFD packet to send [03:56:03]OFD Sender: No OFD packet to send [03:56:08]OFD Sender: No OFD packet to send [03:56:13]OFD Sender: No OFD packet to send [03:56:18]OFD Sender: No OFD packet to send [03:56:23]OFD Sender: No OFD packet to send [03:56:28]OFD Sender: No OFD packet to send [03:56:33]OFD Sender: No OFD packet to send [03:56:38]OFD Sender: No OFD packet to send [03:56:43]OFD Sender: No OFD packet to send [03:56:48]OFD Sender: No OFD packet to send [03:56:53]OFD Sender: No OFD packet to send [03:56:58]OFD Sender: No OFD packet to send [03:57:03]OFD Sender: No OFD packet to send [03:57:08]OFD Sender: No OFD packet to send [03:57:13]OFD Sender: No OFD packet to send [03:57:18]OFD Sender: No OFD packet to send [03:57:23]OFD Sender: No OFD packet to send [03:57:28]OFD Sender: No OFD packet to send [03:57:33]OFD Sender: No OFD packet to send [03:57:38]OFD Sender: No OFD packet to send [03:57:43]OFD Sender: No OFD packet to send [03:57:48]OFD Sender: No OFD packet to send [03:57:53]OFD Sender: No OFD packet to send [03:59:09]OFD Sender: No OFD packet to send [03:59:14]OFD Sender: No OFD packet to send [03:59:19]OFD Sender: No OFD packet to send [03:59:24]OFD Sender: No OFD packet to send [03:59:29]OFD Sender: No OFD packet to send [03:59:34]OFD Sender: No OFD packet to send [03:59:39]OFD Sender: No OFD packet to send [03:59:44]OFD Sender: No OFD packet to send [03:59:49]OFD Sender: No OFD packet to send [03:59:54]OFD Sender: No OFD packet to send [03:59:59]OFD Sender: No OFD packet to send [04:00:04]OFD Sender: No OFD packet to send [04:00:09]OFD Sender: No OFD packet to send [04:00:14]OFD Sender: No OFD packet to send [04:00:19]OFD Sender: No OFD packet to send [04:00:24]OFD Sender: No OFD packet to send [04:00:29]OFD Sender: No OFD packet to send [04:00:34]OFD Sender: No OFD packet to send [04:00:39]OFD Sender: No OFD packet to send [04:00:44]OFD Sender: No OFD packet to send [04:00:49]OFD Sender: No OFD packet to send [04:00:54]OFD Sender: No OFD packet to send [04:00:59]OFD Sender: No OFD packet to send [04:01:04]OFD Sender: No OFD packet to send [04:01:09]OFD Sender: No OFD packet to send [04:01:14]OFD Sender: No OFD packet to send [04:01:19]OFD Sender: No OFD packet to send [04:01:20]ConnectInit Can't connect to host [04:01:24]OFD Sender: No OFD packet to send [04:01:29]OFD Sender: No OFD packet to send [04:01:34]OFD Sender: No OFD packet to send [04:01:39]OFD Sender: No OFD packet to send [04:01:44]OFD Sender: No OFD packet to send [04:01:49]OFD Sender: No OFD packet to send [04:01:54]OFD Sender: No OFD packet to send [04:01:59]OFD Sender: No OFD packet to send [04:02:04]OFD Sender: No OFD packet to send [04:02:09]OFD Sender: No OFD packet to send [04:02:14]OFD Sender: No OFD packet to send [04:02:19]OFD Sender: No OFD packet to send [04:02:24]OFD Sender: No OFD packet to send [04:02:29]OFD Sender: No OFD packet to send [04:02:34]OFD Sender: No OFD packet to send [04:02:39]OFD Sender: No OFD packet to send [04:02:44]OFD Sender: No OFD packet to send [04:02:49]OFD Sender: No OFD packet to send [04:02:54]OFD Sender: No OFD packet to send [04:02:59]OFD Sender: No OFD packet to send [04:03:04]OFD Sender: No OFD packet to send [04:03:09]OFD Sender: No OFD packet to send [04:03:14]OFD Sender: No OFD packet to send [04:03:19]OFD Sender: No OFD packet to send [04:03:24]OFD Sender: No OFD packet to send [04:03:29]OFD Sender: No OFD packet to send [04:03:34]OFD Sender: No OFD packet to send [04:03:39]OFD Sender: No OFD packet to send [04:03:44]OFD Sender: No OFD packet to send [04:03:49]OFD Sender: No OFD packet to send [04:03:54]OFD Sender: No OFD packet to send [04:03:59]OFD Sender: No OFD packet to send [04:04:04]OFD Sender: No OFD packet to send [04:04:09]OFD Sender: No OFD packet to send [04:04:14]OFD Sender: No OFD packet to send [04:04:19]OFD Sender: No OFD packet to send [04:04:24]OFD Sender: No OFD packet to send [04:04:29]OFD Sender: No OFD packet to send [04:04:34]OFD Sender: No OFD packet to send [04:04:39]OFD Sender: No OFD packet to send [04:04:44]OFD Sender: No OFD packet to send [04:04:49]OFD Sender: No OFD packet to send [04:04:54]OFD Sender: No OFD packet to send [04:04:57]accept exits with 8 [04:04:57]New connection [04:04:57]New thread 3067518308 created [04:04:57]Thread 3067374948 joined [04:04:57]Waiting for new connection... [04:04:57] Sock 8.Parse request [04:04:57]Sock 8.Check first char [04:04:57]Sock 8.First char is OK [04:04:57]request: POST /json_proto HTTP/1.0 [04:04:57]Method: POST [04:04:57]URL: /json_proto [04:04:57]Method is POST - this is cgi request [04:04:57]url: /json_proto [04:04:57]query_string will be loaded in cgi processing [04:04:57]execute_cgi json_proto POST (null) [04:04:57]execute_cgi path=json_proto method=POST [04:04:57]POST find Content-Length [04:04:57]Host: 172.17.42.3:8080 [04:04:57]Content-Length: 620 [04:04:57]Content-Type: application/json [04:04:57] [04:04:57]POST finish read [04:04:57]Found Content-Length = 620 [04:04:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17152", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:04:57]execute_script... [04:04: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)17152", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:04:57]POST & json_proto [04:04:57]process_json_proto [04:04:57]json parsed OK: [04:04:57]protocol is kg_v1.0 [04:04:57]action value=close_receipt [04:04:57]process_action close_receipt [04:04:57]cmd_close_receipt [04:04:57]MH_GetDate [04:04:57]Write to MH i2c: F0 00 00 60 04 53 [04:04:57]Write i2c OK [04:04:57]MH_I2C_Read... [04:04:57]Read from MH i2c: F0 [04:04:57]MH_I2C_Read... [04:04:57]Read from MH i2c: F0 09 00 [04:04:57]MH_I2C_Read... [04:04:57]Read from MH i2c: F0 09 00 60 04 00 6A 0D 1F 67 EA E5 1E 67 AD [04:04:57]GetLastDocTimeStamp 1730087671 [04:04:57]current date 1730088298 [04:04:57]FM_GetShiftState [04:04:57]SAM_PROTO_GetShiftState [04:04:57]wFMCommunicate request_size=4 [04:04:57]MH_SAM_APDU [04:04:57]CAPDU: 80 13 01 00 [04:04:57]Write to MH i2c: E2 08 00 61 04 80 13 01 00 00 00 00 00 E2 [04:04:57]Write i2c OK [04:04:57]MH_I2C_Read... [04:04:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:04:57]Read from MH i2c: E2 [04:04:57]MH_I2C_Read... [04:04:57]Read from MH i2c: E2 0E 00 [04:04:57]MH_I2C_Read... [04:04:57]Read from MH i2c: E2 0E 00 61 04 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 DD [04:04:57]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [04:04:57]wFMCommunicate OK [04:04:57]SAM_PROTO_GetShiftState done [04:04:57]FM_GetShiftState done [04:04:57]opened in 1730074770 [04:04:57]opened+sec_in_day 1730161170 [04:04:57]quantity*price = 14400 [04:04:57]sum+1 = 14401 [04:04:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 17 28.10.2024 04:04 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68112 ФПД: 68279689677300 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T040458&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68112&fm=68279689677300&tin=02508201610067®Number=0000000000091759&sum=14400 0 [04:04:58]StoreToDocumentArchive [04:04:58]shift 547 fd 68112 [04:04:58]save to /storage/0547/doc_00068112 [04:04:58]save last doc name /storage/0547/doc_00068112 to /storage/kkm_last_doc_name [04:04:58]save OK [04:04:58]Clear old archive folders... [04:04:58]ProcessDocumentItem done err = 0, tmpTLVsize=273 [04:04:58]tlvbuf is 008A0A40 [04:04:58]SAM_PROTO_ClearQueue [04:04:58]wFMCommunicate request_size=4 [04:04:58]MH_SAM_APDU [04:04:58]CAPDU: 80 09 00 00 [04:04:58]Write to MH i2c: E2 08 00 6E 04 80 09 00 00 00 00 00 00 E4 [04:04:58]Write i2c OK [04:04:58]MH_I2C_Read... [04:04:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:04:58]Read from MH i2c: E2 [04:04:58]MH_I2C_Read... [04:04:58]Read from MH i2c: E2 03 00 [04:04:58]MH_I2C_Read... [04:04:58]Read from MH i2c: E2 03 00 6E 04 00 90 00 E6 [04:04:58]RAPDU: 90 00 [04:04:58]wFMCommunicate OK [04:04:58]SAM_PROTO_ClearQueue done [04:04:58]KKMCreateOFDPacket [04:04:58]OFDProtocolAddRootSTLVToBuf [04:04:58]FM_MakeSignedData [04:04:58]FM_MakeSignedData [04:04:58]SAM_PROTO_SignData [04:04:58]wFMCommunicate request_size=4 [04:04:58]MH_SAM_APDU [04:04:58]CAPDU: 80 0D 01 02 [04:04:58]Write to MH i2c: E2 08 00 6F 04 80 0D 01 02 00 00 00 00 EC [04:04:58]Write i2c OK [04:04:58]MH_I2C_Read... [04:04:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:04:59]Read from MH i2c: E2 [04:04:59]MH_I2C_Read... [04:04:59]Read from MH i2c: E2 03 00 [04:04:59]MH_I2C_Read... [04:04:59]Read from MH i2c: E2 03 00 6F 04 00 90 00 E7 [04:04:59]RAPDU: 90 00 [04:04:59]wFMCommunicate OK [04:04:59]wFMCommunicate request_size=255 [04:04:59]MH_SAM_APDU [04:04: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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 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 11 00 00 00 F4 03 04 00 6A 0D 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 [04:04:59]Write to MH i2c: E2 02 01 70 04 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 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 11 00 00 00 F4 03 04 00 6A 0D 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 00 00 8F [04:04:59]Write i2c OK [04:04:59]MH_I2C_Read... [04:04:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:04:59]Read from MH i2c: E2 [04:04:59]MH_I2C_Read... [04:04:59]Read from MH i2c: E2 03 00 [04:04:59]MH_I2C_Read... [04:04:59]Read from MH i2c: E2 03 00 70 04 00 90 00 E8 [04:04:59]RAPDU: 90 00 [04:04:59]wFMCommunicate OK [04:04:59]wFMCommunicate request_size=32 [04:04:59]MH_SAM_APDU [04:04:59]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 37 35 38 10 04 04 00 10 0A 01 00 35 04 06 00 3E 19 9A A6 09 F4 [04:04:59]Write to MH i2c: E2 23 00 71 04 80 0D 02 02 1B 00 30 30 30 38 37 31 37 35 38 10 04 04 00 10 0A 01 00 35 04 06 00 3E 19 9A A6 09 F4 00 00 FF [04:04:59]Write i2c OK [04:04:59]MH_I2C_Read... [04:04:59]OFD Sender: No OFD packet to send [04:04:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:04:59]Read from MH i2c: E2 [04:04:59]MH_I2C_Read... [04:04:59]Read from MH i2c: E2 03 00 [04:04:59]MH_I2C_Read... [04:04:59]Read from MH i2c: E2 03 00 71 04 00 90 00 E9 [04:04:59]RAPDU: 90 00 [04:04:59]wFMCommunicate OK [04:04:59]wFMCommunicate request_size=4 [04:04:59]MH_SAM_APDU [04:04:59]CAPDU: 80 0D 03 02 [04:04:59]Write to MH i2c: E2 08 00 72 04 80 0D 03 02 00 00 00 00 F1 [04:04:59]Write i2c OK [04:04:59]MH_I2C_Read... [04:04:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:04:59]Read from MH i2c: E2 [04:04:59]MH_I2C_Read... [04:04:59]Read from MH i2c: E2 0B 00 [04:04:59]MH_I2C_Read... [04:04:59]Read from MH i2c: E2 0B 00 72 04 00 5E F6 3E 08 4F 0E FB 5A 90 00 3E [04:04:59]RAPDU: 5E F6 3E 08 4F 0E FB 5A 90 00 [04:04:59]wFMCommunicate OK [04:04:59]SAM_PROTO_SignData done [04:04:59]FM_MakeSignedData done [04:04:59]CreateOFDProtocolMessage [04:04:59]wFMCommunicate request_size=4 [04:04:59]MH_SAM_APDU [04:04:59]CAPDU: 80 11 00 00 [04:04:59]Write to MH i2c: E2 08 00 73 04 80 11 00 00 00 00 00 00 F1 [04:04:59]Write i2c OK [04:04:59]MH_I2C_Read... [04:04:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:04:59]Read from MH i2c: E2 [04:04:59]MH_I2C_Read... [04:04:59]Read from MH i2c: E2 17 00 [04:04:59]MH_I2C_Read... [04:04:59]Read from MH i2c: E2 17 00 73 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 48 [04:04:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [04:04:59]wFMCommunicate OK [04:04:59]CreateOFDProtocolMessage done [04:04:59]OFDSenderStorePacket 68112 [04:04:59]StoreOFDPacket docnum=68112 [04:04:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 25 01 00 00 FE 9B 1D 01 94 B6 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 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 11 00 00 00 F4 03 04 00 6A 0D 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 10 0A 01 00 35 04 06 00 3E 19 9A A6 09 F4 5E F6 3E 08 4F 0E FB 5A [04:04:59]CheckFolder [04:04:59]dirname=/storage/ofd_packets [04:04:59]CheckFolder done [04:04:59]ProducePacketName [04:04:59]name=ofd_packets/00068112 [04:04:59]NVStorageSaveData ofd_packets/00068112 [04:04:59]File name is /storage/ofd_packets/00068112 [04:04:59]Write 323 bytes [04:04:59]NVStorageSaveData done [04:04:59]OFDSenderStorePacket done [04:04:59]KKMCreateOFDPacket done [04:04:59]NVStorageSaveData kkm_last_timestamp [04:04:59]File name is /storage/kkm_last_timestamp [04:04:59]Write 4 bytes [04:04:59]NVStorageSaveData done [04:04:59]ExternCall_PrintAddStr [04:04:59]wPrintStart [04:04:59]Write to MH i2c: 01 00 00 74 04 78 [04:04:59]Write i2c OK [04:04:59]MH_I2C_Read... [04:04:59]Read from MH i2c: 01 [04:04:59]MH_I2C_Read... [04:04:59]Read from MH i2c: 01 07 00 [04:04:59]MH_I2C_Read... [04:04:59]Read from MH i2c: 01 07 00 74 04 00 00 00 00 00 FF 0F 8D [04:04:59]RasterBufferAndPrint [04:04:59]line Счет N : (3)17152 [04:04:59]line ИНН: 02508201610067 [04:04:59]line Контрольно-Кассовый Чек [04:04:59]line ПРОДАЖА [04:04:59]line Товар: 48743570 [04:04:59]line Сигареты Winston XStyle Blue [04:04:59]line 1.000 * 144.00 [04:04:59]line = 144.00 [04:04:59]line НДС 12% НСП 1% [04:04:59]line > о реализуемом товаре [04:04:59]line ИТОГО: 144.00 [04:04:59]line НСП 1% : 1.27 [04:04:59]line НДС 12% : 15.29 [04:04:59]line Наличными: 144.00 [04:04:59]line Безнал.: 0.00 [04:04:59]line Место: АЗС № 160 "Партнер Нефть" [04:04:59]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [04:04:59]line СНО: Общий режим [04:04:59]line Чек 17 28.10.2024 04:04 [04:04:59]line Смена: 547 ФФД: 1.0 [04:04:59]line ЗНМ: 0300000093 [04:04:59]line РНМ: 0000000000091759 [04:04:59]line Версия ККМ: 001 [04:04:59]line ФМ: 0000000000871758 [04:04:59]line ФД: 68112 [04:04:59]line ФПД: 68279689677300 [04:04:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T040458&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68112&fm=68279689677300&tin=02508201610067®Number=0000000000091759&sum=14400 [04:04:59]line 0 [04:04:59]OFD Sender: Processing packet 68112 [packets to send 27, broken 26] [04:04:59]ProducePacketName [04:04:59]name=ofd_packets/00068112 [04:04:59]OFD Sender: To server: pG, [04:04:59]CommunicateWithHost lk.salyk.kg:30040 [04:04:59]ConnectInit lk.salyk.kg [04:04:59]written 0, free lines is 4095 [04:04:59]Connected sock=10 [04:04:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 25 01 00 00 FE 9B 1D 01 94 B6 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 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 11 00 00 00 F4 03 04 00 6A 0D 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 10 0A 01 00 35 04 06 00 3E 19 9A A6 09 F4 5E F6 3E 08 4F 0E FB 5A [04:05:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 16 65 47 00 76 D8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 10 0A 01 00 F4 03 04 00 24 B9 1E 67 B6 04 01 00 00 85 F3 CF 45 B6 66 09 1A [04:05:00]CommunicateWithHost err = 0 [04:05:00]CheckOFDResponse [04:05:00]1017 (14) - 77093643461234 [04:05:00]1041 (16) - 0000000000871758 [04:05:00]1040 (4) - 68112 [04:05:00]1012 (4) - 27.10.2024 22:05 [04:05:00]1206 (1) - 0 [04:05:00]OFD Sender: Remove packet 68112 [04:05:00]ProducePacketName [04:05:00]name=ofd_packets/00068112 [04:05:00]NVStorageDeleteData [04:05:00]Write to MH i2c: 01 00 00 9B 04 9F [04:05:00]Write i2c OK [04:05:00]MH_I2C_Read... [04:05:00]Read from MH i2c: 01 [04:05:00]MH_I2C_Read... [04:05:00]Read from MH i2c: 01 07 00 [04:05:00]MH_I2C_Read... [04:05:00]Read from MH i2c: 01 07 00 9B 04 00 00 00 00 00 D4 0C 86 [04:05:00]RasterBufferAndPrint [04:05:00]line [04:05:00]line [04:05:00]line [04:05:00]line [04:05:00]line [04:05:00]written 0, free lines is 3290 [04:05:00]MH_Cut [04:05:00]Write to MH i2c: D1 01 00 A2 04 01 78 [04:05:00]Write i2c OK [04:05:00]MH_I2C_Read... [04:05:00]Read from MH i2c: D1 [04:05:00]MH_I2C_Read... [04:05:00]Read from MH i2c: D1 01 00 [04:05:00]MH_I2C_Read... [04:05:00]Read from MH i2c: D1 01 00 A2 04 00 77 [04:05:00]Write to MH i2c: 01 00 00 A3 04 A7 [04:05:00]Write i2c OK [04:05:00]MH_I2C_Read... [04:05:00]OFD Sender: No OFD packet to send [04:05:01]*** Cut start [04:05:01]*** Partial cut [04:05:01]*** CUTSNS_PIN = 1 [04:05:01]*** CUTSNS_PIN = 0 [04:05:01]*** Brake cut motor [04:05:01]Read from MH i2c: 01 [04:05:01]MH_I2C_Read... [04:05:01]*** Stop cut motor [04:05:01]*** Cut end [04:05:01]Read from MH i2c: 01 07 00 [04:05:01]MH_I2C_Read... [04:05:01]Read from MH i2c: 01 07 00 A3 04 00 00 00 00 00 FF 0F BC [04:05:01]process_action close_receipt done [04:05:01]requested_data is exist [04:05:01]produce_requested_data [04:05:01]requested_item fm.sn is exist - process it [04:05:01]wFMCommunicate request_size=4 [04:05:01]MH_SAM_APDU [04:05:01]CAPDU: 80 11 00 00 [04:05:01]Write to MH i2c: E2 08 00 A4 04 80 11 00 00 00 00 00 00 22 [04:05:01]Write i2c OK [04:05:01]MH_I2C_Read... [04:05:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:05:01]Read from MH i2c: E2 [04:05:01]MH_I2C_Read... [04:05:01]Read from MH i2c: E2 17 00 [04:05:01]MH_I2C_Read... [04:05:01]Read from MH i2c: E2 17 00 A4 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 79 [04:05:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [04:05:01]wFMCommunicate OK [04:05:01]requested_item fd.num is exist - process it [04:05:01]SAM_PROTO_GetFieldsCounters [04:05:01]wFMCommunicate request_size=4 [04:05:01]MH_SAM_APDU [04:05:01]CAPDU: 80 13 00 00 [04:05:01]Write to MH i2c: E2 08 00 A5 04 80 13 00 00 00 00 00 00 25 [04:05:01]Write i2c OK [04:05:01]MH_I2C_Read... [04:05:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:05:01]Read from MH i2c: E2 [04:05:01]MH_I2C_Read... [04:05:01]Read from MH i2c: E2 62 00 [04:05:01]MH_I2C_Read... [04:05:01]Read from MH i2c: E2 62 00 A5 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 10 0A 01 00 0E 04 04 00 23 02 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 C3 [04:05:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 10 0A 01 00 0E 04 04 00 23 02 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 [04:05:01]wFMCommunicate OK [04:05:01]SAM_PROTO_GetFieldsCounters done [04:05:01]requested_item shift.num is exist - process it [04:05:01]requested_item shift.opened is exist - process it [04:05:01]req_shift_opened [04:05:01]FM_GetShiftState [04:05:01]SAM_PROTO_GetShiftState [04:05:01]wFMCommunicate request_size=4 [04:05:01]MH_SAM_APDU [04:05:01]CAPDU: 80 13 01 00 [04:05:01]Write to MH i2c: E2 08 00 A6 04 80 13 01 00 00 00 00 00 27 [04:05:01]Write i2c OK [04:05:01]MH_I2C_Read... [04:05:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:05:01]Read from MH i2c: E2 [04:05:01]MH_I2C_Read... [04:05:01]Read from MH i2c: E2 0E 00 [04:05:01]MH_I2C_Read... [04:05:01]Read from MH i2c: E2 0E 00 A6 04 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 22 [04:05:01]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [04:05:01]wFMCommunicate OK [04:05:01]SAM_PROTO_GetShiftState done [04:05:01]FM_GetShiftState done [04:05:01]req_shift_opened done [04:05:01]requested_item shift.open_date is exist - process it [04:05:01]req_shift_open_date [04:05:01]req_shift_open_date done [04:05:01]produce_requested_data done [04:05:01]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68112,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [04:05:01]process_action_free close_receipt [04:05:01]json_value_free [04:05:01]json_value_free done [04:05:01]process_json_proto returns [04:05:01]Send response to host [04:05:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68112,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [04:05:01]free response buf [04:05:01]execute_script done [04:05:01]execute_script returns [04:05:01]free content buf [04:05:01]Sock 8.Close socket [04:05:01]Sock 8.Thread stoped [04:05:05]OFD Sender: No OFD packet to send [04:05:10]OFD Sender: No OFD packet to send [04:05:15]OFD Sender: No OFD packet to send [04:05:20]OFD Sender: No OFD packet to send [04:05:25]OFD Sender: No OFD packet to send [04:05:30]OFD Sender: No OFD packet to send [04:05:35]OFD Sender: No OFD packet to send [04:05:40]OFD Sender: No OFD packet to send [04:05:45]OFD Sender: No OFD packet to send [04:05:50]OFD Sender: No OFD packet to send [04:05:55]OFD Sender: No OFD packet to send [04:06:00]OFD Sender: No OFD packet to send [04:06:05]OFD Sender: No OFD packet to send [04:06:10]OFD Sender: No OFD packet to send [04:06:15]OFD Sender: No OFD packet to send [04:06:20]OFD Sender: No OFD packet to send [04:06:25]OFD Sender: No OFD packet to send [04:06:30]OFD Sender: No OFD packet to send [04:06:35]OFD Sender: No OFD packet to send [04:06:40]OFD Sender: No OFD packet to send [04:06:45]OFD Sender: No OFD packet to send [04:06:50]OFD Sender: No OFD packet to send [04:06:55]OFD Sender: No OFD packet to send [04:07:00]OFD Sender: No OFD packet to send [04:07:05]OFD Sender: No OFD packet to send [04:07:10]OFD Sender: No OFD packet to send [04:07:15]OFD Sender: No OFD packet to send [04:07:20]OFD Sender: No OFD packet to send [04:07:25]OFD Sender: No OFD packet to send [04:07:30]OFD Sender: No OFD packet to send [04:07:35]OFD Sender: No OFD packet to send [04:07:40]OFD Sender: No OFD packet to send [04:07:45]OFD Sender: No OFD packet to send [04:07:50]OFD Sender: No OFD packet to send [04:07:55]OFD Sender: No OFD packet to send [04:08:00]OFD Sender: No OFD packet to send [04:08:05]OFD Sender: No OFD packet to send [04:08:10]OFD Sender: No OFD packet to send [04:08:15]OFD Sender: No OFD packet to send [04:08:20]OFD Sender: No OFD packet to send [04:08:25]OFD Sender: No OFD packet to send [04:08:30]OFD Sender: No OFD packet to send [04:08:35]OFD Sender: No OFD packet to send [04:08:40]OFD Sender: No OFD packet to send [04:08:45]OFD Sender: No OFD packet to send [04:08:50]OFD Sender: No OFD packet to send [04:08:55]OFD Sender: No OFD packet to send [04:09:00]OFD Sender: No OFD packet to send [04:09:05]OFD Sender: No OFD packet to send [04:09:10]OFD Sender: No OFD packet to send [04:09:15]OFD Sender: No OFD packet to send [04:09:20]OFD Sender: No OFD packet to send [04:09:25]OFD Sender: No OFD packet to send [04:09:30]OFD Sender: No OFD packet to send [04:09:35]OFD Sender: No OFD packet to send [04:09:40]OFD Sender: No OFD packet to send [04:09:45]OFD Sender: No OFD packet to send [04:09:50]OFD Sender: No OFD packet to send [04:09:55]OFD Sender: No OFD packet to send [04:10:00]OFD Sender: No OFD packet to send [04:10:05]OFD Sender: No OFD packet to send [04:10:10]OFD Sender: No OFD packet to send [04:10:15]OFD Sender: No OFD packet to send [04:10:20]OFD Sender: No OFD packet to send [04:10:25]OFD Sender: No OFD packet to send [04:10:30]OFD Sender: No OFD packet to send [04:10:35]OFD Sender: No OFD packet to send [04:10:40]OFD Sender: No OFD packet to send [04:10:45]OFD Sender: No OFD packet to send [04:10:50]OFD Sender: No OFD packet to send [04:10:55]OFD Sender: No OFD packet to send [04:11:00]OFD Sender: No OFD packet to send [04:11:05]OFD Sender: No OFD packet to send [04:11:10]OFD Sender: No OFD packet to send [04:11:15]OFD Sender: No OFD packet to send [04:11:20]OFD Sender: No OFD packet to send [04:11:25]OFD Sender: No OFD packet to send [04:11:30]OFD Sender: No OFD packet to send [04:11:35]OFD Sender: No OFD packet to send [04:11:40]OFD Sender: No OFD packet to send [04:11:45]OFD Sender: No OFD packet to send [04:11:50]OFD Sender: No OFD packet to send [04:11:55]OFD Sender: No OFD packet to send [04:12:00]OFD Sender: No OFD packet to send [04:12:05]OFD Sender: No OFD packet to send [04:12:10]OFD Sender: No OFD packet to send [04:12:15]OFD Sender: No OFD packet to send [04:12:21]OFD Sender: No OFD packet to send [04:12:26]OFD Sender: No OFD packet to send [04:12:31]OFD Sender: No OFD packet to send [04:12:36]OFD Sender: No OFD packet to send [04:12:41]OFD Sender: No OFD packet to send [04:12:46]OFD Sender: No OFD packet to send [04:12:51]OFD Sender: No OFD packet to send [04:12:56]OFD Sender: No OFD packet to send [04:13:01]OFD Sender: No OFD packet to send [04:13:06]OFD Sender: No OFD packet to send [04:13:11]OFD Sender: No OFD packet to send [04:13:16]OFD Sender: No OFD packet to send [04:13:21]OFD Sender: No OFD packet to send [04:13:26]OFD Sender: No OFD packet to send [04:13:31]OFD Sender: No OFD packet to send [04:13:36]OFD Sender: No OFD packet to send [04:13:41]OFD Sender: No OFD packet to send [04:13:46]OFD Sender: No OFD packet to send [04:13:51]OFD Sender: No OFD packet to send [04:13:56]OFD Sender: No OFD packet to send [04:14:01]OFD Sender: No OFD packet to send [04:14:06]OFD Sender: No OFD packet to send [04:14:11]OFD Sender: No OFD packet to send [04:14:16]OFD Sender: No OFD packet to send [04:14:21]OFD Sender: No OFD packet to send [04:14:26]OFD Sender: No OFD packet to send [04:14:31]OFD Sender: No OFD packet to send [04:14:36]OFD Sender: No OFD packet to send [04:14:41]OFD Sender: No OFD packet to send [04:14:46]OFD Sender: No OFD packet to send [04:14:51]OFD Sender: No OFD packet to send [04:14:56]OFD Sender: No OFD packet to send [04:15:01]OFD Sender: No OFD packet to send [04:15:06]OFD Sender: No OFD packet to send [04:15:11]OFD Sender: No OFD packet to send [04:15:16]OFD Sender: No OFD packet to send [04:15:21]OFD Sender: No OFD packet to send [04:15:26]OFD Sender: No OFD packet to send [04:15:31]OFD Sender: No OFD packet to send [04:15:36]OFD Sender: No OFD packet to send [04:15:41]OFD Sender: No OFD packet to send [04:15:46]OFD Sender: No OFD packet to send [04:15:51]OFD Sender: No OFD packet to send [04:15:56]OFD Sender: No OFD packet to send [04:16:01]OFD Sender: No OFD packet to send [04:16:06]OFD Sender: No OFD packet to send [04:16:11]OFD Sender: No OFD packet to send [04:16:16]OFD Sender: No OFD packet to send [04:16:21]OFD Sender: No OFD packet to send [04:16:26]OFD Sender: No OFD packet to send [04:16:31]OFD Sender: No OFD packet to send [04:16:36]OFD Sender: No OFD packet to send [04:16:41]OFD Sender: No OFD packet to send [04:16:46]OFD Sender: No OFD packet to send [04:16:51]OFD Sender: No OFD packet to send [04:16:56]OFD Sender: No OFD packet to send [04:17:01]OFD Sender: No OFD packet to send [04:17:06]OFD Sender: No OFD packet to send [04:17:11]OFD Sender: No OFD packet to send [04:17:16]OFD Sender: No OFD packet to send [04:17:21]OFD Sender: No OFD packet to send [04:17:26]OFD Sender: No OFD packet to send [04:17:31]OFD Sender: No OFD packet to send [04:17:36]OFD Sender: No OFD packet to send [04:17:41]OFD Sender: No OFD packet to send [04:17:46]OFD Sender: No OFD packet to send [04:17:51]OFD Sender: No OFD packet to send [04:17:56]OFD Sender: No OFD packet to send [04:18:01]OFD Sender: No OFD packet to send [04:18:06]OFD Sender: No OFD packet to send [04:18:11]OFD Sender: No OFD packet to send [04:18:16]OFD Sender: No OFD packet to send [04:18:21]OFD Sender: No OFD packet to send [04:18:26]OFD Sender: No OFD packet to send [04:18:31]OFD Sender: No OFD packet to send [04:18:36]OFD Sender: No OFD packet to send [04:18:41]OFD Sender: No OFD packet to send [04:18:46]OFD Sender: No OFD packet to send [04:18:51]OFD Sender: No OFD packet to send [04:18:56]OFD Sender: No OFD packet to send [04:19:01]OFD Sender: No OFD packet to send [04:19:06]OFD Sender: No OFD packet to send [04:19:11]OFD Sender: No OFD packet to send [04:19:16]OFD Sender: No OFD packet to send [04:19:21]OFD Sender: No OFD packet to send [04:19:26]OFD Sender: No OFD packet to send [04:19:31]OFD Sender: No OFD packet to send [04:19:36]OFD Sender: No OFD packet to send [04:19:41]OFD Sender: No OFD packet to send [04:19:46]OFD Sender: No OFD packet to send [04:19:51]OFD Sender: No OFD packet to send [04:19:56]OFD Sender: No OFD packet to send [04:20:01]OFD Sender: No OFD packet to send [04:20:06]OFD Sender: No OFD packet to send [04:20:11]OFD Sender: No OFD packet to send [04:20:16]OFD Sender: No OFD packet to send [04:20:21]OFD Sender: No OFD packet to send [04:20:26]OFD Sender: No OFD packet to send [04:20:31]OFD Sender: No OFD packet to send [04:20:36]OFD Sender: No OFD packet to send [04:20:41]OFD Sender: No OFD packet to send [04:20:46]OFD Sender: No OFD packet to send [04:20:51]OFD Sender: No OFD packet to send [04:20:56]OFD Sender: No OFD packet to send [04:21:01]OFD Sender: No OFD packet to send [04:21:06]OFD Sender: No OFD packet to send [04:21:11]OFD Sender: No OFD packet to send [04:21:16]OFD Sender: No OFD packet to send [04:21:21]OFD Sender: No OFD packet to send [04:21:26]OFD Sender: No OFD packet to send [04:21:31]OFD Sender: No OFD packet to send [04:21:36]OFD Sender: No OFD packet to send [04:21:41]OFD Sender: No OFD packet to send [04:21:46]OFD Sender: No OFD packet to send [04:21:51]OFD Sender: No OFD packet to send [04:21:56]OFD Sender: No OFD packet to send [04:22:01]OFD Sender: No OFD packet to send [04:22:06]OFD Sender: No OFD packet to send [04:22:08]accept exits with 9 [04:22:08]New connection [04:22:08]New thread 3067374948 created [04:22:08]Thread 3067518308 joined [04:22:08]Waiting for new connection... [04:22:08] Sock 9.Parse request [04:22:08]Sock 9.Check first char [04:22:08]Sock 9.First char is OK [04:22:08]request: POST /json_proto HTTP/1.0 [04:22:08]Method: POST [04:22:08]URL: /json_proto [04:22:08]Method is POST - this is cgi request [04:22:08]url: /json_proto [04:22:08]query_string will be loaded in cgi processing [04:22:08]execute_cgi json_proto POST (null) [04:22:08]execute_cgi path=json_proto method=POST [04:22:08]POST find Content-Length [04:22:08]Host: 172.17.42.3:8080 [04:22:08]Content-Length: 710 [04:22:08]Content-Type: application/json [04:22:08] [04:22:08]POST finish read [04:22:08]Found Content-Length = 710 [04:22:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17153", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 84.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:22:08]execute_script... [04:22: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)17153", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 84.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:22:08]POST & json_proto [04:22:08]process_json_proto [04:22:08]json parsed OK: [04:22:08]protocol is kg_v1.0 [04:22:08]action value=close_receipt [04:22:08]process_action close_receipt [04:22:08]cmd_close_receipt [04:22:08]MH_GetDate [04:22:08]Write to MH i2c: F0 00 00 A7 04 9A [04:22:08]Write i2c OK [04:22:08]MH_I2C_Read... [04:22:08]Read from MH i2c: F0 [04:22:08]MH_I2C_Read... [04:22:08]Read from MH i2c: F0 09 00 [04:22:08]MH_I2C_Read... [04:22:08]Read from MH i2c: F0 09 00 A7 04 00 71 11 1F 67 EA E5 1E 67 FF [04:22:08]GetLastDocTimeStamp 1730088298 [04:22:08]current date 1730089329 [04:22:08]FM_GetShiftState [04:22:08]SAM_PROTO_GetShiftState [04:22:08]wFMCommunicate request_size=4 [04:22:08]MH_SAM_APDU [04:22:08]CAPDU: 80 13 01 00 [04:22:08]Write to MH i2c: E2 08 00 A8 04 80 13 01 00 00 00 00 00 29 [04:22:08]Write i2c OK [04:22:08]MH_I2C_Read... [04:22:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:22:08]Read from MH i2c: E2 [04:22:08]MH_I2C_Read... [04:22:08]Read from MH i2c: E2 0E 00 [04:22:08]MH_I2C_Read... [04:22:08]Read from MH i2c: E2 0E 00 A8 04 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 24 [04:22:08]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [04:22:08]wFMCommunicate OK [04:22:08]SAM_PROTO_GetShiftState done [04:22:08]FM_GetShiftState done [04:22:08]opened in 1730074770 [04:22:08]opened+sec_in_day 1730161170 [04:22:08]quantity*price = 8400 [04:22:08]sum+1 = 8401 [04:22:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 84.00 НСП 1% : 0.74 НДС 12% : 8.92 Наличными: 84.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 18 28.10.2024 04:22 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68113 ФПД: 230371564807800 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T042209&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68113&fm=230371564807800&tin=02508201610067®Number=0000000000091759&sum=8400 0 [04:22:09]StoreToDocumentArchive [04:22:09]shift 547 fd 68113 [04:22:09]save to /storage/0547/doc_00068113 [04:22:09]save last doc name /storage/0547/doc_00068113 to /storage/kkm_last_doc_name [04:22:09]save OK [04:22:09]Clear old archive folders... [04:22:09]ProcessDocumentItem done err = 0, tmpTLVsize=302 [04:22:09]tlvbuf is 0087F9E0 [04:22:09]SAM_PROTO_ClearQueue [04:22:09]wFMCommunicate request_size=4 [04:22:09]MH_SAM_APDU [04:22:09]CAPDU: 80 09 00 00 [04:22:09]Write to MH i2c: E2 08 00 B5 04 80 09 00 00 00 00 00 00 2B [04:22:09]Write i2c OK [04:22:09]MH_I2C_Read... [04:22:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:22:09]Read from MH i2c: E2 [04:22:09]MH_I2C_Read... [04:22:09]Read from MH i2c: E2 03 00 [04:22:09]MH_I2C_Read... [04:22:09]Read from MH i2c: E2 03 00 B5 04 00 90 00 2D [04:22:09]RAPDU: 90 00 [04:22:09]wFMCommunicate OK [04:22:09]SAM_PROTO_ClearQueue done [04:22:09]KKMCreateOFDPacket [04:22:09]OFDProtocolAddRootSTLVToBuf [04:22:09]FM_MakeSignedData [04:22:09]FM_MakeSignedData [04:22:09]SAM_PROTO_SignData [04:22:09]wFMCommunicate request_size=4 [04:22:09]MH_SAM_APDU [04:22:09]CAPDU: 80 0D 01 02 [04:22:09]Write to MH i2c: E2 08 00 B6 04 80 0D 01 02 00 00 00 00 33 [04:22:09]Write i2c OK [04:22:09]MH_I2C_Read... [04:22:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:22:09]Read from MH i2c: E2 [04:22:09]MH_I2C_Read... [04:22:09]Read from MH i2c: E2 03 00 [04:22:09]MH_I2C_Read... [04:22:09]Read from MH i2c: E2 03 00 B6 04 00 90 00 2E [04:22:09]RAPDU: 90 00 [04:22:09]wFMCommunicate OK [04:22:09]wFMCommunicate request_size=255 [04:22:09]MH_SAM_APDU [04:22:09]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 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 12 00 00 00 F4 03 04 00 71 11 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 [04:22:09]Write to MH i2c: E2 02 01 B7 04 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 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 12 00 00 00 F4 03 04 00 71 11 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 00 00 10 [04:22:10]Write i2c OK [04:22:10]MH_I2C_Read... [04:22:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:22:10]Read from MH i2c: E2 [04:22:10]MH_I2C_Read... [04:22:10]Read from MH i2c: E2 03 00 [04:22:10]MH_I2C_Read... [04:22:10]Read from MH i2c: E2 03 00 B7 04 00 90 00 2F [04:22:10]RAPDU: 90 00 [04:22:10]wFMCommunicate OK [04:22:10]wFMCommunicate request_size=61 [04:22:10]MH_SAM_APDU [04:22:10]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 11 0A 01 00 35 04 06 00 D1 85 8F 49 66 78 [04:22:10]Write to MH i2c: E2 40 00 B8 04 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 11 0A 01 00 35 04 06 00 D1 85 8F 49 66 78 00 00 9D [04:22:10]Write i2c OK [04:22:10]MH_I2C_Read... [04:22:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:22:10]Read from MH i2c: E2 [04:22:10]MH_I2C_Read... [04:22:10]Read from MH i2c: E2 03 00 [04:22:10]MH_I2C_Read... [04:22:10]Read from MH i2c: E2 03 00 B8 04 00 90 00 30 [04:22:10]RAPDU: 90 00 [04:22:10]wFMCommunicate OK [04:22:10]wFMCommunicate request_size=4 [04:22:10]MH_SAM_APDU [04:22:10]CAPDU: 80 0D 03 02 [04:22:10]Write to MH i2c: E2 08 00 B9 04 80 0D 03 02 00 00 00 00 38 [04:22:10]Write i2c OK [04:22:10]MH_I2C_Read... [04:22:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:22:10]Read from MH i2c: E2 [04:22:10]MH_I2C_Read... [04:22:10]Read from MH i2c: E2 0B 00 [04:22:10]MH_I2C_Read... [04:22:10]Read from MH i2c: E2 0B 00 B9 04 00 18 9B 48 01 2C C0 7D B1 90 00 4F [04:22:10]RAPDU: 18 9B 48 01 2C C0 7D B1 90 00 [04:22:10]wFMCommunicate OK [04:22:10]SAM_PROTO_SignData done [04:22:10]FM_MakeSignedData done [04:22:10]CreateOFDProtocolMessage [04:22:10]wFMCommunicate request_size=4 [04:22:10]MH_SAM_APDU [04:22:10]CAPDU: 80 11 00 00 [04:22:10]Write to MH i2c: E2 08 00 BA 04 80 11 00 00 00 00 00 00 38 [04:22:10]Write i2c OK [04:22:10]MH_I2C_Read... [04:22:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:22:10]Read from MH i2c: E2 [04:22:10]MH_I2C_Read... [04:22:10]Read from MH i2c: E2 17 00 [04:22:10]MH_I2C_Read... [04:22:10]Read from MH i2c: E2 17 00 BA 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 8F [04:22:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [04:22:10]wFMCommunicate OK [04:22:10]CreateOFDProtocolMessage done [04:22:10]OFDSenderStorePacket 68113 [04:22:10]StoreOFDPacket docnum=68113 [04:22:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 42 01 00 00 E0 B7 3A 01 8E 59 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 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 12 00 00 00 F4 03 04 00 71 11 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 11 0A 01 00 35 04 06 00 D1 85 8F 49 66 78 18 9B 48 01 2C C0 7D B1 [04:22:10]CheckFolder [04:22:10]dirname=/storage/ofd_packets [04:22:10]CheckFolder done [04:22:10]ProducePacketName [04:22:10]name=ofd_packets/00068113 [04:22:10]NVStorageSaveData ofd_packets/00068113 [04:22:10]File name is /storage/ofd_packets/00068113 [04:22:10]Write 352 bytes [04:22:10]NVStorageSaveData done [04:22:10]OFDSenderStorePacket done [04:22:10]KKMCreateOFDPacket done [04:22:10]NVStorageSaveData kkm_last_timestamp [04:22:10]File name is /storage/kkm_last_timestamp [04:22:10]Write 4 bytes [04:22:10]NVStorageSaveData done [04:22:10]ExternCall_PrintAddStr [04:22:10]wPrintStart [04:22:10]Write to MH i2c: 01 00 00 BB 04 BF [04:22:10]Write i2c OK [04:22:10]MH_I2C_Read... [04:22:10]Read from MH i2c: 01 [04:22:10]MH_I2C_Read... [04:22:10]Read from MH i2c: 01 07 00 [04:22:10]MH_I2C_Read... [04:22:10]Read from MH i2c: 01 07 00 BB 04 00 00 00 00 00 FF 0F D4 [04:22:10]RasterBufferAndPrint [04:22:10]line Счет N : (3)17153 [04:22:10]line ИНН: 02508201610067 [04:22:10]line Контрольно-Кассовый Чек [04:22:10]line ПРОДАЖА [04:22:10]line Товар: 4870001571030 [04:22:10]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [04:22:10]line 1.000 * 84.00 [04:22:10]line = 84.00 [04:22:10]line НДС 12% НСП 1% [04:22:10]line > о реализуемом товаре [04:22:10]line ИТОГО: 84.00 [04:22:10]line НСП 1% : 0.74 [04:22:10]line НДС 12% : 8.92 [04:22:10]line Наличными: 84.00 [04:22:10]line Безнал.: 0.00 [04:22:10]line Место: АЗС № 160 "Партнер Нефть" [04:22:10]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [04:22:10]line СНО: Общий режим [04:22:10]line Чек 18 28.10.2024 04:22 [04:22:10]line Смена: 547 ФФД: 1.0 [04:22:10]line ЗНМ: 0300000093 [04:22:10]line РНМ: 0000000000091759 [04:22:10]line Версия ККМ: 001 [04:22:10]line ФМ: 0000000000871758 [04:22:10]line ФД: 68113 [04:22:10]line ФПД: 230371564807800 [04:22:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T042209&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68113&fm=230371564807800&tin=02508201610067®Number=0000000000091759&sum=8400 [04:22:10]line 0 [04:22:10]OFD Sender: Processing packet 68113 [packets to send 27, broken 26] [04:22:10]ProducePacketName [04:22:10]name=ofd_packets/00068113 [04:22:10]OFD Sender: To server: pG, [04:22:10]CommunicateWithHost lk.salyk.kg:30040 [04:22:10]ConnectInit lk.salyk.kg [04:22:10]written 0, free lines is 4095 [04:22:10]Connected sock=10 [04:22:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 42 01 00 00 E0 B7 3A 01 8E 59 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 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 12 00 00 00 F4 03 04 00 71 11 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 11 0A 01 00 35 04 06 00 D1 85 8F 49 66 78 18 9B 48 01 2C C0 7D B1 [04:22:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 94 6A 47 00 12 0D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 11 0A 01 00 F4 03 04 00 2B BD 1E 67 B6 04 01 00 00 CA 46 64 DA 59 D6 C8 45 [04:22:11]CommunicateWithHost err = 0 [04:22:11]CheckOFDResponse [04:22:11]1017 (14) - 77093643461234 [04:22:11]1041 (16) - 0000000000871758 [04:22:11]1040 (4) - 68113 [04:22:11]1012 (4) - 27.10.2024 22:22 [04:22:11]1206 (1) - 0 [04:22:11]OFD Sender: Remove packet 68113 [04:22:11]ProducePacketName [04:22:11]name=ofd_packets/00068113 [04:22:11]NVStorageDeleteData [04:22:11]Write to MH i2c: 01 00 00 E3 04 E7 [04:22:11]Write i2c OK [04:22:11]MH_I2C_Read... [04:22:11]Read from MH i2c: 01 [04:22:11]MH_I2C_Read... [04:22:11]Read from MH i2c: 01 07 00 [04:22:11]MH_I2C_Read... [04:22:11]Read from MH i2c: 01 07 00 E3 04 00 00 00 00 00 CD 0C C7 [04:22:11]RasterBufferAndPrint [04:22:11]line [04:22:11]line [04:22:11]line [04:22:11]line [04:22:11]line [04:22:11]written 0, free lines is 3280 [04:22:11]MH_Cut [04:22:11]Write to MH i2c: D1 01 00 EA 04 01 C0 [04:22:11]Write i2c OK [04:22:11]MH_I2C_Read... [04:22:11]Read from MH i2c: D1 [04:22:11]MH_I2C_Read... [04:22:11]Read from MH i2c: D1 01 00 [04:22:11]MH_I2C_Read... [04:22:11]Read from MH i2c: D1 01 00 EA 04 00 BF [04:22:11]Write to MH i2c: 01 00 00 EB 04 EF [04:22:11]Write i2c OK [04:22:11]MH_I2C_Read... [04:22:11]OFD Sender: No OFD packet to send [04:22:12]*** Cut start [04:22:12]*** Partial cut [04:22:12]*** CUTSNS_PIN = 1 [04:22:12]*** CUTSNS_PIN = 0 [04:22:12]*** Brake cut motor [04:22:12]Read from MH i2c: 01 [04:22:12]MH_I2C_Read... [04:22:12]*** Stop cut motor [04:22:12]*** Cut end [04:22:12]Read from MH i2c: 01 07 00 [04:22:12]MH_I2C_Read... [04:22:12]Read from MH i2c: 01 07 00 EB 04 00 00 00 00 00 FF 0F 04 [04:22:12]process_action close_receipt done [04:22:12]requested_data is exist [04:22:12]produce_requested_data [04:22:12]requested_item fm.sn is exist - process it [04:22:12]wFMCommunicate request_size=4 [04:22:12]MH_SAM_APDU [04:22:12]CAPDU: 80 11 00 00 [04:22:12]Write to MH i2c: E2 08 00 EC 04 80 11 00 00 00 00 00 00 6A [04:22:12]Write i2c OK [04:22:12]MH_I2C_Read... [04:22:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:22:12]Read from MH i2c: E2 [04:22:12]MH_I2C_Read... [04:22:12]Read from MH i2c: E2 17 00 [04:22:12]MH_I2C_Read... [04:22:12]Read from MH i2c: E2 17 00 EC 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 C1 [04:22:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [04:22:12]wFMCommunicate OK [04:22:12]requested_item fd.num is exist - process it [04:22:12]SAM_PROTO_GetFieldsCounters [04:22:12]wFMCommunicate request_size=4 [04:22:12]MH_SAM_APDU [04:22:12]CAPDU: 80 13 00 00 [04:22:12]Write to MH i2c: E2 08 00 ED 04 80 13 00 00 00 00 00 00 6D [04:22:12]Write i2c OK [04:22:12]MH_I2C_Read... [04:22:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:22:12]Read from MH i2c: E2 [04:22:12]MH_I2C_Read... [04:22:12]Read from MH i2c: E2 62 00 [04:22:12]MH_I2C_Read... [04:22:12]Read from MH i2c: E2 62 00 ED 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 11 0A 01 00 0E 04 04 00 23 02 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 0F [04:22:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 11 0A 01 00 0E 04 04 00 23 02 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 [04:22:12]wFMCommunicate OK [04:22:12]SAM_PROTO_GetFieldsCounters done [04:22:12]requested_item shift.num is exist - process it [04:22:12]requested_item shift.opened is exist - process it [04:22:12]req_shift_opened [04:22:12]FM_GetShiftState [04:22:12]SAM_PROTO_GetShiftState [04:22:12]wFMCommunicate request_size=4 [04:22:12]MH_SAM_APDU [04:22:12]CAPDU: 80 13 01 00 [04:22:12]Write to MH i2c: E2 08 00 EE 04 80 13 01 00 00 00 00 00 6F [04:22:12]Write i2c OK [04:22:12]MH_I2C_Read... [04:22:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:22:12]Read from MH i2c: E2 [04:22:12]MH_I2C_Read... [04:22:12]Read from MH i2c: E2 0E 00 [04:22:12]MH_I2C_Read... [04:22:12]Read from MH i2c: E2 0E 00 EE 04 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 6A [04:22:12]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [04:22:12]wFMCommunicate OK [04:22:12]SAM_PROTO_GetShiftState done [04:22:12]FM_GetShiftState done [04:22:12]req_shift_opened done [04:22:12]requested_item shift.open_date is exist - process it [04:22:12]req_shift_open_date [04:22:12]req_shift_open_date done [04:22:12]produce_requested_data done [04:22:12]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68113,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [04:22:12]process_action_free close_receipt [04:22:12]json_value_free [04:22:12]json_value_free done [04:22:12]process_json_proto returns [04:22:12]Send response to host [04:22:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68113,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [04:22:12]free response buf [04:22:12]execute_script done [04:22:12]execute_script returns [04:22:12]free content buf [04:22:12]Sock 9.Close socket [04:22:12]Sock 9.Thread stoped [04:22:16]OFD Sender: No OFD packet to send [04:22:21]OFD Sender: No OFD packet to send [04:22:26]OFD Sender: No OFD packet to send [04:22:31]OFD Sender: No OFD packet to send [04:22:36]OFD Sender: No OFD packet to send [04:22:41]OFD Sender: No OFD packet to send [04:22:46]OFD Sender: No OFD packet to send [04:22:51]OFD Sender: No OFD packet to send [04:22:56]OFD Sender: No OFD packet to send [04:23:01]OFD Sender: No OFD packet to send [04:23:06]OFD Sender: No OFD packet to send [04:23:11]OFD Sender: No OFD packet to send [04:23:16]OFD Sender: No OFD packet to send [04:23:21]OFD Sender: No OFD packet to send [04:23:26]OFD Sender: No OFD packet to send [04:23:31]OFD Sender: No OFD packet to send [04:23:36]OFD Sender: No OFD packet to send [04:23:41]OFD Sender: No OFD packet to send [04:23:46]OFD Sender: No OFD packet to send [04:23:51]OFD Sender: No OFD packet to send [04:23:56]OFD Sender: No OFD packet to send [04:24:01]OFD Sender: No OFD packet to send [04:24:06]OFD Sender: No OFD packet to send [04:24:11]OFD Sender: No OFD packet to send [04:24:16]OFD Sender: No OFD packet to send [04:24:21]OFD Sender: No OFD packet to send [04:24:26]OFD Sender: No OFD packet to send [04:24:31]OFD Sender: No OFD packet to send [04:24:36]OFD Sender: No OFD packet to send [04:24:41]OFD Sender: No OFD packet to send [04:24:46]OFD Sender: No OFD packet to send [04:24:51]OFD Sender: No OFD packet to send [04:24:56]OFD Sender: No OFD packet to send [04:25:01]OFD Sender: No OFD packet to send [04:25:06]OFD Sender: No OFD packet to send [04:25:11]OFD Sender: No OFD packet to send [04:25:16]OFD Sender: No OFD packet to send [04:25:21]OFD Sender: No OFD packet to send [04:25:26]OFD Sender: No OFD packet to send [04:25:31]OFD Sender: No OFD packet to send [04:25:36]OFD Sender: No OFD packet to send [04:25:41]OFD Sender: No OFD packet to send [04:25:46]OFD Sender: No OFD packet to send [04:25:51]OFD Sender: No OFD packet to send [04:25:56]OFD Sender: No OFD packet to send [04:26:01]OFD Sender: No OFD packet to send [04:26:06]OFD Sender: No OFD packet to send [04:26:11]OFD Sender: No OFD packet to send [04:26:16]OFD Sender: No OFD packet to send [04:26:21]OFD Sender: No OFD packet to send [04:26:26]OFD Sender: No OFD packet to send [04:26:31]OFD Sender: No OFD packet to send [04:26:36]OFD Sender: No OFD packet to send [04:26:41]OFD Sender: No OFD packet to send [04:26:46]OFD Sender: No OFD packet to send [04:26:51]OFD Sender: No OFD packet to send [04:26:56]OFD Sender: No OFD packet to send [04:27:01]OFD Sender: No OFD packet to send [04:27:06]OFD Sender: No OFD packet to send [04:27:11]OFD Sender: No OFD packet to send [04:27:16]OFD Sender: No OFD packet to send [04:27:21]OFD Sender: No OFD packet to send [04:27:26]OFD Sender: No OFD packet to send [04:27:31]OFD Sender: No OFD packet to send [04:27:36]OFD Sender: No OFD packet to send [04:27:41]OFD Sender: No OFD packet to send [04:27:46]OFD Sender: No OFD packet to send [04:27:51]OFD Sender: No OFD packet to send [04:27:56]OFD Sender: No OFD packet to send [04:28:01]OFD Sender: No OFD packet to send [04:28:06]OFD Sender: No OFD packet to send [04:28:11]OFD Sender: No OFD packet to send [04:28:16]OFD Sender: No OFD packet to send [04:28:21]OFD Sender: No OFD packet to send [04:28:26]OFD Sender: No OFD packet to send [04:28:31]OFD Sender: No OFD packet to send [04:28:36]OFD Sender: No OFD packet to send [04:28:41]OFD Sender: No OFD packet to send [04:28:46]OFD Sender: No OFD packet to send [04:28:51]OFD Sender: No OFD packet to send [04:28:56]OFD Sender: No OFD packet to send [04:29:01]OFD Sender: No OFD packet to send [04:29:06]OFD Sender: No OFD packet to send [04:29:11]OFD Sender: No OFD packet to send [04:29:16]OFD Sender: No OFD packet to send [04:29:21]OFD Sender: No OFD packet to send [04:29:26]OFD Sender: No OFD packet to send [04:29:31]OFD Sender: No OFD packet to send [04:29:36]OFD Sender: No OFD packet to send [04:29:41]OFD Sender: No OFD packet to send [04:29:46]OFD Sender: No OFD packet to send [04:29:51]OFD Sender: No OFD packet to send [04:29:56]OFD Sender: No OFD packet to send [04:30:01]OFD Sender: No OFD packet to send [04:30:06]OFD Sender: No OFD packet to send [04:30:11]OFD Sender: No OFD packet to send [04:30:16]OFD Sender: No OFD packet to send [04:30:21]OFD Sender: No OFD packet to send [04:30:26]OFD Sender: No OFD packet to send [04:30:31]OFD Sender: No OFD packet to send [04:30:36]OFD Sender: No OFD packet to send [04:30:42]OFD Sender: No OFD packet to send [04:30:47]OFD Sender: No OFD packet to send [04:30:52]OFD Sender: No OFD packet to send [04:30:57]OFD Sender: No OFD packet to send [04:31:02]OFD Sender: No OFD packet to send [04:31:07]OFD Sender: No OFD packet to send [04:31:12]OFD Sender: No OFD packet to send [04:31:17]OFD Sender: No OFD packet to send [04:31:22]OFD Sender: No OFD packet to send [04:31:27]OFD Sender: No OFD packet to send [04:31:32]OFD Sender: No OFD packet to send [04:31:37]OFD Sender: No OFD packet to send [04:31:42]OFD Sender: No OFD packet to send [04:31:47]OFD Sender: No OFD packet to send [04:31:52]OFD Sender: No OFD packet to send [04:31:57]OFD Sender: No OFD packet to send [04:32:02]OFD Sender: No OFD packet to send [04:32:07]OFD Sender: No OFD packet to send [04:32:12]OFD Sender: No OFD packet to send [04:32:17]OFD Sender: No OFD packet to send [04:32:22]OFD Sender: No OFD packet to send [04:32:27]OFD Sender: No OFD packet to send [04:32:32]OFD Sender: No OFD packet to send [04:32:37]OFD Sender: No OFD packet to send [04:32:42]OFD Sender: No OFD packet to send [04:32:47]OFD Sender: No OFD packet to send [04:32:52]OFD Sender: No OFD packet to send [04:32:57]OFD Sender: No OFD packet to send [04:33:02]OFD Sender: No OFD packet to send [04:33:07]OFD Sender: No OFD packet to send [04:33:12]OFD Sender: No OFD packet to send [04:33:17]OFD Sender: No OFD packet to send [04:33:22]OFD Sender: No OFD packet to send [04:33:27]OFD Sender: No OFD packet to send [04:33:32]OFD Sender: No OFD packet to send [04:33:37]OFD Sender: No OFD packet to send [04:33:42]OFD Sender: No OFD packet to send [04:33:47]OFD Sender: No OFD packet to send [04:33:52]OFD Sender: No OFD packet to send [04:33:57]OFD Sender: No OFD packet to send [04:34:02]OFD Sender: No OFD packet to send [04:34:07]OFD Sender: No OFD packet to send [04:34:12]OFD Sender: No OFD packet to send [04:34:17]OFD Sender: No OFD packet to send [04:34:22]OFD Sender: No OFD packet to send [04:34:27]OFD Sender: No OFD packet to send [04:34:32]OFD Sender: No OFD packet to send [04:34:37]OFD Sender: No OFD packet to send [04:34:42]OFD Sender: No OFD packet to send [04:34:47]OFD Sender: No OFD packet to send [04:34:52]OFD Sender: No OFD packet to send [04:34:57]OFD Sender: No OFD packet to send [04:35:02]OFD Sender: No OFD packet to send [04:35:07]OFD Sender: No OFD packet to send [04:35:12]OFD Sender: No OFD packet to send [04:35:17]OFD Sender: No OFD packet to send [04:35:22]OFD Sender: No OFD packet to send [04:35:27]OFD Sender: No OFD packet to send [04:35:32]OFD Sender: No OFD packet to send [04:35:37]OFD Sender: No OFD packet to send [04:35:42]OFD Sender: No OFD packet to send [04:35:47]OFD Sender: No OFD packet to send [04:35:52]OFD Sender: No OFD packet to send [04:35:57]OFD Sender: No OFD packet to send [04:36:02]OFD Sender: No OFD packet to send [04:36:07]OFD Sender: No OFD packet to send [04:36:12]OFD Sender: No OFD packet to send [04:36:17]OFD Sender: No OFD packet to send [04:36:22]OFD Sender: No OFD packet to send [04:36:27]OFD Sender: No OFD packet to send [04:36:32]OFD Sender: No OFD packet to send [04:36:37]OFD Sender: No OFD packet to send [04:36:42]OFD Sender: No OFD packet to send [04:36:47]OFD Sender: No OFD packet to send [04:36:52]OFD Sender: No OFD packet to send [04:36:57]OFD Sender: No OFD packet to send [04:37:02]OFD Sender: No OFD packet to send [04:37:07]OFD Sender: No OFD packet to send [04:37:12]OFD Sender: No OFD packet to send [04:37:17]OFD Sender: No OFD packet to send [04:37:22]OFD Sender: No OFD packet to send [04:37:27]OFD Sender: No OFD packet to send [04:37:32]OFD Sender: No OFD packet to send [04:37:37]OFD Sender: No OFD packet to send [04:37:42]OFD Sender: No OFD packet to send [04:37:47]OFD Sender: No OFD packet to send [04:37:52]OFD Sender: No OFD packet to send [04:37:57]OFD Sender: No OFD packet to send [04:38:02]OFD Sender: No OFD packet to send [04:38:07]OFD Sender: No OFD packet to send [04:38:12]OFD Sender: No OFD packet to send [04:38:17]OFD Sender: No OFD packet to send [04:38:22]OFD Sender: No OFD packet to send [04:38:27]OFD Sender: No OFD packet to send [04:38:32]OFD Sender: No OFD packet to send [04:38:37]OFD Sender: No OFD packet to send [04:38:42]OFD Sender: No OFD packet to send [04:38:47]OFD Sender: No OFD packet to send [04:38:52]OFD Sender: No OFD packet to send [04:38:57]OFD Sender: No OFD packet to send [04:39:02]OFD Sender: No OFD packet to send [04:39:07]OFD Sender: No OFD packet to send [04:39:12]OFD Sender: No OFD packet to send [04:39:17]OFD Sender: No OFD packet to send [04:39:22]OFD Sender: No OFD packet to send [04:39:27]OFD Sender: No OFD packet to send [04:39:32]OFD Sender: No OFD packet to send [04:39:37]OFD Sender: No OFD packet to send [04:39:42]OFD Sender: No OFD packet to send [04:39:47]OFD Sender: No OFD packet to send [04:39:52]OFD Sender: No OFD packet to send [04:39:57]OFD Sender: No OFD packet to send [04:40:02]OFD Sender: No OFD packet to send [04:40:07]OFD Sender: No OFD packet to send [04:40:12]OFD Sender: No OFD packet to send [04:40:17]OFD Sender: No OFD packet to send [04:40:22]OFD Sender: No OFD packet to send [04:40:27]OFD Sender: No OFD packet to send [04:40:32]OFD Sender: No OFD packet to send [04:40:37]OFD Sender: No OFD packet to send [04:40:42]OFD Sender: No OFD packet to send [04:40:47]OFD Sender: No OFD packet to send [04:40:52]OFD Sender: No OFD packet to send [04:40:57]OFD Sender: No OFD packet to send [04:41:02]OFD Sender: No OFD packet to send [04:41:07]OFD Sender: No OFD packet to send [04:41:12]OFD Sender: No OFD packet to send [04:41:17]OFD Sender: No OFD packet to send [04:41:22]OFD Sender: No OFD packet to send [04:41:27]OFD Sender: No OFD packet to send [04:41:32]OFD Sender: No OFD packet to send [04:41:37]OFD Sender: No OFD packet to send [04:41:42]OFD Sender: No OFD packet to send [04:41:47]OFD Sender: No OFD packet to send [04:41:52]OFD Sender: No OFD packet to send [04:41:57]OFD Sender: No OFD packet to send [04:42:02]OFD Sender: No OFD packet to send [04:42:07]OFD Sender: No OFD packet to send [04:42:12]OFD Sender: No OFD packet to send [04:42:17]OFD Sender: No OFD packet to send [04:42:22]OFD Sender: No OFD packet to send [04:42:27]OFD Sender: No OFD packet to send [04:42:32]OFD Sender: No OFD packet to send [04:42:37]OFD Sender: No OFD packet to send [04:42:42]OFD Sender: No OFD packet to send [04:42:47]OFD Sender: No OFD packet to send [04:42:52]OFD Sender: No OFD packet to send [04:42:57]OFD Sender: No OFD packet to send [04:43:02]OFD Sender: No OFD packet to send [04:43:07]OFD Sender: No OFD packet to send [04:43:12]OFD Sender: No OFD packet to send [04:43:17]OFD Sender: No OFD packet to send [04:43:22]OFD Sender: No OFD packet to send [04:43:27]OFD Sender: No OFD packet to send [04:43:32]OFD Sender: No OFD packet to send [04:43:37]OFD Sender: No OFD packet to send [04:43:42]OFD Sender: No OFD packet to send [04:43:47]OFD Sender: No OFD packet to send [04:43:52]OFD Sender: No OFD packet to send [04:43:57]OFD Sender: No OFD packet to send [04:44:02]OFD Sender: No OFD packet to send [04:44:07]OFD Sender: No OFD packet to send [04:44:12]OFD Sender: No OFD packet to send [04:44:17]OFD Sender: No OFD packet to send [04:44:22]OFD Sender: No OFD packet to send [04:44:27]OFD Sender: No OFD packet to send [04:44:32]OFD Sender: No OFD packet to send [04:44:37]OFD Sender: No OFD packet to send [04:44:42]OFD Sender: No OFD packet to send [04:44:47]OFD Sender: No OFD packet to send [04:44:52]OFD Sender: No OFD packet to send [04:44:57]OFD Sender: No OFD packet to send [04:45:02]OFD Sender: No OFD packet to send [04:45:07]OFD Sender: No OFD packet to send [04:45:12]OFD Sender: No OFD packet to send [04:45:17]OFD Sender: No OFD packet to send [04:45:22]OFD Sender: No OFD packet to send [04:45:27]OFD Sender: No OFD packet to send [04:45:32]OFD Sender: No OFD packet to send [04:45:37]OFD Sender: No OFD packet to send [04:45:42]OFD Sender: No OFD packet to send [04:45:47]OFD Sender: No OFD packet to send [04:45:52]OFD Sender: No OFD packet to send [04:45:57]OFD Sender: No OFD packet to send [04:46:02]OFD Sender: No OFD packet to send [04:46:07]OFD Sender: No OFD packet to send [04:46:12]OFD Sender: No OFD packet to send [04:46:17]OFD Sender: No OFD packet to send [04:46:22]OFD Sender: No OFD packet to send [04:46:27]OFD Sender: No OFD packet to send [04:46:32]OFD Sender: No OFD packet to send [04:46:37]OFD Sender: No OFD packet to send [04:46:42]OFD Sender: No OFD packet to send [04:46:47]OFD Sender: No OFD packet to send [04:46:52]OFD Sender: No OFD packet to send [04:46:57]OFD Sender: No OFD packet to send [04:47:02]OFD Sender: No OFD packet to send [04:47:07]OFD Sender: No OFD packet to send [04:47:12]OFD Sender: No OFD packet to send [04:47:17]OFD Sender: No OFD packet to send [04:47:22]OFD Sender: No OFD packet to send [04:47:27]OFD Sender: No OFD packet to send [04:47:32]OFD Sender: No OFD packet to send [04:47:37]OFD Sender: No OFD packet to send [04:47:42]OFD Sender: No OFD packet to send [04:47:47]OFD Sender: No OFD packet to send [04:47:52]OFD Sender: No OFD packet to send [04:47:57]OFD Sender: No OFD packet to send [04:48:02]OFD Sender: No OFD packet to send [04:48:07]OFD Sender: No OFD packet to send [04:48:12]OFD Sender: No OFD packet to send [04:48:17]OFD Sender: No OFD packet to send [04:48:22]OFD Sender: No OFD packet to send [04:48:27]OFD Sender: No OFD packet to send [04:48:32]OFD Sender: No OFD packet to send [04:48:37]OFD Sender: No OFD packet to send [04:48:42]OFD Sender: No OFD packet to send [04:48:47]OFD Sender: No OFD packet to send [04:48:52]OFD Sender: No OFD packet to send [04:48:57]OFD Sender: No OFD packet to send [04:49:02]OFD Sender: No OFD packet to send [04:49:07]OFD Sender: No OFD packet to send [04:49:12]OFD Sender: No OFD packet to send [04:49:17]OFD Sender: No OFD packet to send [04:49:22]OFD Sender: No OFD packet to send [04:49:27]OFD Sender: No OFD packet to send [04:49:32]OFD Sender: No OFD packet to send [04:49:37]OFD Sender: No OFD packet to send [04:49:42]OFD Sender: No OFD packet to send [04:49:47]OFD Sender: No OFD packet to send [04:49:52]OFD Sender: No OFD packet to send [04:49:57]OFD Sender: No OFD packet to send [04:50:02]OFD Sender: No OFD packet to send [04:50:07]OFD Sender: No OFD packet to send [04:50:12]OFD Sender: No OFD packet to send [04:50:17]OFD Sender: No OFD packet to send [04:50:23]OFD Sender: No OFD packet to send [04:50:28]OFD Sender: No OFD packet to send [04:50:33]OFD Sender: No OFD packet to send [04:50:38]OFD Sender: No OFD packet to send [04:50:43]OFD Sender: No OFD packet to send [04:50:48]OFD Sender: No OFD packet to send [04:50:53]OFD Sender: No OFD packet to send [04:50:58]OFD Sender: No OFD packet to send [04:51:03]OFD Sender: No OFD packet to send [04:51:08]OFD Sender: No OFD packet to send [04:51:13]OFD Sender: No OFD packet to send [04:51:18]OFD Sender: No OFD packet to send [04:51:23]OFD Sender: No OFD packet to send [04:51:28]OFD Sender: No OFD packet to send [04:51:33]OFD Sender: No OFD packet to send [04:51:38]OFD Sender: No OFD packet to send [04:51:43]OFD Sender: No OFD packet to send [04:51:48]OFD Sender: No OFD packet to send [04:51:53]OFD Sender: No OFD packet to send [04:51:58]OFD Sender: No OFD packet to send [04:52:03]OFD Sender: No OFD packet to send [04:52:07]accept exits with 8 [04:52:07]New connection [04:52:07]New thread 3067518308 created [04:52:07]Thread 3067374948 joined [04:52:07]Waiting for new connection... [04:52:07] Sock 8.Parse request [04:52:07]Sock 8.Check first char [04:52:07]Sock 8.First char is OK [04:52:07]request: POST /json_proto HTTP/1.0 [04:52:07]Method: POST [04:52:07]URL: /json_proto [04:52:07]Method is POST - this is cgi request [04:52:07]url: /json_proto [04:52:07]query_string will be loaded in cgi processing [04:52:07]execute_cgi json_proto POST (null) [04:52:07]execute_cgi path=json_proto method=POST [04:52:07]POST find Content-Length [04:52:07]Host: 172.17.42.3:8080 [04:52:07]Content-Length: 681 [04:52:07]Content-Type: application/json [04:52:07] [04:52:07]POST finish read [04:52:07]Found Content-Length = 681 [04:52:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46197", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 29.900, "sum" : 2000.31, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:52:07]execute_script... [04:52: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 : (1)46197", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 29.900, "sum" : 2000.31, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:52:07]POST & json_proto [04:52:07]process_json_proto [04:52:07]json parsed OK: [04:52:07]protocol is kg_v1.0 [04:52:07]action value=close_receipt [04:52:07]process_action close_receipt [04:52:07]cmd_close_receipt [04:52:07]MH_GetDate [04:52:07]Write to MH i2c: F0 00 00 EF 04 E2 [04:52:07]Write i2c OK [04:52:07]MH_I2C_Read... [04:52:07]Read from MH i2c: F0 [04:52:07]MH_I2C_Read... [04:52:07]Read from MH i2c: F0 09 00 [04:52:07]MH_I2C_Read... [04:52:07]Read from MH i2c: F0 09 00 EF 04 00 77 18 1F 67 EA E5 1E 67 54 [04:52:07]GetLastDocTimeStamp 1730089329 [04:52:07]current date 1730091127 [04:52:07]FM_GetShiftState [04:52:07]SAM_PROTO_GetShiftState [04:52:07]wFMCommunicate request_size=4 [04:52:07]MH_SAM_APDU [04:52:07]CAPDU: 80 13 01 00 [04:52:07]Write to MH i2c: E2 08 00 F0 04 80 13 01 00 00 00 00 00 71 [04:52:07]Write i2c OK [04:52:07]MH_I2C_Read... [04:52:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:52:07]Read from MH i2c: E2 [04:52:07]MH_I2C_Read... [04:52:07]Read from MH i2c: E2 0E 00 [04:52:07]MH_I2C_Read... [04:52:07]Read from MH i2c: E2 0E 00 F0 04 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 6C [04:52:07]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [04:52:07]wFMCommunicate OK [04:52:07]SAM_PROTO_GetShiftState done [04:52:07]FM_GetShiftState done [04:52:07]opened in 1730074770 [04:52:07]opened+sec_in_day 1730161170 [04:52:07]quantity*price = 200031 [04:52:07]sum+1 = 200032 [04:52:07]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.31 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.70 НДС 12% : 212.42 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 19 28.10.2024 04:52 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68114 ФПД: 223525011427365 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T045207&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68114&fm=223525011427365&tin=02508201610067®Number=0000000000091759&sum=200000 [04:52:08]StoreToDocumentArchive [04:52:08]shift 547 fd 68114 [04:52:08]save to /storage/0547/doc_00068114 [04:52:08]save last doc name /storage/0547/doc_00068114 to /storage/kkm_last_doc_name [04:52:08]save OK [04:52:08]Clear old archive folders... [04:52:08]ProcessDocumentItem done err = 0, tmpTLVsize=251 [04:52:08]tlvbuf is 008A1C40 [04:52:08]SAM_PROTO_ClearQueue [04:52:08]wFMCommunicate request_size=4 [04:52:08]MH_SAM_APDU [04:52:08]CAPDU: 80 09 00 00 [04:52:08]Write to MH i2c: E2 08 00 FD 04 80 09 00 00 00 00 00 00 73 [04:52:08]Write i2c OK [04:52:08]MH_I2C_Read... [04:52:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:52:08]Read from MH i2c: E2 [04:52:08]MH_I2C_Read... [04:52:08]Read from MH i2c: E2 03 00 [04:52:08]MH_I2C_Read... [04:52:08]Read from MH i2c: E2 03 00 FD 04 00 90 00 75 [04:52:08]RAPDU: 90 00 [04:52:08]wFMCommunicate OK [04:52:08]SAM_PROTO_ClearQueue done [04:52:08]KKMCreateOFDPacket [04:52:08]OFDProtocolAddRootSTLVToBuf [04:52:08]FM_MakeSignedData [04:52:08]FM_MakeSignedData [04:52:08]SAM_PROTO_SignData [04:52:08]wFMCommunicate request_size=4 [04:52:08]MH_SAM_APDU [04:52:08]CAPDU: 80 0D 01 02 [04:52:08]Write to MH i2c: E2 08 00 FE 04 80 0D 01 02 00 00 00 00 7B [04:52:08]Write i2c OK [04:52:08]MH_I2C_Read... [04:52:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:52:08]Read from MH i2c: E2 [04:52:08]MH_I2C_Read... [04:52:08]Read from MH i2c: E2 03 00 [04:52:08]MH_I2C_Read... [04:52:08]Read from MH i2c: E2 03 00 FE 04 00 90 00 76 [04:52:08]RAPDU: 90 00 [04:52:08]wFMCommunicate OK [04:52:08]wFMCommunicate request_size=255 [04:52:08]MH_SAM_APDU [04:52:08]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CC 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 5F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 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 77 18 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 12 0A 01 00 35 04 06 00 CB [04:52:08]Write to MH i2c: E2 02 01 FF 04 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CC 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 5F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 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 77 18 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 12 0A 01 00 35 04 06 00 CB 00 00 8B [04:52:08]Write i2c OK [04:52:08]MH_I2C_Read... [04:52:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:52:08]Read from MH i2c: E2 [04:52:08]MH_I2C_Read... [04:52:08]Read from MH i2c: E2 03 00 [04:52:08]MH_I2C_Read... [04:52:08]Read from MH i2c: E2 03 00 FF 04 00 90 00 77 [04:52:08]RAPDU: 90 00 [04:52:08]wFMCommunicate OK [04:52:08]wFMCommunicate request_size=10 [04:52:08]MH_SAM_APDU [04:52:08]CAPDU: 80 0D 02 02 05 4B 78 E7 90 25 [04:52:08]Write to MH i2c: E2 0D 00 00 05 80 0D 02 02 05 00 4B 78 E7 90 25 00 00 E8 [04:52:08]Write i2c OK [04:52:08]MH_I2C_Read... [04:52:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:52:08]Read from MH i2c: E2 [04:52:08]MH_I2C_Read... [04:52:08]Read from MH i2c: E2 03 00 [04:52:08]MH_I2C_Read... [04:52:08]Read from MH i2c: E2 03 00 00 05 00 90 00 79 [04:52:08]RAPDU: 90 00 [04:52:08]wFMCommunicate OK [04:52:08]wFMCommunicate request_size=4 [04:52:08]MH_SAM_APDU [04:52:08]CAPDU: 80 0D 03 02 [04:52:08]Write to MH i2c: E2 08 00 01 05 80 0D 03 02 00 00 00 00 81 [04:52:08]Write i2c OK [04:52:08]MH_I2C_Read... [04:52:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:52:08]Read from MH i2c: E2 [04:52:08]MH_I2C_Read... [04:52:08]Read from MH i2c: E2 0B 00 [04:52:08]MH_I2C_Read... [04:52:08]Read from MH i2c: E2 0B 00 01 05 00 33 22 79 D7 6F EB B7 79 90 00 B1 [04:52:08]RAPDU: 33 22 79 D7 6F EB B7 79 90 00 [04:52:08]wFMCommunicate OK [04:52:08]SAM_PROTO_SignData done [04:52:08]FM_MakeSignedData done [04:52:08]CreateOFDProtocolMessage [04:52:08]wFMCommunicate request_size=4 [04:52:08]MH_SAM_APDU [04:52:08]CAPDU: 80 11 00 00 [04:52:08]Write to MH i2c: E2 08 00 02 05 80 11 00 00 00 00 00 00 81 [04:52:08]Write i2c OK [04:52:08]MH_I2C_Read... [04:52:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:52:08]Read from MH i2c: E2 [04:52:08]MH_I2C_Read... [04:52:08]Read from MH i2c: E2 17 00 [04:52:08]MH_I2C_Read... [04:52:08]Read from MH i2c: E2 17 00 02 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 D8 [04:52:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [04:52:08]wFMCommunicate OK [04:52:08]CreateOFDProtocolMessage done [04:52:08]OFDSenderStorePacket 68114 [04:52:08]StoreOFDPacket docnum=68114 [04:52:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 12 8A 07 01 2B 79 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CC 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 5F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 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 77 18 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 12 0A 01 00 35 04 06 00 CB 4B 78 E7 90 25 33 22 79 D7 6F EB B7 79 [04:52:08]CheckFolder [04:52:08]dirname=/storage/ofd_packets [04:52:08]CheckFolder done [04:52:08]ProducePacketName [04:52:08]name=ofd_packets/00068114 [04:52:08]NVStorageSaveData ofd_packets/00068114 [04:52:08]File name is /storage/ofd_packets/00068114 [04:52:08]Write 301 bytes [04:52:08]NVStorageSaveData done [04:52:08]OFDSenderStorePacket done [04:52:08]KKMCreateOFDPacket done [04:52:08]NVStorageSaveData kkm_last_timestamp [04:52:08]File name is /storage/kkm_last_timestamp [04:52:08]Write 4 bytes [04:52:08]NVStorageSaveData done [04:52:08]ExternCall_PrintAddStr [04:52:08]wPrintStart [04:52:08]Write to MH i2c: 01 00 00 03 05 08 [04:52:08]Write i2c OK [04:52:08]MH_I2C_Read... [04:52:08]Read from MH i2c: 01 [04:52:08]MH_I2C_Read... [04:52:08]Read from MH i2c: 01 07 00 [04:52:08]MH_I2C_Read... [04:52:08]Read from MH i2c: 01 07 00 03 05 00 00 00 00 00 FF 0F 1D [04:52:08]RasterBufferAndPrint [04:52:08]line Счет N : (1)46197 [04:52:08]line ИНН: 02508201610067 [04:52:08]line Контрольно-Кассовый Чек [04:52:08]line ПРОДАЖА [04:52:08]line ТРК (МРК, ГНК) : 23 [04:52:08]line Товар: 2710124130 [04:52:08]line Аи-92-К-5 [04:52:08]line 29.900 * 66.90 [04:52:08]line = 2000.31 [04:52:08]line НДС 12% НСП 1% [04:52:08]line > о реализуемом товаре [04:52:08]line ОКРУГЛЕНИЕ: -0.31 [04:52:08]line ИТОГО: 2000.00 [04:52:08]line Внесено: 2000.00 [04:52:08]line СДАЧА: 0.00 [04:52:08]line НСП 1% : 17.70 [04:52:08]line НДС 12% : 212.42 [04:52:08]line Наличными: 2000.00 [04:52:08]line Безнал.: 0.00 [04:52:08]line Место: АЗС № 160 "Партнер Нефть" [04:52:08]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [04:52:08]line СНО: Общий режим [04:52:08]line Чек 19 28.10.2024 04:52 [04:52:08]line Смена: 547 ФФД: 1.0 [04:52:08]line ЗНМ: 0300000093 [04:52:08]line РНМ: 0000000000091759 [04:52:08]line Версия ККМ: 001 [04:52:08]line ФМ: 0000000000871758 [04:52:08]line ФД: 68114 [04:52:08]line ФПД: 223525011427365 [04:52:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T045207&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68114&fm=223525011427365&tin=02508201610067®Number=0000000000091759&sum=200000 [04:52:08]written 0, free lines is 4095 [04:52:08]OFD Sender: Processing packet 68114 [packets to send 27, broken 26] [04:52:08]ProducePacketName [04:52:08]name=ofd_packets/00068114 [04:52:09]OFD Sender: To server: pG, [04:52:09]CommunicateWithHost lk.salyk.kg:30040 [04:52:09]ConnectInit lk.salyk.kg [04:52:09]Connected sock=10 [04:52:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 12 8A 07 01 2B 79 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CC 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 5F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 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 77 18 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 12 0A 01 00 35 04 06 00 CB 4B 78 E7 90 25 33 22 79 D7 6F EB B7 79 [04:52:09]Write to MH i2c: 01 00 00 2D 05 32 [04:52:09]Write i2c OK [04:52:09]MH_I2C_Read... [04:52:09]Read from MH i2c: 01 [04:52:09]MH_I2C_Read... [04:52:09]Read from MH i2c: 01 07 00 [04:52:09]MH_I2C_Read... [04:52:09]Read from MH i2c: 01 07 00 2D 05 00 00 00 00 00 BA 0C FF [04:52:09]RasterBufferAndPrint [04:52:09]line [04:52:09]line [04:52:09]line [04:52:09]line [04:52:09]line [04:52:09]written 0, free lines is 3266 [04:52:09]MH_Cut [04:52:09]Write to MH i2c: D1 01 00 34 05 01 0B [04:52:09]Write i2c OK [04:52:09]MH_I2C_Read... [04:52:09]Read from MH i2c: D1 [04:52:09]MH_I2C_Read... [04:52:09]Read from MH i2c: D1 01 00 [04:52:09]MH_I2C_Read... [04:52:09]Read from MH i2c: D1 01 00 34 05 00 0A [04:52:09]Write to MH i2c: 01 00 00 35 05 3A [04:52:09]Write i2c OK [04:52:09]MH_I2C_Read... [04:52:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 A4 77 47 00 66 D1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 12 0A 01 00 F4 03 04 00 32 C4 1E 67 B6 04 01 00 00 45 41 6E 58 63 27 D0 23 [04:52:09]CommunicateWithHost err = 0 [04:52:09]CheckOFDResponse [04:52:09]1017 (14) - 77093643461234 [04:52:09]1041 (16) - 0000000000871758 [04:52:09]1040 (4) - 68114 [04:52:09]1012 (4) - 27.10.2024 22:52 [04:52:09]1206 (1) - 0 [04:52:09]OFD Sender: Remove packet 68114 [04:52:09]ProducePacketName [04:52:09]name=ofd_packets/00068114 [04:52:09]NVStorageDeleteData [04:52:09]OFD Sender: No OFD packet to send [04:52:10]*** Cut start [04:52:10]*** Partial cut [04:52:10]*** CUTSNS_PIN = 1 [04:52:10]*** CUTSNS_PIN = 0 [04:52:10]*** Brake cut motor [04:52:10]Read from MH i2c: 01 [04:52:10]MH_I2C_Read... [04:52:10]*** Stop cut motor [04:52:10]*** Cut end [04:52:10]Read from MH i2c: 01 07 00 [04:52:10]MH_I2C_Read... [04:52:10]Read from MH i2c: 01 07 00 35 05 00 00 00 00 00 FF 0F 4F [04:52:10]process_action close_receipt done [04:52:10]requested_data is exist [04:52:10]produce_requested_data [04:52:10]requested_item fm.sn is exist - process it [04:52:10]wFMCommunicate request_size=4 [04:52:10]MH_SAM_APDU [04:52:10]CAPDU: 80 11 00 00 [04:52:10]Write to MH i2c: E2 08 00 36 05 80 11 00 00 00 00 00 00 B5 [04:52:10]Write i2c OK [04:52:10]MH_I2C_Read... [04:52:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:52:10]Read from MH i2c: E2 [04:52:10]MH_I2C_Read... [04:52:10]Read from MH i2c: E2 17 00 [04:52:10]MH_I2C_Read... [04:52:10]Read from MH i2c: E2 17 00 36 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 0C [04:52:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [04:52:10]wFMCommunicate OK [04:52:10]requested_item fd.num is exist - process it [04:52:10]SAM_PROTO_GetFieldsCounters [04:52:10]wFMCommunicate request_size=4 [04:52:10]MH_SAM_APDU [04:52:10]CAPDU: 80 13 00 00 [04:52:10]Write to MH i2c: E2 08 00 37 05 80 13 00 00 00 00 00 00 B8 [04:52:10]Write i2c OK [04:52:10]MH_I2C_Read... [04:52:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:52:10]Read from MH i2c: E2 [04:52:10]MH_I2C_Read... [04:52:10]Read from MH i2c: E2 62 00 [04:52:10]MH_I2C_Read... [04:52:10]Read from MH i2c: E2 62 00 37 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 12 0A 01 00 0E 04 04 00 23 02 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 5E [04:52:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 12 0A 01 00 0E 04 04 00 23 02 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 [04:52:10]wFMCommunicate OK [04:52:10]SAM_PROTO_GetFieldsCounters done [04:52:10]requested_item shift.num is exist - process it [04:52:10]requested_item shift.opened is exist - process it [04:52:10]req_shift_opened [04:52:10]FM_GetShiftState [04:52:10]SAM_PROTO_GetShiftState [04:52:10]wFMCommunicate request_size=4 [04:52:10]MH_SAM_APDU [04:52:10]CAPDU: 80 13 01 00 [04:52:10]Write to MH i2c: E2 08 00 38 05 80 13 01 00 00 00 00 00 BA [04:52:10]Write i2c OK [04:52:10]MH_I2C_Read... [04:52:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:52:10]Read from MH i2c: E2 [04:52:10]MH_I2C_Read... [04:52:10]Read from MH i2c: E2 0E 00 [04:52:10]MH_I2C_Read... [04:52:10]Read from MH i2c: E2 0E 00 38 05 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 B5 [04:52:10]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [04:52:10]wFMCommunicate OK [04:52:10]SAM_PROTO_GetShiftState done [04:52:10]FM_GetShiftState done [04:52:10]req_shift_opened done [04:52:10]requested_item shift.open_date is exist - process it [04:52:10]req_shift_open_date [04:52:10]req_shift_open_date done [04:52:10]produce_requested_data done [04:52:10]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68114,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [04:52:10]process_action_free close_receipt [04:52:10]json_value_free [04:52:10]json_value_free done [04:52:10]process_json_proto returns [04:52:10]Send response to host [04:52:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68114,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [04:52:10]free response buf [04:52:10]execute_script done [04:52:10]execute_script returns [04:52:10]free content buf [04:52:10]Sock 8.Close socket [04:52:10]Sock 8.Thread stoped [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:10]OFD Sender: No OFD packet to send [04:53:15]OFD Sender: No OFD packet to send [04:53:20]OFD Sender: No OFD packet to send [04:53:25]OFD Sender: No OFD packet to send [04:53:30]OFD Sender: No OFD packet to send [04:53:35]OFD Sender: No OFD packet to send [04:53:40]OFD Sender: No OFD packet to send [04:53:45]OFD Sender: No OFD packet to send [04:53:50]OFD Sender: No OFD packet to send [04:53:55]OFD Sender: No OFD packet to send [04:54:00]OFD Sender: No OFD packet to send [04:54:05]OFD Sender: No OFD packet to send [04:54:10]OFD Sender: No OFD packet to send [04:54:15]OFD Sender: No OFD packet to send [04:54:20]OFD Sender: No OFD packet to send [04:54:25]OFD Sender: No OFD packet to send [04:54:30]OFD Sender: No OFD packet to send [04:54:35]OFD Sender: No OFD packet to send [04:54:40]OFD Sender: No OFD packet to send [04:54:45]OFD Sender: No OFD packet to send [04:54:50]OFD Sender: No OFD packet to send [04:54:55]OFD Sender: No OFD packet to send [04:55:00]OFD Sender: No OFD packet to send [04:55:05]OFD Sender: No OFD packet to send [04:55:10]OFD Sender: No OFD packet to send [04:55:15]OFD Sender: No OFD packet to send [04:55:20]OFD Sender: No OFD packet to send [04:55:25]OFD Sender: No OFD packet to send [04:55:30]OFD Sender: No OFD packet to send [04:55:35]OFD Sender: No OFD packet to send [04:55:40]OFD Sender: No OFD packet to send [04:55:45]OFD Sender: No OFD packet to send [04:55:50]OFD Sender: No OFD packet to send [04:55:55]OFD Sender: No OFD packet to send [04:56:00]OFD Sender: No OFD packet to send [04:56:05]OFD Sender: No OFD packet to send [04:56:10]OFD Sender: No OFD packet to send [04:56:15]OFD Sender: No OFD packet to send [04:56:20]OFD Sender: No OFD packet to send [04:56:25]OFD Sender: No OFD packet to send [04:56:30]OFD Sender: No OFD packet to send [04:56:35]OFD Sender: No OFD packet to send [04:56:40]OFD Sender: No OFD packet to send [04:56:45]OFD Sender: No OFD packet to send [04:56:50]OFD Sender: No OFD packet to send [04:56:55]OFD Sender: No OFD packet to send [04:57:00]OFD Sender: No OFD packet to send [04:57:05]OFD Sender: No OFD packet to send [04:57:10]OFD Sender: No OFD packet to send [04:57:15]OFD Sender: No OFD packet to send [04:57:20]OFD Sender: No OFD packet to send [04:57:25]OFD Sender: No OFD packet to send [04:57:30]OFD Sender: No OFD packet to send [04:57:35]OFD Sender: No OFD packet to send [04:57:40]OFD Sender: No OFD packet to send [04:57:45]OFD Sender: No OFD packet to send [04:57:50]OFD Sender: No OFD packet to send [04:57:55]OFD Sender: No OFD packet to send [04:58:00]OFD Sender: No OFD packet to send [04:58:05]OFD Sender: No OFD packet to send [04:58:10]OFD Sender: No OFD packet to send [04:58:15]OFD Sender: No OFD packet to send [04:58:20]OFD Sender: No OFD packet to send [04:58:25]OFD Sender: No OFD packet to send [04:58:30]OFD Sender: No OFD packet to send [04:58:35]OFD Sender: No OFD packet to send [04:58:40]OFD Sender: No OFD packet to send [04:58:45]OFD Sender: No OFD packet to send [04:58:50]OFD Sender: No OFD packet to send [04:58:55]OFD Sender: No OFD packet to send [04:59:00]OFD Sender: No OFD packet to send [04:59:05]OFD Sender: No OFD packet to send [04:59:10]OFD Sender: No OFD packet to send [04:59:15]OFD Sender: No OFD packet to send [04:59:20]OFD Sender: No OFD packet to send [04:59:25]OFD Sender: No OFD packet to send [04:59:30]OFD Sender: No OFD packet to send [04:59:35]OFD Sender: No OFD packet to send [04:59:40]OFD Sender: No OFD packet to send [04:59:45]OFD Sender: No OFD packet to send [04:59:50]OFD Sender: No OFD packet to send [04:59:55]OFD Sender: No OFD packet to send [05:00:00]OFD Sender: No OFD packet to send [05:00:05]OFD Sender: No OFD packet to send [05:00:10]OFD Sender: No OFD packet to send [05:00:15]OFD Sender: No OFD packet to send [05:00:20]OFD Sender: No OFD packet to send [05:00:25]OFD Sender: No OFD packet to send [05:00:30]OFD Sender: No OFD packet to send [05:00:35]OFD Sender: No OFD packet to send [05:00:40]OFD Sender: No OFD packet to send [05:00:45]OFD Sender: No OFD packet to send [05:00:50]OFD Sender: No OFD packet to send [05:00:55]OFD Sender: No OFD packet to send [05:01:00]OFD Sender: No OFD packet to send [05:01:05]OFD Sender: No OFD packet to send [05:01:10]OFD Sender: No OFD packet to send [05:01:15]OFD Sender: No OFD packet to send [05:01:20]OFD Sender: No OFD packet to send [05:01:25]OFD Sender: No OFD packet to send [05:01:30]OFD Sender: No OFD packet to send [05:01:35]OFD Sender: No OFD packet to send [05:01:40]OFD Sender: No OFD packet to send [05:01:45]OFD Sender: No OFD packet to send [05:01:50]OFD Sender: No OFD packet to send [05:01:55]OFD Sender: No OFD packet to send [05:02:00]OFD Sender: No OFD packet to send [05:02:05]OFD Sender: No OFD packet to send [05:02:10]OFD Sender: No OFD packet to send [05:02:15]OFD Sender: No OFD packet to send [05:02:20]OFD Sender: No OFD packet to send [05:02:25]OFD Sender: No OFD packet to send [05:02:30]OFD Sender: No OFD packet to send [05:02:35]OFD Sender: No OFD packet to send [05:02:40]OFD Sender: No OFD packet to send [05:02:45]OFD Sender: No OFD packet to send [05:02:50]OFD Sender: No OFD packet to send [05:02:55]OFD Sender: No OFD packet to send [05:03:00]OFD Sender: No OFD packet to send [05:03:05]OFD Sender: No OFD packet to send [05:03:10]OFD Sender: No OFD packet to send [05:03:15]OFD Sender: No OFD packet to send [05:03:20]OFD Sender: No OFD packet to send [05:03:25]OFD Sender: No OFD packet to send [05:03:30]OFD Sender: No OFD packet to send [05:03:35]OFD Sender: No OFD packet to send [05:03:40]OFD Sender: No OFD packet to send [05:03:45]OFD Sender: No OFD packet to send [05:03:50]OFD Sender: No OFD packet to send [05:03:55]OFD Sender: No OFD packet to send [05:04:00]OFD Sender: No OFD packet to send [05:04:05]OFD Sender: No OFD packet to send [05:04:10]OFD Sender: No OFD packet to send [05:04:15]OFD Sender: No OFD packet to send [05:04:20]OFD Sender: No OFD packet to send [05:04:25]OFD Sender: No OFD packet to send [05:04:30]OFD Sender: No OFD packet to send [05:04:35]OFD Sender: No OFD packet to send [05:04:40]OFD Sender: No OFD packet to send [05:04:45]OFD Sender: No OFD packet to send [05:04:50]OFD Sender: No OFD packet to send [05:04:55]OFD Sender: No OFD packet to send [05:05:00]OFD Sender: No OFD packet to send [05:05:05]OFD Sender: No OFD packet to send [05:05:10]OFD Sender: No OFD packet to send [05:05:15]OFD Sender: No OFD packet to send [05:05:20]OFD Sender: No OFD packet to send [05:05:25]OFD Sender: No OFD packet to send [05:05:30]OFD Sender: No OFD packet to send [05:05:35]OFD Sender: No OFD packet to send [05:05:40]OFD Sender: No OFD packet to send [05:05:45]OFD Sender: No OFD packet to send [05:05:50]OFD Sender: No OFD packet to send [05:05:55]OFD Sender: No OFD packet to send [05:06:00]OFD Sender: No OFD packet to send [05:06:05]OFD Sender: No OFD packet to send [05:06:10]OFD Sender: No OFD packet to send [05:06:15]OFD Sender: No OFD packet to send [05:06:20]OFD Sender: No OFD packet to send [05:06:25]OFD Sender: No OFD packet to send [05:06:30]OFD Sender: No OFD packet to send [05:06:35]OFD Sender: No OFD packet to send [05:06:40]OFD Sender: No OFD packet to send [05:06:45]OFD Sender: No OFD packet to send [05:06:50]OFD Sender: No OFD packet to send [05:06:55]OFD Sender: No OFD packet to send [05:07:00]OFD Sender: No OFD packet to send [05:07:05]OFD Sender: No OFD packet to send [05:07:10]OFD Sender: No OFD packet to send [05:07:15]OFD Sender: No OFD packet to send [05:07:20]OFD Sender: No OFD packet to send [05:07:25]OFD Sender: No OFD packet to send [05:07:30]OFD Sender: No OFD packet to send [05:07:35]OFD Sender: No OFD packet to send [05:07:40]OFD Sender: No OFD packet to send [05:07:45]OFD Sender: No OFD packet to send [05:07:50]OFD Sender: No OFD packet to send [05:07:55]OFD Sender: No OFD packet to send [05:08:00]OFD Sender: No OFD packet to send [05:08:05]OFD Sender: No OFD packet to send [05:08:10]OFD Sender: No OFD packet to send [05:08:15]OFD Sender: No OFD packet to send [05:08:20]OFD Sender: No OFD packet to send [05:08:25]OFD Sender: No OFD packet to send [05:08:30]OFD Sender: No OFD packet to send [05:08:35]OFD Sender: No OFD packet to send [05:08:40]OFD Sender: No OFD packet to send [05:08:45]OFD Sender: No OFD packet to send [05:08:50]OFD Sender: No OFD packet to send [05:08:55]OFD Sender: No OFD packet to send [05:09:00]OFD Sender: No OFD packet to send [05:09:05]OFD Sender: No OFD packet to send [05:09:10]OFD Sender: No OFD packet to send [05:09:15]OFD Sender: No OFD packet to send [05:09:20]OFD Sender: No OFD packet to send [05:09:25]OFD Sender: No OFD packet to send [05:09:30]OFD Sender: No OFD packet to send [05:09:35]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:46]OFD Sender: No OFD packet to send [05:12:51]OFD Sender: No OFD packet to send [05:12:56]OFD Sender: No OFD packet to send [05:13:01]OFD Sender: No OFD packet to send [05:13:06]OFD Sender: No OFD packet to send [05:13:11]OFD Sender: No OFD packet to send [05:13:16]OFD Sender: No OFD packet to send [05:13:21]OFD Sender: No OFD packet to send [05:13:26]OFD Sender: No OFD packet to send [05:13:31]OFD Sender: No OFD packet to send [05:13:36]OFD Sender: No OFD packet to send [05:13:41]OFD Sender: No OFD packet to send [05:13:46]OFD Sender: No OFD packet to send [05:13:51]OFD Sender: No OFD packet to send [05:13:56]OFD Sender: No OFD packet to send [05:14:01]OFD Sender: No OFD packet to send [05:14:06]OFD Sender: No OFD packet to send [05:14:11]OFD Sender: No OFD packet to send [05:14:16]OFD Sender: No OFD packet to send [05:14:21]OFD Sender: No OFD packet to send [05:14:26]OFD Sender: No OFD packet to send [05:14:31]OFD Sender: No OFD packet to send [05:14:36]OFD Sender: No OFD packet to send [05:14:41]OFD Sender: No OFD packet to send [05:14:46]OFD Sender: No OFD packet to send [05:14:51]OFD Sender: No OFD packet to send [05:14:56]OFD Sender: No OFD packet to send [05:15:01]OFD Sender: No OFD packet to send [05:15:06]OFD Sender: No OFD packet to send [05:15:11]OFD Sender: No OFD packet to send [05:15:16]OFD Sender: No OFD packet to send [05:15:21]OFD Sender: No OFD packet to send [05:15:26]OFD Sender: No OFD packet to send [05:15:31]OFD Sender: No OFD packet to send [05:15:36]OFD Sender: No OFD packet to send [05:15:41]OFD Sender: No OFD packet to send [05:15:46]OFD Sender: No OFD packet to send [05:15:51]OFD Sender: No OFD packet to send [05:15:56]OFD Sender: No OFD packet to send [05:16:01]OFD Sender: No OFD packet to send [05:16:06]OFD Sender: No OFD packet to send [05:16:11]OFD Sender: No OFD packet to send [05:16:16]OFD Sender: No OFD packet to send [05:16:21]OFD Sender: No OFD packet to send [05:16:26]OFD Sender: No OFD packet to send [05:16:31]OFD Sender: No OFD packet to send [05:16:36]OFD Sender: No OFD packet to send [05:16:41]OFD Sender: No OFD packet to send [05:16:46]OFD Sender: No OFD packet to send [05:16:51]OFD Sender: No OFD packet to send [05:16:56]OFD Sender: No OFD packet to send [05:16:58]accept exits with 9 [05:16:58]New connection [05:16:58]New thread 3067374948 created [05:16:58]Thread 3067518308 joined [05:16:58]Waiting for new connection... [05:16:58] Sock 9.Parse request [05:16:58]Sock 9.Check first char [05:16:58]Sock 9.First char is OK [05:16:58]request: POST /json_proto HTTP/1.0 [05:16:58]Method: POST [05:16:58]URL: /json_proto [05:16:58]Method is POST - this is cgi request [05:16:58]url: /json_proto [05:16:58]query_string will be loaded in cgi processing [05:16:58]execute_cgi json_proto POST (null) [05:16:58]execute_cgi path=json_proto method=POST [05:16:58]POST find Content-Length [05:16:58]Host: 172.17.42.3:8080 [05:16:58]Content-Length: 683 [05:16:58]Content-Type: application/json [05:16:58] [05:16:58]POST finish read [05:16:58]Found Content-Length = 683 [05:16:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46198", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 131.240, "sum" : 10000.49, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 10000.00, "total" : 10000.00, "payments": [ { "type": 0, "sum" : 10000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:16:58]execute_script... [05:16: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 : (1)46198", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 131.240, "sum" : 10000.49, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 10000.00, "total" : 10000.00, "payments": [ { "type": 0, "sum" : 10000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:16:58]POST & json_proto [05:16:58]process_json_proto [05:16:58]json parsed OK: [05:16:58]protocol is kg_v1.0 [05:16:58]action value=close_receipt [05:16:58]process_action close_receipt [05:16:58]cmd_close_receipt [05:16:58]MH_GetDate [05:16:58]Write to MH i2c: F0 00 00 39 05 2D [05:16:58]Write i2c OK [05:16:58]MH_I2C_Read... [05:16:58]Read from MH i2c: F0 [05:16:58]MH_I2C_Read... [05:16:58]Read from MH i2c: F0 09 00 [05:16:58]MH_I2C_Read... [05:16:58]Read from MH i2c: F0 09 00 39 05 00 4B 1E 1F 67 EA E5 1E 67 79 [05:16:58]GetLastDocTimeStamp 1730091127 [05:16:58]current date 1730092619 [05:16:58]FM_GetShiftState [05:16:58]SAM_PROTO_GetShiftState [05:16:58]wFMCommunicate request_size=4 [05:16:58]MH_SAM_APDU [05:16:58]CAPDU: 80 13 01 00 [05:16:58]Write to MH i2c: E2 08 00 3A 05 80 13 01 00 00 00 00 00 BC [05:16:58]Write i2c OK [05:16:58]MH_I2C_Read... [05:16:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:16:58]Read from MH i2c: E2 [05:16:58]MH_I2C_Read... [05:16:58]Read from MH i2c: E2 0E 00 [05:16:58]MH_I2C_Read... [05:16:58]Read from MH i2c: E2 0E 00 3A 05 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 B7 [05:16:58]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [05:16:58]wFMCommunicate OK [05:16:58]SAM_PROTO_GetShiftState done [05:16:58]FM_GetShiftState done [05:16:58]opened in 1730074770 [05:16:58]opened+sec_in_day 1730161170 [05:16:58]quantity*price = 1000048 [05:16:58]sum+1 = 1000050 [05:16:58]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.49 ИТОГО: 10000.00 Внесено: 10000.00 СДАЧА: 0.00 НСП 1% : 88.50 НДС 12% : 1062.00 Наличными: 10000.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 20 28.10.2024 05:16 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68115 ФПД: 28515288471992 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T051659&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68115&fm=28515288471992&tin=02508201610067®Number=0000000000091759&sum=1000000 [05:16:59]StoreToDocumentArchive [05:16:59]shift 547 fd 68115 [05:16:59]save to /storage/0547/doc_00068115 [05:16:59]save last doc name /storage/0547/doc_00068115 to /storage/kkm_last_doc_name [05:16:59]save OK [05:16:59]Clear old archive folders... [05:16:59]ProcessDocumentItem done err = 0, tmpTLVsize=248 [05:16:59]tlvbuf is 008A1800 [05:16:59]SAM_PROTO_ClearQueue [05:16:59]wFMCommunicate request_size=4 [05:16:59]MH_SAM_APDU [05:16:59]CAPDU: 80 09 00 00 [05:16:59]Write to MH i2c: E2 08 00 47 05 80 09 00 00 00 00 00 00 BE [05:16:59]Write i2c OK [05:16:59]MH_I2C_Read... [05:16:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:16:59]Read from MH i2c: E2 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 03 00 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 03 00 47 05 00 90 00 C0 [05:16:59]RAPDU: 90 00 [05:16:59]wFMCommunicate OK [05:16:59]SAM_PROTO_ClearQueue done [05:16:59]KKMCreateOFDPacket [05:16:59]OFDProtocolAddRootSTLVToBuf [05:16:59]FM_MakeSignedData [05:16:59]FM_MakeSignedData [05:16:59]SAM_PROTO_SignData [05:16:59]wFMCommunicate request_size=4 [05:16:59]MH_SAM_APDU [05:16:59]CAPDU: 80 0D 01 02 [05:16:59]Write to MH i2c: E2 08 00 48 05 80 0D 01 02 00 00 00 00 C6 [05:16:59]Write i2c OK [05:16:59]MH_I2C_Read... [05:16:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:16:59]Read from MH i2c: E2 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 03 00 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 03 00 48 05 00 90 00 C1 [05:16:59]RAPDU: 90 00 [05:16:59]wFMCommunicate OK [05:16:59]wFMCommunicate request_size=255 [05:16:59]MH_SAM_APDU [05:16:59]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 A8 00 02 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 71 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 42 0F 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 22 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 9E 01 00 00 00 07 04 06 00 40 42 0F 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 4B 1E 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 13 0A 01 00 35 04 06 00 19 EF 3B A3 [05:16:59]Write to MH i2c: E2 02 01 49 05 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 A8 00 02 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 71 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 42 0F 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 22 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 9E 01 00 00 00 07 04 06 00 40 42 0F 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 4B 1E 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 13 0A 01 00 35 04 06 00 19 EF 3B A3 00 00 F3 [05:16:59]Write i2c OK [05:16:59]MH_I2C_Read... [05:16:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:16:59]Read from MH i2c: E2 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 03 00 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 03 00 49 05 00 90 00 C2 [05:16:59]RAPDU: 90 00 [05:16:59]wFMCommunicate OK [05:16:59]wFMCommunicate request_size=7 [05:16:59]MH_SAM_APDU [05:16:59]CAPDU: 80 0D 02 02 02 D9 B8 [05:16:59]Write to MH i2c: E2 0A 00 4A 05 80 0D 02 02 02 00 D9 B8 00 00 5E [05:16:59]Write i2c OK [05:16:59]MH_I2C_Read... [05:16:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:16:59]Read from MH i2c: E2 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 03 00 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 03 00 4A 05 00 90 00 C3 [05:16:59]RAPDU: 90 00 [05:16:59]wFMCommunicate OK [05:16:59]wFMCommunicate request_size=4 [05:16:59]MH_SAM_APDU [05:16:59]CAPDU: 80 0D 03 02 [05:16:59]Write to MH i2c: E2 08 00 4B 05 80 0D 03 02 00 00 00 00 CB [05:16:59]Write i2c OK [05:16:59]MH_I2C_Read... [05:16:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:16:59]Read from MH i2c: E2 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 0B 00 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 0B 00 4B 05 00 0D 78 86 6D 47 08 9E DA 90 00 0B [05:16:59]RAPDU: 0D 78 86 6D 47 08 9E DA 90 00 [05:16:59]wFMCommunicate OK [05:16:59]SAM_PROTO_SignData done [05:16:59]FM_MakeSignedData done [05:16:59]CreateOFDProtocolMessage [05:16:59]wFMCommunicate request_size=4 [05:16:59]MH_SAM_APDU [05:16:59]CAPDU: 80 11 00 00 [05:16:59]Write to MH i2c: E2 08 00 4C 05 80 11 00 00 00 00 00 00 CB [05:16:59]Write i2c OK [05:16:59]MH_I2C_Read... [05:16:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:16:59]Read from MH i2c: E2 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 17 00 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 17 00 4C 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 22 [05:16:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [05:16:59]wFMCommunicate OK [05:16:59]CreateOFDProtocolMessage done [05:16:59]OFDSenderStorePacket 68115 [05:16:59]StoreOFDPacket docnum=68115 [05:16:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 92 A6 04 01 5D F5 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 A8 00 02 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 71 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 42 0F 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 22 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 9E 01 00 00 00 07 04 06 00 40 42 0F 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 4B 1E 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 13 0A 01 00 35 04 06 00 19 EF 3B A3 D9 B8 0D 78 86 6D 47 08 9E DA [05:16:59]CheckFolder [05:16:59]dirname=/storage/ofd_packets [05:16:59]CheckFolder done [05:16:59]ProducePacketName [05:16:59]name=ofd_packets/00068115 [05:16:59]NVStorageSaveData ofd_packets/00068115 [05:16:59]File name is /storage/ofd_packets/00068115 [05:16:59]Write 298 bytes [05:16:59]NVStorageSaveData done [05:16:59]OFDSenderStorePacket done [05:16:59]KKMCreateOFDPacket done [05:16:59]NVStorageSaveData kkm_last_timestamp [05:16:59]File name is /storage/kkm_last_timestamp [05:16:59]Write 4 bytes [05:16:59]NVStorageSaveData done [05:16:59]ExternCall_PrintAddStr [05:16:59]wPrintStart [05:16:59]Write to MH i2c: 01 00 00 4D 05 52 [05:16:59]Write i2c OK [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: 01 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: 01 07 00 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: 01 07 00 4D 05 00 00 00 00 00 FF 0F 67 [05:16:59]RasterBufferAndPrint [05:16:59]line Счет N : (1)46198 [05:16:59]line ИНН: 02508201610067 [05:16:59]line Контрольно-Кассовый Чек [05:16:59]line ПРОДАЖА [05:16:59]line ТРК (МРК, ГНК) : 11 [05:16:59]line Товар: 2710194210 [05:16:59]line ДТ-К-5 [05:16:59]line 131.240 * 76.20 [05:16:59]line = 10000.49 [05:16:59]line НДС 12% НСП 1% [05:16:59]line > о реализуемом товаре [05:16:59]line ОКРУГЛЕНИЕ: -0.49 [05:16:59]line ИТОГО: 10000.00 [05:16:59]line Внесено: 10000.00 [05:16:59]line СДАЧА: 0.00 [05:16:59]line НСП 1% : 88.50 [05:16:59]line НДС 12% : 1062.00 [05:16:59]line Наличными: 10000.00 [05:16:59]line Безнал.: 0.00 [05:16:59]line Место: АЗС № 160 "Партнер Нефть" [05:16:59]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [05:16:59]line СНО: Общий режим [05:16:59]line Чек 20 28.10.2024 05:16 [05:16:59]line Смена: 547 ФФД: 1.0 [05:16:59]line ЗНМ: 0300000093 [05:16:59]line РНМ: 0000000000091759 [05:16:59]line Версия ККМ: 001 [05:16:59]line ФМ: 0000000000871758 [05:16:59]line ФД: 68115 [05:16:59]line ФПД: 28515288471992 [05:17:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T051659&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68115&fm=28515288471992&tin=02508201610067®Number=0000000000091759&sum=1000000 [05:17:00]OFD Sender: Processing packet 68115 [packets to send 27, broken 26] [05:17:00]ProducePacketName [05:17:00]name=ofd_packets/00068115 [05:17:00]OFD Sender: To server: pG, [05:17:00]CommunicateWithHost lk.salyk.kg:30040 [05:17:00]ConnectInit lk.salyk.kg [05:17:00]written 0, free lines is 4095 [05:17:00]Connected sock=10 [05:17:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 92 A6 04 01 5D F5 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 A8 00 02 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 71 42 0F 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 42 0F 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 22 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 9E 01 00 00 00 07 04 06 00 40 42 0F 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 4B 1E 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 13 0A 01 00 35 04 06 00 19 EF 3B A3 D9 B8 0D 78 86 6D 47 08 9E DA [05:17:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 12 97 47 00 E7 7B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 13 0A 01 00 F4 03 04 00 05 CA 1E 67 B6 04 01 00 00 74 CB DA 41 77 E5 48 52 [05:17:00]CommunicateWithHost err = 0 [05:17:00]CheckOFDResponse [05:17:00]1017 (14) - 77093643461234 [05:17:00]1041 (16) - 0000000000871758 [05:17:00]1040 (4) - 68115 [05:17:00]1012 (4) - 27.10.2024 23:17 [05:17:00]1206 (1) - 0 [05:17:00]OFD Sender: Remove packet 68115 [05:17:00]ProducePacketName [05:17:00]name=ofd_packets/00068115 [05:17:00]NVStorageDeleteData [05:17:00]Write to MH i2c: 01 00 00 77 05 7C [05:17:00]Write i2c OK [05:17:00]MH_I2C_Read... [05:17:00]Read from MH i2c: 01 [05:17:00]MH_I2C_Read... [05:17:00]Read from MH i2c: 01 07 00 [05:17:00]MH_I2C_Read... [05:17:00]Read from MH i2c: 01 07 00 77 05 00 00 00 00 00 B4 0C 43 [05:17:00]RasterBufferAndPrint [05:17:00]line [05:17:00]line [05:17:00]line [05:17:00]line [05:17:00]line [05:17:00]written 0, free lines is 3259 [05:17:00]MH_Cut [05:17:00]Write to MH i2c: D1 01 00 7E 05 01 55 [05:17:00]Write i2c OK [05:17:00]MH_I2C_Read... [05:17:00]Read from MH i2c: D1 [05:17:00]MH_I2C_Read... [05:17:00]Read from MH i2c: D1 01 00 [05:17:00]MH_I2C_Read... [05:17:00]Read from MH i2c: D1 01 00 7E 05 00 54 [05:17:00]Write to MH i2c: 01 00 00 7F 05 84 [05:17:00]Write i2c OK [05:17:00]MH_I2C_Read... [05:17:01]OFD Sender: No OFD packet to send [05:17:01]*** Cut start [05:17:01]*** Partial cut [05:17:01]*** CUTSNS_PIN = 1 [05:17:01]*** CUTSNS_PIN = 0 [05:17:01]*** Brake cut motor [05:17:02]Read from MH i2c: 01 [05:17:02]MH_I2C_Read... [05:17:02]*** Stop cut motor [05:17:02]*** Cut end [05:17:02]Read from MH i2c: 01 07 00 [05:17:02]MH_I2C_Read... [05:17:02]Read from MH i2c: 01 07 00 7F 05 00 00 00 00 00 FF 0F 99 [05:17:02]process_action close_receipt done [05:17:02]requested_data is exist [05:17:02]produce_requested_data [05:17:02]requested_item fm.sn is exist - process it [05:17:02]wFMCommunicate request_size=4 [05:17:02]MH_SAM_APDU [05:17:02]CAPDU: 80 11 00 00 [05:17:02]Write to MH i2c: E2 08 00 80 05 80 11 00 00 00 00 00 00 FF [05:17:02]Write i2c OK [05:17:02]MH_I2C_Read... [05:17:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:17:02]Read from MH i2c: E2 [05:17:02]MH_I2C_Read... [05:17:02]Read from MH i2c: E2 17 00 [05:17:02]MH_I2C_Read... [05:17:02]Read from MH i2c: E2 17 00 80 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 56 [05:17:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [05:17:02]wFMCommunicate OK [05:17:02]requested_item fd.num is exist - process it [05:17:02]SAM_PROTO_GetFieldsCounters [05:17:02]wFMCommunicate request_size=4 [05:17:02]MH_SAM_APDU [05:17:02]CAPDU: 80 13 00 00 [05:17:02]Write to MH i2c: E2 08 00 81 05 80 13 00 00 00 00 00 00 02 [05:17:02]Write i2c OK [05:17:02]MH_I2C_Read... [05:17:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:17:02]Read from MH i2c: E2 [05:17:02]MH_I2C_Read... [05:17:02]Read from MH i2c: E2 62 00 [05:17:02]MH_I2C_Read... [05:17:02]Read from MH i2c: E2 62 00 81 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 13 0A 01 00 0E 04 04 00 23 02 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 AC [05:17:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 13 0A 01 00 0E 04 04 00 23 02 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 [05:17:02]wFMCommunicate OK [05:17:02]SAM_PROTO_GetFieldsCounters done [05:17:02]requested_item shift.num is exist - process it [05:17:02]requested_item shift.opened is exist - process it [05:17:02]req_shift_opened [05:17:02]FM_GetShiftState [05:17:02]SAM_PROTO_GetShiftState [05:17:02]wFMCommunicate request_size=4 [05:17:02]MH_SAM_APDU [05:17:02]CAPDU: 80 13 01 00 [05:17:02]Write to MH i2c: E2 08 00 82 05 80 13 01 00 00 00 00 00 04 [05:17:02]Write i2c OK [05:17:02]MH_I2C_Read... [05:17:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:17:02]Read from MH i2c: E2 [05:17:02]MH_I2C_Read... [05:17:02]Read from MH i2c: E2 0E 00 [05:17:02]MH_I2C_Read... [05:17:02]Read from MH i2c: E2 0E 00 82 05 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 FF [05:17:02]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [05:17:02]wFMCommunicate OK [05:17:02]SAM_PROTO_GetShiftState done [05:17:02]FM_GetShiftState done [05:17:02]req_shift_opened done [05:17:02]requested_item shift.open_date is exist - process it [05:17:02]req_shift_open_date [05:17:02]req_shift_open_date done [05:17:02]produce_requested_data done [05:17:02]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68115,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [05:17:02]process_action_free close_receipt [05:17:02]json_value_free [05:17:02]json_value_free done [05:17:02]process_json_proto returns [05:17:02]Send response to host [05:17:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68115,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [05:17:02]free response buf [05:17:02]execute_script done [05:17:02]execute_script returns [05:17:02]free content buf [05:17:02]Sock 9.Close socket [05:17:02]Sock 9.Thread stoped [05:17:06]OFD Sender: No OFD packet to send [05:17:11]OFD Sender: No OFD packet to send [05:17:16]OFD Sender: No OFD packet to send [05:17:21]OFD Sender: No OFD packet to send [05:17:26]OFD Sender: No OFD packet to send [05:17:31]OFD Sender: No OFD packet to send [05:17:36]OFD Sender: No OFD packet to send [05:17:41]OFD Sender: No OFD packet to send [05:17:46]OFD Sender: No OFD packet to send [05:17:51]OFD Sender: No OFD packet to send [05:17:56]OFD Sender: No OFD packet to send [05:17:59]int [05:17:59]Write to MH i2c: 01 00 00 83 05 88 [05:17:59]*** FLAG_PRN_KEY set [05:17:59]Write i2c OK [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: 01 [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: 01 07 00 [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: 01 07 00 83 05 00 08 00 00 00 FF 0F A5 [05:17:59]state=0 [05:17:59]Key pressed [05:17:59]Feed [05:17:59]Write to MH i2c: D8 00 00 84 05 60 [05:17:59]Write i2c OK [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: D8 [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: D8 01 00 [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: D8 01 00 84 05 00 61 [05:17:59]int [05:17:59]Write to MH i2c: 01 00 00 85 05 8A [05:17:59]Write i2c OK [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: 01 [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: 01 07 00 [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: 01 07 00 85 05 00 48 00 00 00 3C 00 15 [05:17:59]state=2 [05:17:59]Key pressed [05:17:59]int [05:17:59]Write to MH i2c: 01 00 00 86 05 8B [05:17:59]*** FLAG_PRN_KEY reset [05:17:59]Write i2c OK [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: 01 [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: 01 07 00 [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: 01 07 00 86 05 00 00 00 00 00 F5 0F 96 [05:17:59]state=2 [05:17:59]Stop feed [05:17:59]int [05:17:59]Write to MH i2c: 01 00 00 87 05 8C [05:17:59]*** FLAG_PRN_KEY set [05:17:59]Write i2c OK [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: 01 [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: 01 07 00 [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: 01 07 00 87 05 00 08 00 00 00 FF 0F A9 [05:17:59]state=0 [05:17:59]Key pressed [05:17:59]Feed [05:17:59]Write to MH i2c: D8 00 00 88 05 64 [05:17:59]Write i2c OK [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: D8 [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: D8 01 00 [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: D8 01 00 88 05 00 65 [05:17:59]int [05:17:59]Write to MH i2c: 01 00 00 89 05 8E [05:17:59]Write i2c OK [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: 01 [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: 01 07 00 [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: 01 07 00 89 05 00 48 00 00 00 3C 00 19 [05:17:59]state=2 [05:17:59]Key pressed [05:17:59]int [05:17:59]Write to MH i2c: 01 00 00 8A 05 8F [05:17:59]*** FLAG_PRN_KEY reset [05:17:59]Write i2c OK [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: 01 [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: 01 07 00 [05:17:59]MH_I2C_Read... [05:17:59]Read from MH i2c: 01 07 00 8A 05 00 00 00 00 00 F6 0F 9B [05:17:59]state=2 [05:17:59]Stop feed [05:18:01]OFD Sender: No OFD packet to send [05:18:06]OFD Sender: No OFD packet to send [05:18:11]OFD Sender: No OFD packet to send [05:18:16]OFD Sender: No OFD packet to send [05:18:21]OFD Sender: No OFD packet to send [05:18:26]OFD Sender: No OFD packet to send [05:18:31]OFD Sender: No OFD packet to send [05:18:36]OFD Sender: No OFD packet to send [05:18:41]OFD Sender: No OFD packet to send [05:18:46]OFD Sender: No OFD packet to send [05:18:51]OFD Sender: No OFD packet to send [05:18:56]OFD Sender: No OFD packet to send [05:19:01]OFD Sender: No OFD packet to send [05:19:06]OFD Sender: No OFD packet to send [05:19:11]OFD Sender: No OFD packet to send [05:19:16]OFD Sender: No OFD packet to send [05:19:21]OFD Sender: No OFD packet to send [05:19:26]OFD Sender: No OFD packet to send [05:19:31]OFD Sender: No OFD packet to send [05:19:36]OFD Sender: No OFD packet to send [05:19:41]OFD Sender: No OFD packet to send [05:19:46]OFD Sender: No OFD packet to send [05:19:51]OFD Sender: No OFD packet to send [05:19:56]OFD Sender: No OFD packet to send [05:20:01]OFD Sender: No OFD packet to send [05:20:06]OFD Sender: No OFD packet to send [05:20:11]OFD Sender: No OFD packet to send [05:20:16]OFD Sender: No OFD packet to send [05:20:21]OFD Sender: No OFD packet to send [05:20:26]OFD Sender: No OFD packet to send [05:20:31]OFD Sender: No OFD packet to send [05:20:36]OFD Sender: No OFD packet to send [05:20:41]OFD Sender: No OFD packet to send [05:20:46]OFD Sender: No OFD packet to send [05:20:51]OFD Sender: No OFD packet to send [05:20:56]OFD Sender: No OFD packet to send [05:21:01]OFD Sender: No OFD packet to send [05:21:06]OFD Sender: No OFD packet to send [05:21:11]OFD Sender: No OFD packet to send [05:21:16]OFD Sender: No OFD packet to send [05:21:21]OFD Sender: No OFD packet to send [05:21:26]OFD Sender: No OFD packet to send [05:21:31]OFD Sender: No OFD packet to send [05:21:36]OFD Sender: No OFD packet to send [05:21:41]OFD Sender: No OFD packet to send [05:21:46]OFD Sender: No OFD packet to send [05:21:51]OFD Sender: No OFD packet to send [05:21:56]OFD Sender: No OFD packet to send [05:22:01]OFD Sender: No OFD packet to send [05:22:06]OFD Sender: No OFD packet to send [05:22:11]OFD Sender: No OFD packet to send [05:22:16]OFD Sender: No OFD packet to send [05:22:21]OFD Sender: No OFD packet to send [05:22:26]OFD Sender: No OFD packet to send [05:22:31]OFD Sender: No OFD packet to send [05:22:36]OFD Sender: No OFD packet to send [05:22:41]OFD Sender: No OFD packet to send [05:22:46]OFD Sender: No OFD packet to send [05:22:51]OFD Sender: No OFD packet to send [05:22:56]OFD Sender: No OFD packet to send [05:23:01]OFD Sender: No OFD packet to send [05:23:06]OFD Sender: No OFD packet to send [05:23:11]OFD Sender: No OFD packet to send [05:23:16]OFD Sender: No OFD packet to send [05:23:21]OFD Sender: No OFD packet to send [05:23:26]OFD Sender: No OFD packet to send [05:23:31]OFD Sender: No OFD packet to send [05:23:36]OFD Sender: No OFD packet to send [05:23:41]OFD Sender: No OFD packet to send [05:23:46]OFD Sender: No OFD packet to send [05:23:51]OFD Sender: No OFD packet to send [05:23:56]OFD Sender: No OFD packet to send [05:24:01]OFD Sender: No OFD packet to send [05:24:06]OFD Sender: No OFD packet to send [05:24:11]OFD Sender: No OFD packet to send [05:24:16]OFD Sender: No OFD packet to send [05:24:21]OFD Sender: No OFD packet to send [05:24:26]OFD Sender: No OFD packet to send [05:24:31]OFD Sender: No OFD packet to send [05:24:36]OFD Sender: No OFD packet to send [05:24:41]OFD Sender: No OFD packet to send [05:24:46]OFD Sender: No OFD packet to send [05:24:51]OFD Sender: No OFD packet to send [05:24:56]OFD Sender: No OFD packet to send [05:25:01]OFD Sender: No OFD packet to send [05:25:06]OFD Sender: No OFD packet to send [05:25:11]OFD Sender: No OFD packet to send [05:25:16]OFD Sender: No OFD packet to send [05:25:21]OFD Sender: No OFD packet to send [05:25:26]OFD Sender: No OFD packet to send [05:25:31]OFD Sender: No OFD packet to send [05:25:36]OFD Sender: No OFD packet to send [05:25:41]OFD Sender: No OFD packet to send [05:25:46]OFD Sender: No OFD packet to send [05:25:51]OFD Sender: No OFD packet to send [05:25:56]OFD Sender: No OFD packet to send [05:26:01]OFD Sender: No OFD packet to send [05:26:06]OFD Sender: No OFD packet to send [05:26:11]OFD Sender: No OFD packet to send [05:26:16]OFD Sender: No OFD packet to send [05:26:21]OFD Sender: No OFD packet to send [05:26:26]OFD Sender: No OFD packet to send [05:26:31]OFD Sender: No OFD packet to send [05:26:36]OFD Sender: No OFD packet to send [05:26:41]OFD Sender: No OFD packet to send [05:26:46]OFD Sender: No OFD packet to send [05:26:51]OFD Sender: No OFD packet to send [05:26:56]OFD Sender: No OFD packet to send [05:27:01]OFD Sender: No OFD packet to send [05:27:06]OFD Sender: No OFD packet to send [05:27:11]OFD Sender: No OFD packet to send [05:27:16]OFD Sender: No OFD packet to send [05:27:21]OFD Sender: No OFD packet to send [05:27:26]OFD Sender: No OFD packet to send [05:27:31]OFD Sender: No OFD packet to send [05:27:36]OFD Sender: No OFD packet to send [05:27:41]OFD Sender: No OFD packet to send [05:27:46]OFD Sender: No OFD packet to send [05:27:51]OFD Sender: No OFD packet to send [05:27:56]OFD Sender: No OFD packet to send [05:28:01]OFD Sender: No OFD packet to send [05:28:06]OFD Sender: No OFD packet to send [05:28:11]OFD Sender: No OFD packet to send [05:28:16]OFD Sender: No OFD packet to send [05:28:21]OFD Sender: No OFD packet to send [05:28:26]OFD Sender: No OFD packet to send [05:28:31]OFD Sender: No OFD packet to send [05:28:36]OFD Sender: No OFD packet to send [05:28:41]OFD Sender: No OFD packet to send [05:28:46]OFD Sender: No OFD packet to send [05:28:51]OFD Sender: No OFD packet to send [05:28:56]OFD Sender: No OFD packet to send [05:29:01]OFD Sender: No OFD packet to send [05:29:06]OFD Sender: No OFD packet to send [05:29:11]OFD Sender: No OFD packet to send [05:29:16]OFD Sender: No OFD packet to send [05:29:21]OFD Sender: No OFD packet to send [05:29:26]OFD Sender: No OFD packet to send [05:29:31]OFD Sender: No OFD packet to send [05:29:36]OFD Sender: No OFD packet to send [05:29:41]OFD Sender: No OFD packet to send [05:29:46]OFD Sender: No OFD packet to send [05:29:51]OFD Sender: No OFD packet to send [05:29:56]OFD Sender: No OFD packet to send [05:30:01]OFD Sender: No OFD packet to send [05:30:06]OFD Sender: No OFD packet to send [05:30:11]OFD Sender: No OFD packet to send [05:30:16]OFD Sender: No OFD packet to send [05:30:21]OFD Sender: No OFD packet to send [05:30:26]OFD Sender: No OFD packet to send [05:30:31]OFD Sender: No OFD packet to send [05:30:36]OFD Sender: No OFD packet to send [05:30:41]OFD Sender: No OFD packet to send [05:30:46]OFD Sender: No OFD packet to send [05:30:51]OFD Sender: No OFD packet to send [05:30:56]OFD Sender: No OFD packet to send [05:31:01]OFD Sender: No OFD packet to send [05:31:06]OFD Sender: No OFD packet to send [05:31:11]OFD Sender: No OFD packet to send [05:31:16]OFD Sender: No OFD packet to send [05:31:21]OFD Sender: No OFD packet to send [05:31:26]OFD Sender: No OFD packet to send [05:31:31]OFD Sender: No OFD packet to send [05:31:36]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:17]OFD Sender: No OFD packet to send [05:34:22]OFD Sender: No OFD packet to send [05:34:27]OFD Sender: No OFD packet to send [05:34:32]OFD Sender: No OFD packet to send [05:34:37]OFD Sender: No OFD packet to send [05:34:42]OFD Sender: No OFD packet to send [05:34:47]OFD Sender: No OFD packet to send [05:34:52]OFD Sender: No OFD packet to send [05:34:57]OFD Sender: No OFD packet to send [05:35:02]OFD Sender: No OFD packet to send [05:35:07]OFD Sender: No OFD packet to send [05:35:12]OFD Sender: No OFD packet to send [05:35:17]OFD Sender: No OFD packet to send [05:35:22]OFD Sender: No OFD packet to send [05:35:27]OFD Sender: No OFD packet to send [05:35:32]OFD Sender: No OFD packet to send [05:35:37]OFD Sender: No OFD packet to send [05:35:42]OFD Sender: No OFD packet to send [05:35:47]OFD Sender: No OFD packet to send [05:35:52]OFD Sender: No OFD packet to send [05:35:57]OFD Sender: No OFD packet to send [05:36:02]OFD Sender: No OFD packet to send [05:36:07]OFD Sender: No OFD packet to send [05:36:12]OFD Sender: No OFD packet to send [05:36:17]OFD Sender: No OFD packet to send [05:36:22]OFD Sender: No OFD packet to send [05:36:27]OFD Sender: No OFD packet to send [05:36:32]OFD Sender: No OFD packet to send [05:36:37]OFD Sender: No OFD packet to send [05:36:42]OFD Sender: No OFD packet to send [05:36:47]OFD Sender: No OFD packet to send [05:36:52]OFD Sender: No OFD packet to send [05:36:57]OFD Sender: No OFD packet to send [05:37:02]OFD Sender: No OFD packet to send [05:37:07]OFD Sender: No OFD packet to send [05:37:12]OFD Sender: No OFD packet to send [05:37:17]OFD Sender: No OFD packet to send [05:37:22]OFD Sender: No OFD packet to send [05:37:27]OFD Sender: No OFD packet to send [05:37:32]OFD Sender: No OFD packet to send [05:37:37]OFD Sender: No OFD packet to send [05:37:42]OFD Sender: No OFD packet to send [05:37:47]OFD Sender: No OFD packet to send [05:37:52]OFD Sender: No OFD packet to send [05:37:57]OFD Sender: No OFD packet to send [05:38:02]OFD Sender: No OFD packet to send [05:38:07]OFD Sender: No OFD packet to send [05:38:12]OFD Sender: No OFD packet to send [05:38:17]OFD Sender: No OFD packet to send [05:38:22]OFD Sender: No OFD packet to send [05:38:27]OFD Sender: No OFD packet to send [05:38:32]OFD Sender: No OFD packet to send [05:38:37]OFD Sender: No OFD packet to send [05:38:42]OFD Sender: No OFD packet to send [05:38:47]OFD Sender: No OFD packet to send [05:38:52]OFD Sender: No OFD packet to send [05:38:57]OFD Sender: No OFD packet to send [05:39:02]OFD Sender: No OFD packet to send [05:39:07]OFD Sender: No OFD packet to send [05:39:12]OFD Sender: No OFD packet to send [05:39:17]OFD Sender: No OFD packet to send [05:39:22]OFD Sender: No OFD packet to send [05:39:27]OFD Sender: No OFD packet to send [05:39:32]OFD Sender: No OFD packet to send [05:39:37]OFD Sender: No OFD packet to send [05:39:42]OFD Sender: No OFD packet to send [05:39:47]OFD Sender: No OFD packet to send [05:39:52]OFD Sender: No OFD packet to send [05:39:57]OFD Sender: No OFD packet to send [05:40:02]OFD Sender: No OFD packet to send [05:40:07]OFD Sender: No OFD packet to send [05:40:12]OFD Sender: No OFD packet to send [05:40:17]OFD Sender: No OFD packet to send [05:40:22]OFD Sender: No OFD packet to send [05:40:27]OFD Sender: No OFD packet to send [05:40:32]OFD Sender: No OFD packet to send [05:40:37]OFD Sender: No OFD packet to send [05:40:42]OFD Sender: No OFD packet to send [05:40:47]OFD Sender: No OFD packet to send [05:40:52]OFD Sender: No OFD packet to send [05:40:57]OFD Sender: No OFD packet to send [05:41:02]OFD Sender: No OFD packet to send [05:41:07]OFD Sender: No OFD packet to send [05:41:12]OFD Sender: No OFD packet to send [05:41:17]OFD Sender: No OFD packet to send [05:41:22]OFD Sender: No OFD packet to send [05:41:27]OFD Sender: No OFD packet to send [05:41:32]OFD Sender: No OFD packet to send [05:41:37]OFD Sender: No OFD packet to send [05:41:42]OFD Sender: No OFD packet to send [05:41:47]OFD Sender: No OFD packet to send [05:41:52]OFD Sender: No OFD packet to send [05:41:57]OFD Sender: No OFD packet to send [05:42:02]OFD Sender: No OFD packet to send [05:42:07]OFD Sender: No OFD packet to send [05:42:12]OFD Sender: No OFD packet to send [05:42:17]OFD Sender: No OFD packet to send [05:42:22]OFD Sender: No OFD packet to send [05:42:27]OFD Sender: No OFD packet to send [05:42:32]OFD Sender: No OFD packet to send [05:42:37]OFD Sender: No OFD packet to send [05:42:42]OFD Sender: No OFD packet to send [05:42:47]OFD Sender: No OFD packet to send [05:42:52]OFD Sender: No OFD packet to send [05:42:57]OFD Sender: No OFD packet to send [05:43:02]OFD Sender: No OFD packet to send [05:43:07]OFD Sender: No OFD packet to send [05:43:12]OFD Sender: No OFD packet to send [05:43:17]OFD Sender: No OFD packet to send [05:43:22]OFD Sender: No OFD packet to send [05:43:27]OFD Sender: No OFD packet to send [05:43:32]OFD Sender: No OFD packet to send [05:43:37]OFD Sender: No OFD packet to send [05:43:42]OFD Sender: No OFD packet to send [05:43:47]OFD Sender: No OFD packet to send [05:43:52]OFD Sender: No OFD packet to send [05:43:57]OFD Sender: No OFD packet to send [05:44:02]OFD Sender: No OFD packet to send [05:44:07]OFD Sender: No OFD packet to send [05:44:12]OFD Sender: No OFD packet to send [05:44:17]OFD Sender: No OFD packet to send [05:44:22]OFD Sender: No OFD packet to send [05:44:27]OFD Sender: No OFD packet to send [05:44:32]OFD Sender: No OFD packet to send [05:44:37]OFD Sender: No OFD packet to send [05:44:42]OFD Sender: No OFD packet to send [05:44:47]OFD Sender: No OFD packet to send [05:44:52]OFD Sender: No OFD packet to send [05:44:57]OFD Sender: No OFD packet to send [05:45:02]OFD Sender: No OFD packet to send [05:45:07]OFD Sender: No OFD packet to send [05:45:12]OFD Sender: No OFD packet to send [05:45:17]OFD Sender: No OFD packet to send [05:45:22]OFD Sender: No OFD packet to send [05:45:27]OFD Sender: No OFD packet to send [05:45:32]OFD Sender: No OFD packet to send [05:45:37]OFD Sender: No OFD packet to send [05:45:42]OFD Sender: No OFD packet to send [05:45:47]OFD Sender: No OFD packet to send [05:45:52]OFD Sender: No OFD packet to send [05:45:57]OFD Sender: No OFD packet to send [05:46:02]OFD Sender: No OFD packet to send [05:46:07]OFD Sender: No OFD packet to send [05:46:12]OFD Sender: No OFD packet to send [05:46:17]OFD Sender: No OFD packet to send [05:46:22]OFD Sender: No OFD packet to send [05:46:27]OFD Sender: No OFD packet to send [05:46:32]OFD Sender: No OFD packet to send [05:46:37]OFD Sender: No OFD packet to send [05:46:42]OFD Sender: No OFD packet to send [05:46:47]OFD Sender: No OFD packet to send [05:46:52]OFD Sender: No OFD packet to send [05:46:57]OFD Sender: No OFD packet to send [05:47:02]OFD Sender: No OFD packet to send [05:47:07]OFD Sender: No OFD packet to send [05:47:12]OFD Sender: No OFD packet to send [05:47:17]OFD Sender: No OFD packet to send [05:47:22]OFD Sender: No OFD packet to send [05:47:27]OFD Sender: No OFD packet to send [05:47:32]OFD Sender: No OFD packet to send [05:47:37]OFD Sender: No OFD packet to send [05:47:42]OFD Sender: No OFD packet to send [05:47:47]OFD Sender: No OFD packet to send [05:47:52]OFD Sender: No OFD packet to send [05:47:57]OFD Sender: No OFD packet to send [05:48:02]OFD Sender: No OFD packet to send [05:48:07]OFD Sender: No OFD packet to send [05:48:12]OFD Sender: No OFD packet to send [05:48:17]OFD Sender: No OFD packet to send [05:48:22]OFD Sender: No OFD packet to send [05:48:27]OFD Sender: No OFD packet to send [05:48:32]OFD Sender: No OFD packet to send [05:48:37]OFD Sender: No OFD packet to send [05:48:42]OFD Sender: No OFD packet to send [05:48:47]OFD Sender: No OFD packet to send [05:48:52]OFD Sender: No OFD packet to send [05:48:57]OFD Sender: No OFD packet to send [05:49:02]OFD Sender: No OFD packet to send [05:49:07]OFD Sender: No OFD packet to send [05:49:12]OFD Sender: No OFD packet to send [05:49:17]OFD Sender: No OFD packet to send [05:49:22]OFD Sender: No OFD packet to send [05:49:27]OFD Sender: No OFD packet to send [05:49:32]OFD Sender: No OFD packet to send [05:49:37]OFD Sender: No OFD packet to send [05:49:42]OFD Sender: No OFD packet to send [05:49:47]OFD Sender: No OFD packet to send [05:49:52]OFD Sender: No OFD packet to send [05:49:57]OFD Sender: No OFD packet to send [05:50:02]OFD Sender: No OFD packet to send [05:50:07]OFD Sender: No OFD packet to send [05:50:12]OFD Sender: No OFD packet to send [05:50:17]OFD Sender: No OFD packet to send [05:50:22]OFD Sender: No OFD packet to send [05:50:27]OFD Sender: No OFD packet to send [05:50:32]OFD Sender: No OFD packet to send [05:50:37]OFD Sender: No OFD packet to send [05:50:42]OFD Sender: No OFD packet to send [05:50:47]OFD Sender: No OFD packet to send [05:50:52]OFD Sender: No OFD packet to send [05:50:57]OFD Sender: No OFD packet to send [05:51:02]OFD Sender: No OFD packet to send [05:51:07]OFD Sender: No OFD packet to send [05:51:12]OFD Sender: No OFD packet to send [05:51:17]OFD Sender: No OFD packet to send [05:51:22]OFD Sender: No OFD packet to send [05:51:27]OFD Sender: No OFD packet to send [05:51:32]OFD Sender: No OFD packet to send [05:51:37]OFD Sender: No OFD packet to send [05:51:42]OFD Sender: No OFD packet to send [05:51:47]OFD Sender: No OFD packet to send [05:51:52]OFD Sender: No OFD packet to send [05:51:57]OFD Sender: No OFD packet to send [05:52:02]OFD Sender: No OFD packet to send [05:52:07]OFD Sender: No OFD packet to send [05:52:12]OFD Sender: No OFD packet to send [05:52:17]OFD Sender: No OFD packet to send [05:52:22]OFD Sender: No OFD packet to send [05:52:27]OFD Sender: No OFD packet to send [05:52:32]OFD Sender: No OFD packet to send [05:52:37]OFD Sender: No OFD packet to send [05:52:42]OFD Sender: No OFD packet to send [05:52:47]OFD Sender: No OFD packet to send [05:52:52]OFD Sender: No OFD packet to send [05:52:57]OFD Sender: No OFD packet to send [05:53:02]OFD Sender: No OFD packet to send [05:53:07]OFD Sender: No OFD packet to send [05:53:12]OFD Sender: No OFD packet to send [05:53:17]OFD Sender: No OFD packet to send [05:53:22]OFD Sender: No OFD packet to send [05:53:27]OFD Sender: No OFD packet to send [05:53:32]OFD Sender: No OFD packet to send [05:53:37]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:53]OFD Sender: No OFD packet to send [05:53:58]OFD Sender: No OFD packet to send [05:54:03]OFD Sender: No OFD packet to send [05:54:08]OFD Sender: No OFD packet to send [05:54:13]OFD Sender: No OFD packet to send [05:54:18]OFD Sender: No OFD packet to send [05:54:23]OFD Sender: No OFD packet to send [05:54:28]OFD Sender: No OFD packet to send [05:54:33]OFD Sender: No OFD packet to send [05:54:38]OFD Sender: No OFD packet to send [05:54:43]OFD Sender: No OFD packet to send [05:54:48]OFD Sender: No OFD packet to send [05:54:53]OFD Sender: No OFD packet to send [05:54:58]OFD Sender: No OFD packet to send [05:55:03]OFD Sender: No OFD packet to send [05:55:08]OFD Sender: No OFD packet to send [05:55:13]OFD Sender: No OFD packet to send [05:55:18]OFD Sender: No OFD packet to send [05:55:23]OFD Sender: No OFD packet to send [05:55:28]OFD Sender: No OFD packet to send [05:55:33]OFD Sender: No OFD packet to send [05:55:38]OFD Sender: No OFD packet to send [05:55:43]OFD Sender: No OFD packet to send [05:55:48]OFD Sender: No OFD packet to send [05:55:53]OFD Sender: No OFD packet to send [05:55:58]OFD Sender: No OFD packet to send [05:56:03]OFD Sender: No OFD packet to send [05:56:08]OFD Sender: No OFD packet to send [05:56:13]OFD Sender: No OFD packet to send [05:56:18]OFD Sender: No OFD packet to send [05:56:23]OFD Sender: No OFD packet to send [05:56:28]OFD Sender: No OFD packet to send [05:56:33]OFD Sender: No OFD packet to send [05:56:38]OFD Sender: No OFD packet to send [05:56:43]OFD Sender: No OFD packet to send [05:56:48]OFD Sender: No OFD packet to send [05:56:53]OFD Sender: No OFD packet to send [05:56:58]OFD Sender: No OFD packet to send [05:57:03]OFD Sender: No OFD packet to send [05:57:08]OFD Sender: No OFD packet to send [05:57:13]OFD Sender: No OFD packet to send [05:57:18]OFD Sender: No OFD packet to send [05:57:23]OFD Sender: No OFD packet to send [05:57:28]OFD Sender: No OFD packet to send [05:57:33]OFD Sender: No OFD packet to send [05:57:38]OFD Sender: No OFD packet to send [05:57:43]OFD Sender: No OFD packet to send [05:57:48]OFD Sender: No OFD packet to send [05:57:53]OFD Sender: No OFD packet to send [05:57:58]OFD Sender: No OFD packet to send [05:58:03]OFD Sender: No OFD packet to send [05:58:08]OFD Sender: No OFD packet to send [05:58:13]OFD Sender: No OFD packet to send [05:58:18]OFD Sender: No OFD packet to send [05:58:23]OFD Sender: No OFD packet to send [05:58:28]OFD Sender: No OFD packet to send [05:58:33]OFD Sender: No OFD packet to send [05:58:38]OFD Sender: No OFD packet to send [05:58:43]OFD Sender: No OFD packet to send [05:58:48]OFD Sender: No OFD packet to send [05:58:53]OFD Sender: No OFD packet to send [05:58:58]OFD Sender: No OFD packet to send [05:59:03]OFD Sender: No OFD packet to send [05:59:08]OFD Sender: No OFD packet to send [05:59:13]OFD Sender: No OFD packet to send [05:59:18]OFD Sender: No OFD packet to send [05:59:23]OFD Sender: No OFD packet to send [05:59:28]OFD Sender: No OFD packet to send [05:59:33]OFD Sender: No OFD packet to send [05:59:38]OFD Sender: No OFD packet to send [05:59:43]OFD Sender: No OFD packet to send [05:59:48]OFD Sender: No OFD packet to send [05:59:53]OFD Sender: No OFD packet to send [05:59:58]OFD Sender: No OFD packet to send [06:00:03]OFD Sender: No OFD packet to send [06:00:08]OFD Sender: No OFD packet to send [06:00:13]OFD Sender: No OFD packet to send [06:00:18]OFD Sender: No OFD packet to send [06:00:23]OFD Sender: No OFD packet to send [06:00:28]OFD Sender: No OFD packet to send [06:00:33]OFD Sender: No OFD packet to send [06:00:38]OFD Sender: No OFD packet to send [06:00:43]OFD Sender: No OFD packet to send [06:00:48]OFD Sender: No OFD packet to send [06:00:53]OFD Sender: No OFD packet to send [06:00:58]OFD Sender: No OFD packet to send [06:01:03]OFD Sender: No OFD packet to send [06:01:08]OFD Sender: No OFD packet to send [06:01:13]OFD Sender: No OFD packet to send [06:01:18]OFD Sender: No OFD packet to send [06:01:23]OFD Sender: No OFD packet to send [06:01:28]OFD Sender: No OFD packet to send [06:01:33]OFD Sender: No OFD packet to send [06:01:38]OFD Sender: No OFD packet to send [06:01:43]OFD Sender: No OFD packet to send [06:01:48]OFD Sender: No OFD packet to send [06:01:53]OFD Sender: No OFD packet to send [06:01:58]OFD Sender: No OFD packet to send [06:02:03]OFD Sender: No OFD packet to send [06:02:08]OFD Sender: No OFD packet to send [06:02:13]OFD Sender: No OFD packet to send [06:02:18]OFD Sender: No OFD packet to send [06:02:23]OFD Sender: No OFD packet to send [06:02:28]OFD Sender: No OFD packet to send [06:02:33]OFD Sender: No OFD packet to send [06:02:38]OFD Sender: No OFD packet to send [06:02:43]OFD Sender: No OFD packet to send [06:02:48]OFD Sender: No OFD packet to send [06:02:53]OFD Sender: No OFD packet to send [06:02:58]OFD Sender: No OFD packet to send [06:03:03]OFD Sender: No OFD packet to send [06:03:08]OFD Sender: No OFD packet to send [06:03:13]OFD Sender: No OFD packet to send [06:03:18]OFD Sender: No OFD packet to send [06:03:23]OFD Sender: No OFD packet to send [06:03:28]OFD Sender: No OFD packet to send [06:03:33]OFD Sender: No OFD packet to send [06:03:38]OFD Sender: No OFD packet to send [06:03:43]OFD Sender: No OFD packet to send [06:03:48]OFD Sender: No OFD packet to send [06:03:53]OFD Sender: No OFD packet to send [06:03:58]OFD Sender: No OFD packet to send [06:04:03]OFD Sender: No OFD packet to send [06:04:08]OFD Sender: No OFD packet to send [06:04:13]OFD Sender: No OFD packet to send [06:04:18]OFD Sender: No OFD packet to send [06:04:23]OFD Sender: No OFD packet to send [06:04:28]OFD Sender: No OFD packet to send [06:04:33]OFD Sender: No OFD packet to send [06:04:38]OFD Sender: No OFD packet to send [06:04:43]OFD Sender: No OFD packet to send [06:04:48]OFD Sender: No OFD packet to send [06:04:53]OFD Sender: No OFD packet to send [06:04:58]OFD Sender: No OFD packet to send [06:05:03]OFD Sender: No OFD packet to send [06:05:08]OFD Sender: No OFD packet to send [06:05:13]OFD Sender: No OFD packet to send [06:05:18]OFD Sender: No OFD packet to send [06:05:23]OFD Sender: No OFD packet to send [06:05:28]OFD Sender: No OFD packet to send [06:05:33]OFD Sender: No OFD packet to send [06:05:38]OFD Sender: No OFD packet to send [06:05:43]OFD Sender: No OFD packet to send [06:05:48]OFD Sender: No OFD packet to send [06:05:53]OFD Sender: No OFD packet to send [06:05:58]OFD Sender: No OFD packet to send [06:06:03]OFD Sender: No OFD packet to send [06:06:08]OFD Sender: No OFD packet to send [06:06:13]OFD Sender: No OFD packet to send [06:06:18]OFD Sender: No OFD packet to send [06:06:23]OFD Sender: No OFD packet to send [06:06:28]OFD Sender: No OFD packet to send [06:06:33]OFD Sender: No OFD packet to send [06:06:38]OFD Sender: No OFD packet to send [06:06:43]OFD Sender: No OFD packet to send [06:06:48]OFD Sender: No OFD packet to send [06:06:53]OFD Sender: No OFD packet to send [06:06:58]OFD Sender: No OFD packet to send [06:07:03]OFD Sender: No OFD packet to send [06:07:08]OFD Sender: No OFD packet to send [06:07:13]OFD Sender: No OFD packet to send [06:07:18]OFD Sender: No OFD packet to send [06:07:23]OFD Sender: No OFD packet to send [06:07:28]OFD Sender: No OFD packet to send [06:07:33]OFD Sender: No OFD packet to send [06:07:38]OFD Sender: No OFD packet to send [06:07:43]OFD Sender: No OFD packet to send [06:07:48]OFD Sender: No OFD packet to send [06:07:53]OFD Sender: No OFD packet to send [06:07:58]OFD Sender: No OFD packet to send [06:08:03]OFD Sender: No OFD packet to send [06:08:08]OFD Sender: No OFD packet to send [06:08:13]OFD Sender: No OFD packet to send [06:08:18]OFD Sender: No OFD packet to send [06:08:23]OFD Sender: No OFD packet to send [06:08:28]OFD Sender: No OFD packet to send [06:08:33]OFD Sender: No OFD packet to send [06:08:38]OFD Sender: No OFD packet to send [06:08:43]OFD Sender: No OFD packet to send [06:08:48]OFD Sender: No OFD packet to send [06:08:53]OFD Sender: No OFD packet to send [06:08:58]OFD Sender: No OFD packet to send [06:09:03]OFD Sender: No OFD packet to send [06:09:08]OFD Sender: No OFD packet to send [06:09:13]OFD Sender: No OFD packet to send [06:09:18]OFD Sender: No OFD packet to send [06:09:23]OFD Sender: No OFD packet to send [06:09:28]OFD Sender: No OFD packet to send [06:09:33]OFD Sender: No OFD packet to send [06:09:38]OFD Sender: No OFD packet to send [06:09:43]OFD Sender: No OFD packet to send [06:09:48]OFD Sender: No OFD packet to send [06:09:53]OFD Sender: No OFD packet to send [06:09:58]OFD Sender: No OFD packet to send [06:10:03]OFD Sender: No OFD packet to send [06:10:08]OFD Sender: No OFD packet to send [06:10:13]OFD Sender: No OFD packet to send [06:10:18]OFD Sender: No OFD packet to send [06:10:23]OFD Sender: No OFD packet to send [06:10:28]OFD Sender: No OFD packet to send [06:10:33]OFD Sender: No OFD packet to send [06:10:38]OFD Sender: No OFD packet to send [06:10:43]OFD Sender: No OFD packet to send [06:10:48]OFD Sender: No OFD packet to send [06:10:53]OFD Sender: No OFD packet to send [06:10:58]OFD Sender: No OFD packet to send [06:11:03]OFD Sender: No OFD packet to send [06:11:08]OFD Sender: No OFD packet to send [06:11:13]OFD Sender: No OFD packet to send [06:11:18]OFD Sender: No OFD packet to send [06:11:23]OFD Sender: No OFD packet to send [06:11:28]OFD Sender: No OFD packet to send [06:11:33]OFD Sender: No OFD packet to send [06:11:38]OFD Sender: No OFD packet to send [06:11:43]OFD Sender: No OFD packet to send [06:11:48]OFD Sender: No OFD packet to send [06:11:53]OFD Sender: No OFD packet to send [06:11:58]OFD Sender: No OFD packet to send [06:12:03]OFD Sender: No OFD packet to send [06:12:08]OFD Sender: No OFD packet to send [06:12:13]OFD Sender: No OFD packet to send [06:12:18]OFD Sender: No OFD packet to send [06:12:23]OFD Sender: No OFD packet to send [06:12:28]OFD Sender: No OFD packet to send [06:12:33]OFD Sender: No OFD packet to send [06:12:38]OFD Sender: No OFD packet to send [06:12:43]OFD Sender: No OFD packet to send [06:12:48]OFD Sender: No OFD packet to send [06:12:53]OFD Sender: No OFD packet to send [06:12:58]OFD Sender: No OFD packet to send [06:13:03]OFD Sender: No OFD packet to send [06:13:08]OFD Sender: No OFD packet to send [06:13:13]OFD Sender: No OFD packet to send [06:13:19]OFD Sender: No OFD packet to send [06:13:24]OFD Sender: No OFD packet to send [06:13:29]OFD Sender: No OFD packet to send [06:13:34]OFD Sender: No OFD packet to send [06:13:39]OFD Sender: No OFD packet to send [06:13:44]OFD Sender: No OFD packet to send [06:13:49]OFD Sender: No OFD packet to send [06:13:54]OFD Sender: No OFD packet to send [06:13:59]OFD Sender: No OFD packet to send [06:14:04]OFD Sender: No OFD packet to send [06:14:09]OFD Sender: No OFD packet to send [06:14:14]OFD Sender: No OFD packet to send [06:14:19]OFD Sender: No OFD packet to send [06:14:24]OFD Sender: No OFD packet to send [06:14:29]OFD Sender: No OFD packet to send [06:14:34]OFD Sender: No OFD packet to send [06:14:39]OFD Sender: No OFD packet to send [06:14:44]OFD Sender: No OFD packet to send [06:14:49]OFD Sender: No OFD packet to send [06:14:54]OFD Sender: No OFD packet to send [06:14:59]OFD Sender: No OFD packet to send [06:15:04]OFD Sender: No OFD packet to send [06:15:09]OFD Sender: No OFD packet to send [06:15:14]OFD Sender: No OFD packet to send [06:15:19]OFD Sender: No OFD packet to send [06:15:24]OFD Sender: No OFD packet to send [06:15:29]OFD Sender: No OFD packet to send [06:15:34]OFD Sender: No OFD packet to send [06:15:39]OFD Sender: No OFD packet to send [06:15:44]OFD Sender: No OFD packet to send [06:15:49]OFD Sender: No OFD packet to send [06:15:54]OFD Sender: No OFD packet to send [06:15:54]accept exits with 8 [06:15:54]New connection [06:15:54]New thread 3067518308 created [06:15:54]Thread 3067374948 joined [06:15:54]Waiting for new connection... [06:15:54] Sock 8.Parse request [06:15:54]Sock 8.Check first char [06:15:54]Sock 8.First char is OK [06:15:54]request: POST /json_proto HTTP/1.0 [06:15:54]Method: POST [06:15:54]URL: /json_proto [06:15:54]Method is POST - this is cgi request [06:15:54]url: /json_proto [06:15:54]query_string will be loaded in cgi processing [06:15:54]execute_cgi json_proto POST (null) [06:15:54]execute_cgi path=json_proto method=POST [06:15:54]POST find Content-Length [06:15:54]Host: 172.17.42.3:8080 [06:15:54]Content-Length: 621 [06:15:54]Content-Type: application/json [06:15:54] [06:15:54]POST finish read [06:15:54]Found Content-Length = 621 [06:15:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17154", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:15:54]execute_script... [06:15: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)17154", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:15:54]POST & json_proto [06:15:54]process_json_proto [06:15:54]json parsed OK: [06:15:54]protocol is kg_v1.0 [06:15:54]action value=close_receipt [06:15:54]process_action close_receipt [06:15:54]cmd_close_receipt [06:15:54]MH_GetDate [06:15:54]Write to MH i2c: F0 00 00 8B 05 7F [06:15:54]Write i2c OK [06:15:54]MH_I2C_Read... [06:15:54]Read from MH i2c: F0 [06:15:54]MH_I2C_Read... [06:15:54]Read from MH i2c: F0 09 00 [06:15:54]MH_I2C_Read... [06:15:54]Read from MH i2c: F0 09 00 8B 05 00 1B 2C 1F 67 EA E5 1E 67 A9 [06:15:54]GetLastDocTimeStamp 1730092619 [06:15:54]current date 1730096155 [06:15:54]FM_GetShiftState [06:15:54]SAM_PROTO_GetShiftState [06:15:54]wFMCommunicate request_size=4 [06:15:54]MH_SAM_APDU [06:15:54]CAPDU: 80 13 01 00 [06:15:54]Write to MH i2c: E2 08 00 8C 05 80 13 01 00 00 00 00 00 0E [06:15:54]Write i2c OK [06:15:54]MH_I2C_Read... [06:15:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:15:54]Read from MH i2c: E2 [06:15:54]MH_I2C_Read... [06:15:54]Read from MH i2c: E2 0E 00 [06:15:54]MH_I2C_Read... [06:15:54]Read from MH i2c: E2 0E 00 8C 05 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 09 [06:15:54]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [06:15:54]wFMCommunicate OK [06:15:54]SAM_PROTO_GetShiftState done [06:15:54]FM_GetShiftState done [06:15:54]opened in 1730074770 [06:15:54]opened+sec_in_day 1730161170 [06:15:54]quantity*price = 15900 [06:15:54]sum+1 = 15901 [06:15:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 159.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 21 28.10.2024 06:15 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68116 ФПД: 246164172250719 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T061555&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68116&fm=246164172250719&tin=02508201610067®Number=0000000000091759&sum=15900 0 [06:15:55]StoreToDocumentArchive [06:15:55]shift 547 fd 68116 [06:15:55]save to /storage/0547/doc_00068116 [06:15:55]save last doc name /storage/0547/doc_00068116 to /storage/kkm_last_doc_name [06:15:55]save OK [06:15:55]Clear old archive folders... [06:15:55]ProcessDocumentItem done err = 0, tmpTLVsize=274 [06:15:55]tlvbuf is 008A5210 [06:15:55]SAM_PROTO_ClearQueue [06:15:55]wFMCommunicate request_size=4 [06:15:55]MH_SAM_APDU [06:15:55]CAPDU: 80 09 00 00 [06:15:55]Write to MH i2c: E2 08 00 99 05 80 09 00 00 00 00 00 00 10 [06:15:55]Write i2c OK [06:15:55]MH_I2C_Read... [06:15:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:15:55]Read from MH i2c: E2 [06:15:55]MH_I2C_Read... [06:15:55]Read from MH i2c: E2 03 00 [06:15:55]MH_I2C_Read... [06:15:55]Read from MH i2c: E2 03 00 99 05 00 90 00 12 [06:15:55]RAPDU: 90 00 [06:15:55]wFMCommunicate OK [06:15:55]SAM_PROTO_ClearQueue done [06:15:55]KKMCreateOFDPacket [06:15:55]OFDProtocolAddRootSTLVToBuf [06:15:55]FM_MakeSignedData [06:15:55]FM_MakeSignedData [06:15:55]SAM_PROTO_SignData [06:15:55]wFMCommunicate request_size=4 [06:15:55]MH_SAM_APDU [06:15:55]CAPDU: 80 0D 01 02 [06:15:55]Write to MH i2c: E2 08 00 9A 05 80 0D 01 02 00 00 00 00 18 [06:15:55]Write i2c OK [06:15:55]MH_I2C_Read... [06:15:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:15:55]Read from MH i2c: E2 [06:15:55]MH_I2C_Read... [06:15:55]Read from MH i2c: E2 03 00 [06:15:55]MH_I2C_Read... [06:15:55]Read from MH i2c: E2 03 00 9A 05 00 90 00 13 [06:15:55]RAPDU: 90 00 [06:15:55]wFMCommunicate OK [06:15:55]wFMCommunicate request_size=255 [06:15:55]MH_SAM_APDU [06:15:55]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 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 1B 2C 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 [06:15:55]Write to MH i2c: E2 02 01 9B 05 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 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 1B 2C 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 00 00 49 [06:15:55]Write i2c OK [06:15:55]MH_I2C_Read... [06:15:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:15:55]Read from MH i2c: E2 [06:15:55]MH_I2C_Read... [06:15:55]Read from MH i2c: E2 03 00 [06:15:55]MH_I2C_Read... [06:15:55]Read from MH i2c: E2 03 00 9B 05 00 90 00 14 [06:15:55]RAPDU: 90 00 [06:15:55]wFMCommunicate OK [06:15:55]wFMCommunicate request_size=33 [06:15:55]MH_SAM_APDU [06:15:55]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 37 35 38 10 04 04 00 14 0A 01 00 35 04 06 00 DF E2 90 0B 1E 5F [06:15:55]Write to MH i2c: E2 24 00 9C 05 80 0D 02 02 1C 00 30 30 30 30 38 37 31 37 35 38 10 04 04 00 14 0A 01 00 35 04 06 00 DF E2 90 0B 1E 5F 00 00 A6 [06:15:55]Write i2c OK [06:15:55]MH_I2C_Read... [06:15:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:15:55]Read from MH i2c: E2 [06:15:55]MH_I2C_Read... [06:15:55]Read from MH i2c: E2 03 00 [06:15:55]MH_I2C_Read... [06:15:55]Read from MH i2c: E2 03 00 9C 05 00 90 00 15 [06:15:55]RAPDU: 90 00 [06:15:55]wFMCommunicate OK [06:15:55]wFMCommunicate request_size=4 [06:15:55]MH_SAM_APDU [06:15:55]CAPDU: 80 0D 03 02 [06:15:55]Write to MH i2c: E2 08 00 9D 05 80 0D 03 02 00 00 00 00 1D [06:15:55]Write i2c OK [06:15:55]MH_I2C_Read... [06:15:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:15:55]Read from MH i2c: E2 [06:15:55]MH_I2C_Read... [06:15:55]Read from MH i2c: E2 0B 00 [06:15:55]MH_I2C_Read... [06:15:55]Read from MH i2c: E2 0B 00 9D 05 00 E3 CB 69 C8 75 7D 81 8A 90 00 FA [06:15:55]RAPDU: E3 CB 69 C8 75 7D 81 8A 90 00 [06:15:55]wFMCommunicate OK [06:15:55]SAM_PROTO_SignData done [06:15:55]FM_MakeSignedData done [06:15:55]CreateOFDProtocolMessage [06:15:55]wFMCommunicate request_size=4 [06:15:55]MH_SAM_APDU [06:15:55]CAPDU: 80 11 00 00 [06:15:55]Write to MH i2c: E2 08 00 9E 05 80 11 00 00 00 00 00 00 1D [06:15:55]Write i2c OK [06:15:55]MH_I2C_Read... [06:15:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:15:55]Read from MH i2c: E2 [06:15:55]MH_I2C_Read... [06:15:55]Read from MH i2c: E2 17 00 [06:15:55]MH_I2C_Read... [06:15:55]Read from MH i2c: E2 17 00 9E 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 74 [06:15:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [06:15:55]wFMCommunicate OK [06:15:55]CreateOFDProtocolMessage done [06:15:55]OFDSenderStorePacket 68116 [06:15:55]StoreOFDPacket docnum=68116 [06:15:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 26 01 00 00 82 81 1E 01 5F C2 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 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 1B 2C 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 14 0A 01 00 35 04 06 00 DF E2 90 0B 1E 5F E3 CB 69 C8 75 7D 81 8A [06:15:55]CheckFolder [06:15:55]dirname=/storage/ofd_packets [06:15:55]CheckFolder done [06:15:55]ProducePacketName [06:15:55]name=ofd_packets/00068116 [06:15:55]NVStorageSaveData ofd_packets/00068116 [06:15:55]File name is /storage/ofd_packets/00068116 [06:15:55]Write 324 bytes [06:15:55]NVStorageSaveData done [06:15:55]OFDSenderStorePacket done [06:15:55]KKMCreateOFDPacket done [06:15:55]NVStorageSaveData kkm_last_timestamp [06:15:55]File name is /storage/kkm_last_timestamp [06:15:55]Write 4 bytes [06:15:55]NVStorageSaveData done [06:15:55]OFD Sender: Processing packet 68116 [packets to send 27, broken 26] [06:15:55]ProducePacketName [06:15:55]name=ofd_packets/00068116 [06:15:55]OFD Sender: To server: pG, [06:15:55]CommunicateWithHost lk.salyk.kg:30040 [06:15:55]ConnectInit lk.salyk.kg [06:15:55]ExternCall_PrintAddStr [06:15:55]wPrintStart [06:15:55]Write to MH i2c: 01 00 00 9F 05 A4 [06:15:55]Write i2c OK [06:15:55]MH_I2C_Read... [06:15:55]Read from MH i2c: 01 [06:15:55]MH_I2C_Read... [06:15:55]Read from MH i2c: 01 07 00 [06:15:55]MH_I2C_Read... [06:15:55]Read from MH i2c: 01 07 00 9F 05 00 00 00 00 00 FF 0F B9 [06:15:55]RasterBufferAndPrint [06:15:55]line Счет N : (3)17154 [06:15:55]line ИНН: 02508201610067 [06:15:55]line Контрольно-Кассовый Чек [06:15:55]line ПРОДАЖА [06:15:55]line Товар: 4640030091645 [06:15:55]line Сигареты ESSE Exchange M [06:15:55]line 1.000 * 159.00 [06:15:55]line = 159.00 [06:15:55]line НДС 12% НСП 1% [06:15:55]line > о реализуемом товаре [06:15:55]line ИТОГО: 159.00 [06:15:55]line НСП 1% : 1.41 [06:15:55]line НДС 12% : 16.88 [06:15:55]line Наличными: 159.00 [06:15:55]line Безнал.: 0.00 [06:15:55]line Место: АЗС № 160 "Партнер Нефть" [06:15:55]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [06:15:55]line СНО: Общий режим [06:15:55]line Чек 21 28.10.2024 06:15 [06:15:55]line Смена: 547 ФФД: 1.0 [06:15:55]line ЗНМ: 0300000093 [06:15:55]line РНМ: 0000000000091759 [06:15:55]line Версия ККМ: 001 [06:15:55]line ФМ: 0000000000871758 [06:15:55]line ФД: 68116 [06:15:55]line ФПД: 246164172250719 [06:15:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T061555&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68116&fm=246164172250719&tin=02508201610067®Number=0000000000091759&sum=15900 [06:15:56]line 0 [06:15:56]Connected sock=11 [06:15:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 26 01 00 00 82 81 1E 01 5F C2 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 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 1B 2C 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 14 0A 01 00 35 04 06 00 DF E2 90 0B 1E 5F E3 CB 69 C8 75 7D 81 8A [06:15:56]written 0, free lines is 4095 [06:15:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 D3 5F 47 00 38 2D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 14 0A 01 00 F4 03 04 00 D5 D7 1E 67 B6 04 01 00 00 BD A2 71 4E 73 37 C9 66 [06:15:56]CommunicateWithHost err = 0 [06:15:56]CheckOFDResponse [06:15:56]1017 (14) - 77093643461234 [06:15:56]1041 (16) - 0000000000871758 [06:15:56]1040 (4) - 68116 [06:15:56]1012 (4) - 28.10.2024 00:16 [06:15:56]1206 (1) - 0 [06:15:56]OFD Sender: Remove packet 68116 [06:15:56]ProducePacketName [06:15:56]name=ofd_packets/00068116 [06:15:56]NVStorageDeleteData [06:15:56]Write to MH i2c: 01 00 00 C6 05 CB [06:15:56]Write i2c OK [06:15:56]MH_I2C_Read... [06:15:56]Read from MH i2c: 01 [06:15:56]MH_I2C_Read... [06:15:56]Read from MH i2c: 01 07 00 [06:15:56]MH_I2C_Read... [06:15:56]Read from MH i2c: 01 07 00 C6 05 00 00 00 00 00 DA 0C B8 [06:15:56]RasterBufferAndPrint [06:15:56]line [06:15:56]line [06:15:56]line [06:15:56]line [06:15:56]line [06:15:56]written 0, free lines is 3296 [06:15:56]MH_Cut [06:15:56]Write to MH i2c: D1 01 00 CD 05 01 A4 [06:15:56]Write i2c OK [06:15:56]MH_I2C_Read... [06:15:56]Read from MH i2c: D1 [06:15:56]MH_I2C_Read... [06:15:56]Read from MH i2c: D1 01 00 [06:15:56]MH_I2C_Read... [06:15:56]Read from MH i2c: D1 01 00 CD 05 00 A3 [06:15:56]Write to MH i2c: 01 00 00 CE 05 D3 [06:15:56]Write i2c OK [06:15:56]MH_I2C_Read... [06:15:56]OFD Sender: No OFD packet to send [06:15:57]*** Cut start [06:15:57]*** Partial cut [06:15:57]*** CUTSNS_PIN = 1 [06:15:57]*** CUTSNS_PIN = 0 [06:15:57]*** Brake cut motor [06:15:58]Read from MH i2c: 01 [06:15:58]MH_I2C_Read... [06:15:58]*** Stop cut motor [06:15:58]*** Cut end [06:15:58]Read from MH i2c: 01 07 00 [06:15:58]MH_I2C_Read... [06:15:58]Read from MH i2c: 01 07 00 CE 05 00 00 00 00 00 FF 0F E8 [06:15:58]process_action close_receipt done [06:15:58]requested_data is exist [06:15:58]produce_requested_data [06:15:58]requested_item fm.sn is exist - process it [06:15:58]wFMCommunicate request_size=4 [06:15:58]MH_SAM_APDU [06:15:58]CAPDU: 80 11 00 00 [06:15:58]Write to MH i2c: E2 08 00 CF 05 80 11 00 00 00 00 00 00 4E [06:15:58]Write i2c OK [06:15:58]MH_I2C_Read... [06:15:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:15:58]Read from MH i2c: E2 [06:15:58]MH_I2C_Read... [06:15:58]Read from MH i2c: E2 17 00 [06:15:58]MH_I2C_Read... [06:15:58]Read from MH i2c: E2 17 00 CF 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 A5 [06:15:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [06:15:58]wFMCommunicate OK [06:15:58]requested_item fd.num is exist - process it [06:15:58]SAM_PROTO_GetFieldsCounters [06:15:58]wFMCommunicate request_size=4 [06:15:58]MH_SAM_APDU [06:15:58]CAPDU: 80 13 00 00 [06:15:58]Write to MH i2c: E2 08 00 D0 05 80 13 00 00 00 00 00 00 51 [06:15:58]Write i2c OK [06:15:58]MH_I2C_Read... [06:15:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:15:58]Read from MH i2c: E2 [06:15:58]MH_I2C_Read... [06:15:58]Read from MH i2c: E2 62 00 [06:15:58]MH_I2C_Read... [06:15:58]Read from MH i2c: E2 62 00 D0 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 14 0A 01 00 0E 04 04 00 23 02 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 FF [06:15:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 14 0A 01 00 0E 04 04 00 23 02 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 [06:15:58]wFMCommunicate OK [06:15:58]SAM_PROTO_GetFieldsCounters done [06:15:58]requested_item shift.num is exist - process it [06:15:58]requested_item shift.opened is exist - process it [06:15:58]req_shift_opened [06:15:58]FM_GetShiftState [06:15:58]SAM_PROTO_GetShiftState [06:15:58]wFMCommunicate request_size=4 [06:15:58]MH_SAM_APDU [06:15:58]CAPDU: 80 13 01 00 [06:15:58]Write to MH i2c: E2 08 00 D1 05 80 13 01 00 00 00 00 00 53 [06:15:58]Write i2c OK [06:15:58]MH_I2C_Read... [06:15:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:15:58]Read from MH i2c: E2 [06:15:58]MH_I2C_Read... [06:15:58]Read from MH i2c: E2 0E 00 [06:15:58]MH_I2C_Read... [06:15:58]Read from MH i2c: E2 0E 00 D1 05 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 4E [06:15:58]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [06:15:58]wFMCommunicate OK [06:15:58]SAM_PROTO_GetShiftState done [06:15:58]FM_GetShiftState done [06:15:58]req_shift_opened done [06:15:58]requested_item shift.open_date is exist - process it [06:15:58]req_shift_open_date [06:15:58]req_shift_open_date done [06:15:58]produce_requested_data done [06:15:58]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68116,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [06:15:58]process_action_free close_receipt [06:15:58]json_value_free [06:15:58]json_value_free done [06:15:58]process_json_proto returns [06:15:58]Send response to host [06:15:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68116,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [06:15:58]free response buf [06:15:58]execute_script done [06:15:58]execute_script returns [06:15:58]free content buf [06:15:58]Sock 8.Close socket [06:15:58]Sock 8.Thread stoped [06:16:01]OFD Sender: No OFD packet to send [06:16:06]OFD Sender: No OFD packet to send [06:16:11]OFD Sender: No OFD packet to send [06:16:16]OFD Sender: No OFD packet to send [06:16:21]OFD Sender: No OFD packet to send [06:16:26]OFD Sender: No OFD packet to send [06:16:31]OFD Sender: No OFD packet to send [06:16:36]OFD Sender: No OFD packet to send [06:16:41]OFD Sender: No OFD packet to send [06:16:46]OFD Sender: No OFD packet to send [06:16:51]OFD Sender: No OFD packet to send [06:16:56]OFD Sender: No OFD packet to send [06:17:01]OFD Sender: No OFD packet to send [06:17:06]OFD Sender: No OFD packet to send [06:17:11]OFD Sender: No OFD packet to send [06:17:16]OFD Sender: No OFD packet to send [06:17:21]OFD Sender: No OFD packet to send [06:17:26]OFD Sender: No OFD packet to send [06:17:31]OFD Sender: No OFD packet to send [06:17:36]OFD Sender: No OFD packet to send [06:17:41]OFD Sender: No OFD packet to send [06:17:46]OFD Sender: No OFD packet to send [06:17:51]OFD Sender: No OFD packet to send [06:17:56]OFD Sender: No OFD packet to send [06:18:01]OFD Sender: No OFD packet to send [06:18:06]OFD Sender: No OFD packet to send [06:18:12]OFD Sender: No OFD packet to send [06:18:17]OFD Sender: No OFD packet to send [06:18:22]OFD Sender: No OFD packet to send [06:18:27]OFD Sender: No OFD packet to send [06:18:32]OFD Sender: No OFD packet to send [06:18:37]OFD Sender: No OFD packet to send [06:18:42]OFD Sender: No OFD packet to send [06:18:47]OFD Sender: No OFD packet to send [06:18:52]OFD Sender: No OFD packet to send [06:18:57]OFD Sender: No OFD packet to send [06:19:02]OFD Sender: No OFD packet to send [06:19:07]OFD Sender: No OFD packet to send [06:19:12]OFD Sender: No OFD packet to send [06:19:17]OFD Sender: No OFD packet to send [06:19:22]OFD Sender: No OFD packet to send [06:19:27]OFD Sender: No OFD packet to send [06:19:32]OFD Sender: No OFD packet to send [06:19:37]OFD Sender: No OFD packet to send [06:19:42]OFD Sender: No OFD packet to send [06:19:47]OFD Sender: No OFD packet to send [06:19:52]OFD Sender: No OFD packet to send [06:19:57]OFD Sender: No OFD packet to send [06:20:02]OFD Sender: No OFD packet to send [06:20:07]OFD Sender: No OFD packet to send [06:20:12]OFD Sender: No OFD packet to send [06:20:17]OFD Sender: No OFD packet to send [06:20:22]OFD Sender: No OFD packet to send [06:20:27]OFD Sender: No OFD packet to send [06:20:32]OFD Sender: No OFD packet to send [06:20:37]OFD Sender: No OFD packet to send [06:20:42]OFD Sender: No OFD packet to send [06:20:47]OFD Sender: No OFD packet to send [06:20:52]OFD Sender: No OFD packet to send [06:20:57]OFD Sender: No OFD packet to send [06:21:02]OFD Sender: No OFD packet to send [06:21:07]OFD Sender: No OFD packet to send [06:21:12]OFD Sender: No OFD packet to send [06:21:17]OFD Sender: No OFD packet to send [06:21:22]OFD Sender: No OFD packet to send [06:21:27]OFD Sender: No OFD packet to send [06:21:32]OFD Sender: No OFD packet to send [06:21:37]OFD Sender: No OFD packet to send [06:21:42]OFD Sender: No OFD packet to send [06:21:47]OFD Sender: No OFD packet to send [06:21:52]OFD Sender: No OFD packet to send [06:21:57]OFD Sender: No OFD packet to send [06:22:02]OFD Sender: No OFD packet to send [06:22:07]OFD Sender: No OFD packet to send [06:22:12]OFD Sender: No OFD packet to send [06:22:17]OFD Sender: No OFD packet to send [06:22:22]OFD Sender: No OFD packet to send [06:22:27]OFD Sender: No OFD packet to send [06:22:32]OFD Sender: No OFD packet to send [06:22:37]OFD Sender: No OFD packet to send [06:22:42]OFD Sender: No OFD packet to send [06:22:47]OFD Sender: No OFD packet to send [06:22:52]OFD Sender: No OFD packet to send [06:22:57]OFD Sender: No OFD packet to send [06:23:02]OFD Sender: No OFD packet to send [06:23:07]OFD Sender: No OFD packet to send [06:23:12]OFD Sender: No OFD packet to send [06:23:17]OFD Sender: No OFD packet to send [06:23:22]OFD Sender: No OFD packet to send [06:23:27]OFD Sender: No OFD packet to send [06:23:32]OFD Sender: No OFD packet to send [06:23:37]OFD Sender: No OFD packet to send [06:23:42]OFD Sender: No OFD packet to send [06:23:47]OFD Sender: No OFD packet to send [06:23:52]OFD Sender: No OFD packet to send [06:23:57]OFD Sender: No OFD packet to send [06:24:02]OFD Sender: No OFD packet to send [06:24:07]OFD Sender: No OFD packet to send [06:24:12]OFD Sender: No OFD packet to send [06:24:17]OFD Sender: No OFD packet to send [06:24:22]OFD Sender: No OFD packet to send [06:24:27]OFD Sender: No OFD packet to send [06:24:32]OFD Sender: No OFD packet to send [06:24:37]OFD Sender: No OFD packet to send [06:24:42]OFD Sender: No OFD packet to send [06:24:47]OFD Sender: No OFD packet to send [06:24:52]OFD Sender: No OFD packet to send [06:24:57]OFD Sender: No OFD packet to send [06:25:02]OFD Sender: No OFD packet to send [06:25:07]OFD Sender: No OFD packet to send [06:25:12]OFD Sender: No OFD packet to send [06:25:17]OFD Sender: No OFD packet to send [06:25:22]OFD Sender: No OFD packet to send [06:25:27]OFD Sender: No OFD packet to send [06:25:32]OFD Sender: No OFD packet to send [06:25:37]OFD Sender: No OFD packet to send [06:25:42]OFD Sender: No OFD packet to send [06:25:47]OFD Sender: No OFD packet to send [06:25:52]OFD Sender: No OFD packet to send [06:25:57]OFD Sender: No OFD packet to send [06:26:02]OFD Sender: No OFD packet to send [06:26:07]OFD Sender: No OFD packet to send [06:26:12]OFD Sender: No OFD packet to send [06:26:17]OFD Sender: No OFD packet to send [06:26:22]OFD Sender: No OFD packet to send [06:26:27]OFD Sender: No OFD packet to send [06:26:32]OFD Sender: No OFD packet to send [06:26:37]OFD Sender: No OFD packet to send [06:26:42]OFD Sender: No OFD packet to send [06:26:47]OFD Sender: No OFD packet to send [06:26:52]OFD Sender: No OFD packet to send [06:26:57]OFD Sender: No OFD packet to send [06:27:02]OFD Sender: No OFD packet to send [06:27:07]OFD Sender: No OFD packet to send [06:27:12]OFD Sender: No OFD packet to send [06:27:17]OFD Sender: No OFD packet to send [06:27:22]OFD Sender: No OFD packet to send [06:27:27]OFD Sender: No OFD packet to send [06:27:32]OFD Sender: No OFD packet to send [06:27:37]OFD Sender: No OFD packet to send [06:27:42]OFD Sender: No OFD packet to send [06:27:47]OFD Sender: No OFD packet to send [06:27:52]OFD Sender: No OFD packet to send [06:27:57]OFD Sender: No OFD packet to send [06:28:02]OFD Sender: No OFD packet to send [06:28:07]OFD Sender: No OFD packet to send [06:28:12]OFD Sender: No OFD packet to send [06:28:17]OFD Sender: No OFD packet to send [06:28:22]OFD Sender: No OFD packet to send [06:28:27]OFD Sender: No OFD packet to send [06:28:32]OFD Sender: No OFD packet to send [06:28:37]OFD Sender: No OFD packet to send [06:28:42]OFD Sender: No OFD packet to send [06:28:47]OFD Sender: No OFD packet to send [06:28:52]OFD Sender: No OFD packet to send [06:28:57]OFD Sender: No OFD packet to send [06:29:02]OFD Sender: No OFD packet to send [06:29:07]OFD Sender: No OFD packet to send [06:29:12]OFD Sender: No OFD packet to send [06:29:17]OFD Sender: No OFD packet to send [06:29:22]OFD Sender: No OFD packet to send [06:29:27]OFD Sender: No OFD packet to send [06:29:32]OFD Sender: No OFD packet to send [06:29:37]OFD Sender: No OFD packet to send [06:29:42]OFD Sender: No OFD packet to send [06:29:47]OFD Sender: No OFD packet to send [06:29:52]OFD Sender: No OFD packet to send [06:29:57]OFD Sender: No OFD packet to send [06:30:02]OFD Sender: No OFD packet to send [06:30:07]OFD Sender: No OFD packet to send [06:30:12]OFD Sender: No OFD packet to send [06:30:17]OFD Sender: No OFD packet to send [06:30:22]OFD Sender: No OFD packet to send [06:30:27]OFD Sender: No OFD packet to send [06:30:32]OFD Sender: No OFD packet to send [06:30:37]OFD Sender: No OFD packet to send [06:30:42]OFD Sender: No OFD packet to send [06:30:47]OFD Sender: No OFD packet to send [06:30:52]OFD Sender: No OFD packet to send [06:30:57]OFD Sender: No OFD packet to send [06:31:02]OFD Sender: No OFD packet to send [06:31:07]OFD Sender: No OFD packet to send [06:31:12]OFD Sender: No OFD packet to send [06:31:17]OFD Sender: No OFD packet to send [06:31:22]OFD Sender: No OFD packet to send [06:31:27]OFD Sender: No OFD packet to send [06:31:32]OFD Sender: No OFD packet to send [06:31:37]OFD Sender: No OFD packet to send [06:31:42]OFD Sender: No OFD packet to send [06:31:47]OFD Sender: No OFD packet to send [06:31:52]OFD Sender: No OFD packet to send [06:31:57]OFD Sender: No OFD packet to send [06:32:02]OFD Sender: No OFD packet to send [06:32:07]OFD Sender: No OFD packet to send [06:32:12]OFD Sender: No OFD packet to send [06:32:17]OFD Sender: No OFD packet to send [06:32:22]OFD Sender: No OFD packet to send [06:32:27]OFD Sender: No OFD packet to send [06:32:32]OFD Sender: No OFD packet to send [06:32:37]OFD Sender: No OFD packet to send [06:32:42]OFD Sender: No OFD packet to send [06:32:47]OFD Sender: No OFD packet to send [06:32:52]OFD Sender: No OFD packet to send [06:32:57]OFD Sender: No OFD packet to send [06:33:02]OFD Sender: No OFD packet to send [06:33:07]OFD Sender: No OFD packet to send [06:33:12]OFD Sender: No OFD packet to send [06:33:17]OFD Sender: No OFD packet to send [06:33:22]OFD Sender: No OFD packet to send [06:33:27]OFD Sender: No OFD packet to send [06:33:32]OFD Sender: No OFD packet to send [06:33:37]OFD Sender: No OFD packet to send [06:33:42]OFD Sender: No OFD packet to send [06:33:47]OFD Sender: No OFD packet to send [06:33:52]OFD Sender: No OFD packet to send [06:33:57]OFD Sender: No OFD packet to send [06:34:02]OFD Sender: No OFD packet to send [06:34:07]OFD Sender: No OFD packet to send [06:34:12]OFD Sender: No OFD packet to send [06:34:17]OFD Sender: No OFD packet to send [06:34:22]OFD Sender: No OFD packet to send [06:34:27]OFD Sender: No OFD packet to send [06:34:32]OFD Sender: No OFD packet to send [06:34:37]OFD Sender: No OFD packet to send [06:34:42]OFD Sender: No OFD packet to send [06:34:47]OFD Sender: No OFD packet to send [06:34:52]OFD Sender: No OFD packet to send [06:34:57]OFD Sender: No OFD packet to send [06:35:02]OFD Sender: No OFD packet to send [06:35:07]OFD Sender: No OFD packet to send [06:35:12]OFD Sender: No OFD packet to send [06:35:17]OFD Sender: No OFD packet to send [06:35:22]OFD Sender: No OFD packet to send [06:35:27]OFD Sender: No OFD packet to send [06:35:32]OFD Sender: No OFD packet to send [06:35:37]OFD Sender: No OFD packet to send [06:35:42]OFD Sender: No OFD packet to send [06:35:47]OFD Sender: No OFD packet to send [06:35:52]OFD Sender: No OFD packet to send [06:35:57]OFD Sender: No OFD packet to send [06:36:02]OFD Sender: No OFD packet to send [06:36:07]OFD Sender: No OFD packet to send [06:36:12]OFD Sender: No OFD packet to send [06:36:17]OFD Sender: No OFD packet to send [06:36:22]OFD Sender: No OFD packet to send [06:36:27]OFD Sender: No OFD packet to send [06:36:32]OFD Sender: No OFD packet to send [06:36:37]OFD Sender: No OFD packet to send [06:36:42]OFD Sender: No OFD packet to send [06:36:47]OFD Sender: No OFD packet to send [06:36:52]OFD Sender: No OFD packet to send [06:36:57]OFD Sender: No OFD packet to send [06:37:02]OFD Sender: No OFD packet to send [06:37:07]OFD Sender: No OFD packet to send [06:37:12]OFD Sender: No OFD packet to send [06:37:17]OFD Sender: No OFD packet to send [06:37:22]OFD Sender: No OFD packet to send [06:37:27]OFD Sender: No OFD packet to send [06:37:32]OFD Sender: No OFD packet to send [06:37:37]OFD Sender: No OFD packet to send [06:37:42]OFD Sender: No OFD packet to send [06:37:47]OFD Sender: No OFD packet to send [06:37:52]OFD Sender: No OFD packet to send [06:37:58]OFD Sender: No OFD packet to send [06:38:03]OFD Sender: No OFD packet to send [06:38:08]OFD Sender: No OFD packet to send [06:38:13]OFD Sender: No OFD packet to send [06:38:17]accept exits with 9 [06:38:17]New connection [06:38:17]New thread 3067374948 created [06:38:17]Thread 3067518308 joined [06:38:17]Waiting for new connection... [06:38:17] Sock 9.Parse request [06:38:17]Sock 9.Check first char [06:38:17]Sock 9.First char is OK [06:38:17]request: POST /json_proto HTTP/1.0 [06:38:17]Method: POST [06:38:17]URL: /json_proto [06:38:17]Method is POST - this is cgi request [06:38:17]url: /json_proto [06:38:17]query_string will be loaded in cgi processing [06:38:17]execute_cgi json_proto POST (null) [06:38:17]execute_cgi path=json_proto method=POST [06:38:17]POST find Content-Length [06:38:17]Host: 172.17.42.3:8080 [06:38:17]Content-Length: 784 [06:38:17]Content-Type: application/json [06:38:17] [06:38:17]POST finish read [06:38:17]Found Content-Length = 784 [06:38:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17155", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:38:17]execute_script... [06:38: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)17155", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:38:17]POST & json_proto [06:38:17]process_json_proto [06:38:17]json parsed OK: [06:38:17]protocol is kg_v1.0 [06:38:17]action value=close_receipt [06:38:17]process_action close_receipt [06:38:17]cmd_close_receipt [06:38:17]MH_GetDate [06:38:17]Write to MH i2c: F0 00 00 D2 05 C6 [06:38:17]Write i2c OK [06:38:17]MH_I2C_Read... [06:38:17]Read from MH i2c: F0 [06:38:17]MH_I2C_Read... [06:38:17]Read from MH i2c: F0 09 00 [06:38:17]MH_I2C_Read... [06:38:17]Read from MH i2c: F0 09 00 D2 05 00 5B 31 1F 67 EA E5 1E 67 35 [06:38:17]GetLastDocTimeStamp 1730096155 [06:38:17]current date 1730097499 [06:38:17]FM_GetShiftState [06:38:17]SAM_PROTO_GetShiftState [06:38:17]wFMCommunicate request_size=4 [06:38:17]MH_SAM_APDU [06:38:17]CAPDU: 80 13 01 00 [06:38:17]Write to MH i2c: E2 08 00 D3 05 80 13 01 00 00 00 00 00 55 [06:38:17]Write i2c OK [06:38:17]MH_I2C_Read... [06:38:18]OFD Sender: No OFD packet to send [06:38:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:38:18]Read from MH i2c: E2 [06:38:18]MH_I2C_Read... [06:38:18]Read from MH i2c: E2 0E 00 [06:38:18]MH_I2C_Read... [06:38:18]Read from MH i2c: E2 0E 00 D3 05 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 50 [06:38:18]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [06:38:18]wFMCommunicate OK [06:38:18]SAM_PROTO_GetShiftState done [06:38:18]FM_GetShiftState done [06:38:18]opened in 1730074770 [06:38:18]opened+sec_in_day 1730161170 [06:38:18]quantity*price = 12500 [06:38:18]sum+1 = 12501 [06:38:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 0.00 Безнал.: 125.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 22 28.10.2024 06:38 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68117 ФПД: 35908016179272 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T063819&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68117&fm=35908016179272&tin=02508201610067®Number=0000000000091759&sum=12500 0 [06:38:19]StoreToDocumentArchive [06:38:19]shift 547 fd 68117 [06:38:19]save to /storage/0547/doc_00068117 [06:38:19]save last doc name /storage/0547/doc_00068117 to /storage/kkm_last_doc_name [06:38:19]save OK [06:38:19]Clear old archive folders... [06:38:19]ProcessDocumentItem done err = 0, tmpTLVsize=278 [06:38:19]tlvbuf is 009285B0 [06:38:19]SAM_PROTO_ClearQueue [06:38:19]wFMCommunicate request_size=4 [06:38:19]MH_SAM_APDU [06:38:19]CAPDU: 80 09 00 00 [06:38:19]Write to MH i2c: E2 08 00 E0 05 80 09 00 00 00 00 00 00 57 [06:38:19]Write i2c OK [06:38:19]MH_I2C_Read... [06:38:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:38:19]Read from MH i2c: E2 [06:38:19]MH_I2C_Read... [06:38:19]Read from MH i2c: E2 03 00 [06:38:19]MH_I2C_Read... [06:38:19]Read from MH i2c: E2 03 00 E0 05 00 90 00 59 [06:38:19]RAPDU: 90 00 [06:38:19]wFMCommunicate OK [06:38:19]SAM_PROTO_ClearQueue done [06:38:19]KKMCreateOFDPacket [06:38:19]OFDProtocolAddRootSTLVToBuf [06:38:19]FM_MakeSignedData [06:38:19]FM_MakeSignedData [06:38:19]SAM_PROTO_SignData [06:38:19]wFMCommunicate request_size=4 [06:38:19]MH_SAM_APDU [06:38:19]CAPDU: 80 0D 01 02 [06:38:19]Write to MH i2c: E2 08 00 E1 05 80 0D 01 02 00 00 00 00 5F [06:38:19]Write i2c OK [06:38:19]MH_I2C_Read... [06:38:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:38:19]Read from MH i2c: E2 [06:38:19]MH_I2C_Read... [06:38:19]Read from MH i2c: E2 03 00 [06:38:19]MH_I2C_Read... [06:38:19]Read from MH i2c: E2 03 00 E1 05 00 90 00 5A [06:38:19]RAPDU: 90 00 [06:38:19]wFMCommunicate OK [06:38:19]wFMCommunicate request_size=255 [06:38:19]MH_SAM_APDU [06:38:19]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 5B 31 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 [06:38:19]Write to MH i2c: E2 02 01 E2 05 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 5B 31 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 00 00 5E [06:38:19]Write i2c OK [06:38:19]MH_I2C_Read... [06:38:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:38:19]Read from MH i2c: E2 [06:38:19]MH_I2C_Read... [06:38:19]Read from MH i2c: E2 03 00 [06:38:19]MH_I2C_Read... [06:38:19]Read from MH i2c: E2 03 00 E2 05 00 90 00 5B [06:38:19]RAPDU: 90 00 [06:38:19]wFMCommunicate OK [06:38:19]wFMCommunicate request_size=37 [06:38:19]MH_SAM_APDU [06:38:19]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 15 0A 01 00 35 04 06 00 20 A8 7C 8C 88 48 [06:38:19]Write to MH i2c: E2 28 00 E3 05 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 15 0A 01 00 35 04 06 00 20 A8 7C 8C 88 48 00 00 7D [06:38:19]Write i2c OK [06:38:19]MH_I2C_Read... [06:38:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:38:19]Read from MH i2c: E2 [06:38:19]MH_I2C_Read... [06:38:19]Read from MH i2c: E2 03 00 [06:38:19]MH_I2C_Read... [06:38:19]Read from MH i2c: E2 03 00 E3 05 00 90 00 5C [06:38:19]RAPDU: 90 00 [06:38:19]wFMCommunicate OK [06:38:19]wFMCommunicate request_size=4 [06:38:19]MH_SAM_APDU [06:38:19]CAPDU: 80 0D 03 02 [06:38:19]Write to MH i2c: E2 08 00 E4 05 80 0D 03 02 00 00 00 00 64 [06:38:19]Write i2c OK [06:38:19]MH_I2C_Read... [06:38:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:38:19]Read from MH i2c: E2 [06:38:19]MH_I2C_Read... [06:38:19]Read from MH i2c: E2 0B 00 [06:38:19]MH_I2C_Read... [06:38:19]Read from MH i2c: E2 0B 00 E4 05 00 49 4E A5 58 75 B1 42 17 90 00 78 [06:38:19]RAPDU: 49 4E A5 58 75 B1 42 17 90 00 [06:38:19]wFMCommunicate OK [06:38:19]SAM_PROTO_SignData done [06:38:19]FM_MakeSignedData done [06:38:19]CreateOFDProtocolMessage [06:38:19]wFMCommunicate request_size=4 [06:38:19]MH_SAM_APDU [06:38:19]CAPDU: 80 11 00 00 [06:38:19]Write to MH i2c: E2 08 00 E5 05 80 11 00 00 00 00 00 00 64 [06:38:19]Write i2c OK [06:38:19]MH_I2C_Read... [06:38:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:38:19]Read from MH i2c: E2 [06:38:19]MH_I2C_Read... [06:38:19]Read from MH i2c: E2 17 00 [06:38:19]MH_I2C_Read... [06:38:19]Read from MH i2c: E2 17 00 E5 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 BB [06:38:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [06:38:19]wFMCommunicate OK [06:38:19]CreateOFDProtocolMessage done [06:38:19]OFDSenderStorePacket 68117 [06:38:19]StoreOFDPacket docnum=68117 [06:38:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2A 01 00 00 68 5E 22 01 D7 5A 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 5B 31 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 15 0A 01 00 35 04 06 00 20 A8 7C 8C 88 48 49 4E A5 58 75 B1 42 17 [06:38:19]CheckFolder [06:38:19]dirname=/storage/ofd_packets [06:38:19]CheckFolder done [06:38:19]ProducePacketName [06:38:19]name=ofd_packets/00068117 [06:38:19]NVStorageSaveData ofd_packets/00068117 [06:38:19]File name is /storage/ofd_packets/00068117 [06:38:19]Write 328 bytes [06:38:19]NVStorageSaveData done [06:38:19]OFDSenderStorePacket done [06:38:19]KKMCreateOFDPacket done [06:38:19]NVStorageSaveData kkm_last_timestamp [06:38:19]File name is /storage/kkm_last_timestamp [06:38:19]Write 4 bytes [06:38:19]NVStorageSaveData done [06:38:19]ExternCall_PrintAddStr [06:38:19]wPrintStart [06:38:19]Write to MH i2c: 01 00 00 E6 05 EB [06:38:19]Write i2c OK [06:38:19]MH_I2C_Read... [06:38:19]Read from MH i2c: 01 [06:38:19]MH_I2C_Read... [06:38:19]Read from MH i2c: 01 07 00 [06:38:19]MH_I2C_Read... [06:38:19]Read from MH i2c: 01 07 00 E6 05 00 00 00 00 00 FF 0F 00 [06:38:19]RasterBufferAndPrint [06:38:19]line Счет N : (3)17155 [06:38:19]line ИНН: 02508201610067 [06:38:19]line Контрольно-Кассовый Чек [06:38:19]line ПРОДАЖА [06:38:19]line Товар: 5449000054227 [06:38:19]line Напиток Кока-Кола 1л [06:38:19]line 1.000 * 125.00 [06:38:19]line = 125.00 [06:38:19]line НДС 12% НСП 1% [06:38:19]line > о реализуемом товаре [06:38:19]line ИТОГО: 125.00 [06:38:19]line НСП 1% : 1.11 [06:38:19]line НДС 12% : 13.27 [06:38:19]line Наличными: 0.00 [06:38:19]line Безнал.: 125.00 [06:38:19]line Место: АЗС № 160 "Партнер Нефть" [06:38:19]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [06:38:19]line СНО: Общий режим [06:38:19]line Чек 22 28.10.2024 06:38 [06:38:19]line Смена: 547 ФФД: 1.0 [06:38:19]line ЗНМ: 0300000093 [06:38:19]line РНМ: 0000000000091759 [06:38:19]line Версия ККМ: 001 [06:38:19]line Платежная система: Mbank [06:38:19]line ФМ: 0000000000871758 [06:38:19]line ФД: 68117 [06:38:19]line ФПД: 35908016179272 [06:38:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T063819&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68117&fm=35908016179272&tin=02508201610067®Number=0000000000091759&sum=12500 [06:38:20]line 0 [06:38:20]OFD Sender: Processing packet 68117 [packets to send 27, broken 26] [06:38:20]ProducePacketName [06:38:20]name=ofd_packets/00068117 [06:38:20]OFD Sender: To server: pG, [06:38:20]CommunicateWithHost lk.salyk.kg:30040 [06:38:20]ConnectInit lk.salyk.kg [06:38:20]written 0, free lines is 4095 [06:38:20]Connected sock=10 [06:38:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2A 01 00 00 68 5E 22 01 D7 5A 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 5B 31 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 15 0A 01 00 35 04 06 00 20 A8 7C 8C 88 48 49 4E A5 58 75 B1 42 17 [06:38:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 63 23 47 00 EE 21 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 15 0A 01 00 F4 03 04 00 15 DD 1E 67 B6 04 01 00 00 6A AD 58 07 02 B7 8F D4 [06:38:20]CommunicateWithHost err = 0 [06:38:20]CheckOFDResponse [06:38:20]1017 (14) - 77093643461234 [06:38:20]1041 (16) - 0000000000871758 [06:38:20]1040 (4) - 68117 [06:38:20]1012 (4) - 28.10.2024 00:38 [06:38:20]1206 (1) - 0 [06:38:20]OFD Sender: Remove packet 68117 [06:38:20]ProducePacketName [06:38:20]name=ofd_packets/00068117 [06:38:20]NVStorageDeleteData [06:38:20]Write to MH i2c: 01 00 00 0E 06 14 [06:38:20]Write i2c OK [06:38:20]MH_I2C_Read... [06:38:20]Read from MH i2c: 01 [06:38:20]MH_I2C_Read... [06:38:20]Read from MH i2c: 01 07 00 [06:38:20]MH_I2C_Read... [06:38:20]Read from MH i2c: 01 07 00 0E 06 00 00 00 00 00 CB 0C F2 [06:38:20]RasterBufferAndPrint [06:38:20]line [06:38:20]line [06:38:20]line [06:38:20]line [06:38:20]line [06:38:20]written 0, free lines is 3280 [06:38:20]MH_Cut [06:38:20]Write to MH i2c: D1 01 00 15 06 01 ED [06:38:20]Write i2c OK [06:38:20]MH_I2C_Read... [06:38:20]Read from MH i2c: D1 [06:38:20]MH_I2C_Read... [06:38:20]Read from MH i2c: D1 01 00 [06:38:20]MH_I2C_Read... [06:38:20]Read from MH i2c: D1 01 00 15 06 00 EC [06:38:20]Write to MH i2c: 01 00 00 16 06 1C [06:38:20]Write i2c OK [06:38:20]MH_I2C_Read... [06:38:20]OFD Sender: No OFD packet to send [06:38:21]*** Cut start [06:38:21]*** Partial cut [06:38:21]*** CUTSNS_PIN = 1 [06:38:21]*** CUTSNS_PIN = 0 [06:38:21]*** Brake cut motor [06:38:21]Read from MH i2c: 01 [06:38:21]MH_I2C_Read... [06:38:21]*** Stop cut motor [06:38:21]*** Cut end [06:38:21]Read from MH i2c: 01 07 00 [06:38:21]MH_I2C_Read... [06:38:21]Read from MH i2c: 01 07 00 16 06 00 00 00 00 00 FF 0F 31 [06:38:21]process_action close_receipt done [06:38:21]requested_data is exist [06:38:21]produce_requested_data [06:38:21]requested_item fm.sn is exist - process it [06:38:21]wFMCommunicate request_size=4 [06:38:21]MH_SAM_APDU [06:38:21]CAPDU: 80 11 00 00 [06:38:21]Write to MH i2c: E2 08 00 17 06 80 11 00 00 00 00 00 00 97 [06:38:21]Write i2c OK [06:38:21]MH_I2C_Read... [06:38:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:38:21]Read from MH i2c: E2 [06:38:21]MH_I2C_Read... [06:38:21]Read from MH i2c: E2 17 00 [06:38:21]MH_I2C_Read... [06:38:21]Read from MH i2c: E2 17 00 17 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 EE [06:38:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [06:38:21]wFMCommunicate OK [06:38:21]requested_item fd.num is exist - process it [06:38:21]SAM_PROTO_GetFieldsCounters [06:38:21]wFMCommunicate request_size=4 [06:38:21]MH_SAM_APDU [06:38:21]CAPDU: 80 13 00 00 [06:38:21]Write to MH i2c: E2 08 00 18 06 80 13 00 00 00 00 00 00 9A [06:38:21]Write i2c OK [06:38:21]MH_I2C_Read... [06:38:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:38:22]Read from MH i2c: E2 [06:38:22]MH_I2C_Read... [06:38:22]Read from MH i2c: E2 62 00 [06:38:22]MH_I2C_Read... [06:38:22]Read from MH i2c: E2 62 00 18 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 15 0A 01 00 0E 04 04 00 23 02 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 4C [06:38:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 15 0A 01 00 0E 04 04 00 23 02 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 [06:38:22]wFMCommunicate OK [06:38:22]SAM_PROTO_GetFieldsCounters done [06:38:22]requested_item shift.num is exist - process it [06:38:22]requested_item shift.opened is exist - process it [06:38:22]req_shift_opened [06:38:22]FM_GetShiftState [06:38:22]SAM_PROTO_GetShiftState [06:38:22]wFMCommunicate request_size=4 [06:38:22]MH_SAM_APDU [06:38:22]CAPDU: 80 13 01 00 [06:38:22]Write to MH i2c: E2 08 00 19 06 80 13 01 00 00 00 00 00 9C [06:38:22]Write i2c OK [06:38:22]MH_I2C_Read... [06:38:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:38:22]Read from MH i2c: E2 [06:38:22]MH_I2C_Read... [06:38:22]Read from MH i2c: E2 0E 00 [06:38:22]MH_I2C_Read... [06:38:22]Read from MH i2c: E2 0E 00 19 06 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 97 [06:38:22]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [06:38:22]wFMCommunicate OK [06:38:22]SAM_PROTO_GetShiftState done [06:38:22]FM_GetShiftState done [06:38:22]req_shift_opened done [06:38:22]requested_item shift.open_date is exist - process it [06:38:22]req_shift_open_date [06:38:22]req_shift_open_date done [06:38:22]produce_requested_data done [06:38:22]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68117,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [06:38:22]process_action_free close_receipt [06:38:22]json_value_free [06:38:22]json_value_free done [06:38:22]process_json_proto returns [06:38:22]Send response to host [06:38:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68117,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [06:38:22]free response buf [06:38:22]execute_script done [06:38:22]execute_script returns [06:38:22]free content buf [06:38:22]Sock 9.Close socket [06:38:22]Sock 9.Thread stoped [06:38:25]OFD Sender: No OFD packet to send [06:38:30]OFD Sender: No OFD packet to send [06:38:35]OFD Sender: No OFD packet to send [06:38:40]OFD Sender: No OFD packet to send [06:38:45]OFD Sender: No OFD packet to send [06:38:50]OFD Sender: No OFD packet to send [06:38:55]OFD Sender: No OFD packet to send [06:39:00]OFD Sender: No OFD packet to send [06:39:05]OFD Sender: No OFD packet to send [06:39:10]accept exits with 8 [06:39:10]New connection [06:39:10]New thread 3067518308 created [06:39:10]Thread 3067374948 joined [06:39:10]Waiting for new connection... [06:39:10] Sock 8.Parse request [06:39:10]Sock 8.Check first char [06:39:10]Sock 8.First char is OK [06:39:10]request: POST /json_proto HTTP/1.0 [06:39:10]Method: POST [06:39:10]URL: /json_proto [06:39:10]Method is POST - this is cgi request [06:39:10]url: /json_proto [06:39:10]query_string will be loaded in cgi processing [06:39:10]execute_cgi json_proto POST (null) [06:39:10]execute_cgi path=json_proto method=POST [06:39:10]POST find Content-Length [06:39:10]Host: 172.17.42.3:8080 [06:39:10]Content-Length: 730 [06:39:10]Content-Type: application/json [06:39:10] [06:39:10]POST finish read [06:39:10]Found Content-Length = 730 [06:39:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17156", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 44.00, "quantity" : 1.000, "sum" : 44.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: Mbank", "payments": [ { "type": 1, "sum" : 44.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:39:10]execute_script... [06:39: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)17156", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 44.00, "quantity" : 1.000, "sum" : 44.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: Mbank", "payments": [ { "type": 1, "sum" : 44.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:39:10]POST & json_proto [06:39:10]process_json_proto [06:39:10]json parsed OK: [06:39:10]protocol is kg_v1.0 [06:39:10]action value=close_receipt [06:39:10]process_action close_receipt [06:39:10]cmd_close_receipt [06:39:10]MH_GetDate [06:39:10]Write to MH i2c: F0 00 00 1A 06 0F [06:39:10]Write i2c OK [06:39:10]MH_I2C_Read... [06:39:10]Read from MH i2c: F0 [06:39:10]MH_I2C_Read... [06:39:10]Read from MH i2c: F0 09 00 [06:39:10]MH_I2C_Read... [06:39:10]Read from MH i2c: F0 09 00 1A 06 00 8F 31 1F 67 EA E5 1E 67 B2 [06:39:10]GetLastDocTimeStamp 1730097499 [06:39:10]current date 1730097551 [06:39:10]FM_GetShiftState [06:39:10]SAM_PROTO_GetShiftState [06:39:10]wFMCommunicate request_size=4 [06:39:10]MH_SAM_APDU [06:39:10]CAPDU: 80 13 01 00 [06:39:10]Write to MH i2c: E2 08 00 1B 06 80 13 01 00 00 00 00 00 9E [06:39:10]Write i2c OK [06:39:10]MH_I2C_Read... [06:39:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:39:10]Read from MH i2c: E2 [06:39:10]MH_I2C_Read... [06:39:10]Read from MH i2c: E2 0E 00 [06:39:10]MH_I2C_Read... [06:39:10]Read from MH i2c: E2 0E 00 1B 06 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 99 [06:39:10]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [06:39:10]wFMCommunicate OK [06:39:10]SAM_PROTO_GetShiftState done [06:39:10]FM_GetShiftState done [06:39:10]opened in 1730074770 [06:39:10]opened+sec_in_day 1730161170 [06:39:10]quantity*price = 4400 [06:39:10]sum+1 = 4401 [06:39:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 44.00 НСП 1% : 0.39 НДС 12% : 4.67 Наличными: 0.00 Безнал.: 44.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 23 28.10.2024 06:39 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68118 ФПД: 823381009371 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T063911&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68118&fm=823381009371&tin=02508201610067®Number=0000000000091759&sum=4400 0 [06:39:11]StoreToDocumentArchive [06:39:11]shift 547 fd 68118 [06:39:11]save to /storage/0547/doc_00068118 [06:39:11]save last doc name /storage/0547/doc_00068118 to /storage/kkm_last_doc_name [06:39:11]save OK [06:39:11]Clear old archive folders... [06:39:11]ProcessDocumentItem done err = 0, tmpTLVsize=275 [06:39:11]tlvbuf is B6F32980 [06:39:11]SAM_PROTO_ClearQueue [06:39:11]wFMCommunicate request_size=4 [06:39:11]MH_SAM_APDU [06:39:11]CAPDU: 80 09 00 00 [06:39:11]Write to MH i2c: E2 08 00 28 06 80 09 00 00 00 00 00 00 A0 [06:39:11]Write i2c OK [06:39:11]MH_I2C_Read... [06:39:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:39:11]Read from MH i2c: E2 [06:39:11]MH_I2C_Read... [06:39:11]Read from MH i2c: E2 03 00 [06:39:11]MH_I2C_Read... [06:39:11]Read from MH i2c: E2 03 00 28 06 00 90 00 A2 [06:39:11]RAPDU: 90 00 [06:39:11]wFMCommunicate OK [06:39:11]SAM_PROTO_ClearQueue done [06:39:11]KKMCreateOFDPacket [06:39:11]OFDProtocolAddRootSTLVToBuf [06:39:11]FM_MakeSignedData [06:39:11]FM_MakeSignedData [06:39:11]SAM_PROTO_SignData [06:39:11]wFMCommunicate request_size=4 [06:39:11]MH_SAM_APDU [06:39:11]CAPDU: 80 0D 01 02 [06:39:11]Write to MH i2c: E2 08 00 29 06 80 0D 01 02 00 00 00 00 A8 [06:39:11]Write i2c OK [06:39:11]MH_I2C_Read... [06:39:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:39:11]Read from MH i2c: E2 [06:39:11]MH_I2C_Read... [06:39:11]Read from MH i2c: E2 03 00 [06:39:11]MH_I2C_Read... [06:39:11]Read from MH i2c: E2 03 00 29 06 00 90 00 A3 [06:39:11]RAPDU: 90 00 [06:39:11]wFMCommunicate OK [06:39:11]wFMCommunicate request_size=255 [06:39:11]MH_SAM_APDU [06:39:11]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 8F 31 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 [06:39:11]Write to MH i2c: E2 02 01 2A 06 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 8F 31 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 00 00 CA [06:39:11]Write i2c OK [06:39:11]MH_I2C_Read... [06:39:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:39:11]Read from MH i2c: E2 [06:39:11]MH_I2C_Read... [06:39:11]Read from MH i2c: E2 03 00 [06:39:11]MH_I2C_Read... [06:39:11]Read from MH i2c: E2 03 00 2A 06 00 90 00 A4 [06:39:11]RAPDU: 90 00 [06:39:11]wFMCommunicate OK [06:39:11]wFMCommunicate request_size=34 [06:39:11]MH_SAM_APDU [06:39:11]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 16 0A 01 00 35 04 06 00 00 BF B5 55 23 DB [06:39:11]Write to MH i2c: E2 25 00 2B 06 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 16 0A 01 00 35 04 06 00 00 BF B5 55 23 DB 00 00 58 [06:39:11]Write i2c OK [06:39:11]MH_I2C_Read... [06:39:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:39:11]Read from MH i2c: E2 [06:39:11]MH_I2C_Read... [06:39:11]Read from MH i2c: E2 03 00 [06:39:11]MH_I2C_Read... [06:39:11]Read from MH i2c: E2 03 00 2B 06 00 90 00 A5 [06:39:11]RAPDU: 90 00 [06:39:11]wFMCommunicate OK [06:39:11]wFMCommunicate request_size=4 [06:39:11]MH_SAM_APDU [06:39:11]CAPDU: 80 0D 03 02 [06:39:11]Write to MH i2c: E2 08 00 2C 06 80 0D 03 02 00 00 00 00 AD [06:39:11]Write i2c OK [06:39:11]MH_I2C_Read... [06:39:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:39:11]Read from MH i2c: E2 [06:39:11]MH_I2C_Read... [06:39:11]Read from MH i2c: E2 0B 00 [06:39:11]MH_I2C_Read... [06:39:11]Read from MH i2c: E2 0B 00 2C 06 00 46 75 75 B8 75 65 5B F0 90 00 BB [06:39:11]RAPDU: 46 75 75 B8 75 65 5B F0 90 00 [06:39:11]wFMCommunicate OK [06:39:11]SAM_PROTO_SignData done [06:39:11]FM_MakeSignedData done [06:39:11]CreateOFDProtocolMessage [06:39:11]wFMCommunicate request_size=4 [06:39:11]MH_SAM_APDU [06:39:11]CAPDU: 80 11 00 00 [06:39:11]Write to MH i2c: E2 08 00 2D 06 80 11 00 00 00 00 00 00 AD [06:39:11]Write i2c OK [06:39:11]MH_I2C_Read... [06:39:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:39:11]Read from MH i2c: E2 [06:39:11]MH_I2C_Read... [06:39:11]Read from MH i2c: E2 17 00 [06:39:11]MH_I2C_Read... [06:39:11]Read from MH i2c: E2 17 00 2D 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 04 [06:39:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [06:39:11]wFMCommunicate OK [06:39:11]CreateOFDProtocolMessage done [06:39:11]OFDSenderStorePacket 68118 [06:39:11]StoreOFDPacket docnum=68118 [06:39:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 27 01 00 00 69 13 1F 01 01 21 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 8F 31 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 16 0A 01 00 35 04 06 00 00 BF B5 55 23 DB 46 75 75 B8 75 65 5B F0 [06:39:11]CheckFolder [06:39:11]dirname=/storage/ofd_packets [06:39:11]CheckFolder done [06:39:11]ProducePacketName [06:39:11]name=ofd_packets/00068118 [06:39:11]NVStorageSaveData ofd_packets/00068118 [06:39:11]File name is /storage/ofd_packets/00068118 [06:39:11]Write 325 bytes [06:39:11]NVStorageSaveData done [06:39:11]OFDSenderStorePacket done [06:39:11]KKMCreateOFDPacket done [06:39:11]NVStorageSaveData kkm_last_timestamp [06:39:11]File name is /storage/kkm_last_timestamp [06:39:11]Write 4 bytes [06:39:11]NVStorageSaveData done [06:39:11]ExternCall_PrintAddStr [06:39:11]wPrintStart [06:39:11]Write to MH i2c: 01 00 00 2E 06 34 [06:39:11]Write i2c OK [06:39:11]MH_I2C_Read... [06:39:11]Read from MH i2c: 01 [06:39:11]MH_I2C_Read... [06:39:11]Read from MH i2c: 01 07 00 [06:39:11]MH_I2C_Read... [06:39:11]Read from MH i2c: 01 07 00 2E 06 00 00 00 00 00 FF 0F 49 [06:39:11]RasterBufferAndPrint [06:39:11]line Счет N : (3)17156 [06:39:11]line ИНН: 02508201610067 [06:39:11]line Контрольно-Кассовый Чек [06:39:11]line ПРОДАЖА [06:39:11]line Товар: 4870112003925 [06:39:11]line Конд ULKER-Albeni 40gr (6*24) [06:39:11]line 1.000 * 44.00 [06:39:11]line = 44.00 [06:39:11]line НДС 12% НСП 1% [06:39:11]line > о реализуемом товаре [06:39:11]line ИТОГО: 44.00 [06:39:11]line НСП 1% : 0.39 [06:39:11]line НДС 12% : 4.67 [06:39:11]line Наличными: 0.00 [06:39:11]line Безнал.: 44.00 [06:39:11]line Место: АЗС № 160 "Партнер Нефть" [06:39:11]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [06:39:11]line СНО: Общий режим [06:39:11]line Чек 23 28.10.2024 06:39 [06:39:11]line Смена: 547 ФФД: 1.0 [06:39:11]line ЗНМ: 0300000093 [06:39:11]line РНМ: 0000000000091759 [06:39:11]line Версия ККМ: 001 [06:39:11]line Платежная система: Mbank [06:39:11]line ФМ: 0000000000871758 [06:39:11]line ФД: 68118 [06:39:11]line ФПД: 823381009371 [06:39:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T063911&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68118&fm=823381009371&tin=02508201610067®Number=0000000000091759&sum=4400 [06:39:12]line 0 [06:39:12]OFD Sender: Processing packet 68118 [packets to send 27, broken 26] [06:39:12]ProducePacketName [06:39:12]name=ofd_packets/00068118 [06:39:12]OFD Sender: To server: pG, [06:39:12]CommunicateWithHost lk.salyk.kg:30040 [06:39:12]ConnectInit lk.salyk.kg [06:39:12]written 0, free lines is 4095 [06:39:12]Connected sock=10 [06:39:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 27 01 00 00 69 13 1F 01 01 21 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 8F 31 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 16 0A 01 00 35 04 06 00 00 BF B5 55 23 DB 46 75 75 B8 75 65 5B F0 [06:39:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 D9 03 47 00 08 03 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 16 0A 01 00 F4 03 04 00 49 DD 1E 67 B6 04 01 00 00 AE 6F B7 88 33 46 37 B6 [06:39:12]CommunicateWithHost err = 0 [06:39:12]CheckOFDResponse [06:39:12]1017 (14) - 77093643461234 [06:39:12]1041 (16) - 0000000000871758 [06:39:12]1040 (4) - 68118 [06:39:12]1012 (4) - 28.10.2024 00:39 [06:39:12]1206 (1) - 0 [06:39:12]OFD Sender: Remove packet 68118 [06:39:12]ProducePacketName [06:39:12]name=ofd_packets/00068118 [06:39:12]NVStorageDeleteData [06:39:12]Write to MH i2c: 01 00 00 56 06 5C [06:39:12]Write i2c OK [06:39:12]MH_I2C_Read... [06:39:12]Read from MH i2c: 01 [06:39:12]MH_I2C_Read... [06:39:12]Read from MH i2c: 01 07 00 [06:39:12]MH_I2C_Read... [06:39:12]Read from MH i2c: 01 07 00 56 06 00 00 00 00 00 C6 0C 35 [06:39:12]RasterBufferAndPrint [06:39:12]line [06:39:12]line [06:39:12]line [06:39:12]line [06:39:12]line [06:39:12]written 0, free lines is 3273 [06:39:12]MH_Cut [06:39:12]Write to MH i2c: D1 01 00 5D 06 01 35 [06:39:12]Write i2c OK [06:39:12]MH_I2C_Read... [06:39:12]Read from MH i2c: D1 [06:39:12]MH_I2C_Read... [06:39:12]Read from MH i2c: D1 01 00 [06:39:12]MH_I2C_Read... [06:39:12]Read from MH i2c: D1 01 00 5D 06 00 34 [06:39:12]Write to MH i2c: 01 00 00 5E 06 64 [06:39:12]Write i2c OK [06:39:12]MH_I2C_Read... [06:39:12]OFD Sender: No OFD packet to send [06:39:13]*** Cut start [06:39:13]*** Partial cut [06:39:13]*** CUTSNS_PIN = 1 [06:39:13]*** CUTSNS_PIN = 0 [06:39:13]*** Brake cut motor [06:39:13]Read from MH i2c: 01 [06:39:13]MH_I2C_Read... [06:39:13]*** Stop cut motor [06:39:13]*** Cut end [06:39:13]Read from MH i2c: 01 07 00 [06:39:13]MH_I2C_Read... [06:39:13]Read from MH i2c: 01 07 00 5E 06 00 00 00 00 00 FF 0F 79 [06:39:13]process_action close_receipt done [06:39:13]requested_data is exist [06:39:13]produce_requested_data [06:39:13]requested_item fm.sn is exist - process it [06:39:13]wFMCommunicate request_size=4 [06:39:13]MH_SAM_APDU [06:39:13]CAPDU: 80 11 00 00 [06:39:13]Write to MH i2c: E2 08 00 5F 06 80 11 00 00 00 00 00 00 DF [06:39:13]Write i2c OK [06:39:13]MH_I2C_Read... [06:39:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:39:14]Read from MH i2c: E2 [06:39:14]MH_I2C_Read... [06:39:14]Read from MH i2c: E2 17 00 [06:39:14]MH_I2C_Read... [06:39:14]Read from MH i2c: E2 17 00 5F 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 36 [06:39:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [06:39:14]wFMCommunicate OK [06:39:14]requested_item fd.num is exist - process it [06:39:14]SAM_PROTO_GetFieldsCounters [06:39:14]wFMCommunicate request_size=4 [06:39:14]MH_SAM_APDU [06:39:14]CAPDU: 80 13 00 00 [06:39:14]Write to MH i2c: E2 08 00 60 06 80 13 00 00 00 00 00 00 E2 [06:39:14]Write i2c OK [06:39:14]MH_I2C_Read... [06:39:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:39:14]Read from MH i2c: E2 [06:39:14]MH_I2C_Read... [06:39:14]Read from MH i2c: E2 62 00 [06:39:14]MH_I2C_Read... [06:39:14]Read from MH i2c: E2 62 00 60 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 16 0A 01 00 0E 04 04 00 23 02 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 98 [06:39:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 16 0A 01 00 0E 04 04 00 23 02 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 [06:39:14]wFMCommunicate OK [06:39:14]SAM_PROTO_GetFieldsCounters done [06:39:14]requested_item shift.num is exist - process it [06:39:14]requested_item shift.opened is exist - process it [06:39:14]req_shift_opened [06:39:14]FM_GetShiftState [06:39:14]SAM_PROTO_GetShiftState [06:39:14]wFMCommunicate request_size=4 [06:39:14]MH_SAM_APDU [06:39:14]CAPDU: 80 13 01 00 [06:39:14]Write to MH i2c: E2 08 00 61 06 80 13 01 00 00 00 00 00 E4 [06:39:14]Write i2c OK [06:39:14]MH_I2C_Read... [06:39:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:39:14]Read from MH i2c: E2 [06:39:14]MH_I2C_Read... [06:39:14]Read from MH i2c: E2 0E 00 [06:39:14]MH_I2C_Read... [06:39:14]Read from MH i2c: E2 0E 00 61 06 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 DF [06:39:14]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [06:39:14]wFMCommunicate OK [06:39:14]SAM_PROTO_GetShiftState done [06:39:14]FM_GetShiftState done [06:39:14]req_shift_opened done [06:39:14]requested_item shift.open_date is exist - process it [06:39:14]req_shift_open_date [06:39:14]req_shift_open_date done [06:39:14]produce_requested_data done [06:39:14]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68118,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [06:39:14]process_action_free close_receipt [06:39:14]json_value_free [06:39:14]json_value_free done [06:39:14]process_json_proto returns [06:39:14]Send response to host [06:39:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68118,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [06:39:14]free response buf [06:39:14]execute_script done [06:39:14]execute_script returns [06:39:14]free content buf [06:39:14]Sock 8.Close socket [06:39:14]Sock 8.Thread stoped [06:39:17]OFD Sender: No OFD packet to send [06:39:22]OFD Sender: No OFD packet to send [06:39:27]OFD Sender: No OFD packet to send [06:39:32]OFD Sender: No OFD packet to send [06:39:37]OFD Sender: No OFD packet to send [06:39:42]OFD Sender: No OFD packet to send [06:39:47]OFD Sender: No OFD packet to send [06:39:52]OFD Sender: No OFD packet to send [06:39:57]OFD Sender: No OFD packet to send [06:40:02]OFD Sender: No OFD packet to send [06:40:07]OFD Sender: No OFD packet to send [06:40:12]OFD Sender: No OFD packet to send [06:40:17]OFD Sender: No OFD packet to send [06:40:22]OFD Sender: No OFD packet to send [06:40:27]OFD Sender: No OFD packet to send [06:40:32]OFD Sender: No OFD packet to send [06:40:37]OFD Sender: No OFD packet to send [06:40:42]OFD Sender: No OFD packet to send [06:40:47]OFD Sender: No OFD packet to send [06:40:53]OFD Sender: No OFD packet to send [06:40:58]OFD Sender: No OFD packet to send [06:41:03]OFD Sender: No OFD packet to send [06:41:08]OFD Sender: No OFD packet to send [06:41:13]OFD Sender: No OFD packet to send [06:41:18]OFD Sender: No OFD packet to send [06:41:23]OFD Sender: No OFD packet to send [06:41:28]OFD Sender: No OFD packet to send [06:41:33]OFD Sender: No OFD packet to send [06:41:38]OFD Sender: No OFD packet to send [06:41:43]OFD Sender: No OFD packet to send [06:41:48]OFD Sender: No OFD packet to send [06:41:53]OFD Sender: No OFD packet to send [06:41:58]OFD Sender: No OFD packet to send [06:42:03]OFD Sender: No OFD packet to send [06:42:08]OFD Sender: No OFD packet to send [06:42:13]OFD Sender: No OFD packet to send [06:42:18]OFD Sender: No OFD packet to send [06:42:23]OFD Sender: No OFD packet to send [06:42:28]OFD Sender: No OFD packet to send [06:42:33]OFD Sender: No OFD packet to send [06:42:38]OFD Sender: No OFD packet to send [06:42:43]OFD Sender: No OFD packet to send [06:42:48]OFD Sender: No OFD packet to send [06:42:53]OFD Sender: No OFD packet to send [06:42:58]OFD Sender: No OFD packet to send [06:43:03]OFD Sender: No OFD packet to send [06:43:08]OFD Sender: No OFD packet to send [06:43:13]OFD Sender: No OFD packet to send [06:43:18]OFD Sender: No OFD packet to send [06:43:23]OFD Sender: No OFD packet to send [06:43:28]OFD Sender: No OFD packet to send [06:43:33]OFD Sender: No OFD packet to send [06:43:38]OFD Sender: No OFD packet to send [06:43:43]OFD Sender: No OFD packet to send [06:43:48]OFD Sender: No OFD packet to send [06:43:53]OFD Sender: No OFD packet to send [06:43:58]OFD Sender: No OFD packet to send [06:44:03]OFD Sender: No OFD packet to send [06:44:08]OFD Sender: No OFD packet to send [06:44:13]OFD Sender: No OFD packet to send [06:44:18]OFD Sender: No OFD packet to send [06:44:23]OFD Sender: No OFD packet to send [06:44:28]OFD Sender: No OFD packet to send [06:44:33]OFD Sender: No OFD packet to send [06:44:38]OFD Sender: No OFD packet to send [06:44:43]OFD Sender: No OFD packet to send [06:44:48]OFD Sender: No OFD packet to send [06:44:53]OFD Sender: No OFD packet to send [06:44:58]OFD Sender: No OFD packet to send [06:45:03]OFD Sender: No OFD packet to send [06:45:08]OFD Sender: No OFD packet to send [06:45:13]OFD Sender: No OFD packet to send [06:45:18]OFD Sender: No OFD packet to send [06:45:23]OFD Sender: No OFD packet to send [06:45:28]OFD Sender: No OFD packet to send [06:45:33]OFD Sender: No OFD packet to send [06:45:38]OFD Sender: No OFD packet to send [06:45:43]OFD Sender: No OFD packet to send [06:45:48]OFD Sender: No OFD packet to send [06:45:53]OFD Sender: No OFD packet to send [06:45:58]OFD Sender: No OFD packet to send [06:46:03]OFD Sender: No OFD packet to send [06:46:08]OFD Sender: No OFD packet to send [06:46:13]OFD Sender: No OFD packet to send [06:46:18]OFD Sender: No OFD packet to send [06:46:23]OFD Sender: No OFD packet to send [06:46:28]OFD Sender: No OFD packet to send [06:46:33]OFD Sender: No OFD packet to send [06:46:38]OFD Sender: No OFD packet to send [06:46:43]OFD Sender: No OFD packet to send [06:46:48]OFD Sender: No OFD packet to send [06:46:53]OFD Sender: No OFD packet to send [06:46:58]OFD Sender: No OFD packet to send [06:47:03]OFD Sender: No OFD packet to send [06:47:08]OFD Sender: No OFD packet to send [06:47:13]OFD Sender: No OFD packet to send [06:47:18]OFD Sender: No OFD packet to send [06:47:23]OFD Sender: No OFD packet to send [06:47:28]OFD Sender: No OFD packet to send [06:47:33]OFD Sender: No OFD packet to send [06:47:38]OFD Sender: No OFD packet to send [06:47:43]OFD Sender: No OFD packet to send [06:47:48]OFD Sender: No OFD packet to send [06:47:53]OFD Sender: No OFD packet to send [06:47:58]OFD Sender: No OFD packet to send [06:48:03]OFD Sender: No OFD packet to send [06:48:08]OFD Sender: No OFD packet to send [06:48:13]OFD Sender: No OFD packet to send [06:48:18]OFD Sender: No OFD packet to send [06:48:23]OFD Sender: No OFD packet to send [06:48:28]OFD Sender: No OFD packet to send [06:48:33]OFD Sender: No OFD packet to send [06:48:38]OFD Sender: No OFD packet to send [06:48:43]OFD Sender: No OFD packet to send [06:48:48]OFD Sender: No OFD packet to send [06:48:53]OFD Sender: No OFD packet to send [06:48:58]OFD Sender: No OFD packet to send [06:49:03]OFD Sender: No OFD packet to send [06:49:08]OFD Sender: No OFD packet to send [06:49:13]OFD Sender: No OFD packet to send [06:49:18]OFD Sender: No OFD packet to send [06:49:23]OFD Sender: No OFD packet to send [06:49:28]OFD Sender: No OFD packet to send [06:49:33]OFD Sender: No OFD packet to send [06:49:38]OFD Sender: No OFD packet to send [06:49:43]OFD Sender: No OFD packet to send [06:49:48]OFD Sender: No OFD packet to send [06:49:53]OFD Sender: No OFD packet to send [06:49:58]OFD Sender: No OFD packet to send [06:50:03]OFD Sender: No OFD packet to send [06:50:08]OFD Sender: No OFD packet to send [06:50:13]OFD Sender: No OFD packet to send [06:50:18]OFD Sender: No OFD packet to send [06:50:23]OFD Sender: No OFD packet to send [06:50:28]OFD Sender: No OFD packet to send [06:50:33]OFD Sender: No OFD packet to send [06:50:38]OFD Sender: No OFD packet to send [06:50:43]OFD Sender: No OFD packet to send [06:50:48]OFD Sender: No OFD packet to send [06:50:53]OFD Sender: No OFD packet to send [06:50:58]OFD Sender: No OFD packet to send [06:51:03]OFD Sender: No OFD packet to send [06:51:08]OFD Sender: No OFD packet to send [06:51:13]OFD Sender: No OFD packet to send [06:51:18]OFD Sender: No OFD packet to send [06:51:23]OFD Sender: No OFD packet to send [06:51:28]OFD Sender: No OFD packet to send [06:51:33]OFD Sender: No OFD packet to send [06:51:38]OFD Sender: No OFD packet to send [06:51:43]OFD Sender: No OFD packet to send [06:51:48]OFD Sender: No OFD packet to send [06:51:53]OFD Sender: No OFD packet to send [06:51:58]OFD Sender: No OFD packet to send [06:52:03]OFD Sender: No OFD packet to send [06:52:08]OFD Sender: No OFD packet to send [06:52:13]OFD Sender: No OFD packet to send [06:52:18]OFD Sender: No OFD packet to send [06:52:23]OFD Sender: No OFD packet to send [06:52:28]OFD Sender: No OFD packet to send [06:52:33]OFD Sender: No OFD packet to send [06:52:38]OFD Sender: No OFD packet to send [06:52:43]OFD Sender: No OFD packet to send [06:52:48]OFD Sender: No OFD packet to send [06:52:53]OFD Sender: No OFD packet to send [06:52:58]OFD Sender: No OFD packet to send [06:53:03]OFD Sender: No OFD packet to send [06:53:08]OFD Sender: No OFD packet to send [06:53:13]OFD Sender: No OFD packet to send [06:53:18]OFD Sender: No OFD packet to send [06:53:23]OFD Sender: No OFD packet to send [06:53:28]OFD Sender: No OFD packet to send [06:53:33]OFD Sender: No OFD packet to send [06:53:38]OFD Sender: No OFD packet to send [06:53:43]OFD Sender: No OFD packet to send [06:53:48]OFD Sender: No OFD packet to send [06:53:53]OFD Sender: No OFD packet to send [06:53:58]OFD Sender: No OFD packet to send [06:54:03]OFD Sender: No OFD packet to send [06:54:08]OFD Sender: No OFD packet to send [06:54:13]OFD Sender: No OFD packet to send [06:54:18]OFD Sender: No OFD packet to send [06:54:23]OFD Sender: No OFD packet to send [06:54:28]OFD Sender: No OFD packet to send [06:54:33]OFD Sender: No OFD packet to send [06:54:38]OFD Sender: No OFD packet to send [06:54:43]OFD Sender: No OFD packet to send [06:54:48]OFD Sender: No OFD packet to send [06:54:53]OFD Sender: No OFD packet to send [06:54:58]OFD Sender: No OFD packet to send [06:55:03]OFD Sender: No OFD packet to send [06:55:08]OFD Sender: No OFD packet to send [06:55:13]OFD Sender: No OFD packet to send [06:55:18]OFD Sender: No OFD packet to send [06:55:23]OFD Sender: No OFD packet to send [06:55:28]OFD Sender: No OFD packet to send [06:55:33]OFD Sender: No OFD packet to send [06:55:38]OFD Sender: No OFD packet to send [06:55:43]OFD Sender: No OFD packet to send [06:55:48]OFD Sender: No OFD packet to send [06:55:53]OFD Sender: No OFD packet to send [06:55:58]OFD Sender: No OFD packet to send [06:56:03]OFD Sender: No OFD packet to send [06:56:08]OFD Sender: No OFD packet to send [06:56:13]OFD Sender: No OFD packet to send [06:56:18]OFD Sender: No OFD packet to send [06:56:23]OFD Sender: No OFD packet to send [06:56:28]OFD Sender: No OFD packet to send [06:56:33]OFD Sender: No OFD packet to send [06:56:38]OFD Sender: No OFD packet to send [06:56:43]OFD Sender: No OFD packet to send [06:56:48]OFD Sender: No OFD packet to send [06:56:53]OFD Sender: No OFD packet to send [06:56:58]OFD Sender: No OFD packet to send [06:57:03]OFD Sender: No OFD packet to send [06:57:08]OFD Sender: No OFD packet to send [06:57:13]OFD Sender: No OFD packet to send [06:57:18]OFD Sender: No OFD packet to send [06:57:23]OFD Sender: No OFD packet to send [06:57:28]OFD Sender: No OFD packet to send [06:57:33]OFD Sender: No OFD packet to send [06:57:38]OFD Sender: No OFD packet to send [06:57:43]OFD Sender: No OFD packet to send [06:57:48]OFD Sender: No OFD packet to send [06:57:53]OFD Sender: No OFD packet to send [06:57:58]OFD Sender: No OFD packet to send [06:58:03]OFD Sender: No OFD packet to send [06:58:08]OFD Sender: No OFD packet to send [06:58:09]int [06:58:09]Write to MH i2c: 01 00 00 62 06 68 [06:58:09]*** FLAG_PRN_PAP1 set [06:58:09]Write i2c OK [06:58:09]MH_I2C_Read... [06:58:09]Read from MH i2c: 01 [06:58:09]MH_I2C_Read... [06:58:09]Read from MH i2c: 01 07 00 [06:58:09]MH_I2C_Read... [06:58:09]Read from MH i2c: 01 07 00 62 06 00 01 00 00 00 FF 0F 7E [06:58:09]state=0 [06:58:09]No paper [06:58:09]int [06:58:09]Write to MH i2c: 01 00 00 63 06 69 [06:58:09]*** FLAG_PRN_PAP2 set [06:58:09]Write i2c OK [06:58:09]MH_I2C_Read... [06:58:09]Read from MH i2c: 01 [06:58:09]MH_I2C_Read... [06:58:09]Read from MH i2c: 01 07 00 [06:58:09]MH_I2C_Read... [06:58:09]Read from MH i2c: 01 07 00 63 06 00 03 00 00 00 FF 0F 81 [06:58:09]state=0 [06:58:09]No paper [06:58:09]Cover opened [06:58:11]int [06:58:11]Write to MH i2c: 01 00 00 64 06 6A [06:58:11]*** FLAG_PRN_PAP2 reset [06:58:11]Write i2c OK [06:58:11]MH_I2C_Read... [06:58:11]Read from MH i2c: 01 [06:58:11]MH_I2C_Read... [06:58:11]Read from MH i2c: 01 07 00 [06:58:11]MH_I2C_Read... [06:58:11]Read from MH i2c: 01 07 00 64 06 00 01 00 00 00 FF 0F 80 [06:58:11]state=3 [06:58:11]No paper [06:58:11]Cover closed [06:58:11]int [06:58:11]Write to MH i2c: 01 00 00 65 06 6B [06:58:11]*** FLAG_PRN_PAP2 set [06:58:11]Write i2c OK [06:58:11]MH_I2C_Read... [06:58:11]Read from MH i2c: 01 [06:58:11]MH_I2C_Read... [06:58:11]Read from MH i2c: 01 07 00 [06:58:11]MH_I2C_Read... [06:58:11]Read from MH i2c: 01 07 00 65 06 00 03 00 00 00 FF 0F 83 [06:58:11]state=0 [06:58:11]No paper [06:58:11]Cover opened [06:58:13]OFD Sender: No OFD packet to send [06:58:16]Write to MH i2c: 01 00 00 66 06 6C [06:58:16]Write i2c OK [06:58:16]MH_I2C_Read... [06:58:16]Read from MH i2c: 01 [06:58:16]MH_I2C_Read... [06:58:16]Read from MH i2c: 01 07 00 [06:58:16]MH_I2C_Read... [06:58:16]Read from MH i2c: 01 07 00 66 06 00 03 00 00 00 FF 0F 84 [06:58:16]state=3 [06:58:16]No paper [06:58:16]Cover opened [06:58:18]OFD Sender: No OFD packet to send [06:58:21]Write to MH i2c: 01 00 00 67 06 6D [06:58:21]Write i2c OK [06:58:21]MH_I2C_Read... [06:58:21]Read from MH i2c: 01 [06:58:21]MH_I2C_Read... [06:58:21]Read from MH i2c: 01 07 00 [06:58:21]MH_I2C_Read... [06:58:21]Read from MH i2c: 01 07 00 67 06 00 03 00 00 00 FF 0F 85 [06:58:21]state=3 [06:58:21]No paper [06:58:21]Cover opened [06:58:23]OFD Sender: No OFD packet to send [06:58:26]Write to MH i2c: 01 00 00 68 06 6E [06:58:26]Write i2c OK [06:58:26]MH_I2C_Read... [06:58:26]Read from MH i2c: 01 [06:58:26]MH_I2C_Read... [06:58:26]Read from MH i2c: 01 07 00 [06:58:26]MH_I2C_Read... [06:58:26]Read from MH i2c: 01 07 00 68 06 00 03 00 00 00 FF 0F 86 [06:58:26]state=3 [06:58:26]No paper [06:58:26]Cover opened [06:58:28]OFD Sender: No OFD packet to send [06:58:31]Write to MH i2c: 01 00 00 69 06 6F [06:58:31]Write i2c OK [06:58:31]MH_I2C_Read... [06:58:31]Read from MH i2c: 01 [06:58:31]MH_I2C_Read... [06:58:31]Read from MH i2c: 01 07 00 [06:58:31]MH_I2C_Read... [06:58:31]Read from MH i2c: 01 07 00 69 06 00 03 00 00 00 FF 0F 87 [06:58:31]state=3 [06:58:31]No paper [06:58:31]Cover opened [06:58:33]OFD Sender: No OFD packet to send [06:58:35]int [06:58:35]Write to MH i2c: 01 00 00 6A 06 70 [06:58:35]*** FLAG_PRN_PAP2 reset [06:58:35]Write i2c OK [06:58:35]MH_I2C_Read... [06:58:35]Read from MH i2c: 01 [06:58:35]MH_I2C_Read... [06:58:35]Read from MH i2c: 01 07 00 [06:58:35]MH_I2C_Read... [06:58:35]Read from MH i2c: 01 07 00 6A 06 00 01 00 00 00 FF 0F 86 [06:58:35]state=3 [06:58:35]No paper [06:58:35]Cover closed [06:58:35]*** FLAG_PRN_PAP1 reset [06:58:38]OFD Sender: No OFD packet to send [06:58:40]int line is 0 - check status [06:58:40]Write to MH i2c: 01 00 00 6B 06 71 [06:58:40]Write i2c OK [06:58:40]MH_I2C_Read... [06:58:40]Read from MH i2c: 01 [06:58:40]MH_I2C_Read... [06:58:40]Read from MH i2c: 01 07 00 [06:58:40]MH_I2C_Read... [06:58:40]Read from MH i2c: 01 07 00 6B 06 00 00 00 00 00 FF 0F 86 [06:58:40]state=0 [06:58:43]OFD Sender: No OFD packet to send [06:58:48]OFD Sender: No OFD packet to send [06:58:53]OFD Sender: No OFD packet to send [06:58:58]OFD Sender: No OFD packet to send [06:59:03]OFD Sender: No OFD packet to send [06:59:08]OFD Sender: No OFD packet to send [06:59:13]OFD Sender: No OFD packet to send [06:59:18]OFD Sender: No OFD packet to send [06:59:23]OFD Sender: No OFD packet to send [06:59:28]OFD Sender: No OFD packet to send [06:59:33]OFD Sender: No OFD packet to send [06:59:38]OFD Sender: No OFD packet to send [06:59:43]OFD Sender: No OFD packet to send [06:59:48]OFD Sender: No OFD packet to send [06:59:53]OFD Sender: No OFD packet to send [06:59:58]OFD Sender: No OFD packet to send [07:00:03]OFD Sender: No OFD packet to send [07:00:08]OFD Sender: No OFD packet to send [07:00:13]OFD Sender: No OFD packet to send [07:00:18]OFD Sender: No OFD packet to send [07:00:23]OFD Sender: No OFD packet to send [07:00:28]OFD Sender: No OFD packet to send [07:00:34]OFD Sender: No OFD packet to send [07:00:39]OFD Sender: No OFD packet to send [07:00:44]OFD Sender: No OFD packet to send [07:00:49]OFD Sender: No OFD packet to send [07:00:54]OFD Sender: No OFD packet to send [07:00:59]OFD Sender: No OFD packet to send [07:01:04]OFD Sender: No OFD packet to send [07:01:09]OFD Sender: No OFD packet to send [07:01:14]OFD Sender: No OFD packet to send [07:01:19]OFD Sender: No OFD packet to send [07:01:24]OFD Sender: No OFD packet to send [07:01:29]OFD Sender: No OFD packet to send [07:01:34]OFD Sender: No OFD packet to send [07:01:39]OFD Sender: No OFD packet to send [07:01:44]OFD Sender: No OFD packet to send [07:01:49]OFD Sender: No OFD packet to send [07:01:54]OFD Sender: No OFD packet to send [07:01:59]OFD Sender: No OFD packet to send [07:02:04]OFD Sender: No OFD packet to send [07:02:09]OFD Sender: No OFD packet to send [07:02:14]OFD Sender: No OFD packet to send [07:02:19]OFD Sender: No OFD packet to send [07:02:24]OFD Sender: No OFD packet to send [07:02:29]OFD Sender: No OFD packet to send [07:02:34]OFD Sender: No OFD packet to send [07:02:39]OFD Sender: No OFD packet to send [07:02:44]OFD Sender: No OFD packet to send [07:02:49]OFD Sender: No OFD packet to send [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:24]OFD Sender: No OFD packet to send [07:03:29]OFD Sender: No OFD packet to send [07:03:34]OFD Sender: No OFD packet to send [07:03:39]OFD Sender: No OFD packet to send [07:03:44]OFD Sender: No OFD packet to send [07:03:49]OFD Sender: No OFD packet to send [07:03:54]OFD Sender: No OFD packet to send [07:03:59]OFD Sender: No OFD packet to send [07:04:04]OFD Sender: No OFD packet to send [07:04:09]OFD Sender: No OFD packet to send [07:04:14]OFD Sender: No OFD packet to send [07:04:19]OFD Sender: No OFD packet to send [07:04:24]OFD Sender: No OFD packet to send [07:04:29]OFD Sender: No OFD packet to send [07:04:34]OFD Sender: No OFD packet to send [07:04:39]OFD Sender: No OFD packet to send [07:04:44]OFD Sender: No OFD packet to send [07:04:49]OFD Sender: No OFD packet to send [07:04:54]OFD Sender: No OFD packet to send [07:04:59]OFD Sender: No OFD packet to send [07:05:04]OFD Sender: No OFD packet to send [07:05:09]OFD Sender: No OFD packet to send [07:05:14]OFD Sender: No OFD packet to send [07:05:19]OFD Sender: No OFD packet to send [07:05:24]OFD Sender: No OFD packet to send [07:05:29]OFD Sender: No OFD packet to send [07:05:34]OFD Sender: No OFD packet to send [07:05:39]OFD Sender: No OFD packet to send [07:05:44]OFD Sender: No OFD packet to send [07:05:49]OFD Sender: No OFD packet to send [07:05:54]OFD Sender: No OFD packet to send [07:05:59]OFD Sender: No OFD packet to send [07:06:04]OFD Sender: No OFD packet to send [07:06:09]OFD Sender: No OFD packet to send [07:06:14]OFD Sender: No OFD packet to send [07:06:19]OFD Sender: No OFD packet to send [07:06:24]OFD Sender: No OFD packet to send [07:06:29]OFD Sender: No OFD packet to send [07:06:34]OFD Sender: No OFD packet to send [07:06:39]OFD Sender: No OFD packet to send [07:06:44]OFD Sender: No OFD packet to send [07:06:49]OFD Sender: No OFD packet to send [07:06:54]OFD Sender: No OFD packet to send [07:06:59]OFD Sender: No OFD packet to send [07:07:04]OFD Sender: No OFD packet to send [07:07:09]OFD Sender: No OFD packet to send [07:07:14]OFD Sender: No OFD packet to send [07:07:19]OFD Sender: No OFD packet to send [07:07:24]OFD Sender: No OFD packet to send [07:07:29]OFD Sender: No OFD packet to send [07:07:34]OFD Sender: No OFD packet to send [07:07:39]OFD Sender: No OFD packet to send [07:07:44]OFD Sender: No OFD packet to send [07:07:49]OFD Sender: No OFD packet to send [07:07:54]OFD Sender: No OFD packet to send [07:07:59]OFD Sender: No OFD packet to send [07:08:04]OFD Sender: No OFD packet to send [07:08:09]OFD Sender: No OFD packet to send [07:08:14]OFD Sender: No OFD packet to send [07:08:19]OFD Sender: No OFD packet to send [07:08:24]OFD Sender: No OFD packet to send [07:08:29]OFD Sender: No OFD packet to send [07:08:34]OFD Sender: No OFD packet to send [07:08:39]OFD Sender: No OFD packet to send [07:08:44]OFD Sender: No OFD packet to send [07:08:49]OFD Sender: No OFD packet to send [07:08:54]OFD Sender: No OFD packet to send [07:08:59]OFD Sender: No OFD packet to send [07:09:04]OFD Sender: No OFD packet to send [07:09:09]OFD Sender: No OFD packet to send [07:09:14]OFD Sender: No OFD packet to send [07:09:19]OFD Sender: No OFD packet to send [07:09:24]OFD Sender: No OFD packet to send [07:09:29]OFD Sender: No OFD packet to send [07:09:34]OFD Sender: No OFD packet to send [07:09:39]OFD Sender: No OFD packet to send [07:09:44]OFD Sender: No OFD packet to send [07:09:49]OFD Sender: No OFD packet to send [07:09:54]OFD Sender: No OFD packet to send [07:09:59]OFD Sender: No OFD packet to send [07:10:04]OFD Sender: No OFD packet to send [07:10:09]OFD Sender: No OFD packet to send [07:10:14]OFD Sender: No OFD packet to send [07:10:19]OFD Sender: No OFD packet to send [07:10:24]OFD Sender: No OFD packet to send [07:10:29]OFD Sender: No OFD packet to send [07:10:34]OFD Sender: No OFD packet to send [07:10:39]OFD Sender: No OFD packet to send [07:10:44]OFD Sender: No OFD packet to send [07:10:49]OFD Sender: No OFD packet to send [07:10:54]OFD Sender: No OFD packet to send [07:10:59]OFD Sender: No OFD packet to send [07:11:04]OFD Sender: No OFD packet to send [07:11:09]OFD Sender: No OFD packet to send [07:11:14]OFD Sender: No OFD packet to send [07:11:19]OFD Sender: No OFD packet to send [07:11:24]OFD Sender: No OFD packet to send [07:11:29]OFD Sender: No OFD packet to send [07:11:34]OFD Sender: No OFD packet to send [07:11:39]OFD Sender: No OFD packet to send [07:11:44]OFD Sender: No OFD packet to send [07:11:49]OFD Sender: No OFD packet to send [07:11:54]OFD Sender: No OFD packet to send [07:11:59]OFD Sender: No OFD packet to send [07:12:04]OFD Sender: No OFD packet to send [07:12:09]OFD Sender: No OFD packet to send [07:12:14]OFD Sender: No OFD packet to send [07:12:19]OFD Sender: No OFD packet to send [07:12:24]OFD Sender: No OFD packet to send [07:12:29]OFD Sender: No OFD packet to send [07:12:34]OFD Sender: No OFD packet to send [07:12:39]OFD Sender: No OFD packet to send [07:12:44]OFD Sender: No OFD packet to send [07:12:49]OFD Sender: No OFD packet to send [07:12:54]OFD Sender: No OFD packet to send [07:12:59]OFD Sender: No OFD packet to send [07:13:04]OFD Sender: No OFD packet to send [07:13:09]OFD Sender: No OFD packet to send [07:13:14]OFD Sender: No OFD packet to send [07:13:19]OFD Sender: No OFD packet to send [07:13:24]OFD Sender: No OFD packet to send [07:13:29]OFD Sender: No OFD packet to send [07:13:34]OFD Sender: No OFD packet to send [07:13:39]OFD Sender: No OFD packet to send [07:13:44]OFD Sender: No OFD packet to send [07:13:49]OFD Sender: No OFD packet to send [07:13:54]OFD Sender: No OFD packet to send [07:13:59]OFD Sender: No OFD packet to send [07:14:04]OFD Sender: No OFD packet to send [07:14:09]OFD Sender: No OFD packet to send [07:14:14]OFD Sender: No OFD packet to send [07:14:19]OFD Sender: No OFD packet to send [07:14:24]OFD Sender: No OFD packet to send [07:14:29]OFD Sender: No OFD packet to send [07:14:34]OFD Sender: No OFD packet to send [07:14:39]OFD Sender: No OFD packet to send [07:14:44]OFD Sender: No OFD packet to send [07:14:49]OFD Sender: No OFD packet to send [07:14:54]OFD Sender: No OFD packet to send [07:14:59]OFD Sender: No OFD packet to send [07:15:04]OFD Sender: No OFD packet to send [07:15:09]OFD Sender: No OFD packet to send [07:15:14]OFD Sender: No OFD packet to send [07:15:19]OFD Sender: No OFD packet to send [07:15:24]OFD Sender: No OFD packet to send [07:15:29]OFD Sender: No OFD packet to send [07:15:34]OFD Sender: No OFD packet to send [07:15:39]OFD Sender: No OFD packet to send [07:15:44]OFD Sender: No OFD packet to send [07:15:49]OFD Sender: No OFD packet to send [07:15:54]OFD Sender: No OFD packet to send [07:15:59]OFD Sender: No OFD packet to send [07:16:04]OFD Sender: No OFD packet to send [07:16:09]OFD Sender: No OFD packet to send [07:16:14]OFD Sender: No OFD packet to send [07:16:19]OFD Sender: No OFD packet to send [07:16:24]OFD Sender: No OFD packet to send [07:16:29]OFD Sender: No OFD packet to send [07:16:34]OFD Sender: No OFD packet to send [07:16:39]OFD Sender: No OFD packet to send [07:16:44]OFD Sender: No OFD packet to send [07:16:49]OFD Sender: No OFD packet to send [07:16:54]OFD Sender: No OFD packet to send [07:16:59]OFD Sender: No OFD packet to send [07:17:04]OFD Sender: No OFD packet to send [07:17:09]OFD Sender: No OFD packet to send [07:17:14]OFD Sender: No OFD packet to send [07:17:19]OFD Sender: No OFD packet to send [07:17:24]OFD Sender: No OFD packet to send [07:17:29]OFD Sender: No OFD packet to send [07:17:34]OFD Sender: No OFD packet to send [07:17:39]OFD Sender: No OFD packet to send [07:17:44]OFD Sender: No OFD packet to send [07:17:49]OFD Sender: No OFD packet to send [07:17:54]OFD Sender: No OFD packet to send [07:17:59]OFD Sender: No OFD packet to send [07:18:04]OFD Sender: No OFD packet to send [07:18:09]OFD Sender: No OFD packet to send [07:18:14]OFD Sender: No OFD packet to send [07:18:19]OFD Sender: No OFD packet to send [07:18:24]OFD Sender: No OFD packet to send [07:18:29]OFD Sender: No OFD packet to send [07:18:34]OFD Sender: No OFD packet to send [07:18:39]OFD Sender: No OFD packet to send [07:18:44]OFD Sender: No OFD packet to send [07:18:49]OFD Sender: No OFD packet to send [07:18:54]OFD Sender: No OFD packet to send [07:18:59]OFD Sender: No OFD packet to send [07:19:04]OFD Sender: No OFD packet to send [07:19:09]OFD Sender: No OFD packet to send [07:19:14]OFD Sender: No OFD packet to send [07:19:19]OFD Sender: No OFD packet to send [07:19:24]OFD Sender: No OFD packet to send [07:19:29]OFD Sender: No OFD packet to send [07:19:34]OFD Sender: No OFD packet to send [07:19:39]OFD Sender: No OFD packet to send [07:19:44]OFD Sender: No OFD packet to send [07:19:49]OFD Sender: No OFD packet to send [07:19:54]OFD Sender: No OFD packet to send [07:19:59]OFD Sender: No OFD packet to send [07:20:04]OFD Sender: No OFD packet to send [07:20:10]OFD Sender: No OFD packet to send [07:20:15]OFD Sender: No OFD packet to send [07:20:20]OFD Sender: No OFD packet to send [07:20:25]OFD Sender: No OFD packet to send [07:20:30]OFD Sender: No OFD packet to send [07:20:35]OFD Sender: No OFD packet to send [07:20:40]OFD Sender: No OFD packet to send [07:20:45]OFD Sender: No OFD packet to send [07:20:50]OFD Sender: No OFD packet to send [07:20:55]OFD Sender: No OFD packet to send [07:21:00]OFD Sender: No OFD packet to send [07:21:05]OFD Sender: No OFD packet to send [07:21:10]OFD Sender: No OFD packet to send [07:21:15]OFD Sender: No OFD packet to send [07:21:20]OFD Sender: No OFD packet to send [07:21:25]OFD Sender: No OFD packet to send [07:21:30]OFD Sender: No OFD packet to send [07:21:35]OFD Sender: No OFD packet to send [07:21:40]OFD Sender: No OFD packet to send [07:21:45]OFD Sender: No OFD packet to send [07:21:50]OFD Sender: No OFD packet to send [07:21:55]OFD Sender: No OFD packet to send [07:22:00]OFD Sender: No OFD packet to send [07:22:05]OFD Sender: No OFD packet to send [07:22:10]OFD Sender: No OFD packet to send [07:22:15]OFD Sender: No OFD packet to send [07:22:20]OFD Sender: No OFD packet to send [07:22:25]OFD Sender: No OFD packet to send [07:22:30]OFD Sender: No OFD packet to send [07:22:35]OFD Sender: No OFD packet to send [07:22:40]OFD Sender: No OFD packet to send [07:22:45]OFD Sender: No OFD packet to send [07:22:50]OFD Sender: No OFD packet to send [07:22:55]OFD Sender: No OFD packet to send [07:23:00]OFD Sender: No OFD packet to send [07:23:05]OFD Sender: No OFD packet to send [07:23:10]OFD Sender: No OFD packet to send [07:23:15]OFD Sender: No OFD packet to send [07:23:20]OFD Sender: No OFD packet to send [07:23:25]OFD Sender: No OFD packet to send [07:23:30]OFD Sender: No OFD packet to send [07:23:35]OFD Sender: No OFD packet to send [07:23:40]OFD Sender: No OFD packet to send [07:23:45]OFD Sender: No OFD packet to send [07:23:50]OFD Sender: No OFD packet to send [07:23:55]OFD Sender: No OFD packet to send [07:24:00]OFD Sender: No OFD packet to send [07:24:05]OFD Sender: No OFD packet to send [07:24:10]OFD Sender: No OFD packet to send [07:24:15]OFD Sender: No OFD packet to send [07:24:20]OFD Sender: No OFD packet to send [07:24:25]OFD Sender: No OFD packet to send [07:24:30]OFD Sender: No OFD packet to send [07:24:35]OFD Sender: No OFD packet to send [07:24:40]OFD Sender: No OFD packet to send [07:24:45]OFD Sender: No OFD packet to send [07:24:50]OFD Sender: No OFD packet to send [07:24:55]OFD Sender: No OFD packet to send [07:25:00]OFD Sender: No OFD packet to send [07:25:05]OFD Sender: No OFD packet to send [07:25:10]OFD Sender: No OFD packet to send [07:25:15]OFD Sender: No OFD packet to send [07:25:20]OFD Sender: No OFD packet to send [07:25:25]OFD Sender: No OFD packet to send [07:25:30]OFD Sender: No OFD packet to send [07:25:35]OFD Sender: No OFD packet to send [07:25:40]OFD Sender: No OFD packet to send [07:25:45]OFD Sender: No OFD packet to send [07:25:50]OFD Sender: No OFD packet to send [07:25:55]OFD Sender: No OFD packet to send [07:26:00]OFD Sender: No OFD packet to send [07:26:05]OFD Sender: No OFD packet to send [07:26:10]OFD Sender: No OFD packet to send [07:26:15]OFD Sender: No OFD packet to send [07:26:20]OFD Sender: No OFD packet to send [07:26:25]OFD Sender: No OFD packet to send [07:26:30]OFD Sender: No OFD packet to send [07:26:35]OFD Sender: No OFD packet to send [07:26:40]OFD Sender: No OFD packet to send [07:26:45]OFD Sender: No OFD packet to send [07:26:50]OFD Sender: No OFD packet to send [07:26:55]OFD Sender: No OFD packet to send [07:27:00]OFD Sender: No OFD packet to send [07:27:05]OFD Sender: No OFD packet to send [07:27:10]OFD Sender: No OFD packet to send [07:27:15]OFD Sender: No OFD packet to send [07:27:19]accept exits with 9 [07:27:19]New connection [07:27:19]New thread 3067374948 created [07:27:19]Thread 3067518308 joined [07:27:19]Waiting for new connection... [07:27:19] Sock 9.Parse request [07:27:19]Sock 9.Check first char [07:27:19]Sock 9.First char is OK [07:27:19]request: POST /json_proto HTTP/1.0 [07:27:19]Method: POST [07:27:19]URL: /json_proto [07:27:19]Method is POST - this is cgi request [07:27:19]url: /json_proto [07:27:19]query_string will be loaded in cgi processing [07:27:19]execute_cgi json_proto POST (null) [07:27:19]execute_cgi path=json_proto method=POST [07:27:19]POST find Content-Length [07:27:19]Host: 172.17.42.3:8080 [07:27:19]Content-Length: 649 [07:27:19]Content-Type: application/json [07:27:19] [07:27:19]POST finish read [07:27:19]Found Content-Length = 649 [07:27:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17157", "tax_sys" : 0, "items" : [ { "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "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" ] } } [07:27:19]execute_script... [07:27: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)17157", "tax_sys" : 0, "items" : [ { "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "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" ] } } [07:27:19]POST & json_proto [07:27:19]process_json_proto [07:27:19]json parsed OK: [07:27:19]protocol is kg_v1.0 [07:27:19]action value=close_receipt [07:27:19]process_action close_receipt [07:27:19]cmd_close_receipt [07:27:19]MH_GetDate [07:27:19]Write to MH i2c: F0 00 00 6C 06 61 [07:27:19]Write i2c OK [07:27:19]MH_I2C_Read... [07:27:19]Read from MH i2c: F0 [07:27:19]MH_I2C_Read... [07:27:19]Read from MH i2c: F0 09 00 [07:27:19]MH_I2C_Read... [07:27:19]Read from MH i2c: F0 09 00 6C 06 00 D9 3C 1F 67 EA E5 1E 67 59 [07:27:19]GetLastDocTimeStamp 1730097551 [07:27:19]current date 1730100441 [07:27:19]FM_GetShiftState [07:27:19]SAM_PROTO_GetShiftState [07:27:19]wFMCommunicate request_size=4 [07:27:19]MH_SAM_APDU [07:27:19]CAPDU: 80 13 01 00 [07:27:19]Write to MH i2c: E2 08 00 6D 06 80 13 01 00 00 00 00 00 F0 [07:27:19]Write i2c OK [07:27:19]MH_I2C_Read... [07:27:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:27:19]Read from MH i2c: E2 [07:27:19]MH_I2C_Read... [07:27:19]Read from MH i2c: E2 0E 00 [07:27:19]MH_I2C_Read... [07:27:19]Read from MH i2c: E2 0E 00 6D 06 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 EB [07:27:19]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [07:27:19]wFMCommunicate OK [07:27:19]SAM_PROTO_GetShiftState done [07:27:19]FM_GetShiftState done [07:27:19]opened in 1730074770 [07:27:19]opened+sec_in_day 1730161170 [07:27:19]quantity*price = 7500 [07:27:19]sum+1 = 7501 [07:27:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 24 28.10.2024 07:27 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68119 ФПД: 170139363818915 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T072721&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68119&fm=170139363818915&tin=02508201610067®Number=0000000000091759&sum=7500 0 [07:27:21]StoreToDocumentArchive [07:27:21]shift 547 fd 68119 [07:27:21]save to /storage/0547/doc_00068119 [07:27:21]save last doc name /storage/0547/doc_00068119 to /storage/kkm_last_doc_name [07:27:21]save OK [07:27:21]Clear old archive folders... [07:27:21]ProcessDocumentItem done err = 0, tmpTLVsize=285 [07:27:21]tlvbuf is 00884AE0 [07:27:21]SAM_PROTO_ClearQueue [07:27:21]wFMCommunicate request_size=4 [07:27:21]MH_SAM_APDU [07:27:21]CAPDU: 80 09 00 00 [07:27:21]Write to MH i2c: E2 08 00 7A 06 80 09 00 00 00 00 00 00 F2 [07:27:21]Write i2c OK [07:27:21]MH_I2C_Read... [07:27:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:27:21]Read from MH i2c: E2 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: E2 03 00 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: E2 03 00 7A 06 00 90 00 F4 [07:27:21]RAPDU: 90 00 [07:27:21]wFMCommunicate OK [07:27:21]SAM_PROTO_ClearQueue done [07:27:21]KKMCreateOFDPacket [07:27:21]OFDProtocolAddRootSTLVToBuf [07:27:21]FM_MakeSignedData [07:27:21]FM_MakeSignedData [07:27:21]SAM_PROTO_SignData [07:27:21]wFMCommunicate request_size=4 [07:27:21]MH_SAM_APDU [07:27:21]CAPDU: 80 0D 01 02 [07:27:21]Write to MH i2c: E2 08 00 7B 06 80 0D 01 02 00 00 00 00 FA [07:27:21]Write i2c OK [07:27:21]MH_I2C_Read... [07:27:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:27:21]Read from MH i2c: E2 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: E2 03 00 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: E2 03 00 7B 06 00 90 00 F5 [07:27:21]RAPDU: 90 00 [07:27:21]wFMCommunicate OK [07:27:21]wFMCommunicate request_size=255 [07:27:21]MH_SAM_APDU [07:27:21]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 18 00 00 00 F4 03 04 00 D9 3C 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 [07:27:21]Write to MH i2c: E2 02 01 7C 06 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 18 00 00 00 F4 03 04 00 D9 3C 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 00 00 D9 [07:27:21]Write i2c OK [07:27:21]MH_I2C_Read... [07:27:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:27:21]Read from MH i2c: E2 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: E2 03 00 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: E2 03 00 7C 06 00 90 00 F6 [07:27:21]RAPDU: 90 00 [07:27:21]wFMCommunicate OK [07:27:21]wFMCommunicate request_size=44 [07:27:21]MH_SAM_APDU [07:27:21]CAPDU: 80 0D 02 02 27 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 17 0A 01 00 35 04 06 00 9A BD A8 57 BD A3 [07:27:21]Write to MH i2c: E2 2F 00 7D 06 80 0D 02 02 27 00 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 17 0A 01 00 35 04 06 00 9A BD A8 57 BD A3 00 00 FC [07:27:21]Write i2c OK [07:27:21]MH_I2C_Read... [07:27:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:27:21]Read from MH i2c: E2 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: E2 03 00 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: E2 03 00 7D 06 00 90 00 F7 [07:27:21]RAPDU: 90 00 [07:27:21]wFMCommunicate OK [07:27:21]wFMCommunicate request_size=4 [07:27:21]MH_SAM_APDU [07:27:21]CAPDU: 80 0D 03 02 [07:27:21]Write to MH i2c: E2 08 00 7E 06 80 0D 03 02 00 00 00 00 FF [07:27:21]Write i2c OK [07:27:21]MH_I2C_Read... [07:27:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:27:21]Read from MH i2c: E2 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: E2 0B 00 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: E2 0B 00 7E 06 00 92 32 4C E9 68 8F B5 A3 90 00 48 [07:27:21]RAPDU: 92 32 4C E9 68 8F B5 A3 90 00 [07:27:21]wFMCommunicate OK [07:27:21]SAM_PROTO_SignData done [07:27:21]FM_MakeSignedData done [07:27:21]CreateOFDProtocolMessage [07:27:21]wFMCommunicate request_size=4 [07:27:21]MH_SAM_APDU [07:27:21]CAPDU: 80 11 00 00 [07:27:21]Write to MH i2c: E2 08 00 7F 06 80 11 00 00 00 00 00 00 FF [07:27:21]Write i2c OK [07:27:21]MH_I2C_Read... [07:27:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:27:21]Read from MH i2c: E2 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: E2 17 00 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: E2 17 00 7F 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 56 [07:27:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [07:27:21]wFMCommunicate OK [07:27:21]CreateOFDProtocolMessage done [07:27:21]OFDSenderStorePacket 68119 [07:27:21]StoreOFDPacket docnum=68119 [07:27:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 31 01 00 00 3B 7C 29 01 08 D2 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 18 00 00 00 F4 03 04 00 D9 3C 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 17 0A 01 00 35 04 06 00 9A BD A8 57 BD A3 92 32 4C E9 68 8F B5 A3 [07:27:21]CheckFolder [07:27:21]dirname=/storage/ofd_packets [07:27:21]CheckFolder done [07:27:21]ProducePacketName [07:27:21]name=ofd_packets/00068119 [07:27:21]NVStorageSaveData ofd_packets/00068119 [07:27:21]File name is /storage/ofd_packets/00068119 [07:27:21]Write 335 bytes [07:27:21]NVStorageSaveData done [07:27:21]OFDSenderStorePacket done [07:27:21]KKMCreateOFDPacket done [07:27:21]NVStorageSaveData kkm_last_timestamp [07:27:21]File name is /storage/kkm_last_timestamp [07:27:21]Write 4 bytes [07:27:21]NVStorageSaveData done [07:27:21]ExternCall_PrintAddStr [07:27:21]wPrintStart [07:27:21]Write to MH i2c: 01 00 00 80 06 86 [07:27:21]Write i2c OK [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 07 00 [07:27:21]MH_I2C_Read... [07:27:21]Read from MH i2c: 01 07 00 80 06 00 00 00 00 00 FF 0F 9B [07:27:21]RasterBufferAndPrint [07:27:21]line Счет N : (3)17157 [07:27:21]line ИНН: 02508201610067 [07:27:21]line Контрольно-Кассовый Чек [07:27:21]line ПРОДАЖА [07:27:21]line Товар: 4870112002775 [07:27:21]line Шок батончик ALBENI BITES 80гр [07:27:21]line 1.000 * 75.00 [07:27:21]line = 75.00 [07:27:21]line НДС 12% НСП 1% [07:27:21]line > о реализуемом товаре [07:27:21]line ИТОГО: 75.00 [07:27:21]line НСП 1% : 0.66 [07:27:21]line НДС 12% : 7.96 [07:27:21]line Наличными: 75.00 [07:27:21]line Безнал.: 0.00 [07:27:21]line Место: АЗС № 160 "Партнер Нефть" [07:27:21]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [07:27:21]line СНО: Общий режим [07:27:21]line Чек 24 28.10.2024 07:27 [07:27:21]line Смена: 547 ФФД: 1.0 [07:27:21]line ЗНМ: 0300000093 [07:27:21]line РНМ: 0000000000091759 [07:27:21]line Версия ККМ: 001 [07:27:21]line ФМ: 0000000000871758 [07:27:21]line ФД: 68119 [07:27:21]line ФПД: 170139363818915 [07:27:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T072721&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68119&fm=170139363818915&tin=02508201610067®Number=0000000000091759&sum=7500 [07:27:21]line 0 [07:27:21]OFD Sender: Processing packet 68119 [packets to send 27, broken 26] [07:27:21]ProducePacketName [07:27:21]name=ofd_packets/00068119 [07:27:21]OFD Sender: To server: pG, [07:27:21]CommunicateWithHost lk.salyk.kg:30040 [07:27:21]ConnectInit lk.salyk.kg [07:27:21]written 0, free lines is 4095 [07:27:22]Connected sock=10 [07:27:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 31 01 00 00 3B 7C 29 01 08 D2 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 18 00 00 00 F4 03 04 00 D9 3C 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 17 0A 01 00 35 04 06 00 9A BD A8 57 BD A3 92 32 4C E9 68 8F B5 A3 [07:27:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 86 55 47 00 E7 77 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 17 0A 01 00 F4 03 04 00 93 E8 1E 67 B6 04 01 00 00 19 DF EF DF 3B 03 55 AA [07:27:22]CommunicateWithHost err = 0 [07:27:22]CheckOFDResponse [07:27:22]1017 (14) - 77093643461234 [07:27:22]1041 (16) - 0000000000871758 [07:27:22]1040 (4) - 68119 [07:27:22]1012 (4) - 28.10.2024 01:27 [07:27:22]1206 (1) - 0 [07:27:22]OFD Sender: Remove packet 68119 [07:27:22]ProducePacketName [07:27:22]name=ofd_packets/00068119 [07:27:22]NVStorageDeleteData [07:27:22]Write to MH i2c: 01 00 00 A8 06 AE [07:27:22]Write i2c OK [07:27:22]MH_I2C_Read... [07:27:22]Read from MH i2c: 01 [07:27:22]MH_I2C_Read... [07:27:22]Read from MH i2c: 01 07 00 [07:27:22]MH_I2C_Read... [07:27:22]Read from MH i2c: 01 07 00 A8 06 00 00 00 00 00 CC 0C 8D [07:27:22]RasterBufferAndPrint [07:27:22]line [07:27:22]line [07:27:22]line [07:27:22]line [07:27:22]line [07:27:22]written 0, free lines is 3279 [07:27:22]MH_Cut [07:27:22]Write to MH i2c: D1 01 00 AF 06 01 87 [07:27:22]Write i2c OK [07:27:22]MH_I2C_Read... [07:27:22]Read from MH i2c: D1 [07:27:22]MH_I2C_Read... [07:27:22]Read from MH i2c: D1 01 00 [07:27:22]MH_I2C_Read... [07:27:22]Read from MH i2c: D1 01 00 AF 06 00 86 [07:27:22]Write to MH i2c: 01 00 00 B0 06 B6 [07:27:22]Write i2c OK [07:27:22]MH_I2C_Read... [07:27:22]OFD Sender: No OFD packet to send [07:27:23]*** Cut start [07:27:23]*** Partial cut [07:27:23]*** CUTSNS_PIN = 1 [07:27:23]*** CUTSNS_PIN = 0 [07:27:23]*** Brake cut motor [07:27:23]Read from MH i2c: 01 [07:27:23]MH_I2C_Read... [07:27:23]*** Stop cut motor [07:27:23]*** Cut end [07:27:23]Read from MH i2c: 01 07 00 [07:27:23]MH_I2C_Read... [07:27:23]Read from MH i2c: 01 07 00 B0 06 00 00 00 00 00 FF 0F CB [07:27:23]process_action close_receipt done [07:27:23]requested_data is exist [07:27:23]produce_requested_data [07:27:23]requested_item fm.sn is exist - process it [07:27:23]wFMCommunicate request_size=4 [07:27:23]MH_SAM_APDU [07:27:23]CAPDU: 80 11 00 00 [07:27:23]Write to MH i2c: E2 08 00 B1 06 80 11 00 00 00 00 00 00 31 [07:27:23]Write i2c OK [07:27:23]MH_I2C_Read... [07:27:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:27:23]Read from MH i2c: E2 [07:27:23]MH_I2C_Read... [07:27:23]Read from MH i2c: E2 17 00 [07:27:23]MH_I2C_Read... [07:27:23]Read from MH i2c: E2 17 00 B1 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 88 [07:27:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [07:27:23]wFMCommunicate OK [07:27:23]requested_item fd.num is exist - process it [07:27:23]SAM_PROTO_GetFieldsCounters [07:27:23]wFMCommunicate request_size=4 [07:27:23]MH_SAM_APDU [07:27:23]CAPDU: 80 13 00 00 [07:27:23]Write to MH i2c: E2 08 00 B2 06 80 13 00 00 00 00 00 00 34 [07:27:23]Write i2c OK [07:27:23]MH_I2C_Read... [07:27:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:27:23]Read from MH i2c: E2 [07:27:23]MH_I2C_Read... [07:27:23]Read from MH i2c: E2 62 00 [07:27:23]MH_I2C_Read... [07:27:23]Read from MH i2c: E2 62 00 B2 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 17 0A 01 00 0E 04 04 00 23 02 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 EE [07:27:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 17 0A 01 00 0E 04 04 00 23 02 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 [07:27:23]wFMCommunicate OK [07:27:23]SAM_PROTO_GetFieldsCounters done [07:27:23]requested_item shift.num is exist - process it [07:27:23]requested_item shift.opened is exist - process it [07:27:23]req_shift_opened [07:27:23]FM_GetShiftState [07:27:23]SAM_PROTO_GetShiftState [07:27:23]wFMCommunicate request_size=4 [07:27:23]MH_SAM_APDU [07:27:23]CAPDU: 80 13 01 00 [07:27:23]Write to MH i2c: E2 08 00 B3 06 80 13 01 00 00 00 00 00 36 [07:27:23]Write i2c OK [07:27:23]MH_I2C_Read... [07:27:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:27:23]Read from MH i2c: E2 [07:27:23]MH_I2C_Read... [07:27:23]Read from MH i2c: E2 0E 00 [07:27:23]MH_I2C_Read... [07:27:23]Read from MH i2c: E2 0E 00 B3 06 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 31 [07:27:23]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [07:27:23]wFMCommunicate OK [07:27:23]SAM_PROTO_GetShiftState done [07:27:23]FM_GetShiftState done [07:27:23]req_shift_opened done [07:27:23]requested_item shift.open_date is exist - process it [07:27:23]req_shift_open_date [07:27:23]req_shift_open_date done [07:27:23]produce_requested_data done [07:27:23]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68119,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [07:27:23]process_action_free close_receipt [07:27:23]json_value_free [07:27:23]json_value_free done [07:27:23]process_json_proto returns [07:27:23]Send response to host [07:27:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68119,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [07:27:23]free response buf [07:27:23]execute_script done [07:27:23]execute_script returns [07:27:23]free content buf [07:27:23]Sock 9.Close socket [07:27:23]Sock 9.Thread stoped [07:27:27]OFD Sender: No OFD packet to send [07:27:32]OFD Sender: No OFD packet to send [07:27:37]OFD Sender: No OFD packet to send [07:27:42]OFD Sender: No OFD packet to send [07:27:47]OFD Sender: No OFD packet to send [07:27:52]OFD Sender: No OFD packet to send [07:27:57]OFD Sender: No OFD packet to send [07:28:02]OFD Sender: No OFD packet to send [07:28:07]OFD Sender: No OFD packet to send [07:28:12]OFD Sender: No OFD packet to send [07:28:17]OFD Sender: No OFD packet to send [07:28:22]OFD Sender: No OFD packet to send [07:28:27]OFD Sender: No OFD packet to send [07:28:32]OFD Sender: No OFD packet to send [07:28:37]OFD Sender: No OFD packet to send [07:28:42]OFD Sender: No OFD packet to send [07:28:47]OFD Sender: No OFD packet to send [07:28:52]OFD Sender: No OFD packet to send [07:28:57]OFD Sender: No OFD packet to send [07:29:02]OFD Sender: No OFD packet to send [07:29:07]OFD Sender: No OFD packet to send [07:29:12]OFD Sender: No OFD packet to send [07:29:17]OFD Sender: No OFD packet to send [07:29:22]OFD Sender: No OFD packet to send [07:29:27]OFD Sender: No OFD packet to send [07:29:32]OFD Sender: No OFD packet to send [07:29:37]OFD Sender: No OFD packet to send [07:29:42]OFD Sender: No OFD packet to send [07:29:47]OFD Sender: No OFD packet to send [07:29:52]OFD Sender: No OFD packet to send [07:29:57]OFD Sender: No OFD packet to send [07:30:02]OFD Sender: No OFD packet to send [07:30:07]OFD Sender: No OFD packet to send [07:30:12]OFD Sender: No OFD packet to send [07:30:17]OFD Sender: No OFD packet to send [07:30:22]OFD Sender: No OFD packet to send [07:30:27]OFD Sender: No OFD packet to send [07:30:32]OFD Sender: No OFD packet to send [07:30:37]OFD Sender: No OFD packet to send [07:30:42]OFD Sender: No OFD packet to send [07:30:47]OFD Sender: No OFD packet to send [07:30:52]OFD Sender: No OFD packet to send [07:30:57]OFD Sender: No OFD packet to send [07:31:02]OFD Sender: No OFD packet to send [07:31:07]OFD Sender: No OFD packet to send [07:31:12]OFD Sender: No OFD packet to send [07:31:17]OFD Sender: No OFD packet to send [07:31:22]OFD Sender: No OFD packet to send [07:31:27]OFD Sender: No OFD packet to send [07:31:32]OFD Sender: No OFD packet to send [07:31:37]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:53]OFD Sender: No OFD packet to send [07:35:58]OFD Sender: No OFD packet to send [07:36:03]OFD Sender: No OFD packet to send [07:36:08]OFD Sender: No OFD packet to send [07:36:13]OFD Sender: No OFD packet to send [07:36:18]OFD Sender: No OFD packet to send [07:36:23]OFD Sender: No OFD packet to send [07:36:28]OFD Sender: No OFD packet to send [07:36:33]OFD Sender: No OFD packet to send [07:36:38]OFD Sender: No OFD packet to send [07:36:43]OFD Sender: No OFD packet to send [07:36:48]OFD Sender: No OFD packet to send [07:36:53]OFD Sender: No OFD packet to send [07:36:58]OFD Sender: No OFD packet to send [07:37:03]OFD Sender: No OFD packet to send [07:37:08]OFD Sender: No OFD packet to send [07:37:13]OFD Sender: No OFD packet to send [07:37:18]OFD Sender: No OFD packet to send [07:37:23]OFD Sender: No OFD packet to send [07:37:28]OFD Sender: No OFD packet to send [07:37:33]OFD Sender: No OFD packet to send [07:37:38]OFD Sender: No OFD packet to send [07:37:43]OFD Sender: No OFD packet to send [07:37:48]OFD Sender: No OFD packet to send [07:37:53]OFD Sender: No OFD packet to send [07:37:58]OFD Sender: No OFD packet to send [07:38:03]OFD Sender: No OFD packet to send [07:38:08]OFD Sender: No OFD packet to send [07:38:13]OFD Sender: No OFD packet to send [07:38:18]OFD Sender: No OFD packet to send [07:38:23]OFD Sender: No OFD packet to send [07:38:28]OFD Sender: No OFD packet to send [07:38:33]OFD Sender: No OFD packet to send [07:38:38]OFD Sender: No OFD packet to send [07:38:43]OFD Sender: No OFD packet to send [07:38:48]OFD Sender: No OFD packet to send [07:38:53]OFD Sender: No OFD packet to send [07:38:58]OFD Sender: No OFD packet to send [07:39:03]OFD Sender: No OFD packet to send [07:39:08]OFD Sender: No OFD packet to send [07:39:13]OFD Sender: No OFD packet to send [07:39:18]OFD Sender: No OFD packet to send [07:39:23]OFD Sender: No OFD packet to send [07:39:28]OFD Sender: No OFD packet to send [07:39:33]OFD Sender: No OFD packet to send [07:39:38]OFD Sender: No OFD packet to send [07:39:43]OFD Sender: No OFD packet to send [07:39:48]OFD Sender: No OFD packet to send [07:39:53]OFD Sender: No OFD packet to send [07:39:58]OFD Sender: No OFD packet to send [07:40:03]OFD Sender: No OFD packet to send [07:40:08]OFD Sender: No OFD packet to send [07:40:13]OFD Sender: No OFD packet to send [07:40:18]OFD Sender: No OFD packet to send [07:40:23]OFD Sender: No OFD packet to send [07:40:28]OFD Sender: No OFD packet to send [07:40:33]OFD Sender: No OFD packet to send [07:40:38]OFD Sender: No OFD packet to send [07:40:43]OFD Sender: No OFD packet to send [07:40:48]OFD Sender: No OFD packet to send [07:40:53]OFD Sender: No OFD packet to send [07:40:58]OFD Sender: No OFD packet to send [07:41:03]OFD Sender: No OFD packet to send [07:41:08]OFD Sender: No OFD packet to send [07:41:13]OFD Sender: No OFD packet to send [07:41:18]OFD Sender: No OFD packet to send [07:41:23]OFD Sender: No OFD packet to send [07:41:28]OFD Sender: No OFD packet to send [07:41:33]OFD Sender: No OFD packet to send [07:41:38]OFD Sender: No OFD packet to send [07:41:43]OFD Sender: No OFD packet to send [07:41:48]OFD Sender: No OFD packet to send [07:41:53]OFD Sender: No OFD packet to send [07:41:58]OFD Sender: No OFD packet to send [07:42:03]OFD Sender: No OFD packet to send [07:42:08]OFD Sender: No OFD packet to send [07:42:13]OFD Sender: No OFD packet to send [07:42:18]OFD Sender: No OFD packet to send [07:42:23]OFD Sender: No OFD packet to send [07:42:28]OFD Sender: No OFD packet to send [07:42:33]OFD Sender: No OFD packet to send [07:42:38]OFD Sender: No OFD packet to send [07:42:43]OFD Sender: No OFD packet to send [07:42:48]OFD Sender: No OFD packet to send [07:42:53]OFD Sender: No OFD packet to send [07:42:58]OFD Sender: No OFD packet to send [07:43:03]OFD Sender: No OFD packet to send [07:43:08]OFD Sender: No OFD packet to send [07:43:13]OFD Sender: No OFD packet to send [07:43:18]OFD Sender: No OFD packet to send [07:43:23]OFD Sender: No OFD packet to send [07:43:28]OFD Sender: No OFD packet to send [07:43:33]OFD Sender: No OFD packet to send [07:43:38]OFD Sender: No OFD packet to send [07:43:43]OFD Sender: No OFD packet to send [07:43:48]OFD Sender: No OFD packet to send [07:43:53]OFD Sender: No OFD packet to send [07:43:58]OFD Sender: No OFD packet to send [07:44:03]OFD Sender: No OFD packet to send [07:44:08]OFD Sender: No OFD packet to send [07:44:13]OFD Sender: No OFD packet to send [07:44:18]OFD Sender: No OFD packet to send [07:44:23]OFD Sender: No OFD packet to send [07:44:28]OFD Sender: No OFD packet to send [07:44:33]OFD Sender: No OFD packet to send [07:44:38]OFD Sender: No OFD packet to send [07:44:43]OFD Sender: No OFD packet to send [07:44:48]OFD Sender: No OFD packet to send [07:44:53]OFD Sender: No OFD packet to send [07:44:58]OFD Sender: No OFD packet to send [07:45:03]OFD Sender: No OFD packet to send [07:45:08]OFD Sender: No OFD packet to send [07:45:13]OFD Sender: No OFD packet to send [07:45:18]OFD Sender: No OFD packet to send [07:45:23]OFD Sender: No OFD packet to send [07:45:28]OFD Sender: No OFD packet to send [07:45:33]OFD Sender: No OFD packet to send [07:45:38]OFD Sender: No OFD packet to send [07:45:43]OFD Sender: No OFD packet to send [07:45:48]OFD Sender: No OFD packet to send [07:45:53]OFD Sender: No OFD packet to send [07:45:58]OFD Sender: No OFD packet to send [07:46:03]OFD Sender: No OFD packet to send [07:46:08]OFD Sender: No OFD packet to send [07:46:13]OFD Sender: No OFD packet to send [07:46:18]OFD Sender: No OFD packet to send [07:46:23]OFD Sender: No OFD packet to send [07:46:28]OFD Sender: No OFD packet to send [07:46:33]OFD Sender: No OFD packet to send [07:46:38]OFD Sender: No OFD packet to send [07:46:43]OFD Sender: No OFD packet to send [07:46:48]OFD Sender: No OFD packet to send [07:46:53]OFD Sender: No OFD packet to send [07:46:58]OFD Sender: No OFD packet to send [07:47:03]OFD Sender: No OFD packet to send [07:47:08]OFD Sender: No OFD packet to send [07:47:13]OFD Sender: No OFD packet to send [07:47:18]OFD Sender: No OFD packet to send [07:47:23]OFD Sender: No OFD packet to send [07:47:28]OFD Sender: No OFD packet to send [07:47:33]OFD Sender: No OFD packet to send [07:47:38]OFD Sender: No OFD packet to send [07:47:43]OFD Sender: No OFD packet to send [07:47:48]OFD Sender: No OFD packet to send [07:47:53]OFD Sender: No OFD packet to send [07:47:58]OFD Sender: No OFD packet to send [07:48:03]OFD Sender: No OFD packet to send [07:48:08]OFD Sender: No OFD packet to send [07:48:13]OFD Sender: No OFD packet to send [07:48:18]OFD Sender: No OFD packet to send [07:48:23]OFD Sender: No OFD packet to send [07:48:28]OFD Sender: No OFD packet to send [07:48:33]OFD Sender: No OFD packet to send [07:48:38]OFD Sender: No OFD packet to send [07:48:43]OFD Sender: No OFD packet to send [07:48:48]OFD Sender: No OFD packet to send [07:48:53]OFD Sender: No OFD packet to send [07:48:58]OFD Sender: No OFD packet to send [07:49:03]OFD Sender: No OFD packet to send [07:49:08]OFD Sender: No OFD packet to send [07:49:13]OFD Sender: No OFD packet to send [07:49:18]OFD Sender: No OFD packet to send [07:49:23]OFD Sender: No OFD packet to send [07:49:28]OFD Sender: No OFD packet to send [07:49:33]OFD Sender: No OFD packet to send [07:49:38]OFD Sender: No OFD packet to send [07:49:43]OFD Sender: No OFD packet to send [07:49:48]OFD Sender: No OFD packet to send [07:49:53]OFD Sender: No OFD packet to send [07:49:58]OFD Sender: No OFD packet to send [07:50:03]OFD Sender: No OFD packet to send [07:50:08]OFD Sender: No OFD packet to send [07:50:13]OFD Sender: No OFD packet to send [07:50:18]OFD Sender: No OFD packet to send [07:50:23]OFD Sender: No OFD packet to send [07:50:28]OFD Sender: No OFD packet to send [07:50:33]OFD Sender: No OFD packet to send [07:50:38]OFD Sender: No OFD packet to send [07:50:43]OFD Sender: No OFD packet to send [07:50:48]OFD Sender: No OFD packet to send [07:50:53]OFD Sender: No OFD packet to send [07:50:58]OFD Sender: No OFD packet to send [07:51:03]OFD Sender: No OFD packet to send [07:51:08]OFD Sender: No OFD packet to send [07:51:13]OFD Sender: No OFD packet to send [07:51:18]OFD Sender: No OFD packet to send [07:51:23]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:09]OFD Sender: No OFD packet to send [07:57:14]OFD Sender: No OFD packet to send [07:57:19]OFD Sender: No OFD packet to send [07:57:24]OFD Sender: No OFD packet to send [07:57:29]OFD Sender: No OFD packet to send [07:57:34]OFD Sender: No OFD packet to send [07:57:39]OFD Sender: No OFD packet to send [07:57:44]OFD Sender: No OFD packet to send [07:57:49]OFD Sender: No OFD packet to send [07:57:54]OFD Sender: No OFD packet to send [07:57:59]OFD Sender: No OFD packet to send [07:58:04]OFD Sender: No OFD packet to send [07:58:09]OFD Sender: No OFD packet to send [07:58:14]OFD Sender: No OFD packet to send [07:58:19]OFD Sender: No OFD packet to send [07:58:24]OFD Sender: No OFD packet to send [07:58:29]OFD Sender: No OFD packet to send [07:58:34]OFD Sender: No OFD packet to send [07:58:39]OFD Sender: No OFD packet to send [07:58:44]OFD Sender: No OFD packet to send [07:58:49]OFD Sender: No OFD packet to send [07:58:54]OFD Sender: No OFD packet to send [07:58:59]OFD Sender: No OFD packet to send [07:59:04]OFD Sender: No OFD packet to send [07:59:09]OFD Sender: No OFD packet to send [07:59:14]OFD Sender: No OFD packet to send [07:59:19]OFD Sender: No OFD packet to send [07:59:24]OFD Sender: No OFD packet to send [07:59:29]OFD Sender: No OFD packet to send [07:59:34]OFD Sender: No OFD packet to send [07:59:39]OFD Sender: No OFD packet to send [07:59:44]OFD Sender: No OFD packet to send [07:59:49]OFD Sender: No OFD packet to send [07:59:54]OFD Sender: No OFD packet to send [07:59:59]OFD Sender: No OFD packet to send [08:00:04]OFD Sender: No OFD packet to send [08:00:09]OFD Sender: No OFD packet to send [08:00:14]OFD Sender: No OFD packet to send [08:00:19]OFD Sender: No OFD packet to send [08:00:24]OFD Sender: No OFD packet to send [08:00:29]OFD Sender: No OFD packet to send [08:00:34]OFD Sender: No OFD packet to send [08:00:39]OFD Sender: No OFD packet to send [08:00:44]OFD Sender: No OFD packet to send [08:00:49]OFD Sender: No OFD packet to send [08:00:54]OFD Sender: No OFD packet to send [08:00:59]OFD Sender: No OFD packet to send [08:01:04]OFD Sender: No OFD packet to send [08:01:09]OFD Sender: No OFD packet to send [08:01:14]OFD Sender: No OFD packet to send [08:01:19]OFD Sender: No OFD packet to send [08:01:24]OFD Sender: No OFD packet to send [08:01:29]OFD Sender: No OFD packet to send [08:01:34]OFD Sender: No OFD packet to send [08:01:39]OFD Sender: No OFD packet to send [08:01:44]OFD Sender: No OFD packet to send [08:01:49]OFD Sender: No OFD packet to send [08:01:54]OFD Sender: No OFD packet to send [08:01:59]OFD Sender: No OFD packet to send [08:02:04]OFD Sender: No OFD packet to send [08:02:09]OFD Sender: No OFD packet to send [08:02:14]OFD Sender: No OFD packet to send [08:02:19]OFD Sender: No OFD packet to send [08:02:24]OFD Sender: No OFD packet to send [08:02:29]OFD Sender: No OFD packet to send [08:02:34]OFD Sender: No OFD packet to send [08:02:39]OFD Sender: No OFD packet to send [08:02:44]OFD Sender: No OFD packet to send [08:02:49]OFD Sender: No OFD packet to send [08:02:54]OFD Sender: No OFD packet to send [08:02:59]OFD Sender: No OFD packet to send [08:03:04]OFD Sender: No OFD packet to send [08:03:09]OFD Sender: No OFD packet to send [08:03:14]OFD Sender: No OFD packet to send [08:03:19]OFD Sender: No OFD packet to send [08:03:24]OFD Sender: No OFD packet to send [08:03:29]OFD Sender: No OFD packet to send [08:03:34]OFD Sender: No OFD packet to send [08:03:39]OFD Sender: No OFD packet to send [08:03:44]OFD Sender: No OFD packet to send [08:03:49]OFD Sender: No OFD packet to send [08:03:54]OFD Sender: No OFD packet to send [08:03:59]OFD Sender: No OFD packet to send [08:04:04]OFD Sender: No OFD packet to send [08:04:09]OFD Sender: No OFD packet to send [08:04:14]OFD Sender: No OFD packet to send [08:04:19]OFD Sender: No OFD packet to send [08:04:24]OFD Sender: No OFD packet to send [08:04:29]OFD Sender: No OFD packet to send [08:04:34]OFD Sender: No OFD packet to send [08:04:39]OFD Sender: No OFD packet to send [08:04:44]OFD Sender: No OFD packet to send [08:04:49]OFD Sender: No OFD packet to send [08:04:54]OFD Sender: No OFD packet to send [08:04:59]OFD Sender: No OFD packet to send [08:05:04]OFD Sender: No OFD packet to send [08:05:09]OFD Sender: No OFD packet to send [08:05:14]OFD Sender: No OFD packet to send [08:05:19]OFD Sender: No OFD packet to send [08:05:24]OFD Sender: No OFD packet to send [08:05:29]OFD Sender: No OFD packet to send [08:05:34]OFD Sender: No OFD packet to send [08:05:39]OFD Sender: No OFD packet to send [08:05:44]OFD Sender: No OFD packet to send [08:05:49]OFD Sender: No OFD packet to send [08:05:54]OFD Sender: No OFD packet to send [08:05:59]OFD Sender: No OFD packet to send [08:06:04]OFD Sender: No OFD packet to send [08:06:09]OFD Sender: No OFD packet to send [08:06:14]OFD Sender: No OFD packet to send [08:06:19]OFD Sender: No OFD packet to send [08:06:24]OFD Sender: No OFD packet to send [08:06:29]OFD Sender: No OFD packet to send [08:06:34]OFD Sender: No OFD packet to send [08:06:39]OFD Sender: No OFD packet to send [08:06:44]OFD Sender: No OFD packet to send [08:06:49]OFD Sender: No OFD packet to send [08:06:54]OFD Sender: No OFD packet to send [08:06:59]OFD Sender: No OFD packet to send [08:07:04]OFD Sender: No OFD packet to send [08:07:09]OFD Sender: No OFD packet to send [08:07:14]OFD Sender: No OFD packet to send [08:07:19]OFD Sender: No OFD packet to send [08:07:24]OFD Sender: No OFD packet to send [08:07:29]OFD Sender: No OFD packet to send [08:07:34]OFD Sender: No OFD packet to send [08:07:39]OFD Sender: No OFD packet to send [08:07:44]OFD Sender: No OFD packet to send [08:07:49]OFD Sender: No OFD packet to send [08:07:54]OFD Sender: No OFD packet to send [08:07:59]OFD Sender: No OFD packet to send [08:08:04]OFD Sender: No OFD packet to send [08:08:09]OFD Sender: No OFD packet to send [08:08:14]OFD Sender: No OFD packet to send [08:08:19]OFD Sender: No OFD packet to send [08:08:24]OFD Sender: No OFD packet to send [08:08:29]OFD Sender: No OFD packet to send [08:08:34]OFD Sender: No OFD packet to send [08:08:39]OFD Sender: No OFD packet to send [08:08:44]OFD Sender: No OFD packet to send [08:08:49]OFD Sender: No OFD packet to send [08:08:54]OFD Sender: No OFD packet to send [08:08:59]OFD Sender: No OFD packet to send [08:09:04]OFD Sender: No OFD packet to send [08:09:09]OFD Sender: No OFD packet to send [08:09:14]OFD Sender: No OFD packet to send [08:09:19]OFD Sender: No OFD packet to send [08:09:24]OFD Sender: No OFD packet to send [08:09:29]OFD Sender: No OFD packet to send [08:09:34]OFD Sender: No OFD packet to send [08:09:39]OFD Sender: No OFD packet to send [08:09:44]OFD Sender: No OFD packet to send [08:09:49]OFD Sender: No OFD packet to send [08:09:54]OFD Sender: No OFD packet to send [08:09:59]OFD Sender: No OFD packet to send [08:10:04]OFD Sender: No OFD packet to send [08:10:07]accept exits with 8 [08:10:07]New connection [08:10:07]New thread 3067518308 created [08:10:07]Thread 3067374948 joined [08:10:07]Waiting for new connection... [08:10:07] Sock 8.Parse request [08:10:07]Sock 8.Check first char [08:10:07]Sock 8.First char is OK [08:10:07]request: POST /json_proto HTTP/1.0 [08:10:07]Method: POST [08:10:07]URL: /json_proto [08:10:07]Method is POST - this is cgi request [08:10:07]url: /json_proto [08:10:07]query_string will be loaded in cgi processing [08:10:07]execute_cgi json_proto POST (null) [08:10:07]execute_cgi path=json_proto method=POST [08:10:07]POST find Content-Length [08:10:07]Host: 172.17.42.3:8080 [08:10:07]Content-Length: 676 [08:10:07]Content-Type: application/json [08:10:07] [08:10:07]POST finish read [08:10:07]Found Content-Length = 676 [08:10:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46199", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:10:07]execute_script... [08:10: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 : (1)46199", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:10:07]POST & json_proto [08:10:07]process_json_proto [08:10:07]json parsed OK: [08:10:07]protocol is kg_v1.0 [08:10:07]action value=close_receipt [08:10:07]process_action close_receipt [08:10:07]cmd_close_receipt [08:10:07]MH_GetDate [08:10:07]Write to MH i2c: F0 00 00 B4 06 A9 [08:10:07]Write i2c OK [08:10:07]MH_I2C_Read... [08:10:07]Read from MH i2c: F0 [08:10:07]MH_I2C_Read... [08:10:07]Read from MH i2c: F0 09 00 [08:10:07]MH_I2C_Read... [08:10:07]Read from MH i2c: F0 09 00 B4 06 00 E1 46 1F 67 EA E5 1E 67 B3 [08:10:07]GetLastDocTimeStamp 1730100441 [08:10:07]current date 1730103009 [08:10:07]FM_GetShiftState [08:10:07]SAM_PROTO_GetShiftState [08:10:07]wFMCommunicate request_size=4 [08:10:07]MH_SAM_APDU [08:10:07]CAPDU: 80 13 01 00 [08:10:07]Write to MH i2c: E2 08 00 B5 06 80 13 01 00 00 00 00 00 38 [08:10:07]Write i2c OK [08:10:07]MH_I2C_Read... [08:10:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:10:08]Read from MH i2c: E2 [08:10:08]MH_I2C_Read... [08:10:08]Read from MH i2c: E2 0E 00 [08:10:08]MH_I2C_Read... [08:10:08]Read from MH i2c: E2 0E 00 B5 06 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 33 [08:10:08]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [08:10:08]wFMCommunicate OK [08:10:08]SAM_PROTO_GetShiftState done [08:10:08]FM_GetShiftState done [08:10:08]opened in 1730074770 [08:10:08]opened+sec_in_day 1730161170 [08:10:08]quantity*price = 50041 [08:10:08]sum+1 = 50042 [08:10:08]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.41 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 25 28.10.2024 08:10 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68120 ФПД: 167205511749956 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T081009&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68120&fm=167205511749956&tin=02508201610067®Number=0000000000091759&sum=50000 [08:10:09]StoreToDocumentArchive [08:10:09]shift 547 fd 68120 [08:10:09]save to /storage/0547/doc_00068120 [08:10:09]save last doc name /storage/0547/doc_00068120 to /storage/kkm_last_doc_name [08:10:09]save OK [08:10:09]Clear old archive folders... [08:10:09]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:10:09]tlvbuf is 008855C0 [08:10:09]SAM_PROTO_ClearQueue [08:10:09]wFMCommunicate request_size=4 [08:10:09]MH_SAM_APDU [08:10:09]CAPDU: 80 09 00 00 [08:10:09]Write to MH i2c: E2 08 00 C2 06 80 09 00 00 00 00 00 00 3A [08:10:09]Write i2c OK [08:10:09]MH_I2C_Read... [08:10:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:10:09]Read from MH i2c: E2 [08:10:09]MH_I2C_Read... [08:10:09]Read from MH i2c: E2 03 00 [08:10:09]MH_I2C_Read... [08:10:09]Read from MH i2c: E2 03 00 C2 06 00 90 00 3C [08:10:09]RAPDU: 90 00 [08:10:09]wFMCommunicate OK [08:10:09]SAM_PROTO_ClearQueue done [08:10:09]KKMCreateOFDPacket [08:10:09]OFDProtocolAddRootSTLVToBuf [08:10:09]FM_MakeSignedData [08:10:09]FM_MakeSignedData [08:10:09]SAM_PROTO_SignData [08:10:09]wFMCommunicate request_size=4 [08:10:09]MH_SAM_APDU [08:10:09]CAPDU: 80 0D 01 02 [08:10:09]Write to MH i2c: E2 08 00 C3 06 80 0D 01 02 00 00 00 00 42 [08:10:09]Write i2c OK [08:10:09]MH_I2C_Read... [08:10:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:10:09]Read from MH i2c: E2 [08:10:09]MH_I2C_Read... [08:10:09]Read from MH i2c: E2 03 00 [08:10:09]MH_I2C_Read... [08:10:09]Read from MH i2c: E2 03 00 C3 06 00 90 00 3D [08:10:09]RAPDU: 90 00 [08:10:09]wFMCommunicate OK [08:10:09]wFMCommunicate request_size=255 [08:10:09]MH_SAM_APDU [08:10:09]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 E1 46 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 18 0A 01 00 35 04 06 00 98 [08:10:09]Write to MH i2c: E2 02 01 C4 06 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 E1 46 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 18 0A 01 00 35 04 06 00 98 00 00 81 [08:10:09]Write i2c OK [08:10:09]MH_I2C_Read... [08:10:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:10:09]Read from MH i2c: E2 [08:10:09]MH_I2C_Read... [08:10:09]Read from MH i2c: E2 03 00 [08:10:09]MH_I2C_Read... [08:10:09]Read from MH i2c: E2 03 00 C4 06 00 90 00 3E [08:10:09]RAPDU: 90 00 [08:10:09]wFMCommunicate OK [08:10:09]wFMCommunicate request_size=10 [08:10:09]MH_SAM_APDU [08:10:09]CAPDU: 80 0D 02 02 05 12 91 21 E1 44 [08:10:09]Write to MH i2c: E2 0D 00 C5 06 80 0D 02 02 05 00 12 91 21 E1 44 00 00 38 [08:10:09]Write i2c OK [08:10:09]MH_I2C_Read... [08:10:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:10:09]Read from MH i2c: E2 [08:10:09]MH_I2C_Read... [08:10:09]Read from MH i2c: E2 03 00 [08:10:09]MH_I2C_Read... [08:10:09]Read from MH i2c: E2 03 00 C5 06 00 90 00 3F [08:10:09]RAPDU: 90 00 [08:10:09]wFMCommunicate OK [08:10:09]wFMCommunicate request_size=4 [08:10:09]MH_SAM_APDU [08:10:09]CAPDU: 80 0D 03 02 [08:10:09]Write to MH i2c: E2 08 00 C6 06 80 0D 03 02 00 00 00 00 47 [08:10:09]Write i2c OK [08:10:09]MH_I2C_Read... [08:10:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:10:09]Read from MH i2c: E2 [08:10:09]MH_I2C_Read... [08:10:09]Read from MH i2c: E2 0B 00 [08:10:09]MH_I2C_Read... [08:10:09]Read from MH i2c: E2 0B 00 C6 06 00 F9 73 49 76 87 65 13 9B 90 00 0D [08:10:09]RAPDU: F9 73 49 76 87 65 13 9B 90 00 [08:10:09]wFMCommunicate OK [08:10:09]SAM_PROTO_SignData done [08:10:09]FM_MakeSignedData done [08:10:09]CreateOFDProtocolMessage [08:10:09]wFMCommunicate request_size=4 [08:10:09]MH_SAM_APDU [08:10:09]CAPDU: 80 11 00 00 [08:10:09]Write to MH i2c: E2 08 00 C7 06 80 11 00 00 00 00 00 00 47 [08:10:09]Write i2c OK [08:10:09]MH_I2C_Read... [08:10:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:10:09]Read from MH i2c: E2 [08:10:09]MH_I2C_Read... [08:10:09]Read from MH i2c: E2 17 00 [08:10:09]MH_I2C_Read... [08:10:09]Read from MH i2c: E2 17 00 C7 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 9E [08:10:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [08:10:09]wFMCommunicate OK [08:10:09]CreateOFDProtocolMessage done [08:10:09]OFDSenderStorePacket 68120 [08:10:09]StoreOFDPacket docnum=68120 [08:10:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 8A C0 07 01 5D 2A 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 E1 46 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 18 0A 01 00 35 04 06 00 98 12 91 21 E1 44 F9 73 49 76 87 65 13 9B [08:10:09]CheckFolder [08:10:09]dirname=/storage/ofd_packets [08:10:09]CheckFolder done [08:10:09]ProducePacketName [08:10:09]name=ofd_packets/00068120 [08:10:09]NVStorageSaveData ofd_packets/00068120 [08:10:09]File name is /storage/ofd_packets/00068120 [08:10:09]Write 301 bytes [08:10:09]NVStorageSaveData done [08:10:09]OFDSenderStorePacket done [08:10:09]KKMCreateOFDPacket done [08:10:09]NVStorageSaveData kkm_last_timestamp [08:10:09]File name is /storage/kkm_last_timestamp [08:10:09]Write 4 bytes [08:10:09]NVStorageSaveData done [08:10:09]ExternCall_PrintAddStr [08:10:09]wPrintStart [08:10:09]Write to MH i2c: 01 00 00 C8 06 CE [08:10:09]Write i2c OK [08:10:09]MH_I2C_Read... [08:10:09]Read from MH i2c: 01 [08:10:09]MH_I2C_Read... [08:10:09]Read from MH i2c: 01 07 00 [08:10:09]MH_I2C_Read... [08:10:09]Read from MH i2c: 01 07 00 C8 06 00 00 00 00 00 FF 0F E3 [08:10:09]RasterBufferAndPrint [08:10:09]line Счет N : (1)46199 [08:10:09]line ИНН: 02508201610067 [08:10:09]line Контрольно-Кассовый Чек [08:10:09]line ПРОДАЖА [08:10:09]line ТРК (МРК, ГНК) : 13 [08:10:09]line Товар: 2710124130 [08:10:09]line Аи-92-К-5 [08:10:09]line 7.480 * 66.90 [08:10:09]line = 500.41 [08:10:09]line НДС 12% НСП 1% [08:10:09]line > о реализуемом товаре [08:10:09]line ОКРУГЛЕНИЕ: -0.41 [08:10:09]line ИТОГО: 500.00 [08:10:09]line Внесено: 500.00 [08:10:09]line СДАЧА: 0.00 [08:10:09]line НСП 1% : 4.43 [08:10:09]line НДС 12% : 53.14 [08:10:09]line Наличными: 500.00 [08:10:09]line Безнал.: 0.00 [08:10:09]line Место: АЗС № 160 "Партнер Нефть" [08:10:09]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [08:10:09]line СНО: Общий режим [08:10:09]line Чек 25 28.10.2024 08:10 [08:10:09]line Смена: 547 ФФД: 1.0 [08:10:09]line ЗНМ: 0300000093 [08:10:09]line РНМ: 0000000000091759 [08:10:09]line Версия ККМ: 001 [08:10:09]line ФМ: 0000000000871758 [08:10:09]line ФД: 68120 [08:10:09]line ФПД: 167205511749956 [08:10:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T081009&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68120&fm=167205511749956&tin=02508201610067®Number=0000000000091759&sum=50000 [08:10:10]OFD Sender: Processing packet 68120 [packets to send 27, broken 26] [08:10:10]ProducePacketName [08:10:10]name=ofd_packets/00068120 [08:10:10]OFD Sender: To server: pG, [08:10:10]CommunicateWithHost lk.salyk.kg:30040 [08:10:10]ConnectInit lk.salyk.kg [08:10:10]written 0, free lines is 4095 [08:10:10]Connected sock=10 [08:10:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 8A C0 07 01 5D 2A 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 E1 46 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 18 0A 01 00 35 04 06 00 98 12 91 21 E1 44 F9 73 49 76 87 65 13 9B [08:10:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 B2 EA 47 00 F0 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 38 37 31 37 35 38 10 04 04 00 18 0A 01 00 F4 03 04 00 9B F2 1E 67 B6 04 01 00 00 2F C1 3B A6 77 0C 21 61 [08:10:10]CommunicateWithHost err = 0 [08:10:10]CheckOFDResponse [08:10:10]1017 (14) - 77093643461234 [08:10:10]1041 (16) - 0000000000871758 [08:10:10]1040 (4) - 68120 [08:10:10]1012 (4) - 28.10.2024 02:10 [08:10:10]1206 (1) - 0 [08:10:10]OFD Sender: Remove packet 68120 [08:10:10]ProducePacketName [08:10:10]name=ofd_packets/00068120 [08:10:10]NVStorageDeleteData [08:10:10]Write to MH i2c: 01 00 00 F2 06 F8 [08:10:10]Write i2c OK [08:10:10]MH_I2C_Read... [08:10:10]Read from MH i2c: 01 [08:10:10]MH_I2C_Read... [08:10:10]Read from MH i2c: 01 07 00 [08:10:10]MH_I2C_Read... [08:10:10]Read from MH i2c: 01 07 00 F2 06 00 00 00 00 00 A8 0C B3 [08:10:10]RasterBufferAndPrint [08:10:10]line [08:10:10]line [08:10:10]line [08:10:10]line [08:10:10]line [08:10:10]written 0, free lines is 3243 [08:10:10]MH_Cut [08:10:10]Write to MH i2c: D1 01 00 F9 06 01 D1 [08:10:10]Write i2c OK [08:10:10]MH_I2C_Read... [08:10:10]Read from MH i2c: D1 [08:10:10]MH_I2C_Read... [08:10:10]Read from MH i2c: D1 01 00 [08:10:10]MH_I2C_Read... [08:10:10]Read from MH i2c: D1 01 00 F9 06 00 D0 [08:10:10]Write to MH i2c: 01 00 00 FA 06 00 [08:10:10]Write i2c OK [08:10:10]MH_I2C_Read... [08:10:10]OFD Sender: No OFD packet to send [08:10:11]*** Cut start [08:10:11]*** Partial cut [08:10:11]*** CUTSNS_PIN = 1 [08:10:11]*** CUTSNS_PIN = 0 [08:10:11]*** Brake cut motor [08:10:11]Read from MH i2c: 01 [08:10:11]MH_I2C_Read... [08:10:11]*** Stop cut motor [08:10:11]*** Cut end [08:10:11]Read from MH i2c: 01 07 00 [08:10:11]MH_I2C_Read... [08:10:11]Read from MH i2c: 01 07 00 FA 06 00 00 00 00 00 FF 0F 15 [08:10:11]process_action close_receipt done [08:10:11]requested_data is exist [08:10:11]produce_requested_data [08:10:11]requested_item fm.sn is exist - process it [08:10:11]wFMCommunicate request_size=4 [08:10:11]MH_SAM_APDU [08:10:11]CAPDU: 80 11 00 00 [08:10:11]Write to MH i2c: E2 08 00 FB 06 80 11 00 00 00 00 00 00 7B [08:10:11]Write i2c OK [08:10:11]MH_I2C_Read... [08:10:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:10:11]Read from MH i2c: E2 [08:10:11]MH_I2C_Read... [08:10:11]Read from MH i2c: E2 17 00 [08:10:11]MH_I2C_Read... [08:10:11]Read from MH i2c: E2 17 00 FB 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 D2 [08:10:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [08:10:11]wFMCommunicate OK [08:10:11]requested_item fd.num is exist - process it [08:10:11]SAM_PROTO_GetFieldsCounters [08:10:11]wFMCommunicate request_size=4 [08:10:11]MH_SAM_APDU [08:10:11]CAPDU: 80 13 00 00 [08:10:11]Write to MH i2c: E2 08 00 FC 06 80 13 00 00 00 00 00 00 7E [08:10:11]Write i2c OK [08:10:11]MH_I2C_Read... [08:10:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:10:12]Read from MH i2c: E2 [08:10:12]MH_I2C_Read... [08:10:12]Read from MH i2c: E2 62 00 [08:10:12]MH_I2C_Read... [08:10:12]Read from MH i2c: E2 62 00 FC 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 18 0A 01 00 0E 04 04 00 23 02 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 3C [08:10:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 18 0A 01 00 0E 04 04 00 23 02 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 [08:10:12]wFMCommunicate OK [08:10:12]SAM_PROTO_GetFieldsCounters done [08:10:12]requested_item shift.num is exist - process it [08:10:12]requested_item shift.opened is exist - process it [08:10:12]req_shift_opened [08:10:12]FM_GetShiftState [08:10:12]SAM_PROTO_GetShiftState [08:10:12]wFMCommunicate request_size=4 [08:10:12]MH_SAM_APDU [08:10:12]CAPDU: 80 13 01 00 [08:10:12]Write to MH i2c: E2 08 00 FD 06 80 13 01 00 00 00 00 00 80 [08:10:12]Write i2c OK [08:10:12]MH_I2C_Read... [08:10:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:10:12]Read from MH i2c: E2 [08:10:12]MH_I2C_Read... [08:10:12]Read from MH i2c: E2 0E 00 [08:10:12]MH_I2C_Read... [08:10:12]Read from MH i2c: E2 0E 00 FD 06 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 7B [08:10:12]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [08:10:12]wFMCommunicate OK [08:10:12]SAM_PROTO_GetShiftState done [08:10:12]FM_GetShiftState done [08:10:12]req_shift_opened done [08:10:12]requested_item shift.open_date is exist - process it [08:10:12]req_shift_open_date [08:10:12]req_shift_open_date done [08:10:12]produce_requested_data done [08:10:12]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68120,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [08:10:12]process_action_free close_receipt [08:10:12]json_value_free [08:10:12]json_value_free done [08:10:12]process_json_proto returns [08:10:12]Send response to host [08:10:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68120,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [08:10:12]free response buf [08:10:12]execute_script done [08:10:12]execute_script returns [08:10:12]free content buf [08:10:12]Sock 8.Close socket [08:10:12]Sock 8.Thread stoped [08:10:15]OFD Sender: No OFD packet to send [08:10:20]OFD Sender: No OFD packet to send [08:10:25]OFD Sender: No OFD packet to send [08:10:30]OFD Sender: No OFD packet to send [08:10:35]OFD Sender: No OFD packet to send [08:10:40]OFD Sender: No OFD packet to send [08:10:45]OFD Sender: No OFD packet to send [08:10:50]OFD Sender: No OFD packet to send [08:10:55]OFD Sender: No OFD packet to send [08:11:00]OFD Sender: No OFD packet to send [08:11:05]OFD Sender: No OFD packet to send [08:11:10]OFD Sender: No OFD packet to send [08:11:15]OFD Sender: No OFD packet to send [08:11:20]OFD Sender: No OFD packet to send [08:11:25]OFD Sender: No OFD packet to send [08:11:30]OFD Sender: No OFD packet to send [08:11:35]OFD Sender: No OFD packet to send [08:11:40]OFD Sender: No OFD packet to send [08:11:45]OFD Sender: No OFD packet to send [08:11:50]OFD Sender: No OFD packet to send [08:11:55]OFD Sender: No OFD packet to send [08:12:00]OFD Sender: No OFD packet to send [08:12:05]OFD Sender: No OFD packet to send [08:12:10]OFD Sender: No OFD packet to send [08:12:15]OFD Sender: No OFD packet to send [08:12:20]OFD Sender: No OFD packet to send [08:12:25]OFD Sender: No OFD packet to send [08:12:30]OFD Sender: No OFD packet to send [08:12:35]OFD Sender: No OFD packet to send [08:12:40]OFD Sender: No OFD packet to send [08:12:45]OFD Sender: No OFD packet to send [08:12:50]OFD Sender: No OFD packet to send [08:12:55]OFD Sender: No OFD packet to send [08:13:00]OFD Sender: No OFD packet to send [08:13:05]OFD Sender: No OFD packet to send [08:13:10]OFD Sender: No OFD packet to send [08:13:15]OFD Sender: No OFD packet to send [08:13:20]OFD Sender: No OFD packet to send [08:13:25]OFD Sender: No OFD packet to send [08:13:30]OFD Sender: No OFD packet to send [08:13:35]OFD Sender: No OFD packet to send [08:13:40]OFD Sender: No OFD packet to send [08:13:45]OFD Sender: No OFD packet to send [08:13:50]OFD Sender: No OFD packet to send [08:13:55]OFD Sender: No OFD packet to send [08:14:00]OFD Sender: No OFD packet to send [08:14:05]OFD Sender: No OFD packet to send [08:14:10]OFD Sender: No OFD packet to send [08:14:15]OFD Sender: No OFD packet to send [08:14:20]OFD Sender: No OFD packet to send [08:14:25]OFD Sender: No OFD packet to send [08:14:30]OFD Sender: No OFD packet to send [08:14:36]OFD Sender: No OFD packet to send [08:14:41]OFD Sender: No OFD packet to send [08:14:46]OFD Sender: No OFD packet to send [08:14:51]OFD Sender: No OFD packet to send [08:14:56]OFD Sender: No OFD packet to send [08:15:01]OFD Sender: No OFD packet to send [08:15:06]OFD Sender: No OFD packet to send [08:15:11]OFD Sender: No OFD packet to send [08:15:16]OFD Sender: No OFD packet to send [08:15:21]OFD Sender: No OFD packet to send [08:15:26]OFD Sender: No OFD packet to send [08:15:31]OFD Sender: No OFD packet to send [08:15:36]OFD Sender: No OFD packet to send [08:15:41]OFD Sender: No OFD packet to send [08:15:46]OFD Sender: No OFD packet to send [08:15:51]OFD Sender: No OFD packet to send [08:15:56]OFD Sender: No OFD packet to send [08:16:01]OFD Sender: No OFD packet to send [08:16:06]OFD Sender: No OFD packet to send [08:16:11]OFD Sender: No OFD packet to send [08:16:16]OFD Sender: No OFD packet to send [08:16:21]OFD Sender: No OFD packet to send [08:16:26]OFD Sender: No OFD packet to send [08:16:31]OFD Sender: No OFD packet to send [08:16:36]OFD Sender: No OFD packet to send [08:16:41]OFD Sender: No OFD packet to send [08:16:46]OFD Sender: No OFD packet to send [08:16:51]OFD Sender: No OFD packet to send [08:16:56]OFD Sender: No OFD packet to send [08:17:01]OFD Sender: No OFD packet to send [08:17:06]OFD Sender: No OFD packet to send [08:20:36]OFD Sender: No OFD packet to send [08:20:41]OFD Sender: No OFD packet to send [08:20:46]OFD Sender: No OFD packet to send [08:20:51]OFD Sender: No OFD packet to send [08:20:56]OFD Sender: No OFD packet to send [08:21:01]OFD Sender: No OFD packet to send [08:21:06]OFD Sender: No OFD packet to send [08:21:11]OFD Sender: No OFD packet to send [08:21:16]OFD Sender: No OFD packet to send [08:21:21]OFD Sender: No OFD packet to send [08:21:26]OFD Sender: No OFD packet to send [08:21:31]OFD Sender: No OFD packet to send [08:21:36]OFD Sender: No OFD packet to send [08:21:41]OFD Sender: No OFD packet to send [08:21:46]OFD Sender: No OFD packet to send [08:21:51]OFD Sender: No OFD packet to send [08:21:56]OFD Sender: No OFD packet to send [08:22:01]OFD Sender: No OFD packet to send [08:22:06]OFD Sender: No OFD packet to send [08:22:11]OFD Sender: No OFD packet to send [08:22:16]OFD Sender: No OFD packet to send [08:22:21]OFD Sender: No OFD packet to send [08:22:26]OFD Sender: No OFD packet to send [08:22:31]OFD Sender: No OFD packet to send [08:22:36]OFD Sender: No OFD packet to send [08:22:41]OFD Sender: No OFD packet to send [08:22:46]OFD Sender: No OFD packet to send [08:22:48]ConnectInit Can't connect to host [08:22:51]OFD Sender: No OFD packet to send [08:22:56]OFD Sender: No OFD packet to send [08:23:01]OFD Sender: No OFD packet to send [08:23:06]OFD Sender: No OFD packet to send [08:23:11]OFD Sender: No OFD packet to send [08:23:16]OFD Sender: No OFD packet to send [08:23:21]OFD Sender: No OFD packet to send [08:23:26]OFD Sender: No OFD packet to send [08:23:31]OFD Sender: No OFD packet to send [08:23:36]OFD Sender: No OFD packet to send [08:23:41]OFD Sender: No OFD packet to send [08:23:46]OFD Sender: No OFD packet to send [08:23:51]OFD Sender: No OFD packet to send [08:23:56]OFD Sender: No OFD packet to send [08:24:01]OFD Sender: No OFD packet to send [08:24:06]OFD Sender: No OFD packet to send [08:24:11]OFD Sender: No OFD packet to send [08:24:16]OFD Sender: No OFD packet to send [08:24:21]OFD Sender: No OFD packet to send [08:24:26]OFD Sender: No OFD packet to send [08:24:31]OFD Sender: No OFD packet to send [08:24:36]OFD Sender: No OFD packet to send [08:24:41]OFD Sender: No OFD packet to send [08:24:46]OFD Sender: No OFD packet to send [08:24:51]OFD Sender: No OFD packet to send [08:24:56]OFD Sender: No OFD packet to send [08:25:01]OFD Sender: No OFD packet to send [08:25:06]OFD Sender: No OFD packet to send [08:25:11]OFD Sender: No OFD packet to send [08:25:16]OFD Sender: No OFD packet to send [08:25:21]OFD Sender: No OFD packet to send [08:25:26]OFD Sender: No OFD packet to send [08:25:31]OFD Sender: No OFD packet to send [08:25:36]OFD Sender: No OFD packet to send [08:25:41]OFD Sender: No OFD packet to send [08:25:46]OFD Sender: No OFD packet to send [08:25:51]OFD Sender: No OFD packet to send [08:25:56]OFD Sender: No OFD packet to send [08:26:01]OFD Sender: No OFD packet to send [08:26:06]OFD Sender: No OFD packet to send [08:26:11]OFD Sender: No OFD packet to send [08:26:16]OFD Sender: No OFD packet to send [08:26:21]OFD Sender: No OFD packet to send [08:26:26]OFD Sender: No OFD packet to send [08:26:31]OFD Sender: No OFD packet to send [08:26:36]OFD Sender: No OFD packet to send [08:26:41]OFD Sender: No OFD packet to send [08:26:46]OFD Sender: No OFD packet to send [08:26:51]OFD Sender: No OFD packet to send [08:26:56]OFD Sender: No OFD packet to send [08:27:01]OFD Sender: No OFD packet to send [08:27:06]OFD Sender: No OFD packet to send [08:27:11]OFD Sender: No OFD packet to send [08:27:16]OFD Sender: No OFD packet to send [08:27:21]OFD Sender: No OFD packet to send [08:27:26]OFD Sender: No OFD packet to send [08:27:31]OFD Sender: No OFD packet to send [08:27:36]OFD Sender: No OFD packet to send [08:27:41]OFD Sender: No OFD packet to send [08:27:46]OFD Sender: No OFD packet to send [08:27:51]OFD Sender: No OFD packet to send [08:27:56]OFD Sender: No OFD packet to send [08:28:01]OFD Sender: No OFD packet to send [08:28:06]OFD Sender: No OFD packet to send [08:28:11]OFD Sender: No OFD packet to send [08:28:16]OFD Sender: No OFD packet to send [08:28:21]OFD Sender: No OFD packet to send [08:28:26]OFD Sender: No OFD packet to send [08:28:31]OFD Sender: No OFD packet to send [08:28:36]OFD Sender: No OFD packet to send [08:28:41]OFD Sender: No OFD packet to send [08:28:46]OFD Sender: No OFD packet to send [08:28:51]OFD Sender: No OFD packet to send [08:28:56]OFD Sender: No OFD packet to send [08:29:01]OFD Sender: No OFD packet to send [08:29:06]accept exits with 9 [08:29:06]New connection [08:29:06]New thread 3067374948 created [08:29:06]Thread 3067518308 joined [08:29:06]Waiting for new connection... [08:29:06] Sock 9.Parse request [08:29:06]Sock 9.Check first char [08:29:06]Sock 9.First char is OK [08:29:06]request: POST /json_proto HTTP/1.0 [08:29:06]Method: POST [08:29:06]URL: /json_proto [08:29:06]Method is POST - this is cgi request [08:29:06]url: /json_proto [08:29:06]query_string will be loaded in cgi processing [08:29:06]execute_cgi json_proto POST (null) [08:29:06]execute_cgi path=json_proto method=POST [08:29:06]POST find Content-Length [08:29:06]Host: 172.17.42.3:8080 [08:29:06]Content-Length: 676 [08:29:06]Content-Type: application/json [08:29:06] [08:29:06]POST finish read [08:29:06]Found Content-Length = 676 [08:29:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46200", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.990, "sum" : 200.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:29:06]execute_script... [08:29:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46200", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.990, "sum" : 200.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:29:06]POST & json_proto [08:29:06]process_json_proto [08:29:06]json parsed OK: [08:29:06]protocol is kg_v1.0 [08:29:06]action value=close_receipt [08:29:06]process_action close_receipt [08:29:06]cmd_close_receipt [08:29:06]MH_GetDate [08:29:06]Write to MH i2c: F0 00 00 FE 06 F3 [08:29:06]Write i2c OK [08:29:06]MH_I2C_Read... [08:29:06]Read from MH i2c: F0 [08:29:06]MH_I2C_Read... [08:29:06]Read from MH i2c: F0 09 00 [08:29:06]MH_I2C_Read... [08:29:06]Read from MH i2c: F0 09 00 FE 06 00 54 4B 1F 67 EA E5 1E 67 75 [08:29:06]GetLastDocTimeStamp 1730103009 [08:29:06]current date 1730104148 [08:29:06]FM_GetShiftState [08:29:06]SAM_PROTO_GetShiftState [08:29:06]wFMCommunicate request_size=4 [08:29:06]MH_SAM_APDU [08:29:06]CAPDU: 80 13 01 00 [08:29:06]Write to MH i2c: E2 08 00 FF 06 80 13 01 00 00 00 00 00 82 [08:29:06]Write i2c OK [08:29:06]MH_I2C_Read... [08:29:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:29:06]Read from MH i2c: E2 [08:29:06]MH_I2C_Read... [08:29:06]Read from MH i2c: E2 0E 00 [08:29:06]MH_I2C_Read... [08:29:06]Read from MH i2c: E2 0E 00 FF 06 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 7D [08:29:06]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [08:29:06]wFMCommunicate OK [08:29:06]SAM_PROTO_GetShiftState done [08:29:06]FM_GetShiftState done [08:29:06]opened in 1730074770 [08:29:06]opened+sec_in_day 1730161170 [08:29:06]quantity*price = 20003 [08:29:06]sum+1 = 20004 [08:29:06]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.03 ИТОГО: 200.00 Внесено: 200.00 СДАЧА: 0.00 НСП 1% : 1.77 НДС 12% : 21.24 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 26 28.10.2024 08:29 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68121 ФПД: 141530021091907 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T082908&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68121&fm=141530021091907&tin=02508201610067®Number=0000000000091759&sum=20000 [08:29:07]StoreToDocumentArchive [08:29:07]shift 547 fd 68121 [08:29:07]save to /storage/0547/doc_00068121 [08:29:07]save last doc name /storage/0547/doc_00068121 to /storage/kkm_last_doc_name [08:29:07]save OK [08:29:07]Clear old archive folders... [08:29:07]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:29:07]tlvbuf is 00867060 [08:29:07]SAM_PROTO_ClearQueue [08:29:07]wFMCommunicate request_size=4 [08:29:07]MH_SAM_APDU [08:29:07]CAPDU: 80 09 00 00 [08:29:07]Write to MH i2c: E2 08 00 0C 07 80 09 00 00 00 00 00 00 85 [08:29:07]Write i2c OK [08:29:07]MH_I2C_Read... [08:29:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:29:07]Read from MH i2c: E2 [08:29:07]MH_I2C_Read... [08:29:07]Read from MH i2c: E2 03 00 [08:29:07]MH_I2C_Read... [08:29:07]Read from MH i2c: E2 03 00 0C 07 00 90 00 87 [08:29:07]RAPDU: 90 00 [08:29:07]wFMCommunicate OK [08:29:07]SAM_PROTO_ClearQueue done [08:29:07]KKMCreateOFDPacket [08:29:07]OFDProtocolAddRootSTLVToBuf [08:29:07]FM_MakeSignedData [08:29:07]FM_MakeSignedData [08:29:07]SAM_PROTO_SignData [08:29:07]wFMCommunicate request_size=4 [08:29:07]MH_SAM_APDU [08:29:07]CAPDU: 80 0D 01 02 [08:29:07]Write to MH i2c: E2 08 00 0D 07 80 0D 01 02 00 00 00 00 8D [08:29:07]Write i2c OK [08:29:07]MH_I2C_Read... [08:29:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:29:07]Read from MH i2c: E2 [08:29:07]MH_I2C_Read... [08:29:07]Read from MH i2c: E2 03 00 [08:29:07]MH_I2C_Read... [08:29:07]Read from MH i2c: E2 03 00 0D 07 00 90 00 88 [08:29:07]RAPDU: 90 00 [08:29:07]wFMCommunicate OK [08:29:07]wFMCommunicate request_size=255 [08:29:07]MH_SAM_APDU [08:29:07]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 54 4B 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 19 0A 01 00 35 04 06 00 80 [08:29:07]Write to MH i2c: E2 02 01 0E 07 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 54 4B 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 19 0A 01 00 35 04 06 00 80 00 00 F0 [08:29:07]Write i2c OK [08:29:07]MH_I2C_Read... [08:29:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:29:07]Read from MH i2c: E2 [08:29:07]MH_I2C_Read... [08:29:07]Read from MH i2c: E2 03 00 [08:29:07]MH_I2C_Read... [08:29:07]Read from MH i2c: E2 03 00 0E 07 00 90 00 89 [08:29:07]RAPDU: 90 00 [08:29:07]wFMCommunicate OK [08:29:07]wFMCommunicate request_size=10 [08:29:07]MH_SAM_APDU [08:29:07]CAPDU: 80 0D 02 02 05 B8 86 A1 DA 43 [08:29:07]Write to MH i2c: E2 0D 00 0F 07 80 0D 02 02 05 00 B8 86 A1 DA 43 00 00 96 [08:29:07]Write i2c OK [08:29:07]MH_I2C_Read... [08:29:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:29:08]Read from MH i2c: E2 [08:29:08]MH_I2C_Read... [08:29:08]Read from MH i2c: E2 03 00 [08:29:08]MH_I2C_Read... [08:29:08]Read from MH i2c: E2 03 00 0F 07 00 90 00 8A [08:29:08]RAPDU: 90 00 [08:29:08]wFMCommunicate OK [08:29:08]wFMCommunicate request_size=4 [08:29:08]MH_SAM_APDU [08:29:08]CAPDU: 80 0D 03 02 [08:29:08]Write to MH i2c: E2 08 00 10 07 80 0D 03 02 00 00 00 00 92 [08:29:08]Write i2c OK [08:29:08]MH_I2C_Read... [08:29:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:29:08]Read from MH i2c: E2 [08:29:08]MH_I2C_Read... [08:29:08]Read from MH i2c: E2 0B 00 [08:29:08]MH_I2C_Read... [08:29:08]Read from MH i2c: E2 0B 00 10 07 00 7B B7 34 53 DD 4A 25 17 90 00 AF [08:29:08]RAPDU: 7B B7 34 53 DD 4A 25 17 90 00 [08:29:08]wFMCommunicate OK [08:29:08]SAM_PROTO_SignData done [08:29:08]FM_MakeSignedData done [08:29:08]CreateOFDProtocolMessage [08:29:08]wFMCommunicate request_size=4 [08:29:08]MH_SAM_APDU [08:29:08]CAPDU: 80 11 00 00 [08:29:08]Write to MH i2c: E2 08 00 11 07 80 11 00 00 00 00 00 00 92 [08:29:08]Write i2c OK [08:29:08]MH_I2C_Read... [08:29:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:29:08]Read from MH i2c: E2 [08:29:08]MH_I2C_Read... [08:29:08]Read from MH i2c: E2 17 00 [08:29:08]MH_I2C_Read... [08:29:08]Read from MH i2c: E2 17 00 11 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 E9 [08:29:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [08:29:08]wFMCommunicate OK [08:29:08]CreateOFDProtocolMessage done [08:29:08]OFDSenderStorePacket 68121 [08:29:08]StoreOFDPacket docnum=68121 [08:29:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 8E EF 07 01 82 38 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 54 4B 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 19 0A 01 00 35 04 06 00 80 B8 86 A1 DA 43 7B B7 34 53 DD 4A 25 17 [08:29:08]CheckFolder [08:29:08]dirname=/storage/ofd_packets [08:29:08]CheckFolder done [08:29:08]ProducePacketName [08:29:08]name=ofd_packets/00068121 [08:29:08]NVStorageSaveData ofd_packets/00068121 [08:29:08]File name is /storage/ofd_packets/00068121 [08:29:08]Write 301 bytes [08:29:08]NVStorageSaveData done [08:29:08]OFDSenderStorePacket done [08:29:08]KKMCreateOFDPacket done [08:29:08]NVStorageSaveData kkm_last_timestamp [08:29:08]File name is /storage/kkm_last_timestamp [08:29:08]Write 4 bytes [08:29:08]NVStorageSaveData done [08:29:08]ExternCall_PrintAddStr [08:29:08]wPrintStart [08:29:08]Write to MH i2c: 01 00 00 12 07 19 [08:29:08]Write i2c OK [08:29:08]MH_I2C_Read... [08:29:08]Read from MH i2c: 01 [08:29:08]MH_I2C_Read... [08:29:08]Read from MH i2c: 01 07 00 [08:29:08]MH_I2C_Read... [08:29:08]Read from MH i2c: 01 07 00 12 07 00 00 00 00 00 FF 0F 2E [08:29:08]RasterBufferAndPrint [08:29:08]line Счет N : (1)46200 [08:29:08]line ИНН: 02508201610067 [08:29:08]line Контрольно-Кассовый Чек [08:29:08]line ПРОДАЖА [08:29:08]line ТРК (МРК, ГНК) : 13 [08:29:08]line Товар: 2710124130 [08:29:08]line Аи-92-К-5 [08:29:08]line 2.990 * 66.90 [08:29:08]line = 200.03 [08:29:08]line НДС 12% НСП 1% [08:29:08]line > о реализуемом товаре [08:29:08]line ОКРУГЛЕНИЕ: -0.03 [08:29:08]line ИТОГО: 200.00 [08:29:08]line Внесено: 200.00 [08:29:08]line СДАЧА: 0.00 [08:29:08]line НСП 1% : 1.77 [08:29:08]line НДС 12% : 21.24 [08:29:08]line Наличными: 200.00 [08:29:08]line Безнал.: 0.00 [08:29:08]line Место: АЗС № 160 "Партнер Нефть" [08:29:08]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [08:29:08]line СНО: Общий режим [08:29:08]line Чек 26 28.10.2024 08:29 [08:29:08]line Смена: 547 ФФД: 1.0 [08:29:08]line ЗНМ: 0300000093 [08:29:08]line РНМ: 0000000000091759 [08:29:08]line Версия ККМ: 001 [08:29:08]line ФМ: 0000000000871758 [08:29:08]line ФД: 68121 [08:29:08]line ФПД: 141530021091907 [08:29:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T082908&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68121&fm=141530021091907&tin=02508201610067®Number=0000000000091759&sum=20000 [08:29:08]OFD Sender: Processing packet 68121 [packets to send 27, broken 26] [08:29:08]ProducePacketName [08:29:08]name=ofd_packets/00068121 [08:29:08]OFD Sender: To server: pG, [08:29:08]CommunicateWithHost lk.salyk.kg:30040 [08:29:08]ConnectInit lk.salyk.kg [08:29:08]written 0, free lines is 4095 [08:29:08]Connected sock=10 [08:29:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 8E EF 07 01 82 38 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 54 4B 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 19 0A 01 00 35 04 06 00 80 B8 86 A1 DA 43 7B B7 34 53 DD 4A 25 17 [08:29:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 28 BA 47 00 26 E3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 19 0A 01 00 F4 03 04 00 0D F7 1E 67 B6 04 01 00 00 30 B1 7A 9A 60 17 83 33 [08:29:08]CommunicateWithHost err = 0 [08:29:08]CheckOFDResponse [08:29:08]1017 (14) - 77093643461234 [08:29:08]1041 (16) - 0000000000871758 [08:29:08]1040 (4) - 68121 [08:29:08]1012 (4) - 28.10.2024 02:29 [08:29:08]1206 (1) - 0 [08:29:08]OFD Sender: Remove packet 68121 [08:29:08]ProducePacketName [08:29:08]name=ofd_packets/00068121 [08:29:08]NVStorageDeleteData [08:29:08]Write to MH i2c: 01 00 00 3C 07 43 [08:29:08]Write i2c OK [08:29:08]MH_I2C_Read... [08:29:08]Read from MH i2c: 01 [08:29:08]MH_I2C_Read... [08:29:08]Read from MH i2c: 01 07 00 [08:29:08]MH_I2C_Read... [08:29:08]Read from MH i2c: 01 07 00 3C 07 00 00 00 00 00 AA 0C 00 [08:29:08]RasterBufferAndPrint [08:29:08]line [08:29:08]line [08:29:08]line [08:29:08]line [08:29:08]line [08:29:08]written 0, free lines is 3245 [08:29:08]MH_Cut [08:29:08]Write to MH i2c: D1 01 00 43 07 01 1C [08:29:08]Write i2c OK [08:29:08]MH_I2C_Read... [08:29:08]Read from MH i2c: D1 [08:29:08]MH_I2C_Read... [08:29:08]Read from MH i2c: D1 01 00 [08:29:08]MH_I2C_Read... [08:29:08]Read from MH i2c: D1 01 00 43 07 00 1B [08:29:08]Write to MH i2c: 01 00 00 44 07 4B [08:29:08]Write i2c OK [08:29:08]MH_I2C_Read... [08:29:09]OFD Sender: No OFD packet to send [08:29:09]*** Cut start [08:29:09]*** Partial cut [08:29:09]*** CUTSNS_PIN = 1 [08:29:09]*** CUTSNS_PIN = 0 [08:29:10]*** Brake cut motor [08:29:10]Read from MH i2c: 01 [08:29:10]MH_I2C_Read... [08:29:10]*** Stop cut motor [08:29:10]*** Cut end [08:29:10]Read from MH i2c: 01 07 00 [08:29:10]MH_I2C_Read... [08:29:10]Read from MH i2c: 01 07 00 44 07 00 00 00 00 00 FF 0F 60 [08:29:10]process_action close_receipt done [08:29:10]requested_data is exist [08:29:10]produce_requested_data [08:29:10]requested_item fm.sn is exist - process it [08:29:10]wFMCommunicate request_size=4 [08:29:10]MH_SAM_APDU [08:29:10]CAPDU: 80 11 00 00 [08:29:10]Write to MH i2c: E2 08 00 45 07 80 11 00 00 00 00 00 00 C6 [08:29:10]Write i2c OK [08:29:10]MH_I2C_Read... [08:29:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:29:10]Read from MH i2c: E2 [08:29:10]MH_I2C_Read... [08:29:10]Read from MH i2c: E2 17 00 [08:29:10]MH_I2C_Read... [08:29:10]Read from MH i2c: E2 17 00 45 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 1D [08:29:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [08:29:10]wFMCommunicate OK [08:29:10]requested_item fd.num is exist - process it [08:29:10]SAM_PROTO_GetFieldsCounters [08:29:10]wFMCommunicate request_size=4 [08:29:10]MH_SAM_APDU [08:29:10]CAPDU: 80 13 00 00 [08:29:10]Write to MH i2c: E2 08 00 46 07 80 13 00 00 00 00 00 00 C9 [08:29:10]Write i2c OK [08:29:10]MH_I2C_Read... [08:29:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:29:10]Read from MH i2c: E2 [08:29:10]MH_I2C_Read... [08:29:10]Read from MH i2c: E2 62 00 [08:29:10]MH_I2C_Read... [08:29:10]Read from MH i2c: E2 62 00 46 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 19 0A 01 00 0E 04 04 00 23 02 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 8B [08:29:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 19 0A 01 00 0E 04 04 00 23 02 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 [08:29:10]wFMCommunicate OK [08:29:10]SAM_PROTO_GetFieldsCounters done [08:29:10]requested_item shift.num is exist - process it [08:29:10]requested_item shift.opened is exist - process it [08:29:10]req_shift_opened [08:29:10]FM_GetShiftState [08:29:10]SAM_PROTO_GetShiftState [08:29:10]wFMCommunicate request_size=4 [08:29:10]MH_SAM_APDU [08:29:10]CAPDU: 80 13 01 00 [08:29:10]Write to MH i2c: E2 08 00 47 07 80 13 01 00 00 00 00 00 CB [08:29:10]Write i2c OK [08:29:10]MH_I2C_Read... [08:29:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:29:10]Read from MH i2c: E2 [08:29:10]MH_I2C_Read... [08:29:10]Read from MH i2c: E2 0E 00 [08:29:10]MH_I2C_Read... [08:29:10]Read from MH i2c: E2 0E 00 47 07 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 C6 [08:29:10]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [08:29:10]wFMCommunicate OK [08:29:10]SAM_PROTO_GetShiftState done [08:29:10]FM_GetShiftState done [08:29:10]req_shift_opened done [08:29:10]requested_item shift.open_date is exist - process it [08:29:10]req_shift_open_date [08:29:10]req_shift_open_date done [08:29:10]produce_requested_data done [08:29:10]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68121,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [08:29:10]process_action_free close_receipt [08:29:10]json_value_free [08:29:10]json_value_free done [08:29:10]process_json_proto returns [08:29:10]Send response to host [08:29:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68121,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [08:29:10]free response buf [08:29:10]execute_script done [08:29:10]execute_script returns [08:29:10]free content buf [08:29:10]Sock 9.Close socket [08:29:10]Sock 9.Thread stoped [08:29:14]OFD Sender: No OFD packet to send [08:29:19]OFD Sender: No OFD packet to send [08:29:24]OFD Sender: No OFD packet to send [08:29:29]OFD Sender: No OFD packet to send [08:29:34]OFD Sender: No OFD packet to send [08:29:39]OFD Sender: No OFD packet to send [08:29:44]OFD Sender: No OFD packet to send [08:29:49]OFD Sender: No OFD packet to send [08:29:54]OFD Sender: No OFD packet to send [08:29:59]OFD Sender: No OFD packet to send [08:30:04]OFD Sender: No OFD packet to send [08:30:09]OFD Sender: No OFD packet to send [08:30:14]OFD Sender: No OFD packet to send [08:30:19]OFD Sender: No OFD packet to send [08:30:24]OFD Sender: No OFD packet to send [08:30:29]OFD Sender: No OFD packet to send [08:30:34]OFD Sender: No OFD packet to send [08:30:39]OFD Sender: No OFD packet to send [08:30:44]OFD Sender: No OFD packet to send [08:30:49]OFD Sender: No OFD packet to send [08:30:54]OFD Sender: No OFD packet to send [08:30:59]OFD Sender: No OFD packet to send [08:31:04]OFD Sender: No OFD packet to send [08:31:09]OFD Sender: No OFD packet to send [08:31:14]OFD Sender: No OFD packet to send [08:31:19]OFD Sender: No OFD packet to send [08:31:24]OFD Sender: No OFD packet to send [08:31:29]OFD Sender: No OFD packet to send [08:31:34]OFD Sender: No OFD packet to send [08:31:39]OFD Sender: No OFD packet to send [08:31:44]OFD Sender: No OFD packet to send [08:31:49]OFD Sender: No OFD packet to send [08:31:54]OFD Sender: No OFD packet to send [08:31:59]OFD Sender: No OFD packet to send [08:32:04]OFD Sender: No OFD packet to send [08:32:09]OFD Sender: No OFD packet to send [08:32:14]OFD Sender: No OFD packet to send [08:32:19]OFD Sender: No OFD packet to send [08:32:24]OFD Sender: No OFD packet to send [08:32:29]OFD Sender: No OFD packet to send [08:32:34]OFD Sender: No OFD packet to send [08:32:39]OFD Sender: No OFD packet to send [08:32:44]OFD Sender: No OFD packet to send [08:32:49]OFD Sender: No OFD packet to send [08:32:54]OFD Sender: No OFD packet to send [08:32:59]OFD Sender: No OFD packet to send [08:33:04]OFD Sender: No OFD packet to send [08:33:09]OFD Sender: No OFD packet to send [08:33:14]OFD Sender: No OFD packet to send [08:33:19]OFD Sender: No OFD packet to send [08:33:24]OFD Sender: No OFD packet to send [08:33:29]OFD Sender: No OFD packet to send [08:33:34]OFD Sender: No OFD packet to send [08:33:39]OFD Sender: No OFD packet to send [08:33:44]OFD Sender: No OFD packet to send [08:33:49]OFD Sender: No OFD packet to send [08:33:54]OFD Sender: No OFD packet to send [08:33:59]OFD Sender: No OFD packet to send [08:34:04]OFD Sender: No OFD packet to send [08:34:09]OFD Sender: No OFD packet to send [08:34:14]OFD Sender: No OFD packet to send [08:34:19]OFD Sender: No OFD packet to send [08:34:24]OFD Sender: No OFD packet to send [08:34:29]OFD Sender: No OFD packet to send [08:34:34]OFD Sender: No OFD packet to send [08:34:39]OFD Sender: No OFD packet to send [08:34:44]OFD Sender: No OFD packet to send [08:34:49]OFD Sender: No OFD packet to send [08:34: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:30]OFD Sender: No OFD packet to send [08:43:35]OFD Sender: No OFD packet to send [08:43:40]OFD Sender: No OFD packet to send [08:43:45]OFD Sender: No OFD packet to send [08:43:50]OFD Sender: No OFD packet to send [08:43:55]OFD Sender: No OFD packet to send [08:44:00]OFD Sender: No OFD packet to send [08:44:05]OFD Sender: No OFD packet to send [08:44:10]OFD Sender: No OFD packet to send [08:44:15]OFD Sender: No OFD packet to send [08:44:20]OFD Sender: No OFD packet to send [08:44:25]OFD Sender: No OFD packet to send [08:44:30]OFD Sender: No OFD packet to send [08:44:35]OFD Sender: No OFD packet to send [08:44:40]OFD Sender: No OFD packet to send [08:44:45]OFD Sender: No OFD packet to send [08:44:50]OFD Sender: No OFD packet to send [08:44:55]OFD Sender: No OFD packet to send [08:45:00]OFD Sender: No OFD packet to send [08:45:05]OFD Sender: No OFD packet to send [08:45:10]OFD Sender: No OFD packet to send [08:45:15]OFD Sender: No OFD packet to send [08:45:20]OFD Sender: No OFD packet to send [08:45:25]OFD Sender: No OFD packet to send [08:45:30]OFD Sender: No OFD packet to send [08:45:35]OFD Sender: No OFD packet to send [08:45:40]OFD Sender: No OFD packet to send [08:45:45]OFD Sender: No OFD packet to send [08:45:49]accept exits with 8 [08:45:49]New connection [08:45:49]New thread 3067518308 created [08:45:49]Thread 3067374948 joined [08:45:49]Waiting for new connection... [08:45:49] Sock 8.Parse request [08:45:49]Sock 8.Check first char [08:45:49]Sock 8.First char is OK [08:45:49]request: POST /json_proto HTTP/1.0 [08:45:49]Method: POST [08:45:49]URL: /json_proto [08:45:49]Method is POST - this is cgi request [08:45:49]url: /json_proto [08:45:49]query_string will be loaded in cgi processing [08:45:49]execute_cgi json_proto POST (null) [08:45:49]execute_cgi path=json_proto method=POST [08:45:49]POST find Content-Length [08:45:49]Host: 172.17.42.3:8080 [08:45:49]Content-Length: 765 [08:45:49]Content-Type: application/json [08:45:49] [08:45:49]POST finish read [08:45:49]Found Content-Length = 765 [08:45:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46201", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 3.900, "sum" : 260.91, "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: Mbank", "payments": [ { "type": 1, "sum" : 260.91 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:45:49]execute_script... [08:45:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46201", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 3.900, "sum" : 260.91, "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: Mbank", "payments": [ { "type": 1, "sum" : 260.91 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:45:49]POST & json_proto [08:45:49]process_json_proto [08:45:49]json parsed OK: [08:45:49]protocol is kg_v1.0 [08:45:49]action value=close_receipt [08:45:49]process_action close_receipt [08:45:49]cmd_close_receipt [08:45:49]MH_GetDate [08:45:49]Write to MH i2c: F0 00 00 48 07 3E [08:45:49]Write i2c OK [08:45:49]MH_I2C_Read... [08:45:49]Read from MH i2c: F0 [08:45:49]MH_I2C_Read... [08:45:49]Read from MH i2c: F0 09 00 [08:45:49]MH_I2C_Read... [08:45:49]Read from MH i2c: F0 09 00 48 07 00 3F 4F 1F 67 EA E5 1E 67 AF [08:45:49]GetLastDocTimeStamp 1730104148 [08:45:49]current date 1730105151 [08:45:49]FM_GetShiftState [08:45:49]SAM_PROTO_GetShiftState [08:45:49]wFMCommunicate request_size=4 [08:45:49]MH_SAM_APDU [08:45:49]CAPDU: 80 13 01 00 [08:45:49]Write to MH i2c: E2 08 00 49 07 80 13 01 00 00 00 00 00 CD [08:45:49]Write i2c OK [08:45:49]MH_I2C_Read... [08:45:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:45:49]Read from MH i2c: E2 [08:45:49]MH_I2C_Read... [08:45:49]Read from MH i2c: E2 0E 00 [08:45:49]MH_I2C_Read... [08:45:49]Read from MH i2c: E2 0E 00 49 07 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 C8 [08:45:49]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [08:45:49]wFMCommunicate OK [08:45:49]SAM_PROTO_GetShiftState done [08:45:49]FM_GetShiftState done [08:45:49]opened in 1730074770 [08:45:49]opened+sec_in_day 1730161170 [08:45:49]quantity*price = 26091 [08:45:49]sum+1 = 26092 [08:45:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.91 НСП 1% : 2.31 НДС 12% : 27.71 Наличными: 0.00 Безнал.: 260.91 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 27 28.10.2024 08:45 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68122 ФПД: 279517810209405 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T084551&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68122&fm=279517810209405&tin=02508201610067®Number=0000000000091759&sum=26091 [08:45:50]StoreToDocumentArchive [08:45:50]shift 547 fd 68122 [08:45:50]save to /storage/0547/doc_00068122 [08:45:50]save last doc name /storage/0547/doc_00068122 to /storage/kkm_last_doc_name [08:45:50]save OK [08:45:50]Clear old archive folders... [08:45:50]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:45:50]tlvbuf is 0089B130 [08:45:50]SAM_PROTO_ClearQueue [08:45:50]wFMCommunicate request_size=4 [08:45:50]MH_SAM_APDU [08:45:50]CAPDU: 80 09 00 00 [08:45:50]Write to MH i2c: E2 08 00 56 07 80 09 00 00 00 00 00 00 CF [08:45:50]Write i2c OK [08:45:50]MH_I2C_Read... [08:45:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:45:50]Read from MH i2c: E2 [08:45:50]MH_I2C_Read... [08:45:50]Read from MH i2c: E2 03 00 [08:45:50]MH_I2C_Read... [08:45:50]Read from MH i2c: E2 03 00 56 07 00 90 00 D1 [08:45:50]RAPDU: 90 00 [08:45:50]wFMCommunicate OK [08:45:50]SAM_PROTO_ClearQueue done [08:45:50]KKMCreateOFDPacket [08:45:50]OFDProtocolAddRootSTLVToBuf [08:45:50]FM_MakeSignedData [08:45:50]FM_MakeSignedData [08:45:50]SAM_PROTO_SignData [08:45:50]wFMCommunicate request_size=4 [08:45:50]MH_SAM_APDU [08:45:50]CAPDU: 80 0D 01 02 [08:45:50]Write to MH i2c: E2 08 00 57 07 80 0D 01 02 00 00 00 00 D7 [08:45:50]Write i2c OK [08:45:50]MH_I2C_Read... [08:45:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:45:50]Read from MH i2c: E2 [08:45:50]MH_I2C_Read... [08:45:50]Read from MH i2c: E2 03 00 [08:45:50]MH_I2C_Read... [08:45:50]Read from MH i2c: E2 03 00 57 07 00 90 00 D2 [08:45:50]RAPDU: 90 00 [08:45:50]wFMCommunicate OK [08:45:50]wFMCommunicate request_size=255 [08:45:50]MH_SAM_APDU [08:45:50]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 3C 0F 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 EB 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EB 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EB 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 3F 4F 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1A 0A 01 00 35 04 06 00 FE [08:45:50]Write to MH i2c: E2 02 01 58 07 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 3C 0F 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 EB 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EB 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EB 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 3F 4F 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1A 0A 01 00 35 04 06 00 FE 00 00 9D [08:45:50]Write i2c OK [08:45:50]MH_I2C_Read... [08:45:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:45:51]Read from MH i2c: E2 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: E2 03 00 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: E2 03 00 58 07 00 90 00 D3 [08:45:51]RAPDU: 90 00 [08:45:51]wFMCommunicate OK [08:45:51]wFMCommunicate request_size=10 [08:45:51]MH_SAM_APDU [08:45:51]CAPDU: 80 0D 02 02 05 38 4F C9 32 7D [08:45:51]Write to MH i2c: E2 0D 00 59 07 80 0D 02 02 05 00 38 4F C9 32 7D 00 00 E3 [08:45:51]Write i2c OK [08:45:51]MH_I2C_Read... [08:45:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:45:51]Read from MH i2c: E2 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: E2 03 00 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: E2 03 00 59 07 00 90 00 D4 [08:45:51]RAPDU: 90 00 [08:45:51]wFMCommunicate OK [08:45:51]wFMCommunicate request_size=4 [08:45:51]MH_SAM_APDU [08:45:51]CAPDU: 80 0D 03 02 [08:45:51]Write to MH i2c: E2 08 00 5A 07 80 0D 03 02 00 00 00 00 DC [08:45:51]Write i2c OK [08:45:51]MH_I2C_Read... [08:45:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:45:51]Read from MH i2c: E2 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: E2 0B 00 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: E2 0B 00 5A 07 00 14 1C 2A 0F 17 CC 40 6E 90 00 D7 [08:45:51]RAPDU: 14 1C 2A 0F 17 CC 40 6E 90 00 [08:45:51]wFMCommunicate OK [08:45:51]SAM_PROTO_SignData done [08:45:51]FM_MakeSignedData done [08:45:51]CreateOFDProtocolMessage [08:45:51]wFMCommunicate request_size=4 [08:45:51]MH_SAM_APDU [08:45:51]CAPDU: 80 11 00 00 [08:45:51]Write to MH i2c: E2 08 00 5B 07 80 11 00 00 00 00 00 00 DC [08:45:51]Write i2c OK [08:45:51]MH_I2C_Read... [08:45:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:45:51]Read from MH i2c: E2 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: E2 17 00 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: E2 17 00 5B 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 33 [08:45:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [08:45:51]wFMCommunicate OK [08:45:51]CreateOFDProtocolMessage done [08:45:51]OFDSenderStorePacket 68122 [08:45:51]StoreOFDPacket docnum=68122 [08:45:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 11 DF 07 01 CF B8 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 3C 0F 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 EB 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EB 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EB 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 3F 4F 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1A 0A 01 00 35 04 06 00 FE 38 4F C9 32 7D 14 1C 2A 0F 17 CC 40 6E [08:45:51]CheckFolder [08:45:51]dirname=/storage/ofd_packets [08:45:51]CheckFolder done [08:45:51]ProducePacketName [08:45:51]name=ofd_packets/00068122 [08:45:51]NVStorageSaveData ofd_packets/00068122 [08:45:51]File name is /storage/ofd_packets/00068122 [08:45:51]Write 301 bytes [08:45:51]NVStorageSaveData done [08:45:51]OFDSenderStorePacket done [08:45:51]KKMCreateOFDPacket done [08:45:51]NVStorageSaveData kkm_last_timestamp [08:45:51]File name is /storage/kkm_last_timestamp [08:45:51]Write 4 bytes [08:45:51]NVStorageSaveData done [08:45:51]ExternCall_PrintAddStr [08:45:51]wPrintStart [08:45:51]Write to MH i2c: 01 00 00 5C 07 63 [08:45:51]Write i2c OK [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: 01 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: 01 07 00 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: 01 07 00 5C 07 00 00 00 00 00 FF 0F 78 [08:45:51]RasterBufferAndPrint [08:45:51]line Счет N : (1)46201 [08:45:51]line ИНН: 02508201610067 [08:45:51]line Контрольно-Кассовый Чек [08:45:51]line ПРОДАЖА [08:45:51]line ТРК (МРК, ГНК) : 43 [08:45:51]line Товар: 2710124130 [08:45:51]line Аи-92-К-5 [08:45:51]line 3.900 * 66.90 [08:45:51]line = 260.91 [08:45:51]line НДС 12% НСП 1% [08:45:51]line > о реализуемом товаре [08:45:51]line ИТОГО: 260.91 [08:45:51]line НСП 1% : 2.31 [08:45:51]line НДС 12% : 27.71 [08:45:51]line Наличными: 0.00 [08:45:51]line Безнал.: 260.91 [08:45:51]line Место: АЗС № 160 "Партнер Нефть" [08:45:51]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [08:45:51]line СНО: Общий режим [08:45:51]line Чек 27 28.10.2024 08:45 [08:45:51]line Смена: 547 ФФД: 1.0 [08:45:51]line ЗНМ: 0300000093 [08:45:51]line РНМ: 0000000000091759 [08:45:51]line Версия ККМ: 001 [08:45:51]line Платежная система: Mbank [08:45:51]line ФМ: 0000000000871758 [08:45:51]line ФД: 68122 [08:45:51]line ФПД: 279517810209405 [08:45:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T084551&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68122&fm=279517810209405&tin=02508201610067®Number=0000000000091759&sum=26091 [08:45:51]written 0, free lines is 4095 [08:45:51]OFD Sender: Processing packet 68122 [packets to send 27, broken 26] [08:45:51]ProducePacketName [08:45:51]name=ofd_packets/00068122 [08:45:51]OFD Sender: To server: pG, [08:45:51]CommunicateWithHost lk.salyk.kg:30040 [08:45:51]ConnectInit lk.salyk.kg [08:45:51]Connected sock=9 [08:45:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 11 DF 07 01 CF B8 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 3C 0F 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 EB 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EB 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EB 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 3F 4F 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1A 0A 01 00 35 04 06 00 FE 38 4F C9 32 7D 14 1C 2A 0F 17 CC 40 6E [08:45:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 EC F9 47 00 95 C2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1A 0A 01 00 F4 03 04 00 F8 FA 1E 67 B6 04 01 00 00 0B 68 23 97 E2 8B 3C 4B [08:45:51]CommunicateWithHost err = 0 [08:45:51]CheckOFDResponse [08:45:51]1017 (14) - 77093643461234 [08:45:51]1041 (16) - 0000000000871758 [08:45:51]1040 (4) - 68122 [08:45:51]1012 (4) - 28.10.2024 02:46 [08:45:51]1206 (1) - 0 [08:45:51]OFD Sender: Remove packet 68122 [08:45:51]ProducePacketName [08:45:51]name=ofd_packets/00068122 [08:45:51]NVStorageDeleteData [08:45:51]Write to MH i2c: 01 00 00 84 07 8B [08:45:51]Write i2c OK [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: 01 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: 01 07 00 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: 01 07 00 84 07 00 00 00 00 00 E8 0C 86 [08:45:51]RasterBufferAndPrint [08:45:51]line [08:45:51]line [08:45:51]line [08:45:51]line [08:45:51]line [08:45:51]written 0, free lines is 3311 [08:45:51]MH_Cut [08:45:51]Write to MH i2c: D1 01 00 8B 07 01 64 [08:45:51]Write i2c OK [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: D1 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: D1 01 00 [08:45:51]MH_I2C_Read... [08:45:51]Read from MH i2c: D1 01 00 8B 07 00 63 [08:45:51]Write to MH i2c: 01 00 00 8C 07 93 [08:45:51]Write i2c OK [08:45:51]MH_I2C_Read... [08:45:52]OFD Sender: No OFD packet to send [08:45:52]*** Cut start [08:45:52]*** Partial cut [08:45:52]*** CUTSNS_PIN = 1 [08:45:52]*** CUTSNS_PIN = 0 [08:45:52]*** Brake cut motor [08:45:53]Read from MH i2c: 01 [08:45:53]MH_I2C_Read... [08:45:53]*** Stop cut motor [08:45:53]*** Cut end [08:45:53]Read from MH i2c: 01 07 00 [08:45:53]MH_I2C_Read... [08:45:53]Read from MH i2c: 01 07 00 8C 07 00 00 00 00 00 FF 0F A8 [08:45:53]process_action close_receipt done [08:45:53]requested_data is exist [08:45:53]produce_requested_data [08:45:53]requested_item fm.sn is exist - process it [08:45:53]wFMCommunicate request_size=4 [08:45:53]MH_SAM_APDU [08:45:53]CAPDU: 80 11 00 00 [08:45:53]Write to MH i2c: E2 08 00 8D 07 80 11 00 00 00 00 00 00 0E [08:45:53]Write i2c OK [08:45:53]MH_I2C_Read... [08:45:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:45:53]Read from MH i2c: E2 [08:45:53]MH_I2C_Read... [08:45:53]Read from MH i2c: E2 17 00 [08:45:53]MH_I2C_Read... [08:45:53]Read from MH i2c: E2 17 00 8D 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 65 [08:45:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [08:45:53]wFMCommunicate OK [08:45:53]requested_item fd.num is exist - process it [08:45:53]SAM_PROTO_GetFieldsCounters [08:45:53]wFMCommunicate request_size=4 [08:45:53]MH_SAM_APDU [08:45:53]CAPDU: 80 13 00 00 [08:45:53]Write to MH i2c: E2 08 00 8E 07 80 13 00 00 00 00 00 00 11 [08:45:53]Write i2c OK [08:45:53]MH_I2C_Read... [08:45:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:45:53]Read from MH i2c: E2 [08:45:53]MH_I2C_Read... [08:45:53]Read from MH i2c: E2 62 00 [08:45:53]MH_I2C_Read... [08:45:53]Read from MH i2c: E2 62 00 8E 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 1A 0A 01 00 0E 04 04 00 23 02 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 D7 [08:45:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 1A 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:45:53]wFMCommunicate OK [08:45:53]SAM_PROTO_GetFieldsCounters done [08:45:53]requested_item shift.num is exist - process it [08:45:53]requested_item shift.opened is exist - process it [08:45:53]req_shift_opened [08:45:53]FM_GetShiftState [08:45:53]SAM_PROTO_GetShiftState [08:45:53]wFMCommunicate request_size=4 [08:45:53]MH_SAM_APDU [08:45:53]CAPDU: 80 13 01 00 [08:45:53]Write to MH i2c: E2 08 00 8F 07 80 13 01 00 00 00 00 00 13 [08:45:53]Write i2c OK [08:45:53]MH_I2C_Read... [08:45:53]Read from MH i2c: E2 [08:45:53]MH_I2C_Read... [08:45:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:45:53]Read from MH i2c: E2 0E 00 [08:45:53]MH_I2C_Read... [08:45:53]Read from MH i2c: E2 0E 00 8F 07 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 0E [08:45:53]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [08:45:53]wFMCommunicate OK [08:45:53]SAM_PROTO_GetShiftState done [08:45:53]FM_GetShiftState done [08:45:53]req_shift_opened done [08:45:53]requested_item shift.open_date is exist - process it [08:45:53]req_shift_open_date [08:45:53]req_shift_open_date done [08:45:53]produce_requested_data done [08:45:53]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68122,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [08:45:53]process_action_free close_receipt [08:45:53]json_value_free [08:45:53]json_value_free done [08:45:53]process_json_proto returns [08:45:53]Send response to host [08:45:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68122,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [08:45:53]free response buf [08:45:53]execute_script done [08:45:53]execute_script returns [08:45:53]free content buf [08:45:53]Sock 8.Close socket [08:45:53]Sock 8.Thread stoped [08:45:57]OFD Sender: No OFD packet to send [08:46:02]OFD Sender: No OFD packet to send [08:46:07]OFD Sender: No OFD packet to send [08:46:12]OFD Sender: No OFD packet to send [08:46:17]OFD Sender: No OFD packet to send [08:46:22]OFD Sender: No OFD packet to send [08:46:27]OFD Sender: No OFD packet to send [08:46:32]OFD Sender: No OFD packet to send [08:46:37]OFD Sender: No OFD packet to send [08:46:42]OFD Sender: No OFD packet to send [08:46:47]OFD Sender: No OFD packet to send [08:46:52]OFD Sender: No OFD packet to send [08:46:57]OFD Sender: No OFD packet to send [08:47:02]OFD Sender: No OFD packet to send [08:47:07]OFD Sender: No OFD packet to send [08:47:12]OFD Sender: No OFD packet to send [08:47:17]OFD Sender: No OFD packet to send [08:47:22]OFD Sender: No OFD packet to send [08:47:27]OFD Sender: No OFD packet to send [08:47:32]OFD Sender: No OFD packet to send [08:47:37]OFD Sender: No OFD packet to send [08:47:42]OFD Sender: No OFD packet to send [08:47:47]OFD Sender: No OFD packet to send [08:47:52]OFD Sender: No OFD packet to send [08:47:57]OFD Sender: No OFD packet to send [08:48:02]OFD Sender: No OFD packet to send [08:48:07]OFD Sender: No OFD packet to send [08:48:12]OFD Sender: No OFD packet to send [08:48:17]OFD Sender: No OFD packet to send [08:48:22]OFD Sender: No OFD packet to send [08:48:27]OFD Sender: No OFD packet to send [08:48:32]OFD Sender: No OFD packet to send [08:48:37]OFD Sender: No OFD packet to send [08:48:42]OFD Sender: No OFD packet to send [08:48:47]OFD Sender: No OFD packet to send [08:48:52]OFD Sender: No OFD packet to send [08:48:57]OFD Sender: No OFD packet to send [08:49:02]OFD Sender: No OFD packet to send [08:49:07]OFD Sender: No OFD packet to send [08:49:12]OFD Sender: No OFD packet to send [08:49:17]OFD Sender: No OFD packet to send [08:49:22]OFD Sender: No OFD packet to send [08:49:23]int [08:49:23]Write to MH i2c: 01 00 00 90 07 97 [08:49:23]Write i2c OK [08:49:23]MH_I2C_Read... [08:49:23]Read from MH i2c: 01 [08:49:23]MH_I2C_Read... [08:49:23]Read from MH i2c: 01 07 00 [08:49:23]MH_I2C_Read... [08:49:23]*** FLAG_PRN_PAP1 set [08:49:23]*** FLAG_PRN_PAP1 reset [08:49:23]Read from MH i2c: 01 07 00 90 07 00 00 00 00 00 FF 0F AC [08:49:23]state=0 [08:49:23]int [08:49:23]Write to MH i2c: 01 00 00 91 07 98 [08:49:23]Write i2c OK [08:49:23]MH_I2C_Read... [08:49:23]Read from MH i2c: 01 [08:49:23]MH_I2C_Read... [08:49:23]Read from MH i2c: 01 07 00 [08:49:23]MH_I2C_Read... [08:49:23]*** FLAG_PRN_PAP1 set [08:49:23]*** FLAG_PRN_PAP1 reset [08:49:23]Read from MH i2c: 01 07 00 91 07 00 00 00 00 00 FF 0F AD [08:49:23]state=0 [08:49:23]int [08:49:23]Write to MH i2c: 01 00 00 92 07 99 [08:49:23]*** FLAG_PRN_PAP1 set [08:49:23]Write i2c OK [08:49:23]MH_I2C_Read... [08:49:23]Read from MH i2c: 01 [08:49:23]MH_I2C_Read... [08:49:23]Read from MH i2c: 01 07 00 [08:49:23]MH_I2C_Read... [08:49:23]Read from MH i2c: 01 07 00 92 07 00 01 00 00 00 FF 0F AF [08:49:23]state=0 [08:49:23]No paper [08:49:23]int [08:49:23]Write to MH i2c: 01 00 00 93 07 9A [08:49:23]*** FLAG_PRN_PAP2 set [08:49:23]Write i2c OK [08:49:23]MH_I2C_Read... [08:49:23]Read from MH i2c: 01 [08:49:23]MH_I2C_Read... [08:49:23]Read from MH i2c: 01 07 00 [08:49:23]MH_I2C_Read... [08:49:23]Read from MH i2c: 01 07 00 93 07 00 03 00 00 00 FF 0F B2 [08:49:23]state=0 [08:49:23]No paper [08:49:23]Cover opened [08:49:27]OFD Sender: No OFD packet to send [08:49:28]Write to MH i2c: 01 00 00 94 07 9B [08:49:28]Write i2c OK [08:49:28]MH_I2C_Read... [08:49:28]Read from MH i2c: 01 [08:49:28]MH_I2C_Read... [08:49:28]Read from MH i2c: 01 07 00 [08:49:28]MH_I2C_Read... [08:49:28]Read from MH i2c: 01 07 00 94 07 00 03 00 00 00 FF 0F B3 [08:49:28]state=3 [08:49:28]No paper [08:49:28]Cover opened [08:49:32]OFD Sender: No OFD packet to send [08:49:33]Write to MH i2c: 01 00 00 95 07 9C [08:49:33]Write i2c OK [08:49:33]MH_I2C_Read... [08:49:33]Read from MH i2c: 01 [08:49:33]MH_I2C_Read... [08:49:33]Read from MH i2c: 01 07 00 [08:49:33]MH_I2C_Read... [08:49:33]Read from MH i2c: 01 07 00 95 07 00 03 00 00 00 FF 0F B4 [08:49:33]state=3 [08:49:33]No paper [08:49:33]Cover opened [08:49:37]OFD Sender: No OFD packet to send [08:49:38]Write to MH i2c: 01 00 00 96 07 9D [08:49:38]Write i2c OK [08:49:38]MH_I2C_Read... [08:49:38]Read from MH i2c: 01 [08:49:38]MH_I2C_Read... [08:49:38]Read from MH i2c: 01 07 00 [08:49:38]MH_I2C_Read... [08:49:38]Read from MH i2c: 01 07 00 96 07 00 03 00 00 00 FF 0F B5 [08:49:38]state=3 [08:49:38]No paper [08:49:38]Cover opened [08:49:42]OFD Sender: No OFD packet to send [08:49:43]Write to MH i2c: 01 00 00 97 07 9E [08:49:43]Write i2c OK [08:49:43]MH_I2C_Read... [08:49:43]Read from MH i2c: 01 [08:49:43]MH_I2C_Read... [08:49:43]Read from MH i2c: 01 07 00 [08:49:43]MH_I2C_Read... [08:49:43]Read from MH i2c: 01 07 00 97 07 00 03 00 00 00 FF 0F B6 [08:49:43]state=3 [08:49:43]No paper [08:49:43]Cover opened [08:49:47]OFD Sender: No OFD packet to send [08:49:48]Write to MH i2c: 01 00 00 98 07 9F [08:49:48]Write i2c OK [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: 01 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: 01 07 00 [08:49:48]MH_I2C_Read... [08:49:48]Read from MH i2c: 01 07 00 98 07 00 03 00 00 00 FF 0F B7 [08:49:48]state=3 [08:49:48]No paper [08:49:48]Cover opened [08:49:52]OFD Sender: No OFD packet to send [08:49:53]Write to MH i2c: 01 00 00 99 07 A0 [08:49:53]Write i2c OK [08:49:53]MH_I2C_Read... [08:49:53]Read from MH i2c: 01 [08:49:53]MH_I2C_Read... [08:49:53]Read from MH i2c: 01 07 00 [08:49:53]MH_I2C_Read... [08:49:53]Read from MH i2c: 01 07 00 99 07 00 03 00 00 00 FF 0F B8 [08:49:53]state=3 [08:49:53]No paper [08:49:53]Cover opened [08:49:57]OFD Sender: No OFD packet to send [08:49:58]Write to MH i2c: 01 00 00 9A 07 A1 [08:49:58]Write i2c OK [08:49:58]MH_I2C_Read... [08:49:58]Read from MH i2c: 01 [08:49:58]MH_I2C_Read... [08:49:58]Read from MH i2c: 01 07 00 [08:49:58]MH_I2C_Read... [08:49:58]Read from MH i2c: 01 07 00 9A 07 00 03 00 00 00 FF 0F B9 [08:49:58]state=3 [08:49:58]No paper [08:49:58]Cover opened [08:50:01]int [08:50:01]Write to MH i2c: 01 00 00 9B 07 A2 [08:50:01]Write i2c OK [08:50:01]MH_I2C_Read... [08:50:01]Read from MH i2c: 01 [08:50:01]MH_I2C_Read... [08:50:01]Read from MH i2c: 01 07 00 [08:50:01]MH_I2C_Read... [08:50:01]*** FLAG_PRN_PAP2 reset [08:50:01]*** FLAG_PRN_PAP1 reset [08:50:01]Read from MH i2c: 01 07 00 9B 07 00 00 00 00 00 FF 0F B7 [08:50:01]state=3 [08:50:01]Cover closed [08:50:02]OFD Sender: No OFD packet to send [08:50:03]int [08:50:03]Write to MH i2c: 01 00 00 9C 07 A3 [08:50:03]Write i2c OK [08:50:03]MH_I2C_Read... [08:50:03]Read from MH i2c: 01 [08:50:03]MH_I2C_Read... [08:50:03]*** FLAG_PRN_KEY set [08:50:03]*** FLAG_PRN_KEY reset [08:50:03]Read from MH i2c: 01 07 00 [08:50:03]MH_I2C_Read... [08:50:03]Read from MH i2c: 01 07 00 9C 07 00 00 00 00 00 FF 0F B8 [08:50:03]state=0 [08:50:03]int [08:50:03]Write to MH i2c: 01 00 00 9D 07 A4 [08:50:03]*** FLAG_PRN_KEY set [08:50:03]Write i2c OK [08:50:03]MH_I2C_Read... [08:50:03]Read from MH i2c: 01 [08:50:03]MH_I2C_Read... [08:50:03]Read from MH i2c: 01 07 00 [08:50:03]MH_I2C_Read... [08:50:03]Read from MH i2c: 01 07 00 9D 07 00 08 00 00 00 FF 0F C1 [08:50:03]state=0 [08:50:03]Key pressed [08:50:03]Feed [08:50:03]Write to MH i2c: D8 00 00 9E 07 7C [08:50:03]Write i2c OK [08:50:03]MH_I2C_Read... [08:50:03]Read from MH i2c: D8 [08:50:03]MH_I2C_Read... [08:50:03]Read from MH i2c: D8 01 00 [08:50:03]MH_I2C_Read... [08:50:03]Read from MH i2c: D8 01 00 9E 07 00 7D [08:50:03]int [08:50:03]Write to MH i2c: 01 00 00 9F 07 A6 [08:50:03]Write i2c OK [08:50:03]MH_I2C_Read... [08:50:03]Read from MH i2c: 01 [08:50:03]MH_I2C_Read... [08:50:03]Read from MH i2c: 01 07 00 [08:50:03]MH_I2C_Read... [08:50:03]Read from MH i2c: 01 07 00 9F 07 00 48 00 00 00 3C 00 31 [08:50:03]state=2 [08:50:03]Key pressed [08:50:04]int [08:50:04]Write to MH i2c: 01 00 00 A0 07 A7 [08:50:04]*** FLAG_PRN_KEY reset [08:50:04]Write i2c OK [08:50:04]MH_I2C_Read... [08:50:04]Read from MH i2c: 01 [08:50:04]MH_I2C_Read... [08:50:04]Read from MH i2c: 01 07 00 [08:50:04]MH_I2C_Read... [08:50:04]Read from MH i2c: 01 07 00 A0 07 00 00 00 00 00 F6 0F B3 [08:50:04]state=2 [08:50:04]Stop feed [08:50:07]OFD Sender: No OFD packet to send [08:50:11]accept exits with 10 [08:50:11]New connection [08:50:11]New thread 3067374948 created [08:50:11]Thread 3067518308 joined [08:50:11]Waiting for new connection... [08:50:11] Sock 10.Parse request [08:50:11]Sock 10.Check first char [08:50:11]Sock 10.First char is OK [08:50:11]request: POST /json_proto HTTP/1.0 [08:50:11]Method: POST [08:50:11]URL: /json_proto [08:50:11]Method is POST - this is cgi request [08:50:11]url: /json_proto [08:50:11]query_string will be loaded in cgi processing [08:50:11]execute_cgi json_proto POST (null) [08:50:11]execute_cgi path=json_proto method=POST [08:50:11]POST find Content-Length [08:50:11]Host: 172.17.42.3:8080 [08:50:11]Content-Length: 215 [08:50:11]Content-Type: application/json [08:50:11] [08:50:11]POST finish read [08:50:11]Found Content-Length = 215 [08:50:11]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" ] } } [08:50:11]execute_script... [08:50:11]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" ] } } [08:50:11]POST & json_proto [08:50:11]process_json_proto [08:50:11]json parsed OK: [08:50:11]protocol is kg_v1.0 [08:50:11]action value=get_value [08:50:11]process_action get_value [08:50:11]cmd_get_value [08:50:11]process_action get_value done [08:50:11]requested_data is exist [08:50:11]produce_requested_data [08:50:11]requested_item kkm.sn is exist - process it [08:50:11]requested_item kkm.ver is exist - process it [08:50:11]requested_item fm.sn is exist - process it [08:50:11]wFMCommunicate request_size=4 [08:50:11]MH_SAM_APDU [08:50:11]CAPDU: 80 11 00 00 [08:50:11]Write to MH i2c: E2 08 00 A1 07 80 11 00 00 00 00 00 00 22 [08:50:11]Write i2c OK [08:50:11]MH_I2C_Read... [08:50:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:50:11]Read from MH i2c: E2 [08:50:11]MH_I2C_Read... [08:50:11]Read from MH i2c: E2 17 00 [08:50:11]MH_I2C_Read... [08:50:11]Read from MH i2c: E2 17 00 A1 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 79 [08:50:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [08:50:11]wFMCommunicate OK [08:50:11]requested_item fd.num is exist - process it [08:50:11]SAM_PROTO_GetFieldsCounters [08:50:11]wFMCommunicate request_size=4 [08:50:11]MH_SAM_APDU [08:50:11]CAPDU: 80 13 00 00 [08:50:11]Write to MH i2c: E2 08 00 A2 07 80 13 00 00 00 00 00 00 25 [08:50:11]Write i2c OK [08:50:11]MH_I2C_Read... [08:50:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:50:11]Read from MH i2c: E2 [08:50:11]MH_I2C_Read... [08:50:11]Read from MH i2c: E2 62 00 [08:50:11]MH_I2C_Read... [08:50:11]Read from MH i2c: E2 62 00 A2 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 1A 0A 01 00 0E 04 04 00 23 02 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 EB [08:50:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 1A 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:50:11]wFMCommunicate OK [08:50:11]SAM_PROTO_GetFieldsCounters done [08:50:11]requested_item shift.num is exist - process it [08:50:11]requested_item shift.opened is exist - process it [08:50:11]req_shift_opened [08:50:11]FM_GetShiftState [08:50:11]SAM_PROTO_GetShiftState [08:50:11]wFMCommunicate request_size=4 [08:50:11]MH_SAM_APDU [08:50:11]CAPDU: 80 13 01 00 [08:50:11]Write to MH i2c: E2 08 00 A3 07 80 13 01 00 00 00 00 00 27 [08:50:11]Write i2c OK [08:50:11]MH_I2C_Read... [08:50:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:50:11]Read from MH i2c: E2 [08:50:11]MH_I2C_Read... [08:50:11]Read from MH i2c: E2 0E 00 [08:50:11]MH_I2C_Read... [08:50:11]Read from MH i2c: E2 0E 00 A3 07 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 22 [08:50:11]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [08:50:11]wFMCommunicate OK [08:50:11]SAM_PROTO_GetShiftState done [08:50:11]FM_GetShiftState done [08:50:11]req_shift_opened done [08:50:11]requested_item shift.open_date is exist - process it [08:50:11]req_shift_open_date [08:50:11]req_shift_open_date done [08:50:11]produce_requested_data done [08:50:11]produce_requested_data return {"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68122,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [08:50:11]process_action_free get_value [08:50:11]json_value_free [08:50:11]json_value_free done [08:50:11]process_json_proto returns [08:50:11]Send response to host [08:50:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68122,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [08:50:11]free response buf [08:50:11]execute_script done [08:50:11]execute_script returns [08:50:11]free content buf [08:50:11]Sock 10.Close socket [08:50:11]Sock 10.Thread stoped [08:50:11]accept exits with 8 [08:50:11]New connection [08:50:11]New thread 3067518308 created [08:50:11]Thread 3067374948 joined [08:50:11]Waiting for new connection... [08:50:11] Sock 8.Parse request [08:50:11]Sock 8.Check first char [08:50:11]Sock 8.First char is OK [08:50:11]request: POST /json_proto HTTP/1.0 [08:50:11]Method: POST [08:50:11]URL: /json_proto [08:50:11]Method is POST - this is cgi request [08:50:11]url: /json_proto [08:50:11]query_string will be loaded in cgi processing [08:50:11]execute_cgi json_proto POST (null) [08:50:11]execute_cgi path=json_proto method=POST [08:50:11]POST find Content-Length [08:50:11]Host: 172.17.42.3:8080 [08:50:11]Content-Length: 331 [08:50:11]Content-Type: application/json [08:50:11] [08:50:11]POST finish read [08:50:11]Found Content-Length = 331 [08:50:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:50:11]execute_script... [08:50:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:50:12]POST & json_proto [08:50:12]process_json_proto [08:50:12]json parsed OK: [08:50:12]protocol is kg_v1.0 [08:50:12]action value=get_value [08:50:12]process_action get_value [08:50:12]cmd_get_value [08:50:12]process_action get_value done [08:50:12]requested_data is exist [08:50:12]produce_requested_data [08:50:12]requested_item fm.sale.total is exist - process it [08:50:12]SAM_PROTO_GetFMData [08:50:12]wFMCommunicate request_size=4 [08:50:12]MH_SAM_APDU [08:50:12]CAPDU: 80 13 03 00 [08:50:12]Write to MH i2c: E2 08 00 A4 07 80 13 03 00 00 00 00 00 2A [08:50:12]Write i2c OK [08:50:12]MH_I2C_Read... [08:50:12]OFD Sender: No OFD packet to send [08:50:12]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:50:12]Read from MH i2c: E2 [08:50:12]MH_I2C_Read... [08:50:12]Read from MH i2c: E2 FD 00 [08:50:12]MH_I2C_Read... [08:50:12]Read from MH i2c: E2 FD 00 A4 07 00 C7 04 85 04 C3 04 6E 04 04 00 D4 05 01 00 69 04 A3 00 6F 04 04 00 D5 04 01 00 B1 04 05 00 D8 CD 8A 60 02 70 04 05 00 24 B1 94 D0 01 72 04 04 00 B4 1C F6 8F 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 98 7C A2 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 49 CD 62 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 CA [08:50:12]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 D4 05 01 00 69 04 A3 00 6F 04 04 00 D5 04 01 00 B1 04 05 00 D8 CD 8A 60 02 70 04 05 00 24 B1 94 D0 01 72 04 04 00 B4 1C F6 8F 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 98 7C A2 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 49 CD 62 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 [08:50:12]wFMCommunicate OK [08:50:12]wFMCommunicate request_size=4 [08:50:12]MH_SAM_APDU [08:50:12]CAPDU: 80 17 00 00 [08:50:12]Write to MH i2c: E2 08 00 A5 07 80 17 00 00 00 00 00 00 2C [08:50:12]Write i2c OK [08:50:12]MH_I2C_Read... [08:50:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:50:12]Read from MH i2c: E2 [08:50:12]MH_I2C_Read... [08:50:12]Read from MH i2c: E2 FD 00 [08:50:12]MH_I2C_Read... [08:50:12]Read from MH i2c: E2 FD 00 A5 07 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 3E [08:50:12]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:50:12]wFMCommunicate OK [08:50:12]wFMCommunicate request_size=4 [08:50:12]MH_SAM_APDU [08:50:12]CAPDU: 80 17 00 00 [08:50:12]Write to MH i2c: E2 08 00 A6 07 80 17 00 00 00 00 00 00 2D [08:50:12]Write i2c OK [08:50:12]MH_I2C_Read... [08:50:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:50:13]Read from MH i2c: E2 [08:50:13]MH_I2C_Read... [08:50:13]Read from MH i2c: E2 FD 00 [08:50:13]MH_I2C_Read... [08:50:13]Read from MH i2c: E2 FD 00 A6 07 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 05 [08:50:13]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:50:13]wFMCommunicate OK [08:50:13]wFMCommunicate request_size=4 [08:50:13]MH_SAM_APDU [08:50:13]CAPDU: 80 17 00 00 [08:50:13]Write to MH i2c: E2 08 00 A7 07 80 17 00 00 00 00 00 00 2E [08:50:13]Write i2c OK [08:50:13]MH_I2C_Read... [08:50:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:50:13]Read from MH i2c: E2 [08:50:13]MH_I2C_Read... [08:50:13]Read from MH i2c: E2 FD 00 [08:50:13]MH_I2C_Read... [08:50:13]Read from MH i2c: E2 FD 00 A7 07 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A9 [08:50:13]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:50:13]wFMCommunicate OK [08:50:13]wFMCommunicate request_size=4 [08:50:13]MH_SAM_APDU [08:50:13]CAPDU: 80 17 00 00 [08:50:13]Write to MH i2c: E2 08 00 A8 07 80 17 00 00 00 00 00 00 2F [08:50:13]Write i2c OK [08:50:13]MH_I2C_Read... [08:50:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [08:50:13]Read from MH i2c: E2 [08:50:13]MH_I2C_Read... [08:50:13]Read from MH i2c: E2 E4 00 [08:50:13]MH_I2C_Read... [08:50:13]Read from MH i2c: E2 E4 00 A8 07 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 0F [08:50:13]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [08:50:13]wFMCommunicate OK [08:50:13]SAM_PROTO_GetFMData done [08:50:13]requested_item fm.sale_refund.total is exist - process it [08:50:13]requested_item fm.buy.total is exist - process it [08:50:13]requested_item shift.sale.total is exist - process it [08:50:13]SAM_PROTO_GetShiftData [08:50:13]wFMCommunicate request_size=4 [08:50:13]MH_SAM_APDU [08:50:13]CAPDU: 80 13 02 00 [08:50:13]Write to MH i2c: E2 08 00 A9 07 80 13 02 00 00 00 00 00 2E [08:50:13]Write i2c OK [08:50:13]MH_I2C_Read... [08:50:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:50:14]Read from MH i2c: E2 [08:50:14]MH_I2C_Read... [08:50:14]Read from MH i2c: E2 FD 00 [08:50:14]MH_I2C_Read... [08:50:14]Read from MH i2c: E2 FD 00 A9 07 00 AE 04 AA 04 AA 04 6E 04 04 00 1B 00 00 00 69 04 9B 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 0E B7 25 70 04 03 00 28 CB 16 72 04 03 00 E6 EB 0E 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 56 01 04 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 6F 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 16 [08:50:14]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 1B 00 00 00 69 04 9B 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 0E B7 25 70 04 03 00 28 CB 16 72 04 03 00 E6 EB 0E 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 56 01 04 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 6F 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [08:50:14]wFMCommunicate OK [08:50:14]wFMCommunicate request_size=4 [08:50:14]MH_SAM_APDU [08:50:14]CAPDU: 80 17 00 00 [08:50:14]Write to MH i2c: E2 08 00 AA 07 80 17 00 00 00 00 00 00 31 [08:50:14]Write i2c OK [08:50:14]MH_I2C_Read... [08:50:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:50:14]Read from MH i2c: E2 [08:50:14]MH_I2C_Read... [08:50:14]Read from MH i2c: E2 FD 00 [08:50:14]MH_I2C_Read... [08:50:14]Read from MH i2c: E2 FD 00 AA 07 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 53 [08:50:14]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 [08:50:14]wFMCommunicate OK [08:50:14]wFMCommunicate request_size=4 [08:50:14]MH_SAM_APDU [08:50:14]CAPDU: 80 17 00 00 [08:50:14]Write to MH i2c: E2 08 00 AB 07 80 17 00 00 00 00 00 00 32 [08:50:14]Write i2c OK [08:50:14]MH_I2C_Read... [08:50:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:50:14]Read from MH i2c: E2 [08:50:14]MH_I2C_Read... [08:50:14]Read from MH i2c: E2 FD 00 [08:50:14]MH_I2C_Read... [08:50:14]Read from MH i2c: E2 FD 00 AB 07 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E9 [08:50:14]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 [08:50:14]wFMCommunicate OK [08:50:14]wFMCommunicate request_size=4 [08:50:14]MH_SAM_APDU [08:50:14]CAPDU: 80 17 00 00 [08:50:14]Write to MH i2c: E2 08 00 AC 07 80 17 00 00 00 00 00 00 33 [08:50:14]Write i2c OK [08:50:14]MH_I2C_Read... [08:50:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:50:14]Read from MH i2c: E2 [08:50:14]MH_I2C_Read... [08:50:14]Read from MH i2c: E2 FD 00 [08:50:14]MH_I2C_Read... [08:50:14]Read from MH i2c: E2 FD 00 AC 07 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 A5 [08:50:14]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 [08:50:14]wFMCommunicate OK [08:50:14]wFMCommunicate request_size=4 [08:50:14]MH_SAM_APDU [08:50:14]CAPDU: 80 17 00 00 [08:50:14]Write to MH i2c: E2 08 00 AD 07 80 17 00 00 00 00 00 00 34 [08:50:14]Write i2c OK [08:50:14]MH_I2C_Read... [08:50:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [08:50:15]Read from MH i2c: E2 [08:50:15]MH_I2C_Read... [08:50:15]Read from MH i2c: E2 CB 00 [08:50:15]MH_I2C_Read... [08:50:15]Read from MH i2c: E2 CB 00 AD 07 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 1D [08:50:15]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 [08:50:15]wFMCommunicate OK [08:50:15]SAM_PROTO_GetShiftData done [08:50:15]requested_item shift.sale.total_cash is exist - process it [08:50:15]requested_item shift.sale_refund.total is exist - process it [08:50:15]requested_item shift.sale_refund.total_cash is exist - process it [08:50:15]requested_item shift.buy.total is exist - process it [08:50:15]requested_item shift.buy.total_cash is exist - process it [08:50:15]produce_requested_data done [08:50:15]produce_requested_data return {"fm.sale.total":102096439.92,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":24716.94,"shift.sale.total_cash":14938.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} [08:50:15]process_action_free get_value [08:50:15]json_value_free [08:50:15]json_value_free done [08:50:15]process_json_proto returns [08:50:15]Send response to host [08:50:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":102096439.92,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":24716.94,"shift.sale.total_cash":14938.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}}} [08:50:15]free response buf [08:50:15]execute_script done [08:50:15]execute_script returns [08:50:15]free content buf [08:50:15]Sock 8.Close socket [08:50:15]Sock 8.Thread stoped [08:50:17]OFD Sender: No OFD packet to send [08:50:22]OFD Sender: No OFD packet to send [08:50:27]OFD Sender: No OFD packet to send [08:50:32]OFD Sender: No OFD packet to send [08:50:37]OFD Sender: No OFD packet to send [08:50:42]OFD Sender: No OFD packet to send [08:50:47]OFD Sender: No OFD packet to send [08:50:52]OFD Sender: No OFD packet to send [08:50:57]OFD Sender: No OFD packet to send [08:51:02]OFD Sender: No OFD packet to send [08:51:07]OFD Sender: No OFD packet to send [08:51:12]OFD Sender: No OFD packet to send [08:51:17]OFD Sender: No OFD packet to send [08:51:22]OFD Sender: No OFD packet to send [08:51:27]OFD Sender: No OFD packet to send [08:51:32]OFD Sender: No OFD packet to send [08:51:37]OFD Sender: No OFD packet to send [08:51:42]OFD Sender: No OFD packet to send [08:51:47]OFD Sender: No OFD packet to send [08:51:52]OFD Sender: No OFD packet to send [08:51:57]OFD Sender: No OFD packet to send [08:52:02]OFD Sender: No OFD packet to send [08:52:07]OFD Sender: No OFD packet to send [08:52:12]OFD Sender: No OFD packet to send [08:52:17]OFD Sender: No OFD packet to send [08:52:22]OFD Sender: No OFD packet to send [08:52:27]OFD Sender: No OFD packet to send [08:52:32]OFD Sender: No OFD packet to send [08:52:37]OFD Sender: No OFD packet to send [08:52:42]OFD Sender: No OFD packet to send [08:52:47]OFD Sender: No OFD packet to send [08:52:52]OFD Sender: No OFD packet to send [08:52:57]OFD Sender: No OFD packet to send [08:53:02]OFD Sender: No OFD packet to send [08:53:07]OFD Sender: No OFD packet to send [08:53:12]OFD Sender: No OFD packet to send [08:53:17]OFD Sender: No OFD packet to send [08:53:22]OFD Sender: No OFD packet to send [08:53:27]OFD Sender: No OFD packet to send [08:53:32]OFD Sender: No OFD packet to send [08:53:37]OFD Sender: No OFD packet to send [08:53:42]OFD Sender: No OFD packet to send [08:53:47]OFD Sender: No OFD packet to send [08:53:52]OFD Sender: No OFD packet to send [08:53:57]OFD Sender: No OFD packet to send [08:54:02]OFD Sender: No OFD packet to send [08:54:07]OFD Sender: No OFD packet to send [08:54:12]OFD Sender: No OFD packet to send [08:54:17]OFD Sender: No OFD packet to send [08:54:22]OFD Sender: No OFD packet to send [08:54:27]OFD Sender: No OFD packet to send [08:54:32]OFD Sender: No OFD packet to send [08:54:37]OFD Sender: No OFD packet to send [08:54:42]OFD Sender: No OFD packet to send [08:54:47]OFD Sender: No OFD packet to send [08:54:52]OFD Sender: No OFD packet to send [08:54:57]OFD Sender: No OFD packet to send [08:55:02]OFD Sender: No OFD packet to send [08:55:07]OFD Sender: No OFD packet to send [08:55:12]OFD Sender: No OFD packet to send [08:55:17]OFD Sender: No OFD packet to send [08:55:22]OFD Sender: No OFD packet to send [08:55:27]OFD Sender: No OFD packet to send [08:55:32]OFD Sender: No OFD packet to send [08:55:37]OFD Sender: No OFD packet to send [08:55:42]OFD Sender: No OFD packet to send [08:55:47]OFD Sender: No OFD packet to send [08:55:52]OFD Sender: No OFD packet to send [08:55:57]OFD Sender: No OFD packet to send [08:56:02]OFD Sender: No OFD packet to send [08:56:07]OFD Sender: No OFD packet to send [08:56:12]OFD Sender: No OFD packet to send [08:56:17]OFD Sender: No OFD packet to send [08:56:22]OFD Sender: No OFD packet to send [08:56:27]OFD Sender: No OFD packet to send [08:56:32]OFD Sender: No OFD packet to send [08:56:37]OFD Sender: No OFD packet to send [08:56:42]OFD Sender: No OFD packet to send [08:56:47]OFD Sender: No OFD packet to send [08:56:52]OFD Sender: No OFD packet to send [08:56:57]OFD Sender: No OFD packet to send [08:57:02]OFD Sender: No OFD packet to send [08:57:07]OFD Sender: No OFD packet to send [08:57:12]OFD Sender: No OFD packet to send [08:57:17]OFD Sender: No OFD packet to send [08:57:22]OFD Sender: No OFD packet to send [08:57:27]OFD Sender: No OFD packet to send [08:57:32]OFD Sender: No OFD packet to send [08:57:37]OFD Sender: No OFD packet to send [08:57:42]OFD Sender: No OFD packet to send [08:57:47]OFD Sender: No OFD packet to send [08:57:52]OFD Sender: No OFD packet to send [08:57:57]OFD Sender: No OFD packet to send [08:58:02]OFD Sender: No OFD packet to send [08:58:07]OFD Sender: No OFD packet to send [08:58:12]OFD Sender: No OFD packet to send [08:58:17]OFD Sender: No OFD packet to send [08:58:22]OFD Sender: No OFD packet to send [08:58:27]OFD Sender: No OFD packet to send [08:58:32]OFD Sender: No OFD packet to send [08:58:37]OFD Sender: No OFD packet to send [08:58:42]OFD Sender: No OFD packet to send [08:58:47]OFD Sender: No OFD packet to send [08:58:52]OFD Sender: No OFD packet to send [08:58:57]OFD Sender: No OFD packet to send [08:59:02]OFD Sender: No OFD packet to send [08:59:07]OFD Sender: No OFD packet to send [08:59:12]OFD Sender: No OFD packet to send [08:59:17]OFD Sender: No OFD packet to send [08:59:22]OFD Sender: No OFD packet to send [08:59:27]OFD Sender: No OFD packet to send [08:59:32]OFD Sender: No OFD packet to send [08:59:37]OFD Sender: No OFD packet to send [08:59:42]OFD Sender: No OFD packet to send [08:59:47]OFD Sender: No OFD packet to send [08:59:53]OFD Sender: No OFD packet to send [08:59:58]OFD Sender: No OFD packet to send [09:00:03]OFD Sender: No OFD packet to send [09:00:08]OFD Sender: No OFD packet to send [09:00:13]OFD Sender: No OFD packet to send [09:00:18]OFD Sender: No OFD packet to send [09:00:23]OFD Sender: No OFD packet to send [09:00:28]OFD Sender: No OFD packet to send [09:00:33]OFD Sender: No OFD packet to send [09:00:38]OFD Sender: No OFD packet to send [09:00:43]OFD Sender: No OFD packet to send [09:00:48]OFD Sender: No OFD packet to send [09:00:53]OFD Sender: No OFD packet to send [09:00:58]OFD Sender: No OFD packet to send [09:01:03]OFD Sender: No OFD packet to send [09:01:08]OFD Sender: No OFD packet to send [09:01:13]OFD Sender: No OFD packet to send [09:01:18]OFD Sender: No OFD packet to send [09:01:23]OFD Sender: No OFD packet to send [09:01:28]OFD Sender: No OFD packet to send [09:01:33]OFD Sender: No OFD packet to send [09:01:38]OFD Sender: No OFD packet to send [09:01:43]OFD Sender: No OFD packet to send [09:01:48]OFD Sender: No OFD packet to send [09:01:53]OFD Sender: No OFD packet to send [09:01:58]OFD Sender: No OFD packet to send [09:02:03]OFD Sender: No OFD packet to send [09:02:08]OFD Sender: No OFD packet to send [09:02:13]OFD Sender: No OFD packet to send [09:02:18]OFD Sender: No OFD packet to send [09:02:23]OFD Sender: No OFD packet to send [09:02:28]OFD Sender: No OFD packet to send [09:02:33]OFD Sender: No OFD packet to send [09:02:38]OFD Sender: No OFD packet to send [09:02:43]OFD Sender: No OFD packet to send [09:02:48]OFD Sender: No OFD packet to send [09:02:53]OFD Sender: No OFD packet to send [09:02:58]OFD Sender: No OFD packet to send [09:03:03]OFD Sender: No OFD packet to send [09:03:08]OFD Sender: No OFD packet to send [09:03:13]OFD Sender: No OFD packet to send [09:03:18]OFD Sender: No OFD packet to send [09:03:23]OFD Sender: No OFD packet to send [09:03:28]OFD Sender: No OFD packet to send [09:03:33]OFD Sender: No OFD packet to send [09:03:38]OFD Sender: No OFD packet to send [09:03:43]OFD Sender: No OFD packet to send [09:03:48]OFD Sender: No OFD packet to send [09:03:53]OFD Sender: No OFD packet to send [09:03:58]OFD Sender: No OFD packet to send [09:04:03]OFD Sender: No OFD packet to send [09:04:08]OFD Sender: No OFD packet to send [09:04:13]OFD Sender: No OFD packet to send [09:04:18]OFD Sender: No OFD packet to send [09:04:23]OFD Sender: No OFD packet to send [09:04:28]OFD Sender: No OFD packet to send [09:04:33]OFD Sender: No OFD packet to send [09:04:38]OFD Sender: No OFD packet to send [09:04:43]OFD Sender: No OFD packet to send [09:04:48]OFD Sender: No OFD packet to send [09:04:53]OFD Sender: No OFD packet to send [09:04:58]OFD Sender: No OFD packet to send [09:05:03]OFD Sender: No OFD packet to send [09:05:08]OFD Sender: No OFD packet to send [09:05:13]OFD Sender: No OFD packet to send [09:05:18]OFD Sender: No OFD packet to send [09:05:23]OFD Sender: No OFD packet to send [09:05:28]OFD Sender: No OFD packet to send [09:05:33]OFD Sender: No OFD packet to send [09:05:38]OFD Sender: No OFD packet to send [09:05:43]OFD Sender: No OFD packet to send [09:05:48]OFD Sender: No OFD packet to send [09:05:53]OFD Sender: No OFD packet to send [09:05:58]OFD Sender: No OFD packet to send [09:06:03]OFD Sender: No OFD packet to send [09:06:08]OFD Sender: No OFD packet to send [09:06:13]OFD Sender: No OFD packet to send [09:06:18]OFD Sender: No OFD packet to send [09:06:23]OFD Sender: No OFD packet to send [09:06:28]OFD Sender: No OFD packet to send [09:06:33]OFD Sender: No OFD packet to send [09:06:35]accept exits with 9 [09:06:35]New connection [09:06:35]New thread 3067374948 created [09:06:35]Thread 3067518308 joined [09:06:35]Waiting for new connection... [09:06:35] Sock 9.Parse request [09:06:35]Sock 9.Check first char [09:06:35]Sock 9.First char is OK [09:06:35]request: POST /json_proto HTTP/1.0 [09:06:35]Method: POST [09:06:35]URL: /json_proto [09:06:35]Method is POST - this is cgi request [09:06:35]url: /json_proto [09:06:35]query_string will be loaded in cgi processing [09:06:35]execute_cgi json_proto POST (null) [09:06:35]execute_cgi path=json_proto method=POST [09:06:35]POST find Content-Length [09:06:35]Host: 172.17.42.3:8080 [09:06:35]Content-Length: 681 [09:06:35]Content-Type: application/json [09:06:35] [09:06:35]POST finish read [09:06:35]Found Content-Length = 681 [09:06:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46202", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:06:35]execute_script... [09:06:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46202", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:06:35]POST & json_proto [09:06:35]process_json_proto [09:06:35]json parsed OK: [09:06:35]protocol is kg_v1.0 [09:06:35]action value=close_receipt [09:06:35]process_action close_receipt [09:06:35]cmd_close_receipt [09:06:35]MH_GetDate [09:06:35]Write to MH i2c: F0 00 00 AE 07 A4 [09:06:35]Write i2c OK [09:06:35]MH_I2C_Read... [09:06:35]Read from MH i2c: F0 [09:06:35]MH_I2C_Read... [09:06:35]Read from MH i2c: F0 09 00 [09:06:35]MH_I2C_Read... [09:06:35]Read from MH i2c: F0 09 00 AE 07 00 1D 54 1F 67 EA E5 1E 67 F8 [09:06:35]GetLastDocTimeStamp 1730105151 [09:06:35]current date 1730106397 [09:06:35]FM_GetShiftState [09:06:35]SAM_PROTO_GetShiftState [09:06:35]wFMCommunicate request_size=4 [09:06:35]MH_SAM_APDU [09:06:35]CAPDU: 80 13 01 00 [09:06:35]Write to MH i2c: E2 08 00 AF 07 80 13 01 00 00 00 00 00 33 [09:06:35]Write i2c OK [09:06:35]MH_I2C_Read... [09:06:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:06:35]Read from MH i2c: E2 [09:06:35]MH_I2C_Read... [09:06:35]Read from MH i2c: E2 0E 00 [09:06:35]MH_I2C_Read... [09:06:35]Read from MH i2c: E2 0E 00 AF 07 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 2E [09:06:35]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [09:06:35]wFMCommunicate OK [09:06:35]SAM_PROTO_GetShiftState done [09:06:35]FM_GetShiftState done [09:06:35]opened in 1730074770 [09:06:35]opened+sec_in_day 1730161170 [09:06:35]quantity*price = 100021 [09:06:35]sum+1 = 100023 [09:06:35]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.22 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.22 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 28 28.10.2024 09:06 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68123 ФПД: 270445339861507 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T090637&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68123&fm=270445339861507&tin=02508201610067®Number=0000000000091759&sum=100000 [09:06:36]StoreToDocumentArchive [09:06:36]shift 547 fd 68123 [09:06:36]save to /storage/0547/doc_00068123 [09:06:36]save last doc name /storage/0547/doc_00068123 to /storage/kkm_last_doc_name [09:06:36]save OK [09:06:36]Clear old archive folders... [09:06:36]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:06:36]tlvbuf is 0089B160 [09:06:36]SAM_PROTO_ClearQueue [09:06:36]wFMCommunicate request_size=4 [09:06:36]MH_SAM_APDU [09:06:36]CAPDU: 80 09 00 00 [09:06:36]Write to MH i2c: E2 08 00 BC 07 80 09 00 00 00 00 00 00 35 [09:06:36]Write i2c OK [09:06:36]MH_I2C_Read... [09:06:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:06:36]Read from MH i2c: E2 [09:06:36]MH_I2C_Read... [09:06:36]Read from MH i2c: E2 03 00 [09:06:36]MH_I2C_Read... [09:06:36]Read from MH i2c: E2 03 00 BC 07 00 90 00 37 [09:06:36]RAPDU: 90 00 [09:06:36]wFMCommunicate OK [09:06:36]SAM_PROTO_ClearQueue done [09:06:36]KKMCreateOFDPacket [09:06:36]OFDProtocolAddRootSTLVToBuf [09:06:36]FM_MakeSignedData [09:06:36]FM_MakeSignedData [09:06:36]SAM_PROTO_SignData [09:06:36]wFMCommunicate request_size=4 [09:06:36]MH_SAM_APDU [09:06:36]CAPDU: 80 0D 01 02 [09:06:36]Write to MH i2c: E2 08 00 BD 07 80 0D 01 02 00 00 00 00 3D [09:06:36]Write i2c OK [09:06:36]MH_I2C_Read... [09:06:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:06:36]Read from MH i2c: E2 [09:06:36]MH_I2C_Read... [09:06:36]Read from MH i2c: E2 03 00 [09:06:36]MH_I2C_Read... [09:06:36]Read from MH i2c: E2 03 00 BD 07 00 90 00 38 [09:06:36]RAPDU: 90 00 [09:06:36]wFMCommunicate OK [09:06:36]wFMCommunicate request_size=255 [09:06:36]MH_SAM_APDU [09:06:36]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 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 1D 54 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1B 0A 01 00 35 04 06 00 F5 [09:06:36]Write to MH i2c: E2 02 01 BE 07 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 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 1D 54 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1B 0A 01 00 35 04 06 00 F5 00 00 44 [09:06:36]Write i2c OK [09:06:36]MH_I2C_Read... [09:06:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:06:37]Read from MH i2c: E2 [09:06:37]MH_I2C_Read... [09:06:37]Read from MH i2c: E2 03 00 [09:06:37]MH_I2C_Read... [09:06:37]Read from MH i2c: E2 03 00 BE 07 00 90 00 39 [09:06:37]RAPDU: 90 00 [09:06:37]wFMCommunicate OK [09:06:37]wFMCommunicate request_size=10 [09:06:37]MH_SAM_APDU [09:06:37]CAPDU: 80 0D 02 02 05 F7 F6 69 E2 03 [09:06:37]Write to MH i2c: E2 0D 00 BF 07 80 0D 02 02 05 00 F7 F6 69 E2 03 00 00 85 [09:06:37]Write i2c OK [09:06:37]MH_I2C_Read... [09:06:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:06:37]Read from MH i2c: E2 [09:06:37]MH_I2C_Read... [09:06:37]Read from MH i2c: E2 03 00 [09:06:37]MH_I2C_Read... [09:06:37]Read from MH i2c: E2 03 00 BF 07 00 90 00 3A [09:06:37]RAPDU: 90 00 [09:06:37]wFMCommunicate OK [09:06:37]wFMCommunicate request_size=4 [09:06:37]MH_SAM_APDU [09:06:37]CAPDU: 80 0D 03 02 [09:06:37]Write to MH i2c: E2 08 00 C0 07 80 0D 03 02 00 00 00 00 42 [09:06:37]Write i2c OK [09:06:37]MH_I2C_Read... [09:06:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:06:37]Read from MH i2c: E2 [09:06:37]MH_I2C_Read... [09:06:37]Read from MH i2c: E2 0B 00 [09:06:37]MH_I2C_Read... [09:06:37]Read from MH i2c: E2 0B 00 C0 07 00 65 6C 01 E4 C0 A9 AD A2 90 00 B1 [09:06:37]RAPDU: 65 6C 01 E4 C0 A9 AD A2 90 00 [09:06:37]wFMCommunicate OK [09:06:37]SAM_PROTO_SignData done [09:06:37]FM_MakeSignedData done [09:06:37]CreateOFDProtocolMessage [09:06:37]wFMCommunicate request_size=4 [09:06:37]MH_SAM_APDU [09:06:37]CAPDU: 80 11 00 00 [09:06:37]Write to MH i2c: E2 08 00 C1 07 80 11 00 00 00 00 00 00 42 [09:06:37]Write i2c OK [09:06:37]MH_I2C_Read... [09:06:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:06:37]Read from MH i2c: E2 [09:06:37]MH_I2C_Read... [09:06:37]Read from MH i2c: E2 17 00 [09:06:37]MH_I2C_Read... [09:06:37]Read from MH i2c: E2 17 00 C1 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 99 [09:06:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [09:06:37]wFMCommunicate OK [09:06:37]CreateOFDProtocolMessage done [09:06:37]OFDSenderStorePacket 68123 [09:06:37]StoreOFDPacket docnum=68123 [09:06:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 7F 8D 07 01 FA 60 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 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 1D 54 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1B 0A 01 00 35 04 06 00 F5 F7 F6 69 E2 03 65 6C 01 E4 C0 A9 AD A2 [09:06:37]CheckFolder [09:06:37]dirname=/storage/ofd_packets [09:06:37]CheckFolder done [09:06:37]ProducePacketName [09:06:37]name=ofd_packets/00068123 [09:06:37]NVStorageSaveData ofd_packets/00068123 [09:06:37]File name is /storage/ofd_packets/00068123 [09:06:37]Write 301 bytes [09:06:37]NVStorageSaveData done [09:06:37]OFDSenderStorePacket done [09:06:37]KKMCreateOFDPacket done [09:06:37]NVStorageSaveData kkm_last_timestamp [09:06:37]File name is /storage/kkm_last_timestamp [09:06:37]Write 4 bytes [09:06:37]NVStorageSaveData done [09:06:37]ExternCall_PrintAddStr [09:06:37]wPrintStart [09:06:37]Write to MH i2c: 01 00 00 C2 07 C9 [09:06:37]Write i2c OK [09:06:37]MH_I2C_Read... [09:06:37]Read from MH i2c: 01 [09:06:37]MH_I2C_Read... [09:06:37]Read from MH i2c: 01 07 00 [09:06:37]MH_I2C_Read... [09:06:37]Read from MH i2c: 01 07 00 C2 07 00 00 00 00 00 FF 0F DE [09:06:37]RasterBufferAndPrint [09:06:37]line Счет N : (1)46202 [09:06:37]line ИНН: 02508201610067 [09:06:37]line Контрольно-Кассовый Чек [09:06:37]line ПРОДАЖА [09:06:37]line ТРК (МРК, ГНК) : 24 [09:06:37]line Товар: 2710124500 [09:06:37]line Аи-95-К-3 [09:06:37]line 13.480 * 74.20 [09:06:37]line = 1000.22 [09:06:37]line НДС 12% НСП 1% [09:06:37]line > о реализуемом товаре [09:06:37]line ОКРУГЛЕНИЕ: -0.22 [09:06:37]line ИТОГО: 1000.00 [09:06:37]line Внесено: 1000.00 [09:06:37]line СДАЧА: 0.00 [09:06:37]line НСП 1% : 8.85 [09:06:37]line НДС 12% : 106.22 [09:06:37]line Наличными: 1000.00 [09:06:37]line Безнал.: 0.00 [09:06:37]line Место: АЗС № 160 "Партнер Нефть" [09:06:37]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [09:06:37]line СНО: Общий режим [09:06:37]line Чек 28 28.10.2024 09:06 [09:06:37]line Смена: 547 ФФД: 1.0 [09:06:37]line ЗНМ: 0300000093 [09:06:37]line РНМ: 0000000000091759 [09:06:37]line Версия ККМ: 001 [09:06:37]line ФМ: 0000000000871758 [09:06:37]line ФД: 68123 [09:06:37]line ФПД: 270445339861507 [09:06:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T090637&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68123&fm=270445339861507&tin=02508201610067®Number=0000000000091759&sum=100000 [09:06:37]written 0, free lines is 4095 [09:06:37]OFD Sender: Processing packet 68123 [packets to send 27, broken 26] [09:06:37]ProducePacketName [09:06:37]name=ofd_packets/00068123 [09:06:37]OFD Sender: To server: pG, [09:06:37]CommunicateWithHost lk.salyk.kg:30040 [09:06:37]ConnectInit lk.salyk.kg [09:06:37]Connected sock=10 [09:06:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 7F 8D 07 01 FA 60 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 A0 86 01 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 1D 54 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1B 0A 01 00 35 04 06 00 F5 F7 F6 69 E2 03 65 6C 01 E4 C0 A9 AD A2 [09:06:37]Write to MH i2c: 01 00 00 EC 07 F3 [09:06:37]Write i2c OK [09:06:37]MH_I2C_Read... [09:06:37]Read from MH i2c: 01 [09:06:37]MH_I2C_Read... [09:06:37]Read from MH i2c: 01 07 00 [09:06:37]MH_I2C_Read... [09:06:37]Read from MH i2c: 01 07 00 EC 07 00 00 00 00 00 BE 0C C4 [09:06:37]RasterBufferAndPrint [09:06:37]line [09:06:37]line [09:06:37]line [09:06:37]line [09:06:37]line [09:06:37]written 0, free lines is 3266 [09:06:37]MH_Cut [09:06:37]Write to MH i2c: D1 01 00 F3 07 01 CC [09:06:37]Write i2c OK [09:06:37]MH_I2C_Read... [09:06:37]Read from MH i2c: D1 [09:06:37]MH_I2C_Read... [09:06:37]Read from MH i2c: D1 01 00 [09:06:37]MH_I2C_Read... [09:06:37]Read from MH i2c: D1 01 00 F3 07 00 CB [09:06:37]Write to MH i2c: 01 00 00 F4 07 FB [09:06:37]Write i2c OK [09:06:37]MH_I2C_Read... [09:06:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 5F 91 47 00 AF C2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1B 0A 01 00 F4 03 04 00 D6 FF 1E 67 B6 04 01 00 00 0D 55 51 8A 97 2B B4 26 [09:06:37]CommunicateWithHost err = 0 [09:06:37]CheckOFDResponse [09:06:37]1017 (14) - 77093643461234 [09:06:37]1041 (16) - 0000000000871758 [09:06:37]1040 (4) - 68123 [09:06:37]1012 (4) - 28.10.2024 03:07 [09:06:37]1206 (1) - 0 [09:06:37]OFD Sender: Remove packet 68123 [09:06:37]ProducePacketName [09:06:37]name=ofd_packets/00068123 [09:06:37]NVStorageDeleteData [09:06:38]OFD Sender: No OFD packet to send [09:06:38]*** Cut start [09:06:38]*** Partial cut [09:06:38]*** CUTSNS_PIN = 1 [09:06:38]*** CUTSNS_PIN = 0 [09:06:38]*** Brake cut motor [09:06:39]Read from MH i2c: 01 [09:06:39]MH_I2C_Read... [09:06:39]*** Stop cut motor [09:06:39]*** Cut end [09:06:39]Read from MH i2c: 01 07 00 [09:06:39]MH_I2C_Read... [09:06:39]Read from MH i2c: 01 07 00 F4 07 00 00 00 00 00 FF 0F 10 [09:06:39]process_action close_receipt done [09:06:39]requested_data is exist [09:06:39]produce_requested_data [09:06:39]requested_item fm.sn is exist - process it [09:06:39]wFMCommunicate request_size=4 [09:06:39]MH_SAM_APDU [09:06:39]CAPDU: 80 11 00 00 [09:06:39]Write to MH i2c: E2 08 00 F5 07 80 11 00 00 00 00 00 00 76 [09:06:39]Write i2c OK [09:06:39]MH_I2C_Read... [09:06:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:06:39]Read from MH i2c: E2 [09:06:39]MH_I2C_Read... [09:06:39]Read from MH i2c: E2 17 00 [09:06:39]MH_I2C_Read... [09:06:39]Read from MH i2c: E2 17 00 F5 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 CD [09:06:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [09:06:39]wFMCommunicate OK [09:06:39]requested_item fd.num is exist - process it [09:06:39]SAM_PROTO_GetFieldsCounters [09:06:39]wFMCommunicate request_size=4 [09:06:39]MH_SAM_APDU [09:06:39]CAPDU: 80 13 00 00 [09:06:39]Write to MH i2c: E2 08 00 F6 07 80 13 00 00 00 00 00 00 79 [09:06:39]Write i2c OK [09:06:39]MH_I2C_Read... [09:06:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:06:39]Read from MH i2c: E2 [09:06:39]MH_I2C_Read... [09:06:39]Read from MH i2c: E2 62 00 [09:06:39]MH_I2C_Read... [09:06:39]Read from MH i2c: E2 62 00 F6 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 1B 0A 01 00 0E 04 04 00 23 02 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 43 [09:06:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 1B 0A 01 00 0E 04 04 00 23 02 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 [09:06:39]wFMCommunicate OK [09:06:39]SAM_PROTO_GetFieldsCounters done [09:06:39]requested_item shift.num is exist - process it [09:06:39]requested_item shift.opened is exist - process it [09:06:39]req_shift_opened [09:06:39]FM_GetShiftState [09:06:39]SAM_PROTO_GetShiftState [09:06:39]wFMCommunicate request_size=4 [09:06:39]MH_SAM_APDU [09:06:39]CAPDU: 80 13 01 00 [09:06:39]Write to MH i2c: E2 08 00 F7 07 80 13 01 00 00 00 00 00 7B [09:06:39]Write i2c OK [09:06:39]MH_I2C_Read... [09:06:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:06:39]Read from MH i2c: E2 [09:06:39]MH_I2C_Read... [09:06:39]Read from MH i2c: E2 0E 00 [09:06:39]MH_I2C_Read... [09:06:39]Read from MH i2c: E2 0E 00 F7 07 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 76 [09:06:39]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [09:06:39]wFMCommunicate OK [09:06:39]SAM_PROTO_GetShiftState done [09:06:39]FM_GetShiftState done [09:06:39]req_shift_opened done [09:06:39]requested_item shift.open_date is exist - process it [09:06:39]req_shift_open_date [09:06:39]req_shift_open_date done [09:06:39]produce_requested_data done [09:06:39]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68123,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [09:06:39]process_action_free close_receipt [09:06:39]json_value_free [09:06:39]json_value_free done [09:06:39]process_json_proto returns [09:06:39]Send response to host [09:06:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68123,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [09:06:39]free response buf [09:06:39]execute_script done [09:06:39]execute_script returns [09:06:39]free content buf [09:06:39]Sock 9.Close socket [09:06:39]Sock 9.Thread stoped [09:06:43]OFD Sender: No OFD packet to send [09:06:48]OFD Sender: No OFD packet to send [09:06:53]OFD Sender: No OFD packet to send [09:06:58]OFD Sender: No OFD packet to send [09:07:02]int [09:07:02]Write to MH i2c: 01 00 00 F8 07 FF [09:07:02]*** FLAG_PRN_KEY set [09:07:02]Write i2c OK [09:07:02]MH_I2C_Read... [09:07:02]Read from MH i2c: 01 [09:07:02]MH_I2C_Read... [09:07:02]Read from MH i2c: 01 07 00 [09:07:02]MH_I2C_Read... [09:07:02]Read from MH i2c: 01 07 00 F8 07 00 08 00 00 00 FF 0F 1C [09:07:02]state=0 [09:07:02]Key pressed [09:07:02]Feed [09:07:02]Write to MH i2c: D8 00 00 F9 07 D7 [09:07:02]Write i2c OK [09:07:02]MH_I2C_Read... [09:07:02]Read from MH i2c: D8 [09:07:02]MH_I2C_Read... [09:07:02]Read from MH i2c: D8 01 00 [09:07:02]MH_I2C_Read... [09:07:02]Read from MH i2c: D8 01 00 F9 07 00 D8 [09:07:02]int [09:07:02]Write to MH i2c: 01 00 00 FA 07 01 [09:07:02]Write i2c OK [09:07:02]MH_I2C_Read... [09:07:02]Read from MH i2c: 01 [09:07:02]MH_I2C_Read... [09:07:02]Read from MH i2c: 01 07 00 [09:07:02]MH_I2C_Read... [09:07:02]Read from MH i2c: 01 07 00 FA 07 00 48 00 00 00 3C 00 8C [09:07:02]state=2 [09:07:02]Key pressed [09:07:02]int [09:07:02]Write to MH i2c: 01 00 00 FB 07 02 [09:07:02]*** FLAG_PRN_KEY reset [09:07:02]Write i2c OK [09:07:02]MH_I2C_Read... [09:07:02]Read from MH i2c: 01 [09:07:02]MH_I2C_Read... [09:07:02]Read from MH i2c: 01 07 00 [09:07:02]MH_I2C_Read... [09:07:02]Read from MH i2c: 01 07 00 FB 07 00 00 00 00 00 FB 0F 13 [09:07:02]state=2 [09:07:02]Stop feed [09:07:03]OFD Sender: No OFD packet to send [09:07:08]OFD Sender: No OFD packet to send [09:07:13]OFD Sender: No OFD packet to send [09:07:18]OFD Sender: No OFD packet to send [09:07:23]OFD Sender: No OFD packet to send [09:07:28]OFD Sender: No OFD packet to send [09:07:33]OFD Sender: No OFD packet to send [09:07:38]OFD Sender: No OFD packet to send [09:07:43]OFD Sender: No OFD packet to send [09:07:48]OFD Sender: No OFD packet to send [09:07:53]OFD Sender: No OFD packet to send [09:07:58]OFD Sender: No OFD packet to send [09:08:03]OFD Sender: No OFD packet to send [09:08:08]OFD Sender: No OFD packet to send [09:08:13]OFD Sender: No OFD packet to send [09:08:18]OFD Sender: No OFD packet to send [09:08:23]OFD Sender: No OFD packet to send [09:08:28]OFD Sender: No OFD packet to send [09:08:33]OFD Sender: No OFD packet to send [09:08:38]OFD Sender: No OFD packet to send [09:08:43]OFD Sender: No OFD packet to send [09:08:48]OFD Sender: No OFD packet to send [09:08:53]OFD Sender: No OFD packet to send [09:08:58]OFD Sender: No OFD packet to send [09:09:03]OFD Sender: No OFD packet to send [09:09:08]OFD Sender: No OFD packet to send [09:09:13]OFD Sender: No OFD packet to send [09:09:18]OFD Sender: No OFD packet to send [09:09:23]OFD Sender: No OFD packet to send [09:09:28]OFD Sender: No OFD packet to send [09:09:33]OFD Sender: No OFD packet to send [09:09:38]OFD Sender: No OFD packet to send [09:09:43]OFD Sender: No OFD packet to send [09:09:48]OFD Sender: No OFD packet to send [09:09:53]OFD Sender: No OFD packet to send [09:09:58]OFD Sender: No OFD packet to send [09:10:03]OFD Sender: No OFD packet to send [09:10:08]OFD Sender: No OFD packet to send [09:10:13]OFD Sender: No OFD packet to send [09:10:18]OFD Sender: No OFD packet to send [09:10:23]OFD Sender: No OFD packet to send [09:10:28]OFD Sender: No OFD packet to send [09:10:33]OFD Sender: No OFD packet to send [09:10:38]OFD Sender: No OFD packet to send [09:10:43]OFD Sender: No OFD packet to send [09:10:48]OFD Sender: No OFD packet to send [09:10:53]OFD Sender: No OFD packet to send [09:10:58]OFD Sender: No OFD packet to send [09:11:03]OFD Sender: No OFD packet to send [09:11:08]OFD Sender: No OFD packet to send [09:11:13]OFD Sender: No OFD packet to send [09:11:18]OFD Sender: No OFD packet to send [09:11:23]OFD Sender: No OFD packet to send [09:11:28]OFD Sender: No OFD packet to send [09:11:33]OFD Sender: No OFD packet to send [09:11:38]OFD Sender: No OFD packet to send [09:11:43]OFD Sender: No OFD packet to send [09:11:48]OFD Sender: No OFD packet to send [09:11:53]OFD Sender: No OFD packet to send [09:11:58]OFD Sender: No OFD packet to send [09:12:03]OFD Sender: No OFD packet to send [09:12:08]OFD Sender: No OFD packet to send [09:12:13]OFD Sender: No OFD packet to send [09:12:18]OFD Sender: No OFD packet to send [09:12:23]OFD Sender: No OFD packet to send [09:12:28]OFD Sender: No OFD packet to send [09:12:33]OFD Sender: No OFD packet to send [09:12:38]OFD Sender: No OFD packet to send [09:12:43]OFD Sender: No OFD packet to send [09:12:48]OFD Sender: No OFD packet to send [09:12:53]OFD Sender: No OFD packet to send [09:12:58]OFD Sender: No OFD packet to send [09:13:03]OFD Sender: No OFD packet to send [09:13:08]OFD Sender: No OFD packet to send [09:13:13]OFD Sender: No OFD packet to send [09:13:18]OFD Sender: No OFD packet to send [09:13:23]OFD Sender: No OFD packet to send [09:13:28]OFD Sender: No OFD packet to send [09:13:33]OFD Sender: No OFD packet to send [09:13:38]OFD Sender: No OFD packet to send [09:13:43]OFD Sender: No OFD packet to send [09:13:48]OFD Sender: No OFD packet to send [09:13:53]OFD Sender: No OFD packet to send [09:13:58]OFD Sender: No OFD packet to send [09:14:03]OFD Sender: No OFD packet to send [09:14:08]OFD Sender: No OFD packet to send [09:14:13]OFD Sender: No OFD packet to send [09:14:18]OFD Sender: No OFD packet to send [09:14:23]OFD Sender: No OFD packet to send [09:14:28]OFD Sender: No OFD packet to send [09:14:33]OFD Sender: No OFD packet to send [09:14:38]OFD Sender: No OFD packet to send [09:14:43]OFD Sender: No OFD packet to send [09:14:48]OFD Sender: No OFD packet to send [09:14:53]OFD Sender: No OFD packet to send [09:14:58]OFD Sender: No OFD packet to send [09:15:03]OFD Sender: No OFD packet to send [09:15:08]OFD Sender: No OFD packet to send [09:15:13]OFD Sender: No OFD packet to send [09:15:18]OFD Sender: No OFD packet to send [09:15:23]OFD Sender: No OFD packet to send [09:15:28]OFD Sender: No OFD packet to send [09:15:33]OFD Sender: No OFD packet to send [09:15:38]OFD Sender: No OFD packet to send [09:15:43]OFD Sender: No OFD packet to send [09:15:48]OFD Sender: No OFD packet to send [09:15:53]OFD Sender: No OFD packet to send [09:15:58]OFD Sender: No OFD packet to send [09:16:03]OFD Sender: No OFD packet to send [09:16:08]OFD Sender: No OFD packet to send [09:16:13]OFD Sender: No OFD packet to send [09:16:18]OFD Sender: No OFD packet to send [09:16:23]OFD Sender: No OFD packet to send [09:16:28]OFD Sender: No OFD packet to send [09:16:33]OFD Sender: No OFD packet to send [09:16:38]OFD Sender: No OFD packet to send [09:16:43]OFD Sender: No OFD packet to send [09:16:48]OFD Sender: No OFD packet to send [09:16:53]OFD Sender: No OFD packet to send [09:16:58]OFD Sender: No OFD packet to send [09:17:03]OFD Sender: No OFD packet to send [09:17:08]OFD Sender: No OFD packet to send [09:17:13]OFD Sender: No OFD packet to send [09:17:18]OFD Sender: No OFD packet to send [09:17:23]OFD Sender: No OFD packet to send [09:17:28]OFD Sender: No OFD packet to send [09:17:33]OFD Sender: No OFD packet to send [09:17:38]OFD Sender: No OFD packet to send [09:17:43]OFD Sender: No OFD packet to send [09:17:48]OFD Sender: No OFD packet to send [09:17:53]OFD Sender: No OFD packet to send [09:17:58]OFD Sender: No OFD packet to send [09:18:03]OFD Sender: No OFD packet to send [09:18:08]OFD Sender: No OFD packet to send [09:18:13]OFD Sender: No OFD packet to send [09:18:18]OFD Sender: No OFD packet to send [09:18:23]OFD Sender: No OFD packet to send [09:18:28]OFD Sender: No OFD packet to send [09:18:33]OFD Sender: No OFD packet to send [09:18:38]OFD Sender: No OFD packet to send [09:18:43]OFD Sender: No OFD packet to send [09:18:48]OFD Sender: No OFD packet to send [09:18:53]OFD Sender: No OFD packet to send [09:18:58]OFD Sender: No OFD packet to send [09:19:03]OFD Sender: No OFD packet to send [09:19:08]OFD Sender: No OFD packet to send [09:19:13]OFD Sender: No OFD packet to send [09:19:18]OFD Sender: No OFD packet to send [09:19:23]OFD Sender: No OFD packet to send [09:19:28]OFD Sender: No OFD packet to send [09:19:33]OFD Sender: No OFD packet to send [09:19:38]OFD Sender: No OFD packet to send [09:19:43]OFD Sender: No OFD packet to send [09:19:48]OFD Sender: No OFD packet to send [09:19:53]OFD Sender: No OFD packet to send [09:19:58]OFD Sender: No OFD packet to send [09:20:03]OFD Sender: No OFD packet to send [09:20:08]OFD Sender: No OFD packet to send [09:20:13]OFD Sender: No OFD packet to send [09:20:18]OFD Sender: No OFD packet to send [09:20:23]OFD Sender: No OFD packet to send [09:20:28]OFD Sender: No OFD packet to send [09:20:33]OFD Sender: No OFD packet to send [09:20:39]OFD Sender: No OFD packet to send [09:20:44]OFD Sender: No OFD packet to send [09:20:49]OFD Sender: No OFD packet to send [09:20:54]OFD Sender: No OFD packet to send [09:20:59]OFD Sender: No OFD packet to send [09:21:04]OFD Sender: No OFD packet to send [09:21:09]OFD Sender: No OFD packet to send [09:21:14]OFD Sender: No OFD packet to send [09:21:19]OFD Sender: No OFD packet to send [09:21:24]OFD Sender: No OFD packet to send [09:21:29]OFD Sender: No OFD packet to send [09:21:34]OFD Sender: No OFD packet to send [09:21:39]OFD Sender: No OFD packet to send [09:21:44]OFD Sender: No OFD packet to send [09:21:49]OFD Sender: No OFD packet to send [09:21:54]OFD Sender: No OFD packet to send [09:21:59]OFD Sender: No OFD packet to send [09:22:04]OFD Sender: No OFD packet to send [09:22:09]OFD Sender: No OFD packet to send [09:22:14]OFD Sender: No OFD packet to send [09:22:19]OFD Sender: No OFD packet to send [09:22:24]OFD Sender: No OFD packet to send [09:22:29]OFD Sender: No OFD packet to send [09:22:34]OFD Sender: No OFD packet to send [09:22:39]OFD Sender: No OFD packet to send [09:22:44]OFD Sender: No OFD packet to send [09:22:49]OFD Sender: No OFD packet to send [09:22:54]OFD Sender: No OFD packet to send [09:22:59]OFD Sender: No OFD packet to send [09:23:04]OFD Sender: No OFD packet to send [09:23:09]OFD Sender: No OFD packet to send [09:23:14]OFD Sender: No OFD packet to send [09:23:19]OFD Sender: No OFD packet to send [09:23:24]OFD Sender: No OFD packet to send [09:23:29]OFD Sender: No OFD packet to send [09:23:34]OFD Sender: No OFD packet to send [09:23:39]OFD Sender: No OFD packet to send [09:23:44]OFD Sender: No OFD packet to send [09:23:49]OFD Sender: No OFD packet to send [09:23:54]OFD Sender: No OFD packet to send [09:23:59]OFD Sender: No OFD packet to send [09:24:04]OFD Sender: No OFD packet to send [09:24:09]OFD Sender: No OFD packet to send [09:24:14]OFD Sender: No OFD packet to send [09:24:19]OFD Sender: No OFD packet to send [09:24:24]OFD Sender: No OFD packet to send [09:24:29]OFD Sender: No OFD packet to send [09:24:34]OFD Sender: No OFD packet to send [09:24:39]OFD Sender: No OFD packet to send [09:24:44]OFD Sender: No OFD packet to send [09:24:49]OFD Sender: No OFD packet to send [09:24:54]OFD Sender: No OFD packet to send [09:24:59]OFD Sender: No OFD packet to send [09:25:04]OFD Sender: No OFD packet to send [09:25:09]OFD Sender: No OFD packet to send [09:25:14]OFD Sender: No OFD packet to send [09:25:19]OFD Sender: No OFD packet to send [09:25:24]OFD Sender: No OFD packet to send [09:25:29]OFD Sender: No OFD packet to send [09:25:34]OFD Sender: No OFD packet to send [09:25:39]OFD Sender: No OFD packet to send [09:25:44]OFD Sender: No OFD packet to send [09:25:49]OFD Sender: No OFD packet to send [09:25:54]OFD Sender: No OFD packet to send [09:25:59]OFD Sender: No OFD packet to send [09:26:04]OFD Sender: No OFD packet to send [09:26:09]OFD Sender: No OFD packet to send [09:26:14]OFD Sender: No OFD packet to send [09:26:19]OFD Sender: No OFD packet to send [09:26:24]OFD Sender: No OFD packet to send [09:26:29]OFD Sender: No OFD packet to send [09:26:34]OFD Sender: No OFD packet to send [09:26:39]OFD Sender: No OFD packet to send [09:26:44]OFD Sender: No OFD packet to send [09:26:49]OFD Sender: No OFD packet to send [09:26:54]OFD Sender: No OFD packet to send [09:26:59]OFD Sender: No OFD packet to send [09:27:04]OFD Sender: No OFD packet to send [09:27:09]OFD Sender: No OFD packet to send [09:27:14]OFD Sender: No OFD packet to send [09:27:19]OFD Sender: No OFD packet to send [09:27:24]OFD Sender: No OFD packet to send [09:27:29]OFD Sender: No OFD packet to send [09:27:34]OFD Sender: No OFD packet to send [09:27:39]OFD Sender: No OFD packet to send [09:27:44]OFD Sender: No OFD packet to send [09:27:49]OFD Sender: No OFD packet to send [09:27:54]OFD Sender: No OFD packet to send [09:27:59]OFD Sender: No OFD packet to send [09:28:04]OFD Sender: No OFD packet to send [09:28:09]OFD Sender: No OFD packet to send [09:28:14]OFD Sender: No OFD packet to send [09:28:19]OFD Sender: No OFD packet to send [09:28:24]OFD Sender: No OFD packet to send [09:28:29]OFD Sender: No OFD packet to send [09:28:34]OFD Sender: No OFD packet to send [09:28:39]OFD Sender: No OFD packet to send [09:28:44]OFD Sender: No OFD packet to send [09:28:49]OFD Sender: No OFD packet to send [09:28:54]OFD Sender: No OFD packet to send [09:28:59]OFD Sender: No OFD packet to send [09:29:04]OFD Sender: No OFD packet to send [09:29:09]OFD Sender: No OFD packet to send [09:29:14]OFD Sender: No OFD packet to send [09:29:19]OFD Sender: No OFD packet to send [09:29:24]OFD Sender: No OFD packet to send [09:29:29]OFD Sender: No OFD packet to send [09:29:34]OFD Sender: No OFD packet to send [09:29:39]OFD Sender: No OFD packet to send [09:29:44]OFD Sender: No OFD packet to send [09:29:49]OFD Sender: No OFD packet to send [09:29:54]OFD Sender: No OFD packet to send [09:29:59]OFD Sender: No OFD packet to send [09:30:04]OFD Sender: No OFD packet to send [09:30:09]OFD Sender: No OFD packet to send [09:30:14]OFD Sender: No OFD packet to send [09:30:19]OFD Sender: No OFD packet to send [09:30:24]OFD Sender: No OFD packet to send [09:30:29]OFD Sender: No OFD packet to send [09:30:34]OFD Sender: No OFD packet to send [09:30:39]OFD Sender: No OFD packet to send [09:30:44]OFD Sender: No OFD packet to send [09:30:49]OFD Sender: No OFD packet to send [09:30:54]OFD Sender: No OFD packet to send [09:30:59]OFD Sender: No OFD packet to send [09:31:04]OFD Sender: No OFD packet to send [09:31:09]OFD Sender: No OFD packet to send [09:31:14]OFD Sender: No OFD packet to send [09:31:19]OFD Sender: No OFD packet to send [09:31:24]OFD Sender: No OFD packet to send [09:31:29]OFD Sender: No OFD packet to send [09:31:34]OFD Sender: No OFD packet to send [09:31:39]OFD Sender: No OFD packet to send [09:31:44]OFD Sender: No OFD packet to send [09:31:49]OFD Sender: No OFD packet to send [09:31:54]OFD Sender: No OFD packet to send [09:31:59]OFD Sender: No OFD packet to send [09:32:04]OFD Sender: No OFD packet to send [09:32:09]OFD Sender: No OFD packet to send [17:16:09]ConnectInit Can't connect to host [17:16:12]ConnectInit Can't take IP for lk.salyk.kg [17:16:12]CommunicateWithHost connect error [17:16:12]CommunicateWithHost err = -1 [17:16:12]OFD Sender: Server communicate error [17:16:17]OFD Sender: Processing packet 68124 [packets to send 125, broken 26] [17:16:17]ProducePacketName [17:16:17]name=ofd_packets/00068124 [17:16:17]OFD Sender: To server: pG, [17:16:17]CommunicateWithHost lk.salyk.kg:30040 [17:16:17]ConnectInit lk.salyk.kg [17:16:17]Connected sock=9 [17:16:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 E7 8F 07 01 19 C3 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 2E 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 36 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC C2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 14 00 00 00 00 07 04 06 00 EC C2 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 69 5D 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1C 0A 01 00 35 04 06 00 55 29 FD A9 A7 8E 28 68 E2 B6 EC 07 A4 5C [17:16:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 F2 41 47 00 0F 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 38 37 31 37 35 38 10 04 04 00 1C 0A 01 00 F4 03 04 00 88 72 1F 67 B6 04 01 00 00 7D F1 36 6D D9 51 5F 2F [17:16:17]CommunicateWithHost err = 0 [17:16:17]CheckOFDResponse [17:16:17]1017 (14) - 77093643461234 [17:16:17]1041 (16) - 0000000000871758 [17:16:17]1040 (4) - 68124 [17:16:17]1012 (4) - 28.10.2024 11:16 [17:16:17]1206 (1) - 0 [17:16:17]OFD Sender: Remove packet 68124 [17:16:17]ProducePacketName [17:16:17]name=ofd_packets/00068124 [17:16:17]NVStorageDeleteData [17:16:18]OFD Sender: Processing packet 68125 [packets to send 124, broken 26] [17:16:18]ProducePacketName [17:16:18]name=ofd_packets/00068125 [17:16:18]OFD Sender: To server: pG, [17:16:18]CommunicateWithHost lk.salyk.kg:30040 [17:16:18]ConnectInit lk.salyk.kg [17:16:18]Connected sock=9 [17:16:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 A3 01 00 00 D1 70 9B 01 50 2C 5A 03 01 00 03 00 8F 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 30 32 34 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 73 6C 69 6D 73 20 45 78 70 61 6E 64 20 50 75 72 70 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 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 38 37 31 30 37 33 32 32 33 36 32 30 33 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 6C 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 08 00 00 00 00 07 04 06 00 6C 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 6E 5D 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1D 0A 01 00 35 04 06 00 2C BA A5 7E EF FE 0E E6 62 AA 6C 82 F0 51 [17:16:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 0C DA 47 00 9E 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 38 37 31 37 35 38 10 04 04 00 1D 0A 01 00 F4 03 04 00 88 72 1F 67 B6 04 01 00 00 67 4C 2D 2E 5E 97 F3 B8 [17:16:18]CommunicateWithHost err = 0 [17:16:18]CheckOFDResponse [17:16:18]1017 (14) - 77093643461234 [17:16:18]1041 (16) - 0000000000871758 [17:16:18]1040 (4) - 68125 [17:16:18]1012 (4) - 28.10.2024 11:16 [17:16:18]1206 (1) - 0 [17:16:18]OFD Sender: Remove packet 68125 [17:16:18]ProducePacketName [17:16:18]name=ofd_packets/00068125 [17:16:18]NVStorageDeleteData [17:16:19]OFD Sender: Processing packet 68126 [packets to send 123, broken 26] [17:16:19]ProducePacketName [17:16:19]name=ofd_packets/00068126 [17:16:19]OFD Sender: To server: pG, [17:16:19]CommunicateWithHost lk.salyk.kg:30040 [17:16:19]ConnectInit lk.salyk.kg [17:16:19]Connected sock=9 [17:16:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 AB 8C 08 01 3C 60 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 30 0B 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 0B 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 60 1C 00 00 00 00 07 04 06 00 30 0B 01 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 A2 5D 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1E 0A 01 00 35 04 06 00 B7 FD E5 38 C2 0A A4 4C 97 B9 7C 07 CE AB [17:16:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 CA 02 47 00 6D FD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1E 0A 01 00 F4 03 04 00 89 72 1F 67 B6 04 01 00 00 80 0A 20 E8 93 CC 9A CB [17:16:19]CommunicateWithHost err = 0 [17:16:19]CheckOFDResponse [17:16:19]1017 (14) - 77093643461234 [17:16:19]1041 (16) - 0000000000871758 [17:16:19]1040 (4) - 68126 [17:16:19]1012 (4) - 28.10.2024 11:16 [17:16:19]1206 (1) - 0 [17:16:19]OFD Sender: Remove packet 68126 [17:16:19]ProducePacketName [17:16:19]name=ofd_packets/00068126 [17:16:19]NVStorageDeleteData [17:16:19]OFD Sender: Processing packet 68127 [packets to send 122, broken 26] [17:16:19]ProducePacketName [17:16:19]name=ofd_packets/00068127 [17:16:19]OFD Sender: To server: pG, [17:16:19]CommunicateWithHost lk.salyk.kg:30040 [17:16:19]ConnectInit lk.salyk.kg [17:16:19]Connected sock=9 [17:16:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 E4 19 07 01 51 97 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 54 05 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 05 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 1B 00 00 00 00 07 04 06 00 54 05 01 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 A9 5D 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1F 0A 01 00 35 04 06 00 9B 9F AA 32 71 14 4A 08 AA D3 FA 0D 3B 98 [17:16:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 1C DB 47 00 3A 41 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 1F 0A 01 00 F4 03 04 00 8A 72 1F 67 B6 04 01 00 00 12 4D 37 06 23 1A F8 BE [17:16:20]CommunicateWithHost err = 0 [17:16:20]CheckOFDResponse [17:16:20]1017 (14) - 77093643461234 [17:16:20]1041 (16) - 0000000000871758 [17:16:20]1040 (4) - 68127 [17:16:20]1012 (4) - 28.10.2024 11:16 [17:16:20]1206 (1) - 0 [17:16:20]OFD Sender: Remove packet 68127 [17:16:20]ProducePacketName [17:16:20]name=ofd_packets/00068127 [17:16:20]NVStorageDeleteData [17:16:20]OFD Sender: Processing packet 68128 [packets to send 121, broken 26] [17:16:20]ProducePacketName [17:16:20]name=ofd_packets/00068128 [17:16:20]OFD Sender: To server: pG, [17:16:20]CommunicateWithHost lk.salyk.kg:30040 [17:16:20]ConnectInit lk.salyk.kg [17:16:20]Connected sock=9 [17:16:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 8D 7A 07 01 D4 0E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 34 94 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 A9 D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A5 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B7 67 00 00 00 00 07 04 06 00 90 D0 03 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 03 5F 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 20 0A 01 00 35 04 06 00 24 E9 DE 3A DD 09 E8 AC FA BF 20 4A 46 51 [17:16:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 11 6E 47 00 FD F7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 20 0A 01 00 F4 03 04 00 8B 72 1F 67 B6 04 01 00 00 07 2D CC F1 09 B3 D5 C1 [17:16:20]CommunicateWithHost err = 0 [17:16:20]CheckOFDResponse [17:16:20]1017 (14) - 77093643461234 [17:16:20]1041 (16) - 0000000000871758 [17:16:20]1040 (4) - 68128 [17:16:20]1012 (4) - 28.10.2024 11:16 [17:16:20]1206 (1) - 0 [17:16:20]OFD Sender: Remove packet 68128 [17:16:20]ProducePacketName [17:16:20]name=ofd_packets/00068128 [17:16:20]NVStorageDeleteData [17:16:21]OFD Sender: Processing packet 68129 [packets to send 120, broken 26] [17:16:21]ProducePacketName [17:16:21]name=ofd_packets/00068129 [17:16:21]OFD Sender: To server: pG, [17:16:21]CommunicateWithHost lk.salyk.kg:30040 [17:16:21]ConnectInit lk.salyk.kg [17:16:21]Connected sock=9 [17:16:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 15 6A 07 01 70 AE 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 9A 83 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 7C D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 67 00 00 00 00 07 04 06 00 2C D0 03 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 3B 5F 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 21 0A 01 00 35 04 06 00 AD 85 C8 D9 90 90 7F 8B FD 9E 33 E4 1E 57 [17:16:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 95 37 47 00 E8 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 38 37 31 37 35 38 10 04 04 00 21 0A 01 00 F4 03 04 00 8B 72 1F 67 B6 04 01 00 00 85 13 D1 36 D2 76 45 14 [17:16:21]CommunicateWithHost err = 0 [17:16:21]CheckOFDResponse [17:16:21]1017 (14) - 77093643461234 [17:16:21]1041 (16) - 0000000000871758 [17:16:21]1040 (4) - 68129 [17:16:21]1012 (4) - 28.10.2024 11:16 [17:16:21]1206 (1) - 0 [17:16:21]OFD Sender: Remove packet 68129 [17:16:21]ProducePacketName [17:16:21]name=ofd_packets/00068129 [17:16:21]NVStorageDeleteData [17:16:22]OFD Sender: Processing packet 68130 [packets to send 119, broken 26] [17:16:22]ProducePacketName [17:16:22]name=ofd_packets/00068130 [17:16:22]OFD Sender: To server: pG, [17:16:22]CommunicateWithHost lk.salyk.kg:30040 [17:16:22]ConnectInit lk.salyk.kg [17:16:22]Connected sock=9 [17:16:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 A7 02 00 00 3F 9A 9F 02 FE E8 5A 03 01 00 03 00 93 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 38 38 34 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 05 00 00 00 00 13 04 06 00 14 05 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 18 60 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 33 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 60 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 FD 5F 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 22 0A 01 00 35 04 06 00 F3 A1 E5 5D 6B BD 59 2B 51 D5 0D 42 E6 96 [17:16:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 09 DC 47 00 9A 0E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 22 0A 01 00 F4 03 04 00 8C 72 1F 67 B6 04 01 00 00 DA 53 85 8A AB 9F C6 71 [17:16:22]CommunicateWithHost err = 0 [17:16:22]CheckOFDResponse [17:16:22]1017 (14) - 77093643461234 [17:16:22]1041 (16) - 0000000000871758 [17:16:22]1040 (4) - 68130 [17:16:22]1012 (4) - 28.10.2024 11:16 [17:16:22]1206 (1) - 0 [17:16:22]OFD Sender: Remove packet 68130 [17:16:22]ProducePacketName [17:16:22]name=ofd_packets/00068130 [17:16:22]NVStorageDeleteData [17:16:22]OFD Sender: Processing packet 68131 [packets to send 118, broken 26] [17:16:22]ProducePacketName [17:16:22]name=ofd_packets/00068131 [17:16:22]OFD Sender: To server: pG, [17:16:22]CommunicateWithHost lk.salyk.kg:30040 [17:16:22]ConnectInit lk.salyk.kg [17:16:23]Connected sock=9 [17:16:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 36 C2 07 01 F3 B0 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 5E 61 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 23 0A 01 00 35 04 06 00 D3 BC 06 12 B3 84 55 C5 0D 97 0D 5E 56 84 [17:16:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 6E 03 47 00 12 CA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 23 0A 01 00 F4 03 04 00 8D 72 1F 67 B6 04 01 00 00 C1 E8 F9 B8 A1 8E A7 F6 [17:16:23]CommunicateWithHost err = 0 [17:16:23]CheckOFDResponse [17:16:23]1017 (14) - 77093643461234 [17:16:23]1041 (16) - 0000000000871758 [17:16:23]1040 (4) - 68131 [17:16:23]1012 (4) - 28.10.2024 11:16 [17:16:23]1206 (1) - 0 [17:16:23]OFD Sender: Remove packet 68131 [17:16:23]ProducePacketName [17:16:23]name=ofd_packets/00068131 [17:16:23]NVStorageDeleteData [17:16:23]OFD Sender: Processing packet 68132 [packets to send 117, broken 26] [17:16:23]ProducePacketName [17:16:23]name=ofd_packets/00068132 [17:16:23]OFD Sender: To server: pG, [17:16:23]CommunicateWithHost lk.salyk.kg:30040 [17:16:23]ConnectInit lk.salyk.kg [17:16:23]Connected sock=9 [17:16:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 64 18 07 01 D9 F2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 FC 4E 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 10 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 3E 00 00 00 00 07 04 06 00 F0 49 02 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 85 62 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 24 0A 01 00 35 04 06 00 A4 E9 E5 69 90 87 B0 B3 97 58 3F 02 1E 20 [17:16:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 00 4A 47 00 0B 31 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 24 0A 01 00 F4 03 04 00 8E 72 1F 67 B6 04 01 00 00 1F 44 B0 EA 01 EB 84 44 [17:16:23]CommunicateWithHost err = 0 [17:16:23]CheckOFDResponse [17:16:23]1017 (14) - 77093643461234 [17:16:23]1041 (16) - 0000000000871758 [17:16:23]1040 (4) - 68132 [17:16:23]1012 (4) - 28.10.2024 11:16 [17:16:23]1206 (1) - 0 [17:16:23]OFD Sender: Remove packet 68132 [17:16:23]ProducePacketName [17:16:23]name=ofd_packets/00068132 [17:16:23]NVStorageDeleteData [17:16:24]accept exits with 8 [17:16:24]New connection [17:16:24]New thread 3067305316 created [17:16:24]Thread 3067448676 joined [17:16:24]Waiting for new connection... [17:16:24] Sock 8.Parse request [17:16:24]Sock 8.Check first char [17:16:24]Sock 8.First char is OK [17:16:24]request: POST /json_proto HTTP/1.0 [17:16:24]Method: POST [17:16:24]URL: /json_proto [17:16:24]Method is POST - this is cgi request [17:16:24]url: /json_proto [17:16:24]query_string will be loaded in cgi processing [17:16:24]execute_cgi json_proto POST (null) [17:16:24]execute_cgi path=json_proto method=POST [17:16:24]POST find Content-Length [17:16:24]Host: 172.17.42.3:8080 [17:16:24]Content-Length: 792 [17:16:24]Content-Type: application/json [17:16:24] [17:16:24]POST finish read [17:16:24]Found Content-Length = 792 [17:16:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46278", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 6.440, "sum" : 440.50, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 440.50 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:16:24]execute_script... [17:16:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46278", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 6.440, "sum" : 440.50, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 440.50 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:16:24]POST & json_proto [17:16:24]process_json_proto [17:16:24]json parsed OK: [17:16:24]protocol is kg_v1.0 [17:16:24]action value=close_receipt [17:16:24]process_action close_receipt [17:16:24]cmd_close_receipt [17:16:24]MH_GetDate [17:16:24]Write to MH i2c: F0 00 00 D8 1D E4 [17:16:24]Write i2c OK [17:16:24]MH_I2C_Read... [17:16:24]Read from MH i2c: F0 [17:16:24]MH_I2C_Read... [17:16:24]Read from MH i2c: F0 09 00 [17:16:24]MH_I2C_Read... [17:16:24]Read from MH i2c: F0 09 00 D8 1D 00 EA C6 1F 67 5F 5D 1F 67 65 [17:16:24]GetLastDocTimeStamp 1730135642 [17:16:24]current date 1730135786 [17:16:24]FM_GetShiftState [17:16:24]SAM_PROTO_GetShiftState [17:16:24]wFMCommunicate request_size=4 [17:16:24]MH_SAM_APDU [17:16:24]CAPDU: 80 13 01 00 [17:16:24]Write to MH i2c: E2 08 00 D9 1D 80 13 01 00 00 00 00 00 73 [17:16:24]Write i2c OK [17:16:24]MH_I2C_Read... [17:16:24]OFD Sender: Processing packet 68133 [packets to send 116, broken 26] [17:16:24]ProducePacketName [17:16:24]name=ofd_packets/00068133 [17:16:24]OFD Sender: To server: pG, [17:16:24]CommunicateWithHost lk.salyk.kg:30040 [17:16:24]ConnectInit lk.salyk.kg [17:16:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:16:24]Read from MH i2c: E2 [17:16:24]MH_I2C_Read... [17:16:24]Read from MH i2c: E2 0E 00 [17:16:24]MH_I2C_Read... [17:16:24]Read from MH i2c: E2 0E 00 D9 1D 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 6E [17:16:24]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [17:16:24]wFMCommunicate OK [17:16:24]SAM_PROTO_GetShiftState done [17:16:24]FM_GetShiftState done [17:16:24]opened in 1730074770 [17:16:24]opened+sec_in_day 1730161170 [17:16:24]quantity*price = 44049 [17:16:24]sum+1 = 44051 [17:16:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 440.50 НСП 1% : 3.90 НДС 12% : 46.78 Наличными: 0.00 Безнал.: 440.50 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 128 28.10.2024 17:16 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000871758 ФД: 68223 ФПД: 65064021136169 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T171626&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68223&fm=65064021136169&tin=02508201610067®Number=0000000000091759&sum=44050 [17:16:25]StoreToDocumentArchive [17:16:25]shift 547 fd 68223 [17:16:25]save to /storage/0547/doc_00068223 [17:16:25]save last doc name /storage/0547/doc_00068223 to /storage/kkm_last_doc_name [17:16:25]save OK [17:16:25]Clear old archive folders... [17:16:25]ProcessDocumentItem done err = 0, tmpTLVsize=252 [17:16:25]tlvbuf is 016B7B20 [17:16:25]SAM_PROTO_ClearQueue [17:16:25]wFMCommunicate request_size=4 [17:16:25]MH_SAM_APDU [17:16:25]CAPDU: 80 09 00 00 [17:16:25]Write to MH i2c: E2 08 00 E6 1D 80 09 00 00 00 00 00 00 75 [17:16:25]Write i2c OK [17:16:25]MH_I2C_Read... [17:16:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:16:25]Read from MH i2c: E2 [17:16:25]MH_I2C_Read... [17:16:25]Read from MH i2c: E2 03 00 [17:16:25]MH_I2C_Read... [17:16:25]Read from MH i2c: E2 03 00 E6 1D 00 90 00 77 [17:16:25]RAPDU: 90 00 [17:16:25]wFMCommunicate OK [17:16:25]SAM_PROTO_ClearQueue done [17:16:25]KKMCreateOFDPacket [17:16:25]OFDProtocolAddRootSTLVToBuf [17:16:25]FM_MakeSignedData [17:16:25]FM_MakeSignedData [17:16:25]SAM_PROTO_SignData [17:16:25]wFMCommunicate request_size=4 [17:16:25]MH_SAM_APDU [17:16:25]CAPDU: 80 0D 01 02 [17:16:25]Write to MH i2c: E2 08 00 E7 1D 80 0D 01 02 00 00 00 00 7D [17:16:25]Write i2c OK [17:16:25]MH_I2C_Read... [17:16:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:16:25]Read from MH i2c: E2 [17:16:25]MH_I2C_Read... [17:16:25]Read from MH i2c: E2 03 00 [17:16:25]MH_I2C_Read... [17:16:25]Read from MH i2c: E2 03 00 E7 1D 00 90 00 78 [17:16:25]RAPDU: 90 00 [17:16:25]wFMCommunicate OK [17:16:25]wFMCommunicate request_size=255 [17:16:25]MH_SAM_APDU [17:16:25]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 28 19 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 12 AC 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 12 AC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 12 AC 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 80 00 00 00 F4 03 04 00 EA C6 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 7F 0A 01 00 35 04 06 00 [17:16:25]Write to MH i2c: E2 02 01 E8 1D 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 28 19 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 12 AC 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 12 AC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 12 AC 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 80 00 00 00 F4 03 04 00 EA C6 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 7F 0A 01 00 35 04 06 00 00 00 CC [17:16:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 E2 8A 47 00 CB 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 38 37 31 37 35 38 10 04 04 00 26 0A 01 00 F4 03 04 00 90 72 1F 67 B6 04 01 00 00 63 83 E6 81 63 AB F6 8D [17:16:26]CommunicateWithHost err = 0 [17:16:26]CheckOFDResponse [17:16:26]1017 (14) - 77093643461234 [17:16:26]1041 (16) - 0000000000871758 [17:16:26]1040 (4) - 68134 [17:16:26]1012 (4) - 28.10.2024 11:16 [17:16:26]1206 (1) - 0 [17:16:26]OFD Sender: Remove packet 68134 [17:16:26]ProducePacketName [17:16:26]name=ofd_packets/00068134 [17:16:26]NVStorageDeleteData [17:16:26]Write i2c OK [17:16:26]MH_I2C_Read... [17:16:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:16:26]Read from MH i2c: E2 [17:16:26]MH_I2C_Read... [17:16:26]Read from MH i2c: E2 03 00 [17:16:26]MH_I2C_Read... [17:16:26]Read from MH i2c: E2 03 00 E8 1D 00 90 00 79 [17:16:26]RAPDU: 90 00 [17:16:26]wFMCommunicate OK [17:16:26]wFMCommunicate request_size=11 [17:16:26]MH_SAM_APDU [17:16:26]CAPDU: 80 0D 02 02 06 3B 2C E5 DE 13 29 [17:16:26]Write to MH i2c: E2 0E 00 E9 1D 80 0D 02 02 06 00 3B 2C E5 DE 13 29 00 00 F2 [17:16:26]Write i2c OK [17:16:26]MH_I2C_Read... [17:16:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:16:26]Read from MH i2c: E2 [17:16:26]MH_I2C_Read... [17:16:26]Read from MH i2c: E2 03 00 [17:16:26]MH_I2C_Read... [17:16:26]Read from MH i2c: E2 03 00 E9 1D 00 90 00 7A [17:16:26]RAPDU: 90 00 [17:16:26]wFMCommunicate OK [17:16:26]wFMCommunicate request_size=4 [17:16:26]MH_SAM_APDU [17:16:26]CAPDU: 80 0D 03 02 [17:16:26]Write to MH i2c: E2 08 00 EA 1D 80 0D 03 02 00 00 00 00 82 [17:16:26]Write i2c OK [17:16:26]MH_I2C_Read... [17:16:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:16:26]Read from MH i2c: E2 [17:16:26]MH_I2C_Read... [17:16:26]Read from MH i2c: E2 0B 00 [17:16:26]MH_I2C_Read... [17:16:26]Read from MH i2c: E2 0B 00 EA 1D 00 B9 1F A2 24 2D 71 11 FA 90 00 CA [17:16:26]RAPDU: B9 1F A2 24 2D 71 11 FA 90 00 [17:16:26]wFMCommunicate OK [17:16:26]SAM_PROTO_SignData done [17:16:26]FM_MakeSignedData done [17:16:26]CreateOFDProtocolMessage [17:16:26]wFMCommunicate request_size=4 [17:16:26]MH_SAM_APDU [17:16:26]CAPDU: 80 11 00 00 [17:16:26]Write to MH i2c: E2 08 00 EB 1D 80 11 00 00 00 00 00 00 82 [17:16:26]Write i2c OK [17:16:26]MH_I2C_Read... [17:16:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:16:26]Read from MH i2c: E2 [17:16:26]MH_I2C_Read... [17:16:26]Read from MH i2c: E2 17 00 [17:16:26]MH_I2C_Read... [17:16:26]Read from MH i2c: E2 17 00 EB 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 D9 [17:16:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:16:26]wFMCommunicate OK [17:16:26]CreateOFDProtocolMessage done [17:16:26]OFDSenderStorePacket 68223 [17:16:26]StoreOFDPacket docnum=68223 [17:16:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 62 EC 08 01 B2 2D 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 28 19 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 12 AC 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 12 AC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 12 AC 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 80 00 00 00 F4 03 04 00 EA C6 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 7F 0A 01 00 35 04 06 00 3B 2C E5 DE 13 29 B9 1F A2 24 2D 71 11 FA [17:16:26]CheckFolder [17:16:26]dirname=/storage/ofd_packets [17:16:26]CheckFolder done [17:16:26]ProducePacketName [17:16:26]name=ofd_packets/00068223 [17:16:26]NVStorageSaveData ofd_packets/00068223 [17:16:26]File name is /storage/ofd_packets/00068223 [17:16:26]Write 302 bytes [17:16:26]NVStorageSaveData done [17:16:26]OFDSenderStorePacket done [17:16:26]KKMCreateOFDPacket done [17:16:26]NVStorageSaveData kkm_last_timestamp [17:16:26]File name is /storage/kkm_last_timestamp [17:16:26]Write 4 bytes [17:16:26]NVStorageSaveData done [17:16:26]ExternCall_PrintAddStr [17:16:26]wPrintStart [17:16:26]Write to MH i2c: 01 00 00 EC 1D 09 [17:16:26]Write i2c OK [17:16:26]MH_I2C_Read... [17:16:26]Read from MH i2c: 01 [17:16:26]MH_I2C_Read... [17:16:26]Read from MH i2c: 01 07 00 [17:16:26]MH_I2C_Read... [17:16:26]Read from MH i2c: 01 07 00 EC 1D 00 00 00 00 00 FF 0F 1E [17:16:26]RasterBufferAndPrint [17:16:26]line Счет N : (1)46278 [17:16:26]line ИНН: 02508201610067 [17:16:26]line Контрольно-Кассовый Чек [17:16:26]line ПРОДАЖА [17:16:26]line ТРК (МРК, ГНК) : 12 [17:16:26]line Товар: 2710124130 [17:16:26]line SUPER-92-К-5 [17:16:26]line 6.440 * 68.40 [17:16:26]line = 440.50 [17:16:26]line НДС 12% НСП 1% [17:16:26]line > о реализуемом товаре [17:16:26]line ИТОГО: 440.50 [17:16:26]line НСП 1% : 3.90 [17:16:26]line НДС 12% : 46.78 [17:16:26]line Наличными: 0.00 [17:16:26]line Безнал.: 440.50 [17:16:26]line Место: АЗС № 160 "Партнер Нефть" [17:16:26]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [17:16:26]line СНО: Общий режим [17:16:26]line Чек 128 28.10.2024 17:16 [17:16:26]line Смена: 547 ФФД: 1.0 [17:16:26]line ЗНМ: 0300000093 [17:16:26]line РНМ: 0000000000091759 [17:16:26]line Версия ККМ: 001 [17:16:26]line Платежная система: O! деньги [17:16:26]line ФМ: 0000000000871758 [17:16:26]line ФД: 68223 [17:16:26]line ФПД: 65064021136169 [17:16:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T171626&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68223&fm=65064021136169&tin=02508201610067®Number=0000000000091759&sum=44050 [17:16:26]written 0, free lines is 4095 [17:16:26]OFD Sender: Processing packet 68135 [packets to send 115, broken 26] [17:16:26]ProducePacketName [17:16:26]name=ofd_packets/00068135 [17:16:26]OFD Sender: To server: pG, [17:16:26]CommunicateWithHost lk.salyk.kg:30040 [17:16:26]ConnectInit lk.salyk.kg [17:16:26]Connected sock=10 [17:16:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 2E 13 04 01 60 6A 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 84 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 CA 91 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CA 91 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5A 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3A 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CA 91 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 DE 62 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 27 0A 01 00 35 04 06 00 FE 79 F5 D3 28 41 FB 8E A8 CD B9 B0 A4 2B [17:16:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 36 97 47 00 E2 1C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 27 0A 01 00 F4 03 04 00 91 72 1F 67 B6 04 01 00 00 56 78 DC C2 49 C7 E1 BB [17:16:26]CommunicateWithHost err = 0 [17:16:26]CheckOFDResponse [17:16:26]1017 (14) - 77093643461234 [17:16:26]1041 (16) - 0000000000871758 [17:16:26]1040 (4) - 68135 [17:16:26]1012 (4) - 28.10.2024 11:16 [17:16:26]1206 (1) - 0 [17:16:26]OFD Sender: Remove packet 68135 [17:16:26]ProducePacketName [17:16:26]name=ofd_packets/00068135 [17:16:26]NVStorageDeleteData [17:16:27]Write to MH i2c: 01 00 00 15 1E 33 [17:16:27]Write i2c OK [17:16:27]MH_I2C_Read... [17:16:27]Read from MH i2c: 01 [17:16:27]MH_I2C_Read... [17:16:27]Read from MH i2c: 01 07 00 [17:16:27]MH_I2C_Read... [17:16:27]Read from MH i2c: 01 07 00 15 1E 00 00 00 00 00 EB 0C 31 [17:16:27]RasterBufferAndPrint [17:16:27]line [17:16:27]line [17:16:27]line [17:16:27]line [17:16:27]line [17:16:27]written 0, free lines is 3320 [17:16:27]MH_Cut [17:16:27]Write to MH i2c: D1 01 00 1C 1E 01 0C [17:16:27]Write i2c OK [17:16:27]MH_I2C_Read... [17:16:27]Read from MH i2c: D1 [17:16:27]MH_I2C_Read... [17:16:27]Read from MH i2c: D1 01 00 [17:16:27]MH_I2C_Read... [17:16:27]Read from MH i2c: D1 01 00 1C 1E 00 0B [17:16:27]Write to MH i2c: 01 00 00 1D 1E 3B [17:16:27]Write i2c OK [17:16:27]MH_I2C_Read... [17:16:27]OFD Sender: Processing packet 68136 [packets to send 114, broken 26] [17:16:27]ProducePacketName [17:16:27]name=ofd_packets/00068136 [17:16:27]OFD Sender: To server: pG, [17:16:27]CommunicateWithHost lk.salyk.kg:30040 [17:16:27]ConnectInit lk.salyk.kg [17:16:27]Connected sock=10 [17:16:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 FD 48 04 01 D1 B8 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 14 00 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 98 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 10 00 00 00 00 00 07 04 06 00 64 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 92 63 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 28 0A 01 00 35 04 06 00 31 8A 4A 37 BC DB CD 4B F7 27 2E BA E6 3B [17:16:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 9D 3A 47 00 F8 0F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 28 0A 01 00 F4 03 04 00 92 72 1F 67 B6 04 01 00 00 AA CF 9B E4 8E 0C BD FB [17:16:27]CommunicateWithHost err = 0 [17:16:27]CheckOFDResponse [17:16:27]1017 (14) - 77093643461234 [17:16:27]1041 (16) - 0000000000871758 [17:16:27]1040 (4) - 68136 [17:16:27]*** Cut start [17:16:27]1012 (4) - 28.10.2024 11:16 [17:16:27]1206 (1) - 0 [17:16:27]OFD Sender: Remove packet 68136 [17:16:27]ProducePacketName [17:16:27]name=ofd_packets/00068136 [17:16:27]NVStorageDeleteData [17:16:27]*** Partial cut [17:16:27]*** CUTSNS_PIN = 1 [17:16:27]*** CUTSNS_PIN = 0 [17:16:28]*** Brake cut motor [17:16:28]OFD Sender: Processing packet 68137 [packets to send 113, broken 26] [17:16:28]ProducePacketName [17:16:28]name=ofd_packets/00068137 [17:16:28]OFD Sender: To server: pG, [17:16:28]CommunicateWithHost lk.salyk.kg:30040 [17:16:28]ConnectInit lk.salyk.kg [17:16:28]Read from MH i2c: 01 [17:16:28]MH_I2C_Read... [17:16:28]*** Stop cut motor [17:16:28]*** Cut end [17:16:28]Read from MH i2c: 01 07 00 [17:16:28]MH_I2C_Read... [17:16:28]Read from MH i2c: 01 07 00 1D 1E 00 00 00 00 00 FF 0F 50 [17:16:28]process_action close_receipt done [17:16:28]requested_data is exist [17:16:28]produce_requested_data [17:16:28]requested_item fm.sn is exist - process it [17:16:28]wFMCommunicate request_size=4 [17:16:28]MH_SAM_APDU [17:16:28]CAPDU: 80 11 00 00 [17:16:28]Write to MH i2c: E2 08 00 1E 1E 80 11 00 00 00 00 00 00 B6 [17:16:28]Write i2c OK [17:16:28]MH_I2C_Read... [17:16:28]Connected sock=10 [17:16:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 BA 72 04 01 C6 8F 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 A0 19 00 00 *** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:16:28]00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 43 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 Read from MH i2c: FC E2 03 [17:16:28]06 MH_I2C_Read... [17:16:28]00 Read from MH i2c: EC E2 C2 17 00 00 00 [17:16:28]00 MH_I2C_Read... [17:16:28]00 EB 03 26 00 EF Read from MH i2c: 03 E2 0F 17 00 00 F6 1E 03 1E 01 00 00 11 01 04 F7 10 03 00 06 30 00 30 BA 30 01 30 00 30 00 30 00 30 00 30 EE 30 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 14 00 00 00 00 07 04 06 00 EC C2 00 00 00 00 39 04 06 00 00 30 00 38 00 37 00 31 00 37 00 35 1F 38 04 90 02 00 00 0D 01 [17:16:28]00 RAPDU: 12 11 04 04 04 10 00 00 2A 30 00 30 00 30 00 F4 03 04 00 B1 63 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 29 0A 01 00 35 30 04 30 06 30 00 30 DC 30 DB 30 AC 30 D5 38 B2 37 82 31 C7 37 BA 35 83 38 AF 90 FD 00 56 [17:16:28]6C wFMCommunicate OK [17:16:28]BA requested_item fd.num is exist - process it [17:16:28] [17:16:28]SAM_PROTO_GetFieldsCounters [17:16:28]wFMCommunicate request_size=4 [17:16:28]MH_SAM_APDU [17:16:28]CAPDU: 80 13 00 00 [17:16:28]Write to MH i2c: E2 08 00 1F 1E 80 13 00 00 00 00 00 00 B9 [17:16:28]Write i2c OK [17:16:28]MH_I2C_Read... [17:16:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:16:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 64 F9 47 00 A2 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 38 37 31 37 35 38 10 04 04 00 29 0A 01 00 F4 03 04 00 93 72 1F 67 B6 04 01 00 00 2B 3F 82 1F 57 03 FD 73 [17:16:28]CommunicateWithHost err = 0 [17:16:28]CheckOFDResponse [17:16:28]1017 (14) - 77093643461234 [17:16:28]1041 (16) - 0000000000871758 [17:16:28]1040 (4) - 68137 [17:16:28]1012 (4) - 28.10.2024 11:16 [17:16:28]1206 (1) - 0 [17:16:28]OFD Sender: Remove packet 68137 [17:16:28]ProducePacketName [17:16:28]name=ofd_packets/00068137 [17:16:28]NVStorageDeleteData [17:16:28]Read from MH i2c: E2 [17:16:28]MH_I2C_Read... [17:16:28]Read from MH i2c: E2 62 00 [17:16:28]MH_I2C_Read... [17:16:28]Read from MH i2c: E2 62 00 1F 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 7F 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 81 00 00 00 19 04 04 00 00 00 00 00 90 00 13 [17:16:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 7F 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 80 00 00 00 5E 04 04 00 80 00 00 00 57 04 04 00 81 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:16:28]wFMCommunicate OK [17:16:28]SAM_PROTO_GetFieldsCounters done [17:16:28]requested_item shift.num is exist - process it [17:16:28]requested_item shift.opened is exist - process it [17:16:28]req_shift_opened [17:16:28]FM_GetShiftState [17:16:28]SAM_PROTO_GetShiftState [17:16:28]wFMCommunicate request_size=4 [17:16:28]MH_SAM_APDU [17:16:28]CAPDU: 80 13 01 00 [17:16:28]Write to MH i2c: E2 08 00 20 1E 80 13 01 00 00 00 00 00 BB [17:16:28]Write i2c OK [17:16:28]MH_I2C_Read... [17:16:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:16:28]Read from MH i2c: E2 [17:16:28]MH_I2C_Read... [17:16:28]Read from MH i2c: E2 0E 00 [17:16:28]MH_I2C_Read... [17:16:28]Read from MH i2c: E2 0E 00 20 1E 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 B6 [17:16:28]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [17:16:28]wFMCommunicate OK [17:16:28]SAM_PROTO_GetShiftState done [17:16:28]FM_GetShiftState done [17:16:28]req_shift_opened done [17:16:28]requested_item shift.open_date is exist - process it [17:16:28]req_shift_open_date [17:16:28]req_shift_open_date done [17:16:28]produce_requested_data done [17:16:28]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68223,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [17:16:28]process_action_free close_receipt [17:16:28]json_value_free [17:16:28]json_value_free done [17:16:28]process_json_proto returns [17:16:28]Send response to host [17:16:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68223,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [17:16:28]free response buf [17:16:28]execute_script done [17:16:28]execute_script returns [17:16:28]free content buf [17:16:28]Sock 8.Close socket [17:16:28]Sock 8.Thread stoped [17:16:29]OFD Sender: Processing packet 68138 [packets to send 112, broken 26] [17:16:29]ProducePacketName [17:16:29]name=ofd_packets/00068138 [17:16:29]OFD Sender: To server: pG, [17:16:29]CommunicateWithHost lk.salyk.kg:30040 [17:16:29]ConnectInit lk.salyk.kg [17:16:29]Connected sock=8 [17:16:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 D7 52 04 01 1C 6D 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 DE 66 01 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 91 AE 0A 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 91 AE 0A 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 18 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 65 22 01 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 91 AE 0A 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 2A 64 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2A 0A 01 00 35 04 06 00 31 E0 DF BC 81 4B 35 42 32 AB F7 22 D7 51 [17:16:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 A1 66 47 00 BB 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 38 37 31 37 35 38 10 04 04 00 2A 0A 01 00 F4 03 04 00 93 72 1F 67 B6 04 01 00 00 9C BA A3 99 23 88 DA A3 [17:16:29]CommunicateWithHost err = 0 [17:16:29]CheckOFDResponse [17:16:29]1017 (14) - 77093643461234 [17:16:29]1041 (16) - 0000000000871758 [17:16:29]1040 (4) - 68138 [17:16:29]1012 (4) - 28.10.2024 11:16 [17:16:29]1206 (1) - 0 [17:16:29]OFD Sender: Remove packet 68138 [17:16:29]ProducePacketName [17:16:29]name=ofd_packets/00068138 [17:16:29]NVStorageDeleteData [17:16:30]OFD Sender: Processing packet 68139 [packets to send 111, broken 26] [17:16:30]ProducePacketName [17:16:30]name=ofd_packets/00068139 [17:16:30]OFD Sender: To server: pG, [17:16:30]CommunicateWithHost lk.salyk.kg:30040 [17:16:30]ConnectInit lk.salyk.kg [17:16:30]Connected sock=10 [17:16:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 D2 48 08 01 81 06 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 55 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F1 49 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 3E 00 00 00 00 07 04 06 00 F0 49 02 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 C9 65 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2B 0A 01 00 35 04 06 00 72 B5 D7 99 85 0C 9D 7F 7F 51 D8 D2 79 D2 [17:16:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 A7 DE 47 00 EB 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 38 37 31 37 35 38 10 04 04 00 2B 0A 01 00 F4 03 04 00 94 72 1F 67 B6 04 01 00 00 2A AA A2 C8 9A BD 80 28 [17:16:30]CommunicateWithHost err = 0 [17:16:30]CheckOFDResponse [17:16:30]1017 (14) - 77093643461234 [17:16:30]1041 (16) - 0000000000871758 [17:16:30]1040 (4) - 68139 [17:16:30]1012 (4) - 28.10.2024 11:16 [17:16:30]1206 (1) - 0 [17:16:30]OFD Sender: Remove packet 68139 [17:16:30]ProducePacketName [17:16:30]name=ofd_packets/00068139 [17:16:30]NVStorageDeleteData [17:16:30]OFD Sender: Processing packet 68140 [packets to send 110, broken 26] [17:16:30]ProducePacketName [17:16:30]name=ofd_packets/00068140 [17:16:30]OFD Sender: To server: pG, [17:16:30]CommunicateWithHost lk.salyk.kg:30040 [17:16:30]ConnectInit lk.salyk.kg [17:16:30]Connected sock=8 [17:16:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 62 AF 04 01 1F 11 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 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 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 DA 65 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2C 0A 01 00 35 04 06 00 72 1E 04 76 CE BC 0F 24 CE 71 DB 86 46 CB [17:16:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 48 80 47 00 61 D2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2C 0A 01 00 F4 03 04 00 95 72 1F 67 B6 04 01 00 00 F6 E3 D1 9F 54 71 D9 80 [17:16:31]CommunicateWithHost err = 0 [17:16:31]CheckOFDResponse [17:16:31]1017 (14) - 77093643461234 [17:16:31]1041 (16) - 0000000000871758 [17:16:31]1040 (4) - 68140 [17:16:31]1012 (4) - 28.10.2024 11:16 [17:16:31]1206 (1) - 0 [17:16:31]OFD Sender: Remove packet 68140 [17:16:31]ProducePacketName [17:16:31]name=ofd_packets/00068140 [17:16:31]NVStorageDeleteData [17:16:31]OFD Sender: Processing packet 68141 [packets to send 109, broken 26] [17:16:31]ProducePacketName [17:16:31]name=ofd_packets/00068141 [17:16:31]OFD Sender: To server: pG, [17:16:31]CommunicateWithHost lk.salyk.kg:30040 [17:16:31]ConnectInit lk.salyk.kg [17:16:31]Connected sock=8 [17:16:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 2C 48 04 01 72 4A 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 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 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 4F 66 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2D 0A 01 00 35 04 06 00 32 C8 1F 09 A6 FD 73 13 39 B0 EB A8 6F EF [17:16:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 91 DD 47 00 2A 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 38 37 31 37 35 38 10 04 04 00 2D 0A 01 00 F4 03 04 00 96 72 1F 67 B6 04 01 00 00 DD 9D DC 36 7A 6F 84 98 [17:16:32]CommunicateWithHost err = 0 [17:16:32]CheckOFDResponse [17:16:32]1017 (14) - 77093643461234 [17:16:32]1041 (16) - 0000000000871758 [17:16:32]1040 (4) - 68141 [17:16:32]1012 (4) - 28.10.2024 11:16 [17:16:32]1206 (1) - 0 [17:16:32]OFD Sender: Remove packet 68141 [17:16:32]ProducePacketName [17:16:32]name=ofd_packets/00068141 [17:16:32]NVStorageDeleteData [17:16:32]OFD Sender: Processing packet 68142 [packets to send 108, broken 26] [17:16:32]ProducePacketName [17:16:32]name=ofd_packets/00068142 [17:16:32]OFD Sender: To server: pG, [17:16:32]CommunicateWithHost lk.salyk.kg:30040 [17:16:32]ConnectInit lk.salyk.kg [17:16:32]Connected sock=8 [17:16:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 B3 FF 04 01 B6 69 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 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 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 6E 67 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2E 0A 01 00 35 04 06 00 59 17 69 23 D6 E9 6E 05 29 D3 60 67 FA 4B [17:16:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 2F 60 47 00 6A E6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2E 0A 01 00 F4 03 04 00 97 72 1F 67 B6 04 01 00 00 AD E0 18 31 F5 FF 18 04 [17:16:32]CommunicateWithHost err = 0 [17:16:32]CheckOFDResponse [17:16:32]1017 (14) - 77093643461234 [17:16:32]1041 (16) - 0000000000871758 [17:16:32]1040 (4) - 68142 [17:16:32]1012 (4) - 28.10.2024 11:16 [17:16:32]1206 (1) - 0 [17:16:32]OFD Sender: Remove packet 68142 [17:16:32]ProducePacketName [17:16:32]name=ofd_packets/00068142 [17:16:32]NVStorageDeleteData [17:16:33]OFD Sender: Processing packet 68143 [packets to send 107, broken 26] [17:16:33]ProducePacketName [17:16:33]name=ofd_packets/00068143 [17:16:33]OFD Sender: To server: pG, [17:16:33]CommunicateWithHost lk.salyk.kg:30040 [17:16:33]ConnectInit lk.salyk.kg [17:16:33]Connected sock=8 [17:16:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 E2 0B 07 01 EE D6 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 70 5D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 19 71 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 71 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 62 42 00 00 00 00 07 04 06 00 00 71 02 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 6B 6E 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2F 0A 01 00 35 04 06 00 83 E6 E2 77 7F 20 24 61 FA 49 77 1D 9F 7E [17:16:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 83 4B 47 00 F6 A7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 2F 0A 01 00 F4 03 04 00 98 72 1F 67 B6 04 01 00 00 81 F1 B9 62 4C E0 A0 0F [17:16:33]CommunicateWithHost err = 0 [17:16:33]CheckOFDResponse [17:16:33]1017 (14) - 77093643461234 [17:16:33]1041 (16) - 0000000000871758 [17:16:33]1040 (4) - 68143 [17:16:33]1012 (4) - 28.10.2024 11:16 [17:16:33]1206 (1) - 0 [17:16:33]OFD Sender: Remove packet 68143 [17:16:33]ProducePacketName [17:16:33]name=ofd_packets/00068143 [17:16:33]NVStorageDeleteData [17:16:34]OFD Sender: Processing packet 68144 [packets to send 106, broken 26] [17:16:34]ProducePacketName [17:16:34]name=ofd_packets/00068144 [17:16:34]OFD Sender: To server: pG, [17:16:34]CommunicateWithHost lk.salyk.kg:30040 [17:16:34]ConnectInit lk.salyk.kg [17:16:34]Connected sock=8 [17:16:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 B4 51 04 01 62 65 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 1C 57 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 C6 97 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C6 97 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E0 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 46 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C6 97 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 D3 6E 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 30 0A 01 00 35 04 06 00 CA 73 89 05 D9 BD C8 C4 02 D3 85 2E 14 49 [17:16:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 2E 76 47 00 A0 02 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 30 0A 01 00 F4 03 04 00 98 72 1F 67 B6 04 01 00 00 BF 2C C8 7A 57 A3 57 21 [17:16:34]CommunicateWithHost err = 0 [17:16:34]CheckOFDResponse [17:16:34]1017 (14) - 77093643461234 [17:16:34]1041 (16) - 0000000000871758 [17:16:34]1040 (4) - 68144 [17:16:34]1012 (4) - 28.10.2024 11:16 [17:16:34]1206 (1) - 0 [17:16:34]OFD Sender: Remove packet 68144 [17:16:34]ProducePacketName [17:16:34]name=ofd_packets/00068144 [17:16:34]NVStorageDeleteData [17:16:35]OFD Sender: Processing packet 68145 [packets to send 105, broken 26] [17:16:35]ProducePacketName [17:16:35]name=ofd_packets/00068145 [17:16:35]OFD Sender: To server: pG, [17:16:35]CommunicateWithHost lk.salyk.kg:30040 [17:16:35]ConnectInit lk.salyk.kg [17:16:35]Connected sock=8 [17:16:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 9D D1 04 01 83 92 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 90 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 E8 88 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 88 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 29 00 00 00 00 07 04 06 00 94 88 01 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 FF 6E 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 31 0A 01 00 35 04 06 00 96 77 B8 33 30 BE 1F DD 2A C2 F3 95 F7 AC [17:16:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 53 C8 47 00 8D 80 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 31 0A 01 00 F4 03 04 00 99 72 1F 67 B6 04 01 00 00 B4 17 69 28 30 47 1D AF [17:16:35]CommunicateWithHost err = 0 [17:16:35]CheckOFDResponse [17:16:35]1017 (14) - 77093643461234 [17:16:35]1041 (16) - 0000000000871758 [17:16:35]1040 (4) - 68145 [17:16:35]1012 (4) - 28.10.2024 11:16 [17:16:35]1206 (1) - 0 [17:16:35]OFD Sender: Remove packet 68145 [17:16:35]ProducePacketName [17:16:35]name=ofd_packets/00068145 [17:16:35]NVStorageDeleteData [17:16:35]OFD Sender: Processing packet 68146 [packets to send 104, broken 26] [17:16:35]ProducePacketName [17:16:35]name=ofd_packets/00068146 [17:16:35]OFD Sender: To server: pG, [17:16:35]CommunicateWithHost lk.salyk.kg:30040 [17:16:35]ConnectInit lk.salyk.kg [17:16:36]Connected sock=8 [17:16:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 38 2E 07 01 86 59 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 94 57 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 E6 49 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 3E 00 00 00 00 07 04 06 00 8C 49 02 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 87 70 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 32 0A 01 00 35 04 06 00 14 B6 74 EB 7E CD 3C CE B9 42 1D E4 FB 8F [17:16:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 A4 4B 47 00 74 06 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 32 0A 01 00 F4 03 04 00 9A 72 1F 67 B6 04 01 00 00 9C F1 6F D3 E7 11 BA FC [17:16:36]CommunicateWithHost err = 0 [17:16:36]CheckOFDResponse [17:16:36]1017 (14) - 77093643461234 [17:16:36]1041 (16) - 0000000000871758 [17:16:36]1040 (4) - 68146 [17:16:36]1012 (4) - 28.10.2024 11:16 [17:16:36]1206 (1) - 0 [17:16:36]OFD Sender: Remove packet 68146 [17:16:36]ProducePacketName [17:16:36]name=ofd_packets/00068146 [17:16:36]NVStorageDeleteData [17:16:36]OFD Sender: Processing packet 68147 [packets to send 103, broken 26] [17:16:36]ProducePacketName [17:16:36]name=ofd_packets/00068147 [17:16:36]OFD Sender: To server: pG, [17:16:36]CommunicateWithHost lk.salyk.kg:30040 [17:16:36]ConnectInit lk.salyk.kg [17:16:36]Connected sock=8 [17:16:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 20 B4 07 01 93 F9 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CC 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 5F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5F 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5F 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 FB 71 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 33 0A 01 00 35 04 06 00 C6 32 B6 07 54 4C F3 93 F7 8C 66 71 63 80 [17:16:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 5D 4D 47 00 82 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 38 37 31 37 35 38 10 04 04 00 33 0A 01 00 F4 03 04 00 9B 72 1F 67 B6 04 01 00 00 C8 39 7A 7E 3F BB EB 4E [17:16:37]CommunicateWithHost err = 0 [17:16:37]CheckOFDResponse [17:16:37]1017 (14) - 77093643461234 [17:16:37]1041 (16) - 0000000000871758 [17:16:37]1040 (4) - 68147 [17:16:37]1012 (4) - 28.10.2024 11:16 [17:16:37]1206 (1) - 0 [17:16:37]OFD Sender: Remove packet 68147 [17:16:37]ProducePacketName [17:16:37]name=ofd_packets/00068147 [17:16:37]NVStorageDeleteData [17:16:37]OFD Sender: Processing packet 68148 [packets to send 102, broken 26] [17:16:37]ProducePacketName [17:16:37]name=ofd_packets/00068148 [17:16:37]OFD Sender: To server: pG, [17:16:37]CommunicateWithHost lk.salyk.kg:30040 [17:16:37]ConnectInit lk.salyk.kg [17:16:37]Connected sock=8 [17:16:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 36 01 00 00 AF 3D 2E 01 11 30 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 32 35 38 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 D0 9A D0 B5 D0 BB D0 B5 D1 87 D0 B5 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 DC 1E 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 63 75 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 34 0A 01 00 35 04 06 00 7A 98 95 9D F1 E7 71 4A 93 AD AB 34 30 A6 [17:16:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 FF 01 47 00 6D 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 34 0A 01 00 F4 03 04 00 9C 72 1F 67 B6 04 01 00 00 04 13 79 FA 4B 4A 0E 4B [17:16:38]CommunicateWithHost err = 0 [17:16:38]CheckOFDResponse [17:16:38]1017 (14) - 77093643461234 [17:16:38]1041 (16) - 0000000000871758 [17:16:38]1040 (4) - 68148 [17:16:38]1012 (4) - 28.10.2024 11:16 [17:16:38]1206 (1) - 0 [17:16:38]OFD Sender: Remove packet 68148 [17:16:38]ProducePacketName [17:16:38]name=ofd_packets/00068148 [17:16:38]NVStorageDeleteData [17:16:38]OFD Sender: Processing packet 68149 [packets to send 101, broken 26] [17:16:38]ProducePacketName [17:16:38]name=ofd_packets/00068149 [17:16:38]OFD Sender: To server: pG, [17:16:38]CommunicateWithHost lk.salyk.kg:30040 [17:16:38]ConnectInit lk.salyk.kg [17:16:38]Connected sock=8 [17:16:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 0F 49 04 01 F5 D8 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 40 9C 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 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 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 36 76 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 35 0A 01 00 35 04 06 00 F2 A1 27 3D 37 CC 03 41 C2 78 29 57 22 7A [17:16:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 0C CD 47 00 01 E9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 35 0A 01 00 F4 03 04 00 9D 72 1F 67 B6 04 01 00 00 81 B2 E0 81 4F 19 6B 29 [17:16:38]CommunicateWithHost err = 0 [17:16:38]CheckOFDResponse [17:16:38]1017 (14) - 77093643461234 [17:16:38]1041 (16) - 0000000000871758 [17:16:38]1040 (4) - 68149 [17:16:38]1012 (4) - 28.10.2024 11:16 [17:16:38]1206 (1) - 0 [17:16:38]OFD Sender: Remove packet 68149 [17:16:38]ProducePacketName [17:16:38]name=ofd_packets/00068149 [17:16:38]NVStorageDeleteData [17:16:39]OFD Sender: Processing packet 68150 [packets to send 100, broken 26] [17:16:39]ProducePacketName [17:16:39]name=ofd_packets/00068150 [17:16:39]OFD Sender: To server: pG, [17:16:39]CommunicateWithHost lk.salyk.kg:30040 [17:16:39]ConnectInit lk.salyk.kg [17:16:39]Connected sock=8 [17:16:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 B5 2E 04 01 A6 4C 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 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 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 5C 76 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 36 0A 01 00 35 04 06 00 75 71 19 A8 39 4F CD 16 9B 73 58 14 4C 2E [17:16:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 76 DE 47 00 42 03 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 36 0A 01 00 F4 03 04 00 9E 72 1F 67 B6 04 01 00 00 E9 86 BE C0 50 D8 C8 BD [17:16:39]CommunicateWithHost err = 0 [17:16:39]CheckOFDResponse [17:16:39]1017 (14) - 77093643461234 [17:16:39]1041 (16) - 0000000000871758 [17:16:39]1040 (4) - 68150 [17:16:39]1012 (4) - 28.10.2024 11:16 [17:16:39]1206 (1) - 0 [17:16:39]OFD Sender: Remove packet 68150 [17:16:39]ProducePacketName [17:16:39]name=ofd_packets/00068150 [17:16:39]NVStorageDeleteData [17:16:40]OFD Sender: Processing packet 68151 [packets to send 99, broken 26] [17:16:40]ProducePacketName [17:16:40]name=ofd_packets/00068151 [17:16:40]OFD Sender: To server: pG, [17:16:40]CommunicateWithHost lk.salyk.kg:30040 [17:16:40]ConnectInit lk.salyk.kg [17:16:40]Connected sock=10 [17:16:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 AE FF 04 01 D1 F2 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 9E CA 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 F1 07 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 07 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AA 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 A3 00 00 00 00 07 04 06 00 C0 07 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 89 76 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 37 0A 01 00 35 04 06 00 CA F1 5F 89 8B 83 BC 74 BB 99 DE B5 91 B4 [17:16:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 9B E1 47 00 A7 7E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 37 0A 01 00 F4 03 04 00 9F 72 1F 67 B6 04 01 00 00 FE FC CA AD 35 5F 43 A8 [17:16:40]CommunicateWithHost err = 0 [17:16:40]CheckOFDResponse [17:16:40]1017 (14) - 77093643461234 [17:16:40]1041 (16) - 0000000000871758 [17:16:40]1040 (4) - 68151 [17:16:40]1012 (4) - 28.10.2024 11:16 [17:16:40]1206 (1) - 0 [17:16:40]OFD Sender: Remove packet 68151 [17:16:40]ProducePacketName [17:16:40]name=ofd_packets/00068151 [17:16:40]NVStorageDeleteData [17:16:41]OFD Sender: Processing packet 68152 [packets to send 98, broken 26] [17:16:41]ProducePacketName [17:16:41]name=ofd_packets/00068152 [17:16:41]OFD Sender: To server: pG, [17:16:41]CommunicateWithHost lk.salyk.kg:30040 [17:16:41]ConnectInit lk.salyk.kg [17:16:41]Connected sock=8 [17:16:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 F2 14 04 01 B1 7B 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 0C 3A 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 51 BA 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 BA 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 2E 00 00 00 00 07 04 06 00 30 BA 01 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 8F 76 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 38 0A 01 00 35 04 06 00 53 F3 BC 71 98 4F 42 6E D0 15 97 25 9E C2 [17:16:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 86 AC 47 00 1F BA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 38 0A 01 00 F4 03 04 00 9F 72 1F 67 B6 04 01 00 00 B3 2B 01 39 3A 69 7B 8A [17:16:41]CommunicateWithHost err = 0 [17:16:41]CheckOFDResponse [17:16:41]1017 (14) - 77093643461234 [17:16:41]1041 (16) - 0000000000871758 [17:16:41]1040 (4) - 68152 [17:16:41]1012 (4) - 28.10.2024 11:16 [17:16:41]1206 (1) - 0 [17:16:41]OFD Sender: Remove packet 68152 [17:16:41]ProducePacketName [17:16:41]name=ofd_packets/00068152 [17:16:41]NVStorageDeleteData [17:16:42]OFD Sender: Processing packet 68153 [packets to send 97, broken 26] [17:16:42]ProducePacketName [17:16:42]name=ofd_packets/00068153 [17:16:42]OFD Sender: To server: pG, [17:16:42]CommunicateWithHost lk.salyk.kg:30040 [17:16:42]ConnectInit lk.salyk.kg [17:16:42]Connected sock=8 [17:16:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 A1 33 04 01 F1 46 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 64 05 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 14 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5D 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 45 77 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 39 0A 01 00 35 04 06 00 42 CA 6C 6D 10 55 5E AB 92 61 65 6C B1 F2 [17:16:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 7B 7F 47 00 8B F8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 39 0A 01 00 F4 03 04 00 A0 72 1F 67 B6 04 01 00 00 44 2E C5 5C E2 6F 1D F4 [17:16:42]CommunicateWithHost err = 0 [17:16:42]CheckOFDResponse [17:16:42]1017 (14) - 77093643461234 [17:16:42]1041 (16) - 0000000000871758 [17:16:42]1040 (4) - 68153 [17:16:42]1012 (4) - 28.10.2024 11:16 [17:16:42]1206 (1) - 0 [17:16:42]OFD Sender: Remove packet 68153 [17:16:42]ProducePacketName [17:16:42]name=ofd_packets/00068153 [17:16:42]NVStorageDeleteData [17:16:43]OFD Sender: Processing packet 68154 [packets to send 96, broken 26] [17:16:43]ProducePacketName [17:16:43]name=ofd_packets/00068154 [17:16:43]OFD Sender: To server: pG, [17:16:43]CommunicateWithHost lk.salyk.kg:30040 [17:16:43]ConnectInit lk.salyk.kg [17:16:43]Connected sock=8 [17:16:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 99 80 07 01 70 05 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 8C 3C 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 42 C1 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 C1 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FA 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 2F 00 00 00 00 07 04 06 00 38 C1 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 84 77 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3A 0A 01 00 35 04 06 00 21 AB 27 58 45 78 08 79 80 F5 5F 1F EE C2 [17:16:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 09 3E 47 00 C5 C4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3A 0A 01 00 F4 03 04 00 A1 72 1F 67 B6 04 01 00 00 AE 53 75 93 3D 0E C4 01 [17:16:43]CommunicateWithHost err = 0 [17:16:43]CheckOFDResponse [17:16:43]1017 (14) - 77093643461234 [17:16:43]1041 (16) - 0000000000871758 [17:16:43]1040 (4) - 68154 [17:16:43]1012 (4) - 28.10.2024 11:16 [17:16:43]1206 (1) - 0 [17:16:43]OFD Sender: Remove packet 68154 [17:16:43]ProducePacketName [17:16:43]name=ofd_packets/00068154 [17:16:43]NVStorageDeleteData [17:16:43]OFD Sender: Processing packet 68155 [packets to send 95, broken 26] [17:16:43]ProducePacketName [17:16:43]name=ofd_packets/00068155 [17:16:43]OFD Sender: To server: pG, [17:16:43]CommunicateWithHost lk.salyk.kg:30040 [17:16:43]ConnectInit lk.salyk.kg [17:16:43]Connected sock=8 [17:16:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 70 42 07 01 07 DD 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 2E 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 36 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC C2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 14 00 00 00 00 07 04 06 00 EC C2 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 CE 78 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3B 0A 01 00 35 04 06 00 5C B9 B3 D6 7C 69 19 C1 5F 3C 2A 6E 7D 42 [17:16:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 BA 72 47 00 BE B4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3B 0A 01 00 F4 03 04 00 A2 72 1F 67 B6 04 01 00 00 AE 34 EF B8 5B FB 53 2C [17:16:44]CommunicateWithHost err = 0 [17:16:44]CheckOFDResponse [17:16:44]1017 (14) - 77093643461234 [17:16:44]1041 (16) - 0000000000871758 [17:16:44]1040 (4) - 68155 [17:16:44]1012 (4) - 28.10.2024 11:16 [17:16:44]1206 (1) - 0 [17:16:44]OFD Sender: Remove packet 68155 [17:16:44]ProducePacketName [17:16:44]name=ofd_packets/00068155 [17:16:44]NVStorageDeleteData [17:16:44]OFD Sender: Processing packet 68156 [packets to send 94, broken 26] [17:16:44]ProducePacketName [17:16:44]name=ofd_packets/00068156 [17:16:44]OFD Sender: To server: pG, [17:16:44]CommunicateWithHost lk.salyk.kg:30040 [17:16:44]ConnectInit lk.salyk.kg [17:16:44]Connected sock=8 [17:16:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 D3 A0 07 01 87 34 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 94 57 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 E6 49 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 3E 00 00 00 00 07 04 06 00 8C 49 02 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 1A 79 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3C 0A 01 00 35 04 06 00 82 85 CC D7 33 B0 37 29 E5 1F CD DE CF 8D [17:16:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 61 88 47 00 C2 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 38 37 31 37 35 38 10 04 04 00 3C 0A 01 00 F4 03 04 00 A3 72 1F 67 B6 04 01 00 00 A5 E4 8A 80 7E 8C A6 CD [17:16:45]CommunicateWithHost err = 0 [17:16:45]CheckOFDResponse [17:16:45]1017 (14) - 77093643461234 [17:16:45]1041 (16) - 0000000000871758 [17:16:45]1040 (4) - 68156 [17:16:45]1012 (4) - 28.10.2024 11:16 [17:16:45]1206 (1) - 0 [17:16:45]OFD Sender: Remove packet 68156 [17:16:45]ProducePacketName [17:16:45]name=ofd_packets/00068156 [17:16:45]NVStorageDeleteData [17:16:45]OFD Sender: Processing packet 68157 [packets to send 93, broken 26] [17:16:45]ProducePacketName [17:16:45]name=ofd_packets/00068157 [17:16:45]OFD Sender: To server: pG, [17:16:45]CommunicateWithHost lk.salyk.kg:30040 [17:16:45]ConnectInit lk.salyk.kg [17:16:45]Connected sock=10 [17:16:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 88 75 04 01 A6 10 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 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 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 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 89 79 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3D 0A 01 00 35 04 06 00 BE 81 DA 71 BA 61 E9 53 D8 56 67 41 1A A9 [17:16:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 10 C6 47 00 81 F3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3D 0A 01 00 F4 03 04 00 A4 72 1F 67 B6 04 01 00 00 19 83 EB E8 BE 58 61 BD [17:16:46]CommunicateWithHost err = 0 [17:16:46]CheckOFDResponse [17:16:46]1017 (14) - 77093643461234 [17:16:46]1041 (16) - 0000000000871758 [17:16:46]1040 (4) - 68157 [17:16:46]1012 (4) - 28.10.2024 11:16 [17:16:46]1206 (1) - 0 [17:16:46]OFD Sender: Remove packet 68157 [17:16:46]ProducePacketName [17:16:46]name=ofd_packets/00068157 [17:16:46]NVStorageDeleteData [17:16:46]OFD Sender: Processing packet 68158 [packets to send 92, broken 26] [17:16:46]ProducePacketName [17:16:46]name=ofd_packets/00068158 [17:16:46]OFD Sender: To server: pG, [17:16:46]CommunicateWithHost lk.salyk.kg:30040 [17:16:46]ConnectInit lk.salyk.kg [17:16:46]Connected sock=8 [17:16:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 44 A4 04 01 89 F6 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 30 0C 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 DE 5C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 5C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 09 00 00 00 00 07 04 06 00 94 5C 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 A4 79 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3E 0A 01 00 35 04 06 00 BD 9B E8 93 0F 97 D4 E7 EE 44 3E DB 9E 5E [17:16:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 8E 8A 47 00 A1 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 38 37 31 37 35 38 10 04 04 00 3E 0A 01 00 F4 03 04 00 A5 72 1F 67 B6 04 01 00 00 EE C8 A5 36 48 18 79 EA [17:16:47]CommunicateWithHost err = 0 [17:16:47]CheckOFDResponse [17:16:47]1017 (14) - 77093643461234 [17:16:47]1041 (16) - 0000000000871758 [17:16:47]1040 (4) - 68158 [17:16:47]1012 (4) - 28.10.2024 11:16 [17:16:47]1206 (1) - 0 [17:16:47]OFD Sender: Remove packet 68158 [17:16:47]ProducePacketName [17:16:47]name=ofd_packets/00068158 [17:16:47]NVStorageDeleteData [17:16:47]OFD Sender: Processing packet 68159 [packets to send 91, broken 26] [17:16:47]ProducePacketName [17:16:47]name=ofd_packets/00068159 [17:16:47]OFD Sender: To server: pG, [17:16:47]CommunicateWithHost lk.salyk.kg:30040 [17:16:47]ConnectInit lk.salyk.kg [17:16:47]Connected sock=8 [17:16:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 3E 48 07 01 8A 0C 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 98 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 FE 87 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FE 87 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 A1 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FE 87 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 B3 7A 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 3F 0A 01 00 35 04 06 00 21 95 F5 27 E7 73 28 55 06 40 4A 53 FF 3E [17:16:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 4F A0 47 00 02 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 38 37 31 37 35 38 10 04 04 00 3F 0A 01 00 F4 03 04 00 A6 72 1F 67 B6 04 01 00 00 72 07 6B FA 4D B6 62 39 [17:16:47]CommunicateWithHost err = 0 [17:16:47]CheckOFDResponse [17:16:47]1017 (14) - 77093643461234 [17:16:47]1041 (16) - 0000000000871758 [17:16:47]1040 (4) - 68159 [17:16:47]1012 (4) - 28.10.2024 11:16 [17:16:47]1206 (1) - 0 [17:16:47]OFD Sender: Remove packet 68159 [17:16:47]ProducePacketName [17:16:47]name=ofd_packets/00068159 [17:16:47]NVStorageDeleteData [17:16:48]OFD Sender: Processing packet 68160 [packets to send 90, broken 26] [17:16:48]ProducePacketName [17:16:48]name=ofd_packets/00068160 [17:16:48]OFD Sender: To server: pG, [17:16:48]CommunicateWithHost lk.salyk.kg:30040 [17:16:48]ConnectInit lk.salyk.kg [17:16:48]Connected sock=8 [17:16:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 51 A9 04 01 8D FB 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4C AE 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 24 30 05 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 30 05 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 0B 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 8D 00 00 00 00 07 04 06 00 20 30 05 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 CB 7A 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 40 0A 01 00 35 04 06 00 E7 38 5B 0C 56 3B 3B 8D 7B DD 89 D8 25 8B [17:16:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 FB BB 47 00 7E 35 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 40 0A 01 00 F4 03 04 00 A7 72 1F 67 B6 04 01 00 00 39 03 A9 2B CB D3 4A 7F [17:16:48]CommunicateWithHost err = 0 [17:16:48]CheckOFDResponse [17:16:48]1017 (14) - 77093643461234 [17:16:48]1041 (16) - 0000000000871758 [17:16:48]1040 (4) - 68160 [17:16:48]1012 (4) - 28.10.2024 11:16 [17:16:48]1206 (1) - 0 [17:16:48]OFD Sender: Remove packet 68160 [17:16:48]ProducePacketName [17:16:48]name=ofd_packets/00068160 [17:16:48]NVStorageDeleteData [17:16:49]OFD Sender: Processing packet 68161 [packets to send 89, broken 26] [17:16:49]ProducePacketName [17:16:49]name=ofd_packets/00068161 [17:16:49]OFD Sender: To server: pG, [17:16:49]CommunicateWithHost lk.salyk.kg:30040 [17:16:49]ConnectInit lk.salyk.kg [17:16:49]Connected sock=8 [17:16:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 76 EE 07 01 D1 CA 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5C 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 6D 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 29 00 00 00 00 07 04 06 00 3C 86 01 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 2D 7D 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 41 0A 01 00 35 04 06 00 1B 14 25 D8 61 33 57 60 72 37 C2 87 85 0C [17:16:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 29 B7 47 00 2E 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 38 37 31 37 35 38 10 04 04 00 41 0A 01 00 F4 03 04 00 A8 72 1F 67 B6 04 01 00 00 49 79 45 A5 CF D0 CA F4 [17:16:49]CommunicateWithHost err = 0 [17:16:49]CheckOFDResponse [17:16:49]1017 (14) - 77093643461234 [17:16:49]1041 (16) - 0000000000871758 [17:16:49]1040 (4) - 68161 [17:16:49]1012 (4) - 28.10.2024 11:16 [17:16:49]1206 (1) - 0 [17:16:49]OFD Sender: Remove packet 68161 [17:16:49]ProducePacketName [17:16:49]name=ofd_packets/00068161 [17:16:49]NVStorageDeleteData [17:16:50]OFD Sender: Processing packet 68162 [packets to send 88, broken 26] [17:16:50]ProducePacketName [17:16:50]name=ofd_packets/00068162 [17:16:50]OFD Sender: To server: pG, [17:16:50]CommunicateWithHost lk.salyk.kg:30040 [17:16:50]ConnectInit lk.salyk.kg [17:16:50]Connected sock=8 [17:16:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 C5 CE 04 01 94 07 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 96 9F 01 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 35 35 0C 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 35 0C 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 1B 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 4B 01 00 00 00 07 04 06 00 00 35 0C 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 57 7D 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 42 0A 01 00 35 04 06 00 A8 2A B9 F9 1E 90 3A 2B 0D 46 3D 57 8D 72 [17:16:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 91 A5 47 00 C4 F7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 42 0A 01 00 F4 03 04 00 A8 72 1F 67 B6 04 01 00 00 CC 09 94 2A FC 8A EE 17 [17:16:50]CommunicateWithHost err = 0 [17:16:50]CheckOFDResponse [17:16:50]1017 (14) - 77093643461234 [17:16:50]1041 (16) - 0000000000871758 [17:16:50]1040 (4) - 68162 [17:16:50]1012 (4) - 28.10.2024 11:16 [17:16:50]1206 (1) - 0 [17:16:50]OFD Sender: Remove packet 68162 [17:16:50]ProducePacketName [17:16:50]name=ofd_packets/00068162 [17:16:50]NVStorageDeleteData [17:16:51]OFD Sender: Processing packet 68163 [packets to send 87, broken 26] [17:16:51]ProducePacketName [17:16:51]name=ofd_packets/00068163 [17:16:51]OFD Sender: To server: pG, [17:16:51]CommunicateWithHost lk.salyk.kg:30040 [17:16:51]ConnectInit lk.salyk.kg [17:16:51]Connected sock=8 [17:16:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 3E 01 00 00 46 51 36 01 CB 35 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 44 00 00 00 F4 03 04 00 38 7F 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 43 0A 01 00 35 04 06 00 FB CC 29 1D E7 79 40 FE A9 9F 21 CC 8C E3 [17:16:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 E4 3D 47 00 32 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 38 37 31 37 35 38 10 04 04 00 43 0A 01 00 F4 03 04 00 A9 72 1F 67 B6 04 01 00 00 FF 8B F6 34 A3 78 81 1D [17:16:51]CommunicateWithHost err = 0 [17:16:51]CheckOFDResponse [17:16:51]1017 (14) - 77093643461234 [17:16:51]1041 (16) - 0000000000871758 [17:16:51]1040 (4) - 68163 [17:16:51]1012 (4) - 28.10.2024 11:16 [17:16:51]1206 (1) - 0 [17:16:51]OFD Sender: Remove packet 68163 [17:16:51]ProducePacketName [17:16:51]name=ofd_packets/00068163 [17:16:51]NVStorageDeleteData [17:16:52]OFD Sender: Processing packet 68164 [packets to send 86, broken 26] [17:16:52]ProducePacketName [17:16:52]name=ofd_packets/00068164 [17:16:52]OFD Sender: To server: pG, [17:16:52]CommunicateWithHost lk.salyk.kg:30040 [17:16:52]ConnectInit lk.salyk.kg [17:16:52]Connected sock=8 [17:16:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 23 C5 07 01 F9 3E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 94 57 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 E6 49 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 3E 00 00 00 00 07 04 06 00 8C 49 02 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 95 7F 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 44 0A 01 00 35 04 06 00 30 AA FF C6 6A 7F 29 39 36 85 57 25 F0 E0 [17:16:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 F5 19 47 00 E7 D5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 44 0A 01 00 F4 03 04 00 AA 72 1F 67 B6 04 01 00 00 98 D3 10 D0 FB EF 23 8E [17:16:52]CommunicateWithHost err = 0 [17:16:52]CheckOFDResponse [17:16:52]1017 (14) - 77093643461234 [17:16:52]1041 (16) - 0000000000871758 [17:16:52]1040 (4) - 68164 [17:16:52]1012 (4) - 28.10.2024 11:16 [17:16:52]1206 (1) - 0 [17:16:52]OFD Sender: Remove packet 68164 [17:16:52]ProducePacketName [17:16:52]name=ofd_packets/00068164 [17:16:52]NVStorageDeleteData [17:16:53]OFD Sender: Processing packet 68165 [packets to send 85, broken 26] [17:16:53]ProducePacketName [17:16:53]name=ofd_packets/00068165 [17:16:53]OFD Sender: To server: pG, [17:16:53]CommunicateWithHost lk.salyk.kg:30040 [17:16:53]ConnectInit lk.salyk.kg [17:16:53]Connected sock=8 [17:16:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 4F 71 07 01 A8 C2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 54 1A 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 5B C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BF 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 B1 7F 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 45 0A 01 00 35 04 06 00 93 A0 89 3B BB 40 F5 FE 55 D6 E3 68 6E D9 [17:16:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 20 09 47 00 A3 22 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 45 0A 01 00 F4 03 04 00 AB 72 1F 67 B6 04 01 00 00 30 04 07 9E 27 50 55 4C [17:16:53]CommunicateWithHost err = 0 [17:16:53]CheckOFDResponse [17:16:53]1017 (14) - 77093643461234 [17:16:53]1041 (16) - 0000000000871758 [17:16:53]1040 (4) - 68165 [17:16:53]1012 (4) - 28.10.2024 11:16 [17:16:53]1206 (1) - 0 [17:16:53]OFD Sender: Remove packet 68165 [17:16:53]ProducePacketName [17:16:53]name=ofd_packets/00068165 [17:16:53]NVStorageDeleteData [17:16:53]OFD Sender: Processing packet 68166 [packets to send 84, broken 26] [17:16:53]ProducePacketName [17:16:53]name=ofd_packets/00068166 [17:16:53]OFD Sender: To server: pG, [17:16:53]CommunicateWithHost lk.salyk.kg:30040 [17:16:53]ConnectInit lk.salyk.kg [17:16:54]Connected sock=8 [17:16:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 12 9D 04 01 3E 71 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 58 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 DC 0B 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 0B 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E7 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D1 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 0B 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 D7 7F 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 46 0A 01 00 35 04 06 00 C0 10 6C 72 29 FD 85 30 A0 1A C3 37 50 5C [17:16:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 A1 AC 47 00 BE 66 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 46 0A 01 00 F4 03 04 00 AC 72 1F 67 B6 04 01 00 00 6F 07 0A F1 61 2B D2 53 [17:16:54]CommunicateWithHost err = 0 [17:16:54]CheckOFDResponse [17:16:54]1017 (14) - 77093643461234 [17:16:54]1041 (16) - 0000000000871758 [17:16:54]1040 (4) - 68166 [17:16:54]1012 (4) - 28.10.2024 11:17 [17:16:54]1206 (1) - 0 [17:16:54]OFD Sender: Remove packet 68166 [17:16:54]ProducePacketName [17:16:54]name=ofd_packets/00068166 [17:16:54]NVStorageDeleteData [17:16:54]OFD Sender: Processing packet 68167 [packets to send 83, broken 26] [17:16:54]ProducePacketName [17:16:54]name=ofd_packets/00068167 [17:16:54]OFD Sender: To server: pG, [17:16:54]CommunicateWithHost lk.salyk.kg:30040 [17:16:54]ConnectInit lk.salyk.kg [17:16:54]Connected sock=8 [17:16:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 BB 67 04 01 91 70 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 40 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 86 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 29 00 00 00 00 07 04 06 00 3C 86 01 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 0A 80 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 47 0A 01 00 35 04 06 00 2F 26 BB 97 69 1C C9 CD 39 68 7C E2 F9 28 [17:16:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 28 DA 47 00 B8 99 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 47 0A 01 00 F4 03 04 00 AD 72 1F 67 B6 04 01 00 00 87 84 F0 51 F3 9D C1 84 [17:16:55]CommunicateWithHost err = 0 [17:16:55]CheckOFDResponse [17:16:55]1017 (14) - 77093643461234 [17:16:55]1041 (16) - 0000000000871758 [17:16:55]1040 (4) - 68167 [17:16:55]1012 (4) - 28.10.2024 11:17 [17:16:55]1206 (1) - 0 [17:16:55]OFD Sender: Remove packet 68167 [17:16:55]ProducePacketName [17:16:55]name=ofd_packets/00068167 [17:16:55]NVStorageDeleteData [17:16:55]OFD Sender: Processing packet 68168 [packets to send 82, broken 26] [17:16:55]ProducePacketName [17:16:55]name=ofd_packets/00068168 [17:16:55]OFD Sender: To server: pG, [17:16:55]CommunicateWithHost lk.salyk.kg:30040 [17:16:55]ConnectInit lk.salyk.kg [17:16:55]Connected sock=8 [17:16:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 AC 0D 07 01 B0 22 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 63 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 4C 98 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 98 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E1 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 46 00 00 00 00 07 04 06 00 10 98 02 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 1A 81 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 int [17:16:56]30 Write to MH i2c: 30 01 30 00 30 00 21 *** FLAG_PRN_KEY set [17:16:56]1E 30 3F 30 [17:16:56]39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 Write i2c OK [17:16:56]00 MH_I2C_Read... [17:16:56]48 Read from MH i2c: 0A 01 01 [17:16:56]00 MH_I2C_Read... [17:16:56]35 04 06 00 23 EC 66 28 45 0A DE 99 8B 50 B7 61 45 12 [17:16:56]Read from MH i2c: 01 07 00 [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: 01 07 00 21 1E 00 08 00 00 00 FF 0F 5C [17:16:56]state=0 [17:16:56]Key pressed [17:16:56]Feed [17:16:56]Write to MH i2c: D8 00 00 22 1E 17 [17:16:56]Write i2c OK [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: D8 [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: D8 01 00 [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: D8 01 00 22 1E 00 18 [17:16:56]int line is 0 - check status [17:16:56]Write to MH i2c: 01 00 00 23 1E 41 [17:16:56]Write i2c OK [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: 01 [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: 01 07 00 [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: 01 07 00 23 1E 00 48 00 00 00 3C 00 CC [17:16:56]state=2 [17:16:56]Key pressed [17:16:56]int [17:16:56]Write to MH i2c: 01 00 00 24 1E 42 [17:16:56]Write i2c OK [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: 01 [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: 01 07 00 [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: 01 07 00 24 1E 00 48 00 00 00 3C 00 CD [17:16:56]state=2 [17:16:56]Key pressed [17:16:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 1A AA 47 00 DD 9D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 48 0A 01 00 F4 03 04 00 AE 72 1F 67 B6 04 01 00 00 5E 68 22 93 C2 86 15 E9 [17:16:56]CommunicateWithHost err = 0 [17:16:56]CheckOFDResponse [17:16:56]1017 (14) - 77093643461234 [17:16:56]1041 (16) - 0000000000871758 [17:16:56]1040 (4) - 68168 [17:16:56]1012 (4) - 28.10.2024 11:17 [17:16:56]1206 (1) - 0 [17:16:56]OFD Sender: Remove packet 68168 [17:16:56]ProducePacketName [17:16:56]name=ofd_packets/00068168 [17:16:56]NVStorageDeleteData [17:16:56]*** FLAG_PRN_KEY reset [17:16:56]int [17:16:56]Write to MH i2c: 01 00 00 25 1E 43 [17:16:56]Write i2c OK [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: 01 [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: 01 07 00 [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: 01 07 00 25 1E 00 00 00 00 00 FF 0F 58 [17:16:56]state=2 [17:16:56]Stop feed [17:16:56]OFD Sender: Processing packet 68169 [packets to send 81, broken 26] [17:16:56]ProducePacketName [17:16:56]name=ofd_packets/00068169 [17:16:56]OFD Sender: To server: pG, [17:16:56]CommunicateWithHost lk.salyk.kg:30040 [17:16:56]ConnectInit lk.salyk.kg [17:16:56]*** FLAG_PRN_KEY set [17:16:56]int [17:16:56]Write to MH i2c: 01 00 00 26 1E 44 [17:16:56]Write i2c OK [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: 01 [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: 01 07 00 [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: 01 07 00 26 1E 00 08 00 00 00 FF 0F 61 [17:16:56]state=0 [17:16:56]Key pressed [17:16:56]Feed [17:16:56]Write to MH i2c: D8 00 00 27 1E 1C [17:16:56]Write i2c OK [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: D8 [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: D8 01 00 [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: D8 01 00 27 1E 00 1D [17:16:56]int line is 0 - check status [17:16:56]Write to MH i2c: 01 00 00 28 1E 46 [17:16:56]Write i2c OK [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: 01 [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: 01 07 00 [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: 01 07 00 28 1E 00 48 00 00 00 3C 00 D1 [17:16:56]state=2 [17:16:56]Key pressed [17:16:56]int [17:16:56]Write to MH i2c: 01 00 00 29 1E 47 [17:16:56]Write i2c OK [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: 01 [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: 01 07 00 [17:16:56]MH_I2C_Read... [17:16:56]Read from MH i2c: 01 07 00 29 1E 00 48 00 00 00 3C 00 D2 [17:16:56]state=2 [17:16:56]Key pressed [17:16:56]Connected sock=6 [17:16:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 39 01 00 00 31 27 31 01 10 D1 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 *** FLAG_PRN_KEY reset [17:16:56]0D int [17:16:56]00 Write to MH i2c: 34 01 37 00 30 00 30 2A 30 1E 30 48 33 [17:16:56]30 31 30 Write i2c OK [17:16:56]30 MH_I2C_Read... [17:16:56]35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 Read from MH i2c: BE 01 D0 [17:16:57]BB MH_I2C_Read... [17:16:57]20 Read from MH i2c: 4C 01 65 07 74 00 60 [17:16:57]73 MH_I2C_Read... [17:16:57]20 47 6F 21 20 D0 B7 Read from MH i2c: D0 01 B5 07 D0 00 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 2A 35 1E D0 00 BB 00 FF 00 03 00 08 00 00 FF 03 0F E8 5D 03 [17:16:57]00 state=2 [17:16:57]00 Stop feed [17:16:57]00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 3F 81 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 49 0A 01 00 35 04 06 00 8B A0 55 6D 60 FC 77 6F FA DE B1 D9 F0 E7 [17:16:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 E5 95 47 00 6D 17 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 49 0A 01 00 F4 03 04 00 AF 72 1F 67 B6 04 01 00 00 F9 99 93 A2 D5 6E EC 3A [17:16:57]CommunicateWithHost err = 0 [17:16:57]CheckOFDResponse [17:16:57]1017 (14) - 77093643461234 [17:16:57]1041 (16) - 0000000000871758 [17:16:57]1040 (4) - 68169 [17:16:57]1012 (4) - 28.10.2024 11:17 [17:16:57]1206 (1) - 0 [17:16:57]OFD Sender: Remove packet 68169 [17:16:57]ProducePacketName [17:16:57]name=ofd_packets/00068169 [17:16:57]NVStorageDeleteData [17:16:57]OFD Sender: Processing packet 68170 [packets to send 80, broken 26] [17:16:57]ProducePacketName [17:16:57]name=ofd_packets/00068170 [17:16:57]OFD Sender: To server: pG, [17:16:57]CommunicateWithHost lk.salyk.kg:30040 [17:16:57]ConnectInit lk.salyk.kg [17:16:57]Connected sock=6 [17:16:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 9C FE 04 01 CB BB 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 0A 00 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 4C 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 4B 81 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4A 0A 01 00 35 04 06 00 ED B2 8D 6A CE 77 4E BE 73 98 90 57 74 90 [17:16:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 2A BB 47 00 F4 AB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4A 0A 01 00 F4 03 04 00 B0 72 1F 67 B6 04 01 00 00 5F D7 2E 60 EF 1A EA F2 [17:16:58]CommunicateWithHost err = 0 [17:16:58]CheckOFDResponse [17:16:58]1017 (14) - 77093643461234 [17:16:58]1041 (16) - 0000000000871758 [17:16:58]1040 (4) - 68170 [17:16:58]1012 (4) - 28.10.2024 11:17 [17:16:58]1206 (1) - 0 [17:16:58]OFD Sender: Remove packet 68170 [17:16:58]ProducePacketName [17:16:58]name=ofd_packets/00068170 [17:16:58]NVStorageDeleteData [17:16:58]OFD Sender: Processing packet 68171 [packets to send 79, broken 26] [17:16:58]ProducePacketName [17:16:58]name=ofd_packets/00068171 [17:16:58]OFD Sender: To server: pG, [17:16:58]CommunicateWithHost lk.salyk.kg:30040 [17:16:58]ConnectInit lk.salyk.kg [17:16:58]Connected sock=6 [17:16:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 7D 89 04 01 E7 17 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D4 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 2C 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 94 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7A 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 94 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 96 81 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4B 0A 01 00 35 04 06 00 7E 82 99 43 02 7B F1 AA 03 A4 5C CF 08 21 [17:16:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 58 A6 47 00 53 BD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4B 0A 01 00 F4 03 04 00 B1 72 1F 67 B6 04 01 00 00 5E F0 BF 58 1F CD DB 07 [17:16:59]CommunicateWithHost err = 0 [17:16:59]CheckOFDResponse [17:16:59]1017 (14) - 77093643461234 [17:16:59]1041 (16) - 0000000000871758 [17:16:59]1040 (4) - 68171 [17:16:59]1012 (4) - 28.10.2024 11:17 [17:16:59]1206 (1) - 0 [17:16:59]OFD Sender: Remove packet 68171 [17:16:59]ProducePacketName [17:16:59]name=ofd_packets/00068171 [17:16:59]NVStorageDeleteData [17:16:59]OFD Sender: Processing packet 68172 [packets to send 78, broken 26] [17:16:59]ProducePacketName [17:16:59]name=ofd_packets/00068172 [17:16:59]OFD Sender: To server: pG, [17:16:59]CommunicateWithHost lk.salyk.kg:30040 [17:16:59]ConnectInit lk.salyk.kg [17:16:59]Connected sock=6 [17:16:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 B0 89 08 01 36 0F 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C6 8E 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 92 D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 67 00 00 00 00 07 04 06 00 90 D0 03 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 AD 83 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4C 0A 01 00 35 04 06 00 D6 1A 62 90 71 F6 4E 49 A4 2C F4 D6 EF DC [17:17:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 A8 65 47 00 74 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 38 37 31 37 35 38 10 04 04 00 4C 0A 01 00 F4 03 04 00 B2 72 1F 67 B6 04 01 00 00 35 46 99 19 4E D6 B3 A9 [17:17:00]CommunicateWithHost err = 0 [17:17:00]CheckOFDResponse [17:17:00]1017 (14) - 77093643461234 [17:17:00]1041 (16) - 0000000000871758 [17:17:00]1040 (4) - 68172 [17:17:00]1012 (4) - 28.10.2024 11:17 [17:17:00]1206 (1) - 0 [17:17:00]OFD Sender: Remove packet 68172 [17:17:00]ProducePacketName [17:17:00]name=ofd_packets/00068172 [17:17:00]NVStorageDeleteData [17:17:00]OFD Sender: Processing packet 68173 [packets to send 77, broken 26] [17:17:00]ProducePacketName [17:17:00]name=ofd_packets/00068173 [17:17:00]OFD Sender: To server: pG, [17:17:00]CommunicateWithHost lk.salyk.kg:30040 [17:17:00]ConnectInit lk.salyk.kg [17:17:00]Connected sock=6 [17:17:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 65 07 07 01 F0 16 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 94 57 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 E6 49 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 3E 00 00 00 00 07 04 06 00 8C 49 02 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 F7 84 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4D 0A 01 00 35 04 06 00 E0 66 C6 96 D7 D6 88 B7 13 C0 7A 87 29 6C [17:17:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 30 37 47 00 A7 6D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4D 0A 01 00 F4 03 04 00 B3 72 1F 67 B6 04 01 00 00 68 89 F9 ED 03 EA DA 5B [17:17:01]CommunicateWithHost err = 0 [17:17:01]CheckOFDResponse [17:17:01]1017 (14) - 77093643461234 [17:17:01]1041 (16) - 0000000000871758 [17:17:01]1040 (4) - 68173 [17:17:01]1012 (4) - 28.10.2024 11:17 [17:17:01]1206 (1) - 0 [17:17:01]OFD Sender: Remove packet 68173 [17:17:01]ProducePacketName [17:17:01]name=ofd_packets/00068173 [17:17:01]NVStorageDeleteData [17:17:01]OFD Sender: Processing packet 68174 [packets to send 76, broken 26] [17:17:01]ProducePacketName [17:17:01]name=ofd_packets/00068174 [17:17:01]OFD Sender: To server: pG, [17:17:01]CommunicateWithHost lk.salyk.kg:30040 [17:17:01]ConnectInit lk.salyk.kg [17:17:01]Connected sock=10 [17:17:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 2E 01 04 01 BF 36 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 D4 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 2C 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 94 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7A 7C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 94 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 6E 86 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4E 0A 01 00 35 04 06 00 4B 17 95 83 8D 32 8C A6 75 85 6C 37 F3 D1 [17:17:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 CA 29 47 00 C3 3D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4E 0A 01 00 F4 03 04 00 B4 72 1F 67 B6 04 01 00 00 B0 26 9A 9D 21 D7 F2 FD [17:17:01]CommunicateWithHost err = 0 [17:17:01]CheckOFDResponse [17:17:01]1017 (14) - 77093643461234 [17:17:01]1041 (16) - 0000000000871758 [17:17:01]1040 (4) - 68174 [17:17:01]1012 (4) - 28.10.2024 11:17 [17:17:01]1206 (1) - 0 [17:17:01]OFD Sender: Remove packet 68174 [17:17:01]ProducePacketName [17:17:01]name=ofd_packets/00068174 [17:17:01]NVStorageDeleteData [17:17:02]OFD Sender: Processing packet 68175 [packets to send 75, broken 26] [17:17:02]ProducePacketName [17:17:02]name=ofd_packets/00068175 [17:17:02]OFD Sender: To server: pG, [17:17:02]CommunicateWithHost lk.salyk.kg:30040 [17:17:02]ConnectInit lk.salyk.kg [17:17:02]Connected sock=8 [17:17:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 3A 01 00 00 BA 21 32 01 A9 AC 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 D0 07 00 00 00 00 00 37 04 06 00 F4 1A 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 50 00 00 00 F4 03 04 00 79 89 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 4F 0A 01 00 35 04 06 00 73 7B EC 2E 9D EF 3F FE 42 AD 03 84 A9 06 [17:17:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 B1 20 47 00 17 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 38 37 31 37 35 38 10 04 04 00 4F 0A 01 00 F4 03 04 00 B5 72 1F 67 B6 04 01 00 00 02 14 42 8C 89 F2 D0 B4 [17:17:02]CommunicateWithHost err = 0 [17:17:02]CheckOFDResponse [17:17:02]1017 (14) - 77093643461234 [17:17:02]1041 (16) - 0000000000871758 [17:17:02]1040 (4) - 68175 [17:17:02]1012 (4) - 28.10.2024 11:17 [17:17:02]1206 (1) - 0 [17:17:02]OFD Sender: Remove packet 68175 [17:17:02]ProducePacketName [17:17:02]name=ofd_packets/00068175 [17:17:02]NVStorageDeleteData [17:17:03]OFD Sender: Processing packet 68176 [packets to send 74, broken 26] [17:17:03]ProducePacketName [17:17:03]name=ofd_packets/00068176 [17:17:03]OFD Sender: To server: pG, [17:17:03]CommunicateWithHost lk.salyk.kg:30040 [17:17:03]ConnectInit lk.salyk.kg [17:17:03]Connected sock=8 [17:17:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 A5 02 00 00 D2 92 9D 02 0C 08 5A 03 01 00 03 00 91 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 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 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 B8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 13 00 00 00 00 07 04 06 00 60 B8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 02 8B 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 50 0A 01 00 35 04 06 00 44 DE 0C C5 B0 6A 09 35 65 C8 73 26 29 4A [17:17:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 C5 A1 47 00 C4 14 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 50 0A 01 00 F4 03 04 00 B6 72 1F 67 B6 04 01 00 00 52 69 76 82 33 7B F3 C3 [17:17:04]CommunicateWithHost err = 0 [17:17:04]CheckOFDResponse [17:17:04]1017 (14) - 77093643461234 [17:17:04]1041 (16) - 0000000000871758 [17:17:04]1040 (4) - 68176 [17:17:04]1012 (4) - 28.10.2024 11:17 [17:17:04]1206 (1) - 0 [17:17:04]OFD Sender: Remove packet 68176 [17:17:04]ProducePacketName [17:17:04]name=ofd_packets/00068176 [17:17:04]NVStorageDeleteData [17:17:04]OFD Sender: Processing packet 68177 [packets to send 73, broken 26] [17:17:04]ProducePacketName [17:17:04]name=ofd_packets/00068177 [17:17:04]OFD Sender: To server: pG, [17:17:04]CommunicateWithHost lk.salyk.kg:30040 [17:17:04]ConnectInit lk.salyk.kg [17:17:04]Connected sock=8 [17:17:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 18 D9 04 01 90 9B 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 A2 6B 01 00 00 00 00 37 04 06 00 60 1D 00 00 00 00 13 04 06 00 85 AE 0A 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 AE 0A 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 18 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 22 01 00 00 00 07 04 06 00 60 AE 0A 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 0C 8D 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 51 0A 01 00 35 04 06 00 E3 56 06 E6 BF 2D FB 0F 70 74 EB 92 5A C5 [17:17:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 B7 DC 47 00 98 FF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 51 0A 01 00 F4 03 04 00 B7 72 1F 67 B6 04 01 00 00 9A 87 00 21 FD 79 D8 0C [17:17:04]CommunicateWithHost err = 0 [17:17:04]CheckOFDResponse [17:17:04]1017 (14) - 77093643461234 [17:17:04]1041 (16) - 0000000000871758 [17:17:04]1040 (4) - 68177 [17:17:04]1012 (4) - 28.10.2024 11:17 [17:17:04]1206 (1) - 0 [17:17:04]OFD Sender: Remove packet 68177 [17:17:04]ProducePacketName [17:17:04]name=ofd_packets/00068177 [17:17:04]NVStorageDeleteData [17:17:05]OFD Sender: Processing packet 68178 [packets to send 72, broken 26] [17:17:05]ProducePacketName [17:17:05]name=ofd_packets/00068178 [17:17:05]OFD Sender: To server: pG, [17:17:05]CommunicateWithHost lk.salyk.kg:30040 [17:17:05]ConnectInit lk.salyk.kg [17:17:05]Connected sock=8 [17:17:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 FD A6 04 01 E4 D6 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 14 CD 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 B2 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B2 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 A5 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B2 1A 06 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 84 92 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 52 0A 01 00 35 04 06 00 89 0E A1 8A 9A 81 55 7D 7E F5 A1 95 2B 27 [17:17:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 4D 57 47 00 C7 F2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 52 0A 01 00 F4 03 04 00 B8 72 1F 67 B6 04 01 00 00 99 A2 45 C7 D2 27 00 6A [17:17:05]CommunicateWithHost err = 0 [17:17:05]CheckOFDResponse [17:17:05]1017 (14) - 77093643461234 [17:17:05]1041 (16) - 0000000000871758 [17:17:05]1040 (4) - 68178 [17:17:05]1012 (4) - 28.10.2024 11:17 [17:17:05]1206 (1) - 0 [17:17:05]OFD Sender: Remove packet 68178 [17:17:05]ProducePacketName [17:17:05]name=ofd_packets/00068178 [17:17:05]NVStorageDeleteData [17:17:06]OFD Sender: Processing packet 68179 [packets to send 71, broken 26] [17:17:06]ProducePacketName [17:17:06]name=ofd_packets/00068179 [17:17:06]OFD Sender: To server: pG, [17:17:06]CommunicateWithHost lk.salyk.kg:30040 [17:17:06]ConnectInit lk.salyk.kg [17:17:06]Connected sock=8 [17:17:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 02 F3 07 01 7E 35 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0C 94 00 00 00 00 00 37 04 06 00 BE 19 00 00 00 00 13 04 06 00 A1 CF 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 CF 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A2 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 67 00 00 00 00 07 04 06 00 64 CF 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 45 93 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 53 0A 01 00 35 04 06 00 33 C3 4A 38 78 C0 8A 67 3D D6 51 F7 14 EA [17:17:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 4A 2B 47 00 6E B0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 53 0A 01 00 F4 03 04 00 B9 72 1F 67 B6 04 01 00 00 13 C6 B2 51 10 EF 8C 4B [17:17:07]CommunicateWithHost err = 0 [17:17:07]CheckOFDResponse [17:17:07]1017 (14) - 77093643461234 [17:17:07]1041 (16) - 0000000000871758 [17:17:07]1040 (4) - 68179 [17:17:07]1012 (4) - 28.10.2024 11:17 [17:17:07]1206 (1) - 0 [17:17:07]OFD Sender: Remove packet 68179 [17:17:07]ProducePacketName [17:17:07]name=ofd_packets/00068179 [17:17:07]NVStorageDeleteData [17:17:07]OFD Sender: Processing packet 68180 [packets to send 70, broken 26] [17:17:07]ProducePacketName [17:17:07]name=ofd_packets/00068180 [17:17:07]OFD Sender: To server: pG, [17:17:07]CommunicateWithHost lk.salyk.kg:30040 [17:17:07]ConnectInit lk.salyk.kg [17:17:07]Connected sock=8 [17:17:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 BA 50 07 01 14 7E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 DA 66 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 29 FB 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 29 FB 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C1 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 51 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 29 FB 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 9D 93 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 54 0A 01 00 35 04 06 00 C9 0E 4C A2 2A 66 A8 39 4E F8 BD 26 39 6B [17:17:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 DB 62 47 00 67 4C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 54 0A 01 00 F4 03 04 00 BA 72 1F 67 B6 04 01 00 00 D6 07 DE 25 BA 60 ED EE [17:17:08]CommunicateWithHost err = 0 [17:17:08]CheckOFDResponse [17:17:08]1017 (14) - 77093643461234 [17:17:08]1041 (16) - 0000000000871758 [17:17:08]1040 (4) - 68180 [17:17:08]1012 (4) - 28.10.2024 11:17 [17:17:08]1206 (1) - 0 [17:17:08]OFD Sender: Remove packet 68180 [17:17:08]ProducePacketName [17:17:08]name=ofd_packets/00068180 [17:17:08]NVStorageDeleteData [17:17:08]OFD Sender: Processing packet 68181 [packets to send 69, broken 26] [17:17:08]ProducePacketName [17:17:08]name=ofd_packets/00068181 [17:17:08]OFD Sender: To server: pG, [17:17:08]CommunicateWithHost lk.salyk.kg:30040 [17:17:08]ConnectInit lk.salyk.kg [17:17:08]Connected sock=8 [17:17:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 5C 03 00 00 A1 38 54 03 18 63 5A 03 01 00 03 00 48 03 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 23 04 7A 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 38 32 06 04 36 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 55 6C 6B 65 72 20 42 69 73 6B 72 65 6D 20 D0 BA D0 B0 D0 BA D0 B0 D0 BE 2D D0 BA D1 80 D0 B5 D0 BC 20 31 38 30 D0 B3 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 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 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 1A 00 00 00 00 07 04 06 00 84 FD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 90 94 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 55 0A 01 00 35 04 06 00 B0 14 8D 36 64 71 CC F2 18 8C DF 96 C9 2B [17:17:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 76 28 47 00 30 F9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 55 0A 01 00 F4 03 04 00 BB 72 1F 67 B6 04 01 00 00 62 14 D2 44 35 87 EC 00 [17:17:09]CommunicateWithHost err = 0 [17:17:09]CheckOFDResponse [17:17:09]1017 (14) - 77093643461234 [17:17:09]1041 (16) - 0000000000871758 [17:17:09]1040 (4) - 68181 [17:17:09]1012 (4) - 28.10.2024 11:17 [17:17:09]1206 (1) - 0 [17:17:09]OFD Sender: Remove packet 68181 [17:17:09]ProducePacketName [17:17:09]name=ofd_packets/00068181 [17:17:09]NVStorageDeleteData [17:17:09]OFD Sender: Processing packet 68182 [packets to send 68, broken 26] [17:17:09]ProducePacketName [17:17:09]name=ofd_packets/00068182 [17:17:09]OFD Sender: To server: pG, [17:17:09]CommunicateWithHost lk.salyk.kg:30040 [17:17:09]ConnectInit lk.salyk.kg [17:17:09]Connected sock=8 [17:17:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 B9 E9 08 01 C3 F7 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 1C 39 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 A1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 9A 97 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 56 0A 01 00 35 04 06 00 F7 B6 C4 53 00 98 6B CB E1 68 79 52 9C A6 [17:17:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 2C C6 47 00 6D 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 38 37 31 37 35 38 10 04 04 00 56 0A 01 00 F4 03 04 00 BC 72 1F 67 B6 04 01 00 00 C6 8C D8 5A 0A F0 C4 26 [17:17:10]CommunicateWithHost err = 0 [17:17:10]CheckOFDResponse [17:17:10]1017 (14) - 77093643461234 [17:17:10]1041 (16) - 0000000000871758 [17:17:10]1040 (4) - 68182 [17:17:10]1012 (4) - 28.10.2024 11:17 [17:17:10]1206 (1) - 0 [17:17:10]OFD Sender: Remove packet 68182 [17:17:10]ProducePacketName [17:17:10]name=ofd_packets/00068182 [17:17:10]NVStorageDeleteData [17:17:10]OFD Sender: Processing packet 68183 [packets to send 67, broken 26] [17:17:10]ProducePacketName [17:17:10]name=ofd_packets/00068183 [17:17:10]OFD Sender: To server: pG, [17:17:10]CommunicateWithHost lk.salyk.kg:30040 [17:17:10]ConnectInit lk.salyk.kg [17:17:10]Connected sock=8 [17:17:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 76 CF 04 01 00 69 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 CA 99 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 DF 93 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 7C 00 00 00 00 07 04 06 00 7C 93 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 3C 99 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 57 0A 01 00 35 04 06 00 AD 3C 1F 2F E9 40 F7 D0 2C C0 18 13 11 2F [17:17:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 EC 74 47 00 DE 45 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 57 0A 01 00 F4 03 04 00 BD 72 1F 67 B6 04 01 00 00 8F 42 1B C0 39 23 84 48 [17:17:11]CommunicateWithHost err = 0 [17:17:11]CheckOFDResponse [17:17:11]1017 (14) - 77093643461234 [17:17:11]1041 (16) - 0000000000871758 [17:17:11]1040 (4) - 68183 [17:17:11]1012 (4) - 28.10.2024 11:17 [17:17:11]1206 (1) - 0 [17:17:11]OFD Sender: Remove packet 68183 [17:17:11]ProducePacketName [17:17:11]name=ofd_packets/00068183 [17:17:11]NVStorageDeleteData [17:17:11]OFD Sender: Processing packet 68184 [packets to send 66, broken 26] [17:17:11]ProducePacketName [17:17:11]name=ofd_packets/00068184 [17:17:11]OFD Sender: To server: pG, [17:17:11]CommunicateWithHost lk.salyk.kg:30040 [17:17:11]ConnectInit lk.salyk.kg [17:17:11]Connected sock=8 [17:17:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 45 3B 08 01 48 3C 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 55 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F1 49 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F1 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F1 49 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 44 A0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 58 0A 01 00 35 04 06 00 5F 7E 34 32 4D 8F DC A3 A2 70 1C B8 5C 56 [17:17:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 9C 10 47 00 45 BB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 58 0A 01 00 F4 03 04 00 BE 72 1F 67 B6 04 01 00 00 B4 EE 0B 2E 90 2B E9 B4 [17:17:12]CommunicateWithHost err = 0 [17:17:12]CheckOFDResponse [17:17:12]1017 (14) - 77093643461234 [17:17:12]1041 (16) - 0000000000871758 [17:17:12]1040 (4) - 68184 [17:17:12]1012 (4) - 28.10.2024 11:17 [17:17:12]1206 (1) - 0 [17:17:12]OFD Sender: Remove packet 68184 [17:17:12]ProducePacketName [17:17:12]name=ofd_packets/00068184 [17:17:12]NVStorageDeleteData [17:17:12]OFD Sender: Processing packet 68185 [packets to send 65, broken 26] [17:17:12]ProducePacketName [17:17:12]name=ofd_packets/00068185 [17:17:12]OFD Sender: To server: pG, [17:17:12]CommunicateWithHost lk.salyk.kg:30040 [17:17:12]ConnectInit lk.salyk.kg [17:17:12]Connected sock=8 [17:17:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 54 09 07 01 46 22 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 0A 23 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 69 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 E5 18 00 00 00 00 07 04 06 00 60 EA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5A 00 00 00 F4 03 04 00 7F A0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 59 0A 01 00 35 04 06 00 74 26 F9 8E 00 05 3A 11 9B 0C 2E 28 AD 91 [17:17:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 07 39 47 00 6E BE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 59 0A 01 00 F4 03 04 00 BF 72 1F 67 B6 04 01 00 00 E6 3A 92 65 08 47 BC 27 [17:17:13]CommunicateWithHost err = 0 [17:17:13]CheckOFDResponse [17:17:13]1017 (14) - 77093643461234 [17:17:13]1041 (16) - 0000000000871758 [17:17:13]1040 (4) - 68185 [17:17:13]1012 (4) - 28.10.2024 11:17 [17:17:13]1206 (1) - 0 [17:17:13]OFD Sender: Remove packet 68185 [17:17:13]ProducePacketName [17:17:13]name=ofd_packets/00068185 [17:17:13]NVStorageDeleteData [17:17:13]OFD Sender: Processing packet 68186 [packets to send 64, broken 26] [17:17:13]ProducePacketName [17:17:13]name=ofd_packets/00068186 [17:17:13]OFD Sender: To server: pG, [17:17:13]CommunicateWithHost lk.salyk.kg:30040 [17:17:13]ConnectInit lk.salyk.kg [17:17:13]Connected sock=8 [17:17:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 25 01 00 00 B9 29 1D 01 EE C2 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 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 2A A1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5A 0A 01 00 35 04 06 00 B6 8B 28 39 89 4C C1 5E 0E 74 8C 8C 81 1D [17:17:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 30 3B 47 00 9F 00 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5A 0A 01 00 F4 03 04 00 C0 72 1F 67 B6 04 01 00 00 B4 82 EF 11 9A 9E 0E C4 [17:17:14]CommunicateWithHost err = 0 [17:17:14]CheckOFDResponse [17:17:14]1017 (14) - 77093643461234 [17:17:14]1041 (16) - 0000000000871758 [17:17:14]1040 (4) - 68186 [17:17:14]1012 (4) - 28.10.2024 11:17 [17:17:14]1206 (1) - 0 [17:17:14]OFD Sender: Remove packet 68186 [17:17:14]ProducePacketName [17:17:14]name=ofd_packets/00068186 [17:17:14]NVStorageDeleteData [17:17:14]OFD Sender: Processing packet 68187 [packets to send 63, broken 26] [17:17:14]ProducePacketName [17:17:14]name=ofd_packets/00068187 [17:17:14]OFD Sender: To server: pG, [17:17:14]CommunicateWithHost lk.salyk.kg:30040 [17:17:14]ConnectInit lk.salyk.kg [17:17:14]Connected sock=8 [17:17:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 0B 9C 07 01 86 BA 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 94 57 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 E6 49 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 3E 00 00 00 00 07 04 06 00 8C 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5C 00 00 00 F4 03 04 00 DE A1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5B 0A 01 00 35 04 06 00 34 7A E8 B5 57 2D 40 BF 24 06 BC 89 08 AF [17:17:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 8E 37 47 00 86 E1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5B 0A 01 00 F4 03 04 00 C1 72 1F 67 B6 04 01 00 00 05 17 46 6C AB 14 46 90 [17:17:15]CommunicateWithHost err = 0 [17:17:15]CheckOFDResponse [17:17:15]1017 (14) - 77093643461234 [17:17:15]1041 (16) - 0000000000871758 [17:17:15]1040 (4) - 68187 [17:17:15]1012 (4) - 28.10.2024 11:17 [17:17:15]1206 (1) - 0 [17:17:15]OFD Sender: Remove packet 68187 [17:17:15]ProducePacketName [17:17:15]name=ofd_packets/00068187 [17:17:15]NVStorageDeleteData [17:17:15]OFD Sender: Processing packet 68188 [packets to send 62, broken 26] [17:17:15]ProducePacketName [17:17:15]name=ofd_packets/00068188 [17:17:15]OFD Sender: To server: pG, [17:17:15]CommunicateWithHost lk.salyk.kg:30040 [17:17:15]ConnectInit lk.salyk.kg [17:17:15]Connected sock=8 [17:17:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 A0 01 00 00 F4 BB 98 01 1A 37 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5D 00 00 00 F4 03 04 00 AF A2 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5C 0A 01 00 35 04 06 00 D7 D9 93 6B A0 09 B3 35 3F E0 AF E3 B9 C2 [17:17:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 FA 9E 47 00 0F 4C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5C 0A 01 00 F4 03 04 00 C2 72 1F 67 B6 04 01 00 00 74 82 72 D4 BC 83 79 9E [17:17:16]CommunicateWithHost err = 0 [17:17:16]CheckOFDResponse [17:17:16]1017 (14) - 77093643461234 [17:17:16]1041 (16) - 0000000000871758 [17:17:16]1040 (4) - 68188 [17:17:16]1012 (4) - 28.10.2024 11:17 [17:17:16]1206 (1) - 0 [17:17:16]OFD Sender: Remove packet 68188 [17:17:16]ProducePacketName [17:17:16]name=ofd_packets/00068188 [17:17:16]NVStorageDeleteData [17:17:16]OFD Sender: Processing packet 68189 [packets to send 61, broken 26] [17:17:16]ProducePacketName [17:17:16]name=ofd_packets/00068189 [17:17:16]OFD Sender: To server: pG, [17:17:16]CommunicateWithHost lk.salyk.kg:30040 [17:17:16]ConnectInit lk.salyk.kg [17:17:16]Connected sock=8 [17:17:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 B6 01 00 00 A9 FF AE 01 75 36 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 32 34 32 06 04 3B 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 35 30 20 D0 B3 D1 80 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 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 44 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 07 00 00 00 00 07 04 06 00 5C 44 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5E 00 00 00 F4 03 04 00 54 A4 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5D 0A 01 00 35 04 06 00 0D 4D 9A 92 C8 64 0C 40 E1 95 D6 66 DE 2C [17:17:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 ED C7 47 00 60 C1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5D 0A 01 00 F4 03 04 00 C3 72 1F 67 B6 04 01 00 00 4D 77 C2 CB 5F 6C FC FF [17:17:17]CommunicateWithHost err = 0 [17:17:17]CheckOFDResponse [17:17:17]1017 (14) - 77093643461234 [17:17:17]1041 (16) - 0000000000871758 [17:17:17]1040 (4) - 68189 [17:17:17]1012 (4) - 28.10.2024 11:17 [17:17:17]1206 (1) - 0 [17:17:17]OFD Sender: Remove packet 68189 [17:17:17]ProducePacketName [17:17:17]name=ofd_packets/00068189 [17:17:17]NVStorageDeleteData [17:17:17]OFD Sender: Processing packet 68190 [packets to send 60, broken 26] [17:17:17]ProducePacketName [17:17:17]name=ofd_packets/00068190 [17:17:17]OFD Sender: To server: pG, [17:17:17]CommunicateWithHost lk.salyk.kg:30040 [17:17:17]ConnectInit lk.salyk.kg [17:17:17]Connected sock=8 [17:17:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 E9 72 07 01 35 4B 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 12 4D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 9A 03 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 03 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 90 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 36 00 00 00 00 07 04 06 00 3C 03 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5F 00 00 00 F4 03 04 00 81 A4 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5E 0A 01 00 35 04 06 00 51 31 CB 64 5D 00 6B CD 15 D6 23 8D C9 4D [17:17:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 18 6E 47 00 80 48 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5E 0A 01 00 F4 03 04 00 C4 72 1F 67 B6 04 01 00 00 45 98 96 8D 15 D8 5B E5 [17:17:18]CommunicateWithHost err = 0 [17:17:18]CheckOFDResponse [17:17:18]1017 (14) - 77093643461234 [17:17:18]1041 (16) - 0000000000871758 [17:17:18]1040 (4) - 68190 [17:17:18]1012 (4) - 28.10.2024 11:17 [17:17:18]1206 (1) - 0 [17:17:18]OFD Sender: Remove packet 68190 [17:17:18]ProducePacketName [17:17:18]name=ofd_packets/00068190 [17:17:18]NVStorageDeleteData [17:17:18]OFD Sender: Processing packet 68191 [packets to send 59, broken 26] [17:17:18]ProducePacketName [17:17:18]name=ofd_packets/00068191 [17:17:18]OFD Sender: To server: pG, [17:17:18]CommunicateWithHost lk.salyk.kg:30040 [17:17:18]ConnectInit lk.salyk.kg [17:17:18]Connected sock=8 [17:17:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 FA EF 07 01 20 D7 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 EA 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 F8 1F 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 1F 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E0 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 82 A6 00 00 00 00 07 04 06 00 F8 1F 06 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 60 00 00 00 F4 03 04 00 FF A4 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5F 0A 01 00 35 04 06 00 C9 AC 46 20 86 BD A2 CF 83 9D 8B 55 7F 40 [17:17:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 FA 2C 47 00 A2 BC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 5F 0A 01 00 F4 03 04 00 C5 72 1F 67 B6 04 01 00 00 86 10 47 DD 26 3C 78 D5 [17:17:19]CommunicateWithHost err = 0 [17:17:19]CheckOFDResponse [17:17:19]1017 (14) - 77093643461234 [17:17:19]1041 (16) - 0000000000871758 [17:17:19]1040 (4) - 68191 [17:17:19]1012 (4) - 28.10.2024 11:17 [17:17:19]1206 (1) - 0 [17:17:19]OFD Sender: Remove packet 68191 [17:17:19]ProducePacketName [17:17:19]name=ofd_packets/00068191 [17:17:19]NVStorageDeleteData [17:17:19]OFD Sender: Processing packet 68192 [packets to send 58, broken 26] [17:17:19]ProducePacketName [17:17:19]name=ofd_packets/00068192 [17:17:19]OFD Sender: To server: pG, [17:17:19]CommunicateWithHost lk.salyk.kg:30040 [17:17:19]ConnectInit lk.salyk.kg [17:17:19]Connected sock=8 [17:17:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 7D 2F 07 01 D8 91 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CC 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 5F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 61 00 00 00 F4 03 04 00 D2 A5 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 60 0A 01 00 35 04 06 00 08 1C 2E 16 BB A8 55 FF 3A 59 2C B0 62 02 [17:17:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 17 4F 47 00 E8 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 60 0A 01 00 F4 03 04 00 C6 72 1F 67 B6 04 01 00 00 7D E6 40 19 DD 75 61 9B [17:17:20]CommunicateWithHost err = 0 [17:17:20]CheckOFDResponse [17:17:20]1017 (14) - 77093643461234 [17:17:20]1041 (16) - 0000000000871758 [17:17:20]1040 (4) - 68192 [17:17:20]1012 (4) - 28.10.2024 11:17 [17:17:20]1206 (1) - 0 [17:17:20]OFD Sender: Remove packet 68192 [17:17:20]ProducePacketName [17:17:20]name=ofd_packets/00068192 [17:17:20]NVStorageDeleteData [17:17:20]OFD Sender: Processing packet 68193 [packets to send 57, broken 26] [17:17:20]ProducePacketName [17:17:20]name=ofd_packets/00068193 [17:17:20]OFD Sender: To server: pG, [17:17:20]CommunicateWithHost lk.salyk.kg:30040 [17:17:20]ConnectInit lk.salyk.kg [17:17:20]Connected sock=8 [17:17:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 3B 4D 04 01 D5 0C 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 B8 88 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 CC 11 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 11 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 38 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 6E 00 00 00 00 07 04 06 00 CC 11 04 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 62 00 00 00 F4 03 04 00 41 A6 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 61 0A 01 00 35 04 06 00 54 99 36 5B DA C9 96 95 BD CF 92 16 65 B9 [17:17:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 1B 52 47 00 70 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 38 37 31 37 35 38 10 04 04 00 61 0A 01 00 F4 03 04 00 C7 72 1F 67 B6 04 01 00 00 5B 9B 7B 86 8B 55 19 B6 [17:17:21]CommunicateWithHost err = 0 [17:17:21]CheckOFDResponse [17:17:21]1017 (14) - 77093643461234 [17:17:21]1041 (16) - 0000000000871758 [17:17:21]1040 (4) - 68193 [17:17:21]1012 (4) - 28.10.2024 11:17 [17:17:21]1206 (1) - 0 [17:17:21]OFD Sender: Remove packet 68193 [17:17:21]ProducePacketName [17:17:21]name=ofd_packets/00068193 [17:17:21]NVStorageDeleteData [17:17:21]OFD Sender: Processing packet 68194 [packets to send 56, broken 26] [17:17:21]ProducePacketName [17:17:21]name=ofd_packets/00068194 [17:17:21]OFD Sender: To server: pG, [17:17:21]CommunicateWithHost lk.salyk.kg:30040 [17:17:21]ConnectInit lk.salyk.kg [17:17:21]Connected sock=8 [17:17:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 ED D3 07 01 F1 9A 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 50 69 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 6B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6B 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6B 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 1F A7 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 62 0A 01 00 35 04 06 00 B5 4B C8 80 68 39 17 69 0D 56 BC 31 C8 BB [17:17:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 6E 60 47 00 1D 97 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 62 0A 01 00 F4 03 04 00 C8 72 1F 67 B6 04 01 00 00 6F AF 6C AC D3 D3 B0 B8 [17:17:21]CommunicateWithHost err = 0 [17:17:21]CheckOFDResponse [17:17:21]1017 (14) - 77093643461234 [17:17:21]1041 (16) - 0000000000871758 [17:17:21]1040 (4) - 68194 [17:17:21]1012 (4) - 28.10.2024 11:17 [17:17:21]1206 (1) - 0 [17:17:21]OFD Sender: Remove packet 68194 [17:17:21]ProducePacketName [17:17:21]name=ofd_packets/00068194 [17:17:21]NVStorageDeleteData [17:17:22]OFD Sender: Processing packet 68195 [packets to send 55, broken 26] [17:17:22]ProducePacketName [17:17:22]name=ofd_packets/00068195 [17:17:22]OFD Sender: To server: pG, [17:17:22]CommunicateWithHost lk.salyk.kg:30040 [17:17:22]ConnectInit lk.salyk.kg [17:17:22]Connected sock=10 [17:17:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 B6 01 00 00 5B 49 AE 01 B3 A4 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 35 35 35 34 06 04 34 00 D0 9C D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 D0 91 D0 BE D0 BD D0 B4 D0 B8 20 D0 B0 D1 81 D1 81 D0 BE D1 80 D1 82 20 D0 BF D0 B0 D0 BA 20 37 30 D0 B3 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 CC 10 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 37 08 00 00 00 00 07 04 06 00 58 4D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 64 00 00 00 F4 03 04 00 AF AB 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 63 0A 01 00 35 04 06 00 17 BF 55 A0 BA A2 9F 51 BD 81 A5 17 FF 46 [17:17:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 A8 84 47 00 99 B9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 63 0A 01 00 F4 03 04 00 C9 72 1F 67 B6 04 01 00 00 28 C4 67 2E 33 6E A5 2D [17:17:23]CommunicateWithHost err = 0 [17:17:23]CheckOFDResponse [17:17:23]1017 (14) - 77093643461234 [17:17:23]1041 (16) - 0000000000871758 [17:17:23]1040 (4) - 68195 [17:17:23]1012 (4) - 28.10.2024 11:17 [17:17:23]1206 (1) - 0 [17:17:23]OFD Sender: Remove packet 68195 [17:17:23]ProducePacketName [17:17:23]name=ofd_packets/00068195 [17:17:23]NVStorageDeleteData [17:17:23]OFD Sender: Processing packet 68196 [packets to send 54, broken 26] [17:17:23]ProducePacketName [17:17:23]name=ofd_packets/00068196 [17:17:23]OFD Sender: To server: pG, [17:17:23]CommunicateWithHost lk.salyk.kg:30040 [17:17:23]ConnectInit lk.salyk.kg [17:17:23]Connected sock=8 [17:17:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 94 01 00 00 4E FA 8C 01 72 FF 5A 03 01 00 03 00 80 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 4F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 08 00 00 00 00 07 04 06 00 B0 4F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 65 00 00 00 F4 03 04 00 64 AD 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 64 0A 01 00 35 04 06 00 2D 51 D8 0D 2A 36 6D 18 9C 28 50 DF C5 EF [17:17:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 F4 A9 47 00 8E 8C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 64 0A 01 00 F4 03 04 00 CA 72 1F 67 B6 04 01 00 00 35 D0 D1 B2 8A E8 02 07 [17:17:24]CommunicateWithHost err = 0 [17:17:24]CheckOFDResponse [17:17:24]1017 (14) - 77093643461234 [17:17:24]1041 (16) - 0000000000871758 [17:17:24]1040 (4) - 68196 [17:17:24]1012 (4) - 28.10.2024 11:17 [17:17:24]1206 (1) - 0 [17:17:24]OFD Sender: Remove packet 68196 [17:17:24]ProducePacketName [17:17:24]name=ofd_packets/00068196 [17:17:24]NVStorageDeleteData [17:17:24]OFD Sender: Processing packet 68197 [packets to send 53, broken 26] [17:17:24]ProducePacketName [17:17:24]name=ofd_packets/00068197 [17:17:24]OFD Sender: To server: pG, [17:17:24]CommunicateWithHost lk.salyk.kg:30040 [17:17:24]ConnectInit lk.salyk.kg [17:17:24]Connected sock=8 [17:17:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 38 A6 07 01 26 0A 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CC 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 5F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 66 00 00 00 F4 03 04 00 E1 AD 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 65 0A 01 00 35 04 06 00 3B 93 20 CF 2A AA 2B 4C 72 9C 62 3C 2A F6 [17:17:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 2D EF 47 00 24 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 38 37 31 37 35 38 10 04 04 00 65 0A 01 00 F4 03 04 00 CB 72 1F 67 B6 04 01 00 00 08 F3 1E E4 7C 8A 53 46 [17:17:24]CommunicateWithHost err = 0 [17:17:24]CheckOFDResponse [17:17:24]1017 (14) - 77093643461234 [17:17:24]1041 (16) - 0000000000871758 [17:17:24]1040 (4) - 68197 [17:17:24]1012 (4) - 28.10.2024 11:17 [17:17:24]1206 (1) - 0 [17:17:24]OFD Sender: Remove packet 68197 [17:17:24]ProducePacketName [17:17:24]name=ofd_packets/00068197 [17:17:24]NVStorageDeleteData [17:17:25]OFD Sender: Processing packet 68198 [packets to send 52, broken 26] [17:17:25]ProducePacketName [17:17:25]name=ofd_packets/00068198 [17:17:25]OFD Sender: To server: pG, [17:17:25]CommunicateWithHost lk.salyk.kg:30040 [17:17:25]ConnectInit lk.salyk.kg [17:17:25]Connected sock=8 [17:17:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 E7 F7 04 01 80 18 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 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 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 67 00 00 00 F4 03 04 00 4D AE 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 66 0A 01 00 35 04 06 00 0F FC B1 E0 63 70 C6 68 0B 58 0A F0 B6 4D [17:17:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 E5 3F 47 00 93 40 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 66 0A 01 00 F4 03 04 00 CC 72 1F 67 B6 04 01 00 00 36 E0 40 1E 35 72 E5 69 [17:17:25]CommunicateWithHost err = 0 [17:17:25]CheckOFDResponse [17:17:25]1017 (14) - 77093643461234 [17:17:25]1041 (16) - 0000000000871758 [17:17:25]1040 (4) - 68198 [17:17:25]1012 (4) - 28.10.2024 11:17 [17:17:25]1206 (1) - 0 [17:17:25]OFD Sender: Remove packet 68198 [17:17:25]ProducePacketName [17:17:25]name=ofd_packets/00068198 [17:17:25]NVStorageDeleteData [17:17:26]OFD Sender: Processing packet 68199 [packets to send 51, broken 26] [17:17:26]ProducePacketName [17:17:26]name=ofd_packets/00068199 [17:17:26]OFD Sender: To server: pG, [17:17:26]CommunicateWithHost lk.salyk.kg:30040 [17:17:26]ConnectInit lk.salyk.kg [17:17:26]Connected sock=8 [17:17:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2A 01 00 00 98 8F 22 01 1C 15 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 68 00 00 00 F4 03 04 00 87 AF 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 67 0A 01 00 35 04 06 00 A1 41 C4 C2 59 04 D7 A5 E3 EE 73 72 76 88 [17:17:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 82 BC 47 00 B4 54 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 67 0A 01 00 F4 03 04 00 CD 72 1F 67 B6 04 01 00 00 9A 1C B2 C9 70 A4 48 9F [17:17:26]CommunicateWithHost err = 0 [17:17:26]CheckOFDResponse [17:17:26]1017 (14) - 77093643461234 [17:17:26]1041 (16) - 0000000000871758 [17:17:26]1040 (4) - 68199 [17:17:26]1012 (4) - 28.10.2024 11:17 [17:17:26]1206 (1) - 0 [17:17:26]OFD Sender: Remove packet 68199 [17:17:26]ProducePacketName [17:17:26]name=ofd_packets/00068199 [17:17:26]NVStorageDeleteData [17:17:27]OFD Sender: Processing packet 68200 [packets to send 50, broken 26] [17:17:27]ProducePacketName [17:17:27]name=ofd_packets/00068200 [17:17:27]OFD Sender: To server: pG, [17:17:27]CommunicateWithHost lk.salyk.kg:30040 [17:17:27]ConnectInit lk.salyk.kg [17:17:27]Connected sock=8 [17:17:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 0D BE 07 01 4B 6E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 9E 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 6B 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 29 00 00 00 00 07 04 06 00 3C 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 69 00 00 00 F4 03 04 00 C7 AF 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 68 0A 01 00 35 04 06 00 34 09 A1 D1 CE 99 67 E0 80 7E 2A 65 CD D5 [17:17:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 A9 7C 47 00 17 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 38 37 31 37 35 38 10 04 04 00 68 0A 01 00 F4 03 04 00 CE 72 1F 67 B6 04 01 00 00 74 01 67 8F 20 66 68 BC [17:17:27]CommunicateWithHost err = 0 [17:17:27]CheckOFDResponse [17:17:27]1017 (14) - 77093643461234 [17:17:27]1041 (16) - 0000000000871758 [17:17:27]1040 (4) - 68200 [17:17:27]1012 (4) - 28.10.2024 11:17 [17:17:27]1206 (1) - 0 [17:17:27]OFD Sender: Remove packet 68200 [17:17:27]ProducePacketName [17:17:27]name=ofd_packets/00068200 [17:17:27]NVStorageDeleteData [17:17:28]OFD Sender: Processing packet 68201 [packets to send 49, broken 26] [17:17:28]ProducePacketName [17:17:28]name=ofd_packets/00068201 [17:17:28]OFD Sender: To server: pG, [17:17:28]CommunicateWithHost lk.salyk.kg:30040 [17:17:28]ConnectInit lk.salyk.kg [17:17:28]Connected sock=8 [17:17:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 0D 0C 07 01 F1 1D 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 20 4E 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 A8 0A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 0A 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A0 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 37 00 00 00 00 07 04 06 00 A8 0A 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6A 00 00 00 F4 03 04 00 93 B1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 69 0A 01 00 35 04 06 00 98 E4 6D C0 79 CD 78 5E 5B E7 DB F1 59 C3 [17:17:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 22 4C 47 00 CB 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 38 37 31 37 35 38 10 04 04 00 69 0A 01 00 F4 03 04 00 CF 72 1F 67 B6 04 01 00 00 E5 3A DF F8 09 CA EE 3C [17:17:28]CommunicateWithHost err = 0 [17:17:28]CheckOFDResponse [17:17:28]1017 (14) - 77093643461234 [17:17:28]1041 (16) - 0000000000871758 [17:17:28]1040 (4) - 68201 [17:17:28]1012 (4) - 28.10.2024 11:17 [17:17:28]1206 (1) - 0 [17:17:28]OFD Sender: Remove packet 68201 [17:17:28]ProducePacketName [17:17:28]name=ofd_packets/00068201 [17:17:28]NVStorageDeleteData [17:17:29]OFD Sender: Processing packet 68202 [packets to send 48, broken 26] [17:17:29]ProducePacketName [17:17:29]name=ofd_packets/00068202 [17:17:29]OFD Sender: To server: pG, [17:17:29]CommunicateWithHost lk.salyk.kg:30040 [17:17:29]ConnectInit lk.salyk.kg [17:17:29]Connected sock=8 [17:17:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 14 02 00 00 B9 8B 0C 02 54 54 5A 03 01 00 03 00 00 02 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 32 35 38 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 D0 9A D0 B5 D0 BB D0 B5 D1 87 D0 B5 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C BE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 14 00 00 00 00 07 04 06 00 3C BE 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6B 00 00 00 F4 03 04 00 B9 B1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6A 0A 01 00 35 04 06 00 43 A6 46 3D 04 D3 51 3F 64 AF 2C 07 3C 14 [17:17:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 4F EB 47 00 11 00 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6A 0A 01 00 F4 03 04 00 D0 72 1F 67 B6 04 01 00 00 9F 86 B7 35 66 B6 F3 83 [17:17:29]CommunicateWithHost err = 0 [17:17:29]CheckOFDResponse [17:17:29]1017 (14) - 77093643461234 [17:17:29]1041 (16) - 0000000000871758 [17:17:29]1040 (4) - 68202 [17:17:29]1012 (4) - 28.10.2024 11:17 [17:17:29]1206 (1) - 0 [17:17:29]OFD Sender: Remove packet 68202 [17:17:29]ProducePacketName [17:17:29]name=ofd_packets/00068202 [17:17:29]NVStorageDeleteData [17:17:30]OFD Sender: Processing packet 68203 [packets to send 47, broken 26] [17:17:30]ProducePacketName [17:17:30]name=ofd_packets/00068203 [17:17:30]OFD Sender: To server: pG, [17:17:30]CommunicateWithHost lk.salyk.kg:30040 [17:17:30]ConnectInit lk.salyk.kg [17:17:30]Connected sock=8 [17:17:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 7B 41 08 01 A4 4A 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C6 8E 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 92 D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 67 00 00 00 00 07 04 06 00 90 D0 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6C 00 00 00 F4 03 04 00 A6 B2 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6B 0A 01 00 35 04 06 00 C2 9D 39 FA 96 14 7F CF FB 1D 2A 70 71 42 [17:17:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 A1 1D 47 00 82 B1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6B 0A 01 00 F4 03 04 00 D1 72 1F 67 B6 04 01 00 00 AE BE AB E3 6B F1 E9 46 [17:17:30]CommunicateWithHost err = 0 [17:17:30]CheckOFDResponse [17:17:30]1017 (14) - 77093643461234 [17:17:30]1041 (16) - 0000000000871758 [17:17:30]1040 (4) - 68203 [17:17:30]1012 (4) - 28.10.2024 11:17 [17:17:30]1206 (1) - 0 [17:17:30]OFD Sender: Remove packet 68203 [17:17:30]ProducePacketName [17:17:30]name=ofd_packets/00068203 [17:17:30]NVStorageDeleteData [17:17:31]OFD Sender: Processing packet 68204 [packets to send 46, broken 26] [17:17:31]ProducePacketName [17:17:31]name=ofd_packets/00068204 [17:17:31]OFD Sender: To server: pG, [17:17:31]CommunicateWithHost lk.salyk.kg:30040 [17:17:31]ConnectInit lk.salyk.kg [17:17:31]Connected sock=8 [17:17:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 D3 CE 08 01 98 BB 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 40 9C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 C0 2C 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 2C 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7F 71 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C0 2C 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 6D 00 00 00 F4 03 04 00 C0 B3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6C 0A 01 00 35 04 06 00 69 FB 6E F8 8C 69 0C 96 43 A9 44 7F 49 F9 [17:17:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 3C 0D 47 00 EF F5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6C 0A 01 00 F4 03 04 00 D2 72 1F 67 B6 04 01 00 00 9A 6C DB 76 A1 34 F5 E1 [17:17:31]CommunicateWithHost err = 0 [17:17:31]CheckOFDResponse [17:17:31]1017 (14) - 77093643461234 [17:17:31]1041 (16) - 0000000000871758 [17:17:31]1040 (4) - 68204 [17:17:31]1012 (4) - 28.10.2024 11:17 [17:17:31]1206 (1) - 0 [17:17:31]OFD Sender: Remove packet 68204 [17:17:31]ProducePacketName [17:17:31]name=ofd_packets/00068204 [17:17:31]NVStorageDeleteData [17:17:32]OFD Sender: Processing packet 68205 [packets to send 45, broken 26] [17:17:32]ProducePacketName [17:17:32]name=ofd_packets/00068205 [17:17:32]OFD Sender: To server: pG, [17:17:32]CommunicateWithHost lk.salyk.kg:30040 [17:17:32]ConnectInit lk.salyk.kg [17:17:32]Connected sock=8 [17:17:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 02 02 00 00 DD F3 FA 01 CB 93 5A 03 01 00 03 00 EE 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 02 00 00 00 00 13 04 06 00 B0 04 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 5C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 5C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6E 00 00 00 F4 03 04 00 FA B3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6D 0A 01 00 35 04 06 00 4B C6 8E 55 EC 07 96 4D F4 CB D4 A0 FD 3F [17:17:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 75 0F 47 00 44 15 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6D 0A 01 00 F4 03 04 00 D3 72 1F 67 B6 04 01 00 00 D5 E7 0D C4 30 EB 3E 3D [17:17:33]CommunicateWithHost err = 0 [17:17:33]CheckOFDResponse [17:17:33]1017 (14) - 77093643461234 [17:17:33]1041 (16) - 0000000000871758 [17:17:33]1040 (4) - 68205 [17:17:33]1012 (4) - 28.10.2024 11:17 [17:17:33]1206 (1) - 0 [17:17:33]OFD Sender: Remove packet 68205 [17:17:33]ProducePacketName [17:17:33]name=ofd_packets/00068205 [17:17:33]NVStorageDeleteData [17:17:33]OFD Sender: Processing packet 68206 [packets to send 44, broken 26] [17:17:33]ProducePacketName [17:17:33]name=ofd_packets/00068206 [17:17:33]OFD Sender: To server: pG, [17:17:33]CommunicateWithHost lk.salyk.kg:30040 [17:17:33]ConnectInit lk.salyk.kg [17:17:33]Connected sock=8 [17:17:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 03 28 08 01 E7 58 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 40 9C 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 C0 2C 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 2C 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7F 71 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C0 2C 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 6F 00 00 00 F4 03 04 00 78 B4 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6E 0A 01 00 35 04 06 00 4D CD 68 E4 BB 24 67 DF A8 78 11 FF B2 8F [17:17:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 F1 39 47 00 03 06 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6E 0A 01 00 F4 03 04 00 D4 72 1F 67 B6 04 01 00 00 95 4F 43 DA B4 F8 54 8B [17:17:34]CommunicateWithHost err = 0 [17:17:34]CheckOFDResponse [17:17:34]1017 (14) - 77093643461234 [17:17:34]1041 (16) - 0000000000871758 [17:17:34]1040 (4) - 68206 [17:17:34]1012 (4) - 28.10.2024 11:17 [17:17:34]1206 (1) - 0 [17:17:34]OFD Sender: Remove packet 68206 [17:17:34]ProducePacketName [17:17:34]name=ofd_packets/00068206 [17:17:34]NVStorageDeleteData [17:17:34]OFD Sender: Processing packet 68207 [packets to send 43, broken 26] [17:17:34]ProducePacketName [17:17:34]name=ofd_packets/00068207 [17:17:34]OFD Sender: To server: pG, [17:17:34]CommunicateWithHost lk.salyk.kg:30040 [17:17:34]ConnectInit lk.salyk.kg [17:17:34]Connected sock=8 [17:17:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 38 77 07 01 CD 9C 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 50 69 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 6B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6B 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6B 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 70 00 00 00 F4 03 04 00 02 B6 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6F 0A 01 00 35 04 06 00 F5 27 C0 18 71 D4 01 41 B3 66 23 C3 C8 93 [17:17:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 D4 CE 47 00 21 15 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 6F 0A 01 00 F4 03 04 00 D5 72 1F 67 B6 04 01 00 00 C8 D5 76 A5 A4 79 F5 4F [17:17:35]CommunicateWithHost err = 0 [17:17:35]CheckOFDResponse [17:17:35]1017 (14) - 77093643461234 [17:17:35]1041 (16) - 0000000000871758 [17:17:35]1040 (4) - 68207 [17:17:35]1012 (4) - 28.10.2024 11:17 [17:17:35]1206 (1) - 0 [17:17:35]OFD Sender: Remove packet 68207 [17:17:35]ProducePacketName [17:17:35]name=ofd_packets/00068207 [17:17:35]NVStorageDeleteData [17:17:35]OFD Sender: Processing packet 68208 [packets to send 42, broken 26] [17:17:35]ProducePacketName [17:17:35]name=ofd_packets/00068208 [17:17:35]OFD Sender: To server: pG, [17:17:35]CommunicateWithHost lk.salyk.kg:30040 [17:17:35]ConnectInit lk.salyk.kg [17:17:35]Connected sock=8 [17:17:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 12 01 00 00 9D E7 0A 01 9D BE 5A 03 01 00 03 00 FE 00 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 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 8F 05 00 00 00 00 07 04 06 00 58 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 71 00 00 00 F4 03 04 00 38 B6 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 70 0A 01 00 35 04 06 00 1F D4 5D A6 BB C5 8C 30 DF AF AB BE CC 23 [17:17:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 4A 3F 47 00 60 FD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 70 0A 01 00 F4 03 04 00 D6 72 1F 67 B6 04 01 00 00 7F CF FF 24 93 BF 10 AA [17:17:36]CommunicateWithHost err = 0 [17:17:36]CheckOFDResponse [17:17:36]1017 (14) - 77093643461234 [17:17:36]1041 (16) - 0000000000871758 [17:17:36]1040 (4) - 68208 [17:17:36]1012 (4) - 28.10.2024 11:17 [17:17:36]1206 (1) - 0 [17:17:36]OFD Sender: Remove packet 68208 [17:17:36]ProducePacketName [17:17:36]name=ofd_packets/00068208 [17:17:36]NVStorageDeleteData [17:17:36]OFD Sender: Processing packet 68209 [packets to send 41, broken 26] [17:17:36]ProducePacketName [17:17:36]name=ofd_packets/00068209 [17:17:36]OFD Sender: To server: pG, [17:17:36]CommunicateWithHost lk.salyk.kg:30040 [17:17:36]ConnectInit lk.salyk.kg [17:17:36]Connected sock=8 [17:17:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 3B 01 00 00 62 D9 33 01 99 7F 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 35 37 06 04 35 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 81 D0 BC D0 B5 D1 82 D0 B0 D0 BD D0 B0 2C 20 D0 BB D1 83 D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 72 00 00 00 F4 03 04 00 CB B7 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 71 0A 01 00 35 04 06 00 79 FF 40 7D 81 22 E0 0B 35 B2 E5 6B BD 7C [17:17:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 64 B1 47 00 03 B9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 71 0A 01 00 F4 03 04 00 D7 72 1F 67 B6 04 01 00 00 1C AA 9B F8 7C 39 F9 67 [17:17:37]CommunicateWithHost err = 0 [17:17:37]CheckOFDResponse [17:17:37]1017 (14) - 77093643461234 [17:17:37]1041 (16) - 0000000000871758 [17:17:37]1040 (4) - 68209 [17:17:37]1012 (4) - 28.10.2024 11:17 [17:17:37]1206 (1) - 0 [17:17:37]OFD Sender: Remove packet 68209 [17:17:37]ProducePacketName [17:17:37]name=ofd_packets/00068209 [17:17:37]NVStorageDeleteData [17:17:37]OFD Sender: Processing packet 68210 [packets to send 40, broken 26] [17:17:37]ProducePacketName [17:17:37]name=ofd_packets/00068210 [17:17:37]OFD Sender: To server: pG, [17:17:37]CommunicateWithHost lk.salyk.kg:30040 [17:17:37]ConnectInit lk.salyk.kg [17:17:37]Connected sock=8 [17:17:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 AD 21 04 01 52 D0 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 2A 80 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 9C D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 67 00 00 00 00 07 04 06 00 90 D0 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 73 00 00 00 F4 03 04 00 D4 B9 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 72 0A 01 00 35 04 06 00 D9 E6 CC CE FD 19 53 CA FD 15 CA 99 29 50 [17:17:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 48 83 47 00 F0 F5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 72 0A 01 00 F4 03 04 00 D8 72 1F 67 B6 04 01 00 00 36 12 AA DF 98 A8 24 3B [17:17:38]CommunicateWithHost err = 0 [17:17:38]CheckOFDResponse [17:17:38]1017 (14) - 77093643461234 [17:17:38]1041 (16) - 0000000000871758 [17:17:38]1040 (4) - 68210 [17:17:38]1012 (4) - 28.10.2024 11:17 [17:17:38]1206 (1) - 0 [17:17:38]OFD Sender: Remove packet 68210 [17:17:38]ProducePacketName [17:17:38]name=ofd_packets/00068210 [17:17:38]NVStorageDeleteData [17:17:38]OFD Sender: Processing packet 68211 [packets to send 39, broken 26] [17:17:38]ProducePacketName [17:17:38]name=ofd_packets/00068211 [17:17:38]OFD Sender: To server: pG, [17:17:38]CommunicateWithHost lk.salyk.kg:30040 [17:17:38]ConnectInit lk.salyk.kg [17:17:38]Connected sock=10 [17:17:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2A 02 00 00 65 C5 22 02 3A BF 5A 03 01 00 03 00 16 02 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E4 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 3C 8C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 74 00 00 00 F4 03 04 00 1C BA 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 73 0A 01 00 35 04 06 00 D9 7F 49 1F 35 BD 2E 85 DD E7 DF C5 2A 03 [17:17:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 EB C1 47 00 E3 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 38 37 31 37 35 38 10 04 04 00 73 0A 01 00 F4 03 04 00 D9 72 1F 67 B6 04 01 00 00 5E CF 38 66 5A 9F B1 7D [17:17:39]CommunicateWithHost err = 0 [17:17:39]CheckOFDResponse [17:17:39]1017 (14) - 77093643461234 [17:17:39]1041 (16) - 0000000000871758 [17:17:39]1040 (4) - 68211 [17:17:39]1012 (4) - 28.10.2024 11:17 [17:17:39]1206 (1) - 0 [17:17:39]OFD Sender: Remove packet 68211 [17:17:39]ProducePacketName [17:17:39]name=ofd_packets/00068211 [17:17:39]NVStorageDeleteData [17:17:39]OFD Sender: Processing packet 68212 [packets to send 38, broken 26] [17:17:39]ProducePacketName [17:17:39]name=ofd_packets/00068212 [17:17:39]OFD Sender: To server: pG, [17:17:39]CommunicateWithHost lk.salyk.kg:30040 [17:17:39]ConnectInit lk.salyk.kg [17:17:39]Connected sock=8 [17:17:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 5C 8A 07 01 CE 1D 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 50 69 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 6B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 75 00 00 00 F4 03 04 00 3A BC 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 74 0A 01 00 35 04 06 00 E3 C9 92 12 CE 59 09 8E 41 F5 82 F4 A6 C4 [17:17:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 50 02 47 00 2C 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 38 37 31 37 35 38 10 04 04 00 74 0A 01 00 F4 03 04 00 DA 72 1F 67 B6 04 01 00 00 76 C7 6E D3 F4 80 F5 E5 [17:17:40]CommunicateWithHost err = 0 [17:17:40]CheckOFDResponse [17:17:40]1017 (14) - 77093643461234 [17:17:40]1041 (16) - 0000000000871758 [17:17:40]1040 (4) - 68212 [17:17:40]1012 (4) - 28.10.2024 11:17 [17:17:40]1206 (1) - 0 [17:17:40]OFD Sender: Remove packet 68212 [17:17:40]ProducePacketName [17:17:40]name=ofd_packets/00068212 [17:17:40]NVStorageDeleteData [17:17:40]OFD Sender: Processing packet 68213 [packets to send 37, broken 26] [17:17:40]ProducePacketName [17:17:40]name=ofd_packets/00068213 [17:17:40]OFD Sender: To server: pG, [17:17:40]CommunicateWithHost lk.salyk.kg:30040 [17:17:40]ConnectInit lk.salyk.kg [17:17:40]Connected sock=8 [17:17:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 E3 05 04 01 8D D2 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 76 00 00 00 F4 03 04 00 7E C1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 75 0A 01 00 35 04 06 00 69 55 26 66 0A 02 07 31 F1 2B 58 B4 66 B2 [17:17:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 9F 91 47 00 B1 97 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 75 0A 01 00 F4 03 04 00 DB 72 1F 67 B6 04 01 00 00 99 10 67 F9 AB 8D A3 73 [17:17:41]CommunicateWithHost err = 0 [17:17:41]CheckOFDResponse [17:17:41]1017 (14) - 77093643461234 [17:17:41]1041 (16) - 0000000000871758 [17:17:41]1040 (4) - 68213 [17:17:41]1012 (4) - 28.10.2024 11:17 [17:17:41]1206 (1) - 0 [17:17:41]OFD Sender: Remove packet 68213 [17:17:41]ProducePacketName [17:17:41]name=ofd_packets/00068213 [17:17:41]NVStorageDeleteData [17:17:41]OFD Sender: Processing packet 68214 [packets to send 36, broken 26] [17:17:41]ProducePacketName [17:17:41]name=ofd_packets/00068214 [17:17:41]OFD Sender: To server: pG, [17:17:41]CommunicateWithHost lk.salyk.kg:30040 [17:17:41]ConnectInit lk.salyk.kg [17:17:41]Connected sock=8 [17:17:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 08 02 00 00 D1 D1 00 02 58 6B 5A 03 01 00 03 00 F4 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 05 0E 00 00 00 00 07 04 06 00 08 84 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 77 00 00 00 F4 03 04 00 42 C2 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 76 0A 01 00 35 04 06 00 74 1E 4E 5D 7C 9F 32 E8 8C 0C 76 30 47 5B [17:17:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 86 C3 47 00 4D 0D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 76 0A 01 00 F4 03 04 00 DC 72 1F 67 B6 04 01 00 00 3B 99 AC C9 AE BA BF 57 [17:17:42]CommunicateWithHost err = 0 [17:17:42]CheckOFDResponse [17:17:42]1017 (14) - 77093643461234 [17:17:42]1041 (16) - 0000000000871758 [17:17:42]1040 (4) - 68214 [17:17:42]1012 (4) - 28.10.2024 11:17 [17:17:42]1206 (1) - 0 [17:17:42]OFD Sender: Remove packet 68214 [17:17:42]ProducePacketName [17:17:42]name=ofd_packets/00068214 [17:17:42]NVStorageDeleteData [17:17:42]OFD Sender: Processing packet 68215 [packets to send 35, broken 26] [17:17:42]ProducePacketName [17:17:42]name=ofd_packets/00068215 [17:17:42]OFD Sender: To server: pG, [17:17:42]CommunicateWithHost lk.salyk.kg:30040 [17:17:42]ConnectInit lk.salyk.kg [17:17:42]Connected sock=8 [17:17:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 82 02 00 00 CE B7 7A 02 35 FF 5A 03 01 00 03 00 6E 02 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 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 36 33 30 30 30 37 34 30 30 32 36 36 06 04 3B 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 39 30 20 D0 B3 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 38 39 06 04 1F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 31 34 30 D0 B3 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 6A 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 31 38 30 35 06 04 26 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 D1 81 D0 BE D0 BB D1 8C 20 31 33 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC F1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 19 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CC F1 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 78 00 00 00 F4 03 04 00 9D C2 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 77 0A 01 00 35 04 06 00 90 83 E4 7F B3 F4 38 DB 49 D3 C7 C1 14 46 [17:17:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 C0 76 47 00 07 B3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 77 0A 01 00 F4 03 04 00 DD 72 1F 67 B6 04 01 00 00 CB 82 BC 16 BC 0D 1D 73 [17:17:43]CommunicateWithHost err = 0 [17:17:43]CheckOFDResponse [17:17:43]1017 (14) - 77093643461234 [17:17:43]1041 (16) - 0000000000871758 [17:17:43]1040 (4) - 68215 [17:17:43]1012 (4) - 28.10.2024 11:17 [17:17:43]1206 (1) - 0 [17:17:43]OFD Sender: Remove packet 68215 [17:17:43]ProducePacketName [17:17:43]name=ofd_packets/00068215 [17:17:43]NVStorageDeleteData [17:17:43]OFD Sender: Processing packet 68216 [packets to send 34, broken 26] [17:17:43]ProducePacketName [17:17:43]name=ofd_packets/00068216 [17:17:43]OFD Sender: To server: pG, [17:17:43]CommunicateWithHost lk.salyk.kg:30040 [17:17:43]ConnectInit lk.salyk.kg [17:17:43]Connected sock=10 [17:17:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 73 AC 07 01 A8 EC 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 30 75 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 88 65 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 65 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B2 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 57 5C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 88 65 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 79 00 00 00 F4 03 04 00 25 C3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 78 0A 01 00 35 04 06 00 BE EE FB 61 EE BE A3 81 78 84 85 6C 7F 4B [17:17:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 54 DB 47 00 55 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 38 37 31 37 35 38 10 04 04 00 78 0A 01 00 F4 03 04 00 DE 72 1F 67 B6 04 01 00 00 E5 83 D7 93 31 36 1D 88 [17:17:44]CommunicateWithHost err = 0 [17:17:44]CheckOFDResponse [17:17:44]1017 (14) - 77093643461234 [17:17:44]1041 (16) - 0000000000871758 [17:17:44]1040 (4) - 68216 [17:17:44]1012 (4) - 28.10.2024 11:17 [17:17:44]1206 (1) - 0 [17:17:44]OFD Sender: Remove packet 68216 [17:17:44]ProducePacketName [17:17:44]name=ofd_packets/00068216 [17:17:44]NVStorageDeleteData [17:17:44]OFD Sender: Processing packet 68217 [packets to send 33, broken 26] [17:17:44]ProducePacketName [17:17:44]name=ofd_packets/00068217 [17:17:44]OFD Sender: To server: pG, [17:17:44]CommunicateWithHost lk.salyk.kg:30040 [17:17:44]ConnectInit lk.salyk.kg [17:17:44]Connected sock=8 [17:17:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 95 B0 07 01 FC BC 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 14 46 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 D3 D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 D4 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 26 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 31 00 00 00 00 07 04 06 00 C0 D4 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7A 00 00 00 F4 03 04 00 68 C3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 79 0A 01 00 35 04 06 00 98 07 07 FA 79 16 9D 0B 5E AB 74 34 8B D5 [17:17:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 28 A2 47 00 56 39 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 79 0A 01 00 F4 03 04 00 DF 72 1F 67 B6 04 01 00 00 16 6B 06 35 C8 5F 92 FF [17:17:45]CommunicateWithHost err = 0 [17:17:45]CheckOFDResponse [17:17:45]1017 (14) - 77093643461234 [17:17:45]1041 (16) - 0000000000871758 [17:17:45]1040 (4) - 68217 [17:17:45]1012 (4) - 28.10.2024 11:17 [17:17:45]1206 (1) - 0 [17:17:45]OFD Sender: Remove packet 68217 [17:17:45]ProducePacketName [17:17:45]name=ofd_packets/00068217 [17:17:45]NVStorageDeleteData [17:17:45]OFD Sender: Processing packet 68218 [packets to send 32, broken 26] [17:17:45]ProducePacketName [17:17:45]name=ofd_packets/00068218 [17:17:45]OFD Sender: To server: pG, [17:17:45]CommunicateWithHost lk.salyk.kg:30040 [17:17:45]ConnectInit lk.salyk.kg [17:17:45]Connected sock=8 [17:17:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 27 01 00 00 A8 3A 1F 01 60 8B 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7B 00 00 00 F4 03 04 00 73 C3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 7A 0A 01 00 35 04 06 00 46 AC 1F BD 9E DC 48 96 4F 68 2E 76 78 41 [17:17:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 F2 E4 47 00 1E 00 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 7A 0A 01 00 F4 03 04 00 E0 72 1F 67 B6 04 01 00 00 61 0D AB F7 C3 1C 6C 4A [17:17:46]CommunicateWithHost err = 0 [17:17:46]CheckOFDResponse [17:17:46]1017 (14) - 77093643461234 [17:17:46]1041 (16) - 0000000000871758 [17:17:46]1040 (4) - 68218 [17:17:46]1012 (4) - 28.10.2024 11:17 [17:17:46]1206 (1) - 0 [17:17:46]OFD Sender: Remove packet 68218 [17:17:46]ProducePacketName [17:17:46]name=ofd_packets/00068218 [17:17:46]NVStorageDeleteData [17:17:46]OFD Sender: Processing packet 68219 [packets to send 31, broken 26] [17:17:46]ProducePacketName [17:17:46]name=ofd_packets/00068219 [17:17:46]OFD Sender: To server: pG, [17:17:46]CommunicateWithHost lk.salyk.kg:30040 [17:17:46]ConnectInit lk.salyk.kg [17:17:46]Connected sock=8 [17:17:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 3C 01 00 00 8A 95 34 01 42 1C 5A 03 01 00 03 00 28 01 1E 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 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 7C 00 00 00 F4 03 04 00 98 C3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 7B 0A 01 00 35 04 06 00 28 1D D7 AF CE 35 65 56 18 B4 BC 3E 44 22 [17:17:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 8E B5 47 00 64 2C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 7B 0A 01 00 F4 03 04 00 E1 72 1F 67 B6 04 01 00 00 BE 1D D6 44 48 A6 3A 6B [17:17:47]CommunicateWithHost err = 0 [17:17:47]CheckOFDResponse [17:17:47]1017 (14) - 77093643461234 [17:17:47]1041 (16) - 0000000000871758 [17:17:47]1040 (4) - 68219 [17:17:47]1012 (4) - 28.10.2024 11:17 [17:17:47]1206 (1) - 0 [17:17:47]OFD Sender: Remove packet 68219 [17:17:47]ProducePacketName [17:17:47]name=ofd_packets/00068219 [17:17:47]NVStorageDeleteData [17:17:47]OFD Sender: Processing packet 68220 [packets to send 30, broken 26] [17:17:47]ProducePacketName [17:17:47]name=ofd_packets/00068220 [17:17:47]OFD Sender: To server: pG, [17:17:47]CommunicateWithHost lk.salyk.kg:30040 [17:17:47]ConnectInit lk.salyk.kg [17:17:47]Connected sock=8 [17:17:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 16 A6 07 01 6D 5D 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 20 4E 00 00 00 00 00 37 04 06 00 00 00 00 00 00 00 13 04 06 00 00 00 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 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 7D 00 00 00 F4 03 04 00 B6 C3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 7C 0A 01 00 35 04 06 00 CE 98 4C 16 91 B3 F2 7D 30 7B 1A 92 15 FD [17:17:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 F4 8E 47 00 18 21 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 7C 0A 01 00 F4 03 04 00 E2 72 1F 67 B6 04 01 00 00 F1 74 0F F7 8F E2 0C 74 [17:17:48]CommunicateWithHost err = 0 [17:17:48]CheckOFDResponse [17:17:48]1017 (14) - 77093643461234 [17:17:48]1041 (16) - 0000000000871758 [17:17:48]1040 (4) - 68220 [17:17:48]1012 (4) - 28.10.2024 11:17 [17:17:48]1206 (1) - 0 [17:17:48]OFD Sender: Remove packet 68220 [17:17:48]ProducePacketName [17:17:48]name=ofd_packets/00068220 [17:17:48]NVStorageDeleteData [17:17:48]OFD Sender: Processing packet 68221 [packets to send 29, broken 26] [17:17:48]ProducePacketName [17:17:48]name=ofd_packets/00068221 [17:17:48]OFD Sender: To server: pG, [17:17:48]CommunicateWithHost lk.salyk.kg:30040 [17:17:48]ConnectInit lk.salyk.kg [17:17:48]Connected sock=8 [17:17:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 31 01 00 00 3C 72 29 01 F0 2E 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 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 4C 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 7E 00 00 00 F4 03 04 00 6E C4 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 7D 0A 01 00 35 04 06 00 E4 11 BE 13 E5 DB F2 C1 31 D4 7D D9 53 63 [17:17:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 76 C5 47 00 C6 79 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 7D 0A 01 00 F4 03 04 00 E3 72 1F 67 B6 04 01 00 00 7A 60 C0 09 12 63 FB EE [17:17:49]CommunicateWithHost err = 0 [17:17:49]CheckOFDResponse [17:17:49]1017 (14) - 77093643461234 [17:17:49]1041 (16) - 0000000000871758 [17:17:49]1040 (4) - 68221 [17:17:49]1012 (4) - 28.10.2024 11:17 [17:17:49]1206 (1) - 0 [17:17:49]OFD Sender: Remove packet 68221 [17:17:49]ProducePacketName [17:17:49]name=ofd_packets/00068221 [17:17:49]NVStorageDeleteData [17:17:49]OFD Sender: Processing packet 68222 [packets to send 28, broken 26] [17:17:49]ProducePacketName [17:17:49]name=ofd_packets/00068222 [17:17:49]OFD Sender: To server: pG, [17:17:49]CommunicateWithHost lk.salyk.kg:30040 [17:17:49]ConnectInit lk.salyk.kg [17:17:49]Connected sock=8 [17:17:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 48 6E 07 01 FE 30 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CC 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 5F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5F 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5F 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 7F 00 00 00 F4 03 04 00 5A C6 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 7E 0A 01 00 35 04 06 00 CB 1B 3E 5F DE 4A DD 2E 68 91 83 09 BA A4 [17:17:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 A2 88 47 00 3E 2A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 7E 0A 01 00 F4 03 04 00 E4 72 1F 67 B6 04 01 00 00 8A CA 77 5A 0E CF 0C 36 [17:17:50]CommunicateWithHost err = 0 [17:17:50]CheckOFDResponse [17:17:50]1017 (14) - 77093643461234 [17:17:50]1041 (16) - 0000000000871758 [17:17:50]1040 (4) - 68222 [17:17:50]1012 (4) - 28.10.2024 11:17 [17:17:50]1206 (1) - 0 [17:17:50]OFD Sender: Remove packet 68222 [17:17:50]ProducePacketName [17:17:50]name=ofd_packets/00068222 [17:17:50]NVStorageDeleteData [17:17:50]OFD Sender: Processing packet 68223 [packets to send 27, broken 26] [17:17:50]ProducePacketName [17:17:50]name=ofd_packets/00068223 [17:17:50]OFD Sender: To server: pG, [17:17:50]CommunicateWithHost lk.salyk.kg:30040 [17:17:50]ConnectInit lk.salyk.kg [17:17:50]Connected sock=8 [17:17:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 62 EC 08 01 B2 2D 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 28 19 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 12 AC 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 12 AC 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 12 AC 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 80 00 00 00 F4 03 04 00 EA C6 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 7F 0A 01 00 35 04 06 00 3B 2C E5 DE 13 29 B9 1F A2 24 2D 71 11 FA [17:17:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 CE E7 47 00 25 CE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 7F 0A 01 00 F4 03 04 00 E5 72 1F 67 B6 04 01 00 00 35 D1 CB A5 03 0E E7 B1 [17:17:51]CommunicateWithHost err = 0 [17:17:51]CheckOFDResponse [17:17:51]1017 (14) - 77093643461234 [17:17:51]1041 (16) - 0000000000871758 [17:17:51]1040 (4) - 68223 [17:17:51]1012 (4) - 28.10.2024 11:17 [17:17:51]1206 (1) - 0 [17:17:51]OFD Sender: Remove packet 68223 [17:17:51]ProducePacketName [17:17:51]name=ofd_packets/00068223 [17:17:51]NVStorageDeleteData [17:17:51]OFD Sender: No OFD packet to send [17:17:51]OFD Sender: No OFD packet to send [17:17:56]OFD Sender: No OFD packet to send [17:18:01]OFD Sender: No OFD packet to send [17:18:06]OFD Sender: No OFD packet to send [17:18:11]OFD Sender: No OFD packet to send [17:18:16]OFD Sender: No OFD packet to send [17:18:21]OFD Sender: No OFD packet to send [17:18:26]OFD Sender: No OFD packet to send [17:18:31]OFD Sender: No OFD packet to send [17:18:36]OFD Sender: No OFD packet to send [17:18:41]OFD Sender: No OFD packet to send [17:18:46]OFD Sender: No OFD packet to send [17:18:48]accept exits with 9 [17:18:48]New connection [17:18:48]New thread 3067448676 created [17:18:48]Thread 3067305316 joined [17:18:48]Waiting for new connection... [17:18:48] Sock 9.Parse request [17:18:48]Sock 9.Check first char [17:18:48]Sock 9.First char is OK [17:18:48]request: POST /json_proto HTTP/1.0 [17:18:48]Method: POST [17:18:48]URL: /json_proto [17:18:48]Method is POST - this is cgi request [17:18:48]url: /json_proto [17:18:48]query_string will be loaded in cgi processing [17:18:48]execute_cgi json_proto POST (null) [17:18:48]execute_cgi path=json_proto method=POST [17:18:48]POST find Content-Length [17:18:48]Host: 172.17.42.3:8080 [17:18:48]Content-Length: 674 [17:18:48]Content-Type: application/json [17:18:48] [17:18:48]POST finish read [17:18:48]Found Content-Length = 674 [17:18:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46279", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 22.250, "sum" : 1521.90, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1760.00, "total" : 1521.00, "payments": [ { "type": 0, "sum" : 1521.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:18:48]execute_script... [17:18: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 : (1)46279", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 22.250, "sum" : 1521.90, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1760.00, "total" : 1521.00, "payments": [ { "type": 0, "sum" : 1521.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:18:48]POST & json_proto [17:18:48]process_json_proto [17:18:48]json parsed OK: [17:18:48]protocol is kg_v1.0 [17:18:48]action value=close_receipt [17:18:48]process_action close_receipt [17:18:48]cmd_close_receipt [17:18:48]MH_GetDate [17:18:48]Write to MH i2c: F0 00 00 2B 1E 38 [17:18:48]Write i2c OK [17:18:48]MH_I2C_Read... [17:18:48]Read from MH i2c: F0 [17:18:48]MH_I2C_Read... [17:18:48]Read from MH i2c: F0 09 00 [17:18:48]MH_I2C_Read... [17:18:48]Read from MH i2c: F0 09 00 2B 1E 00 7A C7 1F 67 5F 5D 1F 67 4A [17:18:48]GetLastDocTimeStamp 1730135786 [17:18:48]current date 1730135930 [17:18:48]FM_GetShiftState [17:18:48]SAM_PROTO_GetShiftState [17:18:48]wFMCommunicate request_size=4 [17:18:48]MH_SAM_APDU [17:18:48]CAPDU: 80 13 01 00 [17:18:48]Write to MH i2c: E2 08 00 2C 1E 80 13 01 00 00 00 00 00 C7 [17:18:48]Write i2c OK [17:18:48]MH_I2C_Read... [17:18:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:18:48]Read from MH i2c: E2 [17:18:48]MH_I2C_Read... [17:18:48]Read from MH i2c: E2 0E 00 [17:18:48]MH_I2C_Read... [17:18:48]Read from MH i2c: E2 0E 00 2C 1E 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 C2 [17:18:48]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [17:18:48]wFMCommunicate OK [17:18:48]SAM_PROTO_GetShiftState done [17:18:48]FM_GetShiftState done [17:18:48]opened in 1730074770 [17:18:48]opened+sec_in_day 1730161170 [17:18:48]quantity*price = 152190 [17:18:48]sum+1 = 152191 [17:18:48]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.90 ИТОГО: 1521.00 Внесено: 1760.00 СДАЧА: 239.00 НСП 1% : 13.47 НДС 12% : 161.62 Наличными: 1521.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 129 28.10.2024 17:18 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68224 ФПД: 120237509365225 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T171850&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68224&fm=120237509365225&tin=02508201610067®Number=0000000000091759&sum=152100 [17:18:49]StoreToDocumentArchive [17:18:49]shift 547 fd 68224 [17:18:49]save to /storage/0547/doc_00068224 [17:18:49]save last doc name /storage/0547/doc_00068224 to /storage/kkm_last_doc_name [17:18:49]save OK [17:18:49]Clear old archive folders... [17:18:49]ProcessDocumentItem done err = 0, tmpTLVsize=252 [17:18:49]tlvbuf is 016DBD50 [17:18:49]SAM_PROTO_ClearQueue [17:18:49]wFMCommunicate request_size=4 [17:18:49]MH_SAM_APDU [17:18:49]CAPDU: 80 09 00 00 [17:18:49]Write to MH i2c: E2 08 00 39 1E 80 09 00 00 00 00 00 00 C9 [17:18:49]Write i2c OK [17:18:49]MH_I2C_Read... [17:18:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:18:49]Read from MH i2c: E2 [17:18:49]MH_I2C_Read... [17:18:49]Read from MH i2c: E2 03 00 [17:18:49]MH_I2C_Read... [17:18:49]Read from MH i2c: E2 03 00 39 1E 00 90 00 CB [17:18:49]RAPDU: 90 00 [17:18:49]wFMCommunicate OK [17:18:49]SAM_PROTO_ClearQueue done [17:18:49]KKMCreateOFDPacket [17:18:49]OFDProtocolAddRootSTLVToBuf [17:18:49]FM_MakeSignedData [17:18:49]FM_MakeSignedData [17:18:49]SAM_PROTO_SignData [17:18:49]wFMCommunicate request_size=4 [17:18:49]MH_SAM_APDU [17:18:49]CAPDU: 80 0D 01 02 [17:18:49]Write to MH i2c: E2 08 00 3A 1E 80 0D 01 02 00 00 00 00 D1 [17:18:49]Write i2c OK [17:18:49]MH_I2C_Read... [17:18:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:18:49]Read from MH i2c: E2 [17:18:49]MH_I2C_Read... [17:18:49]Read from MH i2c: E2 03 00 [17:18:49]MH_I2C_Read... [17:18:49]Read from MH i2c: E2 03 00 3A 1E 00 90 00 CC [17:18:49]RAPDU: 90 00 [17:18:49]wFMCommunicate OK [17:18:49]wFMCommunicate request_size=255 [17:18:49]MH_SAM_APDU [17:18:49]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 EA 56 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 7E 52 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 52 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 43 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 3F 00 00 00 00 07 04 06 00 24 52 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 81 00 00 00 F4 03 04 00 7A C7 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 80 0A 01 00 35 04 06 00 [17:18:49]Write to MH i2c: E2 02 01 3B 1E 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 EA 56 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 7E 52 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 52 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 43 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 3F 00 00 00 00 07 04 06 00 24 52 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 81 00 00 00 F4 03 04 00 7A C7 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 80 0A 01 00 35 04 06 00 00 00 04 [17:18:49]Write i2c OK [17:18:49]MH_I2C_Read... [17:18:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:18:50]Read from MH i2c: E2 [17:18:50]MH_I2C_Read... [17:18:50]Read from MH i2c: E2 03 00 [17:18:50]MH_I2C_Read... [17:18:50]Read from MH i2c: E2 03 00 3B 1E 00 90 00 CD [17:18:50]RAPDU: 90 00 [17:18:50]wFMCommunicate OK [17:18:50]wFMCommunicate request_size=11 [17:18:50]MH_SAM_APDU [17:18:50]CAPDU: 80 0D 02 02 06 6D 5A FA 08 CD E9 [17:18:50]Write to MH i2c: E2 0E 00 3C 1E 80 0D 02 02 06 00 6D 5A FA 08 CD E9 00 00 5F [17:18:50]Write i2c OK [17:18:50]MH_I2C_Read... [17:18:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:18:50]Read from MH i2c: E2 [17:18:50]MH_I2C_Read... [17:18:50]Read from MH i2c: E2 03 00 [17:18:50]MH_I2C_Read... [17:18:50]Read from MH i2c: E2 03 00 3C 1E 00 90 00 CE [17:18:50]RAPDU: 90 00 [17:18:50]wFMCommunicate OK [17:18:50]wFMCommunicate request_size=4 [17:18:50]MH_SAM_APDU [17:18:50]CAPDU: 80 0D 03 02 [17:18:50]Write to MH i2c: E2 08 00 3D 1E 80 0D 03 02 00 00 00 00 D6 [17:18:50]Write i2c OK [17:18:50]MH_I2C_Read... [17:18:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:18:50]Read from MH i2c: E2 [17:18:50]MH_I2C_Read... [17:18:50]Read from MH i2c: E2 0B 00 [17:18:50]MH_I2C_Read... [17:18:50]Read from MH i2c: E2 0B 00 3D 1E 00 26 81 24 45 43 CA 07 7C 90 00 77 [17:18:50]RAPDU: 26 81 24 45 43 CA 07 7C 90 00 [17:18:50]wFMCommunicate OK [17:18:50]SAM_PROTO_SignData done [17:18:50]FM_MakeSignedData done [17:18:50]CreateOFDProtocolMessage [17:18:50]wFMCommunicate request_size=4 [17:18:50]MH_SAM_APDU [17:18:50]CAPDU: 80 11 00 00 [17:18:50]Write to MH i2c: E2 08 00 3E 1E 80 11 00 00 00 00 00 00 D6 [17:18:50]Write i2c OK [17:18:50]MH_I2C_Read... [17:18:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:18:50]Read from MH i2c: E2 [17:18:50]MH_I2C_Read... [17:18:50]Read from MH i2c: E2 17 00 [17:18:50]MH_I2C_Read... [17:18:50]Read from MH i2c: E2 17 00 3E 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 2D [17:18:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:18:50]wFMCommunicate OK [17:18:50]CreateOFDProtocolMessage done [17:18:50]OFDSenderStorePacket 68224 [17:18:50]StoreOFDPacket docnum=68224 [17:18:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 7C 8F 08 01 E1 97 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 EA 56 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 7E 52 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 52 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 43 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 3F 00 00 00 00 07 04 06 00 24 52 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 81 00 00 00 F4 03 04 00 7A C7 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 80 0A 01 00 35 04 06 00 6D 5A FA 08 CD E9 26 81 24 45 43 CA 07 7C [17:18:50]CheckFolder [17:18:50]dirname=/storage/ofd_packets [17:18:50]CheckFolder done [17:18:50]ProducePacketName [17:18:50]name=ofd_packets/00068224 [17:18:50]NVStorageSaveData ofd_packets/00068224 [17:18:50]File name is /storage/ofd_packets/00068224 [17:18:50]Write 302 bytes [17:18:50]NVStorageSaveData done [17:18:50]OFDSenderStorePacket done [17:18:50]KKMCreateOFDPacket done [17:18:50]NVStorageSaveData kkm_last_timestamp [17:18:50]File name is /storage/kkm_last_timestamp [17:18:50]Write 4 bytes [17:18:50]NVStorageSaveData done [17:18:50]ExternCall_PrintAddStr [17:18:50]wPrintStart [17:18:50]Write to MH i2c: 01 00 00 3F 1E 5D [17:18:50]Write i2c OK [17:18:50]MH_I2C_Read... [17:18:50]Read from MH i2c: 01 [17:18:50]MH_I2C_Read... [17:18:50]Read from MH i2c: 01 07 00 [17:18:50]MH_I2C_Read... [17:18:50]Read from MH i2c: 01 07 00 3F 1E 00 00 00 00 00 FF 0F 72 [17:18:50]RasterBufferAndPrint [17:18:50]line Счет N : (1)46279 [17:18:50]line ИНН: 02508201610067 [17:18:50]line Контрольно-Кассовый Чек [17:18:50]line ПРОДАЖА [17:18:50]line ТРК (МРК, ГНК) : 12 [17:18:50]line Товар: 2710124130 [17:18:50]line SUPER-92-К-5 [17:18:50]line 22.250 * 68.40 [17:18:50]line = 1521.90 [17:18:50]line НДС 12% НСП 1% [17:18:50]line > о реализуемом товаре [17:18:50]line ОКРУГЛЕНИЕ: -0.90 [17:18:50]line ИТОГО: 1521.00 [17:18:50]line Внесено: 1760.00 [17:18:50]line СДАЧА: 239.00 [17:18:50]line НСП 1% : 13.47 [17:18:50]line НДС 12% : 161.62 [17:18:50]line Наличными: 1521.00 [17:18:50]line Безнал.: 0.00 [17:18:50]line Место: АЗС № 160 "Партнер Нефть" [17:18:50]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [17:18:50]line СНО: Общий режим [17:18:50]line Чек 129 28.10.2024 17:18 [17:18:50]line Смена: 547 ФФД: 1.0 [17:18:50]line ЗНМ: 0300000093 [17:18:50]line РНМ: 0000000000091759 [17:18:50]line Версия ККМ: 001 [17:18:50]line ФМ: 0000000000871758 [17:18:50]line ФД: 68224 [17:18:50]line ФПД: 120237509365225 [17:18:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T171850&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68224&fm=120237509365225&tin=02508201610067®Number=0000000000091759&sum=152100 [17:18:50]written 0, free lines is 4095 [17:18:50]OFD Sender: Processing packet 68224 [packets to send 27, broken 26] [17:18:50]ProducePacketName [17:18:50]name=ofd_packets/00068224 [17:18:50]OFD Sender: To server: pG, [17:18:50]CommunicateWithHost lk.salyk.kg:30040 [17:18:50]ConnectInit lk.salyk.kg [17:18:50]Connected sock=10 [17:18:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 7C 8F 08 01 E1 97 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 EA 56 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 7E 52 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 52 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 43 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 22 3F 00 00 00 00 07 04 06 00 24 52 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 81 00 00 00 F4 03 04 00 7A C7 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 80 0A 01 00 35 04 06 00 6D 5A FA 08 CD E9 26 81 24 45 43 CA 07 7C [17:18:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 D7 E9 47 00 30 7E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 80 0A 01 00 F4 03 04 00 21 73 1F 67 B6 04 01 00 00 10 41 A7 08 1F 99 71 B7 [17:18:50]CommunicateWithHost err = 0 [17:18:50]CheckOFDResponse [17:18:50]1017 (14) - 77093643461234 [17:18:50]1041 (16) - 0000000000871758 [17:18:50]1040 (4) - 68224 [17:18:50]1012 (4) - 28.10.2024 11:18 [17:18:50]1206 (1) - 0 [17:18:50]OFD Sender: Remove packet 68224 [17:18:50]ProducePacketName [17:18:50]name=ofd_packets/00068224 [17:18:50]NVStorageDeleteData [17:18:50]Write to MH i2c: 01 00 00 69 1E 87 [17:18:50]Write i2c OK [17:18:50]MH_I2C_Read... [17:18:50]Read from MH i2c: 01 [17:18:50]MH_I2C_Read... [17:18:50]Read from MH i2c: 01 07 00 [17:18:50]MH_I2C_Read... [17:18:50]Read from MH i2c: 01 07 00 69 1E 00 00 00 00 00 D1 0C 6B [17:18:50]RasterBufferAndPrint [17:18:50]line [17:18:50]line [17:18:50]line [17:18:50]line [17:18:50]line [17:18:50]written 0, free lines is 3287 [17:18:50]MH_Cut [17:18:50]Write to MH i2c: D1 01 00 70 1E 01 60 [17:18:50]Write i2c OK [17:18:50]MH_I2C_Read... [17:18:50]Read from MH i2c: D1 [17:18:50]MH_I2C_Read... [17:18:50]Read from MH i2c: D1 01 00 [17:18:50]MH_I2C_Read... [17:18:50]Read from MH i2c: D1 01 00 70 1E 00 5F [17:18:50]Write to MH i2c: 01 00 00 71 1E 8F [17:18:51]Write i2c OK [17:18:51]MH_I2C_Read... [17:18:51]OFD Sender: No OFD packet to send [17:18:51]*** Cut start [17:18:51]*** Partial cut [17:18:51]*** CUTSNS_PIN = 1 [17:18:51]*** CUTSNS_PIN = 0 [17:18:52]*** Brake cut motor [17:18:52]*** Stop cut motor [17:18:52]*** Cut end [17:18:52]Read from MH i2c: 01 [17:18:52]MH_I2C_Read... [17:18:52]Read from MH i2c: 01 07 00 [17:18:52]MH_I2C_Read... [17:18:52]Read from MH i2c: 01 07 00 71 1E 00 00 00 00 00 FF 0F A4 [17:18:52]process_action close_receipt done [17:18:52]requested_data is exist [17:18:52]produce_requested_data [17:18:52]requested_item fm.sn is exist - process it [17:18:52]wFMCommunicate request_size=4 [17:18:52]MH_SAM_APDU [17:18:52]CAPDU: 80 11 00 00 [17:18:52]Write to MH i2c: E2 08 00 72 1E 80 11 00 00 00 00 00 00 0A [17:18:52]Write i2c OK [17:18:52]MH_I2C_Read... [17:18:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:18:52]Read from MH i2c: E2 [17:18:52]MH_I2C_Read... [17:18:52]Read from MH i2c: E2 17 00 [17:18:52]MH_I2C_Read... [17:18:52]Read from MH i2c: E2 17 00 72 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 61 [17:18:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:18:52]wFMCommunicate OK [17:18:52]requested_item fd.num is exist - process it [17:18:52]SAM_PROTO_GetFieldsCounters [17:18:52]wFMCommunicate request_size=4 [17:18:52]MH_SAM_APDU [17:18:52]CAPDU: 80 13 00 00 [17:18:52]Write to MH i2c: E2 08 00 73 1E 80 13 00 00 00 00 00 00 0D [17:18:52]Write i2c OK [17:18:52]MH_I2C_Read... [17:18:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:18:52]Read from MH i2c: E2 [17:18:52]MH_I2C_Read... [17:18:52]Read from MH i2c: E2 62 00 [17:18:52]MH_I2C_Read... [17:18:52]Read from MH i2c: E2 62 00 73 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 80 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 81 00 00 00 5E 04 04 00 81 00 00 00 57 04 04 00 82 00 00 00 19 04 04 00 00 00 00 00 90 00 6B [17:18:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 80 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 81 00 00 00 5E 04 04 00 81 00 00 00 57 04 04 00 82 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:18:52]wFMCommunicate OK [17:18:52]SAM_PROTO_GetFieldsCounters done [17:18:52]requested_item shift.num is exist - process it [17:18:52]requested_item shift.opened is exist - process it [17:18:52]req_shift_opened [17:18:52]FM_GetShiftState [17:18:52]SAM_PROTO_GetShiftState [17:18:52]wFMCommunicate request_size=4 [17:18:52]MH_SAM_APDU [17:18:52]CAPDU: 80 13 01 00 [17:18:52]Write to MH i2c: E2 08 00 74 1E 80 13 01 00 00 00 00 00 0F [17:18:52]Write i2c OK [17:18:52]MH_I2C_Read... [17:18:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:18:52]Read from MH i2c: E2 [17:18:52]MH_I2C_Read... [17:18:52]Read from MH i2c: E2 0E 00 [17:18:52]MH_I2C_Read... [17:18:52]Read from MH i2c: E2 0E 00 74 1E 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 0A [17:18:52]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [17:18:52]wFMCommunicate OK [17:18:52]SAM_PROTO_GetShiftState done [17:18:52]FM_GetShiftState done [17:18:52]req_shift_opened done [17:18:52]requested_item shift.open_date is exist - process it [17:18:52]req_shift_open_date [17:18:52]req_shift_open_date done [17:18:52]produce_requested_data done [17:18:52]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68224,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [17:18:52]process_action_free close_receipt [17:18:52]json_value_free [17:18:52]json_value_free done [17:18:52]process_json_proto returns [17:18:52]Send response to host [17:18:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68224,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [17:18:52]free response buf [17:18:52]execute_script done [17:18:52]execute_script returns [17:18:52]free content buf [17:18:52]Sock 9.Close socket [17:18:52]Sock 9.Thread stoped [17:18:56]OFD Sender: No OFD packet to send [17:19:01]OFD Sender: No OFD packet to send [17:19:06]OFD Sender: No OFD packet to send [17:19:11]OFD Sender: No OFD packet to send [17:19:16]OFD Sender: No OFD packet to send [17:19:21]OFD Sender: No OFD packet to send [17:19:26]OFD Sender: No OFD packet to send [17:19:31]OFD Sender: No OFD packet to send [17:19:36]OFD Sender: No OFD packet to send [17:19:41]OFD Sender: No OFD packet to send [17:19:46]OFD Sender: No OFD packet to send [17:19:51]OFD Sender: No OFD packet to send [17:19:56]OFD Sender: No OFD packet to send [17:20:01]OFD Sender: No OFD packet to send [00:00:41]ConnectInit Can't connect to host [00:00:46]OFD Sender: No OFD packet to send [00:00:51]OFD Sender: No OFD packet to send [00:00:56]OFD Sender: No OFD packet to send [00:01:01]OFD Sender: No OFD packet to send [00:01:06]OFD Sender: No OFD packet to send [00:01:11]OFD Sender: No OFD packet to send [00:01:16]OFD Sender: No OFD packet to send [00:01:21]OFD Sender: No OFD packet to send [00:01:26]OFD Sender: No OFD packet to send [00:01:31]OFD Sender: No OFD packet to send [00:01:36]OFD Sender: No OFD packet to send [00:01:41]OFD Sender: No OFD packet to send [00:01:46]OFD Sender: No OFD packet to send [00:01:51]OFD Sender: No OFD packet to send [00:01:56]OFD Sender: No OFD packet to send [00:02:01]OFD Sender: No OFD packet to send [00:02:06]OFD Sender: No OFD packet to send [00:02:11]OFD Sender: No OFD packet to send [00:02:16]OFD Sender: No OFD packet to send [00:02:21]OFD Sender: No OFD packet to send [00:02:26]OFD Sender: No OFD packet to send [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: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:05]accept exits with 9 [00:04:05]New connection [00:04:05]New thread 3067497828 created [00:04:05]Waiting for new connection... [00:04:05] Sock 9.Parse request [00:04:05]Sock 9.Check first char [00:04:06]Sock 9.No data in socket [00:04:06]Sock 9.Close socket [00:04:06]Sock 9.Thread stoped [00:04:06]OFD Sender: No OFD packet to send [00:04:06]accept exits with 7 [00:04:06]New connection [00:04:06]New thread 3067354468 created [00:04:06]Thread 3067497828 joined [00:04:06]Waiting for new connection... [00:04:06]accept exits with 9 [00:04:06]New connection [00:04:06]New thread 3067497828 created [00:04:06]Waiting for new connection... [00:04:06] Sock 9.Parse request [00:04:06]Sock 9.Check first char [00:04:06] Sock 7.Parse request [00:04:06]Sock 7.Check first char [00:04:06]Sock 9.First char is OK [00:04:06]request: GET /testengine HTTP/1.1 [00:04:06]Method: GET [00:04:06]URL: /testengine [00:04:06]Method is GET - find url and querystring [00:04:06]No ? found - this is static page request [00:04:06]url: /testengine [00:04:06]check /htdocs/testengine [00:04:06]file exist [00:04:06]serve_file /htdocs/testengine/index.html [00:04:06]read remaining request lines [00:04:06]Host: 172.17.42.3:8080 [00:04:06]Connection: keep-alive [00:04:06]Upgrade-Insecure-Requests: 1 [00:04:06]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [00:04:06]Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7 [00:04:06]Accept-Encoding: gzip, deflate [00:04:06]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [00:04:06] [00:04:06]open file /htdocs/testengine/index.html [00:04:06]send HTTP headers [00:04:06]send file content [00:04:06]Finished. Sent 1003 bytes [00:04:06]close file [00:04:06]Sock 9.Close socket [00:04:06]Sock 9.Thread stoped [00:04:06]Sock 7.First char is OK [00:04:06]request: GET /testengine/css/app.915bc88f.css HTTP/1.1 [00:04:06]Method: GET [00:04:06]URL: /testengine/css/app.915bc88f.css [00:04:06]Method is GET - find url and querystring [00:04:06]No ? found - this is static page request [00:04:06]url: /testengine/css/app.915bc88f.css [00:04:06]check /htdocs/testengine/css/app.915bc88f.css [00:04:06]accept exits with 10 [00:04:06]New connection [00:04:06]New thread 3067211108 created [00:04:06]Thread 3067497828 joined [00:04:06]Waiting for new connection... [00:04:06]accept exits with 9 [00:04:06]New connection [00:04:06]New thread 3067497828 created [00:04:06]Waiting for new connection... [00:04:06]accept exits with 11 [00:04:06]New connection [00:04:06]New thread 3067067748 created [00:04:06]Waiting for new connection... [00:04:06] Sock 11.Parse request [00:04:06]Sock 11.Check first char [00:04:06]Sock 11.First char is OK [00:04:06]request: GET /testengine/js/app.a9c38288.js HTTP/1.1 [00:04:06]Method: GET [00:04:06]URL: /testengine/js/app.a9c38288.js [00:04:06] Sock 9.Parse request [00:04:06]Method is GET - find url and querystring [00:04:06]Sock 9.Check first char [00:04:06]No ? found - this is static page request [00:04:06]Sock 9.First char is OK [00:04:06]url: /testengine/js/app.a9c38288.js [00:04:06]check /htdocs/testengine/js/app.a9c38288.js [00:04:06]request: GET /testengine/js/chunk-vendors.8f546e50.js HTTP/1.1 [00:04:06] Sock 10.Parse request [00:04:06]Method: GET [00:04:06]Sock 10.Check first char [00:04:06]URL: /testengine/js/chunk-vendors.8f546e50.js [00:04:06]Sock 10.First char is OK [00:04:06]Method is GET - find url and querystring [00:04:06]No ? found - this is static page request [00:04:06]url: /testengine/js/chunk-vendors.8f546e50.js [00:04:06]check /htdocs/testengine/js/chunk-vendors.8f546e50.js [00:04:06]request: GET /testengine/css/chunk-vendors.1a13a212.css HTTP/1.1 [00:04:06]Method: GET [00:04:06]URL: /testengine/css/chunk-vendors.1a13a212.css [00:04:06]Method is GET - find url and querystring [00:04:06]No ? found - this is static page request [00:04:06]url: /testengine/css/chunk-vendors.1a13a212.css [00:04:06]check /htdocs/testengine/css/chunk-vendors.1a13a212.css [00:04:06]file exist [00:04:06]serve_file /htdocs/testengine/css/app.915bc88f.css [00:04:06]read remaining request lines [00:04:06]Host: 172.17.42.3:8080 [00:04:06]Connection: keep-alive [00:04:06]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [00:04:06]Accept: text/css,*/*;q=0.1 [00:04:06]Referer: http://172.17.42.3:8080/testengine [00:04:06]Accept-Encoding: gzip, deflate [00:04:06]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [00:04:06] [00:04:06]open file /htdocs/testengine/css/app.915bc88f.css [00:04:06]send HTTP headers [00:04:06]send file content [00:04:06]Finished. Sent 1227 bytes [00:04:06]close file [00:04:06]Sock 7.Close socket [00:04:06]Sock 7.Thread stoped [00:04:06]file exist [00:04:06]serve_file /htdocs/testengine/css/chunk-vendors.1a13a212.css [00:04:06]read remaining request lines [00:04:06]Host: 172.17.42.3:8080 [00:04:06]Connection: keep-alive [00:04:06]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [00:04:06]Accept: text/css,*/*;q=0.1 [00:04:06]Referer: http://172.17.42.3:8080/testengine [00:04:06]Accept-Encoding: gzip, deflate [00:04:06]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [00:04:06] [00:04:06]open file /htdocs/testengine/css/chunk-vendors.1a13a212.css [00:04:06]send HTTP headers [00:04:06]send file content [00:04:06]file exist [00:04:06]serve_file /htdocs/testengine/js/chunk-vendors.8f546e50.js [00:04:06]read remaining request lines [00:04:06]Host: 172.17.42.3:8080 [00:04:06]Connection: keep-alive [00:04:06]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [00:04:06]Accept: */* [00:04:06]Referer: http://172.17.42.3:8080/testengine [00:04:06]Accept-Encoding: gzip, deflate [00:04:06]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [00:04:06] [00:04:06]open file /htdocs/testengine/js/chunk-vendors.8f546e50.js [00:04:06]send HTTP headers [00:04:06]send file content [00:04:06]file exist [00:04:06]serve_file /htdocs/testengine/js/app.a9c38288.js [00:04:06]read remaining request lines [00:04:06]Host: 172.17.42.3:8080 [00:04:06]Connection: keep-alive [00:04:06]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [00:04:06]Accept: */* [00:04:06]Referer: http://172.17.42.3:8080/testengine [00:04:06]Accept-Encoding: gzip, deflate [00:04:07]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [00:04:07]Finished. Sent 165537 bytes [00:04:07] [00:04:07]close file [00:04:07]open file /htdocs/testengine/js/app.a9c38288.js [00:04:07]Sock 9.Close socket [00:04:07]send HTTP headers [00:04:07]Sock 9.Thread stoped [00:04:07]send file content [00:04:07]Finished. Sent 140 bytes [00:04:07]close file [00:04:07]Sock 10.Close socket [00:04:07]Sock 10.Thread stoped [00:04:07]Finished. Sent 102400 bytes [00:04:07]close file [00:04:07]Sock 11.Close socket [00:04:07]Sock 11.Thread stoped [00:04:09]accept exits with 12 [00:04:09]New connection [00:04:09]New thread 3066924388 created [00:04:09]Thread 3067067748 joined [00:04:09]Thread 3067354468 joined [00:04:09]Thread 3067211108 joined [00:04:09]Thread 3067497828 joined [00:04:09]Waiting for new connection... [00:04:09] Sock 12.Parse request [00:04:09]Sock 12.Check first char [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]Sock 12.No data in socket [00:05:26]Sock 12.Close socket [00:05:26]Sock 12.Thread stoped [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:36]OFD Sender: No OFD packet to send [00:09:41]OFD Sender: No OFD packet to send [00:09:46]OFD Sender: No OFD packet to send [00:09:51]OFD Sender: No OFD packet to send [00:09:56]OFD Sender: No OFD packet to send [00:10:01]OFD Sender: No OFD packet to send [00:10:06]OFD Sender: No OFD packet to send [00:10:11]OFD Sender: No OFD packet to send [00:10:16]OFD Sender: No OFD packet to send [00:10:21]OFD Sender: No OFD packet to send [00:10:26]OFD Sender: No OFD packet to send [00:10:31]OFD Sender: No OFD packet to send [00:10:36]OFD Sender: No OFD packet to send [00:10:41]OFD Sender: No OFD packet to send [00:10:46]OFD Sender: No OFD packet to send [00:10:51]OFD Sender: No OFD packet to send [00:10:56]OFD Sender: No OFD packet to send [00:11:01]OFD Sender: No OFD packet to send [00:11:06]OFD Sender: No OFD packet to send [00:11:11]OFD Sender: No OFD packet to send [00:11:16]OFD Sender: No OFD packet to send [00:11:21]OFD Sender: No OFD packet to send [00:11:26]OFD Sender: No OFD packet to send [00:11:31]OFD Sender: No OFD packet to send [00:11:36]OFD Sender: No OFD packet to send [00:11:41]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:15]accept exits with 7 [00:12:15]New connection [00:12:15]New thread 3067497828 created [00:12:15]Thread 3066924388 joined [00:12:15]Waiting for new connection... [00:12:15] Sock 7.Parse request [00:12:15]Sock 7.Check first char [00:12:15]Sock 7.First char is OK [00:12:15]request: POST /json_proto HTTP/1.0 [00:12:15]Method: POST [00:12:15]URL: /json_proto [00:12:15]Method is POST - this is cgi request [00:12:15]url: /json_proto [00:12:15]query_string will be loaded in cgi processing [00:12:15]execute_cgi json_proto POST (null) [00:12:15]execute_cgi path=json_proto method=POST [00:12:15]POST find Content-Length [00:12:15]Host: 172.17.42.3:8080 [00:12:15]Content-Length: 215 [00:12:15]Content-Type: application/json [00:12:15] [00:12:15]POST finish read [00:12:15]Found Content-Length = 215 [00:12:15]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:15]execute_script... [00:12:15]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:15]POST & json_proto [00:12:15]process_json_proto [00:12:15]json parsed OK: [00:12:15]protocol is kg_v1.0 [00:12:15]action value=get_value [00:12:15]process_action get_value [00:12:15]cmd_get_value [00:12:15]process_action get_value done [00:12:15]requested_data is exist [00:12:15]produce_requested_data [00:12:15]requested_item kkm.sn is exist - process it [00:12:15]requested_item kkm.ver is exist - process it [00:12:15]requested_item fm.sn is exist - process it [00:12:15]wFMCommunicate request_size=4 [00:12:15]MH_SAM_APDU [00:12:15]CAPDU: 80 11 00 00 [00:12:15]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [00:12:15]Write i2c OK [00:12:15]MH_I2C_Read... [00:12:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:12:15]Read from MH i2c: E2 [00:12:15]MH_I2C_Read... [00:12:15]Read from MH i2c: E2 17 00 [00:12:15]MH_I2C_Read... [00:12:15]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 E1 [00:12:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:12:15]wFMCommunicate OK [00:12:15]requested_item fd.num is exist - process it [00:12:15]SAM_PROTO_GetFieldsCounters [00:12:15]wFMCommunicate request_size=4 [00:12:15]MH_SAM_APDU [00:12:15]CAPDU: 80 13 00 00 [00:12:15]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [00:12:15]Write i2c OK [00:12:15]MH_I2C_Read... [00:12:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:12:15]Read from MH i2c: E2 [00:12:15]MH_I2C_Read... [00:12:15]Read from MH i2c: E2 62 00 [00:12:15]MH_I2C_Read... [00:12:15]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 80 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 81 00 00 00 5E 04 04 00 81 00 00 00 57 04 04 00 82 00 00 00 19 04 04 00 00 00 00 00 90 00 EB [00:12:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 80 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 81 00 00 00 5E 04 04 00 81 00 00 00 57 04 04 00 82 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:12:15]wFMCommunicate OK [00:12:15]SAM_PROTO_GetFieldsCounters done [00:12:15]requested_item shift.num is exist - process it [00:12:15]requested_item shift.opened is exist - process it [00:12:15]req_shift_opened [00:12:15]FM_GetShiftState [00:12:15]SAM_PROTO_GetShiftState [00:12:15]wFMCommunicate request_size=4 [00:12:15]MH_SAM_APDU [00:12:15]CAPDU: 80 13 01 00 [00:12:15]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [00:12:15]Write i2c OK [00:12:15]MH_I2C_Read... [00:12:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:12:15]Read from MH i2c: E2 [00:12:15]MH_I2C_Read... [00:12:15]Read from MH i2c: E2 0E 00 [00:12:15]MH_I2C_Read... [00:12:15]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 8A [00:12:15]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [00:12:15]wFMCommunicate OK [00:12:15]SAM_PROTO_GetShiftState done [00:12:15]FM_GetShiftState done [00:12:15]req_shift_opened done [00:12:15]requested_item shift.open_date is exist - process it [00:12:15]req_shift_open_date [00:12:15]req_shift_open_date done [00:12:15]produce_requested_data done [00:12:15]produce_requested_data return {"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68224,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [00:12:15]process_action_free get_value [00:12:15]json_value_free [00:12:15]json_value_free done [00:12:15]process_json_proto returns [00:12:15]Send response to host [00:12:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68224,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [00:12:15]free response buf [00:12:15]execute_script done [00:12:15]execute_script returns [00:12:15]free content buf [00:12:15]Sock 7.Close socket [00:12:15]Sock 7.Thread stoped [00:12:15]accept exits with 9 [00:12:15]New connection [00:12:15]New thread 3067354468 created [00:12:15]Thread 3067497828 joined [00:12:15]Waiting for new connection... [00:12:15] Sock 9.Parse request [00:12:15]Sock 9.Check first char [00:12:15]Sock 9.First char is OK [00:12:15]request: POST /json_proto HTTP/1.0 [00:12:15]Method: POST [00:12:15]URL: /json_proto [00:12:15]Method is POST - this is cgi request [00:12:15]url: /json_proto [00:12:15]query_string will be loaded in cgi processing [00:12:15]execute_cgi json_proto POST (null) [00:12:15]execute_cgi path=json_proto method=POST [00:12:15]POST find Content-Length [00:12:15]Host: 172.17.42.3:8080 [00:12:15]Content-Length: 331 [00:12:15]Content-Type: application/json [00:12:15] [00:12:15]POST finish read [00:12:15]Found Content-Length = 331 [00:12:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:12:15]execute_script... [00:12:16]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:16]POST & json_proto [00:12:16]process_json_proto [00:12:16]json parsed OK: [00:12:16]protocol is kg_v1.0 [00:12:16]action value=get_value [00:12:16]process_action get_value [00:12:16]cmd_get_value [00:12:16]process_action get_value done [00:12:16]requested_data is exist [00:12:16]produce_requested_data [00:12:16]requested_item fm.sale.total is exist - process it [00:12:16]SAM_PROTO_GetFMData [00:12:16]wFMCommunicate request_size=4 [00:12:16]MH_SAM_APDU [00:12:16]CAPDU: 80 13 03 00 [00:12:16]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [00:12:16]Write i2c OK [00:12:16]MH_I2C_Read... [00:12:16]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:12:16]Read from MH i2c: E2 [00:12:16]MH_I2C_Read... [00:12:16]Read from MH i2c: E2 FD 00 [00:12:16]MH_I2C_Read... [00:12:16]Read from MH i2c: E2 FD 00 13 00 00 C7 04 85 04 C3 04 6E 04 04 00 3A 06 01 00 69 04 A3 00 6F 04 04 00 3B 05 01 00 B1 04 05 00 56 93 5C 61 02 70 04 05 00 58 52 1E D1 01 72 04 04 00 FE 40 3E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 39 C4 B8 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 8C A8 64 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 4D [00:12:16]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 3A 06 01 00 69 04 A3 00 6F 04 04 00 3B 05 01 00 B1 04 05 00 56 93 5C 61 02 70 04 05 00 58 52 1E D1 01 72 04 04 00 FE 40 3E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 39 C4 B8 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 8C A8 64 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 [00:12:16]wFMCommunicate OK [00:12:16]wFMCommunicate request_size=4 [00:12:16]MH_SAM_APDU [00:12:16]CAPDU: 80 17 00 00 [00:12:16]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [00:12:16]Write i2c OK [00:12:16]MH_I2C_Read... [00:12:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:16]Read from MH i2c: E2 [00:12:16]MH_I2C_Read... [00:12:16]Read from MH i2c: E2 FD 00 [00:12:16]MH_I2C_Read... [00:12:16]Read from MH i2c: E2 FD 00 14 00 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A6 [00:12:16]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:16]wFMCommunicate OK [00:12:16]wFMCommunicate request_size=4 [00:12:16]MH_SAM_APDU [00:12:16]CAPDU: 80 17 00 00 [00:12:16]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [00:12:16]Write i2c OK [00:12:16]MH_I2C_Read... [00:12:17]OFD Sender: No OFD packet to send [00:12:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:17]Read from MH i2c: E2 [00:12:17]MH_I2C_Read... [00:12:17]Read from MH i2c: E2 FD 00 [00:12:17]MH_I2C_Read... [00:12:17]Read from MH i2c: E2 FD 00 15 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6D [00:12:17]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:17]wFMCommunicate OK [00:12:17]wFMCommunicate request_size=4 [00:12:17]MH_SAM_APDU [00:12:17]CAPDU: 80 17 00 00 [00:12:17]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [00:12:17]Write i2c OK [00:12:17]MH_I2C_Read... [00:12:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:17]Read from MH i2c: E2 [00:12:17]MH_I2C_Read... [00:12:17]Read from MH i2c: E2 FD 00 [00:12:17]MH_I2C_Read... [00:12:17]Read from MH i2c: E2 FD 00 16 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 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 90 00 11 [00:12:17]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:17]wFMCommunicate OK [00:12:17]wFMCommunicate request_size=4 [00:12:17]MH_SAM_APDU [00:12:17]CAPDU: 80 17 00 00 [00:12:17]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [00:12:17]Write i2c OK [00:12:17]MH_I2C_Read... [00:12:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [00:12:17]Read from MH i2c: E2 [00:12:17]MH_I2C_Read... [00:12:17]Read from MH i2c: E2 E4 00 [00:12:17]MH_I2C_Read... [00:12:17]Read from MH i2c: E2 E4 00 17 00 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 77 [00:12:17]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:17]wFMCommunicate OK [00:12:17]SAM_PROTO_GetFMData done [00:12:17]requested_item fm.sale_refund.total is exist - process it [00:12:17]requested_item fm.buy.total is exist - process it [00:12:17]requested_item shift.sale.total is exist - process it [00:12:17]SAM_PROTO_GetShiftData [00:12:17]wFMCommunicate request_size=4 [00:12:17]MH_SAM_APDU [00:12:17]CAPDU: 80 13 02 00 [00:12:17]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [00:12:17]Write i2c OK [00:12:17]MH_I2C_Read... [00:12:18]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:12:18]Read from MH i2c: E2 [00:12:18]MH_I2C_Read... [00:12:18]Read from MH i2c: E2 FD 00 [00:12:18]MH_I2C_Read... [00:12:18]Read from MH i2c: E2 FD 00 18 00 00 AF 04 AA 04 AB 04 6E 04 04 00 81 00 00 00 69 04 9C 00 6F 04 04 00 81 00 00 00 B1 04 03 00 8C 7C F7 70 04 03 00 5C 6C A0 72 04 03 00 30 10 57 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 F7 48 1A 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 B2 30 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A3 [00:12:18]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 81 00 00 00 69 04 9C 00 6F 04 04 00 81 00 00 00 B1 04 03 00 8C 7C F7 70 04 03 00 5C 6C A0 72 04 03 00 30 10 57 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 F7 48 1A 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 B2 30 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:18]wFMCommunicate OK [00:12:18]wFMCommunicate request_size=4 [00:12:18]MH_SAM_APDU [00:12:18]CAPDU: 80 17 00 00 [00:12:18]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [00:12:18]Write i2c OK [00:12:18]MH_I2C_Read... [00:12:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:18]Read from MH i2c: E2 [00:12:18]MH_I2C_Read... [00:12:18]Read from MH i2c: E2 FD 00 [00:12:18]MH_I2C_Read... [00:12:18]Read from MH i2c: E2 FD 00 19 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B2 [00:12:18]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:18]wFMCommunicate OK [00:12:18]wFMCommunicate request_size=4 [00:12:18]MH_SAM_APDU [00:12:18]CAPDU: 80 17 00 00 [00:12:18]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [00:12:18]Write i2c OK [00:12:18]MH_I2C_Read... [00:12:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:18]Read from MH i2c: E2 [00:12:18]MH_I2C_Read... [00:12:18]Read from MH i2c: E2 FD 00 [00:12:18]MH_I2C_Read... [00:12:18]Read from MH i2c: E2 FD 00 1A 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4E [00:12:18]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:18]wFMCommunicate OK [00:12:18]wFMCommunicate request_size=4 [00:12:18]MH_SAM_APDU [00:12:18]CAPDU: 80 17 00 00 [00:12:18]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [00:12:18]Write i2c OK [00:12:18]MH_I2C_Read... [00:12:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:18]Read from MH i2c: E2 [00:12:18]MH_I2C_Read... [00:12:18]Read from MH i2c: E2 FD 00 [00:12:18]MH_I2C_Read... [00:12:18]Read from MH i2c: E2 FD 00 1B 00 00 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 90 00 19 [00:12:18]RAPDU: 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 90 00 [00:12:19]wFMCommunicate OK [00:12:19]wFMCommunicate request_size=4 [00:12:19]MH_SAM_APDU [00:12:19]CAPDU: 80 17 00 00 [00:12:19]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [00:12:19]Write i2c OK [00:12:19]MH_I2C_Read... [00:12:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [00:12:19]Read from MH i2c: E2 [00:12:19]MH_I2C_Read... [00:12:19]Read from MH i2c: E2 CC 00 [00:12:19]MH_I2C_Read... [00:12:19]Read from MH i2c: E2 CC 00 1C 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 7D [00:12:19]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:19]wFMCommunicate OK [00:12:19]SAM_PROTO_GetShiftData done [00:12:19]requested_item shift.sale.total_cash is exist - process it [00:12:19]requested_item shift.sale_refund.total is exist - process it [00:12:19]requested_item shift.sale_refund.total_cash is exist - process it [00:12:19]requested_item shift.buy.total is exist - process it [00:12:19]requested_item shift.buy.total_cash is exist - process it [00:12:19]produce_requested_data done [00:12:19]produce_requested_data return {"fm.sale.total":102233915.74,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":162192.76,"shift.sale.total_cash":105135.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: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":{"fm.sale.total":102233915.74,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":162192.76,"shift.sale.total_cash":105135.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: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: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:52]accept exits with 7 [00:12:52]New connection [00:12:52]New thread 3067497828 created [00:12:52]Thread 3067354468 joined [00:12:52]Waiting for new connection... [00:12:52] Sock 7.Parse request [00:12:52]Sock 7.Check first char [00:12:52]Sock 7.First char is OK [00:12:52]request: POST /json_proto HTTP/1.1 [00:12:52]Method: POST [00:12:52]URL: /json_proto [00:12:52]Method is POST - this is cgi request [00:12:52]url: /json_proto [00:12:52]query_string will be loaded in cgi processing [00:12:52]execute_cgi json_proto POST (null) [00:12:52]execute_cgi path=json_proto method=POST [00:12:52]POST find Content-Length [00:12:52]Host: 172.17.42.3:8080 [00:12:52]Connection: keep-alive [00:12:52]Content-Length: 105 [00:12:52]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [00:12:52]Accept: application/json, text/plain, */* [00:12:52]Content-Type: application/json [00:12:52]Origin: http://172.17.42.3:8080 [00:12:52]Referer: http://172.17.42.3:8080/testengine [00:12:52]Accept-Encoding: gzip, deflate [00:12:52]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [00:12:52] [00:12:52]POST finish read [00:12:52]Found Content-Length = 105 [00:12:52]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [00:12:52]execute_script... [00:12:52]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [00:12:52]POST & json_proto [00:12:52]process_json_proto [00:12:52]json parsed OK: [00:12:52]protocol is kg_v1.0 [00:12:52]action value=get_value [00:12:52]process_action get_value [00:12:52]cmd_get_value [00:12:52]process_action get_value done [00:12:52]requested_data is exist [00:12:52]produce_requested_data [00:12:52]requested_item config.timestamp is exist - process it [00:12:52]MH_GetDate [00:12:52]Write to MH i2c: F0 00 00 1D 00 0C [00:12:52]Write i2c OK [00:12:52]MH_I2C_Read... [00:12:52]Read from MH i2c: F0 [00:12:52]MH_I2C_Read... [00:12:52]Read from MH i2c: F0 09 00 [00:12:52]MH_I2C_Read... [00:12:52]Read from MH i2c: F0 09 00 1D 00 00 04 03 00 00 00 00 00 00 1C [00:12:52]produce_requested_data done [00:12:52]produce_requested_data return {"config.timestamp":"772"} [00:12:52]process_action_free get_value [00:12:52]json_value_free [00:12:52]json_value_free done [00:12:52]process_json_proto returns [00:12:52]Send response to host [00:12:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"config.timestamp":"772"}}} [00:12:52]free response buf [00:12:52]execute_script done [00:12:52]execute_script returns [00:12:52]free content buf [00:12:52]Sock 7.Close socket [00:12:52]Sock 7.Thread stoped [00:12:53]accept exits with 9 [00:12:53]New connection [00:12:53]New thread 3067354468 created [00:12:53]Thread 3067497828 joined [00:12:53]Waiting for new connection... [00:12:53] Sock 9.Parse request [00:12:53]Sock 9.Check first char [00:12:53]Sock 9.First char is OK [00:12:53]request: POST /json_proto HTTP/1.1 [00:12:53]Method: POST [00:12:53]URL: /json_proto [00:12:53]Method is POST - this is cgi request [00:12:53]url: /json_proto [00:12:53]query_string will be loaded in cgi processing [00:12:53]execute_cgi json_proto POST (null) [00:12:53]execute_cgi path=json_proto method=POST [00:12:53]POST find Content-Length [00:12:53]Host: 172.17.42.3:8080 [00:12:53]Connection: keep-alive [00:12:53]Content-Length: 113 [00:12:53]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [00:12:53]Accept: application/json, text/plain, */* [00:12:53]Content-Type: application/json [00:12:53]Origin: http://172.17.42.3:8080 [00:12:53]Referer: http://172.17.42.3:8080/testengine [00:12:53]Accept-Encoding: gzip, deflate [00:12:53]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [00:12:53] [00:12:53]POST finish read [00:12:53]Found Content-Length = 113 [00:12:53]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1730136832"}}} [00:12:53]execute_script... [00:12:53]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1730136832"}}} [00:12:53]POST & json_proto [00:12:53]process_json_proto [00:12:53]json parsed OK: [00:12:53]protocol is kg_v1.0 [00:12:53]action value=set_value [00:12:53]process_action set_value [00:12:53]cmd_set_value [00:12:53]SetValue [00:12:53]group config [00:12:53]SetConfigValue timestamp=1730136832 [00:12:53]SettingCheckAndSetValue timestamp=1730136832 [00:12:53]store_timestamp [00:12:53]MH_GetDate [00:12:53]Write to MH i2c: F0 00 00 1E 00 0D [00:12:53]Write i2c OK [00:12:53]MH_I2C_Read... [00:12:53]Read from MH i2c: F0 [00:12:53]MH_I2C_Read... [00:12:53]Read from MH i2c: F0 09 00 [00:12:53]MH_I2C_Read... [00:12:53]Read from MH i2c: F0 09 00 1E 00 00 05 03 00 00 00 00 00 00 1E [00:12:53]GetLastDocTimeStamp 1730135930 [00:12:53]cur date 773 [00:12:53]tm 1730136832 [00:12:53]tm ok - set date [00:12:53]MH_SetDate [00:12:53]Write to MH i2c: F1 04 00 1F 00 00 CB 1F 67 64 [00:12:53]Write i2c OK [00:12:53]MH_I2C_Read... [00:12:53]Read from MH i2c: F1 [00:12:53]MH_I2C_Read... [00:12:53]Read from MH i2c: F1 01 00 [00:12:53]MH_I2C_Read... [00:12:53]Read from MH i2c: F1 01 00 1F 00 00 10 [17:33:52]SetValue res=0 [17:33:52]process_action set_value done [17:33:52]no requested_data - finishing processing [17:33:52]process_action_free set_value [17:33:52]json_value_free [17:33:52]json_value_free done [17:33:52]process_json_proto returns [17:33:52]Send response to host [17:33:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:33:52]free response buf [17:33:52]execute_script done [17:33:52]execute_script returns [17:33:52]free content buf [17:33:52]Sock 9.Close socket [17:33:52]Sock 9.Thread stoped [17:33:53]accept exits with 7 [17:33:53]New connection [17:33:53]New thread 3067497828 created [17:33:53]Thread 3067354468 joined [17:33:53]Waiting for new connection... [17:33:53] Sock 7.Parse request [17:33:53]Sock 7.Check first char [17:33:53]Sock 7.First char is OK [17:33:53]request: POST /json_proto HTTP/1.1 [17:33:53]Method: POST [17:33:53]URL: /json_proto [17:33:53]Method is POST - this is cgi request [17:33:53]url: /json_proto [17:33:53]query_string will be loaded in cgi processing [17:33:53]execute_cgi json_proto POST (null) [17:33:53]execute_cgi path=json_proto method=POST [17:33:53]POST find Content-Length [17:33:53]Host: 172.17.42.3:8080 [17:33:53]Connection: keep-alive [17:33:53]Content-Length: 105 [17:33:53]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [17:33:53]Accept: application/json, text/plain, */* [17:33:53]Content-Type: application/json [17:33:53]Origin: http://172.17.42.3:8080 [17:33:53]Referer: http://172.17.42.3:8080/testengine [17:33:53]Accept-Encoding: gzip, deflate [17:33:53]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:33:53] [17:33:53]POST finish read [17:33:53]Found Content-Length = 105 [17:33:53]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [17:33:53]execute_script... [17:33:53]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [17:33:53]POST & json_proto [17:33:53]process_json_proto [17:33:53]json parsed OK: [17:33:53]protocol is kg_v1.0 [17:33:53]action value=get_value [17:33:53]process_action get_value [17:33:53]cmd_get_value [17:33:53]process_action get_value done [17:33:53]requested_data is exist [17:33:53]produce_requested_data [17:33:53]requested_item config.timestamp is exist - process it [17:33:53]MH_GetDate [17:33:53]Write to MH i2c: F0 00 00 20 00 0F [17:33:53]Write i2c OK [17:33:53]MH_I2C_Read... [17:33:53]Read from MH i2c: F0 [17:33:53]MH_I2C_Read... [17:33:53]Read from MH i2c: F0 09 00 [17:33:53]MH_I2C_Read... [17:33:53]Read from MH i2c: F0 09 00 20 00 00 01 CB 1F 67 00 CB 1F 67 BB [17:33:53]produce_requested_data done [17:33:53]produce_requested_data return {"config.timestamp":"1730136833"} [17:33:53]process_action_free get_value [17:33:53]json_value_free [17:33:53]json_value_free done [17:33:53]process_json_proto returns [17:33:53]Send response to host [17:33:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"config.timestamp":"1730136833"}}} [17:33:53]free response buf [17:33:53]execute_script done [17:33:53]execute_script returns [17:33:53]free content buf [17:33:53]Sock 7.Close socket [17:33:53]Sock 7.Thread stoped [17:33:53]accept exits with 9 [17:33:53]New connection [17:33:53]New thread 3067354468 created [17:33:53]Thread 3067497828 joined [17:33:53]Waiting for new connection... [17:33:53] Sock 9.Parse request [17:33:53]Sock 9.Check first char [17:33:53]Sock 9.First char is OK [17:33:53]request: POST /json_proto HTTP/1.1 [17:33:53]Method: POST [17:33:53]URL: /json_proto [17:33:53]Method is POST - this is cgi request [17:33:53]url: /json_proto [17:33:53]query_string will be loaded in cgi processing [17:33:53]execute_cgi json_proto POST (null) [17:33:53]execute_cgi path=json_proto method=POST [17:33:53]POST find Content-Length [17:33:53]Host: 172.17.42.3:8080 [17:33:53]Connection: keep-alive [17:33:53]Content-Length: 105 [17:33:53]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [17:33:53]Accept: application/json, text/plain, */* [17:33:53]Content-Type: application/json [17:33:53]Origin: http://172.17.42.3:8080 [17:33:53]Referer: http://172.17.42.3:8080/testengine [17:33:53]Accept-Encoding: gzip, deflate [17:33:53]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:33:53] [17:33:53]POST finish read [17:33:53]Found Content-Length = 105 [17:33:53]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [17:33:53]execute_script... [17:33:53]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [17:33:53]POST & json_proto [17:33:53]process_json_proto [17:33:53]json parsed OK: [17:33:53]protocol is kg_v1.0 [17:33:53]action value=get_value [17:33:53]process_action get_value [17:33:53]cmd_get_value [17:33:53]process_action get_value done [17:33:53]requested_data is exist [17:33:53]produce_requested_data [17:33:53]requested_item config.timestamp is exist - process it [17:33:53]MH_GetDate [17:33:53]Write to MH i2c: F0 00 00 21 00 10 [17:33:53]Write i2c OK [17:33:53]MH_I2C_Read... [17:33:53]Read from MH i2c: F0 [17:33:53]MH_I2C_Read... [17:33:53]Read from MH i2c: F0 09 00 [17:33:53]MH_I2C_Read... [17:33:53]Read from MH i2c: F0 09 00 21 00 00 01 CB 1F 67 00 CB 1F 67 BC [17:33:53]produce_requested_data done [17:33:53]produce_requested_data return {"config.timestamp":"1730136833"} [17:33:53]process_action_free get_value [17:33:53]json_value_free [17:33:53]json_value_free done [17:33:53]process_json_proto returns [17:33:53]Send response to host [17:33:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"config.timestamp":"1730136833"}}} [17:33:53]free response buf [17:33:53]execute_script done [17:33:53]execute_script returns [17:33:53]free content buf [17:33:53]Sock 9.Close socket [17:33:53]Sock 9.Thread stoped [17:33:54]accept exits with 7 [17:33:54]New connection [17:33:54]New thread 3067497828 created [17:33:54]Thread 3067354468 joined [17:33:54]Waiting for new connection... [17:33:54] Sock 7.Parse request [17:33:54]Sock 7.Check first char [17:33:54]Sock 7.First char is OK [17:33:54]request: POST /json_proto HTTP/1.1 [17:33:54]Method: POST [17:33:54]URL: /json_proto [17:33:54]Method is POST - this is cgi request [17:33:54]url: /json_proto [17:33:54]query_string will be loaded in cgi processing [17:33:54]execute_cgi json_proto POST (null) [17:33:54]execute_cgi path=json_proto method=POST [17:33:54]POST find Content-Length [17:33:54]Host: 172.17.42.3:8080 [17:33:54]Connection: keep-alive [17:33:54]Content-Length: 113 [17:33:54]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [17:33:54]Accept: application/json, text/plain, */* [17:33:54]Content-Type: application/json [17:33:54]Origin: http://172.17.42.3:8080 [17:33:54]Referer: http://172.17.42.3:8080/testengine [17:33:54]Accept-Encoding: gzip, deflate [17:33:54]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:33:54] [17:33:54]POST finish read [17:33:54]Found Content-Length = 113 [17:33:54]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1730136835"}}} [17:33:54]execute_script... [17:33:54]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1730136835"}}} [17:33:54]POST & json_proto [17:33:54]process_json_proto [17:33:54]json parsed OK: [17:33:54]protocol is kg_v1.0 [17:33:54]action value=set_value [17:33:54]process_action set_value [17:33:54]cmd_set_value [17:33:54]SetValue [17:33:54]group config [17:33:54]SetConfigValue timestamp=1730136835 [17:33:54]SettingCheckAndSetValue timestamp=1730136835 [17:33:54]store_timestamp [17:33:54]MH_GetDate [17:33:54]Write to MH i2c: F0 00 00 22 00 11 [17:33:54]Write i2c OK [17:33:54]MH_I2C_Read... [17:33:54]Read from MH i2c: F0 [17:33:54]MH_I2C_Read... [17:33:54]Read from MH i2c: F0 09 00 [17:33:54]MH_I2C_Read... [17:33:54]Read from MH i2c: F0 09 00 22 00 00 02 CB 1F 67 00 CB 1F 67 BE [17:33:54]GetLastDocTimeStamp 1730135930 [17:33:54]cur date 1730136834 [17:33:54]tm 1730136835 [17:33:54]tm ok - set date [17:33:54]MH_SetDate [17:33:54]Write to MH i2c: F1 04 00 23 00 03 CB 1F 67 6B [17:33:54]Write i2c OK [17:33:54]MH_I2C_Read... [17:33:54]Read from MH i2c: F1 [17:33:54]MH_I2C_Read... [17:33:54]Read from MH i2c: F1 01 00 [17:33:54]MH_I2C_Read... [17:33:54]Read from MH i2c: F1 01 00 23 00 00 14 [17:33:55]SetValue res=0 [17:33:55]process_action set_value done [17:33:55]no requested_data - finishing processing [17:33:55]process_action_free set_value [17:33:55]json_value_free [17:33:55]json_value_free done [17:33:55]process_json_proto returns [17:33:55]Send response to host [17:33:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:33:55]free response buf [17:33:55]execute_script done [17:33:55]execute_script returns [17:33:55]free content buf [17:33:55]Sock 7.Close socket [17:33:55]Sock 7.Thread stoped [17:33:55]OFD Sender: No OFD packet to send [17:34:00]OFD Sender: No OFD packet to send [17:34:05]accept exits with 9 [17:34:05]New connection [17:34:05]New thread 3067354468 created [17:34:05]Thread 3067497828 joined [17:34:05]Waiting for new connection... [17:34:05] Sock 9.Parse request [17:34:05]Sock 9.Check first char [17:34:05]Sock 9.First char is OK [17:34:05]request: POST /json_proto HTTP/1.0 [17:34:05]Method: POST [17:34:05]URL: /json_proto [17:34:05]Method is POST - this is cgi request [17:34:05]url: /json_proto [17:34:05]query_string will be loaded in cgi processing [17:34:05]execute_cgi json_proto POST (null) [17:34:05]execute_cgi path=json_proto method=POST [17:34:05]POST find Content-Length [17:34:05]Host: 172.17.42.3:8080 [17:34:05]Content-Length: 215 [17:34:05]Content-Type: application/json [17:34:05] [17:34:05]POST finish read [17:34:05]Found Content-Length = 215 [17:34:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:34:05]execute_script... [17:34:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:34:05]POST & json_proto [17:34:05]process_json_proto [17:34:05]json parsed OK: [17:34:05]protocol is kg_v1.0 [17:34:05]action value=get_value [17:34:05]process_action get_value [17:34:05]cmd_get_value [17:34:05]process_action get_value done [17:34:05]requested_data is exist [17:34:05]produce_requested_data [17:34:05]requested_item kkm.sn is exist - process it [17:34:05]requested_item kkm.ver is exist - process it [17:34:05]requested_item fm.sn is exist - process it [17:34:05]wFMCommunicate request_size=4 [17:34:05]MH_SAM_APDU [17:34:05]CAPDU: 80 11 00 00 [17:34:05]Write to MH i2c: E2 08 00 24 00 80 11 00 00 00 00 00 00 9E [17:34:05]Write i2c OK [17:34:05]MH_I2C_Read... [17:34:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:34:05]Read from MH i2c: E2 [17:34:05]MH_I2C_Read... [17:34:05]Read from MH i2c: E2 17 00 [17:34:05]MH_I2C_Read... [17:34:05]Read from MH i2c: E2 17 00 24 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 F5 [17:34:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:34:05]wFMCommunicate OK [17:34:05]requested_item fd.num is exist - process it [17:34:05]SAM_PROTO_GetFieldsCounters [17:34:05]wFMCommunicate request_size=4 [17:34:05]MH_SAM_APDU [17:34:05]CAPDU: 80 13 00 00 [17:34:05]Write to MH i2c: E2 08 00 25 00 80 13 00 00 00 00 00 00 A1 [17:34:05]Write i2c OK [17:34:05]MH_I2C_Read... [17:34:05]OFD Sender: No OFD packet to send [17:34:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:34:05]Read from MH i2c: E2 [17:34:05]MH_I2C_Read... [17:34:05]Read from MH i2c: E2 62 00 [17:34:05]MH_I2C_Read... [17:34:05]Read from MH i2c: E2 62 00 25 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 80 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 81 00 00 00 5E 04 04 00 81 00 00 00 57 04 04 00 82 00 00 00 19 04 04 00 00 00 00 00 90 00 FF [17:34:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 80 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 81 00 00 00 5E 04 04 00 81 00 00 00 57 04 04 00 82 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:34:05]wFMCommunicate OK [17:34:05]SAM_PROTO_GetFieldsCounters done [17:34:05]requested_item shift.num is exist - process it [17:34:05]requested_item shift.opened is exist - process it [17:34:05]req_shift_opened [17:34:05]FM_GetShiftState [17:34:05]SAM_PROTO_GetShiftState [17:34:05]wFMCommunicate request_size=4 [17:34:05]MH_SAM_APDU [17:34:05]CAPDU: 80 13 01 00 [17:34:05]Write to MH i2c: E2 08 00 26 00 80 13 01 00 00 00 00 00 A3 [17:34:05]Write i2c OK [17:34:05]MH_I2C_Read... [17:34:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:34:05]Read from MH i2c: E2 [17:34:05]MH_I2C_Read... [17:34:05]Read from MH i2c: E2 0E 00 [17:34:05]MH_I2C_Read... [17:34:05]Read from MH i2c: E2 0E 00 26 00 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 9E [17:34:05]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [17:34:05]wFMCommunicate OK [17:34:05]SAM_PROTO_GetShiftState done [17:34:05]FM_GetShiftState done [17:34:05]req_shift_opened done [17:34:05]requested_item shift.open_date is exist - process it [17:34:05]req_shift_open_date [17:34:05]req_shift_open_date done [17:34:05]produce_requested_data done [17:34:05]produce_requested_data return {"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68224,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [17:34:05]process_action_free get_value [17:34:05]json_value_free [17:34:05]json_value_free done [17:34:05]process_json_proto returns [17:34:05]Send response to host [17:34:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68224,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [17:34:05]free response buf [17:34:05]execute_script done [17:34:05]execute_script returns [17:34:05]free content buf [17:34:05]Sock 9.Close socket [17:34:05]Sock 9.Thread stoped [17:34:05]accept exits with 7 [17:34:05]New connection [17:34:05]New thread 3067497828 created [17:34:05]Thread 3067354468 joined [17:34:05]Waiting for new connection... [17:34:05] Sock 7.Parse request [17:34:05]Sock 7.Check first char [17:34:05]Sock 7.First char is OK [17:34:05]request: POST /json_proto HTTP/1.0 [17:34:05]Method: POST [17:34:05]URL: /json_proto [17:34:05]Method is POST - this is cgi request [17:34:05]url: /json_proto [17:34:05]query_string will be loaded in cgi processing [17:34:05]execute_cgi json_proto POST (null) [17:34:05]execute_cgi path=json_proto method=POST [17:34:05]POST find Content-Length [17:34:05]Host: 172.17.42.3:8080 [17:34:05]Content-Length: 331 [17:34:05]Content-Type: application/json [17:34:05] [17:34:05]POST finish read [17:34:05]Found Content-Length = 331 [17:34:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:34:05]execute_script... [17:34:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:34:05]POST & json_proto [17:34:05]process_json_proto [17:34:05]json parsed OK: [17:34:06]protocol is kg_v1.0 [17:34:06]action value=get_value [17:34:06]process_action get_value [17:34:06]cmd_get_value [17:34:06]process_action get_value done [17:34:06]requested_data is exist [17:34:06]produce_requested_data [17:34:06]requested_item fm.sale.total is exist - process it [17:34:06]SAM_PROTO_GetFMData [17:34:06]wFMCommunicate request_size=4 [17:34:06]MH_SAM_APDU [17:34:06]CAPDU: 80 13 03 00 [17:34:06]Write to MH i2c: E2 08 00 27 00 80 13 03 00 00 00 00 00 A6 [17:34:06]Write i2c OK [17:34:06]MH_I2C_Read... [17:34:06]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:34:06]Read from MH i2c: E2 [17:34:06]MH_I2C_Read... [17:34:06]Read from MH i2c: E2 FD 00 [17:34:06]MH_I2C_Read... [17:34:06]Read from MH i2c: E2 FD 00 27 00 00 C7 04 85 04 C3 04 6E 04 04 00 3A 06 01 00 69 04 A3 00 6F 04 04 00 3B 05 01 00 B1 04 05 00 56 93 5C 61 02 70 04 05 00 58 52 1E D1 01 72 04 04 00 FE 40 3E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 39 C4 B8 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 8C A8 64 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 61 [17:34:06]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 3A 06 01 00 69 04 A3 00 6F 04 04 00 3B 05 01 00 B1 04 05 00 56 93 5C 61 02 70 04 05 00 58 52 1E D1 01 72 04 04 00 FE 40 3E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 39 C4 B8 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 8C A8 64 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 [17:34:06]wFMCommunicate OK [17:34:06]wFMCommunicate request_size=4 [17:34:06]MH_SAM_APDU [17:34:06]CAPDU: 80 17 00 00 [17:34:06]Write to MH i2c: E2 08 00 28 00 80 17 00 00 00 00 00 00 A8 [17:34:06]Write i2c OK [17:34:06]MH_I2C_Read... [17:34:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:34:06]Read from MH i2c: E2 [17:34:06]MH_I2C_Read... [17:34:06]Read from MH i2c: E2 FD 00 [17:34:06]MH_I2C_Read... [17:34:06]Read from MH i2c: E2 FD 00 28 00 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BA [17:34:06]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:34:06]wFMCommunicate OK [17:34:06]wFMCommunicate request_size=4 [17:34:06]MH_SAM_APDU [17:34:06]CAPDU: 80 17 00 00 [17:34:06]Write to MH i2c: E2 08 00 29 00 80 17 00 00 00 00 00 00 A9 [17:34:06]Write i2c OK [17:34:06]MH_I2C_Read... [17:34:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:34:07]Read from MH i2c: E2 [17:34:07]MH_I2C_Read... [17:34:07]Read from MH i2c: E2 FD 00 [17:34:07]MH_I2C_Read... [17:34:07]Read from MH i2c: E2 FD 00 29 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 81 [17:34:07]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:34:07]wFMCommunicate OK [17:34:07]wFMCommunicate request_size=4 [17:34:07]MH_SAM_APDU [17:34:07]CAPDU: 80 17 00 00 [17:34:07]Write to MH i2c: E2 08 00 2A 00 80 17 00 00 00 00 00 00 AA [17:34:07]Write i2c OK [17:34:07]MH_I2C_Read... [17:34:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:34:07]Read from MH i2c: E2 [17:34:07]MH_I2C_Read... [17:34:07]Read from MH i2c: E2 FD 00 [17:34:07]MH_I2C_Read... [17:34:07]Read from MH i2c: E2 FD 00 2A 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 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 90 00 25 [17:34:07]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:34:07]wFMCommunicate OK [17:34:07]wFMCommunicate request_size=4 [17:34:07]MH_SAM_APDU [17:34:07]CAPDU: 80 17 00 00 [17:34:07]Write to MH i2c: E2 08 00 2B 00 80 17 00 00 00 00 00 00 AB [17:34:07]Write i2c OK [17:34:07]MH_I2C_Read... [17:34:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [17:34:07]Read from MH i2c: E2 [17:34:07]MH_I2C_Read... [17:34:07]Read from MH i2c: E2 E4 00 [17:34:07]MH_I2C_Read... [17:34:07]Read from MH i2c: E2 E4 00 2B 00 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [17:34:07]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:34:07]wFMCommunicate OK [17:34:07]SAM_PROTO_GetFMData done [17:34:07]requested_item fm.sale_refund.total is exist - process it [17:34:07]requested_item fm.buy.total is exist - process it [17:34:07]requested_item shift.sale.total is exist - process it [17:34:07]SAM_PROTO_GetShiftData [17:34:07]wFMCommunicate request_size=4 [17:34:07]MH_SAM_APDU [17:34:07]CAPDU: 80 13 02 00 [17:34:07]Write to MH i2c: E2 08 00 2C 00 80 13 02 00 00 00 00 00 AA [17:34:07]Write i2c OK [17:34:07]MH_I2C_Read... [17:34:08]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:34:08]Read from MH i2c: E2 [17:34:08]MH_I2C_Read... [17:34:08]Read from MH i2c: E2 FD 00 [17:34:08]MH_I2C_Read... [17:34:08]Read from MH i2c: E2 FD 00 2C 00 00 AF 04 AA 04 AB 04 6E 04 04 00 81 00 00 00 69 04 9C 00 6F 04 04 00 81 00 00 00 B1 04 03 00 8C 7C F7 70 04 03 00 5C 6C A0 72 04 03 00 30 10 57 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 F7 48 1A 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 B2 30 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B7 [17:34:08]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 81 00 00 00 69 04 9C 00 6F 04 04 00 81 00 00 00 B1 04 03 00 8C 7C F7 70 04 03 00 5C 6C A0 72 04 03 00 30 10 57 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 F7 48 1A 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 B2 30 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:34:08]wFMCommunicate OK [17:34:08]wFMCommunicate request_size=4 [17:34:08]MH_SAM_APDU [17:34:08]CAPDU: 80 17 00 00 [17:34:08]Write to MH i2c: E2 08 00 2D 00 80 17 00 00 00 00 00 00 AD [17:34:08]Write i2c OK [17:34:08]MH_I2C_Read... [17:34:08]Read from MH i2c: E2 [17:34:08]MH_I2C_Read... [17:34:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:34:08]Read from MH i2c: E2 FD 00 [17:34:08]MH_I2C_Read... [17:34:08]Read from MH i2c: E2 FD 00 2D 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C6 [17:34:08]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:34:08]wFMCommunicate OK [17:34:08]wFMCommunicate request_size=4 [17:34:08]MH_SAM_APDU [17:34:08]CAPDU: 80 17 00 00 [17:34:08]Write to MH i2c: E2 08 00 2E 00 80 17 00 00 00 00 00 00 AE [17:34:08]Write i2c OK [17:34:08]MH_I2C_Read... [17:34:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:34:08]Read from MH i2c: E2 [17:34:08]MH_I2C_Read... [17:34:08]Read from MH i2c: E2 FD 00 [17:34:08]MH_I2C_Read... [17:34:08]Read from MH i2c: E2 FD 00 2E 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 62 [17:34:08]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:34:08]wFMCommunicate OK [17:34:08]wFMCommunicate request_size=4 [17:34:08]MH_SAM_APDU [17:34:08]CAPDU: 80 17 00 00 [17:34:08]Write to MH i2c: E2 08 00 2F 00 80 17 00 00 00 00 00 00 AF [17:34:08]Write i2c OK [17:34:08]MH_I2C_Read... [17:34:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:34:08]Read from MH i2c: E2 [17:34:08]MH_I2C_Read... [17:34:08]Read from MH i2c: E2 FD 00 [17:34:08]MH_I2C_Read... [17:34:09]Read from MH i2c: E2 FD 00 2F 00 00 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 90 00 2D [17:34:09]RAPDU: 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 90 00 [17:34:09]wFMCommunicate OK [17:34:09]wFMCommunicate request_size=4 [17:34:09]MH_SAM_APDU [17:34:09]CAPDU: 80 17 00 00 [17:34:09]Write to MH i2c: E2 08 00 30 00 80 17 00 00 00 00 00 00 B0 [17:34:09]Write i2c OK [17:34:09]MH_I2C_Read... [17:34:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [17:34:09]Read from MH i2c: E2 [17:34:09]MH_I2C_Read... [17:34:09]Read from MH i2c: E2 CC 00 [17:34:09]MH_I2C_Read... [17:34:09]Read from MH i2c: E2 CC 00 30 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 91 [17:34:09]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:34:09]wFMCommunicate OK [17:34:09]SAM_PROTO_GetShiftData done [17:34:09]requested_item shift.sale.total_cash is exist - process it [17:34:09]requested_item shift.sale_refund.total is exist - process it [17:34:09]requested_item shift.sale_refund.total_cash is exist - process it [17:34:09]requested_item shift.buy.total is exist - process it [17:34:09]requested_item shift.buy.total_cash is exist - process it [17:34:09]produce_requested_data done [17:34:09]produce_requested_data return {"fm.sale.total":102233915.74,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":162192.76,"shift.sale.total_cash":105135.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:34:09]process_action_free get_value [17:34:09]json_value_free [17:34:09]json_value_free done [17:34:09]process_json_proto returns [17:34:09]Send response to host [17:34:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":102233915.74,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":162192.76,"shift.sale.total_cash":105135.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:34:09]free response buf [17:34:09]execute_script done [17:34:09]execute_script returns [17:34:09]free content buf [17:34:09]Sock 7.Close socket [17:34:09]Sock 7.Thread stoped [17:34:10]OFD Sender: No OFD packet to send [17:34:15]OFD Sender: No OFD packet to send [17:34:18]accept exits with 9 [17:34:18]New connection [17:34:18]New thread 3067354468 created [17:34:18]Thread 3067497828 joined [17:34:18]Waiting for new connection... [17:34:18] Sock 9.Parse request [17:34:18]Sock 9.Check first char [17:34:18]Sock 9.First char is OK [17:34:18]request: POST /json_proto HTTP/1.0 [17:34:18]Method: POST [17:34:18]URL: /json_proto [17:34:18]Method is POST - this is cgi request [17:34:18]url: /json_proto [17:34:18]query_string will be loaded in cgi processing [17:34:18]execute_cgi json_proto POST (null) [17:34:18]execute_cgi path=json_proto method=POST [17:34:18]POST find Content-Length [17:34:18]Host: 172.17.42.3:8080 [17:34:18]Content-Length: 215 [17:34:18]Content-Type: application/json [17:34:18] [17:34:18]POST finish read [17:34:18]Found Content-Length = 215 [17:34:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:34:18]execute_script... [17:34:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:34:18]POST & json_proto [17:34:18]process_json_proto [17:34:18]json parsed OK: [17:34:18]protocol is kg_v1.0 [17:34:18]action value=get_value [17:34:18]process_action get_value [17:34:18]cmd_get_value [17:34:18]process_action get_value done [17:34:18]requested_data is exist [17:34:18]produce_requested_data [17:34:18]requested_item kkm.sn is exist - process it [17:34:18]requested_item kkm.ver is exist - process it [17:34:18]requested_item fm.sn is exist - process it [17:34:18]wFMCommunicate request_size=4 [17:34:18]MH_SAM_APDU [17:34:18]CAPDU: 80 11 00 00 [17:34:18]Write to MH i2c: E2 08 00 31 00 80 11 00 00 00 00 00 00 AB [17:34:18]Write i2c OK [17:34:18]MH_I2C_Read... [17:34:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:34:18]Read from MH i2c: E2 [17:34:18]MH_I2C_Read... [17:34:18]Read from MH i2c: E2 17 00 [17:34:18]MH_I2C_Read... [17:34:18]Read from MH i2c: E2 17 00 31 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 02 [17:34:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:34:18]wFMCommunicate OK [17:34:18]requested_item fd.num is exist - process it [17:34:18]SAM_PROTO_GetFieldsCounters [17:34:18]wFMCommunicate request_size=4 [17:34:18]MH_SAM_APDU [17:34:18]CAPDU: 80 13 00 00 [17:34:18]Write to MH i2c: E2 08 00 32 00 80 13 00 00 00 00 00 00 AE [17:34:18]Write i2c OK [17:34:18]MH_I2C_Read... [17:34:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:34:18]Read from MH i2c: E2 [17:34:18]MH_I2C_Read... [17:34:18]Read from MH i2c: E2 62 00 [17:34:18]MH_I2C_Read... [17:34:18]Read from MH i2c: E2 62 00 32 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 80 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 81 00 00 00 5E 04 04 00 81 00 00 00 57 04 04 00 82 00 00 00 19 04 04 00 00 00 00 00 90 00 0C [17:34:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 80 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 81 00 00 00 5E 04 04 00 81 00 00 00 57 04 04 00 82 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:34:18]wFMCommunicate OK [17:34:18]SAM_PROTO_GetFieldsCounters done [17:34:18]requested_item shift.num is exist - process it [17:34:18]requested_item shift.opened is exist - process it [17:34:18]req_shift_opened [17:34:18]FM_GetShiftState [17:34:18]SAM_PROTO_GetShiftState [17:34:18]wFMCommunicate request_size=4 [17:34:18]MH_SAM_APDU [17:34:18]CAPDU: 80 13 01 00 [17:34:18]Write to MH i2c: E2 08 00 33 00 80 13 01 00 00 00 00 00 B0 [17:34:18]Write i2c OK [17:34:18]MH_I2C_Read... [17:34:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:34:18]Read from MH i2c: E2 [17:34:18]MH_I2C_Read... [17:34:18]Read from MH i2c: E2 0E 00 [17:34:18]MH_I2C_Read... [17:34:18]Read from MH i2c: E2 0E 00 33 00 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 AB [17:34:18]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [17:34:18]wFMCommunicate OK [17:34:18]SAM_PROTO_GetShiftState done [17:34:18]FM_GetShiftState done [17:34:18]req_shift_opened done [17:34:18]requested_item shift.open_date is exist - process it [17:34:18]req_shift_open_date [17:34:18]req_shift_open_date done [17:34:18]produce_requested_data done [17:34:18]produce_requested_data return {"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68224,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [17:34:18]process_action_free get_value [17:34:18]json_value_free [17:34:18]json_value_free done [17:34:18]process_json_proto returns [17:34:18]Send response to host [17:34:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68224,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [17:34:18]free response buf [17:34:18]execute_script done [17:34:18]execute_script returns [17:34:18]free content buf [17:34:18]Sock 9.Close socket [17:34:18]Sock 9.Thread stoped [17:34:18]accept exits with 7 [17:34:18]New connection [17:34:18]New thread 3067497828 created [17:34:18]Thread 3067354468 joined [17:34:18]Waiting for new connection... [17:34:18] Sock 7.Parse request [17:34:18]Sock 7.Check first char [17:34:18]Sock 7.First char is OK [17:34:18]request: POST /json_proto HTTP/1.0 [17:34:18]Method: POST [17:34:18]URL: /json_proto [17:34:18]Method is POST - this is cgi request [17:34:18]url: /json_proto [17:34:18]query_string will be loaded in cgi processing [17:34:18]execute_cgi json_proto POST (null) [17:34:18]execute_cgi path=json_proto method=POST [17:34:18]POST find Content-Length [17:34:18]Host: 172.17.42.3:8080 [17:34:18]Content-Length: 331 [17:34:18]Content-Type: application/json [17:34:18] [17:34:18]POST finish read [17:34:18]Found Content-Length = 331 [17:34:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:34:18]execute_script... [17:34:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [17:34:19]POST & json_proto [17:34:19]process_json_proto [17:34:19]json parsed OK: [17:34:19]protocol is kg_v1.0 [17:34:19]action value=get_value [17:34:19]process_action get_value [17:34:19]cmd_get_value [17:34:19]process_action get_value done [17:34:19]requested_data is exist [17:34:19]produce_requested_data [17:34:19]requested_item fm.sale.total is exist - process it [17:34:19]SAM_PROTO_GetFMData [17:34:19]wFMCommunicate request_size=4 [17:34:19]MH_SAM_APDU [17:34:19]CAPDU: 80 13 03 00 [17:34:19]Write to MH i2c: E2 08 00 34 00 80 13 03 00 00 00 00 00 B3 [17:34:19]Write i2c OK [17:34:19]MH_I2C_Read... [17:34:19]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:34:19]Read from MH i2c: E2 [17:34:19]MH_I2C_Read... [17:34:19]Read from MH i2c: E2 FD 00 [17:34:19]MH_I2C_Read... [17:34:19]Read from MH i2c: E2 FD 00 34 00 00 C7 04 85 04 C3 04 6E 04 04 00 3A 06 01 00 69 04 A3 00 6F 04 04 00 3B 05 01 00 B1 04 05 00 56 93 5C 61 02 70 04 05 00 58 52 1E D1 01 72 04 04 00 FE 40 3E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 39 C4 B8 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 8C A8 64 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 6E [17:34:19]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 3A 06 01 00 69 04 A3 00 6F 04 04 00 3B 05 01 00 B1 04 05 00 56 93 5C 61 02 70 04 05 00 58 52 1E D1 01 72 04 04 00 FE 40 3E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 39 C4 B8 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 8C A8 64 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 [17:34:19]wFMCommunicate OK [17:34:19]wFMCommunicate request_size=4 [17:34:19]MH_SAM_APDU [17:34:19]CAPDU: 80 17 00 00 [17:34:19]Write to MH i2c: E2 08 00 35 00 80 17 00 00 00 00 00 00 B5 [17:34:19]Write i2c OK [17:34:19]MH_I2C_Read... [17:34:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:34:19]Read from MH i2c: E2 [17:34:19]MH_I2C_Read... [17:34:19]Read from MH i2c: E2 FD 00 [17:34:19]MH_I2C_Read... [17:34:19]Read from MH i2c: E2 FD 00 35 00 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C7 [17:34:19]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:34:19]wFMCommunicate OK [17:34:19]wFMCommunicate request_size=4 [17:34:19]MH_SAM_APDU [17:34:19]CAPDU: 80 17 00 00 [17:34:19]Write to MH i2c: E2 08 00 36 00 80 17 00 00 00 00 00 00 B6 [17:34:19]Write i2c OK [17:34:19]MH_I2C_Read... [17:34:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:34:20]Read from MH i2c: E2 [17:34:20]MH_I2C_Read... [17:34:20]Read from MH i2c: E2 FD 00 [17:34:20]MH_I2C_Read... [17:34:20]Read from MH i2c: E2 FD 00 36 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8E [17:34:20]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:34:20]wFMCommunicate OK [17:34:20]wFMCommunicate request_size=4 [17:34:20]MH_SAM_APDU [17:34:20]CAPDU: 80 17 00 00 [17:34:20]Write to MH i2c: E2 08 00 37 00 80 17 00 00 00 00 00 00 B7 [17:34:20]Write i2c OK [17:34:20]MH_I2C_Read... [17:34:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:34:20]Read from MH i2c: E2 [17:34:20]MH_I2C_Read... [17:34:20]Read from MH i2c: E2 FD 00 [17:34:20]MH_I2C_Read... [17:34:20]Read from MH i2c: E2 FD 00 37 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 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 90 00 32 [17:34:20]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:34:20]wFMCommunicate OK [17:34:20]wFMCommunicate request_size=4 [17:34:20]MH_SAM_APDU [17:34:20]CAPDU: 80 17 00 00 [17:34:20]Write to MH i2c: E2 08 00 38 00 80 17 00 00 00 00 00 00 B8 [17:34:20]Write i2c OK [17:34:20]MH_I2C_Read... [17:34:20]Read from MH i2c: E2 [17:34:20]MH_I2C_Read... [17:34:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [17:34:20]Read from MH i2c: E2 E4 00 [17:34:20]MH_I2C_Read... [17:34:20]Read from MH i2c: E2 E4 00 38 00 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [17:34:20]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:34:20]wFMCommunicate OK [17:34:20]SAM_PROTO_GetFMData done [17:34:20]requested_item fm.sale_refund.total is exist - process it [17:34:20]requested_item fm.buy.total is exist - process it [17:34:20]requested_item shift.sale.total is exist - process it [17:34:20]SAM_PROTO_GetShiftData [17:34:20]wFMCommunicate request_size=4 [17:34:20]MH_SAM_APDU [17:34:20]CAPDU: 80 13 02 00 [17:34:20]Write to MH i2c: E2 08 00 39 00 80 13 02 00 00 00 00 00 B7 [17:34:20]Write i2c OK [17:34:20]MH_I2C_Read... [17:34:20]OFD Sender: No OFD packet to send [17:34:21]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:34:21]Read from MH i2c: E2 [17:34:21]MH_I2C_Read... [17:34:21]Read from MH i2c: E2 FD 00 [17:34:21]MH_I2C_Read... [17:34:21]Read from MH i2c: E2 FD 00 39 00 00 AF 04 AA 04 AB 04 6E 04 04 00 81 00 00 00 69 04 9C 00 6F 04 04 00 81 00 00 00 B1 04 03 00 8C 7C F7 70 04 03 00 5C 6C A0 72 04 03 00 30 10 57 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 F7 48 1A 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 B2 30 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C4 [17:34:21]RAPDU: AF 04 AA 04 AB 04 6E 04 04 00 81 00 00 00 69 04 9C 00 6F 04 04 00 81 00 00 00 B1 04 03 00 8C 7C F7 70 04 03 00 5C 6C A0 72 04 03 00 30 10 57 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 F7 48 1A 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 B2 30 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:34:21]wFMCommunicate OK [17:34:21]wFMCommunicate request_size=4 [17:34:21]MH_SAM_APDU [17:34:21]CAPDU: 80 17 00 00 [17:34:21]Write to MH i2c: E2 08 00 3A 00 80 17 00 00 00 00 00 00 BA [17:34:21]Write i2c OK [17:34:21]MH_I2C_Read... [17:34:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:34:21]Read from MH i2c: E2 [17:34:21]MH_I2C_Read... [17:34:21]Read from MH i2c: E2 FD 00 [17:34:21]MH_I2C_Read... [17:34:21]Read from MH i2c: E2 FD 00 3A 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D3 [17:34:21]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:34:21]wFMCommunicate OK [17:34:21]wFMCommunicate request_size=4 [17:34:21]MH_SAM_APDU [17:34:21]CAPDU: 80 17 00 00 [17:34:21]Write to MH i2c: E2 08 00 3B 00 80 17 00 00 00 00 00 00 BB [17:34:21]Write i2c OK [17:34:21]MH_I2C_Read... [17:34:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:34:21]Read from MH i2c: E2 [17:34:21]MH_I2C_Read... [17:34:21]Read from MH i2c: E2 FD 00 [17:34:21]MH_I2C_Read... [17:34:21]Read from MH i2c: E2 FD 00 3B 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6F [17:34:21]RAPDU: 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:34:21]wFMCommunicate OK [17:34:21]wFMCommunicate request_size=4 [17:34:21]MH_SAM_APDU [17:34:21]CAPDU: 80 17 00 00 [17:34:21]Write to MH i2c: E2 08 00 3C 00 80 17 00 00 00 00 00 00 BC [17:34:21]Write i2c OK [17:34:21]MH_I2C_Read... [17:34:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:34:22]Read from MH i2c: E2 [17:34:22]MH_I2C_Read... [17:34:22]Read from MH i2c: E2 FD 00 [17:34:22]MH_I2C_Read... [17:34:22]Read from MH i2c: E2 FD 00 3C 00 00 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 90 00 3A [17:34:22]RAPDU: 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 90 00 [17:34:22]wFMCommunicate OK [17:34:22]wFMCommunicate request_size=4 [17:34:22]MH_SAM_APDU [17:34:22]CAPDU: 80 17 00 00 [17:34:22]Write to MH i2c: E2 08 00 3D 00 80 17 00 00 00 00 00 00 BD [17:34:22]Write i2c OK [17:34:22]MH_I2C_Read... [17:34:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 201! [17:34:22]Read from MH i2c: E2 [17:34:22]MH_I2C_Read... [17:34:22]Read from MH i2c: E2 CC 00 [17:34:22]MH_I2C_Read... [17:34:22]Read from MH i2c: E2 CC 00 3D 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 9E [17:34:22]RAPDU: F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:34:22]wFMCommunicate OK [17:34:22]SAM_PROTO_GetShiftData done [17:34:22]requested_item shift.sale.total_cash is exist - process it [17:34:22]requested_item shift.sale_refund.total is exist - process it [17:34:22]requested_item shift.sale_refund.total_cash is exist - process it [17:34:22]requested_item shift.buy.total is exist - process it [17:34:22]requested_item shift.buy.total_cash is exist - process it [17:34:22]produce_requested_data done [17:34:22]produce_requested_data return {"fm.sale.total":102233915.74,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":162192.76,"shift.sale.total_cash":105135.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:34:22]process_action_free get_value [17:34:22]json_value_free [17:34:22]json_value_free done [17:34:22]process_json_proto returns [17:34:22]Send response to host [17:34:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":102233915.74,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":162192.76,"shift.sale.total_cash":105135.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:34:22]free response buf [17:34:22]execute_script done [17:34:22]execute_script returns [17:34:22]free content buf [17:34:22]Sock 7.Close socket [17:34:22]Sock 7.Thread stoped [17:34:25]OFD Sender: No OFD packet to send [17:34:30]accept exits with 9 [17:34:30]New connection [17:34:30]New thread 3067354468 created [17:34:30]Thread 3067497828 joined [17:34:30]Waiting for new connection... [17:34:30] Sock 9.Parse request [17:34:30]Sock 9.Check first char [17:34:30]Sock 9.First char is OK [17:34:30]request: POST /json_proto HTTP/1.1 [17:34:30]Method: POST [17:34:30]URL: /json_proto [17:34:30]Method is POST - this is cgi request [17:34:30]url: /json_proto [17:34:30]query_string will be loaded in cgi processing [17:34:30]execute_cgi json_proto POST (null) [17:34:30]execute_cgi path=json_proto method=POST [17:34:30]POST find Content-Length [17:34:30]Host: 172.17.42.3:8080 [17:34:30]Connection: keep-alive [17:34:30]Content-Length: 113 [17:34:30]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [17:34:30]Accept: application/json, text/plain, */* [17:34:30]Content-Type: application/json [17:34:30]Origin: http://172.17.42.3:8080 [17:34:30]Referer: http://172.17.42.3:8080/testengine [17:34:30]Accept-Encoding: gzip, deflate [17:34:30]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:34:30] [17:34:30]POST finish read [17:34:30]Found Content-Length = 113 [17:34:30]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1730136835"}}} [17:34:30]execute_script... [17:34:30]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1730136835"}}} [17:34:30]POST & json_proto [17:34:30]process_json_proto [17:34:30]json parsed OK: [17:34:30]protocol is kg_v1.0 [17:34:30]action value=set_value [17:34:30]process_action set_value [17:34:30]cmd_set_value [17:34:30]SetValue [17:34:30]group config [17:34:30]SetConfigValue timestamp=1730136835 [17:34:30]SettingCheckAndSetValue timestamp=1730136835 [17:34:30]store_timestamp [17:34:30]MH_GetDate [17:34:30]Write to MH i2c: F0 00 00 3E 00 2D [17:34:30]Write i2c OK [17:34:30]MH_I2C_Read... [17:34:30]Read from MH i2c: F0 [17:34:30]MH_I2C_Read... [17:34:30]Read from MH i2c: F0 09 00 [17:34:30]MH_I2C_Read... [17:34:30]Read from MH i2c: F0 09 00 3E 00 00 26 CB 1F 67 03 CB 1F 67 01 [17:34:30]GetLastDocTimeStamp 1730135930 [17:34:30]cur date 1730136870 [17:34:30]tm 1730136835 [17:34:30]tm ok - set date [17:34:30]MH_SetDate [17:34:30]Write to MH i2c: F1 04 00 3F 00 03 CB 1F 67 87 [17:34:30]Write i2c OK [17:34:30]MH_I2C_Read... [17:34:30]Read from MH i2c: F1 [17:34:30]MH_I2C_Read... [17:34:30]Read from MH i2c: F1 01 00 [17:34:30]MH_I2C_Read... [17:34:30]Read from MH i2c: F1 01 00 3F 00 00 30 [17:33:55]SetValue res=0 [17:33:55]process_action set_value done [17:33:55]no requested_data - finishing processing [17:33:55]process_action_free set_value [17:33:55]json_value_free [17:33:55]json_value_free done [17:33:55]process_json_proto returns [17:33:55]Send response to host [17:33:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:33:55]free response buf [17:33:55]execute_script done [17:33:55]execute_script returns [17:33:55]free content buf [17:33:55]Sock 9.Close socket [17:33:55]Sock 9.Thread stoped [17:33:55]OFD Sender: No OFD packet to send [17:34:00]OFD Sender: No OFD packet to send [17:34:01]accept exits with 7 [17:34:01]New connection [17:34:01]New thread 3067497828 created [17:34:01]Thread 3067354468 joined [17:34:01]Waiting for new connection... [17:34:01] Sock 7.Parse request [17:34:01]Sock 7.Check first char [17:34:01]Sock 7.First char is OK [17:34:01]request: POST /json_proto HTTP/1.1 [17:34:01]Method: POST [17:34:01]URL: /json_proto [17:34:01]Method is POST - this is cgi request [17:34:01]url: /json_proto [17:34:01]query_string will be loaded in cgi processing [17:34:01]execute_cgi json_proto POST (null) [17:34:01]execute_cgi path=json_proto method=POST [17:34:01]POST find Content-Length [17:34:01]Host: 172.17.42.3:8080 [17:34:01]Connection: keep-alive [17:34:01]Content-Length: 105 [17:34:01]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [17:34:01]Accept: application/json, text/plain, */* [17:34:01]Content-Type: application/json [17:34:01]Origin: http://172.17.42.3:8080 [17:34:01]Referer: http://172.17.42.3:8080/testengine [17:34:01]Accept-Encoding: gzip, deflate [17:34:01]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:34:01] [17:34:01]POST finish read [17:34:01]Found Content-Length = 105 [17:34:01]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [17:34:01]execute_script... [17:34:01]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [17:34:01]POST & json_proto [17:34:01]process_json_proto [17:34:01]json parsed OK: [17:34:01]protocol is kg_v1.0 [17:34:01]action value=get_value [17:34:01]process_action get_value [17:34:01]cmd_get_value [17:34:01]process_action get_value done [17:34:01]requested_data is exist [17:34:01]produce_requested_data [17:34:01]requested_item config.timestamp is exist - process it [17:34:01]MH_GetDate [17:34:01]Write to MH i2c: F0 00 00 40 00 2F [17:34:01]Write i2c OK [17:34:01]MH_I2C_Read... [17:34:01]Read from MH i2c: F0 [17:34:01]MH_I2C_Read... [17:34:01]Read from MH i2c: F0 09 00 [17:34:01]MH_I2C_Read... [17:34:01]Read from MH i2c: F0 09 00 40 00 00 09 CB 1F 67 03 CB 1F 67 E6 [17:34:01]produce_requested_data done [17:34:01]produce_requested_data return {"config.timestamp":"1730136841"} [17:34:01]process_action_free get_value [17:34:01]json_value_free [17:34:01]json_value_free done [17:34:01]process_json_proto returns [17:34:01]Send response to host [17:34:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"config.timestamp":"1730136841"}}} [17:34:01]free response buf [17:34:01]execute_script done [17:34:01]execute_script returns [17:34:01]free content buf [17:34:01]Sock 7.Close socket [17:34:01]Sock 7.Thread stoped [17:34:04]accept exits with 9 [17:34:04]New connection [17:34:04]New thread 3067354468 created [17:34:04]Thread 3067497828 joined [17:34:04]Waiting for new connection... [17:34:04] Sock 9.Parse request [17:34:04]Sock 9.Check first char [17:34:04]Sock 9.First char is OK [17:34:04]request: POST /json_proto HTTP/1.1 [17:34:04]Method: POST [17:34:04]URL: /json_proto [17:34:04]Method is POST - this is cgi request [17:34:04]url: /json_proto [17:34:04]query_string will be loaded in cgi processing [17:34:04]execute_cgi json_proto POST (null) [17:34:04]execute_cgi path=json_proto method=POST [17:34:04]POST find Content-Length [17:34:04]Host: 172.17.42.3:8080 [17:34:04]Connection: keep-alive [17:34:04]Content-Length: 87 [17:34:04]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [17:34:04]Accept: application/json, text/plain, */* [17:34:04]Content-Type: application/json [17:34:04]Origin: http://172.17.42.3:8080 [17:34:04]Referer: http://172.17.42.3:8080/testengine [17:34:04]Accept-Encoding: gzip, deflate [17:34:04]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:34:04] [17:34:04]POST finish read [17:34:04]Found Content-Length = 87 [17:34:04]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"","value":""}}} [17:34:04]execute_script... [17:34:04]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"","value":""}}} [17:34:04]POST & json_proto [17:34:04]process_json_proto [17:34:04]json parsed OK: [17:34:04]protocol is kg_v1.0 [17:34:04]action value=set_value [17:34:04]process_action set_value [17:34:04]cmd_set_value [17:34:04]SetValue [17:34:04]SetValue res=1000 [17:34:04]process_action_free set_value [17:34:04]json_value_free [17:34:04]json_value_free done [17:34:04]process_json_proto returns [17:34:04]Send response to host [17:34:04]{"protocol":"kg_v1.0","response":{"error":3,"error_desc":"Bad value of field name"}} [17:34:04]free response buf [17:34:04]execute_script done [17:34:04]execute_script returns [17:34:04]free content buf [17:34:04]Sock 9.Close socket [17:34:04]Sock 9.Thread stoped [17:34:05]OFD Sender: No OFD packet to send [17:34:06]accept exits with 7 [17:34:06]New connection [17:34:06]New thread 3067497828 created [17:34:06]Thread 3067354468 joined [17:34:06]Waiting for new connection... [17:34:06] Sock 7.Parse request [17:34:06]Sock 7.Check first char [17:34:06]Sock 7.First char is OK [17:34:06]request: POST /json_proto HTTP/1.1 [17:34:06]Method: POST [17:34:06]URL: /json_proto [17:34:06]Method is POST - this is cgi request [17:34:06]url: /json_proto [17:34:06]query_string will be loaded in cgi processing [17:34:06]execute_cgi json_proto POST (null) [17:34:06]execute_cgi path=json_proto method=POST [17:34:06]POST find Content-Length [17:34:06]Host: 172.17.42.3:8080 [17:34:06]Connection: keep-alive [17:34:06]Content-Length: 105 [17:34:06]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [17:34:06]Accept: application/json, text/plain, */* [17:34:06]Content-Type: application/json [17:34:06]Origin: http://172.17.42.3:8080 [17:34:06]Referer: http://172.17.42.3:8080/testengine [17:34:06]Accept-Encoding: gzip, deflate [17:34:06]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:34:06] [17:34:06]POST finish read [17:34:06]Found Content-Length = 105 [17:34:06]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [17:34:06]execute_script... [17:34:06]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [17:34:06]POST & json_proto [17:34:06]process_json_proto [17:34:06]json parsed OK: [17:34:06]protocol is kg_v1.0 [17:34:06]action value=get_value [17:34:06]process_action get_value [17:34:06]cmd_get_value [17:34:06]process_action get_value done [17:34:06]requested_data is exist [17:34:06]produce_requested_data [17:34:06]requested_item config.timestamp is exist - process it [17:34:06]MH_GetDate [17:34:06]Write to MH i2c: F0 00 00 41 00 30 [17:34:06]Write i2c OK [17:34:06]MH_I2C_Read... [17:34:06]Read from MH i2c: F0 [17:34:06]MH_I2C_Read... [17:34:06]Read from MH i2c: F0 09 00 [17:34:06]MH_I2C_Read... [17:34:06]Read from MH i2c: F0 09 00 41 00 00 0E CB 1F 67 03 CB 1F 67 EC [17:34:06]produce_requested_data done [17:34:06]produce_requested_data return {"config.timestamp":"1730136846"} [17:34:06]process_action_free get_value [17:34:06]json_value_free [17:34:06]json_value_free done [17:34:06]process_json_proto returns [17:34:06]Send response to host [17:34:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"config.timestamp":"1730136846"}}} [17:34:06]free response buf [17:34:06]execute_script done [17:34:06]execute_script returns [17:34:06]free content buf [17:34:06]Sock 7.Close socket [17:34:06]Sock 7.Thread stoped [17:34:07]accept exits with 9 [17:34:07]New connection [17:34:07]New thread 3067354468 created [17:34:07]Thread 3067497828 joined [17:34:07]Waiting for new connection... [17:34:07] Sock 9.Parse request [17:34:07]Sock 9.Check first char [17:34:07]Sock 9.First char is OK [17:34:07]request: POST /json_proto HTTP/1.1 [17:34:07]Method: POST [17:34:07]URL: /json_proto [17:34:07]Method is POST - this is cgi request [17:34:07]url: /json_proto [17:34:07]query_string will be loaded in cgi processing [17:34:07]execute_cgi json_proto POST (null) [17:34:07]execute_cgi path=json_proto method=POST [17:34:07]POST find Content-Length [17:34:07]Host: 172.17.42.3:8080 [17:34:07]Connection: keep-alive [17:34:07]Content-Length: 113 [17:34:07]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [17:34:07]Accept: application/json, text/plain, */* [17:34:07]Content-Type: application/json [17:34:07]Origin: http://172.17.42.3:8080 [17:34:07]Referer: http://172.17.42.3:8080/testengine [17:34:07]Accept-Encoding: gzip, deflate [17:34:07]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:34:07] [17:34:07]POST finish read [17:34:07]Found Content-Length = 113 [17:34:07]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1730136846"}}} [17:34:07]execute_script... [17:34:07]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1730136846"}}} [17:34:07]POST & json_proto [17:34:07]process_json_proto [17:34:07]json parsed OK: [17:34:07]protocol is kg_v1.0 [17:34:07]action value=set_value [17:34:07]process_action set_value [17:34:07]cmd_set_value [17:34:07]SetValue [17:34:07]group config [17:34:07]SetConfigValue timestamp=1730136846 [17:34:07]SettingCheckAndSetValue timestamp=1730136846 [17:34:07]store_timestamp [17:34:07]MH_GetDate [17:34:07]Write to MH i2c: F0 00 00 42 00 31 [17:34:07]Write i2c OK [17:34:07]MH_I2C_Read... [17:34:07]Read from MH i2c: F0 [17:34:07]MH_I2C_Read... [17:34:07]Read from MH i2c: F0 09 00 [17:34:07]MH_I2C_Read... [17:34:07]Read from MH i2c: F0 09 00 42 00 00 0F CB 1F 67 03 CB 1F 67 EE [17:34:07]GetLastDocTimeStamp 1730135930 [17:34:07]cur date 1730136847 [17:34:07]tm 1730136846 [17:34:07]tm ok - set date [17:34:07]MH_SetDate [17:34:07]Write to MH i2c: F1 04 00 43 00 0E CB 1F 67 96 [17:34:07]Write i2c OK [17:34:07]MH_I2C_Read... [17:34:07]Read from MH i2c: F1 [17:34:07]MH_I2C_Read... [17:34:07]Read from MH i2c: F1 01 00 [17:34:07]MH_I2C_Read... [17:34:07]Read from MH i2c: F1 01 00 43 00 00 34 [17:34:06]SetValue res=0 [17:34:06]process_action set_value done [17:34:06]no requested_data - finishing processing [17:34:06]process_action_free set_value [17:34:06]json_value_free [17:34:06]json_value_free done [17:34:06]process_json_proto returns [17:34:06]Send response to host [17:34:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:34:06]free response buf [17:34:06]execute_script done [17:34:06]execute_script returns [17:34:06]free content buf [17:34:06]Sock 9.Close socket [17:34:06]Sock 9.Thread stoped [17:34:07]accept exits with 7 [17:34:07]New connection [17:34:07]New thread 3067497828 created [17:34:07]Thread 3067354468 joined [17:34:07]Waiting for new connection... [17:34:07] Sock 7.Parse request [17:34:07]Sock 7.Check first char [17:34:07]Sock 7.First char is OK [17:34:07]request: POST /json_proto HTTP/1.1 [17:34:07]Method: POST [17:34:07]URL: /json_proto [17:34:07]Method is POST - this is cgi request [17:34:07]url: /json_proto [17:34:07]query_string will be loaded in cgi processing [17:34:07]execute_cgi json_proto POST (null) [17:34:07]execute_cgi path=json_proto method=POST [17:34:07]POST find Content-Length [17:34:07]Host: 172.17.42.3:8080 [17:34:07]Connection: keep-alive [17:34:07]Content-Length: 105 [17:34:07]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [17:34:07]Accept: application/json, text/plain, */* [17:34:07]Content-Type: application/json [17:34:07]Origin: http://172.17.42.3:8080 [17:34:07]Referer: http://172.17.42.3:8080/testengine [17:34:07]Accept-Encoding: gzip, deflate [17:34:07]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:34:07] [17:34:07]POST finish read [17:34:07]Found Content-Length = 105 [17:34:07]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [17:34:07]execute_script... [17:34:07]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [17:34:07]POST & json_proto [17:34:07]process_json_proto [17:34:07]json parsed OK: [17:34:07]protocol is kg_v1.0 [17:34:07]action value=get_value [17:34:07]process_action get_value [17:34:07]cmd_get_value [17:34:07]process_action get_value done [17:34:07]requested_data is exist [17:34:07]produce_requested_data [17:34:07]requested_item config.timestamp is exist - process it [17:34:07]MH_GetDate [17:34:07]Write to MH i2c: F0 00 00 44 00 33 [17:34:07]Write i2c OK [17:34:07]MH_I2C_Read... [17:34:07]Read from MH i2c: F0 [17:34:07]MH_I2C_Read... [17:34:07]Read from MH i2c: F0 09 00 [17:34:07]MH_I2C_Read... [17:34:07]Read from MH i2c: F0 09 00 44 00 00 0F CB 1F 67 0E CB 1F 67 FB [17:34:07]produce_requested_data done [17:34:07]produce_requested_data return {"config.timestamp":"1730136847"} [17:34:07]process_action_free get_value [17:34:07]json_value_free [17:34:07]json_value_free done [17:34:07]process_json_proto returns [17:34:07]Send response to host [17:34:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"config.timestamp":"1730136847"}}} [17:34:07]free response buf [17:34:07]execute_script done [17:34:07]execute_script returns [17:34:07]free content buf [17:34:07]Sock 7.Close socket [17:34:07]Sock 7.Thread stoped [17:34:08]accept exits with 10 [17:34:08]New connection [17:34:08]New thread 3067354468 created [17:34:08]Thread 3067497828 joined [17:34:08]Waiting for new connection... [17:34:08] Sock 10.Parse request [17:34:08]Sock 10.Check first char [17:34:08]Sock 10.First char is OK [17:34:08]request: POST /json_proto HTTP/1.1 [17:34:08]Method: POST [17:34:08]URL: /json_proto [17:34:08]Method is POST - this is cgi request [17:34:08]url: /json_proto [17:34:08]query_string will be loaded in cgi processing [17:34:08]execute_cgi json_proto POST (null) [17:34:08]execute_cgi path=json_proto method=POST [17:34:08]POST find Content-Length [17:34:08]Host: 172.17.42.3:8080 [17:34:08]Connection: keep-alive [17:34:08]Content-Length: 105 [17:34:08]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [17:34:08]Accept: application/json, text/plain, */* [17:34:08]Content-Type: application/json [17:34:08]Origin: http://172.17.42.3:8080 [17:34:08]Referer: http://172.17.42.3:8080/testengine [17:34:08]Accept-Encoding: gzip, deflate [17:34:08]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:34:08] [17:34:08]POST finish read [17:34:08]Found Content-Length = 105 [17:34:08]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [17:34:08]execute_script... [17:34:08]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [17:34:08]POST & json_proto [17:34:08]process_json_proto [17:34:08]json parsed OK: [17:34:08]protocol is kg_v1.0 [17:34:08]action value=get_value [17:34:08]process_action get_value [17:34:08]cmd_get_value [17:34:08]process_action get_value done [17:34:08]requested_data is exist [17:34:08]produce_requested_data [17:34:08]requested_item config.timestamp is exist - process it [17:34:08]MH_GetDate [17:34:08]Write to MH i2c: F0 00 00 45 00 34 [17:34:08]Write i2c OK [17:34:08]MH_I2C_Read... [17:34:08]Read from MH i2c: F0 [17:34:08]MH_I2C_Read... [17:34:08]Read from MH i2c: F0 09 00 [17:34:08]MH_I2C_Read... [17:34:08]Read from MH i2c: F0 09 00 45 00 00 10 CB 1F 67 0E CB 1F 67 FD [17:34:08]produce_requested_data done [17:34:08]produce_requested_data return {"config.timestamp":"1730136848"} [17:34:08]process_action_free get_value [17:34:08]json_value_free [17:34:08]json_value_free done [17:34:08]process_json_proto returns [17:34:08]Send response to host [17:34:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"config.timestamp":"1730136848"}}} [17:34:08]free response buf [17:34:08]execute_script done [17:34:08]execute_script returns [17:34:08]free content buf [17:34:08]Sock 10.Close socket [17:34:08]Sock 10.Thread stoped [17:34:08]accept exits with 7 [17:34:08]New connection [17:34:08]New thread 3067497828 created [17:34:08]Thread 3067354468 joined [17:34:08]Waiting for new connection... [17:34:08] Sock 7.Parse request [17:34:08]Sock 7.Check first char [17:34:08]Sock 7.First char is OK [17:34:08]request: POST /json_proto HTTP/1.1 [17:34:08]Method: POST [17:34:08]URL: /json_proto [17:34:08]Method is POST - this is cgi request [17:34:08]url: /json_proto [17:34:08]query_string will be loaded in cgi processing [17:34:08]execute_cgi json_proto POST (null) [17:34:08]execute_cgi path=json_proto method=POST [17:34:08]POST find Content-Length [17:34:08]Host: 172.17.42.3:8080 [17:34:08]Connection: keep-alive [17:34:08]Content-Length: 105 [17:34:08]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [17:34:08]Accept: application/json, text/plain, */* [17:34:08]Content-Type: application/json [17:34:08]Origin: http://172.17.42.3:8080 [17:34:08]Referer: http://172.17.42.3:8080/testengine [17:34:08]Accept-Encoding: gzip, deflate [17:34:08]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:34:08] [17:34:08]POST finish read [17:34:08]Found Content-Length = 105 [17:34:08]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [17:34:08]execute_script... [17:34:08]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [17:34:08]POST & json_proto [17:34:08]process_json_proto [17:34:08]json parsed OK: [17:34:08]protocol is kg_v1.0 [17:34:08]action value=get_value [17:34:08]process_action get_value [17:34:08]cmd_get_value [17:34:08]process_action get_value done [17:34:08]requested_data is exist [17:34:08]produce_requested_data [17:34:08]requested_item config.timestamp is exist - process it [17:34:08]MH_GetDate [17:34:08]Write to MH i2c: F0 00 00 46 00 35 [17:34:08]Write i2c OK [17:34:08]MH_I2C_Read... [17:34:08]Read from MH i2c: F0 [17:34:08]MH_I2C_Read... [17:34:08]Read from MH i2c: F0 09 00 [17:34:08]MH_I2C_Read... [17:34:08]Read from MH i2c: F0 09 00 46 00 00 10 CB 1F 67 0E CB 1F 67 FE [17:34:08]produce_requested_data done [17:34:08]produce_requested_data return {"config.timestamp":"1730136848"} [17:34:08]process_action_free get_value [17:34:08]json_value_free [17:34:08]json_value_free done [17:34:08]process_json_proto returns [17:34:08]Send response to host [17:34:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"config.timestamp":"1730136848"}}} [17:34:08]free response buf [17:34:08]execute_script done [17:34:08]execute_script returns [17:34:08]free content buf [17:34:08]Sock 7.Close socket [17:34:08]Sock 7.Thread stoped [17:34:08]accept exits with 9 [17:34:08]New connection [17:34:08]New thread 3067354468 created [17:34:08]Thread 3067497828 joined [17:34:08]Waiting for new connection... [17:34:08] Sock 9.Parse request [17:34:08]Sock 9.Check first char [17:34:08]Sock 9.First char is OK [17:34:08]request: POST /json_proto HTTP/1.1 [17:34:08]Method: POST [17:34:08]URL: /json_proto [17:34:08]Method is POST - this is cgi request [17:34:08]url: /json_proto [17:34:08]query_string will be loaded in cgi processing [17:34:08]execute_cgi json_proto POST (null) [17:34:08]execute_cgi path=json_proto method=POST [17:34:08]POST find Content-Length [17:34:08]Host: 172.17.42.3:8080 [17:34:08]Connection: keep-alive [17:34:08]Content-Length: 105 [17:34:08]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [17:34:08]Accept: application/json, text/plain, */* [17:34:08]Content-Type: application/json [17:34:08]Origin: http://172.17.42.3:8080 [17:34:08]Referer: http://172.17.42.3:8080/testengine [17:34:08]Accept-Encoding: gzip, deflate [17:34:08]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:34:08] [17:34:08]POST finish read [17:34:08]Found Content-Length = 105 [17:34:08]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [17:34:08]execute_script... [17:34:08]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [17:34:08]POST & json_proto [17:34:08]process_json_proto [17:34:08]json parsed OK: [17:34:08]protocol is kg_v1.0 [17:34:08]action value=get_value [17:34:08]process_action get_value [17:34:08]cmd_get_value [17:34:08]process_action get_value done [17:34:08]requested_data is exist [17:34:08]produce_requested_data [17:34:08]requested_item config.timestamp is exist - process it [17:34:08]MH_GetDate [17:34:08]Write to MH i2c: F0 00 00 47 00 36 [17:34:08]Write i2c OK [17:34:08]MH_I2C_Read... [17:34:08]Read from MH i2c: F0 [17:34:08]MH_I2C_Read... [17:34:08]Read from MH i2c: F0 09 00 [17:34:08]MH_I2C_Read... [17:34:08]Read from MH i2c: F0 09 00 47 00 00 10 CB 1F 67 0E CB 1F 67 FF [17:34:08]produce_requested_data done [17:34:08]produce_requested_data return {"config.timestamp":"1730136848"} [17:34:08]process_action_free get_value [17:34:08]json_value_free [17:34:08]json_value_free done [17:34:08]process_json_proto returns [17:34:08]Send response to host [17:34:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"config.timestamp":"1730136848"}}} [17:34:08]free response buf [17:34:08]execute_script done [17:34:08]execute_script returns [17:34:08]free content buf [17:34:08]Sock 9.Close socket [17:34:08]Sock 9.Thread stoped [17:34:09]OFD Sender: No OFD packet to send [17:34:10]accept exits with 7 [17:34:10]New connection [17:34:10]New thread 3067497828 created [17:34:10]Thread 3067354468 joined [17:34:10]Waiting for new connection... [17:34:10] Sock 7.Parse request [17:34:10]Sock 7.Check first char [17:34:10]Sock 7.First char is OK [17:34:10]request: POST /json_proto HTTP/1.1 [17:34:10]Method: POST [17:34:10]URL: /json_proto [17:34:10]Method is POST - this is cgi request [17:34:10]url: /json_proto [17:34:10]query_string will be loaded in cgi processing [17:34:10]execute_cgi json_proto POST (null) [17:34:10]execute_cgi path=json_proto method=POST [17:34:10]POST find Content-Length [17:34:10]Host: 172.17.42.3:8080 [17:34:10]Connection: keep-alive [17:34:10]Content-Length: 105 [17:34:10]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 [17:34:10]Accept: application/json, text/plain, */* [17:34:10]Content-Type: application/json [17:34:10]Origin: http://172.17.42.3:8080 [17:34:10]Referer: http://172.17.42.3:8080/testengine [17:34:10]Accept-Encoding: gzip, deflate [17:34:10]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:34:10] [17:34:10]POST finish read [17:34:10]Found Content-Length = 105 [17:34:10]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [17:34:10]execute_script... [17:34:10]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [17:34:10]POST & json_proto [17:34:10]process_json_proto [17:34:10]json parsed OK: [17:34:10]protocol is kg_v1.0 [17:34:10]action value=get_value [17:34:10]process_action get_value [17:34:10]cmd_get_value [17:34:10]process_action get_value done [17:34:10]requested_data is exist [17:34:10]produce_requested_data [17:34:10]requested_item config.timestamp is exist - process it [17:34:10]MH_GetDate [17:34:10]Write to MH i2c: F0 00 00 48 00 37 [17:34:10]Write i2c OK [17:34:10]MH_I2C_Read... [17:34:10]Read from MH i2c: F0 [17:34:10]MH_I2C_Read... [17:34:10]Read from MH i2c: F0 09 00 [17:34:10]MH_I2C_Read... [17:34:10]Read from MH i2c: F0 09 00 48 00 00 12 CB 1F 67 0E CB 1F 67 02 [17:34:10]produce_requested_data done [17:34:10]produce_requested_data return {"config.timestamp":"1730136850"} [17:34:10]process_action_free get_value [17:34:10]json_value_free [17:34:10]json_value_free done [17:34:10]process_json_proto returns [17:34:10]Send response to host [17:34:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"config.timestamp":"1730136850"}}} [17:34:10]free response buf [17:34:10]execute_script done [17:34:10]execute_script returns [17:34:10]free content buf [17:34:10]Sock 7.Close socket [17:34:10]Sock 7.Thread stoped [17:34:14]OFD Sender: No OFD packet to send [17:34:19]OFD Sender: No OFD packet to send [17:34:24]OFD Sender: No OFD packet to send [17:34:29]OFD Sender: No OFD packet to send [17:34:34]OFD Sender: No OFD packet to send [17:34:39]OFD Sender: No OFD packet to send [17:34:44]OFD Sender: No OFD packet to send [17:34:49]OFD Sender: No OFD packet to send [17:34:50]accept exits with 9 [17:34:50]New connection [17:34:50]New thread 3067354468 created [17:34:50]Thread 3067497828 joined [17:34:50]Waiting for new connection... [17:34:50] Sock 9.Parse request [17:34:50]Sock 9.Check first char [17:34:50]Sock 9.First char is OK [17:34:50]request: POST /json_proto HTTP/1.0 [17:34:50]Method: POST [17:34:50]URL: /json_proto [17:34:50]Method is POST - this is cgi request [17:34:50]url: /json_proto [17:34:50]query_string will be loaded in cgi processing [17:34:50]execute_cgi json_proto POST (null) [17:34:50]execute_cgi path=json_proto method=POST [17:34:50]POST find Content-Length [17:34:50]Host: 172.17.42.3:8080 [17:34:50]Content-Length: 675 [17:34:50]Content-Type: application/json [17:34:50] [17:34:50]POST finish read [17:34:50]Found Content-Length = 675 [17:34:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46281", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 13.120, "sum" : 999.74, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 999.00, "payments": [ { "type": 0, "sum" : 999.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:34:50]execute_script... [17:34: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 : (1)46281", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 13.120, "sum" : 999.74, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 999.00, "payments": [ { "type": 0, "sum" : 999.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:34:50]POST & json_proto [17:34:50]process_json_proto [17:34:50]json parsed OK: [17:34:50]protocol is kg_v1.0 [17:34:50]action value=close_receipt [17:34:50]process_action close_receipt [17:34:50]cmd_close_receipt [17:34:50]MH_GetDate [17:34:50]Write to MH i2c: F0 00 00 49 00 38 [17:34:50]Write i2c OK [17:34:50]MH_I2C_Read... [17:34:50]Read from MH i2c: F0 [17:34:50]MH_I2C_Read... [17:34:50]Read from MH i2c: F0 09 00 [17:34:50]MH_I2C_Read... [17:34:50]Read from MH i2c: F0 09 00 49 00 00 3A CB 1F 67 0E CB 1F 67 2B [17:34:50]GetLastDocTimeStamp 1730135930 [17:34:50]current date 1730136890 [17:34:50]FM_GetShiftState [17:34:50]SAM_PROTO_GetShiftState [17:34:50]wFMCommunicate request_size=4 [17:34:50]MH_SAM_APDU [17:34:50]CAPDU: 80 13 01 00 [17:34:50]Write to MH i2c: E2 08 00 4A 00 80 13 01 00 00 00 00 00 C7 [17:34:50]Write i2c OK [17:34:50]MH_I2C_Read... [17:34:50]Read from MH i2c: E2 [17:34:50]MH_I2C_Read... [17:34:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:34:50]Read from MH i2c: E2 0E 00 [17:34:50]MH_I2C_Read... [17:34:50]Read from MH i2c: E2 0E 00 4A 00 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 C2 [17:34:50]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [17:34:50]wFMCommunicate OK [17:34:50]SAM_PROTO_GetShiftState done [17:34:50]FM_GetShiftState done [17:34:50]opened in 1730074770 [17:34:50]opened+sec_in_day 1730161170 [17:34:50]quantity*price = 99974 [17:34:50]sum+1 = 99975 [17:34:50]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.74 ИТОГО: 999.00 Внесено: 1000.00 СДАЧА: 1.00 НСП 1% : 8.85 НДС 12% : 106.17 Наличными: 999.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 130 28.10.2024 17:34 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68225 ФПД: 75206815540130 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T173450&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68225&fm=75206815540130&tin=02508201610067®Number=0000000000091759&sum=99900 [17:34:51]StoreToDocumentArchive [17:34:51]shift 547 fd 68225 [17:34:51]save to /storage/0547/doc_00068225 [17:34:51]save last doc name /storage/0547/doc_00068225 to /storage/kkm_last_doc_name [17:34:51]save OK [17:34:51]Clear old archive folders... [17:34:51]ProcessDocumentItem done err = 0, tmpTLVsize=248 [17:34:51]tlvbuf is 005D2A00 [17:34:51]SAM_PROTO_ClearQueue [17:34:51]wFMCommunicate request_size=4 [17:34:51]MH_SAM_APDU [17:34:51]CAPDU: 80 09 00 00 [17:34:51]Write to MH i2c: E2 08 00 57 00 80 09 00 00 00 00 00 00 C9 [17:34:51]Write i2c OK [17:34:51]MH_I2C_Read... [17:34:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:34:51]Read from MH i2c: E2 [17:34:51]MH_I2C_Read... [17:34:51]Read from MH i2c: E2 03 00 [17:34:51]MH_I2C_Read... [17:34:51]Read from MH i2c: E2 03 00 57 00 00 90 00 CB [17:34:51]RAPDU: 90 00 [17:34:51]wFMCommunicate OK [17:34:51]SAM_PROTO_ClearQueue done [17:34:51]KKMCreateOFDPacket [17:34:51]OFDProtocolAddRootSTLVToBuf [17:34:51]FM_MakeSignedData [17:34:51]FM_MakeSignedData [17:34:51]SAM_PROTO_SignData [17:34:51]wFMCommunicate request_size=4 [17:34:51]MH_SAM_APDU [17:34:51]CAPDU: 80 0D 01 02 [17:34:51]Write to MH i2c: E2 08 00 58 00 80 0D 01 02 00 00 00 00 D1 [17:34:51]Write i2c OK [17:34:51]MH_I2C_Read... [17:34:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:34:52]Read from MH i2c: E2 [17:34:52]MH_I2C_Read... [17:34:52]Read from MH i2c: E2 03 00 [17:34:52]MH_I2C_Read... [17:34:52]Read from MH i2c: E2 03 00 58 00 00 90 00 CC [17:34:52]RAPDU: 90 00 [17:34:52]wFMCommunicate OK [17:34:52]wFMCommunicate request_size=255 [17:34:52]MH_SAM_APDU [17:34:52]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 40 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 86 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 29 00 00 00 00 07 04 06 00 3C 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 82 00 00 00 F4 03 04 00 3A CB 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 81 0A 01 00 35 04 06 00 44 66 73 86 [17:34:52]Write to MH i2c: E2 02 01 59 00 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 40 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 86 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 29 00 00 00 00 07 04 06 00 3C 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 82 00 00 00 F4 03 04 00 3A CB 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 81 0A 01 00 35 04 06 00 44 66 73 86 00 00 9A [17:34:52]Write i2c OK [17:34:52]MH_I2C_Read... [17:34:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:34:52]Read from MH i2c: E2 [17:34:52]MH_I2C_Read... [17:34:52]Read from MH i2c: E2 03 00 [17:34:52]MH_I2C_Read... [17:34:52]Read from MH i2c: E2 03 00 59 00 00 90 00 CD [17:34:52]RAPDU: 90 00 [17:34:52]wFMCommunicate OK [17:34:52]wFMCommunicate request_size=7 [17:34:52]MH_SAM_APDU [17:34:52]CAPDU: 80 0D 02 02 02 63 A2 [17:34:52]Write to MH i2c: E2 0A 00 5A 00 80 0D 02 02 02 00 63 A2 00 00 DD [17:34:52]Write i2c OK [17:34:52]MH_I2C_Read... [17:34:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:34:52]Read from MH i2c: E2 [17:34:52]MH_I2C_Read... [17:34:52]Read from MH i2c: E2 03 00 [17:34:52]MH_I2C_Read... [17:34:52]Read from MH i2c: E2 03 00 5A 00 00 90 00 CE [17:34:52]RAPDU: 90 00 [17:34:52]wFMCommunicate OK [17:34:52]wFMCommunicate request_size=4 [17:34:52]MH_SAM_APDU [17:34:52]CAPDU: 80 0D 03 02 [17:34:52]Write to MH i2c: E2 08 00 5B 00 80 0D 03 02 00 00 00 00 D6 [17:34:52]Write i2c OK [17:34:52]MH_I2C_Read... [17:34:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:34:52]Read from MH i2c: E2 [17:34:52]MH_I2C_Read... [17:34:52]Read from MH i2c: E2 0B 00 [17:34:52]MH_I2C_Read... [17:34:52]Read from MH i2c: E2 0B 00 5B 00 00 CB 35 97 EC 43 D8 A9 97 90 00 B5 [17:34:52]RAPDU: CB 35 97 EC 43 D8 A9 97 90 00 [17:34:52]wFMCommunicate OK [17:34:52]SAM_PROTO_SignData done [17:34:52]FM_MakeSignedData done [17:34:52]CreateOFDProtocolMessage [17:34:52]wFMCommunicate request_size=4 [17:34:52]MH_SAM_APDU [17:34:52]CAPDU: 80 11 00 00 [17:34:52]Write to MH i2c: E2 08 00 5C 00 80 11 00 00 00 00 00 00 D6 [17:34:52]Write i2c OK [17:34:52]MH_I2C_Read... [17:34:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:34:52]Read from MH i2c: E2 [17:34:52]MH_I2C_Read... [17:34:52]Read from MH i2c: E2 17 00 [17:34:52]MH_I2C_Read... [17:34:52]Read from MH i2c: E2 17 00 5C 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 2D [17:34:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:34:52]wFMCommunicate OK [17:34:52]CreateOFDProtocolMessage done [17:34:52]OFDSenderStorePacket 68225 [17:34:52]StoreOFDPacket docnum=68225 [17:34:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 DD 7C 04 01 21 51 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 40 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 86 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 29 00 00 00 00 07 04 06 00 3C 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 82 00 00 00 F4 03 04 00 3A CB 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 81 0A 01 00 35 04 06 00 44 66 73 86 63 A2 CB 35 97 EC 43 D8 A9 97 [17:34:52]CheckFolder [17:34:52]dirname=/storage/ofd_packets [17:34:52]CheckFolder done [17:34:52]ProducePacketName [17:34:52]name=ofd_packets/00068225 [17:34:52]NVStorageSaveData ofd_packets/00068225 [17:34:52]File name is /storage/ofd_packets/00068225 [17:34:52]Write 298 bytes [17:34:52]NVStorageSaveData done [17:34:52]OFDSenderStorePacket done [17:34:52]KKMCreateOFDPacket done [17:34:52]NVStorageSaveData kkm_last_timestamp [17:34:52]File name is /storage/kkm_last_timestamp [17:34:52]Write 4 bytes [17:34:52]NVStorageSaveData done [17:34:52]ExternCall_PrintAddStr [17:34:52]wPrintStart [17:34:52]Write to MH i2c: 01 00 00 5D 00 5D [17:34:52]Write i2c OK [17:34:52]MH_I2C_Read... [17:34:52]Read from MH i2c: 01 [17:34:52]MH_I2C_Read... [17:34:52]Read from MH i2c: 01 07 00 [17:34:52]MH_I2C_Read... [17:34:52]Read from MH i2c: 01 07 00 5D 00 00 00 00 00 00 FF 0F 72 [17:34:52]RasterBufferAndPrint [17:34:52]line Счет N : (1)46281 [17:34:52]line ИНН: 02508201610067 [17:34:52]line Контрольно-Кассовый Чек [17:34:52]line ПРОДАЖА [17:34:52]line ТРК (МРК, ГНК) : 21 [17:34:52]line Товар: 2710194210 [17:34:52]line ДТ-К-5 [17:34:52]line 13.120 * 76.20 [17:34:52]line = 999.74 [17:34:52]line НДС 12% НСП 1% [17:34:52]line > о реализуемом товаре [17:34:52]line ОКРУГЛЕНИЕ: -0.74 [17:34:52]line ИТОГО: 999.00 [17:34:52]line Внесено: 1000.00 [17:34:52]line СДАЧА: 1.00 [17:34:52]line НСП 1% : 8.85 [17:34:52]line НДС 12% : 106.17 [17:34:52]line Наличными: 999.00 [17:34:52]line Безнал.: 0.00 [17:34:52]line Место: АЗС № 160 "Партнер Нефть" [17:34:52]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [17:34:52]line СНО: Общий режим [17:34:52]line Чек 130 28.10.2024 17:34 [17:34:52]line Смена: 547 ФФД: 1.0 [17:34:52]line ЗНМ: 0300000093 [17:34:52]line РНМ: 0000000000091759 [17:34:52]line Версия ККМ: 001 [17:34:52]line ФМ: 0000000000871758 [17:34:52]line ФД: 68225 [17:34:52]line ФПД: 75206815540130 [17:34:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T173450&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68225&fm=75206815540130&tin=02508201610067®Number=0000000000091759&sum=99900 [17:34:52]written 0, free lines is 4095 [17:34:52]OFD Sender: Processing packet 68225 [packets to send 27, broken 26] [17:34:52]ProducePacketName [17:34:52]name=ofd_packets/00068225 [17:34:52]OFD Sender: To server: pG, [17:34:52]CommunicateWithHost lk.salyk.kg:30040 [17:34:52]ConnectInit lk.salyk.kg [17:34:52]Connected sock=10 [17:34:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 DD 7C 04 01 21 51 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 40 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 86 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 29 00 00 00 00 07 04 06 00 3C 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 82 00 00 00 F4 03 04 00 3A CB 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 81 0A 01 00 35 04 06 00 44 66 73 86 63 A2 CB 35 97 EC 43 D8 A9 97 [17:34:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 E5 44 47 00 CF BA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 81 0A 01 00 F4 03 04 00 1A 77 1F 67 B6 04 01 00 00 A2 EA 26 0F 10 E3 73 1B [17:34:52]CommunicateWithHost err = 0 [17:34:52]CheckOFDResponse [17:34:52]1017 (14) - 77093643461234 [17:34:52]1041 (16) - 0000000000871758 [17:34:52]1040 (4) - 68225 [17:34:52]1012 (4) - 28.10.2024 11:35 [17:34:52]1206 (1) - 0 [17:34:52]OFD Sender: Remove packet 68225 [17:34:52]ProducePacketName [17:34:52]name=ofd_packets/00068225 [17:34:52]NVStorageDeleteData [17:34:52]Write to MH i2c: 01 00 00 87 00 87 [17:34:52]Write i2c OK [17:34:52]MH_I2C_Read... [17:34:52]Read from MH i2c: 01 [17:34:52]MH_I2C_Read... [17:34:52]Read from MH i2c: 01 07 00 [17:34:52]MH_I2C_Read... [17:34:52]Read from MH i2c: 01 07 00 87 00 00 00 00 00 00 DE 0C 78 [17:34:52]RasterBufferAndPrint [17:34:52]line [17:34:52]line [17:34:52]line [17:34:52]line [17:34:52]line [17:34:52]written 0, free lines is 3299 [17:34:52]MH_Cut [17:34:52]Write to MH i2c: D1 01 00 8E 00 01 60 [17:34:52]Write i2c OK [17:34:52]MH_I2C_Read... [17:34:52]Read from MH i2c: D1 [17:34:52]MH_I2C_Read... [17:34:52]Read from MH i2c: D1 01 00 [17:34:52]MH_I2C_Read... [17:34:52]Read from MH i2c: D1 01 00 8E 00 00 5F [17:34:52]Write to MH i2c: 01 00 00 8F 00 8F [17:34:52]Write i2c OK [17:34:52]MH_I2C_Read... [17:34:53]OFD Sender: No OFD packet to send [17:34:53]*** Cut start [17:34:53]*** Partial cut [17:34:53]*** CUTSNS_PIN = 1 [17:34:53]*** CUTSNS_PIN = 0 [17:34:53]*** Brake cut motor [17:34:54]Read from MH i2c: 01 [17:34:54]MH_I2C_Read... [17:34:54]*** Stop cut motor [17:34:54]*** Cut end [17:34:54]Read from MH i2c: 01 07 00 [17:34:54]MH_I2C_Read... [17:34:54]Read from MH i2c: 01 07 00 8F 00 00 00 00 00 00 FF 0F A4 [17:34:54]process_action close_receipt done [17:34:54]requested_data is exist [17:34:54]produce_requested_data [17:34:54]requested_item fm.sn is exist - process it [17:34:54]wFMCommunicate request_size=4 [17:34:54]MH_SAM_APDU [17:34:54]CAPDU: 80 11 00 00 [17:34:54]Write to MH i2c: E2 08 00 90 00 80 11 00 00 00 00 00 00 0A [17:34:54]Write i2c OK [17:34:54]MH_I2C_Read... [17:34:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:34:54]Read from MH i2c: E2 [17:34:54]MH_I2C_Read... [17:34:54]Read from MH i2c: E2 17 00 [17:34:54]MH_I2C_Read... [17:34:54]Read from MH i2c: E2 17 00 90 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 61 [17:34:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:34:54]wFMCommunicate OK [17:34:54]requested_item fd.num is exist - process it [17:34:54]SAM_PROTO_GetFieldsCounters [17:34:54]wFMCommunicate request_size=4 [17:34:54]MH_SAM_APDU [17:34:54]CAPDU: 80 13 00 00 [17:34:54]Write to MH i2c: E2 08 00 91 00 80 13 00 00 00 00 00 00 0D [17:34:54]Write i2c OK [17:34:54]MH_I2C_Read... [17:34:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:34:54]Read from MH i2c: E2 [17:34:54]MH_I2C_Read... [17:34:54]Read from MH i2c: E2 62 00 [17:34:54]MH_I2C_Read... [17:34:54]Read from MH i2c: E2 62 00 91 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 81 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 82 00 00 00 5E 04 04 00 82 00 00 00 57 04 04 00 83 00 00 00 19 04 04 00 00 00 00 00 90 00 6F [17:34:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 81 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 82 00 00 00 5E 04 04 00 82 00 00 00 57 04 04 00 83 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:34:54]wFMCommunicate OK [17:34:54]SAM_PROTO_GetFieldsCounters done [17:34:54]requested_item shift.num is exist - process it [17:34:54]requested_item shift.opened is exist - process it [17:34:54]req_shift_opened [17:34:54]FM_GetShiftState [17:34:54]SAM_PROTO_GetShiftState [17:34:54]wFMCommunicate request_size=4 [17:34:54]MH_SAM_APDU [17:34:54]CAPDU: 80 13 01 00 [17:34:54]Write to MH i2c: E2 08 00 92 00 80 13 01 00 00 00 00 00 0F [17:34:54]Write i2c OK [17:34:54]MH_I2C_Read... [17:34:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:34:54]Read from MH i2c: E2 [17:34:54]MH_I2C_Read... [17:34:54]Read from MH i2c: E2 0E 00 [17:34:54]MH_I2C_Read... [17:34:54]Read from MH i2c: E2 0E 00 92 00 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 0A [17:34:54]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [17:34:54]wFMCommunicate OK [17:34:54]SAM_PROTO_GetShiftState done [17:34:54]FM_GetShiftState done [17:34:54]req_shift_opened done [17:34:54]requested_item shift.open_date is exist - process it [17:34:54]req_shift_open_date [17:34:54]req_shift_open_date done [17:34:54]produce_requested_data done [17:34:54]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68225,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [17:34:54]process_action_free close_receipt [17:34:54]json_value_free [17:34:54]json_value_free done [17:34:54]process_json_proto returns [17:34:54]Send response to host [17:34:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68225,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [17:34:54]free response buf [17:34:54]execute_script done [17:34:54]execute_script returns [17:34:54]free content buf [17:34:54]Sock 9.Close socket [17:34:54]Sock 9.Thread stoped [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:10]accept exits with 7 [17:37:10]New connection [17:37:10]New thread 3067497828 created [17:37:10]Thread 3067354468 joined [17:37:10]Waiting for new connection... [17:37:10] Sock 7.Parse request [17:37:10]Sock 7.Check first char [17:37:10]Sock 7.First char is OK [17:37:10]request: POST /json_proto HTTP/1.0 [17:37:10]Method: POST [17:37:10]URL: /json_proto [17:37:10]Method is POST - this is cgi request [17:37:10]url: /json_proto [17:37:10]query_string will be loaded in cgi processing [17:37:10]execute_cgi json_proto POST (null) [17:37:10]execute_cgi path=json_proto method=POST [17:37:10]POST find Content-Length [17:37:10]Host: 172.17.42.3:8080 [17:37:10]Content-Length: 1137 [17:37:10]Content-Type: application/json [17:37:10] [17:37:10]POST finish read [17:37:10]Found Content-Length = 1137 [17:37:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17183", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 2.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 134.00, "quantity" : 4.000, "sum" : 536.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" : 790.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:37:10]execute_script... [17:37: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)17183", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 2.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 134.00, "quantity" : 4.000, "sum" : 536.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" : 790.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:37:10]POST & json_proto [17:37:10]process_json_proto [17:37:10]json parsed OK: [17:37:10]protocol is kg_v1.0 [17:37:10]action value=close_receipt [17:37:10]process_action close_receipt [17:37:10]cmd_close_receipt [17:37:10]MH_GetDate [17:37:10]Write to MH i2c: F0 00 00 93 00 82 [17:37:10]Write i2c OK [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: F0 [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: F0 09 00 [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: F0 09 00 93 00 00 C6 CB 1F 67 0E CB 1F 67 01 [17:37:10]GetLastDocTimeStamp 1730136890 [17:37:10]current date 1730137030 [17:37:10]FM_GetShiftState [17:37:10]SAM_PROTO_GetShiftState [17:37:10]wFMCommunicate request_size=4 [17:37:10]MH_SAM_APDU [17:37:10]CAPDU: 80 13 01 00 [17:37:10]Write to MH i2c: E2 08 00 94 00 80 13 01 00 00 00 00 00 11 [17:37:10]Write i2c OK [17:37:10]MH_I2C_Read... [17:37:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:37:10]Read from MH i2c: E2 [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: E2 0E 00 [17:37:10]MH_I2C_Read... [17:37:10]Read from MH i2c: E2 0E 00 94 00 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 0C [17:37:10]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [17:37:10]wFMCommunicate OK [17:37:10]SAM_PROTO_GetShiftState done [17:37:10]FM_GetShiftState done [17:37:10]opened in 1730074770 [17:37:10]opened+sec_in_day 1730161170 [17:37:10]quantity*price = 25000 [17:37:10]sum+1 = 25001 [17:37:10]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48741156 Сигареты LD Blue 4.000 * 134.00 = 536.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000031750019 Пакет Партнер Нефть 1.000 * 4.00 = 4.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 790.00 НСП 1% : 6.98 НДС 12% : 83.89 Наличными: 790.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 131 28.10.2024 17:37 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68226 ФПД: 136355355810553 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T173710&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68226&fm=136355355810553&tin=02508201610067®Number=0000000000091759&sum=79000 0 [17:37:11]StoreToDocumentArchive [17:37:11]shift 547 fd 68226 [17:37:11]save to /storage/0547/doc_00068226 [17:37:11]save last doc name /storage/0547/doc_00068226 to /storage/kkm_last_doc_name [17:37:11]save OK [17:37:11]Clear old archive folders... [17:37:11]ProcessDocumentItem done err = 0, tmpTLVsize=470 [17:37:11]tlvbuf is 005E3180 [17:37:11]SAM_PROTO_ClearQueue [17:37:11]wFMCommunicate request_size=4 [17:37:11]MH_SAM_APDU [17:37:11]CAPDU: 80 09 00 00 [17:37:11]Write to MH i2c: E2 08 00 A1 00 80 09 00 00 00 00 00 00 13 [17:37:11]Write i2c OK [17:37:11]MH_I2C_Read... [17:37:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:37:11]Read from MH i2c: E2 [17:37:11]MH_I2C_Read... [17:37:11]Read from MH i2c: E2 03 00 [17:37:11]MH_I2C_Read... [17:37:11]Read from MH i2c: E2 03 00 A1 00 00 90 00 15 [17:37:11]RAPDU: 90 00 [17:37:11]wFMCommunicate OK [17:37:11]SAM_PROTO_ClearQueue done [17:37:11]KKMCreateOFDPacket [17:37:11]OFDProtocolAddRootSTLVToBuf [17:37:11]FM_MakeSignedData [17:37:11]FM_MakeSignedData [17:37:11]SAM_PROTO_SignData [17:37:11]wFMCommunicate request_size=4 [17:37:11]MH_SAM_APDU [17:37:11]CAPDU: 80 0D 01 02 [17:37:11]Write to MH i2c: E2 08 00 A2 00 80 0D 01 02 00 00 00 00 1B [17:37:11]Write i2c OK [17:37:11]MH_I2C_Read... [17:37:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:37:11]Read from MH i2c: E2 [17:37:11]MH_I2C_Read... [17:37:11]Read from MH i2c: E2 03 00 [17:37:11]MH_I2C_Read... [17:37:11]Read from MH i2c: E2 03 00 A2 00 00 90 00 16 [17:37:11]RAPDU: 90 00 [17:37:11]wFMCommunicate OK [17:37:11]wFMCommunicate request_size=255 [17:37:11]MH_SAM_APDU [17:37:11]CAPDU: 80 0D 02 02 FA 03 00 D6 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 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 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 60 D1 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 [17:37:11]Write to MH i2c: E2 02 01 A3 00 80 0D 02 02 FA 00 03 00 D6 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 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 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 60 D1 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 00 00 BB [17:37:11]Write i2c OK [17:37:11]MH_I2C_Read... [17:37:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:37:12]Read from MH i2c: E2 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: E2 03 00 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: E2 03 00 A3 00 00 90 00 17 [17:37:12]RAPDU: 90 00 [17:37:12]wFMCommunicate OK [17:37:12]wFMCommunicate request_size=229 [17:37:12]MH_SAM_APDU [17:37:12]CAPDU: 80 0D 02 02 E0 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 98 34 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 20 00 00 00 00 07 04 06 00 98 34 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 83 00 00 00 F4 03 04 00 C6 CB 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 82 0A 01 00 35 04 06 00 7C 03 B4 8B DA F9 [17:37:12]Write to MH i2c: E2 E8 00 A4 00 80 0D 02 02 E0 00 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 98 34 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 20 00 00 00 00 07 04 06 00 98 34 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 83 00 00 00 F4 03 04 00 C6 CB 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 82 0A 01 00 35 04 06 00 7C 03 B4 8B DA F9 00 00 05 [17:37:12]Write i2c OK [17:37:12]MH_I2C_Read... [17:37:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:37:12]Read from MH i2c: E2 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: E2 03 00 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: E2 03 00 A4 00 00 90 00 18 [17:37:12]RAPDU: 90 00 [17:37:12]wFMCommunicate OK [17:37:12]wFMCommunicate request_size=4 [17:37:12]MH_SAM_APDU [17:37:12]CAPDU: 80 0D 03 02 [17:37:12]Write to MH i2c: E2 08 00 A5 00 80 0D 03 02 00 00 00 00 20 [17:37:12]Write i2c OK [17:37:12]MH_I2C_Read... [17:37:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:37:12]Read from MH i2c: E2 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: E2 0B 00 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: E2 0B 00 A5 00 00 06 93 3B D8 78 10 B4 1F 90 00 28 [17:37:12]RAPDU: 06 93 3B D8 78 10 B4 1F 90 00 [17:37:12]wFMCommunicate OK [17:37:12]SAM_PROTO_SignData done [17:37:12]FM_MakeSignedData done [17:37:12]CreateOFDProtocolMessage [17:37:12]wFMCommunicate request_size=4 [17:37:12]MH_SAM_APDU [17:37:12]CAPDU: 80 11 00 00 [17:37:12]Write to MH i2c: E2 08 00 A6 00 80 11 00 00 00 00 00 00 20 [17:37:12]Write i2c OK [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: E2 [17:37:12]MH_I2C_Read... [17:37:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:37:12]Read from MH i2c: E2 17 00 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: E2 17 00 A6 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 77 [17:37:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:37:12]wFMCommunicate OK [17:37:12]CreateOFDProtocolMessage done [17:37:12]OFDSenderStorePacket 68226 [17:37:12]StoreOFDPacket docnum=68226 [17:37:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 EA 01 00 00 AD 86 E2 01 F7 18 5A 03 01 00 03 00 D6 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 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 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 60 D1 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 98 34 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 20 00 00 00 00 07 04 06 00 98 34 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 83 00 00 00 F4 03 04 00 C6 CB 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 82 0A 01 00 35 04 06 00 7C 03 B4 8B DA F9 06 93 3B D8 78 10 B4 1F [17:37:12]CheckFolder [17:37:12]dirname=/storage/ofd_packets [17:37:12]CheckFolder done [17:37:12]ProducePacketName [17:37:12]name=ofd_packets/00068226 [17:37:12]NVStorageSaveData ofd_packets/00068226 [17:37:12]File name is /storage/ofd_packets/00068226 [17:37:12]Write 520 bytes [17:37:12]NVStorageSaveData done [17:37:12]OFDSenderStorePacket done [17:37:12]KKMCreateOFDPacket done [17:37:12]NVStorageSaveData kkm_last_timestamp [17:37:12]File name is /storage/kkm_last_timestamp [17:37:12]Write 4 bytes [17:37:12]NVStorageSaveData done [17:37:12]ExternCall_PrintAddStr [17:37:12]wPrintStart [17:37:12]Write to MH i2c: 01 00 00 A7 00 A7 [17:37:12]Write i2c OK [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: 01 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: 01 07 00 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: 01 07 00 A7 00 00 00 00 00 00 FF 0F BC [17:37:12]RasterBufferAndPrint [17:37:12]line Счет N : (3)17183 [17:37:12]line ИНН: 02508201610067 [17:37:12]line Контрольно-Кассовый Чек [17:37:12]line ПРОДАЖА [17:37:12]line Товар: 5449000006271 [17:37:12]line Напиток Фанта 1л [17:37:12]line 2.000 * 125.00 [17:37:12]line = 250.00 [17:37:12]line НДС 12% НСП 1% [17:37:12]line > о реализуемом товаре [17:37:12]line Товар: 48741156 [17:37:12]line Сигареты LD Blue [17:37:12]line 4.000 * 134.00 [17:37:12]line = 536.00 [17:37:12]line НДС 12% НСП 1% [17:37:12]line > о реализуемом товаре [17:37:12]line Товар: 2000031750019 [17:37:12]line Пакет Партнер Нефть [17:37:12]line 1.000 * 4.00 [17:37:12]line = 4.00 [17:37:12]line НДС 12% НСП 1% [17:37:12]line > о реализуемом товаре [17:37:12]line ИТОГО: 790.00 [17:37:12]line НСП 1% : 6.98 [17:37:12]line НДС 12% : 83.89 [17:37:12]line Наличными: 790.00 [17:37:12]line Безнал.: 0.00 [17:37:12]line Место: АЗС № 160 "Партнер Нефть" [17:37:12]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [17:37:12]line СНО: Общий режим [17:37:12]line Чек 131 28.10.2024 17:37 [17:37:12]line Смена: 547 ФФД: 1.0 [17:37:12]line ЗНМ: 0300000093 [17:37:12]line РНМ: 0000000000091759 [17:37:12]line Версия ККМ: 001 [17:37:12]line ФМ: 0000000000871758 [17:37:12]line ФД: 68226 [17:37:12]line ФПД: 136355355810553 [17:37:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T173710&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68226&fm=136355355810553&tin=02508201610067®Number=0000000000091759&sum=79000 [17:37:12]line 0 [17:37:12]written 0, free lines is 4095 [17:37:12]OFD Sender: Processing packet 68226 [packets to send 27, broken 26] [17:37:12]ProducePacketName [17:37:12]name=ofd_packets/00068226 [17:37:12]OFD Sender: To server: pG, [17:37:12]CommunicateWithHost lk.salyk.kg:30040 [17:37:12]ConnectInit lk.salyk.kg [17:37:12]Connected sock=10 [17:37:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 EA 01 00 00 AD 86 E2 01 F7 18 5A 03 01 00 03 00 D6 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 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 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 60 D1 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 98 34 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 20 00 00 00 00 07 04 06 00 98 34 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 83 00 00 00 F4 03 04 00 C6 CB 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 82 0A 01 00 35 04 06 00 7C 03 B4 8B DA F9 06 93 3B D8 78 10 B4 1F [17:37:12]Write to MH i2c: 01 00 00 DA 00 DA [17:37:12]Write i2c OK [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: 01 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: 01 07 00 [17:37:12]MH_I2C_Read... [17:37:12]Read from MH i2c: 01 07 00 DA 00 00 00 00 00 00 5B 0C 48 [17:37:12]RasterBufferAndPrint [17:37:12]line [17:37:12]line [17:37:12]line [17:37:12]line [17:37:12]line [17:37:12]written 0, free lines is 3169 [17:37:13]MH_Cut [17:37:13]Write to MH i2c: D1 01 00 E1 00 01 B3 [17:37:13]Write i2c OK [17:37:13]MH_I2C_Read... [17:37:13]Read from MH i2c: D1 [17:37:13]MH_I2C_Read... [17:37:13]Read from MH i2c: D1 01 00 [17:37:13]MH_I2C_Read... [17:37:13]Read from MH i2c: D1 01 00 E1 00 00 B2 [17:37:13]Write to MH i2c: 01 00 00 E2 00 E2 [17:37:13]Write i2c OK [17:37:13]MH_I2C_Read... [17:37:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 4A D1 47 00 62 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 38 37 31 37 35 38 10 04 04 00 82 0A 01 00 F4 03 04 00 A7 77 1F 67 B6 04 01 00 00 36 BF C0 3A 06 65 13 3F [17:37:13]CommunicateWithHost err = 0 [17:37:13]CheckOFDResponse [17:37:13]1017 (14) - 77093643461234 [17:37:13]1041 (16) - 0000000000871758 [17:37:13]1040 (4) - 68226 [17:37:13]1012 (4) - 28.10.2024 11:38 [17:37:13]1206 (1) - 0 [17:37:13]OFD Sender: Remove packet 68226 [17:37:13]ProducePacketName [17:37:13]name=ofd_packets/00068226 [17:37:13]NVStorageDeleteData [17:37:13]OFD Sender: No OFD packet to send [17:37:13]*** Cut start [17:37:13]*** Partial cut [17:37:13]*** CUTSNS_PIN = 1 [17:37:13]*** CUTSNS_PIN = 0 [17:37:14]*** Brake cut motor [17:37:14]Read from MH i2c: 01 [17:37:14]MH_I2C_Read... [17:37:14]*** Stop cut motor [17:37:14]*** Cut end [17:37:14]Read from MH i2c: 01 07 00 [17:37:14]MH_I2C_Read... [17:37:14]Read from MH i2c: 01 07 00 E2 00 00 00 00 00 00 FF 0F F7 [17:37:14]process_action close_receipt done [17:37:14]requested_data is exist [17:37:14]produce_requested_data [17:37:14]requested_item fm.sn is exist - process it [17:37:14]wFMCommunicate request_size=4 [17:37:14]MH_SAM_APDU [17:37:14]CAPDU: 80 11 00 00 [17:37:14]Write to MH i2c: E2 08 00 E3 00 80 11 00 00 00 00 00 00 5D [17:37:14]Write i2c OK [17:37:14]MH_I2C_Read... [17:37:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:37:14]Read from MH i2c: E2 [17:37:14]MH_I2C_Read... [17:37:14]Read from MH i2c: E2 17 00 [17:37:14]MH_I2C_Read... [17:37:14]Read from MH i2c: E2 17 00 E3 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 B4 [17:37:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:37:14]wFMCommunicate OK [17:37:14]requested_item fd.num is exist - process it [17:37:14]SAM_PROTO_GetFieldsCounters [17:37:14]wFMCommunicate request_size=4 [17:37:14]MH_SAM_APDU [17:37:14]CAPDU: 80 13 00 00 [17:37:14]Write to MH i2c: E2 08 00 E4 00 80 13 00 00 00 00 00 00 60 [17:37:14]Write i2c OK [17:37:14]MH_I2C_Read... [17:37:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:37:14]Read from MH i2c: E2 [17:37:14]MH_I2C_Read... [17:37:14]Read from MH i2c: E2 62 00 [17:37:14]MH_I2C_Read... [17:37:14]Read from MH i2c: E2 62 00 E4 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 82 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 83 00 00 00 5E 04 04 00 83 00 00 00 57 04 04 00 84 00 00 00 19 04 04 00 00 00 00 00 90 00 C6 [17:37:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 82 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 83 00 00 00 5E 04 04 00 83 00 00 00 57 04 04 00 84 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:37:14]wFMCommunicate OK [17:37:14]SAM_PROTO_GetFieldsCounters done [17:37:14]requested_item shift.num is exist - process it [17:37:14]requested_item shift.opened is exist - process it [17:37:14]req_shift_opened [17:37:14]FM_GetShiftState [17:37:14]SAM_PROTO_GetShiftState [17:37:14]wFMCommunicate request_size=4 [17:37:14]MH_SAM_APDU [17:37:14]CAPDU: 80 13 01 00 [17:37:14]Write to MH i2c: E2 08 00 E5 00 80 13 01 00 00 00 00 00 62 [17:37:14]Write i2c OK [17:37:14]MH_I2C_Read... [17:37:14]Read from MH i2c: E2 [17:37:14]MH_I2C_Read... [17:37:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:37:14]Read from MH i2c: E2 0E 00 [17:37:14]MH_I2C_Read... [17:37:14]Read from MH i2c: E2 0E 00 E5 00 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 5D [17:37:14]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [17:37:14]wFMCommunicate OK [17:37:14]SAM_PROTO_GetShiftState done [17:37:14]FM_GetShiftState done [17:37:14]req_shift_opened done [17:37:14]requested_item shift.open_date is exist - process it [17:37:14]req_shift_open_date [17:37:14]req_shift_open_date done [17:37:14]produce_requested_data done [17:37:14]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68226,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [17:37:14]process_action_free close_receipt [17:37:14]json_value_free [17:37:14]json_value_free done [17:37:14]process_json_proto returns [17:37:14]Send response to host [17:37:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68226,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [17:37:14]free response buf [17:37:14]execute_script done [17:37:14]execute_script returns [17:37:14]free content buf [17:37:14]Sock 7.Close socket [17:37:14]Sock 7.Thread stoped [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:45]accept exits with 9 [17:39:45]New connection [17:39:45]New thread 3067354468 created [17:39:45]Thread 3067497828 joined [17:39:45]Waiting for new connection... [17:39:45] Sock 9.Parse request [17:39:45]Sock 9.Check first char [17:39:45]Sock 9.First char is OK [17:39:45]request: POST /json_proto HTTP/1.0 [17:39:45]Method: POST [17:39:45]URL: /json_proto [17:39:45]Method is POST - this is cgi request [17:39:45]url: /json_proto [17:39:45]query_string will be loaded in cgi processing [17:39:45]execute_cgi json_proto POST (null) [17:39:45]execute_cgi path=json_proto method=POST [17:39:45]POST find Content-Length [17:39:45]Host: 172.17.42.3:8080 [17:39:45]Content-Length: 766 [17:39:45]Content-Type: application/json [17:39:45] [17:39:45]POST finish read [17:39:45]Found Content-Length = 766 [17:39:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46282", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 10.000, "sum" : 669.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: Mbank", "payments": [ { "type": 1, "sum" : 669.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:39:45]execute_script... [17:39: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 : (1)46282", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 10.000, "sum" : 669.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: Mbank", "payments": [ { "type": 1, "sum" : 669.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:39:45]POST & json_proto [17:39:45]process_json_proto [17:39:45]json parsed OK: [17:39:45]protocol is kg_v1.0 [17:39:45]action value=close_receipt [17:39:45]process_action close_receipt [17:39:45]cmd_close_receipt [17:39:45]MH_GetDate [17:39:45]Write to MH i2c: F0 00 00 E6 00 D5 [17:39:45]Write i2c OK [17:39:45]MH_I2C_Read... [17:39:45]Read from MH i2c: F0 [17:39:45]MH_I2C_Read... [17:39:45]Read from MH i2c: F0 09 00 [17:39:45]MH_I2C_Read... [17:39:45]Read from MH i2c: F0 09 00 E6 00 00 62 CC 1F 67 0E CB 1F 67 F1 [17:39:45]GetLastDocTimeStamp 1730137030 [17:39:45]current date 1730137186 [17:39:45]FM_GetShiftState [17:39:45]SAM_PROTO_GetShiftState [17:39:45]wFMCommunicate request_size=4 [17:39:45]MH_SAM_APDU [17:39:45]CAPDU: 80 13 01 00 [17:39:45]Write to MH i2c: E2 08 00 E7 00 80 13 01 00 00 00 00 00 64 [17:39:45]Write i2c OK [17:39:45]MH_I2C_Read... [17:39:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:39:46]Read from MH i2c: E2 [17:39:46]MH_I2C_Read... [17:39:46]Read from MH i2c: E2 0E 00 [17:39:46]MH_I2C_Read... [17:39:46]Read from MH i2c: E2 0E 00 E7 00 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 5F [17:39:46]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [17:39:46]wFMCommunicate OK [17:39:46]SAM_PROTO_GetShiftState done [17:39:46]FM_GetShiftState done [17:39:46]opened in 1730074770 [17:39:46]opened+sec_in_day 1730161170 [17:39:46]quantity*price = 66900 [17:39:46]sum+1 = 66901 [17:39:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 669.00 НСП 1% : 5.92 НДС 12% : 71.04 Наличными: 0.00 Безнал.: 669.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 132 28.10.2024 17:39 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68227 ФПД: 68808699520099 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T173946&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68227&fm=68808699520099&tin=02508201610067®Number=0000000000091759&sum=66900 [17:39:47]StoreToDocumentArchive [17:39:47]shift 547 fd 68227 [17:39:47]save to /storage/0547/doc_00068227 [17:39:47]save last doc name /storage/0547/doc_00068227 to /storage/kkm_last_doc_name [17:39:47]save OK [17:39:47]Clear old archive folders... [17:39:47]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:39:47]tlvbuf is 005BDB00 [17:39:47]SAM_PROTO_ClearQueue [17:39:47]wFMCommunicate request_size=4 [17:39:47]MH_SAM_APDU [17:39:47]CAPDU: 80 09 00 00 [17:39:47]Write to MH i2c: E2 08 00 F4 00 80 09 00 00 00 00 00 00 66 [17:39:47]Write i2c OK [17:39:47]MH_I2C_Read... [17:39:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:39:47]Read from MH i2c: E2 [17:39:47]MH_I2C_Read... [17:39:47]Read from MH i2c: E2 03 00 [17:39:47]MH_I2C_Read... [17:39:47]Read from MH i2c: E2 03 00 F4 00 00 90 00 68 [17:39:47]RAPDU: 90 00 [17:39:47]wFMCommunicate OK [17:39:47]SAM_PROTO_ClearQueue done [17:39:47]KKMCreateOFDPacket [17:39:47]OFDProtocolAddRootSTLVToBuf [17:39:47]FM_MakeSignedData [17:39:47]FM_MakeSignedData [17:39:47]SAM_PROTO_SignData [17:39:47]wFMCommunicate request_size=4 [17:39:47]MH_SAM_APDU [17:39:47]CAPDU: 80 0D 01 02 [17:39:47]Write to MH i2c: E2 08 00 F5 00 80 0D 01 02 00 00 00 00 6E [17:39:47]Write i2c OK [17:39:47]MH_I2C_Read... [17:39:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:39:47]Read from MH i2c: E2 [17:39:47]MH_I2C_Read... [17:39:47]Read from MH i2c: E2 03 00 [17:39:47]MH_I2C_Read... [17:39:47]Read from MH i2c: E2 03 00 F5 00 00 90 00 69 [17:39:47]RAPDU: 90 00 [17:39:47]wFMCommunicate OK [17:39:47]wFMCommunicate request_size=255 [17:39:47]MH_SAM_APDU [17:39:47]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 54 05 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 05 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 1B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 05 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 84 00 00 00 F4 03 04 00 62 CC 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 83 0A 01 00 35 04 06 00 3E [17:39:47]Write to MH i2c: E2 02 01 F6 00 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 54 05 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 05 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 1B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 05 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 84 00 00 00 F4 03 04 00 62 CC 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 83 0A 01 00 35 04 06 00 3E 00 00 59 [17:39:47]Write i2c OK [17:39:47]MH_I2C_Read... [17:39:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:39:47]Read from MH i2c: E2 [17:39:47]MH_I2C_Read... [17:39:47]Read from MH i2c: E2 03 00 [17:39:47]MH_I2C_Read... [17:39:47]Read from MH i2c: E2 03 00 F6 00 00 90 00 6A [17:39:47]RAPDU: 90 00 [17:39:47]wFMCommunicate OK [17:39:47]wFMCommunicate request_size=10 [17:39:47]MH_SAM_APDU [17:39:47]CAPDU: 80 0D 02 02 05 94 C6 17 A4 63 [17:39:47]Write to MH i2c: E2 0D 00 F7 00 80 0D 02 02 05 00 94 C6 17 A4 63 00 00 F3 [17:39:47]Write i2c OK [17:39:47]MH_I2C_Read... [17:39:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:39:47]Read from MH i2c: E2 [17:39:47]MH_I2C_Read... [17:39:47]Read from MH i2c: E2 03 00 [17:39:47]MH_I2C_Read... [17:39:47]Read from MH i2c: E2 03 00 F7 00 00 90 00 6B [17:39:47]RAPDU: 90 00 [17:39:47]wFMCommunicate OK [17:39:47]wFMCommunicate request_size=4 [17:39:47]MH_SAM_APDU [17:39:47]CAPDU: 80 0D 03 02 [17:39:47]Write to MH i2c: E2 08 00 F8 00 80 0D 03 02 00 00 00 00 73 [17:39:47]Write i2c OK [17:39:47]MH_I2C_Read... [17:39:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:39:47]Read from MH i2c: E2 [17:39:47]MH_I2C_Read... [17:39:47]Read from MH i2c: E2 0B 00 [17:39:47]MH_I2C_Read... [17:39:47]Read from MH i2c: E2 0B 00 F8 00 00 A4 C9 0D 30 3A 17 3E 43 90 00 F0 [17:39:47]RAPDU: A4 C9 0D 30 3A 17 3E 43 90 00 [17:39:47]wFMCommunicate OK [17:39:47]SAM_PROTO_SignData done [17:39:47]FM_MakeSignedData done [17:39:47]CreateOFDProtocolMessage [17:39:47]wFMCommunicate request_size=4 [17:39:47]MH_SAM_APDU [17:39:47]CAPDU: 80 11 00 00 [17:39:47]Write to MH i2c: E2 08 00 F9 00 80 11 00 00 00 00 00 00 73 [17:39:47]Write i2c OK [17:39:47]MH_I2C_Read... [17:39:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:39:47]Read from MH i2c: E2 [17:39:47]MH_I2C_Read... [17:39:47]Read from MH i2c: E2 17 00 [17:39:47]MH_I2C_Read... [17:39:47]Read from MH i2c: E2 17 00 F9 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 CA [17:39:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:39:47]wFMCommunicate OK [17:39:47]CreateOFDProtocolMessage done [17:39:47]OFDSenderStorePacket 68227 [17:39:47]StoreOFDPacket docnum=68227 [17:39:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 A6 73 07 01 EA B9 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 54 05 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 05 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 1B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 05 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 84 00 00 00 F4 03 04 00 62 CC 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 83 0A 01 00 35 04 06 00 3E 94 C6 17 A4 63 A4 C9 0D 30 3A 17 3E 43 [17:39:47]CheckFolder [17:39:47]dirname=/storage/ofd_packets [17:39:47]CheckFolder done [17:39:47]ProducePacketName [17:39:47]name=ofd_packets/00068227 [17:39:47]NVStorageSaveData ofd_packets/00068227 [17:39:47]File name is /storage/ofd_packets/00068227 [17:39:47]Write 301 bytes [17:39:47]NVStorageSaveData done [17:39:47]OFDSenderStorePacket done [17:39:47]KKMCreateOFDPacket done [17:39:47]NVStorageSaveData kkm_last_timestamp [17:39:47]File name is /storage/kkm_last_timestamp [17:39:47]Write 4 bytes [17:39:47]NVStorageSaveData done [17:39:47]ExternCall_PrintAddStr [17:39:47]wPrintStart [17:39:47]Write to MH i2c: 01 00 00 FA 00 FA [17:39:47]Write i2c OK [17:39:47]MH_I2C_Read... [17:39:47]Read from MH i2c: 01 [17:39:47]MH_I2C_Read... [17:39:47]Read from MH i2c: 01 07 00 [17:39:47]MH_I2C_Read... [17:39:47]Read from MH i2c: 01 07 00 FA 00 00 00 00 00 00 FF 0F 0F [17:39:47]RasterBufferAndPrint [17:39:47]line Счет N : (1)46282 [17:39:47]line ИНН: 02508201610067 [17:39:47]line Контрольно-Кассовый Чек [17:39:47]line ПРОДАЖА [17:39:47]line ТРК (МРК, ГНК) : 13 [17:39:47]line Товар: 2710124130 [17:39:47]line Аи-92-К-5 [17:39:47]line 10.000 * 66.90 [17:39:47]line = 669.00 [17:39:47]line НДС 12% НСП 1% [17:39:47]line > о реализуемом товаре [17:39:47]line ИТОГО: 669.00 [17:39:47]line НСП 1% : 5.92 [17:39:47]line НДС 12% : 71.04 [17:39:47]line Наличными: 0.00 [17:39:47]line Безнал.: 669.00 [17:39:47]line Место: АЗС № 160 "Партнер Нефть" [17:39:47]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [17:39:47]line СНО: Общий режим [17:39:47]line Чек 132 28.10.2024 17:39 [17:39:47]line Смена: 547 ФФД: 1.0 [17:39:47]line ЗНМ: 0300000093 [17:39:47]line РНМ: 0000000000091759 [17:39:47]line Версия ККМ: 001 [17:39:47]line Платежная система: Mbank [17:39:47]line ФМ: 0000000000871758 [17:39:47]line ФД: 68227 [17:39:47]line ФПД: 68808699520099 [17:39:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T173946&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68227&fm=68808699520099&tin=02508201610067®Number=0000000000091759&sum=66900 [17:39:47]written 0, free lines is 4095 [17:39:47]OFD Sender: Processing packet 68227 [packets to send 27, broken 26] [17:39:47]ProducePacketName [17:39:47]name=ofd_packets/00068227 [17:39:47]OFD Sender: To server: pG, [17:39:48]CommunicateWithHost lk.salyk.kg:30040 [17:39:48]ConnectInit lk.salyk.kg [17:39:48]Connected sock=10 [17:39:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 A6 73 07 01 EA B9 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 54 05 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 05 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 1B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 05 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 84 00 00 00 F4 03 04 00 62 CC 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 83 0A 01 00 35 04 06 00 3E 94 C6 17 A4 63 A4 C9 0D 30 3A 17 3E 43 [17:39:48]Write to MH i2c: 01 00 00 22 01 23 [17:39:48]Write i2c OK [17:39:48]MH_I2C_Read... [17:39:48]Read from MH i2c: 01 [17:39:48]MH_I2C_Read... [17:39:48]Read from MH i2c: 01 07 00 [17:39:48]MH_I2C_Read... [17:39:48]Read from MH i2c: 01 07 00 22 01 00 00 00 00 00 F7 0C 2D [17:39:48]RasterBufferAndPrint [17:39:48]line [17:39:48]line [17:39:48]line [17:39:48]line [17:39:48]line [17:39:48]written 0, free lines is 3325 [17:39:48]MH_Cut [17:39:48]Write to MH i2c: D1 01 00 29 01 01 FC [17:39:48]Write i2c OK [17:39:48]MH_I2C_Read... [17:39:48]Read from MH i2c: D1 [17:39:48]MH_I2C_Read... [17:39:48]Read from MH i2c: D1 01 00 [17:39:48]MH_I2C_Read... [17:39:48]Read from MH i2c: D1 01 00 29 01 00 FB [17:39:48]Write to MH i2c: 01 00 00 2A 01 2B [17:39:48]Write i2c OK [17:39:48]MH_I2C_Read... [17:39:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 8C 2E 47 00 07 0E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 83 0A 01 00 F4 03 04 00 42 78 1F 67 B6 04 01 00 00 0F 9D 03 C0 CE 44 43 72 [17:39:48]CommunicateWithHost err = 0 [17:39:48]CheckOFDResponse [17:39:48]1017 (14) - 77093643461234 [17:39:48]1041 (16) - 0000000000871758 [17:39:48]1040 (4) - 68227 [17:39:48]1012 (4) - 28.10.2024 11:40 [17:39:48]1206 (1) - 0 [17:39:48]OFD Sender: Remove packet 68227 [17:39:48]ProducePacketName [17:39:48]name=ofd_packets/00068227 [17:39:48]NVStorageDeleteData [17:39:48]OFD Sender: No OFD packet to send [17:39:48]*** Cut start [17:39:48]*** Partial cut [17:39:48]*** CUTSNS_PIN = 1 [17:39:48]*** CUTSNS_PIN = 0 [17:39:49]*** Brake cut motor [17:39:49]Read from MH i2c: 01 [17:39:49]MH_I2C_Read... [17:39:49]*** Stop cut motor [17:39:49]*** Cut end [17:39:49]Read from MH i2c: 01 07 00 [17:39:49]MH_I2C_Read... [17:39:49]Read from MH i2c: 01 07 00 2A 01 00 00 00 00 00 FF 0F 40 [17:39:49]process_action close_receipt done [17:39:49]requested_data is exist [17:39:49]produce_requested_data [17:39:49]requested_item fm.sn is exist - process it [17:39:49]wFMCommunicate request_size=4 [17:39:49]MH_SAM_APDU [17:39:49]CAPDU: 80 11 00 00 [17:39:49]Write to MH i2c: E2 08 00 2B 01 80 11 00 00 00 00 00 00 A6 [17:39:49]Write i2c OK [17:39:49]MH_I2C_Read... [17:39:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:39:49]Read from MH i2c: E2 [17:39:49]MH_I2C_Read... [17:39:49]Read from MH i2c: E2 17 00 [17:39:49]MH_I2C_Read... [17:39:49]Read from MH i2c: E2 17 00 2B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 FD [17:39:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:39:49]wFMCommunicate OK [17:39:49]requested_item fd.num is exist - process it [17:39:49]SAM_PROTO_GetFieldsCounters [17:39:49]wFMCommunicate request_size=4 [17:39:49]MH_SAM_APDU [17:39:49]CAPDU: 80 13 00 00 [17:39:49]Write to MH i2c: E2 08 00 2C 01 80 13 00 00 00 00 00 00 A9 [17:39:49]Write i2c OK [17:39:49]MH_I2C_Read... [17:39:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:39:49]Read from MH i2c: E2 [17:39:49]MH_I2C_Read... [17:39:49]Read from MH i2c: E2 62 00 [17:39:49]MH_I2C_Read... [17:39:49]Read from MH i2c: E2 62 00 2C 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 83 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 84 00 00 00 5E 04 04 00 84 00 00 00 57 04 04 00 85 00 00 00 19 04 04 00 00 00 00 00 90 00 13 [17:39:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 83 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 84 00 00 00 5E 04 04 00 84 00 00 00 57 04 04 00 85 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:39:49]wFMCommunicate OK [17:39:49]SAM_PROTO_GetFieldsCounters done [17:39:49]requested_item shift.num is exist - process it [17:39:49]requested_item shift.opened is exist - process it [17:39:49]req_shift_opened [17:39:49]FM_GetShiftState [17:39:49]SAM_PROTO_GetShiftState [17:39:49]wFMCommunicate request_size=4 [17:39:49]MH_SAM_APDU [17:39:49]CAPDU: 80 13 01 00 [17:39:49]Write to MH i2c: E2 08 00 2D 01 80 13 01 00 00 00 00 00 AB [17:39:49]Write i2c OK [17:39:49]MH_I2C_Read... [17:39:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:39:49]Read from MH i2c: E2 [17:39:49]MH_I2C_Read... [17:39:49]Read from MH i2c: E2 0E 00 [17:39:49]MH_I2C_Read... [17:39:49]Read from MH i2c: E2 0E 00 2D 01 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 A6 [17:39:49]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [17:39:49]wFMCommunicate OK [17:39:49]SAM_PROTO_GetShiftState done [17:39:49]FM_GetShiftState done [17:39:49]req_shift_opened done [17:39:49]requested_item shift.open_date is exist - process it [17:39:49]req_shift_open_date [17:39:49]req_shift_open_date done [17:39:49]produce_requested_data done [17:39:49]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68227,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [17:39:49]process_action_free close_receipt [17:39:49]json_value_free [17:39:49]json_value_free done [17:39:49]process_json_proto returns [17:39:49]Send response to host [17:39:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68227,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [17:39:49]free response buf [17:39:49]execute_script done [17:39:49]execute_script returns [17:39:49]free content buf [17:39:49]Sock 9.Close socket [17:39:49]Sock 9.Thread stoped [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:04]OFD Sender: No OFD packet to send [17:43:09]OFD Sender: No OFD packet to send [17:43:14]OFD Sender: No OFD packet to send [17:43:19]OFD Sender: No OFD packet to send [17:43:24]OFD Sender: No OFD packet to send [17:43:29]OFD Sender: No OFD packet to send [17:43:34]OFD Sender: No OFD packet to send [17:43:39]OFD Sender: No OFD packet to send [17:43:44]OFD Sender: No OFD packet to send [17:43:49]OFD Sender: No OFD packet to send [17:43:54]OFD Sender: No OFD packet to send [17:43:59]OFD Sender: No OFD packet to send [17:44:04]OFD Sender: No OFD packet to send [17:44:09]OFD Sender: No OFD packet to send [17:44:14]OFD Sender: No OFD packet to send [17:44:19]OFD Sender: No OFD packet to send [17:44:24]OFD Sender: No OFD packet to send [17:44:29]OFD Sender: No OFD packet to send [17:44:34]OFD Sender: No OFD packet to send [17:44:39]OFD Sender: No OFD packet to send [17:44:44]OFD Sender: No OFD packet to send [17:44:49]OFD Sender: No OFD packet to send [17:44:54]OFD Sender: No OFD packet to send [17:44:59]OFD Sender: No OFD packet to send [17:45:04]OFD Sender: No OFD packet to send [17:45:09]OFD Sender: No OFD packet to send [17:45:14]OFD Sender: No OFD packet to send [17:45:19]OFD Sender: No OFD packet to send [17:45:24]OFD Sender: No OFD packet to send [17:45:29]OFD Sender: No OFD packet to send [17:45:34]OFD Sender: No OFD packet to send [17:45:39]OFD Sender: No OFD packet to send [17:45:44]OFD Sender: No OFD packet to send [17:45:49]OFD Sender: No OFD packet to send [17:45:54]OFD Sender: No OFD packet to send [17:45:59]OFD Sender: No OFD packet to send [17:46:04]OFD Sender: No OFD packet to send [17:46:09]OFD Sender: No OFD packet to send [17:46:14]OFD Sender: No OFD packet to send [17:46:19]OFD Sender: No OFD packet to send [17:46:24]OFD Sender: No OFD packet to send [17:46:29]OFD Sender: No OFD packet to send [17:46:34]OFD Sender: No OFD packet to send [17:46:39]OFD Sender: No OFD packet to send [17:46:44]OFD Sender: No OFD packet to send [17:46:49]OFD Sender: No OFD packet to send [17:46:54]OFD Sender: No OFD packet to send [17:46:59]OFD Sender: No OFD packet to send [17:47:04]OFD Sender: No OFD packet to send [17:47:09]OFD Sender: No OFD packet to send [17:47:14]OFD Sender: No OFD packet to send [17:47:19]OFD Sender: No OFD packet to send [17:47:24]OFD Sender: No OFD packet to send [17:47:29]OFD Sender: No OFD packet to send [17:47:34]OFD Sender: No OFD packet to send [17:47:39]OFD Sender: No OFD packet to send [17:47:44]OFD Sender: No OFD packet to send [17:47:49]OFD Sender: No OFD packet to send [17:47:54]OFD Sender: No OFD packet to send [17:47:59]OFD Sender: No OFD packet to send [17:48:04]OFD Sender: No OFD packet to send [17:48:09]OFD Sender: No OFD packet to send [17:48:14]OFD Sender: No OFD packet to send [17:48:19]OFD Sender: No OFD packet to send [17:48:24]OFD Sender: No OFD packet to send [17:48:29]OFD Sender: No OFD packet to send [17:48:34]OFD Sender: No OFD packet to send [17:48:39]OFD Sender: No OFD packet to send [17:48:44]OFD Sender: No OFD packet to send [17:48:49]OFD Sender: No OFD packet to send [17:48:54]OFD Sender: No OFD packet to send [17:48:59]OFD Sender: No OFD packet to send [17:49:04]OFD Sender: No OFD packet to send [17:49:09]OFD Sender: No OFD packet to send [17:49:14]OFD Sender: No OFD packet to send [17:49:19]OFD Sender: No OFD packet to send [17:49:24]OFD Sender: No OFD packet to send [17:49:29]OFD Sender: No OFD packet to send [17:49:34]OFD Sender: No OFD packet to send [17:49:39]OFD Sender: No OFD packet to send [17:49:44]OFD Sender: No OFD packet to send [17:49:49]OFD Sender: No OFD packet to send [17:49:54]OFD Sender: No OFD packet to send [17:49:59]OFD Sender: No OFD packet to send [17:50:04]OFD Sender: No OFD packet to send [17:50:09]OFD Sender: No OFD packet to send [17:50:14]OFD Sender: No OFD packet to send [17:50:19]OFD Sender: No OFD packet to send [17:50:24]OFD Sender: No OFD packet to send [17:50:29]OFD Sender: No OFD packet to send [17:50:34]OFD Sender: No OFD packet to send [17:50:39]OFD Sender: No OFD packet to send [17:50:44]OFD Sender: No OFD packet to send [17:50:49]OFD Sender: No OFD packet to send [17:50:54]OFD Sender: No OFD packet to send [17:50:59]OFD Sender: No OFD packet to send [17:51:04]OFD Sender: No OFD packet to send [17:51:05]accept exits with 7 [17:51:05]New connection [17:51:05]New thread 3067497828 created [17:51:05]Thread 3067354468 joined [17:51:05]Waiting for new connection... [17:51:05] Sock 7.Parse request [17:51:05]Sock 7.Check first char [17:51:05]Sock 7.First char is OK [17:51:05]request: POST /json_proto HTTP/1.0 [17:51:05]Method: POST [17:51:05]URL: /json_proto [17:51:05]Method is POST - this is cgi request [17:51:05]url: /json_proto [17:51:05]query_string will be loaded in cgi processing [17:51:05]execute_cgi json_proto POST (null) [17:51:05]execute_cgi path=json_proto method=POST [17:51:05]POST find Content-Length [17:51:05]Host: 172.17.42.3:8080 [17:51:05]Content-Length: 912 [17:51:05]Content-Type: application/json [17:51:05] [17:51:05]POST finish read [17:51:05]Found Content-Length = 912 [17:51:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17184", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:51:05]execute_script... [17:51:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17184", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:51:05]POST & json_proto [17:51:05]process_json_proto [17:51:05]json parsed OK: [17:51:05]protocol is kg_v1.0 [17:51:05]action value=close_receipt [17:51:05]process_action close_receipt [17:51:05]cmd_close_receipt [17:51:05]MH_GetDate [17:51:05]Write to MH i2c: F0 00 00 2E 01 1E [17:51:05]Write i2c OK [17:51:05]MH_I2C_Read... [17:51:05]Read from MH i2c: F0 [17:51:05]MH_I2C_Read... [17:51:05]Read from MH i2c: F0 09 00 [17:51:05]MH_I2C_Read... [17:51:05]Read from MH i2c: F0 09 00 2E 01 00 09 CF 1F 67 0E CB 1F 67 E4 [17:51:05]GetLastDocTimeStamp 1730137186 [17:51:05]current date 1730137865 [17:51:05]FM_GetShiftState [17:51:05]SAM_PROTO_GetShiftState [17:51:05]wFMCommunicate request_size=4 [17:51:05]MH_SAM_APDU [17:51:05]CAPDU: 80 13 01 00 [17:51:05]Write to MH i2c: E2 08 00 2F 01 80 13 01 00 00 00 00 00 AD [17:51:05]Write i2c OK [17:51:05]MH_I2C_Read... [17:51:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:51:05]Read from MH i2c: E2 [17:51:05]MH_I2C_Read... [17:51:05]Read from MH i2c: E2 0E 00 [17:51:05]MH_I2C_Read... [17:51:05]Read from MH i2c: E2 0E 00 2F 01 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 A8 [17:51:05]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [17:51:05]wFMCommunicate OK [17:51:05]SAM_PROTO_GetShiftState done [17:51:05]FM_GetShiftState done [17:51:05]opened in 1730074770 [17:51:05]opened+sec_in_day 1730161170 [17:51:05]quantity*price = 7900 [17:51:05]sum+1 = 7901 [17:51:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870112002775 Шок батончик ALBENI BITES 80гр 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 154.00 НСП 1% : 1.36 НДС 12% : 16.35 Наличными: 154.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 133 28.10.2024 17:51 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68228 ФПД: 244115614341522 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T175105&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68228&fm=244115614341522&tin=02508201610067®Number=0000000000091759&sum=15400 0 [17:51:06]StoreToDocumentArchive [17:51:06]shift 547 fd 68228 [17:51:06]save to /storage/0547/doc_00068228 [17:51:06]save last doc name /storage/0547/doc_00068228 to /storage/kkm_last_doc_name [17:51:06]save OK [17:51:06]Clear old archive folders... [17:51:06]ProcessDocumentItem done err = 0, tmpTLVsize=391 [17:51:06]tlvbuf is 005BD470 [17:51:06]SAM_PROTO_ClearQueue [17:51:06]wFMCommunicate request_size=4 [17:51:06]MH_SAM_APDU [17:51:06]CAPDU: 80 09 00 00 [17:51:06]Write to MH i2c: E2 08 00 3C 01 80 09 00 00 00 00 00 00 AF [17:51:06]Write i2c OK [17:51:06]MH_I2C_Read... [17:51:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:51:06]Read from MH i2c: E2 [17:51:06]MH_I2C_Read... [17:51:06]Read from MH i2c: E2 03 00 [17:51:06]MH_I2C_Read... [17:51:06]Read from MH i2c: E2 03 00 3C 01 00 90 00 B1 [17:51:06]RAPDU: 90 00 [17:51:06]wFMCommunicate OK [17:51:06]SAM_PROTO_ClearQueue done [17:51:06]KKMCreateOFDPacket [17:51:06]OFDProtocolAddRootSTLVToBuf [17:51:06]FM_MakeSignedData [17:51:06]FM_MakeSignedData [17:51:06]SAM_PROTO_SignData [17:51:06]wFMCommunicate request_size=4 [17:51:06]MH_SAM_APDU [17:51:06]CAPDU: 80 0D 01 02 [17:51:06]Write to MH i2c: E2 08 00 3D 01 80 0D 01 02 00 00 00 00 B7 [17:51:06]Write i2c OK [17:51:06]MH_I2C_Read... [17:51:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:51:06]Read from MH i2c: E2 [17:51:06]MH_I2C_Read... [17:51:06]Read from MH i2c: E2 03 00 [17:51:06]MH_I2C_Read... [17:51:06]Read from MH i2c: E2 03 00 3D 01 00 90 00 B2 [17:51:06]RAPDU: 90 00 [17:51:06]wFMCommunicate OK [17:51:06]wFMCommunicate request_size=255 [17:51:06]MH_SAM_APDU [17:51:06]CAPDU: 80 0D 02 02 FA 03 00 87 01 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 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 [17:51:06]Write to MH i2c: E2 02 01 3E 01 80 0D 02 02 FA 00 03 00 87 01 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 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 00 00 9A [17:51:06]Write i2c OK [17:51:06]MH_I2C_Read... [17:51:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:51:06]Read from MH i2c: E2 [17:51:06]MH_I2C_Read... [17:51:06]Read from MH i2c: E2 03 00 [17:51:06]MH_I2C_Read... [17:51:06]Read from MH i2c: E2 03 00 3E 01 00 90 00 B3 [17:51:06]RAPDU: 90 00 [17:51:06]wFMCommunicate OK [17:51:06]wFMCommunicate request_size=150 [17:51:06]MH_SAM_APDU [17:51:06]CAPDU: 80 0D 02 02 91 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 85 00 00 00 F4 03 04 00 09 CF 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 84 0A 01 00 35 04 06 00 DE 05 98 7A 19 92 [17:51:06]Write to MH i2c: E2 99 00 3F 01 80 0D 02 02 91 00 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 85 00 00 00 F4 03 04 00 09 CF 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 84 0A 01 00 35 04 06 00 DE 05 98 7A 19 92 00 00 A1 [17:51:06]Write i2c OK [17:51:06]MH_I2C_Read... [17:51:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:51:06]Read from MH i2c: E2 [17:51:06]MH_I2C_Read... [17:51:06]Read from MH i2c: E2 03 00 [17:51:06]MH_I2C_Read... [17:51:06]Read from MH i2c: E2 03 00 3F 01 00 90 00 B4 [17:51:06]RAPDU: 90 00 [17:51:06]wFMCommunicate OK [17:51:06]wFMCommunicate request_size=4 [17:51:06]MH_SAM_APDU [17:51:06]CAPDU: 80 0D 03 02 [17:51:06]Write to MH i2c: E2 08 00 40 01 80 0D 03 02 00 00 00 00 BC [17:51:06]Write i2c OK [17:51:06]MH_I2C_Read... [17:51:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:51:06]Read from MH i2c: E2 [17:51:06]MH_I2C_Read... [17:51:06]Read from MH i2c: E2 0B 00 [17:51:06]MH_I2C_Read... [17:51:06]Read from MH i2c: E2 0B 00 40 01 00 03 5F 30 74 9A 47 B1 47 90 00 9C [17:51:06]RAPDU: 03 5F 30 74 9A 47 B1 47 90 00 [17:51:06]wFMCommunicate OK [17:51:06]SAM_PROTO_SignData done [17:51:06]FM_MakeSignedData done [17:51:06]CreateOFDProtocolMessage [17:51:06]wFMCommunicate request_size=4 [17:51:06]MH_SAM_APDU [17:51:06]CAPDU: 80 11 00 00 [17:51:06]Write to MH i2c: E2 08 00 41 01 80 11 00 00 00 00 00 00 BC [17:51:06]Write i2c OK [17:51:06]MH_I2C_Read... [17:51:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:51:06]Read from MH i2c: E2 [17:51:06]MH_I2C_Read... [17:51:06]Read from MH i2c: E2 17 00 [17:51:06]MH_I2C_Read... [17:51:06]Read from MH i2c: E2 17 00 41 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 13 [17:51:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:51:06]wFMCommunicate OK [17:51:06]CreateOFDProtocolMessage done [17:51:06]OFDSenderStorePacket 68228 [17:51:06]StoreOFDPacket docnum=68228 [17:51:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 9B 01 00 00 C8 E6 93 01 73 8D 5A 03 01 00 03 00 87 01 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 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 85 00 00 00 F4 03 04 00 09 CF 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 84 0A 01 00 35 04 06 00 DE 05 98 7A 19 92 03 5F 30 74 9A 47 B1 47 [17:51:06]CheckFolder [17:51:06]dirname=/storage/ofd_packets [17:51:06]CheckFolder done [17:51:06]ProducePacketName [17:51:06]name=ofd_packets/00068228 [17:51:06]NVStorageSaveData ofd_packets/00068228 [17:51:06]File name is /storage/ofd_packets/00068228 [17:51:06]Write 441 bytes [17:51:06]NVStorageSaveData done [17:51:06]OFDSenderStorePacket done [17:51:06]KKMCreateOFDPacket done [17:51:06]NVStorageSaveData kkm_last_timestamp [17:51:06]File name is /storage/kkm_last_timestamp [17:51:06]Write 4 bytes [17:51:06]NVStorageSaveData done [17:51:06]ExternCall_PrintAddStr [17:51:06]wPrintStart [17:51:06]Write to MH i2c: 01 00 00 42 01 43 [17:51:06]Write i2c OK [17:51:06]MH_I2C_Read... [17:51:06]Read from MH i2c: 01 [17:51:06]MH_I2C_Read... [17:51:06]Read from MH i2c: 01 07 00 [17:51:06]MH_I2C_Read... [17:51:06]Read from MH i2c: 01 07 00 42 01 00 00 00 00 00 FF 0F 58 [17:51:06]RasterBufferAndPrint [17:51:06]line Счет N : (3)17184 [17:51:06]line ИНН: 02508201610067 [17:51:06]line Контрольно-Кассовый Чек [17:51:06]line ПРОДАЖА [17:51:06]line Товар: 4700000310043 [17:51:06]line Вода Жалалабат 27 1л [17:51:07]line 1.000 * 79.00 [17:51:07]line = 79.00 [17:51:07]line НДС 12% НСП 1% [17:51:07]line > о реализуемом товаре [17:51:07]line Товар: 4870112002775 [17:51:07]line Шок батончик ALBENI BITES 80гр [17:51:07]line 1.000 * 75.00 [17:51:07]line = 75.00 [17:51:07]line НДС 12% НСП 1% [17:51:07]line > о реализуемом товаре [17:51:07]line ИТОГО: 154.00 [17:51:07]line НСП 1% : 1.36 [17:51:07]line НДС 12% : 16.35 [17:51:07]line Наличными: 154.00 [17:51:07]line Безнал.: 0.00 [17:51:07]line Место: АЗС № 160 "Партнер Нефть" [17:51:07]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [17:51:07]line СНО: Общий режим [17:51:07]line Чек 133 28.10.2024 17:51 [17:51:07]line Смена: 547 ФФД: 1.0 [17:51:07]line ЗНМ: 0300000093 [17:51:07]line РНМ: 0000000000091759 [17:51:07]line Версия ККМ: 001 [17:51:07]line ФМ: 0000000000871758 [17:51:07]line ФД: 68228 [17:51:07]line ФПД: 244115614341522 [17:51:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T175105&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68228&fm=244115614341522&tin=02508201610067®Number=0000000000091759&sum=15400 [17:51:07]line 0 [17:51:07]OFD Sender: Processing packet 68228 [packets to send 27, broken 26] [17:51:07]ProducePacketName [17:51:07]name=ofd_packets/00068228 [17:51:07]OFD Sender: To server: pG, [17:51:07]CommunicateWithHost lk.salyk.kg:30040 [17:51:07]ConnectInit lk.salyk.kg [17:51:07]written 0, free lines is 4095 [17:51:07]Connected sock=10 [17:51:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 9B 01 00 00 C8 E6 93 01 73 8D 5A 03 01 00 03 00 87 01 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 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 85 00 00 00 F4 03 04 00 09 CF 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 84 0A 01 00 35 04 06 00 DE 05 98 7A 19 92 03 5F 30 74 9A 47 B1 47 [17:51:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 64 BD 47 00 7D 2E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 84 0A 01 00 F4 03 04 00 E9 7A 1F 67 B6 04 01 00 00 7F FC 1C 1A CE 5B 8A 50 [17:51:07]CommunicateWithHost err = 0 [17:51:07]CheckOFDResponse [17:51:07]1017 (14) - 77093643461234 [17:51:07]1041 (16) - 0000000000871758 [17:51:07]1040 (4) - 68228 [17:51:07]1012 (4) - 28.10.2024 11:52 [17:51:07]1206 (1) - 0 [17:51:07]OFD Sender: Remove packet 68228 [17:51:07]ProducePacketName [17:51:07]name=ofd_packets/00068228 [17:51:07]NVStorageDeleteData [17:51:07]Write to MH i2c: 01 00 00 70 01 71 [17:51:07]Write i2c OK [17:51:07]MH_I2C_Read... [17:51:07]Read from MH i2c: 01 [17:51:07]MH_I2C_Read... [17:51:07]Read from MH i2c: 01 07 00 [17:51:07]MH_I2C_Read... [17:51:07]Read from MH i2c: 01 07 00 70 01 00 00 00 00 00 75 0C F9 [17:51:07]RasterBufferAndPrint [17:51:07]line [17:51:07]line [17:51:07]line [17:51:07]line [17:51:07]line [17:51:07]written 0, free lines is 3195 [17:51:07]MH_Cut [17:51:07]Write to MH i2c: D1 01 00 77 01 01 4A [17:51:07]Write i2c OK [17:51:07]MH_I2C_Read... [17:51:07]Read from MH i2c: D1 [17:51:07]MH_I2C_Read... [17:51:07]Read from MH i2c: D1 01 00 [17:51:07]MH_I2C_Read... [17:51:07]Read from MH i2c: D1 01 00 77 01 00 49 [17:51:07]Write to MH i2c: 01 00 00 78 01 79 [17:51:07]Write i2c OK [17:51:07]MH_I2C_Read... [17:51:07]OFD Sender: No OFD packet to send [17:51:08]*** Cut start [17:51:08]*** Partial cut [17:51:08]*** CUTSNS_PIN = 1 [17:51:08]*** CUTSNS_PIN = 0 [17:51:08]*** Brake cut motor [17:51:09]Read from MH i2c: 01 [17:51:09]MH_I2C_Read... [17:51:09]*** Stop cut motor [17:51:09]*** Cut end [17:51:09]Read from MH i2c: 01 07 00 [17:51:09]MH_I2C_Read... [17:51:09]Read from MH i2c: 01 07 00 78 01 00 00 00 00 00 FF 0F 8E [17:51:09]process_action close_receipt done [17:51:09]requested_data is exist [17:51:09]produce_requested_data [17:51:09]requested_item fm.sn is exist - process it [17:51:09]wFMCommunicate request_size=4 [17:51:09]MH_SAM_APDU [17:51:09]CAPDU: 80 11 00 00 [17:51:09]Write to MH i2c: E2 08 00 79 01 80 11 00 00 00 00 00 00 F4 [17:51:09]Write i2c OK [17:51:09]MH_I2C_Read... [17:51:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:51:09]Read from MH i2c: E2 [17:51:09]MH_I2C_Read... [17:51:09]Read from MH i2c: E2 17 00 [17:51:09]MH_I2C_Read... [17:51:09]Read from MH i2c: E2 17 00 79 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 4B [17:51:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:51:09]wFMCommunicate OK [17:51:09]requested_item fd.num is exist - process it [17:51:09]SAM_PROTO_GetFieldsCounters [17:51:09]wFMCommunicate request_size=4 [17:51:09]MH_SAM_APDU [17:51:09]CAPDU: 80 13 00 00 [17:51:09]Write to MH i2c: E2 08 00 7A 01 80 13 00 00 00 00 00 00 F7 [17:51:09]Write i2c OK [17:51:09]MH_I2C_Read... [17:51:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:51:09]Read from MH i2c: E2 [17:51:09]MH_I2C_Read... [17:51:09]Read from MH i2c: E2 62 00 [17:51:09]MH_I2C_Read... [17:51:09]Read from MH i2c: E2 62 00 7A 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 84 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 85 00 00 00 5E 04 04 00 85 00 00 00 57 04 04 00 86 00 00 00 19 04 04 00 00 00 00 00 90 00 65 [17:51:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 84 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 85 00 00 00 5E 04 04 00 85 00 00 00 57 04 04 00 86 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:51:09]wFMCommunicate OK [17:51:09]SAM_PROTO_GetFieldsCounters done [17:51:09]requested_item shift.num is exist - process it [17:51:09]requested_item shift.opened is exist - process it [17:51:09]req_shift_opened [17:51:09]FM_GetShiftState [17:51:09]SAM_PROTO_GetShiftState [17:51:09]wFMCommunicate request_size=4 [17:51:09]MH_SAM_APDU [17:51:09]CAPDU: 80 13 01 00 [17:51:09]Write to MH i2c: E2 08 00 7B 01 80 13 01 00 00 00 00 00 F9 [17:51:09]Write i2c OK [17:51:09]MH_I2C_Read... [17:51:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:51:09]Read from MH i2c: E2 [17:51:09]MH_I2C_Read... [17:51:09]Read from MH i2c: E2 0E 00 [17:51:09]MH_I2C_Read... [17:51:09]Read from MH i2c: E2 0E 00 7B 01 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 F4 [17:51:09]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [17:51:09]wFMCommunicate OK [17:51:09]SAM_PROTO_GetShiftState done [17:51:09]FM_GetShiftState done [17:51:09]req_shift_opened done [17:51:09]requested_item shift.open_date is exist - process it [17:51:09]req_shift_open_date [17:51:09]req_shift_open_date done [17:51:09]produce_requested_data done [17:51:09]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68228,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [17:51:09]process_action_free close_receipt [17:51:09]json_value_free [17:51:09]json_value_free done [17:51:09]process_json_proto returns [17:51:09]Send response to host [17:51:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68228,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [17:51:09]free response buf [17:51:09]execute_script done [17:51:09]execute_script returns [17:51:09]free content buf [17:51:09]Sock 7.Close socket [17:51:09]Sock 7.Thread stoped [17:51:12]OFD Sender: No OFD packet to send [17:51:17]OFD Sender: No OFD packet to send [17:51:22]OFD Sender: No OFD packet to send [17:51: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:58]OFD Sender: No OFD packet to send [17:56:03]OFD Sender: No OFD packet to send [17:56:08]OFD Sender: No OFD packet to send [17:56:13]OFD Sender: No OFD packet to send [17:56:18]OFD Sender: No OFD packet to send [17:56:23]OFD Sender: No OFD packet to send [17:56:28]OFD Sender: No OFD packet to send [17:56:33]OFD Sender: No OFD packet to send [17:56:38]OFD Sender: No OFD packet to send [17:56:43]OFD Sender: No OFD packet to send [17:56:48]OFD Sender: No OFD packet to send [17:56:53]OFD Sender: No OFD packet to send [17:56:58]OFD Sender: No OFD packet to send [17:57:03]OFD Sender: No OFD packet to send [17:57:08]OFD Sender: No OFD packet to send [17:57:13]OFD Sender: No OFD packet to send [17:57:18]OFD Sender: No OFD packet to send [17:57:23]OFD Sender: No OFD packet to send [17:57:28]OFD Sender: No OFD packet to send [17:57:33]OFD Sender: No OFD packet to send [17:57:38]OFD Sender: No OFD packet to send [17:57:43]OFD Sender: No OFD packet to send [17:57:45]accept exits with 9 [17:57:45]New connection [17:57:45]New thread 3067354468 created [17:57:45]Thread 3067497828 joined [17:57:45]Waiting for new connection... [17:57:45] Sock 9.Parse request [17:57:45]Sock 9.Check first char [17:57:45]Sock 9.First char is OK [17:57:45]request: POST /json_proto HTTP/1.0 [17:57:45]Method: POST [17:57:45]URL: /json_proto [17:57:45]Method is POST - this is cgi request [17:57:45]url: /json_proto [17:57:45]query_string will be loaded in cgi processing [17:57:45]execute_cgi json_proto POST (null) [17:57:45]execute_cgi path=json_proto method=POST [17:57:45]POST find Content-Length [17:57:45]Host: 172.17.42.3:8080 [17:57:45]Content-Length: 1007 [17:57:45]Content-Type: application/json [17:57:45] [17:57:45]POST finish read [17:57:45]Found Content-Length = 1007 [17:57:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17185", "tax_sys" : 0, "items" : [ { "code": "4870202522701", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 1,2", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004824", "name": "\u041F\u0435\u0447 \u0437\u0430\u0442 \u042F\u0448\u043A\u0438\u043D\u043E \u0441\u043B\u0438\u0432 \u041A\u0440\u0435\u043C 182\u0433", "price" : 81.00, "quantity" : 1.000, "sum" : 81.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 206.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:57:45]execute_script... [17:57: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)17185", "tax_sys" : 0, "items" : [ { "code": "4870202522701", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 1,2", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4603290004824", "name": "\u041F\u0435\u0447 \u0437\u0430\u0442 \u042F\u0448\u043A\u0438\u043D\u043E \u0441\u043B\u0438\u0432 \u041A\u0440\u0435\u043C 182\u0433", "price" : 81.00, "quantity" : 1.000, "sum" : 81.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 206.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:57:45]POST & json_proto [17:57:45]process_json_proto [17:57:45]json parsed OK: [17:57:45]protocol is kg_v1.0 [17:57:45]action value=close_receipt [17:57:45]process_action close_receipt [17:57:45]cmd_close_receipt [17:57:45]MH_GetDate [17:57:45]Write to MH i2c: F0 00 00 7C 01 6C [17:57:45]Write i2c OK [17:57:45]MH_I2C_Read... [17:57:45]Read from MH i2c: F0 [17:57:45]MH_I2C_Read... [17:57:45]Read from MH i2c: F0 09 00 [17:57:45]MH_I2C_Read... [17:57:45]Read from MH i2c: F0 09 00 7C 01 00 99 D0 1F 67 0E CB 1F 67 C3 [17:57:45]GetLastDocTimeStamp 1730137865 [17:57:45]current date 1730138265 [17:57:45]FM_GetShiftState [17:57:45]SAM_PROTO_GetShiftState [17:57:45]wFMCommunicate request_size=4 [17:57:45]MH_SAM_APDU [17:57:45]CAPDU: 80 13 01 00 [17:57:45]Write to MH i2c: E2 08 00 7D 01 80 13 01 00 00 00 00 00 FB [17:57:45]Write i2c OK [17:57:45]MH_I2C_Read... [17:57:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:57:45]Read from MH i2c: E2 [17:57:45]MH_I2C_Read... [17:57:45]Read from MH i2c: E2 0E 00 [17:57:45]MH_I2C_Read... [17:57:45]Read from MH i2c: E2 0E 00 7D 01 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 F6 [17:57:45]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [17:57:45]wFMCommunicate OK [17:57:45]SAM_PROTO_GetShiftState done [17:57:45]FM_GetShiftState done [17:57:45]opened in 1730074770 [17:57:45]opened+sec_in_day 1730161170 [17:57:45]quantity*price = 12500 [17:57:45]sum+1 = 12501 [17:57:45]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4603290004824 Печ зат Яшкино слив Крем 182г 1.000 * 81.00 = 81.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 206.00 НСП 1% : 1.83 НДС 12% : 21.87 Наличными: 206.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 134 28.10.2024 17:57 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68229 ФПД: 27102949965302 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T175745&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68229&fm=27102949965302&tin=02508201610067®Number=0000000000091759&sum=20600 0 [17:57:47]StoreToDocumentArchive [17:57:47]shift 547 fd 68229 [17:57:47]save to /storage/0547/doc_00068229 [17:57:47]save last doc name /storage/0547/doc_00068229 to /storage/kkm_last_doc_name [17:57:47]save OK [17:57:47]Clear old archive folders... [17:57:47]ProcessDocumentItem done err = 0, tmpTLVsize=420 [17:57:47]tlvbuf is 005E2360 [17:57:47]SAM_PROTO_ClearQueue [17:57:47]wFMCommunicate request_size=4 [17:57:47]MH_SAM_APDU [17:57:47]CAPDU: 80 09 00 00 [17:57:47]Write to MH i2c: E2 08 00 8A 01 80 09 00 00 00 00 00 00 FD [17:57:47]Write i2c OK [17:57:47]MH_I2C_Read... [17:57:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:57:47]Read from MH i2c: E2 [17:57:47]MH_I2C_Read... [17:57:47]Read from MH i2c: E2 03 00 [17:57:47]MH_I2C_Read... [17:57:47]Read from MH i2c: E2 03 00 8A 01 00 90 00 FF [17:57:47]RAPDU: 90 00 [17:57:47]wFMCommunicate OK [17:57:47]SAM_PROTO_ClearQueue done [17:57:47]KKMCreateOFDPacket [17:57:47]OFDProtocolAddRootSTLVToBuf [17:57:47]FM_MakeSignedData [17:57:47]FM_MakeSignedData [17:57:47]SAM_PROTO_SignData [17:57:47]wFMCommunicate request_size=4 [17:57:47]MH_SAM_APDU [17:57:47]CAPDU: 80 0D 01 02 [17:57:47]Write to MH i2c: E2 08 00 8B 01 80 0D 01 02 00 00 00 00 05 [17:57:47]Write i2c OK [17:57:47]MH_I2C_Read... [17:57:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:57:47]Read from MH i2c: E2 [17:57:47]MH_I2C_Read... [17:57:47]Read from MH i2c: E2 03 00 [17:57:47]MH_I2C_Read... [17:57:47]Read from MH i2c: E2 03 00 8B 01 00 90 00 00 [17:57:47]RAPDU: 90 00 [17:57:47]wFMCommunicate OK [17:57:47]wFMCommunicate request_size=255 [17:57:47]MH_SAM_APDU [17:57:47]CAPDU: 80 0D 02 02 FA 03 00 A4 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 [17:57:47]Write to MH i2c: E2 02 01 8C 01 80 0D 02 02 FA 00 03 00 A4 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 00 00 3E [17:57:47]Write i2c OK [17:57:47]MH_I2C_Read... [17:57:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:57:47]Read from MH i2c: E2 [17:57:47]MH_I2C_Read... [17:57:47]Read from MH i2c: E2 03 00 [17:57:47]MH_I2C_Read... [17:57:47]Read from MH i2c: E2 03 00 8C 01 00 90 00 01 [17:57:47]RAPDU: 90 00 [17:57:47]wFMCommunicate OK [17:57:47]wFMCommunicate request_size=179 [17:57:47]MH_SAM_APDU [17:57:47]CAPDU: 80 0D 02 02 AE 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 08 00 00 00 00 07 04 06 00 78 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 86 00 00 00 F4 03 04 00 99 D0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 85 0A 01 00 35 04 06 00 18 A6 65 B4 7D F6 [17:57:47]Write to MH i2c: E2 B6 00 8D 01 80 0D 02 02 AE 00 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 08 00 00 00 00 07 04 06 00 78 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 86 00 00 00 F4 03 04 00 99 D0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 85 0A 01 00 35 04 06 00 18 A6 65 B4 7D F6 00 00 C5 [17:57:47]Write i2c OK [17:57:47]MH_I2C_Read... [17:57:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:57:47]Read from MH i2c: E2 [17:57:47]MH_I2C_Read... [17:57:47]Read from MH i2c: E2 03 00 [17:57:47]MH_I2C_Read... [17:57:47]Read from MH i2c: E2 03 00 8D 01 00 90 00 02 [17:57:47]RAPDU: 90 00 [17:57:47]wFMCommunicate OK [17:57:47]wFMCommunicate request_size=4 [17:57:47]MH_SAM_APDU [17:57:47]CAPDU: 80 0D 03 02 [17:57:47]Write to MH i2c: E2 08 00 8E 01 80 0D 03 02 00 00 00 00 0A [17:57:47]Write i2c OK [17:57:47]MH_I2C_Read... [17:57:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:57:47]Read from MH i2c: E2 [17:57:47]MH_I2C_Read... [17:57:47]Read from MH i2c: E2 0B 00 [17:57:47]MH_I2C_Read... [17:57:47]Read from MH i2c: E2 0B 00 8E 01 00 8A 6C DA 81 0A 17 F9 65 90 00 DB [17:57:47]RAPDU: 8A 6C DA 81 0A 17 F9 65 90 00 [17:57:47]wFMCommunicate OK [17:57:47]SAM_PROTO_SignData done [17:57:47]FM_MakeSignedData done [17:57:47]CreateOFDProtocolMessage [17:57:47]wFMCommunicate request_size=4 [17:57:47]MH_SAM_APDU [17:57:47]CAPDU: 80 11 00 00 [17:57:47]Write to MH i2c: E2 08 00 8F 01 80 11 00 00 00 00 00 00 0A [17:57:47]Write i2c OK [17:57:47]MH_I2C_Read... [17:57:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:57:47]Read from MH i2c: E2 [17:57:47]MH_I2C_Read... [17:57:47]Read from MH i2c: E2 17 00 [17:57:47]MH_I2C_Read... [17:57:47]Read from MH i2c: E2 17 00 8F 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 61 [17:57:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:57:47]wFMCommunicate OK [17:57:47]CreateOFDProtocolMessage done [17:57:47]OFDSenderStorePacket 68229 [17:57:47]StoreOFDPacket docnum=68229 [17:57:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 B8 01 00 00 FD CC B0 01 AF BE 5A 03 01 00 03 00 A4 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 08 00 00 00 00 07 04 06 00 78 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 86 00 00 00 F4 03 04 00 99 D0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 85 0A 01 00 35 04 06 00 18 A6 65 B4 7D F6 8A 6C DA 81 0A 17 F9 65 [17:57:47]CheckFolder [17:57:47]dirname=/storage/ofd_packets [17:57:47]CheckFolder done [17:57:47]ProducePacketName [17:57:47]name=ofd_packets/00068229 [17:57:47]NVStorageSaveData ofd_packets/00068229 [17:57:47]File name is /storage/ofd_packets/00068229 [17:57:47]Write 470 bytes [17:57:47]NVStorageSaveData done [17:57:47]OFDSenderStorePacket done [17:57:47]KKMCreateOFDPacket done [17:57:47]NVStorageSaveData kkm_last_timestamp [17:57:47]File name is /storage/kkm_last_timestamp [17:57:47]Write 4 bytes [17:57:47]NVStorageSaveData done [17:57:47]ExternCall_PrintAddStr [17:57:48]wPrintStart [17:57:48]Write to MH i2c: 01 00 00 90 01 91 [17:57:48]OFD Sender: Processing packet 68229 [packets to send 27, broken 26] [17:57:48]ProducePacketName [17:57:48]name=ofd_packets/00068229 [17:57:48]Write i2c OK [17:57:48]MH_I2C_Read... [17:57:48]Read from MH i2c: 01 [17:57:48]MH_I2C_Read... [17:57:48]OFD Sender: To server: pG, [17:57:48]CommunicateWithHost lk.salyk.kg:30040 [17:57:48]ConnectInit lk.salyk.kg [17:57:48]Read from MH i2c: 01 07 00 [17:57:48]MH_I2C_Read... [17:57:48]Read from MH i2c: 01 07 00 90 01 00 00 00 00 00 FF 0F A6 [17:57:48]RasterBufferAndPrint [17:57:48]line Счет N : (3)17185 [17:57:48]line ИНН: 02508201610067 [17:57:48]line Контрольно-Кассовый Чек [17:57:48]line ПРОДАЖА [17:57:48]line Товар: 4870202522701 [17:57:48]line Напиток Maxi Чай черный Малина 1,2 [17:57:48]line 1.000 * 125.00 [17:57:48]line = 125.00 [17:57:48]line НДС 12% НСП 1% [17:57:48]line > о реализуемом товаре [17:57:48]line Товар: 4603290004824 [17:57:48]line Печ зат Яшкино слив Крем 182г [17:57:48]line 1.000 * 81.00 [17:57:48]line = 81.00 [17:57:48]line НДС 12% НСП 1% [17:57:48]line > о реализуемом товаре [17:57:48]line ИТОГО: 206.00 [17:57:48]line НСП 1% : 1.83 [17:57:48]line НДС 12% : 21.87 [17:57:48]line Наличными: 206.00 [17:57:48]line Безнал.: 0.00 [17:57:48]line Место: АЗС № 160 "Партнер Нефть" [17:57:48]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [17:57:48]line СНО: Общий режим [17:57:48]line Чек 134 28.10.2024 17:57 [17:57:48]line Смена: 547 ФФД: 1.0 [17:57:48]line ЗНМ: 0300000093 [17:57:48]line РНМ: 0000000000091759 [17:57:48]line Версия ККМ: 001 [17:57:48]line ФМ: 0000000000871758 [17:57:48]line ФД: 68229 [17:57:48]line ФПД: 27102949965302 [17:57:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T175745&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68229&fm=27102949965302&tin=02508201610067®Number=0000000000091759&sum=20600 [17:57:48]line 0 [17:57:48]written 0, free lines is 4095 [17:57:48]Connected sock=10 [17:57:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 B8 01 00 00 FD CC B0 01 AF BE 5A 03 01 00 03 00 A4 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 33 32 39 30 30 30 34 38 32 34 06 04 32 00 D0 9F D0 B5 D1 87 20 D0 B7 D0 B0 D1 82 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 20 D0 9A D1 80 D0 B5 D0 BC 20 31 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 1F 00 00 00 00 13 04 06 00 A4 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8B 08 00 00 00 00 07 04 06 00 78 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 86 00 00 00 F4 03 04 00 99 D0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 85 0A 01 00 35 04 06 00 18 A6 65 B4 7D F6 8A 6C DA 81 0A 17 F9 65 [17:57:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 5A 3D 47 00 13 E2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 85 0A 01 00 F4 03 04 00 7A 7C 1F 67 B6 04 01 00 00 00 B5 8F 46 9B 44 58 45 [17:57:48]CommunicateWithHost err = 0 [17:57:48]CheckOFDResponse [17:57:48]1017 (14) - 77093643461234 [17:57:48]1041 (16) - 0000000000871758 [17:57:48]1040 (4) - 68229 [17:57:48]1012 (4) - 28.10.2024 11:58 [17:57:48]1206 (1) - 0 [17:57:48]OFD Sender: Remove packet 68229 [17:57:48]ProducePacketName [17:57:48]name=ofd_packets/00068229 [17:57:48]NVStorageDeleteData [17:57:48]Write to MH i2c: 01 00 00 BF 01 C0 [17:57:48]Write i2c OK [17:57:48]MH_I2C_Read... [17:57:48]Read from MH i2c: 01 [17:57:48]MH_I2C_Read... [17:57:48]Read from MH i2c: 01 07 00 [17:57:48]MH_I2C_Read... [17:57:48]Read from MH i2c: 01 07 00 BF 01 00 00 00 00 00 69 0C 3C [17:57:48]RasterBufferAndPrint [17:57:48]line [17:57:48]line [17:57:48]line [17:57:48]line [17:57:48]line [17:57:48]written 0, free lines is 3183 [17:57:48]MH_Cut [17:57:48]Write to MH i2c: D1 01 00 C6 01 01 99 [17:57:48]Write i2c OK [17:57:48]MH_I2C_Read... [17:57:48]Read from MH i2c: D1 [17:57:48]MH_I2C_Read... [17:57:48]Read from MH i2c: D1 01 00 [17:57:48]MH_I2C_Read... [17:57:48]Read from MH i2c: D1 01 00 C6 01 00 98 [17:57:48]Write to MH i2c: 01 00 00 C7 01 C8 [17:57:48]Write i2c OK [17:57:48]MH_I2C_Read... [17:57:48]OFD Sender: No OFD packet to send [17:57:49]*** Cut start [17:57:49]*** Partial cut [17:57:49]*** CUTSNS_PIN = 1 [17:57:49]*** CUTSNS_PIN = 0 [17:57:49]*** Brake cut motor [17:57:49]Read from MH i2c: 01 [17:57:49]MH_I2C_Read... [17:57:49]*** Stop cut motor [17:57:49]*** Cut end [17:57:49]Read from MH i2c: 01 07 00 [17:57:49]MH_I2C_Read... [17:57:49]Read from MH i2c: 01 07 00 C7 01 00 00 00 00 00 FF 0F DD [17:57:49]process_action close_receipt done [17:57:49]requested_data is exist [17:57:49]produce_requested_data [17:57:49]requested_item fm.sn is exist - process it [17:57:49]wFMCommunicate request_size=4 [17:57:49]MH_SAM_APDU [17:57:49]CAPDU: 80 11 00 00 [17:57:49]Write to MH i2c: E2 08 00 C8 01 80 11 00 00 00 00 00 00 43 [17:57:49]Write i2c OK [17:57:49]MH_I2C_Read... [17:57:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:57:50]Read from MH i2c: E2 [17:57:50]MH_I2C_Read... [17:57:50]Read from MH i2c: E2 17 00 [17:57:50]MH_I2C_Read... [17:57:50]Read from MH i2c: E2 17 00 C8 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 9A [17:57:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:57:50]wFMCommunicate OK [17:57:50]requested_item fd.num is exist - process it [17:57:50]SAM_PROTO_GetFieldsCounters [17:57:50]wFMCommunicate request_size=4 [17:57:50]MH_SAM_APDU [17:57:50]CAPDU: 80 13 00 00 [17:57:50]Write to MH i2c: E2 08 00 C9 01 80 13 00 00 00 00 00 00 46 [17:57:50]Write i2c OK [17:57:50]MH_I2C_Read... [17:57:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:57:50]Read from MH i2c: E2 [17:57:50]MH_I2C_Read... [17:57:50]Read from MH i2c: E2 62 00 [17:57:50]MH_I2C_Read... [17:57:50]Read from MH i2c: E2 62 00 C9 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 85 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 86 00 00 00 5E 04 04 00 86 00 00 00 57 04 04 00 87 00 00 00 19 04 04 00 00 00 00 00 90 00 B8 [17:57:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 85 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 86 00 00 00 5E 04 04 00 86 00 00 00 57 04 04 00 87 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:57:50]wFMCommunicate OK [17:57:50]SAM_PROTO_GetFieldsCounters done [17:57:50]requested_item shift.num is exist - process it [17:57:50]requested_item shift.opened is exist - process it [17:57:50]req_shift_opened [17:57:50]FM_GetShiftState [17:57:50]SAM_PROTO_GetShiftState [17:57:50]wFMCommunicate request_size=4 [17:57:50]MH_SAM_APDU [17:57:50]CAPDU: 80 13 01 00 [17:57:50]Write to MH i2c: E2 08 00 CA 01 80 13 01 00 00 00 00 00 48 [17:57:50]Write i2c OK [17:57:50]MH_I2C_Read... [17:57:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:57:50]Read from MH i2c: E2 [17:57:50]MH_I2C_Read... [17:57:50]Read from MH i2c: E2 0E 00 [17:57:50]MH_I2C_Read... [17:57:50]Read from MH i2c: E2 0E 00 CA 01 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 43 [17:57:50]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [17:57:50]wFMCommunicate OK [17:57:50]SAM_PROTO_GetShiftState done [17:57:50]FM_GetShiftState done [17:57:50]req_shift_opened done [17:57:50]requested_item shift.open_date is exist - process it [17:57:50]req_shift_open_date [17:57:50]req_shift_open_date done [17:57:50]produce_requested_data done [17:57:50]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68229,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [17:57:50]process_action_free close_receipt [17:57:50]json_value_free [17:57:50]json_value_free done [17:57:50]process_json_proto returns [17:57:50]Send response to host [17:57:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68229,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [17:57:50]free response buf [17:57:50]execute_script done [17:57:50]execute_script returns [17:57:50]free content buf [17:57:50]Sock 9.Close socket [17:57:50]Sock 9.Thread stoped [17:57:53]OFD Sender: No OFD packet to send [17:57:58]OFD Sender: No OFD packet to send [17:58:03]OFD Sender: No OFD packet to send [17:58:08]OFD Sender: No OFD packet to send [17:58:13]OFD Sender: No OFD packet to send [17:58:18]OFD Sender: No OFD packet to send [17:58:23]OFD Sender: No OFD packet to send [17:58:28]accept exits with 7 [17:58:28]New connection [17:58:28]New thread 3067497828 created [17:58:28]Thread 3067354468 joined [17:58:28]Waiting for new connection... [17:58:28] Sock 7.Parse request [17:58:28]Sock 7.Check first char [17:58:28]Sock 7.First char is OK [17:58:28]request: POST /json_proto HTTP/1.0 [17:58:28]Method: POST [17:58:28]URL: /json_proto [17:58:28]Method is POST - this is cgi request [17:58:28]url: /json_proto [17:58:28]query_string will be loaded in cgi processing [17:58:28]execute_cgi json_proto POST (null) [17:58:28]execute_cgi path=json_proto method=POST [17:58:28]POST find Content-Length [17:58:28]Host: 172.17.42.3:8080 [17:58:28]Content-Length: 655 [17:58:28]Content-Type: application/json [17:58:28] [17:58:28]POST finish read [17:58:28]Found Content-Length = 655 [17:58:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17186", "tax_sys" : 0, "items" : [ { "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" : 4.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:58:28]execute_script... [17:58: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)17186", "tax_sys" : 0, "items" : [ { "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" : 4.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:58:28]POST & json_proto [17:58:28]process_json_proto [17:58:28]json parsed OK: [17:58:28]protocol is kg_v1.0 [17:58:28]action value=close_receipt [17:58:28]process_action close_receipt [17:58:28]cmd_close_receipt [17:58:28]MH_GetDate [17:58:28]Write to MH i2c: F0 00 00 CB 01 BB [17:58:28]Write i2c OK [17:58:28]MH_I2C_Read... [17:58:28]Read from MH i2c: F0 [17:58:28]MH_I2C_Read... [17:58:28]Read from MH i2c: F0 09 00 [17:58:28]MH_I2C_Read... [17:58:28]Read from MH i2c: F0 09 00 CB 01 00 C4 D0 1F 67 0E CB 1F 67 3D [17:58:28]GetLastDocTimeStamp 1730138265 [17:58:28]current date 1730138308 [17:58:28]FM_GetShiftState [17:58:28]SAM_PROTO_GetShiftState [17:58:28]wFMCommunicate request_size=4 [17:58:28]MH_SAM_APDU [17:58:28]CAPDU: 80 13 01 00 [17:58:28]Write to MH i2c: E2 08 00 CC 01 80 13 01 00 00 00 00 00 4A [17:58:28]Write i2c OK [17:58:28]MH_I2C_Read... [17:58:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:58:28]Read from MH i2c: E2 [17:58:28]MH_I2C_Read... [17:58:28]Read from MH i2c: E2 0E 00 [17:58:28]MH_I2C_Read... [17:58:28]Read from MH i2c: E2 0E 00 CC 01 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 45 [17:58:28]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [17:58:28]wFMCommunicate OK [17:58:28]SAM_PROTO_GetShiftState done [17:58:28]FM_GetShiftState done [17:58:28]opened in 1730074770 [17:58:28]opened+sec_in_day 1730161170 [17:58:28]quantity*price = 400 [17:58:28]sum+1 = 401 [17:58:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 4.00 НСП 1% : 0.03 НДС 12% : 0.42 Наличными: 4.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 135 28.10.2024 17:58 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68230 ФПД: 143447449856955 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T175828&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68230&fm=143447449856955&tin=02508201610067®Number=0000000000091759&sum=400 0 [17:58:29]StoreToDocumentArchive [17:58:29]shift 547 fd 68230 [17:58:29]save to /storage/0547/doc_00068230 [17:58:29]save last doc name /storage/0547/doc_00068230 to /storage/kkm_last_doc_name [17:58:29]save OK [17:58:29]Clear old archive folders... [17:58:29]ProcessDocumentItem done err = 0, tmpTLVsize=278 [17:58:29]tlvbuf is 005E1EE0 [17:58:29]SAM_PROTO_ClearQueue [17:58:29]wFMCommunicate request_size=4 [17:58:29]MH_SAM_APDU [17:58:29]CAPDU: 80 09 00 00 [17:58:29]Write to MH i2c: E2 08 00 D9 01 80 09 00 00 00 00 00 00 4C [17:58:29]Write i2c OK [17:58:29]MH_I2C_Read... [17:58:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:58:29]Read from MH i2c: E2 [17:58:29]MH_I2C_Read... [17:58:29]Read from MH i2c: E2 03 00 [17:58:29]MH_I2C_Read... [17:58:29]Read from MH i2c: E2 03 00 D9 01 00 90 00 4E [17:58:29]RAPDU: 90 00 [17:58:29]wFMCommunicate OK [17:58:29]SAM_PROTO_ClearQueue done [17:58:29]KKMCreateOFDPacket [17:58:29]OFDProtocolAddRootSTLVToBuf [17:58:29]FM_MakeSignedData [17:58:29]FM_MakeSignedData [17:58:29]SAM_PROTO_SignData [17:58:29]wFMCommunicate request_size=4 [17:58:29]MH_SAM_APDU [17:58:29]CAPDU: 80 0D 01 02 [17:58:29]Write to MH i2c: E2 08 00 DA 01 80 0D 01 02 00 00 00 00 54 [17:58:29]Write i2c OK [17:58:29]MH_I2C_Read... [17:58:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:58:29]Read from MH i2c: E2 [17:58:29]MH_I2C_Read... [17:58:29]Read from MH i2c: E2 03 00 [17:58:29]MH_I2C_Read... [17:58:29]Read from MH i2c: E2 03 00 DA 01 00 90 00 4F [17:58:29]RAPDU: 90 00 [17:58:29]wFMCommunicate OK [17:58:29]wFMCommunicate request_size=255 [17:58:29]MH_SAM_APDU [17:58:29]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 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 90 01 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 00 00 00 00 00 07 04 06 00 90 01 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 87 00 00 00 F4 03 04 00 C4 D0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 [17:58:29]Write to MH i2c: E2 02 01 DB 01 80 0D 02 02 FA 00 03 00 16 01 1E 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 90 01 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 00 00 00 00 00 07 04 06 00 90 01 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 87 00 00 00 F4 03 04 00 C4 D0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 00 00 5D [17:58:29]Write i2c OK [17:58:29]MH_I2C_Read... [17:58:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:58:30]Read from MH i2c: E2 [17:58:30]MH_I2C_Read... [17:58:30]Read from MH i2c: E2 03 00 [17:58:30]MH_I2C_Read... [17:58:30]Read from MH i2c: E2 03 00 DB 01 00 90 00 50 [17:58:30]RAPDU: 90 00 [17:58:30]wFMCommunicate OK [17:58:30]wFMCommunicate request_size=37 [17:58:30]MH_SAM_APDU [17:58:30]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 86 0A 01 00 35 04 06 00 82 76 F6 4A EB BB [17:58:30]Write to MH i2c: E2 28 00 DC 01 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 86 0A 01 00 35 04 06 00 82 76 F6 4A EB BB 00 00 21 [17:58:30]Write i2c OK [17:58:30]MH_I2C_Read... [17:58:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:58:30]Read from MH i2c: E2 [17:58:30]MH_I2C_Read... [17:58:30]Read from MH i2c: E2 03 00 [17:58:30]MH_I2C_Read... [17:58:30]Read from MH i2c: E2 03 00 DC 01 00 90 00 51 [17:58:30]RAPDU: 90 00 [17:58:30]wFMCommunicate OK [17:58:30]wFMCommunicate request_size=4 [17:58:30]MH_SAM_APDU [17:58:30]CAPDU: 80 0D 03 02 [17:58:30]Write to MH i2c: E2 08 00 DD 01 80 0D 03 02 00 00 00 00 59 [17:58:30]Write i2c OK [17:58:30]MH_I2C_Read... [17:58:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:58:30]Read from MH i2c: E2 [17:58:30]MH_I2C_Read... [17:58:30]Read from MH i2c: E2 0B 00 [17:58:30]MH_I2C_Read... [17:58:30]Read from MH i2c: E2 0B 00 DD 01 00 D1 ED 53 D2 7C 3D B7 07 90 00 B4 [17:58:30]RAPDU: D1 ED 53 D2 7C 3D B7 07 90 00 [17:58:30]wFMCommunicate OK [17:58:30]SAM_PROTO_SignData done [17:58:30]FM_MakeSignedData done [17:58:30]CreateOFDProtocolMessage [17:58:30]wFMCommunicate request_size=4 [17:58:30]MH_SAM_APDU [17:58:30]CAPDU: 80 11 00 00 [17:58:30]Write to MH i2c: E2 08 00 DE 01 80 11 00 00 00 00 00 00 59 [17:58:30]Write i2c OK [17:58:30]MH_I2C_Read... [17:58:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:58:30]Read from MH i2c: E2 [17:58:30]MH_I2C_Read... [17:58:30]Read from MH i2c: E2 17 00 [17:58:30]MH_I2C_Read... [17:58:30]Read from MH i2c: E2 17 00 DE 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 B0 [17:58:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:58:30]wFMCommunicate OK [17:58:30]CreateOFDProtocolMessage done [17:58:30]OFDSenderStorePacket 68230 [17:58:30]StoreOFDPacket docnum=68230 [17:58:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2A 01 00 00 A0 A9 22 01 88 BD 5A 03 01 00 03 00 16 01 1E 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 90 01 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 00 00 00 00 00 07 04 06 00 90 01 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 87 00 00 00 F4 03 04 00 C4 D0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 86 0A 01 00 35 04 06 00 82 76 F6 4A EB BB D1 ED 53 D2 7C 3D B7 07 [17:58:30]CheckFolder [17:58:30]dirname=/storage/ofd_packets [17:58:30]CheckFolder done [17:58:30]ProducePacketName [17:58:30]name=ofd_packets/00068230 [17:58:30]NVStorageSaveData ofd_packets/00068230 [17:58:30]File name is /storage/ofd_packets/00068230 [17:58:30]Write 328 bytes [17:58:30]NVStorageSaveData done [17:58:30]OFDSenderStorePacket done [17:58:30]KKMCreateOFDPacket done [17:58:30]NVStorageSaveData kkm_last_timestamp [17:58:30]File name is /storage/kkm_last_timestamp [17:58:30]Write 4 bytes [17:58:30]NVStorageSaveData done [17:58:30]ExternCall_PrintAddStr [17:58:30]wPrintStart [17:58:30]Write to MH i2c: 01 00 00 DF 01 E0 [17:58:30]OFD Sender: Processing packet 68230 [packets to send 27, broken 26] [17:58:30]ProducePacketName [17:58:30]name=ofd_packets/00068230 [17:58:30]OFD Sender: To server: pG, [17:58:30]CommunicateWithHost lk.salyk.kg:30040 [17:58:30]ConnectInit lk.salyk.kg [17:58:30]Write i2c OK [17:58:30]MH_I2C_Read... [17:58:30]Read from MH i2c: 01 [17:58:30]MH_I2C_Read... [17:58:30]Read from MH i2c: 01 07 00 [17:58:30]MH_I2C_Read... [17:58:30]Read from MH i2c: 01 07 00 DF 01 00 00 00 00 00 FF 0F F5 [17:58:30]RasterBufferAndPrint [17:58:30]line Счет N : (3)17186 [17:58:30]line ИНН: 02508201610067 [17:58:30]line Контрольно-Кассовый Чек [17:58:30]line ПРОДАЖА [17:58:30]line Товар: 2000031750019 [17:58:30]line Пакет Партнер Нефть [17:58:30]line 1.000 * 4.00 [17:58:30]line = 4.00 [17:58:30]line НДС 12% НСП 1% [17:58:30]line > о реализуемом товаре [17:58:30]line ИТОГО: 4.00 [17:58:30]line НСП 1% : 0.03 [17:58:30]line НДС 12% : 0.42 [17:58:30]line Наличными: 4.00 [17:58:30]line Безнал.: 0.00 [17:58:30]line Место: АЗС № 160 "Партнер Нефть" [17:58:30]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [17:58:30]line СНО: Общий режим [17:58:30]line Чек 135 28.10.2024 17:58 [17:58:30]line Смена: 547 ФФД: 1.0 [17:58:30]line ЗНМ: 0300000093 [17:58:30]line РНМ: 0000000000091759 [17:58:30]line Версия ККМ: 001 [17:58:30]line ФМ: 0000000000871758 [17:58:30]line ФД: 68230 [17:58:30]line ФПД: 143447449856955 [17:58:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T175828&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68230&fm=143447449856955&tin=02508201610067®Number=0000000000091759&sum=400 [17:58:30]line 0 [17:58:30]written 0, free lines is 4095 [17:58:30]Connected sock=10 [17:58:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2A 01 00 00 A0 A9 22 01 88 BD 5A 03 01 00 03 00 16 01 1E 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 90 01 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 03 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 00 00 00 00 00 07 04 06 00 90 01 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 87 00 00 00 F4 03 04 00 C4 D0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 86 0A 01 00 35 04 06 00 82 76 F6 4A EB BB D1 ED 53 D2 7C 3D B7 07 [17:58:30]Write to MH i2c: 01 00 00 06 02 08 [17:58:30]Write i2c OK [17:58:30]MH_I2C_Read... [17:58:30]Read from MH i2c: 01 [17:58:30]MH_I2C_Read... [17:58:30]Read from MH i2c: 01 07 00 [17:58:30]MH_I2C_Read... [17:58:30]Read from MH i2c: 01 07 00 06 02 00 00 00 00 00 EA 0C 05 [17:58:30]RasterBufferAndPrint [17:58:30]line [17:58:30]line [17:58:30]line [17:58:30]line [17:58:30]line [17:58:30]written 0, free lines is 3313 [17:58:30]MH_Cut [17:58:30]Write to MH i2c: D1 01 00 0D 02 01 E1 [17:58:30]Write i2c OK [17:58:30]MH_I2C_Read... [17:58:30]Read from MH i2c: D1 [17:58:30]MH_I2C_Read... [17:58:30]Read from MH i2c: D1 01 00 [17:58:30]MH_I2C_Read... [17:58:30]Read from MH i2c: D1 01 00 0D 02 00 E0 [17:58:30]Write to MH i2c: 01 00 00 0E 02 10 [17:58:30]Write i2c OK [17:58:30]MH_I2C_Read... [17:58:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 4F 2E 47 00 9E 9D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 86 0A 01 00 F4 03 04 00 A5 7C 1F 67 B6 04 01 00 00 81 20 B6 3E 33 87 3B 1B [17:58:31]CommunicateWithHost err = 0 [17:58:31]CheckOFDResponse [17:58:31]1017 (14) - 77093643461234 [17:58:31]1041 (16) - 0000000000871758 [17:58:31]1040 (4) - 68230 [17:58:31]1012 (4) - 28.10.2024 11:59 [17:58:31]1206 (1) - 0 [17:58:31]OFD Sender: Remove packet 68230 [17:58:31]ProducePacketName [17:58:31]name=ofd_packets/00068230 [17:58:31]NVStorageDeleteData [17:58:31]OFD Sender: No OFD packet to send [17:58:31]*** Cut start [17:58:31]*** Partial cut [17:58:31]*** CUTSNS_PIN = 1 [17:58:31]*** CUTSNS_PIN = 0 [17:58:31]*** Brake cut motor [17:58:32]Read from MH i2c: 01 [17:58:32]MH_I2C_Read... [17:58:32]*** Stop cut motor [17:58:32]*** Cut end [17:58:32]Read from MH i2c: 01 07 00 [17:58:32]MH_I2C_Read... [17:58:32]Read from MH i2c: 01 07 00 0E 02 00 00 00 00 00 FF 0F 25 [17:58:32]process_action close_receipt done [17:58:32]requested_data is exist [17:58:32]produce_requested_data [17:58:32]requested_item fm.sn is exist - process it [17:58:32]wFMCommunicate request_size=4 [17:58:32]MH_SAM_APDU [17:58:32]CAPDU: 80 11 00 00 [17:58:32]Write to MH i2c: E2 08 00 0F 02 80 11 00 00 00 00 00 00 8B [17:58:32]Write i2c OK [17:58:32]MH_I2C_Read... [17:58:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:58:32]Read from MH i2c: E2 [17:58:32]MH_I2C_Read... [17:58:32]Read from MH i2c: E2 17 00 [17:58:32]MH_I2C_Read... [17:58:32]Read from MH i2c: E2 17 00 0F 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 E2 [17:58:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [17:58:32]wFMCommunicate OK [17:58:32]requested_item fd.num is exist - process it [17:58:32]SAM_PROTO_GetFieldsCounters [17:58:32]wFMCommunicate request_size=4 [17:58:32]MH_SAM_APDU [17:58:32]CAPDU: 80 13 00 00 [17:58:32]Write to MH i2c: E2 08 00 10 02 80 13 00 00 00 00 00 00 8E [17:58:32]Write i2c OK [17:58:32]MH_I2C_Read... [17:58:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:58:32]Read from MH i2c: E2 [17:58:32]MH_I2C_Read... [17:58:32]Read from MH i2c: E2 62 00 [17:58:32]MH_I2C_Read... [17:58:32]Read from MH i2c: E2 62 00 10 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 86 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 87 00 00 00 5E 04 04 00 87 00 00 00 57 04 04 00 88 00 00 00 19 04 04 00 00 00 00 00 90 00 04 [17:58:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 86 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 87 00 00 00 5E 04 04 00 87 00 00 00 57 04 04 00 88 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:58:32]wFMCommunicate OK [17:58:32]SAM_PROTO_GetFieldsCounters done [17:58:32]requested_item shift.num is exist - process it [17:58:32]requested_item shift.opened is exist - process it [17:58:32]req_shift_opened [17:58:32]FM_GetShiftState [17:58:32]SAM_PROTO_GetShiftState [17:58:32]wFMCommunicate request_size=4 [17:58:32]MH_SAM_APDU [17:58:32]CAPDU: 80 13 01 00 [17:58:32]Write to MH i2c: E2 08 00 11 02 80 13 01 00 00 00 00 00 90 [17:58:32]Write i2c OK [17:58:32]MH_I2C_Read... [17:58:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:58:32]Read from MH i2c: E2 [17:58:32]MH_I2C_Read... [17:58:32]Read from MH i2c: E2 0E 00 [17:58:32]MH_I2C_Read... [17:58:32]Read from MH i2c: E2 0E 00 11 02 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 8B [17:58:32]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [17:58:32]wFMCommunicate OK [17:58:32]SAM_PROTO_GetShiftState done [17:58:32]FM_GetShiftState done [17:58:32]req_shift_opened done [17:58:32]requested_item shift.open_date is exist - process it [17:58:32]req_shift_open_date [17:58:32]req_shift_open_date done [17:58:32]produce_requested_data done [17:58:32]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68230,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [17:58:32]process_action_free close_receipt [17:58:32]json_value_free [17:58:32]json_value_free done [17:58:32]process_json_proto returns [17:58:32]Send response to host [17:58:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68230,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [17:58:32]free response buf [17:58:32]execute_script done [17:58:32]execute_script returns [17:58:32]free content buf [17:58:32]Sock 7.Close socket [17:58:32]Sock 7.Thread stoped [17:58:36]OFD Sender: No OFD packet to send [17:58:41]OFD Sender: No OFD packet to send [17:58:46]OFD Sender: No OFD packet to send [17:58:51]OFD Sender: No OFD packet to send [17:58:56]OFD Sender: No OFD packet to send [17:59:01]OFD Sender: No OFD packet to send [17:59:06]OFD Sender: No OFD packet to send [17:59:11]OFD Sender: No OFD packet to send [17:59:16]OFD Sender: No OFD packet to send [17:59:21]OFD Sender: No OFD packet to send [17:59:26]OFD Sender: No OFD packet to send [17:59:31]OFD Sender: No OFD packet to send [17:59:36]OFD Sender: No OFD packet to send [17:59:41]OFD Sender: No OFD packet to send [17:59:46]OFD Sender: No OFD packet to send [17:59:51]OFD Sender: No OFD packet to send [17:59:56]OFD Sender: No OFD packet to send [18:00:01]OFD Sender: No OFD packet to send [18:00:06]OFD Sender: No OFD packet to send [18:00:11]OFD Sender: No OFD packet to send [18:00:16]OFD Sender: No OFD packet to send [18:00:21]OFD Sender: No OFD packet to send [18:00:26]OFD Sender: No OFD packet to send [18:00:31]OFD Sender: No OFD packet to send [18:00:36]OFD Sender: No OFD packet to send [18:00:41]OFD Sender: No OFD packet to send [18:00:46]OFD Sender: No OFD packet to send [18:00:51]OFD Sender: No OFD packet to send [18:00:56]OFD Sender: No OFD packet to send [18:01:01]OFD Sender: No OFD packet to send [18:01:06]OFD Sender: No OFD packet to send [18:01:11]OFD Sender: No OFD packet to send [18:01:16]OFD Sender: No OFD packet to send [18:01:21]OFD Sender: No OFD packet to send [18:01:26]OFD Sender: No OFD packet to send [18:01:31]OFD Sender: No OFD packet to send [18:01:36]OFD Sender: No OFD packet to send [18:01:41]OFD Sender: No OFD packet to send [18:01:46]OFD Sender: No OFD packet to send [18:01:51]OFD Sender: No OFD packet to send [18:01:56]OFD Sender: No OFD packet to send [18:02:01]OFD Sender: No OFD packet to send [18:02:06]OFD Sender: No OFD packet to send [18:02:11]OFD Sender: No OFD packet to send [18:02:16]OFD Sender: No OFD packet to send [18:02:21]OFD Sender: No OFD packet to send [18:02:26]OFD Sender: No OFD packet to send [18:02:31]OFD Sender: No OFD packet to send [18:02:36]OFD Sender: No OFD packet to send [18:02:41]OFD Sender: No OFD packet to send [18:02:46]OFD Sender: No OFD packet to send [18:02:51]OFD Sender: No OFD packet to send [18:02:56]OFD Sender: No OFD packet to send [18:03:01]OFD Sender: No OFD packet to send [18:03:06]OFD Sender: No OFD packet to send [18:03:11]OFD Sender: No OFD packet to send [18:03:16]OFD Sender: No OFD packet to send [18:03:21]OFD Sender: No OFD packet to send [18:03:26]OFD Sender: No OFD packet to send [18:03:31]OFD Sender: No OFD packet to send [18:03:36]OFD Sender: No OFD packet to send [18:03:41]OFD Sender: No OFD packet to send [18:03:46]OFD Sender: No OFD packet to send [18:03:51]OFD Sender: No OFD packet to send [18:03:56]OFD Sender: No OFD packet to send [18:04:01]OFD Sender: No OFD packet to send [18:04:06]OFD Sender: No OFD packet to send [18:04:11]OFD Sender: No OFD packet to send [18:04:16]OFD Sender: No OFD packet to send [18:04:21]OFD Sender: No OFD packet to send [18:04:26]OFD Sender: No OFD packet to send [18:04:31]OFD Sender: No OFD packet to send [18:04:36]OFD Sender: No OFD packet to send [18:04:41]OFD Sender: No OFD packet to send [18:04:46]OFD Sender: No OFD packet to send [18:04:51]OFD Sender: No OFD packet to send [18:04:56]OFD Sender: No OFD packet to send [18:05:01]OFD Sender: No OFD packet to send [18:05:06]OFD Sender: No OFD packet to send [18:05:11]OFD Sender: No OFD packet to send [18:05:16]OFD Sender: No OFD packet to send [18:05:21]OFD Sender: No OFD packet to send [18:05:26]OFD Sender: No OFD packet to send [18:05:31]OFD Sender: No OFD packet to send [18:05:36]OFD Sender: No OFD packet to send [18:05:41]OFD Sender: No OFD packet to send [18:05:46]OFD Sender: No OFD packet to send [18:05:51]OFD Sender: No OFD packet to send [18:05:56]OFD Sender: No OFD packet to send [18:06:01]OFD Sender: No OFD packet to send [18:06:06]OFD Sender: No OFD packet to send [18:06:11]OFD Sender: No OFD packet to send [18:06:16]OFD Sender: No OFD packet to send [18:06:21]OFD Sender: No OFD packet to send [18:06:26]OFD Sender: No OFD packet to send [18:06:31]OFD Sender: No OFD packet to send [18:06:36]OFD Sender: No OFD packet to send [18:06:41]OFD Sender: No OFD packet to send [18:06:46]OFD Sender: No OFD packet to send [18:06:51]OFD Sender: No OFD packet to send [18:06:56]OFD Sender: No OFD packet to send [18:07:01]OFD Sender: No OFD packet to send [18:07:06]OFD Sender: No OFD packet to send [18:07:11]OFD Sender: No OFD packet to send [18:07:16]OFD Sender: No OFD packet to send [18:07:21]OFD Sender: No OFD packet to send [18:07:25]accept exits with 9 [18:07:25]New connection [18:07:25]New thread 3067354468 created [18:07:25]Thread 3067497828 joined [18:07:25]Waiting for new connection... [18:07:25] Sock 9.Parse request [18:07:25]Sock 9.Check first char [18:07:25]Sock 9.First char is OK [18:07:25]request: POST /json_proto HTTP/1.0 [18:07:25]Method: POST [18:07:25]URL: /json_proto [18:07:25]Method is POST - this is cgi request [18:07:25]url: /json_proto [18:07:25]query_string will be loaded in cgi processing [18:07:25]execute_cgi json_proto POST (null) [18:07:25]execute_cgi path=json_proto method=POST [18:07:25]POST find Content-Length [18:07:25]Host: 172.17.42.3:8080 [18:07:25]Content-Length: 765 [18:07:25]Content-Type: application/json [18:07:25] [18:07:25]POST finish read [18:07:25]Found Content-Length = 765 [18:07:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46283", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 1.500, "sum" : 100.35, "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: Mbank", "payments": [ { "type": 1, "sum" : 100.35 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:07:25]execute_script... [18:07: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 : (1)46283", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 1.500, "sum" : 100.35, "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: Mbank", "payments": [ { "type": 1, "sum" : 100.35 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:07:25]POST & json_proto [18:07:25]process_json_proto [18:07:25]json parsed OK: [18:07:25]protocol is kg_v1.0 [18:07:25]action value=close_receipt [18:07:25]process_action close_receipt [18:07:25]cmd_close_receipt [18:07:25]MH_GetDate [18:07:25]Write to MH i2c: F0 00 00 12 02 03 [18:07:25]Write i2c OK [18:07:25]MH_I2C_Read... [18:07:25]Read from MH i2c: F0 [18:07:25]MH_I2C_Read... [18:07:25]Read from MH i2c: F0 09 00 [18:07:25]MH_I2C_Read... [18:07:25]Read from MH i2c: F0 09 00 12 02 00 DD D2 1F 67 0E CB 1F 67 A0 [18:07:25]GetLastDocTimeStamp 1730138308 [18:07:25]current date 1730138845 [18:07:25]FM_GetShiftState [18:07:25]SAM_PROTO_GetShiftState [18:07:25]wFMCommunicate request_size=4 [18:07:25]MH_SAM_APDU [18:07:25]CAPDU: 80 13 01 00 [18:07:25]Write to MH i2c: E2 08 00 13 02 80 13 01 00 00 00 00 00 92 [18:07:25]Write i2c OK [18:07:25]MH_I2C_Read... [18:07:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:07:25]Read from MH i2c: E2 [18:07:25]MH_I2C_Read... [18:07:25]Read from MH i2c: E2 0E 00 [18:07:25]MH_I2C_Read... [18:07:25]Read from MH i2c: E2 0E 00 13 02 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 8D [18:07:25]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [18:07:25]wFMCommunicate OK [18:07:25]SAM_PROTO_GetShiftState done [18:07:25]FM_GetShiftState done [18:07:25]opened in 1730074770 [18:07:25]opened+sec_in_day 1730161170 [18:07:25]quantity*price = 10035 [18:07:25]sum+1 = 10036 [18:07:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.35 НСП 1% : 0.89 НДС 12% : 10.66 Наличными: 0.00 Безнал.: 100.35 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 136 28.10.2024 18:07 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68231 ФПД: 68492542799979 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T180725&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68231&fm=68492542799979&tin=02508201610067®Number=0000000000091759&sum=10035 [18:07:26]StoreToDocumentArchive [18:07:26]shift 547 fd 68231 [18:07:26]save to /storage/0547/doc_00068231 [18:07:26]save last doc name /storage/0547/doc_00068231 to /storage/kkm_last_doc_name [18:07:26]save OK [18:07:26]Clear old archive folders... [18:07:26]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:07:26]tlvbuf is 005E1630 [18:07:26]SAM_PROTO_ClearQueue [18:07:26]wFMCommunicate request_size=4 [18:07:26]MH_SAM_APDU [18:07:26]CAPDU: 80 09 00 00 [18:07:26]Write to MH i2c: E2 08 00 20 02 80 09 00 00 00 00 00 00 94 [18:07:26]Write i2c OK [18:07:26]MH_I2C_Read... [18:07:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:07:26]Read from MH i2c: E2 [18:07:26]MH_I2C_Read... [18:07:26]Read from MH i2c: E2 03 00 [18:07:26]MH_I2C_Read... [18:07:26]Read from MH i2c: E2 03 00 20 02 00 90 00 96 [18:07:26]RAPDU: 90 00 [18:07:26]wFMCommunicate OK [18:07:26]SAM_PROTO_ClearQueue done [18:07:26]KKMCreateOFDPacket [18:07:26]OFDProtocolAddRootSTLVToBuf [18:07:26]FM_MakeSignedData [18:07:26]FM_MakeSignedData [18:07:26]SAM_PROTO_SignData [18:07:26]wFMCommunicate request_size=4 [18:07:26]MH_SAM_APDU [18:07:26]CAPDU: 80 0D 01 02 [18:07:26]Write to MH i2c: E2 08 00 21 02 80 0D 01 02 00 00 00 00 9C [18:07:26]Write i2c OK [18:07:26]MH_I2C_Read... [18:07:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:07:26]Read from MH i2c: E2 [18:07:26]MH_I2C_Read... [18:07:26]Read from MH i2c: E2 03 00 [18:07:26]MH_I2C_Read... [18:07:26]Read from MH i2c: E2 03 00 21 02 00 90 00 97 [18:07:26]RAPDU: 90 00 [18:07:26]wFMCommunicate OK [18:07:26]wFMCommunicate request_size=255 [18:07:26]MH_SAM_APDU [18:07:26]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DC 05 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 33 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 33 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 33 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 88 00 00 00 F4 03 04 00 DD D2 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 87 0A 01 00 35 04 06 00 3E [18:07:26]Write to MH i2c: E2 02 01 22 02 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DC 05 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 33 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 33 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 33 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 88 00 00 00 F4 03 04 00 DD D2 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 87 0A 01 00 35 04 06 00 3E 00 00 14 [18:07:26]Write i2c OK [18:07:26]MH_I2C_Read... [18:07:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:07:26]Read from MH i2c: E2 [18:07:26]MH_I2C_Read... [18:07:26]Read from MH i2c: E2 03 00 [18:07:26]MH_I2C_Read... [18:07:26]Read from MH i2c: E2 03 00 22 02 00 90 00 98 [18:07:26]RAPDU: 90 00 [18:07:26]wFMCommunicate OK [18:07:26]wFMCommunicate request_size=10 [18:07:26]MH_SAM_APDU [18:07:26]CAPDU: 80 0D 02 02 05 4B 29 AE F0 6B [18:07:26]Write to MH i2c: E2 0D 00 23 02 80 0D 02 02 05 00 4B 29 AE F0 6B 00 00 26 [18:07:26]Write i2c OK [18:07:26]MH_I2C_Read... [18:07:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:07:26]Read from MH i2c: E2 [18:07:26]MH_I2C_Read... [18:07:26]Read from MH i2c: E2 03 00 [18:07:26]MH_I2C_Read... [18:07:26]Read from MH i2c: E2 03 00 23 02 00 90 00 99 [18:07:26]RAPDU: 90 00 [18:07:26]wFMCommunicate OK [18:07:26]wFMCommunicate request_size=4 [18:07:26]MH_SAM_APDU [18:07:26]CAPDU: 80 0D 03 02 [18:07:26]Write to MH i2c: E2 08 00 24 02 80 0D 03 02 00 00 00 00 A1 [18:07:26]Write i2c OK [18:07:26]MH_I2C_Read... [18:07:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:07:27]OFD Sender: No OFD packet to send [18:07:27]Read from MH i2c: E2 [18:07:27]MH_I2C_Read... [18:07:27]Read from MH i2c: E2 0B 00 [18:07:27]MH_I2C_Read... [18:07:27]Read from MH i2c: E2 0B 00 24 02 00 02 36 26 43 EE 8C DF 18 90 00 B4 [18:07:27]RAPDU: 02 36 26 43 EE 8C DF 18 90 00 [18:07:27]wFMCommunicate OK [18:07:27]SAM_PROTO_SignData done [18:07:27]FM_MakeSignedData done [18:07:27]CreateOFDProtocolMessage [18:07:27]wFMCommunicate request_size=4 [18:07:27]MH_SAM_APDU [18:07:27]CAPDU: 80 11 00 00 [18:07:27]Write to MH i2c: E2 08 00 25 02 80 11 00 00 00 00 00 00 A1 [18:07:27]Write i2c OK [18:07:27]MH_I2C_Read... [18:07:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:07:27]Read from MH i2c: E2 [18:07:27]MH_I2C_Read... [18:07:27]Read from MH i2c: E2 17 00 [18:07:27]MH_I2C_Read... [18:07:27]Read from MH i2c: E2 17 00 25 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 F8 [18:07:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:07:27]wFMCommunicate OK [18:07:27]CreateOFDProtocolMessage done [18:07:27]OFDSenderStorePacket 68231 [18:07:27]StoreOFDPacket docnum=68231 [18:07:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 48 6D 07 01 67 06 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DC 05 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 33 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 33 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 33 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 88 00 00 00 F4 03 04 00 DD D2 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 87 0A 01 00 35 04 06 00 3E 4B 29 AE F0 6B 02 36 26 43 EE 8C DF 18 [18:07:27]CheckFolder [18:07:27]dirname=/storage/ofd_packets [18:07:27]CheckFolder done [18:07:27]ProducePacketName [18:07:27]name=ofd_packets/00068231 [18:07:27]NVStorageSaveData ofd_packets/00068231 [18:07:27]File name is /storage/ofd_packets/00068231 [18:07:27]Write 301 bytes [18:07:27]NVStorageSaveData done [18:07:27]OFDSenderStorePacket done [18:07:27]KKMCreateOFDPacket done [18:07:27]NVStorageSaveData kkm_last_timestamp [18:07:27]File name is /storage/kkm_last_timestamp [18:07:27]Write 4 bytes [18:07:27]NVStorageSaveData done [18:07:27]ExternCall_PrintAddStr [18:07:27]wPrintStart [18:07:27]Write to MH i2c: 01 00 00 26 02 28 [18:07:27]Write i2c OK [18:07:27]MH_I2C_Read... [18:07:27]Read from MH i2c: 01 [18:07:27]MH_I2C_Read... [18:07:27]Read from MH i2c: 01 07 00 [18:07:27]MH_I2C_Read... [18:07:27]Read from MH i2c: 01 07 00 26 02 00 00 00 00 00 FF 0F 3D [18:07:27]RasterBufferAndPrint [18:07:27]line Счет N : (1)46283 [18:07:27]line ИНН: 02508201610067 [18:07:27]line Контрольно-Кассовый Чек [18:07:27]line ПРОДАЖА [18:07:27]line ТРК (МРК, ГНК) : 13 [18:07:27]line Товар: 2710124130 [18:07:27]line Аи-92-К-5 [18:07:27]line 1.500 * 66.90 [18:07:27]line = 100.35 [18:07:27]line НДС 12% НСП 1% [18:07:27]line > о реализуемом товаре [18:07:27]line ИТОГО: 100.35 [18:07:27]line НСП 1% : 0.89 [18:07:27]line НДС 12% : 10.66 [18:07:27]line Наличными: 0.00 [18:07:27]line Безнал.: 100.35 [18:07:27]line Место: АЗС № 160 "Партнер Нефть" [18:07:27]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [18:07:27]line СНО: Общий режим [18:07:27]line Чек 136 28.10.2024 18:07 [18:07:27]line Смена: 547 ФФД: 1.0 [18:07:27]line ЗНМ: 0300000093 [18:07:27]line РНМ: 0000000000091759 [18:07:27]line Версия ККМ: 001 [18:07:27]line Платежная система: Mbank [18:07:27]line ФМ: 0000000000871758 [18:07:27]line ФД: 68231 [18:07:27]line ФПД: 68492542799979 [18:07:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T180725&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68231&fm=68492542799979&tin=02508201610067®Number=0000000000091759&sum=10035 [18:07:27]OFD Sender: Processing packet 68231 [packets to send 27, broken 26] [18:07:27]ProducePacketName [18:07:27]name=ofd_packets/00068231 [18:07:27]OFD Sender: To server: pG, [18:07:27]CommunicateWithHost lk.salyk.kg:30040 [18:07:27]ConnectInit lk.salyk.kg [18:07:27]written 0, free lines is 4095 [18:07:27]Connected sock=10 [18:07:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 48 6D 07 01 67 06 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DC 05 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 33 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 33 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2A 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 33 27 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 88 00 00 00 F4 03 04 00 DD D2 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 87 0A 01 00 35 04 06 00 3E 4B 29 AE F0 6B 02 36 26 43 EE 8C DF 18 [18:07:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 F0 7F 47 00 3B D8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 87 0A 01 00 F4 03 04 00 BD 7E 1F 67 B6 04 01 00 00 DB C8 8A A8 36 0D D6 9C [18:07:27]CommunicateWithHost err = 0 [18:07:27]CheckOFDResponse [18:07:27]1017 (14) - 77093643461234 [18:07:27]1041 (16) - 0000000000871758 [18:07:27]1040 (4) - 68231 [18:07:27]1012 (4) - 28.10.2024 12:08 [18:07:27]1206 (1) - 0 [18:07:27]OFD Sender: Remove packet 68231 [18:07:27]ProducePacketName [18:07:27]name=ofd_packets/00068231 [18:07:27]NVStorageDeleteData [18:07:27]Write to MH i2c: 01 00 00 4E 02 50 [18:07:27]Write i2c OK [18:07:27]MH_I2C_Read... [18:07:27]Read from MH i2c: 01 [18:07:27]MH_I2C_Read... [18:07:27]Read from MH i2c: 01 07 00 [18:07:27]MH_I2C_Read... [18:07:27]Read from MH i2c: 01 07 00 4E 02 00 00 00 00 00 E9 0C 4C [18:07:27]RasterBufferAndPrint [18:07:27]line [18:07:27]line [18:07:27]line [18:07:27]line [18:07:27]line [18:07:27]written 0, free lines is 3312 [18:07:27]MH_Cut [18:07:27]Write to MH i2c: D1 01 00 55 02 01 29 [18:07:27]Write i2c OK [18:07:27]MH_I2C_Read... [18:07:27]Read from MH i2c: D1 [18:07:27]MH_I2C_Read... [18:07:27]Read from MH i2c: D1 01 00 [18:07:27]MH_I2C_Read... [18:07:27]Read from MH i2c: D1 01 00 55 02 00 28 [18:07:27]Write to MH i2c: 01 00 00 56 02 58 [18:07:27]Write i2c OK [18:07:27]MH_I2C_Read... [18:07:28]OFD Sender: No OFD packet to send [18:07:28]*** Cut start [18:07:28]*** Partial cut [18:07:28]*** CUTSNS_PIN = 1 [18:07:28]*** CUTSNS_PIN = 0 [18:07:28]*** Brake cut motor [18:07:29]Read from MH i2c: 01 [18:07:29]MH_I2C_Read... [18:07:29]*** Stop cut motor [18:07:29]*** Cut end [18:07:29]Read from MH i2c: 01 07 00 [18:07:29]MH_I2C_Read... [18:07:29]Read from MH i2c: 01 07 00 56 02 00 00 00 00 00 FF 0F 6D [18:07:29]process_action close_receipt done [18:07:29]requested_data is exist [18:07:29]produce_requested_data [18:07:29]requested_item fm.sn is exist - process it [18:07:29]wFMCommunicate request_size=4 [18:07:29]MH_SAM_APDU [18:07:29]CAPDU: 80 11 00 00 [18:07:29]Write to MH i2c: E2 08 00 57 02 80 11 00 00 00 00 00 00 D3 [18:07:29]Write i2c OK [18:07:29]MH_I2C_Read... [18:07:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:07:29]Read from MH i2c: E2 [18:07:29]MH_I2C_Read... [18:07:29]Read from MH i2c: E2 17 00 [18:07:29]MH_I2C_Read... [18:07:29]Read from MH i2c: E2 17 00 57 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 2A [18:07:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:07:29]wFMCommunicate OK [18:07:29]requested_item fd.num is exist - process it [18:07:29]SAM_PROTO_GetFieldsCounters [18:07:29]wFMCommunicate request_size=4 [18:07:29]MH_SAM_APDU [18:07:29]CAPDU: 80 13 00 00 [18:07:29]Write to MH i2c: E2 08 00 58 02 80 13 00 00 00 00 00 00 D6 [18:07:29]Write i2c OK [18:07:29]MH_I2C_Read... [18:07:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:07:29]Read from MH i2c: E2 [18:07:29]MH_I2C_Read... [18:07:29]Read from MH i2c: E2 62 00 [18:07:29]MH_I2C_Read... [18:07:29]Read from MH i2c: E2 62 00 58 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 87 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 88 00 00 00 5E 04 04 00 88 00 00 00 57 04 04 00 89 00 00 00 19 04 04 00 00 00 00 00 90 00 50 [18:07:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 87 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 88 00 00 00 5E 04 04 00 88 00 00 00 57 04 04 00 89 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:07:29]wFMCommunicate OK [18:07:29]SAM_PROTO_GetFieldsCounters done [18:07:29]requested_item shift.num is exist - process it [18:07:29]requested_item shift.opened is exist - process it [18:07:29]req_shift_opened [18:07:29]FM_GetShiftState [18:07:29]SAM_PROTO_GetShiftState [18:07:29]wFMCommunicate request_size=4 [18:07:29]MH_SAM_APDU [18:07:29]CAPDU: 80 13 01 00 [18:07:29]Write to MH i2c: E2 08 00 59 02 80 13 01 00 00 00 00 00 D8 [18:07:29]Write i2c OK [18:07:29]MH_I2C_Read... [18:07:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:07:29]Read from MH i2c: E2 [18:07:29]MH_I2C_Read... [18:07:29]Read from MH i2c: E2 0E 00 [18:07:29]MH_I2C_Read... [18:07:29]Read from MH i2c: E2 0E 00 59 02 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 D3 [18:07:29]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [18:07:29]wFMCommunicate OK [18:07:29]SAM_PROTO_GetShiftState done [18:07:29]FM_GetShiftState done [18:07:29]req_shift_opened done [18:07:29]requested_item shift.open_date is exist - process it [18:07:29]req_shift_open_date [18:07:29]req_shift_open_date done [18:07:29]produce_requested_data done [18:07:29]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68231,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [18:07:29]process_action_free close_receipt [18:07:29]json_value_free [18:07:29]json_value_free done [18:07:29]process_json_proto returns [18:07:29]Send response to host [18:07:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68231,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [18:07:29]free response buf [18:07:29]execute_script done [18:07:29]execute_script returns [18:07:29]free content buf [18:07:29]Sock 9.Close socket [18:07:29]Sock 9.Thread stoped [18:07:33]OFD Sender: No OFD packet to send [18:07:38]OFD Sender: No OFD packet to send [18:07:43]OFD Sender: No OFD packet to send [18:07:48]OFD Sender: No OFD packet to send [18:07:53]OFD Sender: No OFD packet to send [18:07:58]OFD Sender: No OFD packet to send [18:08:03]OFD Sender: No OFD packet to send [18:08:08]OFD Sender: No OFD packet to send [18:08:13]OFD Sender: No OFD packet to send [18:08:18]OFD Sender: No OFD packet to send [18:08:23]OFD Sender: No OFD packet to send [18:08:28]OFD Sender: No OFD packet to send [18:08:33]OFD Sender: No OFD packet to send [18:08:38]OFD Sender: No OFD packet to send [18:08:39]accept exits with 7 [18:08:39]New connection [18:08:39]New thread 3067497828 created [18:08:39]Thread 3067354468 joined [18:08:39]Waiting for new connection... [18:08:39] Sock 7.Parse request [18:08:39]Sock 7.Check first char [18:08:39]Sock 7.First char is OK [18:08:39]request: POST /json_proto HTTP/1.0 [18:08:39]Method: POST [18:08:39]URL: /json_proto [18:08:39]Method is POST - this is cgi request [18:08:39]url: /json_proto [18:08:39]query_string will be loaded in cgi processing [18:08:39]execute_cgi json_proto POST (null) [18:08:39]execute_cgi path=json_proto method=POST [18:08:39]POST find Content-Length [18:08:39]Host: 172.17.42.3:8080 [18:08:39]Content-Length: 673 [18:08:39]Content-Type: application/json [18:08:39] [18:08:39]POST finish read [18:08:39]Found Content-Length = 673 [18:08:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46284", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 0.800, "sum" : 53.52, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 53.00, "payments": [ { "type": 0, "sum" : 53.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:08:39]execute_script... [18:08: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 : (1)46284", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 0.800, "sum" : 53.52, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 53.00, "payments": [ { "type": 0, "sum" : 53.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:08:39]POST & json_proto [18:08:39]process_json_proto [18:08:39]json parsed OK: [18:08:39]protocol is kg_v1.0 [18:08:39]action value=close_receipt [18:08:39]process_action close_receipt [18:08:39]cmd_close_receipt [18:08:39]MH_GetDate [18:08:39]Write to MH i2c: F0 00 00 5A 02 4B [18:08:39]Write i2c OK [18:08:39]MH_I2C_Read... [18:08:39]Read from MH i2c: F0 [18:08:39]MH_I2C_Read... [18:08:39]Read from MH i2c: F0 09 00 [18:08:39]MH_I2C_Read... [18:08:39]Read from MH i2c: F0 09 00 5A 02 00 27 D3 1F 67 0E CB 1F 67 33 [18:08:39]GetLastDocTimeStamp 1730138845 [18:08:39]current date 1730138919 [18:08:39]FM_GetShiftState [18:08:39]SAM_PROTO_GetShiftState [18:08:39]wFMCommunicate request_size=4 [18:08:39]MH_SAM_APDU [18:08:39]CAPDU: 80 13 01 00 [18:08:39]Write to MH i2c: E2 08 00 5B 02 80 13 01 00 00 00 00 00 DA [18:08:39]Write i2c OK [18:08:39]MH_I2C_Read... [18:08:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:08:39]Read from MH i2c: E2 [18:08:39]MH_I2C_Read... [18:08:39]Read from MH i2c: E2 0E 00 [18:08:39]MH_I2C_Read... [18:08:39]Read from MH i2c: E2 0E 00 5B 02 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 D5 [18:08:39]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [18:08:39]wFMCommunicate OK [18:08:39]SAM_PROTO_GetShiftState done [18:08:39]FM_GetShiftState done [18:08:39]opened in 1730074770 [18:08:39]opened+sec_in_day 1730161170 [18:08:39]quantity*price = 5352 [18:08:39]sum+1 = 5353 [18:08:39]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.52 ИТОГО: 53.00 Внесено: 400.00 СДАЧА: 347.00 НСП 1% : 0.47 НДС 12% : 5.68 Наличными: 53.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 137 28.10.2024 18:08 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68232 ФПД: 186878446203719 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T180839&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68232&fm=186878446203719&tin=02508201610067®Number=0000000000091759&sum=5300 [18:08:40]StoreToDocumentArchive [18:08:40]shift 547 fd 68232 [18:08:40]save to /storage/0547/doc_00068232 [18:08:40]save last doc name /storage/0547/doc_00068232 to /storage/kkm_last_doc_name [18:08:40]save OK [18:08:40]Clear old archive folders... [18:08:40]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:08:40]tlvbuf is 005E1630 [18:08:40]SAM_PROTO_ClearQueue [18:08:40]wFMCommunicate request_size=4 [18:08:40]MH_SAM_APDU [18:08:40]CAPDU: 80 09 00 00 [18:08:40]Write to MH i2c: E2 08 00 68 02 80 09 00 00 00 00 00 00 DC [18:08:40]Write i2c OK [18:08:40]MH_I2C_Read... [18:08:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:08:40]Read from MH i2c: E2 [18:08:40]MH_I2C_Read... [18:08:40]Read from MH i2c: E2 03 00 [18:08:40]MH_I2C_Read... [18:08:40]Read from MH i2c: E2 03 00 68 02 00 90 00 DE [18:08:40]RAPDU: 90 00 [18:08:40]wFMCommunicate OK [18:08:40]SAM_PROTO_ClearQueue done [18:08:40]KKMCreateOFDPacket [18:08:40]OFDProtocolAddRootSTLVToBuf [18:08:40]FM_MakeSignedData [18:08:40]FM_MakeSignedData [18:08:40]SAM_PROTO_SignData [18:08:40]wFMCommunicate request_size=4 [18:08:40]MH_SAM_APDU [18:08:40]CAPDU: 80 0D 01 02 [18:08:40]Write to MH i2c: E2 08 00 69 02 80 0D 01 02 00 00 00 00 E4 [18:08:40]Write i2c OK [18:08:40]MH_I2C_Read... [18:08:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:08:40]Read from MH i2c: E2 [18:08:40]MH_I2C_Read... [18:08:40]Read from MH i2c: E2 03 00 [18:08:40]MH_I2C_Read... [18:08:40]Read from MH i2c: E2 03 00 69 02 00 90 00 DF [18:08:40]RAPDU: 90 00 [18:08:40]wFMCommunicate OK [18:08:40]wFMCommunicate request_size=255 [18:08:40]MH_SAM_APDU [18:08:40]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 20 03 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 E8 14 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 14 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 02 00 00 00 00 07 04 06 00 B4 14 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 89 00 00 00 F4 03 04 00 27 D3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 88 0A 01 00 35 04 06 00 A9 [18:08:40]Write to MH i2c: E2 02 01 6A 02 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 20 03 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 E8 14 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 14 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 02 00 00 00 00 07 04 06 00 B4 14 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 89 00 00 00 F4 03 04 00 27 D3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 88 0A 01 00 35 04 06 00 A9 00 00 B6 [18:08:40]Write i2c OK [18:08:40]MH_I2C_Read... [18:08:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:08:40]Read from MH i2c: E2 [18:08:40]MH_I2C_Read... [18:08:40]Read from MH i2c: E2 03 00 [18:08:40]MH_I2C_Read... [18:08:40]Read from MH i2c: E2 03 00 6A 02 00 90 00 E0 [18:08:40]RAPDU: 90 00 [18:08:40]wFMCommunicate OK [18:08:40]wFMCommunicate request_size=10 [18:08:40]MH_SAM_APDU [18:08:40]CAPDU: 80 0D 02 02 05 F7 07 66 F3 47 [18:08:40]Write to MH i2c: E2 0D 00 6B 02 80 0D 02 02 05 00 F7 07 66 F3 47 00 00 8F [18:08:40]Write i2c OK [18:08:40]MH_I2C_Read... [18:08:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:08:40]Read from MH i2c: E2 [18:08:40]MH_I2C_Read... [18:08:40]Read from MH i2c: E2 03 00 [18:08:40]MH_I2C_Read... [18:08:40]Read from MH i2c: E2 03 00 6B 02 00 90 00 E1 [18:08:40]RAPDU: 90 00 [18:08:40]wFMCommunicate OK [18:08:40]wFMCommunicate request_size=4 [18:08:40]MH_SAM_APDU [18:08:40]CAPDU: 80 0D 03 02 [18:08:40]Write to MH i2c: E2 08 00 6C 02 80 0D 03 02 00 00 00 00 E9 [18:08:40]Write i2c OK [18:08:40]MH_I2C_Read... [18:08:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:08:40]Read from MH i2c: E2 [18:08:40]MH_I2C_Read... [18:08:40]Read from MH i2c: E2 0B 00 [18:08:40]MH_I2C_Read... [18:08:40]Read from MH i2c: E2 0B 00 6C 02 00 FC 09 E8 88 C9 C6 5F D6 90 00 23 [18:08:40]RAPDU: FC 09 E8 88 C9 C6 5F D6 90 00 [18:08:40]wFMCommunicate OK [18:08:40]SAM_PROTO_SignData done [18:08:40]FM_MakeSignedData done [18:08:40]CreateOFDProtocolMessage [18:08:40]wFMCommunicate request_size=4 [18:08:40]MH_SAM_APDU [18:08:40]CAPDU: 80 11 00 00 [18:08:40]Write to MH i2c: E2 08 00 6D 02 80 11 00 00 00 00 00 00 E9 [18:08:40]Write i2c OK [18:08:40]MH_I2C_Read... [18:08:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:08:40]Read from MH i2c: E2 [18:08:40]MH_I2C_Read... [18:08:40]Read from MH i2c: E2 17 00 [18:08:40]MH_I2C_Read... [18:08:40]Read from MH i2c: E2 17 00 6D 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 40 [18:08:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:08:40]wFMCommunicate OK [18:08:40]CreateOFDProtocolMessage done [18:08:40]OFDSenderStorePacket 68232 [18:08:40]StoreOFDPacket docnum=68232 [18:08:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 7B EF 07 01 15 70 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 20 03 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 E8 14 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 14 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 02 00 00 00 00 07 04 06 00 B4 14 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 89 00 00 00 F4 03 04 00 27 D3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 88 0A 01 00 35 04 06 00 A9 F7 07 66 F3 47 FC 09 E8 88 C9 C6 5F D6 [18:08:40]CheckFolder [18:08:40]dirname=/storage/ofd_packets [18:08:40]CheckFolder done [18:08:40]ProducePacketName [18:08:40]name=ofd_packets/00068232 [18:08:40]NVStorageSaveData ofd_packets/00068232 [18:08:40]File name is /storage/ofd_packets/00068232 [18:08:40]Write 301 bytes [18:08:40]NVStorageSaveData done [18:08:40]OFDSenderStorePacket done [18:08:40]KKMCreateOFDPacket done [18:08:40]NVStorageSaveData kkm_last_timestamp [18:08:40]File name is /storage/kkm_last_timestamp [18:08:40]Write 4 bytes [18:08:40]NVStorageSaveData done [18:08:40]ExternCall_PrintAddStr [18:08:40]wPrintStart [18:08:40]Write to MH i2c: 01 00 00 6E 02 70 [18:08:40]Write i2c OK [18:08:40]MH_I2C_Read... [18:08:40]Read from MH i2c: 01 [18:08:40]MH_I2C_Read... [18:08:40]Read from MH i2c: 01 07 00 [18:08:40]MH_I2C_Read... [18:08:40]Read from MH i2c: 01 07 00 6E 02 00 00 00 00 00 FF 0F 85 [18:08:40]RasterBufferAndPrint [18:08:40]line Счет N : (1)46284 [18:08:40]line ИНН: 02508201610067 [18:08:40]line Контрольно-Кассовый Чек [18:08:40]line ПРОДАЖА [18:08:40]line ТРК (МРК, ГНК) : 13 [18:08:40]line Товар: 2710124130 [18:08:40]line Аи-92-К-5 [18:08:40]line 0.800 * 66.90 [18:08:40]line = 53.52 [18:08:40]line НДС 12% НСП 1% [18:08:40]line > о реализуемом товаре [18:08:40]line ОКРУГЛЕНИЕ: -0.52 [18:08:40]line ИТОГО: 53.00 [18:08:40]line Внесено: 400.00 [18:08:40]line СДАЧА: 347.00 [18:08:40]line НСП 1% : 0.47 [18:08:40]line НДС 12% : 5.68 [18:08:40]line Наличными: 53.00 [18:08:40]line Безнал.: 0.00 [18:08:40]line Место: АЗС № 160 "Партнер Нефть" [18:08:40]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [18:08:40]line СНО: Общий режим [18:08:40]line Чек 137 28.10.2024 18:08 [18:08:40]line Смена: 547 ФФД: 1.0 [18:08:40]line ЗНМ: 0300000093 [18:08:40]line РНМ: 0000000000091759 [18:08:40]line Версия ККМ: 001 [18:08:40]line ФМ: 0000000000871758 [18:08:40]line ФД: 68232 [18:08:40]line ФПД: 186878446203719 [18:08:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T180839&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68232&fm=186878446203719&tin=02508201610067®Number=0000000000091759&sum=5300 [18:08:41]OFD Sender: Processing packet 68232 [packets to send 27, broken 26] [18:08:41]ProducePacketName [18:08:41]name=ofd_packets/00068232 [18:08:41]OFD Sender: To server: pG, [18:08:41]CommunicateWithHost lk.salyk.kg:30040 [18:08:41]ConnectInit lk.salyk.kg [18:08:41]written 0, free lines is 4095 [18:08:41]Connected sock=10 [18:08:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 7B EF 07 01 15 70 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 20 03 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 E8 14 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 14 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 02 00 00 00 00 07 04 06 00 B4 14 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 89 00 00 00 F4 03 04 00 27 D3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 88 0A 01 00 35 04 06 00 A9 F7 07 66 F3 47 FC 09 E8 88 C9 C6 5F D6 [18:08:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 2F 77 47 00 B3 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 88 0A 01 00 F4 03 04 00 07 7F 1F 67 B6 04 01 00 00 B9 3E E5 24 B7 23 A9 24 [18:08:41]CommunicateWithHost err = 0 [18:08:41]CheckOFDResponse [18:08:41]1017 (14) - 77093643461234 [18:08:41]1041 (16) - 0000000000871758 [18:08:41]1040 (4) - 68232 [18:08:41]1012 (4) - 28.10.2024 12:09 [18:08:41]1206 (1) - 0 [18:08:41]OFD Sender: Remove packet 68232 [18:08:41]ProducePacketName [18:08:41]name=ofd_packets/00068232 [18:08:41]NVStorageDeleteData [18:08:41]Write to MH i2c: 01 00 00 98 02 9A [18:08:41]Write i2c OK [18:08:41]MH_I2C_Read... [18:08:41]Read from MH i2c: 01 [18:08:41]MH_I2C_Read... [18:08:41]Read from MH i2c: 01 07 00 [18:08:41]MH_I2C_Read... [18:08:41]Read from MH i2c: 01 07 00 98 02 00 00 00 00 00 BF 0C 6C [18:08:41]RasterBufferAndPrint [18:08:41]line [18:08:41]line [18:08:41]line [18:08:41]line [18:08:41]line [18:08:41]written 0, free lines is 3269 [18:08:41]MH_Cut [18:08:41]Write to MH i2c: D1 01 00 9F 02 01 73 [18:08:41]Write i2c OK [18:08:41]MH_I2C_Read... [18:08:41]Read from MH i2c: D1 [18:08:41]MH_I2C_Read... [18:08:41]Read from MH i2c: D1 01 00 [18:08:41]MH_I2C_Read... [18:08:41]Read from MH i2c: D1 01 00 9F 02 00 72 [18:08:41]Write to MH i2c: 01 00 00 A0 02 A2 [18:08:41]Write i2c OK [18:08:41]MH_I2C_Read... [18:08:41]OFD Sender: No OFD packet to send [18:08:42]*** Cut start [18:08:42]*** Partial cut [18:08:42]*** CUTSNS_PIN = 1 [18:08:42]*** CUTSNS_PIN = 0 [18:08:42]*** Brake cut motor [18:08:42]Read from MH i2c: 01 [18:08:42]MH_I2C_Read... [18:08:42]*** Stop cut motor [18:08:42]*** Cut end [18:08:42]Read from MH i2c: 01 07 00 [18:08:42]MH_I2C_Read... [18:08:42]Read from MH i2c: 01 07 00 A0 02 00 00 00 00 00 FF 0F B7 [18:08:42]process_action close_receipt done [18:08:42]requested_data is exist [18:08:42]produce_requested_data [18:08:42]requested_item fm.sn is exist - process it [18:08:42]wFMCommunicate request_size=4 [18:08:42]MH_SAM_APDU [18:08:42]CAPDU: 80 11 00 00 [18:08:42]Write to MH i2c: E2 08 00 A1 02 80 11 00 00 00 00 00 00 1D [18:08:42]Write i2c OK [18:08:42]MH_I2C_Read... [18:08:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:08:42]Read from MH i2c: E2 [18:08:42]MH_I2C_Read... [18:08:42]Read from MH i2c: E2 17 00 [18:08:42]MH_I2C_Read... [18:08:42]Read from MH i2c: E2 17 00 A1 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 74 [18:08:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:08:42]wFMCommunicate OK [18:08:43]requested_item fd.num is exist - process it [18:08:43]SAM_PROTO_GetFieldsCounters [18:08:43]wFMCommunicate request_size=4 [18:08:43]MH_SAM_APDU [18:08:43]CAPDU: 80 13 00 00 [18:08:43]Write to MH i2c: E2 08 00 A2 02 80 13 00 00 00 00 00 00 20 [18:08:43]Write i2c OK [18:08:43]MH_I2C_Read... [18:08:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:08:43]Read from MH i2c: E2 [18:08:43]MH_I2C_Read... [18:08:43]Read from MH i2c: E2 62 00 [18:08:43]MH_I2C_Read... [18:08:43]Read from MH i2c: E2 62 00 A2 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 88 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 89 00 00 00 5E 04 04 00 89 00 00 00 57 04 04 00 8A 00 00 00 19 04 04 00 00 00 00 00 90 00 9E [18:08:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 88 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 89 00 00 00 5E 04 04 00 89 00 00 00 57 04 04 00 8A 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:08:43]wFMCommunicate OK [18:08:43]SAM_PROTO_GetFieldsCounters done [18:08:43]requested_item shift.num is exist - process it [18:08:43]requested_item shift.opened is exist - process it [18:08:43]req_shift_opened [18:08:43]FM_GetShiftState [18:08:43]SAM_PROTO_GetShiftState [18:08:43]wFMCommunicate request_size=4 [18:08:43]MH_SAM_APDU [18:08:43]CAPDU: 80 13 01 00 [18:08:43]Write to MH i2c: E2 08 00 A3 02 80 13 01 00 00 00 00 00 22 [18:08:43]Write i2c OK [18:08:43]MH_I2C_Read... [18:08:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:08:43]Read from MH i2c: E2 [18:08:43]MH_I2C_Read... [18:08:43]Read from MH i2c: E2 0E 00 [18:08:43]MH_I2C_Read... [18:08:43]Read from MH i2c: E2 0E 00 A3 02 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 1D [18:08:43]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [18:08:43]wFMCommunicate OK [18:08:43]SAM_PROTO_GetShiftState done [18:08:43]FM_GetShiftState done [18:08:43]req_shift_opened done [18:08:43]requested_item shift.open_date is exist - process it [18:08:43]req_shift_open_date [18:08:43]req_shift_open_date done [18:08:43]produce_requested_data done [18:08:43]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68232,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [18:08:43]process_action_free close_receipt [18:08:43]json_value_free [18:08:43]json_value_free done [18:08:43]process_json_proto returns [18:08:43]Send response to host [18:08:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68232,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [18:08:43]free response buf [18:08:43]execute_script done [18:08:43]execute_script returns [18:08:43]free content buf [18:08:43]Sock 7.Close socket [18:08:43]Sock 7.Thread stoped [18:08:46]OFD Sender: No OFD packet to send [18:08:51]OFD Sender: No OFD packet to send [18:08:56]OFD Sender: No OFD packet to send [18:09:01]OFD Sender: No OFD packet to send [18:09:06]OFD Sender: No OFD packet to send [18:09:11]OFD Sender: No OFD packet to send [18:09:16]OFD Sender: No OFD packet to send [18:09:21]OFD Sender: No OFD packet to send [18:09:26]OFD Sender: No OFD packet to send [18:09:31]OFD Sender: No OFD packet to send [18:09:36]OFD Sender: No OFD packet to send [18:09:41]OFD Sender: No OFD packet to send [18:09:46]OFD Sender: No OFD packet to send [18:09:51]accept exits with 9 [18:09:51]New connection [18:09:51]New thread 3067354468 created [18:09:51]Thread 3067497828 joined [18:09:51]Waiting for new connection... [18:09:51] Sock 9.Parse request [18:09:51]Sock 9.Check first char [18:09:51]Sock 9.First char is OK [18:09:51]request: POST /json_proto HTTP/1.0 [18:09:51]Method: POST [18:09:51]URL: /json_proto [18:09:51]Method is POST - this is cgi request [18:09:51]url: /json_proto [18:09:51]query_string will be loaded in cgi processing [18:09:51]execute_cgi json_proto POST (null) [18:09:51]execute_cgi path=json_proto method=POST [18:09:51]POST find Content-Length [18:09:51]Host: 172.17.42.3:8080 [18:09:51]Content-Length: 676 [18:09:51]Content-Type: application/json [18:09:51] [18:09:51]POST finish read [18:09:51]Found Content-Length = 676 [18:09:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46285", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.190, "sum" : 347.21, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 347.00, "total" : 347.00, "payments": [ { "type": 0, "sum" : 347.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:09:51]execute_script... [18:09: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 : (1)46285", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.190, "sum" : 347.21, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 347.00, "total" : 347.00, "payments": [ { "type": 0, "sum" : 347.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:09:51]POST & json_proto [18:09:51]process_json_proto [18:09:51]json parsed OK: [18:09:51]protocol is kg_v1.0 [18:09:51]action value=close_receipt [18:09:51]process_action close_receipt [18:09:51]cmd_close_receipt [18:09:51]MH_GetDate [18:09:51]Write to MH i2c: F0 00 00 A4 02 95 [18:09:51]Write i2c OK [18:09:51]MH_I2C_Read... [18:09:51]Read from MH i2c: F0 [18:09:51]MH_I2C_Read... [18:09:51]Read from MH i2c: F0 09 00 [18:09:51]MH_I2C_Read... [18:09:51]Read from MH i2c: F0 09 00 A4 02 00 6F D3 1F 67 0E CB 1F 67 C5 [18:09:51]GetLastDocTimeStamp 1730138919 [18:09:51]current date 1730138991 [18:09:51]FM_GetShiftState [18:09:51]SAM_PROTO_GetShiftState [18:09:51]wFMCommunicate request_size=4 [18:09:51]MH_SAM_APDU [18:09:51]CAPDU: 80 13 01 00 [18:09:51]Write to MH i2c: E2 08 00 A5 02 80 13 01 00 00 00 00 00 24 [18:09:51]Write i2c OK [18:09:51]MH_I2C_Read... [18:09:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:09:51]Read from MH i2c: E2 [18:09:51]MH_I2C_Read... [18:09:51]Read from MH i2c: E2 0E 00 [18:09:51]MH_I2C_Read... [18:09:51]Read from MH i2c: E2 0E 00 A5 02 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 1F [18:09:51]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [18:09:51]wFMCommunicate OK [18:09:51]SAM_PROTO_GetShiftState done [18:09:51]FM_GetShiftState done [18:09:51]opened in 1730074770 [18:09:51]opened+sec_in_day 1730161170 [18:09:51]quantity*price = 34721 [18:09:51]sum+1 = 34722 [18:09:51]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.21 ИТОГО: 347.00 Внесено: 347.00 СДАЧА: 0.00 НСП 1% : 3.07 НДС 12% : 36.87 Наличными: 347.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 138 28.10.2024 18:09 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68233 ФПД: 94875036252109 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T180951&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68233&fm=94875036252109&tin=02508201610067®Number=0000000000091759&sum=34700 [18:09:52]StoreToDocumentArchive [18:09:52]shift 547 fd 68233 [18:09:52]save to /storage/0547/doc_00068233 [18:09:52]save last doc name /storage/0547/doc_00068233 to /storage/kkm_last_doc_name [18:09:52]save OK [18:09:52]Clear old archive folders... [18:09:52]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:09:52]tlvbuf is 005D4520 [18:09:52]SAM_PROTO_ClearQueue [18:09:52]wFMCommunicate request_size=4 [18:09:52]MH_SAM_APDU [18:09:52]CAPDU: 80 09 00 00 [18:09:52]Write to MH i2c: E2 08 00 B2 02 80 09 00 00 00 00 00 00 26 [18:09:52]Write i2c OK [18:09:52]MH_I2C_Read... [18:09:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:09:52]Read from MH i2c: E2 [18:09:52]MH_I2C_Read... [18:09:52]Read from MH i2c: E2 03 00 [18:09:52]MH_I2C_Read... [18:09:52]Read from MH i2c: E2 03 00 B2 02 00 90 00 28 [18:09:52]RAPDU: 90 00 [18:09:52]wFMCommunicate OK [18:09:52]SAM_PROTO_ClearQueue done [18:09:52]KKMCreateOFDPacket [18:09:52]OFDProtocolAddRootSTLVToBuf [18:09:52]FM_MakeSignedData [18:09:52]FM_MakeSignedData [18:09:52]SAM_PROTO_SignData [18:09:52]wFMCommunicate request_size=4 [18:09:52]MH_SAM_APDU [18:09:52]CAPDU: 80 0D 01 02 [18:09:52]Write to MH i2c: E2 08 00 B3 02 80 0D 01 02 00 00 00 00 2E [18:09:52]Write i2c OK [18:09:52]MH_I2C_Read... [18:09:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:09:52]Read from MH i2c: E2 [18:09:52]MH_I2C_Read... [18:09:52]Read from MH i2c: E2 03 00 [18:09:52]MH_I2C_Read... [18:09:52]Read from MH i2c: E2 03 00 B3 02 00 90 00 29 [18:09:52]RAPDU: 90 00 [18:09:52]wFMCommunicate OK [18:09:52]wFMCommunicate request_size=255 [18:09:52]MH_SAM_APDU [18:09:52]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 46 14 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 A1 87 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 87 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 0E 00 00 00 00 07 04 06 00 8C 87 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8A 00 00 00 F4 03 04 00 6F D3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 89 0A 01 00 35 04 06 00 56 [18:09:53]Write to MH i2c: E2 02 01 B4 02 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 46 14 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 A1 87 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 87 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 0E 00 00 00 00 07 04 06 00 8C 87 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8A 00 00 00 F4 03 04 00 6F D3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 89 0A 01 00 35 04 06 00 56 00 00 30 [18:09:53]Write i2c OK [18:09:53]MH_I2C_Read... [18:09:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:09:53]Read from MH i2c: E2 [18:09:53]MH_I2C_Read... [18:09:53]Read from MH i2c: E2 03 00 [18:09:53]MH_I2C_Read... [18:09:53]Read from MH i2c: E2 03 00 B4 02 00 90 00 2A [18:09:53]RAPDU: 90 00 [18:09:53]wFMCommunicate OK [18:09:53]wFMCommunicate request_size=10 [18:09:53]MH_SAM_APDU [18:09:53]CAPDU: 80 0D 02 02 05 49 D0 D5 77 CD [18:09:53]Write to MH i2c: E2 0D 00 B5 02 80 0D 02 02 05 00 49 D0 D5 77 CD 00 00 6D [18:09:53]Write i2c OK [18:09:53]MH_I2C_Read... [18:09:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:09:53]Read from MH i2c: E2 [18:09:53]MH_I2C_Read... [18:09:53]Read from MH i2c: E2 03 00 [18:09:53]MH_I2C_Read... [18:09:53]Read from MH i2c: E2 03 00 B5 02 00 90 00 2B [18:09:53]RAPDU: 90 00 [18:09:53]wFMCommunicate OK [18:09:53]wFMCommunicate request_size=4 [18:09:53]MH_SAM_APDU [18:09:53]CAPDU: 80 0D 03 02 [18:09:53]Write to MH i2c: E2 08 00 B6 02 80 0D 03 02 00 00 00 00 33 [18:09:53]Write i2c OK [18:09:53]MH_I2C_Read... [18:09:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:09:53]Read from MH i2c: E2 [18:09:53]MH_I2C_Read... [18:09:53]Read from MH i2c: E2 0B 00 [18:09:53]MH_I2C_Read... [18:09:53]Read from MH i2c: E2 0B 00 B6 02 00 B2 89 03 7A D9 CE 48 F1 90 00 CC [18:09:53]RAPDU: B2 89 03 7A D9 CE 48 F1 90 00 [18:09:53]wFMCommunicate OK [18:09:53]SAM_PROTO_SignData done [18:09:53]FM_MakeSignedData done [18:09:53]CreateOFDProtocolMessage [18:09:53]wFMCommunicate request_size=4 [18:09:53]MH_SAM_APDU [18:09:53]CAPDU: 80 11 00 00 [18:09:53]Write to MH i2c: E2 08 00 B7 02 80 11 00 00 00 00 00 00 33 [18:09:53]Write i2c OK [18:09:53]MH_I2C_Read... [18:09:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:09:53]Read from MH i2c: E2 [18:09:53]MH_I2C_Read... [18:09:53]Read from MH i2c: E2 17 00 [18:09:53]MH_I2C_Read... [18:09:53]Read from MH i2c: E2 17 00 B7 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 8A [18:09:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:09:53]wFMCommunicate OK [18:09:53]CreateOFDProtocolMessage done [18:09:53]OFDSenderStorePacket 68233 [18:09:53]StoreOFDPacket docnum=68233 [18:09:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 7A ED 07 01 B6 D0 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 46 14 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 A1 87 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 87 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 0E 00 00 00 00 07 04 06 00 8C 87 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8A 00 00 00 F4 03 04 00 6F D3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 89 0A 01 00 35 04 06 00 56 49 D0 D5 77 CD B2 89 03 7A D9 CE 48 F1 [18:09:53]CheckFolder [18:09:53]dirname=/storage/ofd_packets [18:09:53]CheckFolder done [18:09:53]ProducePacketName [18:09:53]name=ofd_packets/00068233 [18:09:53]NVStorageSaveData ofd_packets/00068233 [18:09:53]File name is /storage/ofd_packets/00068233 [18:09:53]Write 301 bytes [18:09:53]NVStorageSaveData done [18:09:53]OFDSenderStorePacket done [18:09:53]KKMCreateOFDPacket done [18:09:53]NVStorageSaveData kkm_last_timestamp [18:09:53]File name is /storage/kkm_last_timestamp [18:09:53]Write 4 bytes [18:09:53]NVStorageSaveData done [18:09:53]ExternCall_PrintAddStr [18:09:53]wPrintStart [18:09:53]Write to MH i2c: 01 00 00 B8 02 BA [18:09:53]Write i2c OK [18:09:53]MH_I2C_Read... [18:09:53]Read from MH i2c: 01 [18:09:53]MH_I2C_Read... [18:09:53]Read from MH i2c: 01 07 00 [18:09:53]MH_I2C_Read... [18:09:53]Read from MH i2c: 01 07 00 B8 02 00 00 00 00 00 FF 0F CF [18:09:53]RasterBufferAndPrint [18:09:53]line Счет N : (1)46285 [18:09:53]line ИНН: 02508201610067 [18:09:53]line Контрольно-Кассовый Чек [18:09:53]line ПРОДАЖА [18:09:53]line ТРК (МРК, ГНК) : 13 [18:09:53]line Товар: 2710124130 [18:09:53]line Аи-92-К-5 [18:09:53]line 5.190 * 66.90 [18:09:53]line = 347.21 [18:09:53]line НДС 12% НСП 1% [18:09:53]line > о реализуемом товаре [18:09:53]line ОКРУГЛЕНИЕ: -0.21 [18:09:53]line ИТОГО: 347.00 [18:09:53]line Внесено: 347.00 [18:09:53]line СДАЧА: 0.00 [18:09:53]line НСП 1% : 3.07 [18:09:53]line НДС 12% : 36.87 [18:09:53]line Наличными: 347.00 [18:09:53]line Безнал.: 0.00 [18:09:53]line Место: АЗС № 160 "Партнер Нефть" [18:09:53]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [18:09:53]line СНО: Общий режим [18:09:53]line Чек 138 28.10.2024 18:09 [18:09:53]line Смена: 547 ФФД: 1.0 [18:09:53]line ЗНМ: 0300000093 [18:09:53]line РНМ: 0000000000091759 [18:09:53]line Версия ККМ: 001 [18:09:53]line ФМ: 0000000000871758 [18:09:53]line ФД: 68233 [18:09:53]line ФПД: 94875036252109 [18:09:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T180951&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68233&fm=94875036252109&tin=02508201610067®Number=0000000000091759&sum=34700 [18:09:53]OFD Sender: Processing packet 68233 [packets to send 27, broken 26] [18:09:53]ProducePacketName [18:09:53]name=ofd_packets/00068233 [18:09:53]OFD Sender: To server: pG, [18:09:53]CommunicateWithHost lk.salyk.kg:30040 [18:09:53]ConnectInit lk.salyk.kg [18:09:53]written 0, free lines is 4095 [18:09:53]Connected sock=10 [18:09:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 7A ED 07 01 B6 D0 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 46 14 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 A1 87 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 87 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 0E 00 00 00 00 07 04 06 00 8C 87 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8A 00 00 00 F4 03 04 00 6F D3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 89 0A 01 00 35 04 06 00 56 49 D0 D5 77 CD B2 89 03 7A D9 CE 48 F1 [18:09:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 F5 DC 47 00 0D CF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 89 0A 01 00 F4 03 04 00 50 7F 1F 67 B6 04 01 00 00 4C 21 A0 80 81 31 D2 EB [18:09:54]CommunicateWithHost err = 0 [18:09:54]CheckOFDResponse [18:09:54]1017 (14) - 77093643461234 [18:09:54]1041 (16) - 0000000000871758 [18:09:54]1040 (4) - 68233 [18:09:54]1012 (4) - 28.10.2024 12:10 [18:09:54]1206 (1) - 0 [18:09:54]OFD Sender: Remove packet 68233 [18:09:54]ProducePacketName [18:09:54]name=ofd_packets/00068233 [18:09:54]NVStorageDeleteData [18:09:54]Write to MH i2c: 01 00 00 E2 02 E4 [18:09:54]Write i2c OK [18:09:54]MH_I2C_Read... [18:09:54]Read from MH i2c: 01 [18:09:54]MH_I2C_Read... [18:09:54]Read from MH i2c: 01 07 00 [18:09:54]MH_I2C_Read... [18:09:54]Read from MH i2c: 01 07 00 E2 02 00 00 00 00 00 C8 0C BF [18:09:54]RasterBufferAndPrint [18:09:54]line [18:09:54]line [18:09:54]line [18:09:54]line [18:09:54]line [18:09:54]written 0, free lines is 3279 [18:09:54]MH_Cut [18:09:54]Write to MH i2c: D1 01 00 E9 02 01 BD [18:09:54]Write i2c OK [18:09:54]MH_I2C_Read... [18:09:54]Read from MH i2c: D1 [18:09:54]MH_I2C_Read... [18:09:54]Read from MH i2c: D1 01 00 [18:09:54]MH_I2C_Read... [18:09:54]Read from MH i2c: D1 01 00 E9 02 00 BC [18:09:54]Write to MH i2c: 01 00 00 EA 02 EC [18:09:54]Write i2c OK [18:09:54]MH_I2C_Read... [18:09:54]OFD Sender: No OFD packet to send [18:09:54]*** Cut start [18:09:54]*** Partial cut [18:09:54]*** CUTSNS_PIN = 1 [18:09:55]*** CUTSNS_PIN = 0 [18:09:55]*** Brake cut motor [18:09:55]Read from MH i2c: 01 [18:09:55]MH_I2C_Read... [18:09:55]*** Stop cut motor [18:09:55]*** Cut end [18:09:55]Read from MH i2c: 01 07 00 [18:09:55]MH_I2C_Read... [18:09:55]Read from MH i2c: 01 07 00 EA 02 00 00 00 00 00 FF 0F 01 [18:09:55]process_action close_receipt done [18:09:55]requested_data is exist [18:09:55]produce_requested_data [18:09:55]requested_item fm.sn is exist - process it [18:09:55]wFMCommunicate request_size=4 [18:09:55]MH_SAM_APDU [18:09:55]CAPDU: 80 11 00 00 [18:09:55]Write to MH i2c: E2 08 00 EB 02 80 11 00 00 00 00 00 00 67 [18:09:55]Write i2c OK [18:09:55]MH_I2C_Read... [18:09:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:09:55]Read from MH i2c: E2 [18:09:55]MH_I2C_Read... [18:09:55]Read from MH i2c: E2 17 00 [18:09:55]MH_I2C_Read... [18:09:55]Read from MH i2c: E2 17 00 EB 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 BE [18:09:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:09:55]wFMCommunicate OK [18:09:55]requested_item fd.num is exist - process it [18:09:55]SAM_PROTO_GetFieldsCounters [18:09:55]wFMCommunicate request_size=4 [18:09:55]MH_SAM_APDU [18:09:55]CAPDU: 80 13 00 00 [18:09:55]Write to MH i2c: E2 08 00 EC 02 80 13 00 00 00 00 00 00 6A [18:09:55]Write i2c OK [18:09:55]MH_I2C_Read... [18:09:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:09:55]Read from MH i2c: E2 [18:09:55]MH_I2C_Read... [18:09:55]Read from MH i2c: E2 62 00 [18:09:55]MH_I2C_Read... [18:09:55]Read from MH i2c: E2 62 00 EC 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 89 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8B 00 00 00 19 04 04 00 00 00 00 00 90 00 EC [18:09:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 89 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 8A 00 00 00 5E 04 04 00 8A 00 00 00 57 04 04 00 8B 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:09:55]wFMCommunicate OK [18:09:55]SAM_PROTO_GetFieldsCounters done [18:09:55]requested_item shift.num is exist - process it [18:09:55]requested_item shift.opened is exist - process it [18:09:55]req_shift_opened [18:09:55]FM_GetShiftState [18:09:55]SAM_PROTO_GetShiftState [18:09:55]wFMCommunicate request_size=4 [18:09:55]MH_SAM_APDU [18:09:55]CAPDU: 80 13 01 00 [18:09:55]Write to MH i2c: E2 08 00 ED 02 80 13 01 00 00 00 00 00 6C [18:09:55]Write i2c OK [18:09:55]MH_I2C_Read... [18:09:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:09:55]Read from MH i2c: E2 [18:09:55]MH_I2C_Read... [18:09:55]Read from MH i2c: E2 0E 00 [18:09:55]MH_I2C_Read... [18:09:55]Read from MH i2c: E2 0E 00 ED 02 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 67 [18:09:55]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [18:09:55]wFMCommunicate OK [18:09:55]SAM_PROTO_GetShiftState done [18:09:55]FM_GetShiftState done [18:09:55]req_shift_opened done [18:09:55]requested_item shift.open_date is exist - process it [18:09:55]req_shift_open_date [18:09:55]req_shift_open_date done [18:09:55]produce_requested_data done [18:09:55]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68233,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [18:09:55]process_action_free close_receipt [18:09:55]json_value_free [18:09:55]json_value_free done [18:09:55]process_json_proto returns [18:09:55]Send response to host [18:09:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68233,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [18:09:55]free response buf [18:09:55]execute_script done [18:09:55]execute_script returns [18:09:55]free content buf [18:09:55]Sock 9.Close socket [18:09:55]Sock 9.Thread stoped [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:49]OFD Sender: No OFD packet to send [18:17:54]OFD Sender: No OFD packet to send [18:17:59]OFD Sender: No OFD packet to send [18:18:04]OFD Sender: No OFD packet to send [18:18:09]OFD Sender: No OFD packet to send [18:18:14]OFD Sender: No OFD packet to send [18:18:19]OFD Sender: No OFD packet to send [18:18:24]OFD Sender: No OFD packet to send [18:18:29]OFD Sender: No OFD packet to send [18:18:34]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:30]accept exits with 7 [18:25:30]New connection [18:25:30]New thread 3067497828 created [18:25:30]Thread 3067354468 joined [18:25:30]Waiting for new connection... [18:25:30] Sock 7.Parse request [18:25:30]Sock 7.Check first char [18:25:30]Sock 7.First char is OK [18:25:30]request: POST /json_proto HTTP/1.0 [18:25:30]Method: POST [18:25:30]URL: /json_proto [18:25:30]Method is POST - this is cgi request [18:25:30]url: /json_proto [18:25:30]query_string will be loaded in cgi processing [18:25:30]execute_cgi json_proto POST (null) [18:25:30]execute_cgi path=json_proto method=POST [18:25:30]POST find Content-Length [18:25:30]Host: 172.17.42.3:8080 [18:25:30]Content-Length: 858 [18:25:30]Content-Type: application/json [18:25:30] [18:25:30]POST finish read [18:25:30]Found Content-Length = 858 [18:25:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17187", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 298.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:25:30]execute_script... [18:25: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)17187", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 298.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:25:30]POST & json_proto [18:25:30]process_json_proto [18:25:30]json parsed OK: [18:25:30]protocol is kg_v1.0 [18:25:30]action value=close_receipt [18:25:30]process_action close_receipt [18:25:30]cmd_close_receipt [18:25:30]MH_GetDate [18:25:30]Write to MH i2c: F0 00 00 EE 02 DF [18:25:30]Write i2c OK [18:25:30]MH_I2C_Read... [18:25:30]Read from MH i2c: F0 [18:25:30]MH_I2C_Read... [18:25:30]Read from MH i2c: F0 09 00 [18:25:30]MH_I2C_Read... [18:25:30]Read from MH i2c: F0 09 00 EE 02 00 1A D7 1F 67 0E CB 1F 67 BE [18:25:30]GetLastDocTimeStamp 1730138991 [18:25:30]current date 1730139930 [18:25:30]FM_GetShiftState [18:25:30]SAM_PROTO_GetShiftState [18:25:30]wFMCommunicate request_size=4 [18:25:30]MH_SAM_APDU [18:25:30]CAPDU: 80 13 01 00 [18:25:30]Write to MH i2c: E2 08 00 EF 02 80 13 01 00 00 00 00 00 6E [18:25:30]Write i2c OK [18:25:30]MH_I2C_Read... [18:25:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:25:30]Read from MH i2c: E2 [18:25:30]MH_I2C_Read... [18:25:30]Read from MH i2c: E2 0E 00 [18:25:30]MH_I2C_Read... [18:25:30]Read from MH i2c: E2 0E 00 EF 02 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 69 [18:25:30]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [18:25:30]wFMCommunicate OK [18:25:30]SAM_PROTO_GetShiftState done [18:25:30]FM_GetShiftState done [18:25:30]opened in 1730074770 [18:25:30]opened+sec_in_day 1730161170 [18:25:30]quantity*price = 15400 [18:25:30]sum+1 = 15401 [18:25:30]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 298.00 НСП 1% : 2.63 НДС 12% : 31.64 Наличными: 298.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 139 28.10.2024 18:25 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68234 ФПД: 116702274083754 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T182530&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68234&fm=116702274083754&tin=02508201610067®Number=0000000000091759&sum=29800 0 [18:25:31]StoreToDocumentArchive [18:25:31]shift 547 fd 68234 [18:25:31]save to /storage/0547/doc_00068234 [18:25:31]save last doc name /storage/0547/doc_00068234 to /storage/kkm_last_doc_name [18:25:31]save OK [18:25:31]Clear old archive folders... [18:25:31]ProcessDocumentItem done err = 0, tmpTLVsize=377 [18:25:31]tlvbuf is 005CAF00 [18:25:31]SAM_PROTO_ClearQueue [18:25:31]wFMCommunicate request_size=4 [18:25:31]MH_SAM_APDU [18:25:31]CAPDU: 80 09 00 00 [18:25:31]Write to MH i2c: E2 08 00 FC 02 80 09 00 00 00 00 00 00 70 [18:25:31]Write i2c OK [18:25:31]MH_I2C_Read... [18:25:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:25:31]Read from MH i2c: E2 [18:25:31]MH_I2C_Read... [18:25:31]Read from MH i2c: E2 03 00 [18:25:31]MH_I2C_Read... [18:25:31]Read from MH i2c: E2 03 00 FC 02 00 90 00 72 [18:25:31]RAPDU: 90 00 [18:25:31]wFMCommunicate OK [18:25:31]SAM_PROTO_ClearQueue done [18:25:31]KKMCreateOFDPacket [18:25:31]OFDProtocolAddRootSTLVToBuf [18:25:31]FM_MakeSignedData [18:25:31]FM_MakeSignedData [18:25:31]SAM_PROTO_SignData [18:25:31]wFMCommunicate request_size=4 [18:25:31]MH_SAM_APDU [18:25:31]CAPDU: 80 0D 01 02 [18:25:31]Write to MH i2c: E2 08 00 FD 02 80 0D 01 02 00 00 00 00 78 [18:25:31]Write i2c OK [18:25:31]MH_I2C_Read... [18:25:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:25:31]Read from MH i2c: E2 [18:25:31]MH_I2C_Read... [18:25:31]Read from MH i2c: E2 03 00 [18:25:31]MH_I2C_Read... [18:25:31]Read from MH i2c: E2 03 00 FD 02 00 90 00 73 [18:25:31]RAPDU: 90 00 [18:25:31]wFMCommunicate OK [18:25:31]wFMCommunicate request_size=255 [18:25:31]MH_SAM_APDU [18:25:31]CAPDU: 80 0D 02 02 FA 03 00 79 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 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 01 00 00 00 00 EE [18:25:32]Write to MH i2c: E2 02 01 FE 02 80 0D 02 02 FA 00 03 00 79 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 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 01 00 00 00 00 EE 00 00 61 [18:25:32]Write i2c OK [18:25:32]MH_I2C_Read... [18:25:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:25:32]Read from MH i2c: E2 [18:25:32]MH_I2C_Read... [18:25:32]Read from MH i2c: E2 03 00 [18:25:32]MH_I2C_Read... [18:25:32]Read from MH i2c: E2 03 00 FE 02 00 90 00 74 [18:25:32]RAPDU: 90 00 [18:25:32]wFMCommunicate OK [18:25:32]wFMCommunicate request_size=136 [18:25:32]MH_SAM_APDU [18:25:32]CAPDU: 80 0D 02 02 83 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 0C 00 00 00 00 07 04 06 00 68 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8B 00 00 00 F4 03 04 00 1A D7 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8A 0A 01 00 35 04 06 00 6A 23 DD 97 5B AA [18:25:32]Write to MH i2c: E2 8B 00 FF 02 80 0D 02 02 83 00 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 0C 00 00 00 00 07 04 06 00 68 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8B 00 00 00 F4 03 04 00 1A D7 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8A 0A 01 00 35 04 06 00 6A 23 DD 97 5B AA 00 00 D0 [18:25:32]Write i2c OK [18:25:32]MH_I2C_Read... [18:25:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:25:32]Read from MH i2c: E2 [18:25:32]MH_I2C_Read... [18:25:32]Read from MH i2c: E2 03 00 [18:25:32]MH_I2C_Read... [18:25:32]Read from MH i2c: E2 03 00 FF 02 00 90 00 75 [18:25:32]RAPDU: 90 00 [18:25:32]wFMCommunicate OK [18:25:32]wFMCommunicate request_size=4 [18:25:32]MH_SAM_APDU [18:25:32]CAPDU: 80 0D 03 02 [18:25:32]Write to MH i2c: E2 08 00 00 03 80 0D 03 02 00 00 00 00 7E [18:25:32]Write i2c OK [18:25:32]MH_I2C_Read... [18:25:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:25:32]Read from MH i2c: E2 [18:25:32]MH_I2C_Read... [18:25:32]Read from MH i2c: E2 0B 00 [18:25:32]MH_I2C_Read... [18:25:32]Read from MH i2c: E2 0B 00 00 03 00 5B 48 4C C6 98 82 54 D9 90 00 7B [18:25:32]RAPDU: 5B 48 4C C6 98 82 54 D9 90 00 [18:25:32]wFMCommunicate OK [18:25:32]SAM_PROTO_SignData done [18:25:32]FM_MakeSignedData done [18:25:32]CreateOFDProtocolMessage [18:25:32]wFMCommunicate request_size=4 [18:25:32]MH_SAM_APDU [18:25:32]CAPDU: 80 11 00 00 [18:25:32]Write to MH i2c: E2 08 00 01 03 80 11 00 00 00 00 00 00 7E [18:25:32]Write i2c OK [18:25:32]MH_I2C_Read... [18:25:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:25:32]Read from MH i2c: E2 [18:25:32]MH_I2C_Read... [18:25:32]Read from MH i2c: E2 17 00 [18:25:32]MH_I2C_Read... [18:25:32]Read from MH i2c: E2 17 00 01 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 D5 [18:25:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:25:32]wFMCommunicate OK [18:25:32]CreateOFDProtocolMessage done [18:25:32]OFDSenderStorePacket 68234 [18:25:32]StoreOFDPacket docnum=68234 [18:25:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 8D 01 00 00 72 98 85 01 57 F5 5A 03 01 00 03 00 79 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 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 0C 00 00 00 00 07 04 06 00 68 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8B 00 00 00 F4 03 04 00 1A D7 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8A 0A 01 00 35 04 06 00 6A 23 DD 97 5B AA 5B 48 4C C6 98 82 54 D9 [18:25:32]CheckFolder [18:25:32]dirname=/storage/ofd_packets [18:25:32]CheckFolder done [18:25:32]ProducePacketName [18:25:32]name=ofd_packets/00068234 [18:25:32]NVStorageSaveData ofd_packets/00068234 [18:25:32]File name is /storage/ofd_packets/00068234 [18:25:32]Write 427 bytes [18:25:32]NVStorageSaveData done [18:25:32]OFDSenderStorePacket done [18:25:32]KKMCreateOFDPacket done [18:25:32]NVStorageSaveData kkm_last_timestamp [18:25:32]File name is /storage/kkm_last_timestamp [18:25:32]Write 4 bytes [18:25:32]NVStorageSaveData done [18:25:32]ExternCall_PrintAddStr [18:25:32]wPrintStart [18:25:32]Write to MH i2c: 01 00 00 02 03 05 [18:25:32]Write i2c OK [18:25:32]MH_I2C_Read... [18:25:32]Read from MH i2c: 01 [18:25:32]MH_I2C_Read... [18:25:32]Read from MH i2c: 01 07 00 [18:25:32]MH_I2C_Read... [18:25:32]Read from MH i2c: 01 07 00 02 03 00 00 00 00 00 FF 0F 1A [18:25:32]RasterBufferAndPrint [18:25:32]line Счет N : (3)17187 [18:25:32]line ИНН: 02508201610067 [18:25:32]line Контрольно-Кассовый Чек [18:25:32]line ПРОДАЖА [18:25:32]line Товар: 46230614 [18:25:32]line Сигареты Richmond Red Edition [18:25:32]line 1.000 * 154.00 [18:25:32]line = 154.00 [18:25:32]line НДС 12% НСП 1% [18:25:32]line > о реализуемом товаре [18:25:32]line Товар: 48743570 [18:25:32]line Сигареты Winston XStyle Blue [18:25:32]line 1.000 * 144.00 [18:25:32]line = 144.00 [18:25:32]line НДС 12% НСП 1% [18:25:32]line > о реализуемом товаре [18:25:32]line ИТОГО: 298.00 [18:25:32]line НСП 1% : 2.63 [18:25:32]line НДС 12% : 31.64 [18:25:32]line Наличными: 298.00 [18:25:32]line Безнал.: 0.00 [18:25:32]line Место: АЗС № 160 "Партнер Нефть" [18:25:32]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [18:25:32]line СНО: Общий режим [18:25:32]line Чек 139 28.10.2024 18:25 [18:25:32]line Смена: 547 ФФД: 1.0 [18:25:32]line ЗНМ: 0300000093 [18:25:32]line РНМ: 0000000000091759 [18:25:32]line Версия ККМ: 001 [18:25:32]line ФМ: 0000000000871758 [18:25:32]line ФД: 68234 [18:25:32]line ФПД: 116702274083754 [18:25:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T182530&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68234&fm=116702274083754&tin=02508201610067®Number=0000000000091759&sum=29800 [18:25:32]line 0 [18:25:32]OFD Sender: Processing packet 68234 [packets to send 27, broken 26] [18:25:32]ProducePacketName [18:25:32]name=ofd_packets/00068234 [18:25:32]OFD Sender: To server: pG, [18:25:32]CommunicateWithHost lk.salyk.kg:30040 [18:25:32]ConnectInit lk.salyk.kg [18:25:32]written 0, free lines is 4095 [18:25:32]Connected sock=10 [18:25:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 8D 01 00 00 72 98 85 01 57 F5 5A 03 01 00 03 00 79 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 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5C 0C 00 00 00 00 07 04 06 00 68 74 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8B 00 00 00 F4 03 04 00 1A D7 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8A 0A 01 00 35 04 06 00 6A 23 DD 97 5B AA 5B 48 4C C6 98 82 54 D9 [18:25:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 67 E1 47 00 76 45 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8A 0A 01 00 F4 03 04 00 FB 82 1F 67 B6 04 01 00 00 0F 9A 17 70 87 CB E3 23 [18:25:33]CommunicateWithHost err = 0 [18:25:33]CheckOFDResponse [18:25:33]1017 (14) - 77093643461234 [18:25:33]1041 (16) - 0000000000871758 [18:25:33]1040 (4) - 68234 [18:25:33]1012 (4) - 28.10.2024 12:26 [18:25:33]1206 (1) - 0 [18:25:33]OFD Sender: Remove packet 68234 [18:25:33]ProducePacketName [18:25:33]name=ofd_packets/00068234 [18:25:33]NVStorageDeleteData [18:25:33]Write to MH i2c: 01 00 00 30 03 33 [18:25:33]Write i2c OK [18:25:33]MH_I2C_Read... [18:25:33]Read from MH i2c: 01 [18:25:33]MH_I2C_Read... [18:25:33]Read from MH i2c: 01 07 00 [18:25:33]MH_I2C_Read... [18:25:33]Read from MH i2c: 01 07 00 30 03 00 00 00 00 00 61 0C A7 [18:25:33]RasterBufferAndPrint [18:25:33]line [18:25:33]line [18:25:33]line [18:25:33]line [18:25:33]line [18:25:33]written 0, free lines is 3175 [18:25:33]MH_Cut [18:25:33]Write to MH i2c: D1 01 00 37 03 01 0C [18:25:33]Write i2c OK [18:25:33]MH_I2C_Read... [18:25:33]Read from MH i2c: D1 [18:25:33]MH_I2C_Read... [18:25:33]Read from MH i2c: D1 01 00 [18:25:33]MH_I2C_Read... [18:25:33]Read from MH i2c: D1 01 00 37 03 00 0B [18:25:33]Write to MH i2c: 01 00 00 38 03 3B [18:25:33]Write i2c OK [18:25:33]MH_I2C_Read... [18:25:33]OFD Sender: No OFD packet to send [18:25:34]*** Cut start [18:25:34]*** Partial cut [18:25:34]*** CUTSNS_PIN = 1 [18:25:34]*** CUTSNS_PIN = 0 [18:25:34]*** Brake cut motor [18:25:34]Read from MH i2c: 01 [18:25:34]MH_I2C_Read... [18:25:34]*** Stop cut motor [18:25:34]*** Cut end [18:25:34]Read from MH i2c: 01 07 00 [18:25:34]MH_I2C_Read... [18:25:34]Read from MH i2c: 01 07 00 38 03 00 00 00 00 00 FF 0F 50 [18:25:34]process_action close_receipt done [18:25:34]requested_data is exist [18:25:34]produce_requested_data [18:25:34]requested_item fm.sn is exist - process it [18:25:34]wFMCommunicate request_size=4 [18:25:34]MH_SAM_APDU [18:25:34]CAPDU: 80 11 00 00 [18:25:34]Write to MH i2c: E2 08 00 39 03 80 11 00 00 00 00 00 00 B6 [18:25:34]Write i2c OK [18:25:34]MH_I2C_Read... [18:25:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:25:34]Read from MH i2c: E2 [18:25:34]MH_I2C_Read... [18:25:34]Read from MH i2c: E2 17 00 [18:25:34]MH_I2C_Read... [18:25:34]Read from MH i2c: E2 17 00 39 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 0D [18:25:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:25:34]wFMCommunicate OK [18:25:34]requested_item fd.num is exist - process it [18:25:34]SAM_PROTO_GetFieldsCounters [18:25:34]wFMCommunicate request_size=4 [18:25:34]MH_SAM_APDU [18:25:34]CAPDU: 80 13 00 00 [18:25:34]Write to MH i2c: E2 08 00 3A 03 80 13 00 00 00 00 00 00 B9 [18:25:34]Write i2c OK [18:25:34]MH_I2C_Read... [18:25:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:25:35]Read from MH i2c: E2 [18:25:35]MH_I2C_Read... [18:25:35]Read from MH i2c: E2 62 00 [18:25:35]MH_I2C_Read... [18:25:35]Read from MH i2c: E2 62 00 3A 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 8A 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 8B 00 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8C 00 00 00 19 04 04 00 00 00 00 00 90 00 3F [18:25:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 8A 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 8B 00 00 00 5E 04 04 00 8B 00 00 00 57 04 04 00 8C 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:25:35]wFMCommunicate OK [18:25:35]SAM_PROTO_GetFieldsCounters done [18:25:35]requested_item shift.num is exist - process it [18:25:35]requested_item shift.opened is exist - process it [18:25:35]req_shift_opened [18:25:35]FM_GetShiftState [18:25:35]SAM_PROTO_GetShiftState [18:25:35]wFMCommunicate request_size=4 [18:25:35]MH_SAM_APDU [18:25:35]CAPDU: 80 13 01 00 [18:25:35]Write to MH i2c: E2 08 00 3B 03 80 13 01 00 00 00 00 00 BB [18:25:35]Write i2c OK [18:25:35]MH_I2C_Read... [18:25:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:25:35]Read from MH i2c: E2 [18:25:35]MH_I2C_Read... [18:25:35]Read from MH i2c: E2 0E 00 [18:25:35]MH_I2C_Read... [18:25:35]Read from MH i2c: E2 0E 00 3B 03 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 B6 [18:25:35]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [18:25:35]wFMCommunicate OK [18:25:35]SAM_PROTO_GetShiftState done [18:25:35]FM_GetShiftState done [18:25:35]req_shift_opened done [18:25:35]requested_item shift.open_date is exist - process it [18:25:35]req_shift_open_date [18:25:35]req_shift_open_date done [18:25:35]produce_requested_data done [18:25:35]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68234,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [18:25:35]process_action_free close_receipt [18:25:35]json_value_free [18:25:35]json_value_free done [18:25:35]process_json_proto returns [18:25:35]Send response to host [18:25:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68234,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [18:25:35]free response buf [18:25:35]execute_script done [18:25:35]execute_script returns [18:25:35]free content buf [18:25:35]Sock 7.Close socket [18:25:35]Sock 7.Thread stoped [18:25:38]OFD Sender: No OFD packet to send [18:25:43]OFD Sender: No OFD packet to send [18:25:48]OFD Sender: No OFD packet to send [18:25:53]OFD Sender: No OFD packet to send [18:25:58]OFD Sender: No OFD packet to send [18:26:03]OFD Sender: No OFD packet to send [18:26:08]OFD Sender: No OFD packet to send [18:26:13]OFD Sender: No OFD packet to send [18:26:18]OFD Sender: No OFD packet to send [18:26:23]OFD Sender: No OFD packet to send [18:26:28]OFD Sender: No OFD packet to send [18:26:33]OFD Sender: No OFD packet to send [18:26:38]OFD Sender: No OFD packet to send [18:26:43]OFD Sender: No OFD packet to send [18:26:48]OFD Sender: No OFD packet to send [18:26:53]OFD Sender: No OFD packet to send [18:26:58]OFD Sender: No OFD packet to send [18:27:03]OFD Sender: No OFD packet to send [18:27:08]OFD Sender: No OFD packet to send [18:27:13]OFD Sender: No OFD packet to send [18:27:18]OFD Sender: No OFD packet to send [18:27:23]OFD Sender: No OFD packet to send [18:27:28]OFD Sender: No OFD packet to send [18:27:33]OFD Sender: No OFD packet to send [18:27:38]OFD Sender: No OFD packet to send [18:27:43]OFD Sender: No OFD packet to send [18:27:48]OFD Sender: No OFD packet to send [18:27:53]OFD Sender: No OFD packet to send [18:27:58]OFD Sender: No OFD packet to send [18:28:03]OFD Sender: No OFD packet to send [18:28:08]OFD Sender: No OFD packet to send [18:28:13]OFD Sender: No OFD packet to send [18:28:18]OFD Sender: No OFD packet to send [18:28:23]OFD Sender: No OFD packet to send [18:28:28]OFD Sender: No OFD packet to send [18:28:33]OFD Sender: No OFD packet to send [18:28:38]OFD Sender: No OFD packet to send [18:28:43]OFD Sender: No OFD packet to send [18:28:48]OFD Sender: No OFD packet to send [18:28:53]OFD Sender: No OFD packet to send [18:28:58]OFD Sender: No OFD packet to send [18:29:03]OFD Sender: No OFD packet to send [18:29:08]OFD Sender: No OFD packet to send [18:29:13]OFD Sender: No OFD packet to send [18:29:18]OFD Sender: No OFD packet to send [18:29:23]OFD Sender: No OFD packet to send [18:29:28]OFD Sender: No OFD packet to send [18:29:33]OFD Sender: No OFD packet to send [18:29:38]OFD Sender: No OFD packet to send [18:29:43]OFD Sender: No OFD packet to send [18:29:48]OFD Sender: No OFD packet to send [18:29:53]OFD Sender: No OFD packet to send [18:29:58]OFD Sender: No OFD packet to send [18:30:03]OFD Sender: No OFD packet to send [18:30:08]OFD Sender: No OFD packet to send [18:30:13]OFD Sender: No OFD packet to send [18:30:18]OFD Sender: No OFD packet to send [18:30:23]OFD Sender: No OFD packet to send [18:30:28]OFD Sender: No OFD packet to send [18:30:33]OFD Sender: No OFD packet to send [18:30:38]OFD Sender: No OFD packet to send [18:30:43]OFD Sender: No OFD packet to send [18:30:48]OFD Sender: No OFD packet to send [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:09]OFD Sender: No OFD packet to send [18:32:14]OFD Sender: No OFD packet to send [18:32:19]OFD Sender: No OFD packet to send [18:32:24]OFD Sender: No OFD packet to send [18:32:29]OFD Sender: No OFD packet to send [18:32:34]OFD Sender: No OFD packet to send [18:32:39]OFD Sender: No OFD packet to send [18:32:44]OFD Sender: No OFD packet to send [18:32:49]OFD Sender: No OFD packet to send [18:32:54]OFD Sender: No OFD packet to send [18:32:59]OFD Sender: No OFD packet to send [18:33:04]OFD Sender: No OFD packet to send [18:33:09]OFD Sender: No OFD packet to send [18:33:14]OFD Sender: No OFD packet to send [18:33:19]OFD Sender: No OFD packet to send [18:33:24]OFD Sender: No OFD packet to send [18:33:29]OFD Sender: No OFD packet to send [18:33:34]OFD Sender: No OFD packet to send [18:33:39]OFD Sender: No OFD packet to send [18:33:44]OFD Sender: No OFD packet to send [18:33:49]OFD Sender: No OFD packet to send [18:33:54]OFD Sender: No OFD packet to send [18:33:59]OFD Sender: No OFD packet to send [18:34:04]OFD Sender: No OFD packet to send [18:34:09]OFD Sender: No OFD packet to send [18:34:14]OFD Sender: No OFD packet to send [18:34:19]OFD Sender: No OFD packet to send [18:34:24]OFD Sender: No OFD packet to send [18:34:29]OFD Sender: No OFD packet to send [18:34:34]OFD Sender: No OFD packet to send [18:34:39]OFD Sender: No OFD packet to send [18:34:44]OFD Sender: No OFD packet to send [18:34:49]OFD Sender: No OFD packet to send [18:34:54]OFD Sender: No OFD packet to send [18:34:59]OFD Sender: No OFD packet to send [18:35:04]OFD Sender: No OFD packet to send [18:35:09]OFD Sender: No OFD packet to send [18:35:14]OFD Sender: No OFD packet to send [18:35:19]OFD Sender: No OFD packet to send [18:35:24]OFD Sender: No OFD packet to send [18:35:27]accept exits with 9 [18:35:27]New connection [18:35:27]New thread 3067354468 created [18:35:27]Thread 3067497828 joined [18:35:27]Waiting for new connection... [18:35:27] Sock 9.Parse request [18:35:27]Sock 9.Check first char [18:35:27]Sock 9.First char is OK [18:35:27]request: POST /json_proto HTTP/1.0 [18:35:27]Method: POST [18:35:27]URL: /json_proto [18:35:27]Method is POST - this is cgi request [18:35:27]url: /json_proto [18:35:27]query_string will be loaded in cgi processing [18:35:27]execute_cgi json_proto POST (null) [18:35:27]execute_cgi path=json_proto method=POST [18:35:27]POST find Content-Length [18:35:27]Host: 172.17.42.3:8080 [18:35:27]Content-Length: 625 [18:35:27]Content-Type: application/json [18:35:27] [18:35:27]POST finish read [18:35:27]Found Content-Length = 625 [18:35:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17188", "tax_sys" : 0, "items" : [ { "code": "48745895", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B RICHMOND KS GOLD EDITION", "price" : 159.00, "quantity" : 2.000, "sum" : 318.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 318.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:35:27]execute_script... [18:35: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)17188", "tax_sys" : 0, "items" : [ { "code": "48745895", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B RICHMOND KS GOLD EDITION", "price" : 159.00, "quantity" : 2.000, "sum" : 318.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 318.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:35:27]POST & json_proto [18:35:27]process_json_proto [18:35:27]json parsed OK: [18:35:27]protocol is kg_v1.0 [18:35:27]action value=close_receipt [18:35:27]process_action close_receipt [18:35:27]cmd_close_receipt [18:35:27]MH_GetDate [18:35:27]Write to MH i2c: F0 00 00 3C 03 2E [18:35:27]Write i2c OK [18:35:27]MH_I2C_Read... [18:35:27]Read from MH i2c: F0 [18:35:27]MH_I2C_Read... [18:35:27]Read from MH i2c: F0 09 00 [18:35:27]MH_I2C_Read... [18:35:27]Read from MH i2c: F0 09 00 3C 03 00 6F D9 1F 67 0E CB 1F 67 64 [18:35:27]GetLastDocTimeStamp 1730139930 [18:35:27]current date 1730140527 [18:35:27]FM_GetShiftState [18:35:27]SAM_PROTO_GetShiftState [18:35:27]wFMCommunicate request_size=4 [18:35:27]MH_SAM_APDU [18:35:27]CAPDU: 80 13 01 00 [18:35:27]Write to MH i2c: E2 08 00 3D 03 80 13 01 00 00 00 00 00 BD [18:35:27]Write i2c OK [18:35:27]MH_I2C_Read... [18:35:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:35:27]Read from MH i2c: E2 [18:35:27]MH_I2C_Read... [18:35:27]Read from MH i2c: E2 0E 00 [18:35:27]MH_I2C_Read... [18:35:27]Read from MH i2c: E2 0E 00 3D 03 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 B8 [18:35:27]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [18:35:27]wFMCommunicate OK [18:35:27]SAM_PROTO_GetShiftState done [18:35:27]FM_GetShiftState done [18:35:27]opened in 1730074770 [18:35:27]opened+sec_in_day 1730161170 [18:35:27]quantity*price = 31800 [18:35:27]sum+1 = 31801 [18:35:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 318.00 НСП 1% : 2.81 НДС 12% : 33.77 Наличными: 318.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 140 28.10.2024 18:35 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68235 ФПД: 2096720817673 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T183527&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68235&fm=2096720817673&tin=02508201610067®Number=0000000000091759&sum=31800 0 [18:35:28]StoreToDocumentArchive [18:35:28]shift 547 fd 68235 [18:35:28]save to /storage/0547/doc_00068235 [18:35:28]save last doc name /storage/0547/doc_00068235 to /storage/kkm_last_doc_name [18:35:28]save OK [18:35:28]Clear old archive folders... [18:35:28]ProcessDocumentItem done err = 0, tmpTLVsize=278 [18:35:28]tlvbuf is 005CBB10 [18:35:28]SAM_PROTO_ClearQueue [18:35:28]wFMCommunicate request_size=4 [18:35:28]MH_SAM_APDU [18:35:28]CAPDU: 80 09 00 00 [18:35:28]Write to MH i2c: E2 08 00 4A 03 80 09 00 00 00 00 00 00 BF [18:35:28]Write i2c OK [18:35:28]MH_I2C_Read... [18:35:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:35:28]Read from MH i2c: E2 [18:35:28]MH_I2C_Read... [18:35:28]Read from MH i2c: E2 03 00 [18:35:28]MH_I2C_Read... [18:35:28]Read from MH i2c: E2 03 00 4A 03 00 90 00 C1 [18:35:28]RAPDU: 90 00 [18:35:28]wFMCommunicate OK [18:35:28]SAM_PROTO_ClearQueue done [18:35:28]KKMCreateOFDPacket [18:35:28]OFDProtocolAddRootSTLVToBuf [18:35:28]FM_MakeSignedData [18:35:28]FM_MakeSignedData [18:35:28]SAM_PROTO_SignData [18:35:28]wFMCommunicate request_size=4 [18:35:28]MH_SAM_APDU [18:35:28]CAPDU: 80 0D 01 02 [18:35:28]Write to MH i2c: E2 08 00 4B 03 80 0D 01 02 00 00 00 00 C7 [18:35:28]Write i2c OK [18:35:28]MH_I2C_Read... [18:35:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:35:28]Read from MH i2c: E2 [18:35:28]MH_I2C_Read... [18:35:28]Read from MH i2c: E2 03 00 [18:35:28]MH_I2C_Read... [18:35:28]Read from MH i2c: E2 03 00 4B 03 00 90 00 C2 [18:35:28]RAPDU: 90 00 [18:35:28]wFMCommunicate OK [18:35:28]wFMCommunicate request_size=255 [18:35:28]MH_SAM_APDU [18:35:28]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 0D 00 00 00 00 07 04 06 00 38 7C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8C 00 00 00 F4 03 04 00 6F D9 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 [18:35:28]Write to MH i2c: E2 02 01 4C 03 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 0D 00 00 00 00 07 04 06 00 38 7C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8C 00 00 00 F4 03 04 00 6F D9 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 00 00 9F [18:35:28]Write i2c OK [18:35:28]MH_I2C_Read... [18:35:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:35:28]Read from MH i2c: E2 [18:35:28]MH_I2C_Read... [18:35:28]Read from MH i2c: E2 03 00 [18:35:28]MH_I2C_Read... [18:35:28]Read from MH i2c: E2 03 00 4C 03 00 90 00 C3 [18:35:28]RAPDU: 90 00 [18:35:28]wFMCommunicate OK [18:35:28]wFMCommunicate request_size=37 [18:35:28]MH_SAM_APDU [18:35:28]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8B 0A 01 00 35 04 06 00 01 E8 2E 4C AE 09 [18:35:28]Write to MH i2c: E2 28 00 4D 03 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8B 0A 01 00 35 04 06 00 01 E8 2E 4C AE 09 00 00 D5 [18:35:29]Write i2c OK [18:35:29]MH_I2C_Read... [18:35:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:35:29]Read from MH i2c: E2 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: E2 03 00 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: E2 03 00 4D 03 00 90 00 C4 [18:35:29]RAPDU: 90 00 [18:35:29]wFMCommunicate OK [18:35:29]wFMCommunicate request_size=4 [18:35:29]MH_SAM_APDU [18:35:29]CAPDU: 80 0D 03 02 [18:35:29]Write to MH i2c: E2 08 00 4E 03 80 0D 03 02 00 00 00 00 CC [18:35:29]Write i2c OK [18:35:29]MH_I2C_Read... [18:35:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:35:29]Read from MH i2c: E2 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: E2 0B 00 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: E2 0B 00 4E 03 00 E3 8B B8 20 0E E6 AA EA 90 00 9B [18:35:29]RAPDU: E3 8B B8 20 0E E6 AA EA 90 00 [18:35:29]wFMCommunicate OK [18:35:29]SAM_PROTO_SignData done [18:35:29]FM_MakeSignedData done [18:35:29]CreateOFDProtocolMessage [18:35:29]wFMCommunicate request_size=4 [18:35:29]MH_SAM_APDU [18:35:29]CAPDU: 80 11 00 00 [18:35:29]Write to MH i2c: E2 08 00 4F 03 80 11 00 00 00 00 00 00 CC [18:35:29]Write i2c OK [18:35:29]MH_I2C_Read... [18:35:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:35:29]Read from MH i2c: E2 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: E2 17 00 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: E2 17 00 4F 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 23 [18:35:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:35:29]wFMCommunicate OK [18:35:29]CreateOFDProtocolMessage done [18:35:29]OFDSenderStorePacket 68235 [18:35:29]StoreOFDPacket docnum=68235 [18:35:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2A 01 00 00 A8 5E 22 01 D6 F2 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 0D 00 00 00 00 07 04 06 00 38 7C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8C 00 00 00 F4 03 04 00 6F D9 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8B 0A 01 00 35 04 06 00 01 E8 2E 4C AE 09 E3 8B B8 20 0E E6 AA EA [18:35:29]CheckFolder [18:35:29]dirname=/storage/ofd_packets [18:35:29]CheckFolder done [18:35:29]ProducePacketName [18:35:29]name=ofd_packets/00068235 [18:35:29]NVStorageSaveData ofd_packets/00068235 [18:35:29]File name is /storage/ofd_packets/00068235 [18:35:29]Write 328 bytes [18:35:29]NVStorageSaveData done [18:35:29]OFDSenderStorePacket done [18:35:29]KKMCreateOFDPacket done [18:35:29]NVStorageSaveData kkm_last_timestamp [18:35:29]File name is /storage/kkm_last_timestamp [18:35:29]Write 4 bytes [18:35:29]NVStorageSaveData done [18:35:29]ExternCall_PrintAddStr [18:35:29]wPrintStart [18:35:29]Write to MH i2c: 01 00 00 50 03 53 [18:35:29]Write i2c OK [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: 01 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: 01 07 00 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: 01 07 00 50 03 00 00 00 00 00 FF 0F 68 [18:35:29]RasterBufferAndPrint [18:35:29]line Счет N : (3)17188 [18:35:29]line ИНН: 02508201610067 [18:35:29]line Контрольно-Кассовый Чек [18:35:29]line ПРОДАЖА [18:35:29]line Товар: 48745895 [18:35:29]line Сигареты RICHMOND KS GOLD EDITION [18:35:29]line 2.000 * 159.00 [18:35:29]line = 318.00 [18:35:29]line НДС 12% НСП 1% [18:35:29]line > о реализуемом товаре [18:35:29]line ИТОГО: 318.00 [18:35:29]line НСП 1% : 2.81 [18:35:29]line НДС 12% : 33.77 [18:35:29]line Наличными: 318.00 [18:35:29]line Безнал.: 0.00 [18:35:29]line Место: АЗС № 160 "Партнер Нефть" [18:35:29]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [18:35:29]line СНО: Общий режим [18:35:29]line Чек 140 28.10.2024 18:35 [18:35:29]line Смена: 547 ФФД: 1.0 [18:35:29]line ЗНМ: 0300000093 [18:35:29]line РНМ: 0000000000091759 [18:35:29]line Версия ККМ: 001 [18:35:29]line ФМ: 0000000000871758 [18:35:29]line ФД: 68235 [18:35:29]line ФПД: 2096720817673 [18:35:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T183527&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68235&fm=2096720817673&tin=02508201610067®Number=0000000000091759&sum=31800 [18:35:29]OFD Sender: Processing packet 68235 [packets to send 27, broken 26] [18:35:29]ProducePacketName [18:35:29]name=ofd_packets/00068235 [18:35:29]OFD Sender: To server: pG, [18:35:29]CommunicateWithHost lk.salyk.kg:30040 [18:35:29]ConnectInit lk.salyk.kg [18:35:29]line 0 [18:35:29]written 0, free lines is 4095 [18:35:29]Connected sock=11 [18:35:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2A 01 00 00 A8 5E 22 01 D6 F2 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 35 38 39 35 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 49 43 48 4D 4F 4E 44 20 4B 53 20 47 4F 4C 44 20 45 44 49 54 49 4F 4E FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 7C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 31 0D 00 00 00 00 07 04 06 00 38 7C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8C 00 00 00 F4 03 04 00 6F D9 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8B 0A 01 00 35 04 06 00 01 E8 2E 4C AE 09 E3 8B B8 20 0E E6 AA EA [18:35:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 E3 7D 47 00 AA 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 38 37 31 37 35 38 10 04 04 00 8B 0A 01 00 F4 03 04 00 4F 85 1F 67 B6 04 01 00 00 DF 97 83 C1 CC 60 77 10 [18:35:29]CommunicateWithHost err = 0 [18:35:29]CheckOFDResponse [18:35:29]1017 (14) - 77093643461234 [18:35:29]1041 (16) - 0000000000871758 [18:35:29]1040 (4) - 68235 [18:35:29]1012 (4) - 28.10.2024 12:36 [18:35:29]1206 (1) - 0 [18:35:29]OFD Sender: Remove packet 68235 [18:35:29]ProducePacketName [18:35:29]name=ofd_packets/00068235 [18:35:29]NVStorageDeleteData [18:35:29]Write to MH i2c: 01 00 00 78 03 7B [18:35:29]Write i2c OK [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: 01 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: 01 07 00 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: 01 07 00 78 03 00 00 00 00 00 DF 0C 6D [18:35:29]RasterBufferAndPrint [18:35:29]line [18:35:29]line [18:35:29]line [18:35:29]line [18:35:29]line [18:35:29]written 0, free lines is 3299 [18:35:29]MH_Cut [18:35:29]Write to MH i2c: D1 01 00 7F 03 01 54 [18:35:29]Write i2c OK [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: D1 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: D1 01 00 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: D1 01 00 7F 03 00 53 [18:35:29]Write to MH i2c: 01 00 00 80 03 83 [18:35:29]Write i2c OK [18:35:29]MH_I2C_Read... [18:35:30]OFD Sender: No OFD packet to send [18:35:30]*** Cut start [18:35:30]*** Partial cut [18:35:30]*** CUTSNS_PIN = 1 [18:35:30]*** CUTSNS_PIN = 0 [18:35:30]*** Brake cut motor [18:35:31]Read from MH i2c: 01 [18:35:31]MH_I2C_Read... [18:35:31]*** Stop cut motor [18:35:31]*** Cut end [18:35:31]Read from MH i2c: 01 07 00 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: 01 07 00 80 03 00 00 00 00 00 FF 0F 98 [18:35:31]process_action close_receipt done [18:35:31]requested_data is exist [18:35:31]produce_requested_data [18:35:31]requested_item fm.sn is exist - process it [18:35:31]wFMCommunicate request_size=4 [18:35:31]MH_SAM_APDU [18:35:31]CAPDU: 80 11 00 00 [18:35:31]Write to MH i2c: E2 08 00 81 03 80 11 00 00 00 00 00 00 FE [18:35:31]Write i2c OK [18:35:31]MH_I2C_Read... [18:35:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:35:31]Read from MH i2c: E2 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 17 00 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 17 00 81 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 55 [18:35:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:35:31]wFMCommunicate OK [18:35:31]requested_item fd.num is exist - process it [18:35:31]SAM_PROTO_GetFieldsCounters [18:35:31]wFMCommunicate request_size=4 [18:35:31]MH_SAM_APDU [18:35:31]CAPDU: 80 13 00 00 [18:35:31]Write to MH i2c: E2 08 00 82 03 80 13 00 00 00 00 00 00 01 [18:35:31]Write i2c OK [18:35:31]MH_I2C_Read... [18:35:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:35:31]Read from MH i2c: E2 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 62 00 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 62 00 82 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 8B 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 8C 00 00 00 5E 04 04 00 8C 00 00 00 57 04 04 00 8D 00 00 00 19 04 04 00 00 00 00 00 90 00 8B [18:35:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 8B 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 8C 00 00 00 5E 04 04 00 8C 00 00 00 57 04 04 00 8D 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:35:31]wFMCommunicate OK [18:35:31]SAM_PROTO_GetFieldsCounters done [18:35:31]requested_item shift.num is exist - process it [18:35:31]requested_item shift.opened is exist - process it [18:35:31]req_shift_opened [18:35:31]FM_GetShiftState [18:35:31]SAM_PROTO_GetShiftState [18:35:31]wFMCommunicate request_size=4 [18:35:31]MH_SAM_APDU [18:35:31]CAPDU: 80 13 01 00 [18:35:31]Write to MH i2c: E2 08 00 83 03 80 13 01 00 00 00 00 00 03 [18:35:31]Write i2c OK [18:35:31]MH_I2C_Read... [18:35:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:35:31]Read from MH i2c: E2 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 0E 00 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 0E 00 83 03 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 FE [18:35:31]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [18:35:31]wFMCommunicate OK [18:35:31]SAM_PROTO_GetShiftState done [18:35:31]FM_GetShiftState done [18:35:31]req_shift_opened done [18:35:31]requested_item shift.open_date is exist - process it [18:35:31]req_shift_open_date [18:35:31]req_shift_open_date done [18:35:31]produce_requested_data done [18:35:31]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68235,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [18:35:31]process_action_free close_receipt [18:35:31]json_value_free [18:35:31]json_value_free done [18:35:31]process_json_proto returns [18:35:31]Send response to host [18:35:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68235,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [18:35:31]free response buf [18:35:31]execute_script done [18:35:31]execute_script returns [18:35:31]free content buf [18:35:31]Sock 9.Close socket [18:35:31]Sock 9.Thread stoped [18:35:35]OFD Sender: No OFD packet to send [18:35:40]OFD Sender: No OFD packet to send [18:35:45]OFD Sender: No OFD packet to send [18:35:50]OFD Sender: No OFD packet to send [18:35:55]OFD Sender: No OFD packet to send [18:36:00]OFD Sender: No OFD packet to send [18:36:05]OFD Sender: No OFD packet to send [18:36:10]OFD Sender: No OFD packet to send [18:36:15]OFD Sender: No OFD packet to send [18:36:20]OFD Sender: No OFD packet to send [18:36:25]OFD Sender: No OFD packet to send [18:36:30]OFD Sender: No OFD packet to send [18:36:35]OFD Sender: No OFD packet to send [18:36:40]OFD Sender: No OFD packet to send [18:36:45]OFD Sender: No OFD packet to send [18:36:50]OFD Sender: No OFD packet to send [18:36:55]OFD Sender: No OFD packet to send [18:37:00]OFD Sender: No OFD packet to send [18:37:05]OFD Sender: No OFD packet to send [18:37:10]OFD Sender: No OFD packet to send [18:37:15]OFD Sender: No OFD packet to send [18:37:20]OFD Sender: No OFD packet to send [18:37:25]OFD Sender: No OFD packet to send [18:37:30]OFD Sender: No OFD packet to send [18:37:35]OFD Sender: No OFD packet to send [18:37:40]OFD Sender: No OFD packet to send [18:37:45]OFD Sender: No OFD packet to send [18:37:50]OFD Sender: No OFD packet to send [18:37:55]OFD Sender: No OFD packet to send [18:38:00]OFD Sender: No OFD packet to send [18:38:05]OFD Sender: No OFD packet to send [18:38:10]OFD Sender: No OFD packet to send [18:38:15]OFD Sender: No OFD packet to send [18:38:20]OFD Sender: No OFD packet to send [18:38:25]OFD Sender: No OFD packet to send [18:38:30]OFD Sender: No OFD packet to send [18:38:35]OFD Sender: No OFD packet to send [18:38:40]OFD Sender: No OFD packet to send [18:38:45]OFD Sender: No OFD packet to send [18:38:50]OFD Sender: No OFD packet to send [18:38:55]OFD Sender: No OFD packet to send [18:39:00]OFD Sender: No OFD packet to send [18:39:05]OFD Sender: No OFD packet to send [18:39:10]OFD Sender: No OFD packet to send [18:39:15]OFD Sender: No OFD packet to send [18:39:20]OFD Sender: No OFD packet to send [18:39:25]OFD Sender: No OFD packet to send [18:39:30]OFD Sender: No OFD packet to send [18:39:35]OFD Sender: No OFD packet to send [18:39:40]OFD Sender: No OFD packet to send [18:39:45]OFD Sender: No OFD packet to send [18:39:50]OFD Sender: No OFD packet to send [18:39:55]OFD Sender: No OFD packet to send [18:40:00]OFD Sender: No OFD packet to send [18:40:05]OFD Sender: No OFD packet to send [18:40:10]OFD Sender: No OFD packet to send [18:40:15]OFD Sender: No OFD packet to send [18:40:20]OFD Sender: No OFD packet to send [18:40:25]OFD Sender: No OFD packet to send [18:40:30]OFD Sender: No OFD packet to send [18:40:35]OFD Sender: No OFD packet to send [18:40:40]OFD Sender: No OFD packet to send [18:40:45]OFD Sender: No OFD packet to send [18:40:50]OFD Sender: No OFD packet to send [18:40:55]OFD Sender: No OFD packet to send [18:41:00]OFD Sender: No OFD packet to send [18:41:05]OFD Sender: No OFD packet to send [18:41:10]OFD Sender: No OFD packet to send [18:41:15]OFD Sender: No OFD packet to send [18:41:20]OFD Sender: No OFD packet to send [18:41:25]OFD Sender: No OFD packet to send [18:41:30]OFD Sender: No OFD packet to send [18:41:35]OFD Sender: No OFD packet to send [18:41:40]OFD Sender: No OFD packet to send [18:41:45]OFD Sender: No OFD packet to send [18:41:50]OFD Sender: No OFD packet to send [18:41:55]OFD Sender: No OFD packet to send [18:42:00]OFD Sender: No OFD packet to send [18:42:05]OFD Sender: No OFD packet to send [18:42:10]OFD Sender: No OFD packet to send [18:42:15]OFD Sender: No OFD packet to send [18:42:20]OFD Sender: No OFD packet to send [18:42:25]OFD Sender: No OFD packet to send [18:42:30]OFD Sender: No OFD packet to send [18:42:35]OFD Sender: No OFD packet to send [18:42:40]OFD Sender: No OFD packet to send [18:42:45]OFD Sender: No OFD packet to send [18:42:50]OFD Sender: No OFD packet to send [18:42:55]OFD Sender: No OFD packet to send [18:43:00]OFD Sender: No OFD packet to send [18:43:05]OFD Sender: No OFD packet to send [18:43:10]OFD Sender: No OFD packet to send [18:43:15]OFD Sender: No OFD packet to send [18:43:20]OFD Sender: No OFD packet to send [18:43:25]OFD Sender: No OFD packet to send [18:43:30]OFD Sender: No OFD packet to send [18:43:35]OFD Sender: No OFD packet to send [18:43:40]OFD Sender: No OFD packet to send [18:43:45]OFD Sender: No OFD packet to send [18:43:50]OFD Sender: No OFD packet to send [18:43:55]OFD Sender: No OFD packet to send [18:44:00]OFD Sender: No OFD packet to send [18:44:05]OFD Sender: No OFD packet to send [18:44:10]OFD Sender: No OFD packet to send [18:44:15]OFD Sender: No OFD packet to send [18:44:20]OFD Sender: No OFD packet to send [18:44:25]OFD Sender: No OFD packet to send [18:44:30]OFD Sender: No OFD packet to send [18:44:35]OFD Sender: No OFD packet to send [18:44:40]OFD Sender: No OFD packet to send [18:44:45]OFD Sender: No OFD packet to send [18:44:50]OFD Sender: No OFD packet to send [18:44:55]OFD Sender: No OFD packet to send [18:45:00]OFD Sender: No OFD packet to send [18:45:05]OFD Sender: No OFD packet to send [18:45:10]OFD Sender: No OFD packet to send [18:45:15]OFD Sender: No OFD packet to send [18:45:20]OFD Sender: No OFD packet to send [18:45:25]OFD Sender: No OFD packet to send [18:45:30]OFD Sender: No OFD packet to send [18:45:35]OFD Sender: No OFD packet to send [18:45:40]OFD Sender: No OFD packet to send [18:45:45]OFD Sender: No OFD packet to send [18:45:50]OFD Sender: No OFD packet to send [18:45:55]OFD Sender: No OFD packet to send [18:46:00]OFD Sender: No OFD packet to send [18:46:05]OFD Sender: No OFD packet to send [18:46:10]OFD Sender: No OFD packet to send [18:46:15]OFD Sender: No OFD packet to send [18:46:20]OFD Sender: No OFD packet to send [18:46:25]OFD Sender: No OFD packet to send [18:46:30]OFD Sender: No OFD packet to send [18:46:35]OFD Sender: No OFD packet to send [18:46:40]OFD Sender: No OFD packet to send [18:46:45]OFD Sender: No OFD packet to send [18:46:50]OFD Sender: No OFD packet to send [18:46:55]OFD Sender: No OFD packet to send [18:47:00]OFD Sender: No OFD packet to send [18:47:05]OFD Sender: No OFD packet to send [18:47:10]OFD Sender: No OFD packet to send [18:47:15]OFD Sender: No OFD packet to send [18:47:20]OFD Sender: No OFD packet to send [18:47:25]OFD Sender: No OFD packet to send [18:47:30]OFD Sender: No OFD packet to send [18:47:35]OFD Sender: No OFD packet to send [18:47:40]OFD Sender: No OFD packet to send [18:47:45]OFD Sender: No OFD packet to send [18:47:50]OFD Sender: No OFD packet to send [18:47:55]OFD Sender: No OFD packet to send [18:48:00]OFD Sender: No OFD packet to send [18:48:05]OFD Sender: No OFD packet to send [18:48:10]OFD Sender: No OFD packet to send [18:48:15]OFD Sender: No OFD packet to send [18:48:20]OFD Sender: No OFD packet to send [18:48:25]OFD Sender: No OFD packet to send [18:48:30]OFD Sender: No OFD packet to send [18:48:35]OFD Sender: No OFD packet to send [18:48:40]OFD Sender: No OFD packet to send [18:48:45]OFD Sender: No OFD packet to send [18:48:50]OFD Sender: No OFD packet to send [18:48:55]OFD Sender: No OFD packet to send [18:49:00]OFD Sender: No OFD packet to send [18:49:05]OFD Sender: No OFD packet to send [18:49:10]OFD Sender: No OFD packet to send [18:49:15]OFD Sender: No OFD packet to send [18:49:20]OFD Sender: No OFD packet to send [18:49:25]OFD Sender: No OFD packet to send [18:49:30]OFD Sender: No OFD packet to send [18:49:35]OFD Sender: No OFD packet to send [18:49:41]OFD Sender: No OFD packet to send [18:49:46]OFD Sender: No OFD packet to send [18:49:51]OFD Sender: No OFD packet to send [18:49:56]OFD Sender: No OFD packet to send [18:50:01]OFD Sender: No OFD packet to send [18:50:06]OFD Sender: No OFD packet to send [18:50:11]OFD Sender: No OFD packet to send [18:50:16]OFD Sender: No OFD packet to send [18:50:21]OFD Sender: No OFD packet to send [18:50:26]OFD Sender: No OFD packet to send [18:50:31]OFD Sender: No OFD packet to send [18:50:36]OFD Sender: No OFD packet to send [18:50:41]OFD Sender: No OFD packet to send [18:50:46]OFD Sender: No OFD packet to send [18:50:51]OFD Sender: No OFD packet to send [18:50:56]OFD Sender: No OFD packet to send [18:51:01]OFD Sender: No OFD packet to send [18:51:06]OFD Sender: No OFD packet to send [18:51:11]OFD Sender: No OFD packet to send [18:51:16]OFD Sender: No OFD packet to send [18:51:21]OFD Sender: No OFD packet to send [18:51:26]OFD Sender: No OFD packet to send [18:51:31]OFD Sender: No OFD packet to send [18:51:36]OFD Sender: No OFD packet to send [18:51:41]OFD Sender: No OFD packet to send [18:51:46]OFD Sender: No OFD packet to send [18:51:51]OFD Sender: No OFD packet to send [18:51:56]OFD Sender: No OFD packet to send [18:52:01]OFD Sender: No OFD packet to send [18:52:06]OFD Sender: No OFD packet to send [18:52:11]OFD Sender: No OFD packet to send [18:52:16]OFD Sender: No OFD packet to send [18:52:21]OFD Sender: No OFD packet to send [18:52:26]OFD Sender: No OFD packet to send [18:52:31]OFD Sender: No OFD packet to send [18:52:36]OFD Sender: No OFD packet to send [18:52:41]OFD Sender: No OFD packet to send [18:52:46]OFD Sender: No OFD packet to send [18:52:51]OFD Sender: No OFD packet to send [18:52:56]OFD Sender: No OFD packet to send [18:52:58]accept exits with 7 [18:52:58]New connection [18:52:58]New thread 3067497828 created [18:52:58]Thread 3067354468 joined [18:52:58]Waiting for new connection... [18:52:58] Sock 7.Parse request [18:52:58]Sock 7.Check first char [18:52:58]Sock 7.First char is OK [18:52:58]request: POST /json_proto HTTP/1.0 [18:52:58]Method: POST [18:52:58]URL: /json_proto [18:52:58]Method is POST - this is cgi request [18:52:58]url: /json_proto [18:52:58]query_string will be loaded in cgi processing [18:52:58]execute_cgi json_proto POST (null) [18:52:58]execute_cgi path=json_proto method=POST [18:52:58]POST find Content-Length [18:52:58]Host: 172.17.42.3:8080 [18:52:58]Content-Length: 645 [18:52:58]Content-Type: application/json [18:52:58] [18:52:58]POST finish read [18:52:58]Found Content-Length = 645 [18:52:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17189", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:52:58]execute_script... [18:52: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)17189", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:52:58]POST & json_proto [18:52:58]process_json_proto [18:52:58]json parsed OK: [18:52:58]protocol is kg_v1.0 [18:52:58]action value=close_receipt [18:52:58]process_action close_receipt [18:52:58]cmd_close_receipt [18:52:58]MH_GetDate [18:52:58]Write to MH i2c: F0 00 00 84 03 76 [18:52:58]Write i2c OK [18:52:58]MH_I2C_Read... [18:52:58]Read from MH i2c: F0 [18:52:58]MH_I2C_Read... [18:52:58]Read from MH i2c: F0 09 00 [18:52:58]MH_I2C_Read... [18:52:58]Read from MH i2c: F0 09 00 84 03 00 8A DD 1F 67 0E CB 1F 67 CB [18:52:58]GetLastDocTimeStamp 1730140527 [18:52:58]current date 1730141578 [18:52:58]FM_GetShiftState [18:52:58]SAM_PROTO_GetShiftState [18:52:58]wFMCommunicate request_size=4 [18:52:58]MH_SAM_APDU [18:52:58]CAPDU: 80 13 01 00 [18:52:58]Write to MH i2c: E2 08 00 85 03 80 13 01 00 00 00 00 00 05 [18:52:58]Write i2c OK [18:52:58]MH_I2C_Read... [18:52:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:52:58]Read from MH i2c: E2 [18:52:58]MH_I2C_Read... [18:52:58]Read from MH i2c: E2 0E 00 [18:52:58]MH_I2C_Read... [18:52:58]Read from MH i2c: E2 0E 00 85 03 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 00 [18:52:58]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [18:52:58]wFMCommunicate OK [18:52:58]SAM_PROTO_GetShiftState done [18:52:58]FM_GetShiftState done [18:52:58]opened in 1730074770 [18:52:58]opened+sec_in_day 1730161170 [18:52:58]quantity*price = 15900 [18:52:58]sum+1 = 15901 [18:52:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 159.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 141 28.10.2024 18:52 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68236 ФПД: 172003806631463 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T185258&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68236&fm=172003806631463&tin=02508201610067®Number=0000000000091759&sum=15900 0 [18:52:59]StoreToDocumentArchive [18:52:59]shift 547 fd 68236 [18:52:59]save to /storage/0547/doc_00068236 [18:52:59]save last doc name /storage/0547/doc_00068236 to /storage/kkm_last_doc_name [18:52:59]save OK [18:52:59]Clear old archive folders... [18:52:59]ProcessDocumentItem done err = 0, tmpTLVsize=278 [18:52:59]tlvbuf is 005F4ED0 [18:52:59]SAM_PROTO_ClearQueue [18:52:59]wFMCommunicate request_size=4 [18:52:59]MH_SAM_APDU [18:52:59]CAPDU: 80 09 00 00 [18:52:59]Write to MH i2c: E2 08 00 92 03 80 09 00 00 00 00 00 00 07 [18:52:59]Write i2c OK [18:52:59]MH_I2C_Read... [18:52:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:52:59]Read from MH i2c: E2 [18:52:59]MH_I2C_Read... [18:52:59]Read from MH i2c: E2 03 00 [18:52:59]MH_I2C_Read... [18:52:59]Read from MH i2c: E2 03 00 92 03 00 90 00 09 [18:52:59]RAPDU: 90 00 [18:52:59]wFMCommunicate OK [18:52:59]SAM_PROTO_ClearQueue done [18:52:59]KKMCreateOFDPacket [18:52:59]OFDProtocolAddRootSTLVToBuf [18:52:59]FM_MakeSignedData [18:52:59]FM_MakeSignedData [18:52:59]SAM_PROTO_SignData [18:52:59]wFMCommunicate request_size=4 [18:52:59]MH_SAM_APDU [18:52:59]CAPDU: 80 0D 01 02 [18:52:59]Write to MH i2c: E2 08 00 93 03 80 0D 01 02 00 00 00 00 0F [18:52:59]Write i2c OK [18:52:59]MH_I2C_Read... [18:52:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:52:59]Read from MH i2c: E2 [18:52:59]MH_I2C_Read... [18:52:59]Read from MH i2c: E2 03 00 [18:52:59]MH_I2C_Read... [18:52:59]Read from MH i2c: E2 03 00 93 03 00 90 00 0A [18:52:59]RAPDU: 90 00 [18:52:59]wFMCommunicate OK [18:52:59]wFMCommunicate request_size=255 [18:52:59]MH_SAM_APDU [18:52:59]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8D 00 00 00 F4 03 04 00 8A DD 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 [18:52:59]Write to MH i2c: E2 02 01 94 03 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8D 00 00 00 F4 03 04 00 8A DD 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 00 00 2D [18:52:59]Write i2c OK [18:52:59]MH_I2C_Read... [18:52:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:52:59]Read from MH i2c: E2 [18:52:59]MH_I2C_Read... [18:52:59]Read from MH i2c: E2 03 00 [18:52:59]MH_I2C_Read... [18:52:59]Read from MH i2c: E2 03 00 94 03 00 90 00 0B [18:52:59]RAPDU: 90 00 [18:52:59]wFMCommunicate OK [18:52:59]wFMCommunicate request_size=37 [18:52:59]MH_SAM_APDU [18:52:59]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8C 0A 01 00 35 04 06 00 9C 6F C1 CB 56 27 [18:52:59]Write to MH i2c: E2 28 00 95 03 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8C 0A 01 00 35 04 06 00 9C 6F C1 CB 56 27 00 00 18 [18:52:59]Write i2c OK [18:52:59]MH_I2C_Read... [18:52:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:52:59]Read from MH i2c: E2 [18:52:59]MH_I2C_Read... [18:52:59]Read from MH i2c: E2 03 00 [18:52:59]MH_I2C_Read... [18:52:59]Read from MH i2c: E2 03 00 95 03 00 90 00 0C [18:52:59]RAPDU: 90 00 [18:52:59]wFMCommunicate OK [18:52:59]wFMCommunicate request_size=4 [18:52:59]MH_SAM_APDU [18:52:59]CAPDU: 80 0D 03 02 [18:52:59]Write to MH i2c: E2 08 00 96 03 80 0D 03 02 00 00 00 00 14 [18:52:59]Write i2c OK [18:52:59]MH_I2C_Read... [18:53:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:53:00]Read from MH i2c: E2 [18:53:00]MH_I2C_Read... [18:53:00]Read from MH i2c: E2 0B 00 [18:53:00]MH_I2C_Read... [18:53:00]Read from MH i2c: E2 0B 00 96 03 00 CA 05 FE 07 2F F8 CC FF 90 00 DB [18:53:00]RAPDU: CA 05 FE 07 2F F8 CC FF 90 00 [18:53:00]wFMCommunicate OK [18:53:00]SAM_PROTO_SignData done [18:53:00]FM_MakeSignedData done [18:53:00]CreateOFDProtocolMessage [18:53:00]wFMCommunicate request_size=4 [18:53:00]MH_SAM_APDU [18:53:00]CAPDU: 80 11 00 00 [18:53:00]Write to MH i2c: E2 08 00 97 03 80 11 00 00 00 00 00 00 14 [18:53:00]Write i2c OK [18:53:00]MH_I2C_Read... [18:53:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:53:00]Read from MH i2c: E2 [18:53:00]MH_I2C_Read... [18:53:00]Read from MH i2c: E2 17 00 [18:53:00]MH_I2C_Read... [18:53:00]Read from MH i2c: E2 17 00 97 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 6B [18:53:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:53:00]wFMCommunicate OK [18:53:00]CreateOFDProtocolMessage done [18:53:00]OFDSenderStorePacket 68236 [18:53:00]StoreOFDPacket docnum=68236 [18:53:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2A 01 00 00 7C 0B 22 01 9C 35 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8D 00 00 00 F4 03 04 00 8A DD 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8C 0A 01 00 35 04 06 00 9C 6F C1 CB 56 27 CA 05 FE 07 2F F8 CC FF [18:53:00]CheckFolder [18:53:00]dirname=/storage/ofd_packets [18:53:00]CheckFolder done [18:53:00]ProducePacketName [18:53:00]name=ofd_packets/00068236 [18:53:00]NVStorageSaveData ofd_packets/00068236 [18:53:00]File name is /storage/ofd_packets/00068236 [18:53:00]Write 328 bytes [18:53:00]NVStorageSaveData done [18:53:00]OFDSenderStorePacket done [18:53:00]KKMCreateOFDPacket done [18:53:00]NVStorageSaveData kkm_last_timestamp [18:53:00]File name is /storage/kkm_last_timestamp [18:53:00]Write 4 bytes [18:53:00]NVStorageSaveData done [18:53:00]ExternCall_PrintAddStr [18:53:00]wPrintStart [18:53:00]Write to MH i2c: 01 00 00 98 03 9B [18:53:00]Write i2c OK [18:53:00]MH_I2C_Read... [18:53:00]Read from MH i2c: 01 [18:53:00]MH_I2C_Read... [18:53:00]Read from MH i2c: 01 07 00 [18:53:00]MH_I2C_Read... [18:53:00]Read from MH i2c: 01 07 00 98 03 00 00 00 00 00 FF 0F B0 [18:53:00]RasterBufferAndPrint [18:53:00]line Счет N : (3)17189 [18:53:00]line ИНН: 02508201610067 [18:53:00]line Контрольно-Кассовый Чек [18:53:00]line ПРОДАЖА [18:53:00]line Товар: 90162602 [18:53:00]line Энерг напиток Red bull 0,25л [18:53:00]line 1.000 * 159.00 [18:53:00]line = 159.00 [18:53:00]line НДС 12% НСП 1% [18:53:00]line > о реализуемом товаре [18:53:00]line ИТОГО: 159.00 [18:53:00]line НСП 1% : 1.41 [18:53:00]line НДС 12% : 16.88 [18:53:00]line Наличными: 159.00 [18:53:00]line Безнал.: 0.00 [18:53:00]line Место: АЗС № 160 "Партнер Нефть" [18:53:00]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [18:53:00]line СНО: Общий режим [18:53:00]line Чек 141 28.10.2024 18:52 [18:53:00]line Смена: 547 ФФД: 1.0 [18:53:00]line ЗНМ: 0300000093 [18:53:00]line РНМ: 0000000000091759 [18:53:00]line Версия ККМ: 001 [18:53:00]line ФМ: 0000000000871758 [18:53:00]line ФД: 68236 [18:53:00]line ФПД: 172003806631463 [18:53:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T185258&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68236&fm=172003806631463&tin=02508201610067®Number=0000000000091759&sum=15900 [18:53:00]OFD Sender: Processing packet 68236 [packets to send 27, broken 26] [18:53:00]ProducePacketName [18:53:00]name=ofd_packets/00068236 [18:53:00]OFD Sender: To server: pG, [18:53:00]CommunicateWithHost lk.salyk.kg:30040 [18:53:00]ConnectInit lk.salyk.kg [18:53:00]line 0 [18:53:00]written 0, free lines is 4095 [18:53:00]Connected sock=10 [18:53:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2A 01 00 00 7C 0B 22 01 9C 35 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8D 00 00 00 F4 03 04 00 8A DD 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8C 0A 01 00 35 04 06 00 9C 6F C1 CB 56 27 CA 05 FE 07 2F F8 CC FF [18:53:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 59 3D 47 00 94 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 38 37 31 37 35 38 10 04 04 00 8C 0A 01 00 F4 03 04 00 6A 89 1F 67 B6 04 01 00 00 5B D1 8A 05 7F 64 1C 5C [18:53:00]CommunicateWithHost err = 0 [18:53:00]CheckOFDResponse [18:53:00]1017 (14) - 77093643461234 [18:53:00]1041 (16) - 0000000000871758 [18:53:00]1040 (4) - 68236 [18:53:00]1012 (4) - 28.10.2024 12:54 [18:53:00]1206 (1) - 0 [18:53:00]OFD Sender: Remove packet 68236 [18:53:00]ProducePacketName [18:53:00]name=ofd_packets/00068236 [18:53:00]NVStorageDeleteData [18:53:00]Write to MH i2c: 01 00 00 BF 03 C2 [18:53:00]Write i2c OK [18:53:00]MH_I2C_Read... [18:53:00]Read from MH i2c: 01 [18:53:00]MH_I2C_Read... [18:53:00]Read from MH i2c: 01 07 00 [18:53:00]MH_I2C_Read... [18:53:00]Read from MH i2c: 01 07 00 BF 03 00 00 00 00 00 EC 0C C1 [18:53:00]RasterBufferAndPrint [18:53:00]line [18:53:00]line [18:53:00]line [18:53:00]line [18:53:00]line [18:53:00]written 0, free lines is 3313 [18:53:00]MH_Cut [18:53:00]Write to MH i2c: D1 01 00 C6 03 01 9B [18:53:00]Write i2c OK [18:53:00]MH_I2C_Read... [18:53:00]Read from MH i2c: D1 [18:53:00]MH_I2C_Read... [18:53:00]Read from MH i2c: D1 01 00 [18:53:00]MH_I2C_Read... [18:53:00]Read from MH i2c: D1 01 00 C6 03 00 9A [18:53:00]Write to MH i2c: 01 00 00 C7 03 CA [18:53:00]Write i2c OK [18:53:00]MH_I2C_Read... [18:53:01]OFD Sender: No OFD packet to send [18:53:01]*** Cut start [18:53:01]*** Partial cut [18:53:01]*** CUTSNS_PIN = 1 [18:53:01]*** CUTSNS_PIN = 0 [18:53:01]*** Brake cut motor [18:53:02]Read from MH i2c: 01 [18:53:02]MH_I2C_Read... [18:53:02]*** Stop cut motor [18:53:02]*** Cut end [18:53:02]Read from MH i2c: 01 07 00 [18:53:02]MH_I2C_Read... [18:53:02]Read from MH i2c: 01 07 00 C7 03 00 00 00 00 00 FF 0F DF [18:53:02]process_action close_receipt done [18:53:02]requested_data is exist [18:53:02]produce_requested_data [18:53:02]requested_item fm.sn is exist - process it [18:53:02]wFMCommunicate request_size=4 [18:53:02]MH_SAM_APDU [18:53:02]CAPDU: 80 11 00 00 [18:53:02]Write to MH i2c: E2 08 00 C8 03 80 11 00 00 00 00 00 00 45 [18:53:02]Write i2c OK [18:53:02]MH_I2C_Read... [18:53:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:53:02]Read from MH i2c: E2 [18:53:02]MH_I2C_Read... [18:53:02]Read from MH i2c: E2 17 00 [18:53:02]MH_I2C_Read... [18:53:02]Read from MH i2c: E2 17 00 C8 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 9C [18:53:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:53:02]wFMCommunicate OK [18:53:02]requested_item fd.num is exist - process it [18:53:02]SAM_PROTO_GetFieldsCounters [18:53:02]wFMCommunicate request_size=4 [18:53:02]MH_SAM_APDU [18:53:02]CAPDU: 80 13 00 00 [18:53:02]Write to MH i2c: E2 08 00 C9 03 80 13 00 00 00 00 00 00 48 [18:53:02]Write i2c OK [18:53:02]MH_I2C_Read... [18:53:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:53:02]Read from MH i2c: E2 [18:53:02]MH_I2C_Read... [18:53:02]Read from MH i2c: E2 62 00 [18:53:02]MH_I2C_Read... [18:53:02]Read from MH i2c: E2 62 00 C9 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 8C 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 8D 00 00 00 5E 04 04 00 8D 00 00 00 57 04 04 00 8E 00 00 00 19 04 04 00 00 00 00 00 90 00 D6 [18:53:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 8C 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 8D 00 00 00 5E 04 04 00 8D 00 00 00 57 04 04 00 8E 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:53:02]wFMCommunicate OK [18:53:02]SAM_PROTO_GetFieldsCounters done [18:53:02]requested_item shift.num is exist - process it [18:53:02]requested_item shift.opened is exist - process it [18:53:02]req_shift_opened [18:53:02]FM_GetShiftState [18:53:02]SAM_PROTO_GetShiftState [18:53:02]wFMCommunicate request_size=4 [18:53:02]MH_SAM_APDU [18:53:02]CAPDU: 80 13 01 00 [18:53:02]Write to MH i2c: E2 08 00 CA 03 80 13 01 00 00 00 00 00 4A [18:53:02]Write i2c OK [18:53:02]MH_I2C_Read... [18:53:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:53:02]Read from MH i2c: E2 [18:53:02]MH_I2C_Read... [18:53:02]Read from MH i2c: E2 0E 00 [18:53:02]MH_I2C_Read... [18:53:02]Read from MH i2c: E2 0E 00 CA 03 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 45 [18:53:02]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [18:53:02]wFMCommunicate OK [18:53:02]SAM_PROTO_GetShiftState done [18:53:02]FM_GetShiftState done [18:53:02]req_shift_opened done [18:53:02]requested_item shift.open_date is exist - process it [18:53:02]req_shift_open_date [18:53:02]req_shift_open_date done [18:53:02]produce_requested_data done [18:53:02]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68236,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [18:53:02]process_action_free close_receipt [18:53:02]json_value_free [18:53:02]json_value_free done [18:53:02]process_json_proto returns [18:53:02]Send response to host [18:53:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68236,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [18:53:02]free response buf [18:53:02]execute_script done [18:53:02]execute_script returns [18:53:02]free content buf [18:53:02]Sock 7.Close socket [18:53:02]Sock 7.Thread stoped [18:53:06]OFD Sender: No OFD packet to send [18:53:11]OFD Sender: No OFD packet to send [18:53:16]OFD Sender: No OFD packet to send [18:53:21]OFD Sender: No OFD packet to send [18:53:26]OFD Sender: No OFD packet to send [18:53:31]OFD Sender: No OFD packet to send [18:53:36]OFD Sender: No OFD packet to send [18:53:41]OFD Sender: No OFD packet to send [18:53:46]OFD Sender: No OFD packet to send [18:53:51]OFD Sender: No OFD packet to send [18:53:56]OFD Sender: No OFD packet to send [18:54:01]OFD Sender: No OFD packet to send [18:54:06]OFD Sender: No OFD packet to send [18:54:11]OFD Sender: No OFD packet to send [18:54:16]OFD Sender: No OFD packet to send [18:54:21]OFD Sender: No OFD packet to send [18:54:26]OFD Sender: No OFD packet to send [18:54:31]OFD Sender: No OFD packet to send [18:54:36]OFD Sender: No OFD packet to send [18:54:41]OFD Sender: No OFD packet to send [18:54:46]OFD Sender: No OFD packet to send [18:54:51]OFD Sender: No OFD packet to send [18:54:51]accept exits with 9 [18:54:51]New connection [18:54:51]New thread 3067354468 created [18:54:51]Thread 3067497828 joined [18:54:51]Waiting for new connection... [18:54:51] Sock 9.Parse request [18:54:51]Sock 9.Check first char [18:54:51]Sock 9.First char is OK [18:54:51]request: POST /json_proto HTTP/1.0 [18:54:51]Method: POST [18:54:51]URL: /json_proto [18:54:51]Method is POST - this is cgi request [18:54:51]url: /json_proto [18:54:51]query_string will be loaded in cgi processing [18:54:51]execute_cgi json_proto POST (null) [18:54:51]execute_cgi path=json_proto method=POST [18:54:51]POST find Content-Length [18:54:51]Host: 172.17.42.3:8080 [18:54:51]Content-Length: 620 [18:54:51]Content-Type: application/json [18:54:51] [18:54:51]POST finish read [18:54:51]Found Content-Length = 620 [18:54:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17190", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:54:51]execute_script... [18:54: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)17190", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:54:51]POST & json_proto [18:54:51]process_json_proto [18:54:51]json parsed OK: [18:54:51]protocol is kg_v1.0 [18:54:51]action value=close_receipt [18:54:51]process_action close_receipt [18:54:51]cmd_close_receipt [18:54:51]MH_GetDate [18:54:51]Write to MH i2c: F0 00 00 CB 03 BD [18:54:51]Write i2c OK [18:54:51]MH_I2C_Read... [18:54:51]Read from MH i2c: F0 [18:54:51]MH_I2C_Read... [18:54:51]Read from MH i2c: F0 09 00 [18:54:51]MH_I2C_Read... [18:54:51]Read from MH i2c: F0 09 00 CB 03 00 FB DD 1F 67 0E CB 1F 67 83 [18:54:51]GetLastDocTimeStamp 1730141578 [18:54:51]current date 1730141691 [18:54:51]FM_GetShiftState [18:54:51]SAM_PROTO_GetShiftState [18:54:51]wFMCommunicate request_size=4 [18:54:51]MH_SAM_APDU [18:54:51]CAPDU: 80 13 01 00 [18:54:51]Write to MH i2c: E2 08 00 CC 03 80 13 01 00 00 00 00 00 4C [18:54:51]Write i2c OK [18:54:51]MH_I2C_Read... [18:54:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:54:51]Read from MH i2c: E2 [18:54:51]MH_I2C_Read... [18:54:51]Read from MH i2c: E2 0E 00 [18:54:51]MH_I2C_Read... [18:54:51]Read from MH i2c: E2 0E 00 CC 03 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 47 [18:54:51]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [18:54:51]wFMCommunicate OK [18:54:51]SAM_PROTO_GetShiftState done [18:54:51]FM_GetShiftState done [18:54:51]opened in 1730074770 [18:54:51]opened+sec_in_day 1730161170 [18:54:51]quantity*price = 28800 [18:54:51]sum+1 = 28801 [18:54:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 288.00 НСП 1% : 2.55 НДС 12% : 30.58 Наличными: 288.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 142 28.10.2024 18:54 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68237 ФПД: 9422559919339 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T185451&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68237&fm=9422559919339&tin=02508201610067®Number=0000000000091759&sum=28800 0 [18:54:52]StoreToDocumentArchive [18:54:52]shift 547 fd 68237 [18:54:52]save to /storage/0547/doc_00068237 [18:54:52]save last doc name /storage/0547/doc_00068237 to /storage/kkm_last_doc_name [18:54:52]save OK [18:54:52]Clear old archive folders... [18:54:52]ProcessDocumentItem done err = 0, tmpTLVsize=273 [18:54:52]tlvbuf is 005CAFE0 [18:54:52]SAM_PROTO_ClearQueue [18:54:52]wFMCommunicate request_size=4 [18:54:52]MH_SAM_APDU [18:54:52]CAPDU: 80 09 00 00 [18:54:52]Write to MH i2c: E2 08 00 D9 03 80 09 00 00 00 00 00 00 4E [18:54:52]Write i2c OK [18:54:52]MH_I2C_Read... [18:54:52]*** iso7816_exchange 80 09 00 00... 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 D9 03 00 90 00 50 [18:54:52]RAPDU: 90 00 [18:54:52]wFMCommunicate OK [18:54:52]SAM_PROTO_ClearQueue done [18:54:52]KKMCreateOFDPacket [18:54:52]OFDProtocolAddRootSTLVToBuf [18:54:52]FM_MakeSignedData [18:54:52]FM_MakeSignedData [18:54:52]SAM_PROTO_SignData [18:54:52]wFMCommunicate request_size=4 [18:54:52]MH_SAM_APDU [18:54:52]CAPDU: 80 0D 01 02 [18:54:52]Write to MH i2c: E2 08 00 DA 03 80 0D 01 02 00 00 00 00 56 [18:54:52]Write i2c OK [18:54:52]MH_I2C_Read... [18:54:52]*** iso7816_exchange 80 0D 01 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 DA 03 00 90 00 51 [18:54:52]RAPDU: 90 00 [18:54:52]wFMCommunicate OK [18:54:52]wFMCommunicate request_size=255 [18:54:52]MH_SAM_APDU [18:54:52]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 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8E 00 00 00 F4 03 04 00 FB DD 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 [18:54:52]Write to MH i2c: E2 02 01 DB 03 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 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8E 00 00 00 F4 03 04 00 FB DD 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 00 00 AA [18:54:52]Write i2c OK [18:54:52]MH_I2C_Read... [18:54:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:54:53]Read from MH i2c: E2 [18:54:53]MH_I2C_Read... [18:54:53]Read from MH i2c: E2 03 00 [18:54:53]MH_I2C_Read... [18:54:53]Read from MH i2c: E2 03 00 DB 03 00 90 00 52 [18:54:53]RAPDU: 90 00 [18:54:53]wFMCommunicate OK [18:54:53]wFMCommunicate request_size=32 [18:54:53]MH_SAM_APDU [18:54:53]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 37 35 38 10 04 04 00 8D 0A 01 00 35 04 06 00 08 91 DC 56 3C EB [18:54:53]Write to MH i2c: E2 23 00 DC 03 80 0D 02 02 1B 00 30 30 30 38 37 31 37 35 38 10 04 04 00 8D 0A 01 00 35 04 06 00 08 91 DC 56 3C EB 00 00 44 [18:54:53]Write i2c OK [18:54:53]MH_I2C_Read... [18:54:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:54:53]Read from MH i2c: E2 [18:54:53]MH_I2C_Read... [18:54:53]Read from MH i2c: E2 03 00 [18:54:53]MH_I2C_Read... [18:54:53]Read from MH i2c: E2 03 00 DC 03 00 90 00 53 [18:54:53]RAPDU: 90 00 [18:54:53]wFMCommunicate OK [18:54:53]wFMCommunicate request_size=4 [18:54:53]MH_SAM_APDU [18:54:53]CAPDU: 80 0D 03 02 [18:54:53]Write to MH i2c: E2 08 00 DD 03 80 0D 03 02 00 00 00 00 5B [18:54:53]Write i2c OK [18:54:53]MH_I2C_Read... [18:54:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:54:53]Read from MH i2c: E2 [18:54:53]MH_I2C_Read... [18:54:53]Read from MH i2c: E2 0B 00 [18:54:53]MH_I2C_Read... [18:54:53]Read from MH i2c: E2 0B 00 DD 03 00 99 37 8B DB FA D3 45 74 90 00 18 [18:54:53]RAPDU: 99 37 8B DB FA D3 45 74 90 00 [18:54:53]wFMCommunicate OK [18:54:53]SAM_PROTO_SignData done [18:54:53]FM_MakeSignedData done [18:54:53]CreateOFDProtocolMessage [18:54:53]wFMCommunicate request_size=4 [18:54:53]MH_SAM_APDU [18:54:53]CAPDU: 80 11 00 00 [18:54:53]Write to MH i2c: E2 08 00 DE 03 80 11 00 00 00 00 00 00 5B [18:54:53]Write i2c OK [18:54:53]MH_I2C_Read... [18:54:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:54:53]Read from MH i2c: E2 [18:54:53]MH_I2C_Read... [18:54:53]Read from MH i2c: E2 17 00 [18:54:53]MH_I2C_Read... [18:54:53]Read from MH i2c: E2 17 00 DE 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 B2 [18:54:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:54:53]wFMCommunicate OK [18:54:53]CreateOFDProtocolMessage done [18:54:53]OFDSenderStorePacket 68237 [18:54:53]StoreOFDPacket docnum=68237 [18:54:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 25 01 00 00 87 00 1D 01 35 10 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 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8E 00 00 00 F4 03 04 00 FB DD 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8D 0A 01 00 35 04 06 00 08 91 DC 56 3C EB 99 37 8B DB FA D3 45 74 [18:54:53]CheckFolder [18:54:53]dirname=/storage/ofd_packets [18:54:53]CheckFolder done [18:54:53]ProducePacketName [18:54:53]name=ofd_packets/00068237 [18:54:53]NVStorageSaveData ofd_packets/00068237 [18:54:53]File name is /storage/ofd_packets/00068237 [18:54:53]Write 323 bytes [18:54:53]NVStorageSaveData done [18:54:53]OFDSenderStorePacket done [18:54:53]KKMCreateOFDPacket done [18:54:53]NVStorageSaveData kkm_last_timestamp [18:54:53]File name is /storage/kkm_last_timestamp [18:54:53]Write 4 bytes [18:54:53]NVStorageSaveData done [18:54:53]ExternCall_PrintAddStr [18:54:53]wPrintStart [18:54:53]Write to MH i2c: 01 00 00 DF 03 E2 [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 DF 03 00 00 00 00 00 FF 0F F7 [18:54:53]RasterBufferAndPrint [18:54:53]line Счет N : (3)17190 [18:54:53]line ИНН: 02508201610067 [18:54:53]line Контрольно-Кассовый Чек [18:54:53]line ПРОДАЖА [18:54:53]line Товар: 48743570 [18:54:53]line Сигареты Winston XStyle Blue [18:54:53]line 2.000 * 144.00 [18:54:53]line = 288.00 [18:54:53]line НДС 12% НСП 1% [18:54:53]line > о реализуемом товаре [18:54:53]line ИТОГО: 288.00 [18:54:53]line НСП 1% : 2.55 [18:54:53]line НДС 12% : 30.58 [18:54:53]line Наличными: 288.00 [18:54:53]line Безнал.: 0.00 [18:54:53]line Место: АЗС № 160 "Партнер Нефть" [18:54:53]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [18:54:53]line СНО: Общий режим [18:54:53]line Чек 142 28.10.2024 18:54 [18:54:53]line Смена: 547 ФФД: 1.0 [18:54:53]line ЗНМ: 0300000093 [18:54:53]line РНМ: 0000000000091759 [18:54:53]line Версия ККМ: 001 [18:54:53]line ФМ: 0000000000871758 [18:54:53]line ФД: 68237 [18:54:53]line ФПД: 9422559919339 [18:54:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T185451&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68237&fm=9422559919339&tin=02508201610067®Number=0000000000091759&sum=28800 [18:54:53]line 0 [18:54:53]OFD Sender: Processing packet 68237 [packets to send 27, broken 26] [18:54:53]ProducePacketName [18:54:53]name=ofd_packets/00068237 [18:54:53]OFD Sender: To server: pG, [18:54:53]CommunicateWithHost lk.salyk.kg:30040 [18:54:53]ConnectInit lk.salyk.kg [18:54:53]written 0, free lines is 4095 [18:54:53]Connected sock=10 [18:54:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 25 01 00 00 87 00 1D 01 35 10 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 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8E 00 00 00 F4 03 04 00 FB DD 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8D 0A 01 00 35 04 06 00 08 91 DC 56 3C EB 99 37 8B DB FA D3 45 74 [18:54:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 E2 67 47 00 3D 88 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8D 0A 01 00 F4 03 04 00 DC 89 1F 67 B6 04 01 00 00 55 F1 42 BE 15 8D 95 68 [18:54:53]CommunicateWithHost err = 0 [18:54:53]CheckOFDResponse [18:54:53]1017 (14) - 77093643461234 [18:54:53]1041 (16) - 0000000000871758 [18:54:53]1040 (4) - 68237 [18:54:53]1012 (4) - 28.10.2024 12:55 [18:54:53]1206 (1) - 0 [18:54:53]OFD Sender: Remove packet 68237 [18:54:53]ProducePacketName [18:54:53]name=ofd_packets/00068237 [18:54:53]NVStorageDeleteData [18:54:53]Write to MH i2c: 01 00 00 06 04 0A [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 06 04 00 00 00 00 00 EC 0C 09 [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 3314 [18:54:53]MH_Cut [18:54:53]Write to MH i2c: D1 01 00 0D 04 01 E3 [18:54:53]Write i2c OK [18:54:53]MH_I2C_Read... [18:54:53]Read from MH i2c: D1 [18:54:54]MH_I2C_Read... [18:54:54]Read from MH i2c: D1 01 00 [18:54:54]MH_I2C_Read... [18:54:54]Read from MH i2c: D1 01 00 0D 04 00 E2 [18:54:54]Write to MH i2c: 01 00 00 0E 04 12 [18:54:54]Write i2c OK [18:54:54]MH_I2C_Read... [18:54:54]OFD Sender: No OFD packet to send [18:54:54]*** Cut start [18:54:54]*** Partial cut [18:54:54]*** CUTSNS_PIN = 1 [18:54:54]*** CUTSNS_PIN = 0 [18:54:55]*** Brake cut motor [18:54:55]Read from MH i2c: 01 [18:54:55]MH_I2C_Read... [18:54:55]*** Stop cut motor [18:54:55]*** Cut end [18:54:55]Read from MH i2c: 01 07 00 [18:54:55]MH_I2C_Read... [18:54:55]Read from MH i2c: 01 07 00 0E 04 00 00 00 00 00 FF 0F 27 [18:54:55]process_action close_receipt done [18:54:55]requested_data is exist [18:54:55]produce_requested_data [18:54:55]requested_item fm.sn is exist - process it [18:54:55]wFMCommunicate request_size=4 [18:54:55]MH_SAM_APDU [18:54:55]CAPDU: 80 11 00 00 [18:54:55]Write to MH i2c: E2 08 00 0F 04 80 11 00 00 00 00 00 00 8D [18:54:55]Write i2c OK [18:54:55]MH_I2C_Read... [18:54:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:54:55]Read from MH i2c: E2 [18:54:55]MH_I2C_Read... [18:54:55]Read from MH i2c: E2 17 00 [18:54:55]MH_I2C_Read... [18:54:55]Read from MH i2c: E2 17 00 0F 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 E4 [18:54:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:54:55]wFMCommunicate OK [18:54:55]requested_item fd.num is exist - process it [18:54:55]SAM_PROTO_GetFieldsCounters [18:54:55]wFMCommunicate request_size=4 [18:54:55]MH_SAM_APDU [18:54:55]CAPDU: 80 13 00 00 [18:54:55]Write to MH i2c: E2 08 00 10 04 80 13 00 00 00 00 00 00 90 [18:54:55]Write i2c OK [18:54:55]MH_I2C_Read... [18:54:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:54:55]Read from MH i2c: E2 [18:54:55]MH_I2C_Read... [18:54:55]Read from MH i2c: E2 62 00 [18:54:55]MH_I2C_Read... [18:54:55]Read from MH i2c: E2 62 00 10 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 8D 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 8E 00 00 00 5E 04 04 00 8E 00 00 00 57 04 04 00 8F 00 00 00 19 04 04 00 00 00 00 00 90 00 22 [18:54:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 8D 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 8E 00 00 00 5E 04 04 00 8E 00 00 00 57 04 04 00 8F 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:54:55]wFMCommunicate OK [18:54:55]SAM_PROTO_GetFieldsCounters done [18:54:55]requested_item shift.num is exist - process it [18:54:55]requested_item shift.opened is exist - process it [18:54:55]req_shift_opened [18:54:55]FM_GetShiftState [18:54:55]SAM_PROTO_GetShiftState [18:54:55]wFMCommunicate request_size=4 [18:54:55]MH_SAM_APDU [18:54:55]CAPDU: 80 13 01 00 [18:54:55]Write to MH i2c: E2 08 00 11 04 80 13 01 00 00 00 00 00 92 [18:54:55]Write i2c OK [18:54:55]MH_I2C_Read... [18:54:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:54:55]Read from MH i2c: E2 [18:54:55]MH_I2C_Read... [18:54:55]Read from MH i2c: E2 0E 00 [18:54:55]MH_I2C_Read... [18:54:55]Read from MH i2c: E2 0E 00 11 04 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 8D [18:54:55]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [18:54:55]wFMCommunicate OK [18:54:55]SAM_PROTO_GetShiftState done [18:54:55]FM_GetShiftState done [18:54:55]req_shift_opened done [18:54:55]requested_item shift.open_date is exist - process it [18:54:55]req_shift_open_date [18:54:55]req_shift_open_date done [18:54:55]produce_requested_data done [18:54:55]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68237,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [18:54:55]process_action_free close_receipt [18:54:55]json_value_free [18:54:55]json_value_free done [18:54:55]process_json_proto returns [18:54:55]Send response to host [18:54:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68237,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [18:54:55]free response buf [18:54:55]execute_script done [18:54:55]execute_script returns [18:54:55]free content buf [18:54:55]Sock 9.Close socket [18:54:55]Sock 9.Thread stoped [18:54:59]OFD Sender: No OFD packet to send [18:55:04]OFD Sender: No OFD packet to send [18:55:09]OFD Sender: No OFD packet to send [18:55:14]OFD Sender: No OFD packet to send [18:55:19]OFD Sender: No OFD packet to send [18:55:24]OFD Sender: No OFD packet to send [18:55:29]OFD Sender: No OFD packet to send [18:55:34]OFD Sender: No OFD packet to send [18:55:39]OFD Sender: No OFD packet to send [18:55:44]OFD Sender: No OFD packet to send [18:55:49]OFD Sender: No OFD packet to send [18:55:54]OFD Sender: No OFD packet to send [18:55:59]OFD Sender: No OFD packet to send [18:56:04]OFD Sender: No OFD packet to send [18:56:09]OFD Sender: No OFD packet to send [18:56:14]OFD Sender: No OFD packet to send [18:56:19]OFD Sender: No OFD packet to send [18:56:24]OFD Sender: No OFD packet to send [18:56:29]OFD Sender: No OFD packet to send [18:56:34]OFD Sender: No OFD packet to send [18:56:39]OFD Sender: No OFD packet to send [18:56:44]OFD Sender: No OFD packet to send [18:56:49]OFD Sender: No OFD packet to send [18:56:54]OFD Sender: No OFD packet to send [18:56:59]OFD Sender: No OFD packet to send [18:57:04]OFD Sender: No OFD packet to send [18:57:09]OFD Sender: No OFD packet to send [18:57:14]OFD Sender: No OFD packet to send [18:57:19]OFD Sender: No OFD packet to send [18:57:24]OFD Sender: No OFD packet to send [18:57:29]OFD Sender: No OFD packet to send [18:57:34]OFD Sender: No OFD packet to send [18:57:39]OFD Sender: No OFD packet to send [18:57:44]OFD Sender: No OFD packet to send [18:57:49]OFD Sender: No OFD packet to send [18:57:54]OFD Sender: No OFD packet to send [18:57:59]OFD Sender: No OFD packet to send [18:58:04]OFD Sender: No OFD packet to send [18:58:09]OFD Sender: No OFD packet to send [18:58:14]OFD Sender: No OFD packet to send [18:58:19]OFD Sender: No OFD packet to send [18:58:24]OFD Sender: No OFD packet to send [18:58:29]OFD Sender: No OFD packet to send [18:58:34]OFD Sender: No OFD packet to send [18:58:39]OFD Sender: No OFD packet to send [18:58:44]OFD Sender: No OFD packet to send [18:58:45]accept exits with 7 [18:58:45]New connection [18:58:45]New thread 3067497828 created [18:58:45]Thread 3067354468 joined [18:58:45]Waiting for new connection... [18:58:45] Sock 7.Parse request [18:58:45]Sock 7.Check first char [18:58:45]Sock 7.First char is OK [18:58:45]request: POST /json_proto HTTP/1.0 [18:58:45]Method: POST [18:58:45]URL: /json_proto [18:58:45]Method is POST - this is cgi request [18:58:45]url: /json_proto [18:58:45]query_string will be loaded in cgi processing [18:58:45]execute_cgi json_proto POST (null) [18:58:45]execute_cgi path=json_proto method=POST [18:58:45]POST find Content-Length [18:58:45]Host: 172.17.42.3:8080 [18:58:45]Content-Length: 938 [18:58:45]Content-Type: application/json [18:58:45] [18:58:45]POST finish read [18:58:45]Found Content-Length = 938 [18:58:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17191", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522701", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 1,2", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 269.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:58:45]execute_script... [18:58: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)17191", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202522701", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 1,2", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 269.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:58:45]POST & json_proto [18:58:45]process_json_proto [18:58:45]json parsed OK: [18:58:45]protocol is kg_v1.0 [18:58:45]action value=close_receipt [18:58:45]process_action close_receipt [18:58:45]cmd_close_receipt [18:58:45]MH_GetDate [18:58:45]Write to MH i2c: F0 00 00 12 04 05 [18:58:45]Write i2c OK [18:58:45]MH_I2C_Read... [18:58:45]Read from MH i2c: F0 [18:58:45]MH_I2C_Read... [18:58:45]Read from MH i2c: F0 09 00 [18:58:45]MH_I2C_Read... [18:58:45]Read from MH i2c: F0 09 00 12 04 00 E5 DE 1F 67 0E CB 1F 67 B6 [18:58:45]GetLastDocTimeStamp 1730141691 [18:58:45]current date 1730141925 [18:58:45]FM_GetShiftState [18:58:45]SAM_PROTO_GetShiftState [18:58:45]wFMCommunicate request_size=4 [18:58:45]MH_SAM_APDU [18:58:45]CAPDU: 80 13 01 00 [18:58:45]Write to MH i2c: E2 08 00 13 04 80 13 01 00 00 00 00 00 94 [18:58:45]Write i2c OK [18:58:45]MH_I2C_Read... [18:58:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:58:45]Read from MH i2c: E2 [18:58:45]MH_I2C_Read... [18:58:45]Read from MH i2c: E2 0E 00 [18:58:45]MH_I2C_Read... [18:58:45]Read from MH i2c: E2 0E 00 13 04 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 8F [18:58:45]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [18:58:45]wFMCommunicate OK [18:58:45]SAM_PROTO_GetShiftState done [18:58:45]FM_GetShiftState done [18:58:45]opened in 1730074770 [18:58:45]opened+sec_in_day 1730161170 [18:58:45]quantity*price = 14400 [18:58:45]sum+1 = 14401 [18:58:45]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870202522701 Напиток Maxi Чай черный Малина 1,2 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 269.00 НСП 1% : 2.38 НДС 12% : 28.56 Наличными: 269.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 143 28.10.2024 18:58 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68238 ФПД: 17109633988359 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T185846&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68238&fm=17109633988359&tin=02508201610067®Number=0000000000091759&sum=26900 0 [18:58:46]StoreToDocumentArchive [18:58:46]shift 547 fd 68238 [18:58:46]save to /storage/0547/doc_00068238 [18:58:46]save last doc name /storage/0547/doc_00068238 to /storage/kkm_last_doc_name [18:58:46]save OK [18:58:46]Clear old archive folders... [18:58:46]ProcessDocumentItem done err = 0, tmpTLVsize=401 [18:58:46]tlvbuf is 005C3230 [18:58:46]SAM_PROTO_ClearQueue [18:58:46]wFMCommunicate request_size=4 [18:58:46]MH_SAM_APDU [18:58:46]CAPDU: 80 09 00 00 [18:58:46]Write to MH i2c: E2 08 00 20 04 80 09 00 00 00 00 00 00 96 [18:58:46]Write i2c OK [18:58:46]MH_I2C_Read... [18:58:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:58:46]Read from MH i2c: E2 [18:58:46]MH_I2C_Read... [18:58:46]Read from MH i2c: E2 03 00 [18:58:46]MH_I2C_Read... [18:58:46]Read from MH i2c: E2 03 00 20 04 00 90 00 98 [18:58:46]RAPDU: 90 00 [18:58:46]wFMCommunicate OK [18:58:46]SAM_PROTO_ClearQueue done [18:58:46]KKMCreateOFDPacket [18:58:46]OFDProtocolAddRootSTLVToBuf [18:58:46]FM_MakeSignedData [18:58:46]FM_MakeSignedData [18:58:46]SAM_PROTO_SignData [18:58:46]wFMCommunicate request_size=4 [18:58:46]MH_SAM_APDU [18:58:46]CAPDU: 80 0D 01 02 [18:58:46]Write to MH i2c: E2 08 00 21 04 80 0D 01 02 00 00 00 00 9E [18:58:46]Write i2c OK [18:58:46]MH_I2C_Read... [18:58:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:58:46]Read from MH i2c: E2 [18:58:46]MH_I2C_Read... [18:58:46]Read from MH i2c: E2 03 00 [18:58:46]MH_I2C_Read... [18:58:46]Read from MH i2c: E2 03 00 21 04 00 90 00 99 [18:58:46]RAPDU: 90 00 [18:58:46]wFMCommunicate OK [18:58:46]wFMCommunicate request_size=255 [18:58:46]MH_SAM_APDU [18:58:46]CAPDU: 80 0D 02 02 FA 03 00 91 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 69 00 00 00 00 [18:58:46]Write to MH i2c: E2 02 01 22 04 80 0D 02 02 FA 00 03 00 91 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 69 00 00 00 00 00 00 05 [18:58:46]Write i2c OK [18:58:46]MH_I2C_Read... [18:58:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:58:47]Read from MH i2c: E2 [18:58:47]MH_I2C_Read... [18:58:47]Read from MH i2c: E2 03 00 [18:58:47]MH_I2C_Read... [18:58:47]Read from MH i2c: E2 03 00 22 04 00 90 00 9A [18:58:47]RAPDU: 90 00 [18:58:47]wFMCommunicate OK [18:58:47]wFMCommunicate request_size=160 [18:58:47]MH_SAM_APDU [18:58:47]CAPDU: 80 0D 02 02 9B EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 0B 00 00 00 00 07 04 06 00 14 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8F 00 00 00 F4 03 04 00 E6 DE 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8E 0A 01 00 35 04 06 00 0F 8F A5 A7 F7 07 [18:58:47]Write to MH i2c: E2 A3 00 23 04 80 0D 02 02 9B 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 0B 00 00 00 00 07 04 06 00 14 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8F 00 00 00 F4 03 04 00 E6 DE 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8E 0A 01 00 35 04 06 00 0F 8F A5 A7 F7 07 00 00 3B [18:58:47]Write i2c OK [18:58:47]MH_I2C_Read... [18:58:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:58:47]Read from MH i2c: E2 [18:58:47]MH_I2C_Read... [18:58:47]Read from MH i2c: E2 03 00 [18:58:47]MH_I2C_Read... [18:58:47]Read from MH i2c: E2 03 00 23 04 00 90 00 9B [18:58:47]RAPDU: 90 00 [18:58:47]wFMCommunicate OK [18:58:47]wFMCommunicate request_size=4 [18:58:47]MH_SAM_APDU [18:58:47]CAPDU: 80 0D 03 02 [18:58:47]Write to MH i2c: E2 08 00 24 04 80 0D 03 02 00 00 00 00 A3 [18:58:47]Write i2c OK [18:58:47]MH_I2C_Read... [18:58:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:58:47]Read from MH i2c: E2 [18:58:47]MH_I2C_Read... [18:58:47]Read from MH i2c: E2 0B 00 [18:58:47]MH_I2C_Read... [18:58:47]Read from MH i2c: E2 0B 00 24 04 00 0E D2 A8 B6 6C 1A 3A 56 90 00 F8 [18:58:47]RAPDU: 0E D2 A8 B6 6C 1A 3A 56 90 00 [18:58:47]wFMCommunicate OK [18:58:47]SAM_PROTO_SignData done [18:58:47]FM_MakeSignedData done [18:58:47]CreateOFDProtocolMessage [18:58:47]wFMCommunicate request_size=4 [18:58:47]MH_SAM_APDU [18:58:47]CAPDU: 80 11 00 00 [18:58:47]Write to MH i2c: E2 08 00 25 04 80 11 00 00 00 00 00 00 A3 [18:58:47]Write i2c OK [18:58:47]MH_I2C_Read... [18:58:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:58:47]Read from MH i2c: E2 [18:58:47]MH_I2C_Read... [18:58:47]Read from MH i2c: E2 17 00 [18:58:47]MH_I2C_Read... [18:58:47]Read from MH i2c: E2 17 00 25 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 FA [18:58:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:58:47]wFMCommunicate OK [18:58:47]CreateOFDProtocolMessage done [18:58:47]OFDSenderStorePacket 68238 [18:58:47]StoreOFDPacket docnum=68238 [18:58:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 A5 01 00 00 72 0D 9D 01 A0 83 5A 03 01 00 03 00 91 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 0B 00 00 00 00 07 04 06 00 14 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8F 00 00 00 F4 03 04 00 E6 DE 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8E 0A 01 00 35 04 06 00 0F 8F A5 A7 F7 07 0E D2 A8 B6 6C 1A 3A 56 [18:58:47]CheckFolder [18:58:47]dirname=/storage/ofd_packets [18:58:47]CheckFolder done [18:58:47]ProducePacketName [18:58:47]name=ofd_packets/00068238 [18:58:47]NVStorageSaveData ofd_packets/00068238 [18:58:47]File name is /storage/ofd_packets/00068238 [18:58:47]Write 451 bytes [18:58:47]NVStorageSaveData done [18:58:47]OFDSenderStorePacket done [18:58:47]KKMCreateOFDPacket done [18:58:47]NVStorageSaveData kkm_last_timestamp [18:58:47]File name is /storage/kkm_last_timestamp [18:58:47]Write 4 bytes [18:58:47]NVStorageSaveData done [18:58:47]ExternCall_PrintAddStr [18:58:47]wPrintStart [18:58:47]Write to MH i2c: 01 00 00 26 04 2A [18:58:47]Write i2c OK [18:58:47]MH_I2C_Read... [18:58:47]Read from MH i2c: 01 [18:58:47]MH_I2C_Read... [18:58:47]Read from MH i2c: 01 07 00 [18:58:47]MH_I2C_Read... [18:58:47]Read from MH i2c: 01 07 00 26 04 00 00 00 00 00 FF 0F 3F [18:58:47]RasterBufferAndPrint [18:58:47]line Счет N : (3)17191 [18:58:47]line ИНН: 02508201610067 [18:58:47]line Контрольно-Кассовый Чек [18:58:47]line ПРОДАЖА [18:58:47]line Товар: 48743570 [18:58:47]line Сигареты Winston XStyle Blue [18:58:47]line 1.000 * 144.00 [18:58:47]line = 144.00 [18:58:47]line НДС 12% НСП 1% [18:58:47]line > о реализуемом товаре [18:58:47]line Товар: 4870202522701 [18:58:47]line Напиток Maxi Чай черный Малина 1,2 [18:58:47]line 1.000 * 125.00 [18:58:47]line = 125.00 [18:58:47]line НДС 12% НСП 1% [18:58:47]line > о реализуемом товаре [18:58:47]line ИТОГО: 269.00 [18:58:47]line НСП 1% : 2.38 [18:58:47]line НДС 12% : 28.56 [18:58:47]line Наличными: 269.00 [18:58:47]line Безнал.: 0.00 [18:58:47]line Место: АЗС № 160 "Партнер Нефть" [18:58:47]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [18:58:47]line СНО: Общий режим [18:58:47]line Чек 143 28.10.2024 18:58 [18:58:47]line Смена: 547 ФФД: 1.0 [18:58:47]line ЗНМ: 0300000093 [18:58:47]line РНМ: 0000000000091759 [18:58:47]line Версия ККМ: 001 [18:58:47]line ФМ: 0000000000871758 [18:58:47]line ФД: 68238 [18:58:47]line ФПД: 17109633988359 [18:58:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T185846&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68238&fm=17109633988359&tin=02508201610067®Number=0000000000091759&sum=26900 [18:58:47]OFD Sender: Processing packet 68238 [packets to send 27, broken 26] [18:58:47]ProducePacketName [18:58:47]name=ofd_packets/00068238 [18:58:47]OFD Sender: To server: pG, [18:58:47]CommunicateWithHost lk.salyk.kg:30040 [18:58:47]ConnectInit lk.salyk.kg [18:58:47]line 0 [18:58:47]written 0, free lines is 4095 [18:58:47]Connected sock=10 [18:58:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 A5 01 00 00 72 0D 9D 01 A0 83 5A 03 01 00 03 00 91 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 0B 00 00 00 00 07 04 06 00 14 69 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 8F 00 00 00 F4 03 04 00 E6 DE 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8E 0A 01 00 35 04 06 00 0F 8F A5 A7 F7 07 0E D2 A8 B6 6C 1A 3A 56 [18:58:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 AD DE 47 00 74 1E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8E 0A 01 00 F4 03 04 00 C6 8A 1F 67 B6 04 01 00 00 3B 8A CA FC 87 D0 0E 37 [18:58:48]CommunicateWithHost err = 0 [18:58:48]CheckOFDResponse [18:58:48]1017 (14) - 77093643461234 [18:58:48]1041 (16) - 0000000000871758 [18:58:48]1040 (4) - 68238 [18:58:48]1012 (4) - 28.10.2024 12:59 [18:58:48]1206 (1) - 0 [18:58:48]OFD Sender: Remove packet 68238 [18:58:48]ProducePacketName [18:58:48]name=ofd_packets/00068238 [18:58:48]NVStorageDeleteData [18:58:48]Write to MH i2c: 01 00 00 54 04 58 [18:58:48]Write i2c OK [18:58:48]MH_I2C_Read... [18:58:48]Read from MH i2c: 01 [18:58:48]MH_I2C_Read... [18:58:48]Read from MH i2c: 01 07 00 [18:58:48]MH_I2C_Read... [18:58:48]Read from MH i2c: 01 07 00 54 04 00 00 00 00 00 6F 0C DA [18:58:48]RasterBufferAndPrint [18:58:48]line [18:58:48]line [18:58:48]line [18:58:48]line [18:58:48]line [18:58:48]written 0, free lines is 3190 [18:58:48]MH_Cut [18:58:48]Write to MH i2c: D1 01 00 5B 04 01 31 [18:58:48]Write i2c OK [18:58:48]MH_I2C_Read... [18:58:48]Read from MH i2c: D1 [18:58:48]MH_I2C_Read... [18:58:48]Read from MH i2c: D1 01 00 [18:58:48]MH_I2C_Read... [18:58:48]Read from MH i2c: D1 01 00 5B 04 00 30 [18:58:48]Write to MH i2c: 01 00 00 5C 04 60 [18:58:48]Write i2c OK [18:58:48]MH_I2C_Read... [18:58:48]OFD Sender: No OFD packet to send [18:58:49]*** Cut start [18:58:49]*** Partial cut [18:58:49]*** CUTSNS_PIN = 1 [18:58:49]*** CUTSNS_PIN = 0 [18:58:49]*** Brake cut motor [18:58:49]Read from MH i2c: 01 [18:58:49]MH_I2C_Read... [18:58:49]*** Stop cut motor [18:58:49]*** Cut end [18:58:49]Read from MH i2c: 01 07 00 [18:58:49]MH_I2C_Read... [18:58:49]Read from MH i2c: 01 07 00 5C 04 00 00 00 00 00 FF 0F 75 [18:58:49]process_action close_receipt done [18:58:49]requested_data is exist [18:58:49]produce_requested_data [18:58:49]requested_item fm.sn is exist - process it [18:58:49]wFMCommunicate request_size=4 [18:58:49]MH_SAM_APDU [18:58:49]CAPDU: 80 11 00 00 [18:58:49]Write to MH i2c: E2 08 00 5D 04 80 11 00 00 00 00 00 00 DB [18:58:49]Write i2c OK [18:58:49]MH_I2C_Read... [18:58:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:58:49]Read from MH i2c: E2 [18:58:49]MH_I2C_Read... [18:58:49]Read from MH i2c: E2 17 00 [18:58:49]MH_I2C_Read... [18:58:49]Read from MH i2c: E2 17 00 5D 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 32 [18:58:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [18:58:49]wFMCommunicate OK [18:58:49]requested_item fd.num is exist - process it [18:58:49]SAM_PROTO_GetFieldsCounters [18:58:49]wFMCommunicate request_size=4 [18:58:49]MH_SAM_APDU [18:58:49]CAPDU: 80 13 00 00 [18:58:49]Write to MH i2c: E2 08 00 5E 04 80 13 00 00 00 00 00 00 DE [18:58:49]Write i2c OK [18:58:49]MH_I2C_Read... [18:58:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:58:49]Read from MH i2c: E2 [18:58:49]MH_I2C_Read... [18:58:49]Read from MH i2c: E2 62 00 [18:58:49]MH_I2C_Read... [18:58:49]Read from MH i2c: E2 62 00 5E 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 8E 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 8F 00 00 00 5E 04 04 00 8F 00 00 00 57 04 04 00 90 00 00 00 19 04 04 00 00 00 00 00 90 00 74 [18:58:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 8E 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 8F 00 00 00 5E 04 04 00 8F 00 00 00 57 04 04 00 90 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:58:49]wFMCommunicate OK [18:58:49]SAM_PROTO_GetFieldsCounters done [18:58:49]requested_item shift.num is exist - process it [18:58:49]requested_item shift.opened is exist - process it [18:58:49]req_shift_opened [18:58:49]FM_GetShiftState [18:58:49]SAM_PROTO_GetShiftState [18:58:49]wFMCommunicate request_size=4 [18:58:49]MH_SAM_APDU [18:58:49]CAPDU: 80 13 01 00 [18:58:49]Write to MH i2c: E2 08 00 5F 04 80 13 01 00 00 00 00 00 E0 [18:58:49]Write i2c OK [18:58:49]MH_I2C_Read... [18:58:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:58:49]Read from MH i2c: E2 [18:58:49]MH_I2C_Read... [18:58:49]Read from MH i2c: E2 0E 00 [18:58:49]MH_I2C_Read... [18:58:49]Read from MH i2c: E2 0E 00 5F 04 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 DB [18:58:49]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [18:58:49]wFMCommunicate OK [18:58:49]SAM_PROTO_GetShiftState done [18:58:49]FM_GetShiftState done [18:58:49]req_shift_opened done [18:58:49]requested_item shift.open_date is exist - process it [18:58:49]req_shift_open_date [18:58:49]req_shift_open_date done [18:58:49]produce_requested_data done [18:58:49]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68238,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [18:58:49]process_action_free close_receipt [18:58:49]json_value_free [18:58:49]json_value_free done [18:58:49]process_json_proto returns [18:58:49]Send response to host [18:58:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68238,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [18:58:49]free response buf [18:58:49]execute_script done [18:58:49]execute_script returns [18:58:49]free content buf [18:58:49]Sock 7.Close socket [18:58:49]Sock 7.Thread stoped [18:58:53]OFD Sender: No OFD packet to send [18:58:58]OFD Sender: No OFD packet to send [18:59:03]OFD Sender: No OFD packet to send [18:59:08]OFD Sender: No OFD packet to send [18:59:13]OFD Sender: No OFD packet to send [18:59:18]OFD Sender: No OFD packet to send [18:59:23]OFD Sender: No OFD packet to send [18:59:28]OFD Sender: No OFD packet to send [18:59:33]OFD Sender: No OFD packet to send [18:59:38]OFD Sender: No OFD packet to send [18:59:43]OFD Sender: No OFD packet to send [18:59:48]OFD Sender: No OFD packet to send [18:59:53]OFD Sender: No OFD packet to send [18:59:58]OFD Sender: No OFD packet to send [19:00:03]OFD Sender: No OFD packet to send [19:00:08]OFD Sender: No OFD packet to send [19:00:13]OFD Sender: No OFD packet to send [19:00:18]OFD Sender: No OFD packet to send [19:00:23]OFD Sender: No OFD packet to send [19:00:28]OFD Sender: No OFD packet to send [19:00:33]OFD Sender: No OFD packet to send [19:00:38]OFD Sender: No OFD packet to send [19:00:43]OFD Sender: No OFD packet to send [19:00:48]OFD Sender: No OFD packet to send [19:00:53]OFD Sender: No OFD packet to send [19:00:58]OFD Sender: No OFD packet to send [19:01:03]OFD Sender: No OFD packet to send [19:01:08]OFD Sender: No OFD packet to send [19:01:13]OFD Sender: No OFD packet to send [19:01:18]OFD Sender: No OFD packet to send [19:01:23]OFD Sender: No OFD packet to send [19:01:28]OFD Sender: No OFD packet to send [19:01:33]OFD Sender: No OFD packet to send [19:01:38]OFD Sender: No OFD packet to send [19:01:43]OFD Sender: No OFD packet to send [19:01:48]OFD Sender: No OFD packet to send [19:01:53]OFD Sender: No OFD packet to send [19:01:58]OFD Sender: No OFD packet to send [19:02:03]OFD Sender: No OFD packet to send [19:02:08]OFD Sender: No OFD packet to send [19:02:13]OFD Sender: No OFD packet to send [19:02:18]OFD Sender: No OFD packet to send [19:02:23]OFD Sender: No OFD packet to send [19:02:28]OFD Sender: No OFD packet to send [19:02:33]OFD Sender: No OFD packet to send [19:02:38]OFD Sender: No OFD packet to send [19:02:43]OFD Sender: No OFD packet to send [19:02:48]OFD Sender: No OFD packet to send [19:02:53]OFD Sender: No OFD packet to send [19:02:58]OFD Sender: No OFD packet to send [19:03:03]OFD Sender: No OFD packet to send [19:03:08]OFD Sender: No OFD packet to send [19:03:13]OFD Sender: No OFD packet to send [19:03:18]OFD Sender: No OFD packet to send [19:03:23]OFD Sender: No OFD packet to send [19:03:28]OFD Sender: No OFD packet to send [19:03:33]OFD Sender: No OFD packet to send [19:03:38]OFD Sender: No OFD packet to send [19:03:43]OFD Sender: No OFD packet to send [19:03:48]OFD Sender: No OFD packet to send [19:03:53]OFD Sender: No OFD packet to send [19:03:58]OFD Sender: No OFD packet to send [19:04:03]OFD Sender: No OFD packet to send [19:04:08]OFD Sender: No OFD packet to send [19:04:13]OFD Sender: No OFD packet to send [19:04:18]OFD Sender: No OFD packet to send [19:04:23]OFD Sender: No OFD packet to send [19:04:28]OFD Sender: No OFD packet to send [19:04:33]OFD Sender: No OFD packet to send [19:04:38]OFD Sender: No OFD packet to send [19:04:43]OFD Sender: No OFD packet to send [19:04:48]OFD Sender: No OFD packet to send [19:04:53]OFD Sender: No OFD packet to send [19:04:58]OFD Sender: No OFD packet to send [19:05:03]OFD Sender: No OFD packet to send [19:05:04]accept exits with 9 [19:05:04]New connection [19:05:04]New thread 3067354468 created [19:05:04]Thread 3067497828 joined [19:05:04]Waiting for new connection... [19:05:04] Sock 9.Parse request [19:05:04]Sock 9.Check first char [19:05:04]Sock 9.First char is OK [19:05:04]request: POST /json_proto HTTP/1.0 [19:05:04]Method: POST [19:05:04]URL: /json_proto [19:05:04]Method is POST - this is cgi request [19:05:04]url: /json_proto [19:05:04]query_string will be loaded in cgi processing [19:05:04]execute_cgi json_proto POST (null) [19:05:04]execute_cgi path=json_proto method=POST [19:05:04]POST find Content-Length [19:05:04]Host: 172.17.42.3:8080 [19:05:04]Content-Length: 644 [19:05:04]Content-Type: application/json [19:05:04] [19:05:04]POST finish read [19:05:04]Found Content-Length = 644 [19:05:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17192", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 79.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:05:04]execute_script... [19:05: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)17192", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 79.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:05:04]POST & json_proto [19:05:04]process_json_proto [19:05:04]json parsed OK: [19:05:04]protocol is kg_v1.0 [19:05:04]action value=close_receipt [19:05:04]process_action close_receipt [19:05:04]cmd_close_receipt [19:05:04]MH_GetDate [19:05:04]Write to MH i2c: F0 00 00 60 04 53 [19:05:04]Write i2c OK [19:05:04]MH_I2C_Read... [19:05:04]Read from MH i2c: F0 [19:05:04]MH_I2C_Read... [19:05:04]Read from MH i2c: F0 09 00 [19:05:04]MH_I2C_Read... [19:05:04]Read from MH i2c: F0 09 00 60 04 00 60 E0 1F 67 0E CB 1F 67 81 [19:05:04]GetLastDocTimeStamp 1730141926 [19:05:04]current date 1730142304 [19:05:04]FM_GetShiftState [19:05:04]SAM_PROTO_GetShiftState [19:05:04]wFMCommunicate request_size=4 [19:05:04]MH_SAM_APDU [19:05:04]CAPDU: 80 13 01 00 [19:05:04]Write to MH i2c: E2 08 00 61 04 80 13 01 00 00 00 00 00 E2 [19:05:04]Write i2c OK [19:05:04]MH_I2C_Read... [19:05:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:05:04]Read from MH i2c: E2 [19:05:04]MH_I2C_Read... [19:05:04]Read from MH i2c: E2 0E 00 [19:05:04]MH_I2C_Read... [19:05:04]Read from MH i2c: E2 0E 00 61 04 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 DD [19:05:04]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:05:04]wFMCommunicate OK [19:05:04]SAM_PROTO_GetShiftState done [19:05:04]FM_GetShiftState done [19:05:04]opened in 1730074770 [19:05:04]opened+sec_in_day 1730161170 [19:05:04]quantity*price = 7900 [19:05:04]sum+1 = 7901 [19:05:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 79.00 НСП 1% : 0.70 НДС 12% : 8.39 Наличными: 79.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 144 28.10.2024 19:05 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68239 ФПД: 228560390778063 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T190504&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68239&fm=228560390778063&tin=02508201610067®Number=0000000000091759&sum=7900 0 [19:05:05]StoreToDocumentArchive [19:05:05]shift 547 fd 68239 [19:05:05]save to /storage/0547/doc_00068239 [19:05:05]save last doc name /storage/0547/doc_00068239 to /storage/kkm_last_doc_name [19:05:05]save OK [19:05:05]Clear old archive folders... [19:05:05]ProcessDocumentItem done err = 0, tmpTLVsize=276 [19:05:05]tlvbuf is 005E9E30 [19:05:05]SAM_PROTO_ClearQueue [19:05:05]wFMCommunicate request_size=4 [19:05:05]MH_SAM_APDU [19:05:05]CAPDU: 80 09 00 00 [19:05:05]Write to MH i2c: E2 08 00 6E 04 80 09 00 00 00 00 00 00 E4 [19:05:05]Write i2c OK [19:05:05]MH_I2C_Read... [19:05:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:05:05]Read from MH i2c: E2 [19:05:05]MH_I2C_Read... [19:05:05]Read from MH i2c: E2 03 00 [19:05:05]MH_I2C_Read... [19:05:05]Read from MH i2c: E2 03 00 6E 04 00 90 00 E6 [19:05:05]RAPDU: 90 00 [19:05:05]wFMCommunicate OK [19:05:05]SAM_PROTO_ClearQueue done [19:05:05]KKMCreateOFDPacket [19:05:05]OFDProtocolAddRootSTLVToBuf [19:05:05]FM_MakeSignedData [19:05:05]FM_MakeSignedData [19:05:05]SAM_PROTO_SignData [19:05:05]wFMCommunicate request_size=4 [19:05:05]MH_SAM_APDU [19:05:05]CAPDU: 80 0D 01 02 [19:05:05]Write to MH i2c: E2 08 00 6F 04 80 0D 01 02 00 00 00 00 EC [19:05:05]Write i2c OK [19:05:05]MH_I2C_Read... [19:05:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:05:05]Read from MH i2c: E2 [19:05:05]MH_I2C_Read... [19:05:05]Read from MH i2c: E2 03 00 [19:05:05]MH_I2C_Read... [19:05:05]Read from MH i2c: E2 03 00 6F 04 00 90 00 E7 [19:05:05]RAPDU: 90 00 [19:05:05]wFMCommunicate OK [19:05:05]wFMCommunicate request_size=255 [19:05:05]MH_SAM_APDU [19:05:05]CAPDU: 80 0D 02 02 FA 03 00 14 01 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 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 DC 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 90 00 00 00 F4 03 04 00 60 E0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 [19:05:05]Write to MH i2c: E2 02 01 70 04 80 0D 02 02 FA 00 03 00 14 01 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 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 DC 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 90 00 00 00 F4 03 04 00 60 E0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 00 00 50 [19:05:05]Write i2c OK [19:05:05]MH_I2C_Read... [19:05:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:05:05]Read from MH i2c: E2 [19:05:05]MH_I2C_Read... [19:05:05]Read from MH i2c: E2 03 00 [19:05:05]MH_I2C_Read... [19:05:05]Read from MH i2c: E2 03 00 70 04 00 90 00 E8 [19:05:05]RAPDU: 90 00 [19:05:05]wFMCommunicate OK [19:05:05]wFMCommunicate request_size=35 [19:05:05]MH_SAM_APDU [19:05:05]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8F 0A 01 00 35 04 06 00 CF DF DC E6 EC CF [19:05:05]Write to MH i2c: E2 26 00 71 04 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8F 0A 01 00 35 04 06 00 CF DF DC E6 EC CF 00 00 AB [19:05:05]Write i2c OK [19:05:05]MH_I2C_Read... [19:05:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:05:06]Read from MH i2c: E2 [19:05:06]MH_I2C_Read... [19:05:06]Read from MH i2c: E2 03 00 [19:05:06]MH_I2C_Read... [19:05:06]Read from MH i2c: E2 03 00 71 04 00 90 00 E9 [19:05:06]RAPDU: 90 00 [19:05:06]wFMCommunicate OK [19:05:06]wFMCommunicate request_size=4 [19:05:06]MH_SAM_APDU [19:05:06]CAPDU: 80 0D 03 02 [19:05:06]Write to MH i2c: E2 08 00 72 04 80 0D 03 02 00 00 00 00 F1 [19:05:06]Write i2c OK [19:05:06]MH_I2C_Read... [19:05:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:05:06]Read from MH i2c: E2 [19:05:06]MH_I2C_Read... [19:05:06]Read from MH i2c: E2 0B 00 [19:05:06]MH_I2C_Read... [19:05:06]Read from MH i2c: E2 0B 00 72 04 00 91 CB 9D DD AA 81 D7 08 90 00 D2 [19:05:06]RAPDU: 91 CB 9D DD AA 81 D7 08 90 00 [19:05:06]wFMCommunicate OK [19:05:06]SAM_PROTO_SignData done [19:05:06]FM_MakeSignedData done [19:05:06]CreateOFDProtocolMessage [19:05:06]wFMCommunicate request_size=4 [19:05:06]MH_SAM_APDU [19:05:06]CAPDU: 80 11 00 00 [19:05:06]Write to MH i2c: E2 08 00 73 04 80 11 00 00 00 00 00 00 F1 [19:05:06]Write i2c OK [19:05:06]MH_I2C_Read... [19:05:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:05:06]Read from MH i2c: E2 [19:05:06]MH_I2C_Read... [19:05:06]Read from MH i2c: E2 17 00 [19:05:06]MH_I2C_Read... [19:05:06]Read from MH i2c: E2 17 00 73 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 48 [19:05:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:05:06]wFMCommunicate OK [19:05:06]CreateOFDProtocolMessage done [19:05:06]OFDSenderStorePacket 68239 [19:05:06]StoreOFDPacket docnum=68239 [19:05:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 28 01 00 00 75 ED 20 01 85 DA 5A 03 01 00 03 00 14 01 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 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 DC 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 90 00 00 00 F4 03 04 00 60 E0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8F 0A 01 00 35 04 06 00 CF DF DC E6 EC CF 91 CB 9D DD AA 81 D7 08 [19:05:06]CheckFolder [19:05:06]dirname=/storage/ofd_packets [19:05:06]CheckFolder done [19:05:06]ProducePacketName [19:05:06]name=ofd_packets/00068239 [19:05:06]NVStorageSaveData ofd_packets/00068239 [19:05:06]File name is /storage/ofd_packets/00068239 [19:05:06]Write 326 bytes [19:05:06]NVStorageSaveData done [19:05:06]OFDSenderStorePacket done [19:05:06]KKMCreateOFDPacket done [19:05:06]NVStorageSaveData kkm_last_timestamp [19:05:06]File name is /storage/kkm_last_timestamp [19:05:06]Write 4 bytes [19:05:06]NVStorageSaveData done [19:05:06]OFD Sender: Processing packet 68239 [packets to send 27, broken 26] [19:05:06]ProducePacketName [19:05:06]name=ofd_packets/00068239 [19:05:06]OFD Sender: To server: pG, [19:05:06]CommunicateWithHost lk.salyk.kg:30040 [19:05:06]ConnectInit lk.salyk.kg [19:05:06]ExternCall_PrintAddStr [19:05:06]wPrintStart [19:05:06]Write to MH i2c: 01 00 00 74 04 78 [19:05:06]Write i2c OK [19:05:06]MH_I2C_Read... [19:05:06]Read from MH i2c: 01 [19:05:06]MH_I2C_Read... [19:05:06]Read from MH i2c: 01 07 00 [19:05:06]MH_I2C_Read... [19:05:06]Read from MH i2c: 01 07 00 74 04 00 00 00 00 00 FF 0F 8D [19:05:06]RasterBufferAndPrint [19:05:06]line Счет N : (3)17192 [19:05:06]line ИНН: 02508201610067 [19:05:06]line Контрольно-Кассовый Чек [19:05:06]line ПРОДАЖА [19:05:06]line Товар: 4700000310043 [19:05:06]line Вода Жалалабат 27 1л [19:05:06]line 1.000 * 79.00 [19:05:06]line = 79.00 [19:05:06]line НДС 12% НСП 1% [19:05:06]line > о реализуемом товаре [19:05:06]line ИТОГО: 79.00 [19:05:06]line НСП 1% : 0.70 [19:05:06]line НДС 12% : 8.39 [19:05:06]line Наличными: 79.00 [19:05:06]line Безнал.: 0.00 [19:05:06]line Место: АЗС № 160 "Партнер Нефть" [19:05:06]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:05:06]line СНО: Общий режим [19:05:06]line Чек 144 28.10.2024 19:05 [19:05:06]line Смена: 547 ФФД: 1.0 [19:05:06]line ЗНМ: 0300000093 [19:05:06]line РНМ: 0000000000091759 [19:05:06]line Версия ККМ: 001 [19:05:06]line ФМ: 0000000000871758 [19:05:06]line ФД: 68239 [19:05:06]line ФПД: 228560390778063 [19:05:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T190504&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68239&fm=228560390778063&tin=02508201610067®Number=0000000000091759&sum=7900 [19:05:06]line 0 [19:05:06]Connected sock=11 [19:05:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 28 01 00 00 75 ED 20 01 85 DA 5A 03 01 00 03 00 14 01 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 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 DC 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 90 00 00 00 F4 03 04 00 60 E0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8F 0A 01 00 35 04 06 00 CF DF DC E6 EC CF 91 CB 9D DD AA 81 D7 08 [19:05:06]written 0, free lines is 4095 [19:05:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 45 B7 47 00 67 D4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 8F 0A 01 00 F4 03 04 00 40 8C 1F 67 B6 04 01 00 00 C3 6A 82 A9 F3 22 63 4B [19:05:06]CommunicateWithHost err = 0 [19:05:06]CheckOFDResponse [19:05:06]1017 (14) - 77093643461234 [19:05:06]1041 (16) - 0000000000871758 [19:05:06]1040 (4) - 68239 [19:05:06]1012 (4) - 28.10.2024 13:06 [19:05:06]1206 (1) - 0 [19:05:06]OFD Sender: Remove packet 68239 [19:05:06]ProducePacketName [19:05:06]name=ofd_packets/00068239 [19:05:06]NVStorageDeleteData [19:05:06]Write to MH i2c: 01 00 00 9B 04 9F [19:05:06]Write i2c OK [19:05:06]MH_I2C_Read... [19:05:06]Read from MH i2c: 01 [19:05:06]MH_I2C_Read... [19:05:06]Read from MH i2c: 01 07 00 [19:05:06]MH_I2C_Read... [19:05:06]Read from MH i2c: 01 07 00 9B 04 00 00 00 00 00 EF 0C A1 [19:05:06]RasterBufferAndPrint [19:05:06]line [19:05:06]line [19:05:06]line [19:05:06]line [19:05:06]line [19:05:06]written 0, free lines is 3318 [19:05:06]MH_Cut [19:05:06]Write to MH i2c: D1 01 00 A2 04 01 78 [19:05:06]Write i2c OK [19:05:06]MH_I2C_Read... [19:05:06]Read from MH i2c: D1 [19:05:06]MH_I2C_Read... [19:05:06]Read from MH i2c: D1 01 00 [19:05:06]MH_I2C_Read... [19:05:06]Read from MH i2c: D1 01 00 A2 04 00 77 [19:05:06]Write to MH i2c: 01 00 00 A3 04 A7 [19:05:06]Write i2c OK [19:05:06]MH_I2C_Read... [19:05:07]OFD Sender: No OFD packet to send [19:05:07]*** Cut start [19:05:07]*** Partial cut [19:05:07]*** CUTSNS_PIN = 1 [19:05:07]*** CUTSNS_PIN = 0 [19:05:07]*** Brake cut motor [19:05:08]Read from MH i2c: 01 [19:05:08]MH_I2C_Read... [19:05:08]*** Stop cut motor [19:05:08]*** Cut end [19:05:08]Read from MH i2c: 01 07 00 [19:05:08]MH_I2C_Read... [19:05:08]Read from MH i2c: 01 07 00 A3 04 00 00 00 00 00 FF 0F BC [19:05:08]process_action close_receipt done [19:05:08]requested_data is exist [19:05:08]produce_requested_data [19:05:08]requested_item fm.sn is exist - process it [19:05:08]wFMCommunicate request_size=4 [19:05:08]MH_SAM_APDU [19:05:08]CAPDU: 80 11 00 00 [19:05:08]Write to MH i2c: E2 08 00 A4 04 80 11 00 00 00 00 00 00 22 [19:05:08]Write i2c OK [19:05:08]MH_I2C_Read... [19:05:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:05:08]Read from MH i2c: E2 [19:05:08]MH_I2C_Read... [19:05:08]Read from MH i2c: E2 17 00 [19:05:08]MH_I2C_Read... [19:05:08]Read from MH i2c: E2 17 00 A4 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 79 [19:05:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:05:08]wFMCommunicate OK [19:05:08]requested_item fd.num is exist - process it [19:05:08]SAM_PROTO_GetFieldsCounters [19:05:08]wFMCommunicate request_size=4 [19:05:08]MH_SAM_APDU [19:05:08]CAPDU: 80 13 00 00 [19:05:08]Write to MH i2c: E2 08 00 A5 04 80 13 00 00 00 00 00 00 25 [19:05:08]Write i2c OK [19:05:08]MH_I2C_Read... [19:05:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:05:08]Read from MH i2c: E2 [19:05:08]MH_I2C_Read... [19:05:08]Read from MH i2c: E2 62 00 [19:05:08]MH_I2C_Read... [19:05:08]Read from MH i2c: E2 62 00 A5 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 8F 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 90 00 00 00 5E 04 04 00 90 00 00 00 57 04 04 00 91 00 00 00 19 04 04 00 00 00 00 00 90 00 BF [19:05:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 8F 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 90 00 00 00 5E 04 04 00 90 00 00 00 57 04 04 00 91 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:05:08]wFMCommunicate OK [19:05:08]SAM_PROTO_GetFieldsCounters done [19:05:08]requested_item shift.num is exist - process it [19:05:08]requested_item shift.opened is exist - process it [19:05:08]req_shift_opened [19:05:08]FM_GetShiftState [19:05:08]SAM_PROTO_GetShiftState [19:05:08]wFMCommunicate request_size=4 [19:05:08]MH_SAM_APDU [19:05:08]CAPDU: 80 13 01 00 [19:05:08]Write to MH i2c: E2 08 00 A6 04 80 13 01 00 00 00 00 00 27 [19:05:08]Write i2c OK [19:05:08]MH_I2C_Read... [19:05:08]Read from MH i2c: E2 [19:05:08]MH_I2C_Read... [19:05:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:05:08]Read from MH i2c: E2 0E 00 [19:05:08]MH_I2C_Read... [19:05:08]Read from MH i2c: E2 0E 00 A6 04 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 22 [19:05:08]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:05:08]wFMCommunicate OK [19:05:08]SAM_PROTO_GetShiftState done [19:05:08]FM_GetShiftState done [19:05:08]req_shift_opened done [19:05:08]requested_item shift.open_date is exist - process it [19:05:08]req_shift_open_date [19:05:08]req_shift_open_date done [19:05:08]produce_requested_data done [19:05:08]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68239,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [19:05:08]process_action_free close_receipt [19:05:08]json_value_free [19:05:08]json_value_free done [19:05:08]process_json_proto returns [19:05:08]Send response to host [19:05:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68239,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [19:05:08]free response buf [19:05:08]execute_script done [19:05:08]execute_script returns [19:05:08]free content buf [19:05:08]Sock 9.Close socket [19:05:08]Sock 9.Thread stoped [19:05:12]OFD Sender: No OFD packet to send [19:05:17]OFD Sender: No OFD packet to send [19:05:18]accept exits with 7 [19:05:18]New connection [19:05:18]New thread 3067497828 created [19:05:18]Thread 3067354468 joined [19:05:18]Waiting for new connection... [19:05:18] Sock 7.Parse request [19:05:18]Sock 7.Check first char [19:05:18]Sock 7.First char is OK [19:05:18]request: POST /json_proto HTTP/1.0 [19:05:18]Method: POST [19:05:18]URL: /json_proto [19:05:18]Method is POST - this is cgi request [19:05:18]url: /json_proto [19:05:18]query_string will be loaded in cgi processing [19:05:18]execute_cgi json_proto POST (null) [19:05:18]execute_cgi path=json_proto method=POST [19:05:18]POST find Content-Length [19:05:18]Host: 172.17.42.3:8080 [19:05:18]Content-Length: 681 [19:05:18]Content-Type: application/json [19:05:18] [19:05:18]POST finish read [19:05:18]Found Content-Length = 681 [19:05:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46287", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:05:18]execute_script... [19:05: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 : (1)46287", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:05:18]POST & json_proto [19:05:18]process_json_proto [19:05:18]json parsed OK: [19:05:18]protocol is kg_v1.0 [19:05:18]action value=close_receipt [19:05:18]process_action close_receipt [19:05:18]cmd_close_receipt [19:05:18]MH_GetDate [19:05:18]Write to MH i2c: F0 00 00 A7 04 9A [19:05:18]Write i2c OK [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: F0 [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: F0 09 00 [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: F0 09 00 A7 04 00 6E E0 1F 67 0E CB 1F 67 D6 [19:05:18]GetLastDocTimeStamp 1730142304 [19:05:18]current date 1730142318 [19:05:18]FM_GetShiftState [19:05:18]SAM_PROTO_GetShiftState [19:05:18]wFMCommunicate request_size=4 [19:05:18]MH_SAM_APDU [19:05:18]CAPDU: 80 13 01 00 [19:05:18]Write to MH i2c: E2 08 00 A8 04 80 13 01 00 00 00 00 00 29 [19:05:18]Write i2c OK [19:05:18]MH_I2C_Read... [19:05:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:05:18]Read from MH i2c: E2 [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: E2 0E 00 [19:05:18]MH_I2C_Read... [19:05:18]Read from MH i2c: E2 0E 00 A8 04 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 24 [19:05:18]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:05:18]wFMCommunicate OK [19:05:18]SAM_PROTO_GetShiftState done [19:05:18]FM_GetShiftState done [19:05:18]opened in 1730074770 [19:05:18]opened+sec_in_day 1730161170 [19:05:18]quantity*price = 100015 [19:05:18]sum+1 = 100017 [19:05:18]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.16 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 145 28.10.2024 19:05 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68240 ФПД: 209063124399873 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T190518&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68240&fm=209063124399873&tin=02508201610067®Number=0000000000091759&sum=100000 [19:05:19]StoreToDocumentArchive [19:05:19]shift 547 fd 68240 [19:05:19]save to /storage/0547/doc_00068240 [19:05:19]save last doc name /storage/0547/doc_00068240 to /storage/kkm_last_doc_name [19:05:19]save OK [19:05:19]Clear old archive folders... [19:05:19]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:05:19]tlvbuf is 005E9950 [19:05:19]SAM_PROTO_ClearQueue [19:05:19]wFMCommunicate request_size=4 [19:05:19]MH_SAM_APDU [19:05:19]CAPDU: 80 09 00 00 [19:05:19]Write to MH i2c: E2 08 00 B5 04 80 09 00 00 00 00 00 00 2B [19:05:19]Write i2c OK [19:05:19]MH_I2C_Read... [19:05:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:05:19]Read from MH i2c: E2 [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: E2 03 00 [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: E2 03 00 B5 04 00 90 00 2D [19:05:19]RAPDU: 90 00 [19:05:19]wFMCommunicate OK [19:05:19]SAM_PROTO_ClearQueue done [19:05:19]KKMCreateOFDPacket [19:05:19]OFDProtocolAddRootSTLVToBuf [19:05:19]FM_MakeSignedData [19:05:19]FM_MakeSignedData [19:05:19]SAM_PROTO_SignData [19:05:19]wFMCommunicate request_size=4 [19:05:19]MH_SAM_APDU [19:05:19]CAPDU: 80 0D 01 02 [19:05:19]Write to MH i2c: E2 08 00 B6 04 80 0D 01 02 00 00 00 00 33 [19:05:19]Write i2c OK [19:05:19]MH_I2C_Read... [19:05:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:05:19]Read from MH i2c: E2 [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: E2 03 00 [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: E2 03 00 B6 04 00 90 00 2E [19:05:19]RAPDU: 90 00 [19:05:19]wFMCommunicate OK [19:05:19]wFMCommunicate request_size=255 [19:05:19]MH_SAM_APDU [19:05:19]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 91 00 00 00 F4 03 04 00 6E E0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 90 0A 01 00 35 04 06 00 BE [19:05:19]Write to MH i2c: E2 02 01 B7 04 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 91 00 00 00 F4 03 04 00 6E E0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 90 0A 01 00 35 04 06 00 BE 00 00 A9 [19:05:19]Write i2c OK [19:05:19]MH_I2C_Read... [19:05:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:05:19]Read from MH i2c: E2 [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: E2 03 00 [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: E2 03 00 B7 04 00 90 00 2F [19:05:19]RAPDU: 90 00 [19:05:19]wFMCommunicate OK [19:05:19]wFMCommunicate request_size=10 [19:05:19]MH_SAM_APDU [19:05:19]CAPDU: 80 0D 02 02 05 24 4D 43 F7 01 [19:05:19]Write to MH i2c: E2 0D 00 B8 04 80 0D 02 02 05 00 24 4D 43 F7 01 00 00 EC [19:05:19]Write i2c OK [19:05:19]MH_I2C_Read... [19:05:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:05:19]Read from MH i2c: E2 [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: E2 03 00 [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: E2 03 00 B8 04 00 90 00 30 [19:05:19]RAPDU: 90 00 [19:05:19]wFMCommunicate OK [19:05:19]wFMCommunicate request_size=4 [19:05:19]MH_SAM_APDU [19:05:19]CAPDU: 80 0D 03 02 [19:05:19]Write to MH i2c: E2 08 00 B9 04 80 0D 03 02 00 00 00 00 38 [19:05:19]Write i2c OK [19:05:19]MH_I2C_Read... [19:05:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:05:19]Read from MH i2c: E2 [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: E2 0B 00 [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: E2 0B 00 B9 04 00 3D 6C 1C 68 A9 FE FD 77 90 00 81 [19:05:19]RAPDU: 3D 6C 1C 68 A9 FE FD 77 90 00 [19:05:19]wFMCommunicate OK [19:05:19]SAM_PROTO_SignData done [19:05:19]FM_MakeSignedData done [19:05:19]CreateOFDProtocolMessage [19:05:19]wFMCommunicate request_size=4 [19:05:19]MH_SAM_APDU [19:05:19]CAPDU: 80 11 00 00 [19:05:19]Write to MH i2c: E2 08 00 BA 04 80 11 00 00 00 00 00 00 38 [19:05:19]Write i2c OK [19:05:19]MH_I2C_Read... [19:05:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:05:19]Read from MH i2c: E2 [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: E2 17 00 [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: E2 17 00 BA 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 8F [19:05:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:05:19]wFMCommunicate OK [19:05:19]CreateOFDProtocolMessage done [19:05:19]OFDSenderStorePacket 68240 [19:05:19]StoreOFDPacket docnum=68240 [19:05:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 8A B8 07 01 3D 1B 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 91 00 00 00 F4 03 04 00 6E E0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 90 0A 01 00 35 04 06 00 BE 24 4D 43 F7 01 3D 6C 1C 68 A9 FE FD 77 [19:05:19]CheckFolder [19:05:19]dirname=/storage/ofd_packets [19:05:19]CheckFolder done [19:05:19]ProducePacketName [19:05:19]name=ofd_packets/00068240 [19:05:19]NVStorageSaveData ofd_packets/00068240 [19:05:19]File name is /storage/ofd_packets/00068240 [19:05:19]Write 301 bytes [19:05:19]NVStorageSaveData done [19:05:19]OFDSenderStorePacket done [19:05:19]KKMCreateOFDPacket done [19:05:19]NVStorageSaveData kkm_last_timestamp [19:05:19]File name is /storage/kkm_last_timestamp [19:05:19]Write 4 bytes [19:05:19]NVStorageSaveData done [19:05:19]ExternCall_PrintAddStr [19:05:19]wPrintStart [19:05:19]Write to MH i2c: 01 00 00 BB 04 BF [19:05:19]Write i2c OK [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: 01 [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: 01 07 00 [19:05:19]MH_I2C_Read... [19:05:19]Read from MH i2c: 01 07 00 BB 04 00 00 00 00 00 FF 0F D4 [19:05:19]RasterBufferAndPrint [19:05:19]line Счет N : (1)46287 [19:05:19]line ИНН: 02508201610067 [19:05:19]line Контрольно-Кассовый Чек [19:05:19]line ПРОДАЖА [19:05:19]line ТРК (МРК, ГНК) : 33 [19:05:19]line Товар: 2710124130 [19:05:19]line Аи-92-К-5 [19:05:19]line 14.950 * 66.90 [19:05:19]line = 1000.16 [19:05:19]line НДС 12% НСП 1% [19:05:19]line > о реализуемом товаре [19:05:19]line ОКРУГЛЕНИЕ: -0.16 [19:05:19]line ИТОГО: 1000.00 [19:05:19]line Внесено: 1000.00 [19:05:19]line СДАЧА: 0.00 [19:05:19]line НСП 1% : 8.85 [19:05:19]line НДС 12% : 106.21 [19:05:19]line Наличными: 1000.00 [19:05:19]line Безнал.: 0.00 [19:05:19]line Место: АЗС № 160 "Партнер Нефть" [19:05:19]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:05:19]line СНО: Общий режим [19:05:19]line Чек 145 28.10.2024 19:05 [19:05:19]line Смена: 547 ФФД: 1.0 [19:05:19]line ЗНМ: 0300000093 [19:05:19]line РНМ: 0000000000091759 [19:05:19]line Версия ККМ: 001 [19:05:19]line ФМ: 0000000000871758 [19:05:19]line ФД: 68240 [19:05:19]line ФПД: 209063124399873 [19:05:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T190518&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68240&fm=209063124399873&tin=02508201610067®Number=0000000000091759&sum=100000 [19:05:19]written 0, free lines is 4095 [19:05:19]OFD Sender: Processing packet 68240 [packets to send 27, broken 26] [19:05:19]ProducePacketName [19:05:19]name=ofd_packets/00068240 [19:05:19]OFD Sender: To server: pG, [19:05:19]CommunicateWithHost lk.salyk.kg:30040 [19:05:19]ConnectInit lk.salyk.kg [19:05:19]Connected sock=10 [19:05:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 8A B8 07 01 3D 1B 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 91 00 00 00 F4 03 04 00 6E E0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 90 0A 01 00 35 04 06 00 BE 24 4D 43 F7 01 3D 6C 1C 68 A9 FE FD 77 [19:05:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 B3 42 47 00 AF 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 38 37 31 37 35 38 10 04 04 00 90 0A 01 00 F4 03 04 00 4E 8C 1F 67 B6 04 01 00 00 8F A0 D7 D6 22 74 6E 03 [19:05:20]CommunicateWithHost err = 0 [19:05:20]CheckOFDResponse [19:05:20]1017 (14) - 77093643461234 [19:05:20]1041 (16) - 0000000000871758 [19:05:20]1040 (4) - 68240 [19:05:20]1012 (4) - 28.10.2024 13:06 [19:05:20]1206 (1) - 0 [19:05:20]OFD Sender: Remove packet 68240 [19:05:20]ProducePacketName [19:05:20]name=ofd_packets/00068240 [19:05:20]NVStorageDeleteData [19:05:20]Write to MH i2c: 01 00 00 E5 04 E9 [19:05:20]Write i2c OK [19:05:20]MH_I2C_Read... [19:05:20]Read from MH i2c: 01 [19:05:20]MH_I2C_Read... [19:05:20]Read from MH i2c: 01 07 00 [19:05:20]MH_I2C_Read... [19:05:20]Read from MH i2c: 01 07 00 E5 04 00 00 00 00 00 D4 0C D0 [19:05:20]RasterBufferAndPrint [19:05:20]line [19:05:20]line [19:05:20]line [19:05:20]line [19:05:20]line [19:05:20]written 0, free lines is 3290 [19:05:20]MH_Cut [19:05:20]Write to MH i2c: D1 01 00 EC 04 01 C2 [19:05:20]Write i2c OK [19:05:20]MH_I2C_Read... [19:05:20]Read from MH i2c: D1 [19:05:20]MH_I2C_Read... [19:05:20]Read from MH i2c: D1 01 00 [19:05:20]MH_I2C_Read... [19:05:20]Read from MH i2c: D1 01 00 EC 04 00 C1 [19:05:20]Write to MH i2c: 01 00 00 ED 04 F1 [19:05:20]Write i2c OK [19:05:20]MH_I2C_Read... [19:05:20]OFD Sender: No OFD packet to send [19:05:21]*** Cut start [19:05:21]*** Partial cut [19:05:21]*** CUTSNS_PIN = 1 [19:05:21]*** CUTSNS_PIN = 0 [19:05:21]*** Brake cut motor [19:05:21]Read from MH i2c: 01 [19:05:21]MH_I2C_Read... [19:05:21]*** Stop cut motor [19:05:21]*** Cut end [19:05:21]Read from MH i2c: 01 07 00 [19:05:21]MH_I2C_Read... [19:05:21]Read from MH i2c: 01 07 00 ED 04 00 00 00 00 00 FF 0F 06 [19:05:21]process_action close_receipt done [19:05:21]requested_data is exist [19:05:21]produce_requested_data [19:05:21]requested_item fm.sn is exist - process it [19:05:21]wFMCommunicate request_size=4 [19:05:21]MH_SAM_APDU [19:05:21]CAPDU: 80 11 00 00 [19:05:21]Write to MH i2c: E2 08 00 EE 04 80 11 00 00 00 00 00 00 6C [19:05:21]Write i2c OK [19:05:21]MH_I2C_Read... [19:05:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:05:21]Read from MH i2c: E2 [19:05:21]MH_I2C_Read... [19:05:21]Read from MH i2c: E2 17 00 [19:05:21]MH_I2C_Read... [19:05:21]Read from MH i2c: E2 17 00 EE 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 C3 [19:05:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:05:21]wFMCommunicate OK [19:05:21]requested_item fd.num is exist - process it [19:05:21]SAM_PROTO_GetFieldsCounters [19:05:21]wFMCommunicate request_size=4 [19:05:21]MH_SAM_APDU [19:05:21]CAPDU: 80 13 00 00 [19:05:21]Write to MH i2c: E2 08 00 EF 04 80 13 00 00 00 00 00 00 6F [19:05:21]Write i2c OK [19:05:21]MH_I2C_Read... [19:05:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:05:21]Read from MH i2c: E2 [19:05:21]MH_I2C_Read... [19:05:21]Read from MH i2c: E2 62 00 [19:05:21]MH_I2C_Read... [19:05:21]Read from MH i2c: E2 62 00 EF 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 90 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 91 00 00 00 5E 04 04 00 91 00 00 00 57 04 04 00 92 00 00 00 19 04 04 00 00 00 00 00 90 00 0D [19:05:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 90 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 91 00 00 00 5E 04 04 00 91 00 00 00 57 04 04 00 92 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:05:21]wFMCommunicate OK [19:05:21]SAM_PROTO_GetFieldsCounters done [19:05:21]requested_item shift.num is exist - process it [19:05:21]requested_item shift.opened is exist - process it [19:05:21]req_shift_opened [19:05:21]FM_GetShiftState [19:05:21]SAM_PROTO_GetShiftState [19:05:21]wFMCommunicate request_size=4 [19:05:21]MH_SAM_APDU [19:05:21]CAPDU: 80 13 01 00 [19:05:21]Write to MH i2c: E2 08 00 F0 04 80 13 01 00 00 00 00 00 71 [19:05:21]Write i2c OK [19:05:21]MH_I2C_Read... [19:05:21]Read from MH i2c: E2 [19:05:21]MH_I2C_Read... [19:05:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:05:21]Read from MH i2c: E2 0E 00 [19:05:21]MH_I2C_Read... [19:05:21]Read from MH i2c: E2 0E 00 F0 04 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 6C [19:05:21]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:05:21]wFMCommunicate OK [19:05:21]SAM_PROTO_GetShiftState done [19:05:21]FM_GetShiftState done [19:05:21]req_shift_opened done [19:05:21]requested_item shift.open_date is exist - process it [19:05:21]req_shift_open_date [19:05:21]req_shift_open_date done [19:05:21]produce_requested_data done [19:05:21]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68240,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [19:05:21]process_action_free close_receipt [19:05:21]json_value_free [19:05:21]json_value_free done [19:05:21]process_json_proto returns [19:05:21]Send response to host [19:05:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68240,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [19:05:21]free response buf [19:05:21]execute_script done [19:05:21]execute_script returns [19:05:21]free content buf [19:05:21]Sock 7.Close socket [19:05:21]Sock 7.Thread stoped [19:05:22]accept exits with 9 [19:05:22]New connection [19:05:22]New thread 3067354468 created [19:05:22]Thread 3067497828 joined [19:05:22]Waiting for new connection... [19:05:22] Sock 9.Parse request [19:05:22]Sock 9.Check first char [19:05:22]Sock 9.First char is OK [19:05:22]request: POST /json_proto HTTP/1.0 [19:05:22]Method: POST [19:05:22]URL: /json_proto [19:05:22]Method is POST - this is cgi request [19:05:22]url: /json_proto [19:05:22]query_string will be loaded in cgi processing [19:05:22]execute_cgi json_proto POST (null) [19:05:22]execute_cgi path=json_proto method=POST [19:05:22]POST find Content-Length [19:05:22]Host: 172.17.42.3:8080 [19:05:22]Content-Length: 660 [19:05:22]Content-Type: application/json [19:05:22] [19:05:22]POST finish read [19:05:22]Found Content-Length = 660 [19:05:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17193", "tax_sys" : 0, "items" : [ { "code": "8710732236203", "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" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:05:22]execute_script... [19:05: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)17193", "tax_sys" : 0, "items" : [ { "code": "8710732236203", "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" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:05:22]POST & json_proto [19:05:22]process_json_proto [19:05:22]json parsed OK: [19:05:22]protocol is kg_v1.0 [19:05:22]action value=close_receipt [19:05:22]process_action close_receipt [19:05:22]cmd_close_receipt [19:05:22]MH_GetDate [19:05:22]Write to MH i2c: F0 00 00 F1 04 E4 [19:05:22]Write i2c OK [19:05:22]MH_I2C_Read... [19:05:22]Read from MH i2c: F0 [19:05:22]MH_I2C_Read... [19:05:22]Read from MH i2c: F0 09 00 [19:05:22]MH_I2C_Read... [19:05:22]Read from MH i2c: F0 09 00 F1 04 00 73 E0 1F 67 0E CB 1F 67 25 [19:05:22]GetLastDocTimeStamp 1730142318 [19:05:22]current date 1730142323 [19:05:22]FM_GetShiftState [19:05:22]SAM_PROTO_GetShiftState [19:05:22]wFMCommunicate request_size=4 [19:05:22]MH_SAM_APDU [19:05:22]CAPDU: 80 13 01 00 [19:05:22]Write to MH i2c: E2 08 00 F2 04 80 13 01 00 00 00 00 00 73 [19:05:22]Write i2c OK [19:05:22]MH_I2C_Read... [19:05:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:05:22]Read from MH i2c: E2 [19:05:22]MH_I2C_Read... [19:05:22]Read from MH i2c: E2 0E 00 [19:05:22]MH_I2C_Read... [19:05:22]Read from MH i2c: E2 0E 00 F2 04 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 6E [19:05:22]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:05:22]wFMCommunicate OK [19:05:22]SAM_PROTO_GetShiftState done [19:05:22]FM_GetShiftState done [19:05:22]opened in 1730074770 [19:05:22]opened+sec_in_day 1730161170 [19:05:22]quantity*price = 6700 [19:05:22]sum+1 = 6701 [19:05:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 67.00 НСП 1% : 0.59 НДС 12% : 7.11 Наличными: 67.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 146 28.10.2024 19:05 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68241 ФПД: 59769759919783 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T190523&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68241&fm=59769759919783&tin=02508201610067®Number=0000000000091759&sum=6700 0 [19:05:24]StoreToDocumentArchive [19:05:24]shift 547 fd 68241 [19:05:24]save to /storage/0547/doc_00068241 [19:05:24]save last doc name /storage/0547/doc_00068241 to /storage/kkm_last_doc_name [19:05:24]save OK [19:05:24]Clear old archive folders... [19:05:24]ProcessDocumentItem done err = 0, tmpTLVsize=284 [19:05:24]tlvbuf is 0060F660 [19:05:24]SAM_PROTO_ClearQueue [19:05:24]wFMCommunicate request_size=4 [19:05:24]MH_SAM_APDU [19:05:24]CAPDU: 80 09 00 00 [19:05:24]Write to MH i2c: E2 08 00 FF 04 80 09 00 00 00 00 00 00 75 [19:05:24]Write i2c OK [19:05:24]MH_I2C_Read... [19:05:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:05:24]Read from MH i2c: E2 [19:05:24]MH_I2C_Read... [19:05:24]Read from MH i2c: E2 03 00 [19:05:24]MH_I2C_Read... [19:05:24]Read from MH i2c: E2 03 00 FF 04 00 90 00 77 [19:05:24]RAPDU: 90 00 [19:05:24]wFMCommunicate OK [19:05:24]SAM_PROTO_ClearQueue done [19:05:24]KKMCreateOFDPacket [19:05:24]OFDProtocolAddRootSTLVToBuf [19:05:24]FM_MakeSignedData [19:05:24]FM_MakeSignedData [19:05:24]SAM_PROTO_SignData [19:05:24]wFMCommunicate request_size=4 [19:05:24]MH_SAM_APDU [19:05:24]CAPDU: 80 0D 01 02 [19:05:24]Write to MH i2c: E2 08 00 00 05 80 0D 01 02 00 00 00 00 7E [19:05:24]Write i2c OK [19:05:24]MH_I2C_Read... [19:05:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:05:24]Read from MH i2c: E2 [19:05:24]MH_I2C_Read... [19:05:24]Read from MH i2c: E2 03 00 [19:05:24]MH_I2C_Read... [19:05:24]Read from MH i2c: E2 03 00 00 05 00 90 00 79 [19:05:24]RAPDU: 90 00 [19:05:24]wFMCommunicate OK [19:05:24]wFMCommunicate request_size=255 [19:05:24]MH_SAM_APDU [19:05:24]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 33 36 32 30 33 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 92 00 00 00 F4 03 04 00 73 E0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 [19:05:24]Write to MH i2c: E2 02 01 01 05 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 33 36 32 30 33 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 92 00 00 00 F4 03 04 00 73 E0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 00 00 2F [19:05:24]Write i2c OK [19:05:24]MH_I2C_Read... [19:05:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:05:24]Read from MH i2c: E2 [19:05:24]MH_I2C_Read... [19:05:24]Read from MH i2c: E2 03 00 [19:05:24]MH_I2C_Read... [19:05:24]Read from MH i2c: E2 03 00 01 05 00 90 00 7A [19:05:24]RAPDU: 90 00 [19:05:24]wFMCommunicate OK [19:05:24]wFMCommunicate request_size=43 [19:05:24]MH_SAM_APDU [19:05:24]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 91 0A 01 00 35 04 06 00 36 5C 3B 4E EE A7 [19:05:24]Write to MH i2c: E2 2E 00 02 05 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 91 0A 01 00 35 04 06 00 36 5C 3B 4E EE A7 00 00 B9 [19:05:24]Write i2c OK [19:05:24]MH_I2C_Read... [19:05:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:05:24]Read from MH i2c: E2 [19:05:24]MH_I2C_Read... [19:05:24]Read from MH i2c: E2 03 00 [19:05:24]MH_I2C_Read... [19:05:24]Read from MH i2c: E2 03 00 02 05 00 90 00 7B [19:05:24]RAPDU: 90 00 [19:05:24]wFMCommunicate OK [19:05:24]wFMCommunicate request_size=4 [19:05:24]MH_SAM_APDU [19:05:24]CAPDU: 80 0D 03 02 [19:05:24]Write to MH i2c: E2 08 00 03 05 80 0D 03 02 00 00 00 00 83 [19:05:24]Write i2c OK [19:05:24]MH_I2C_Read... [19:05:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:05:24]Read from MH i2c: E2 [19:05:24]MH_I2C_Read... [19:05:24]Read from MH i2c: E2 0B 00 [19:05:24]MH_I2C_Read... [19:05:24]Read from MH i2c: E2 0B 00 03 05 00 0B 81 EF 42 6C 6C 30 30 90 00 79 [19:05:24]RAPDU: 0B 81 EF 42 6C 6C 30 30 90 00 [19:05:24]wFMCommunicate OK [19:05:24]SAM_PROTO_SignData done [19:05:24]FM_MakeSignedData done [19:05:24]CreateOFDProtocolMessage [19:05:24]wFMCommunicate request_size=4 [19:05:24]MH_SAM_APDU [19:05:24]CAPDU: 80 11 00 00 [19:05:24]Write to MH i2c: E2 08 00 04 05 80 11 00 00 00 00 00 00 83 [19:05:24]Write i2c OK [19:05:24]MH_I2C_Read... [19:05:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:05:24]Read from MH i2c: E2 [19:05:24]MH_I2C_Read... [19:05:24]Read from MH i2c: E2 17 00 [19:05:24]MH_I2C_Read... [19:05:24]Read from MH i2c: E2 17 00 04 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 DA [19:05:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:05:24]wFMCommunicate OK [19:05:24]CreateOFDProtocolMessage done [19:05:24]OFDSenderStorePacket 68241 [19:05:24]StoreOFDPacket docnum=68241 [19:05:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 30 01 00 00 08 55 28 01 2F 2E 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 33 36 32 30 33 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 92 00 00 00 F4 03 04 00 73 E0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 91 0A 01 00 35 04 06 00 36 5C 3B 4E EE A7 0B 81 EF 42 6C 6C 30 30 [19:05:24]CheckFolder [19:05:24]dirname=/storage/ofd_packets [19:05:24]CheckFolder done [19:05:24]ProducePacketName [19:05:24]name=ofd_packets/00068241 [19:05:24]NVStorageSaveData ofd_packets/00068241 [19:05:24]File name is /storage/ofd_packets/00068241 [19:05:24]Write 334 bytes [19:05:24]NVStorageSaveData done [19:05:24]OFDSenderStorePacket done [19:05:24]KKMCreateOFDPacket done [19:05:24]NVStorageSaveData kkm_last_timestamp [19:05:24]File name is /storage/kkm_last_timestamp [19:05:24]Write 4 bytes [19:05:24]NVStorageSaveData done [19:05:24]ExternCall_PrintAddStr [19:05:24]wPrintStart [19:05:24]Write to MH i2c: 01 00 00 05 05 0A [19:05:24]OFD Sender: Processing packet 68241 [packets to send 27, broken 26] [19:05:24]ProducePacketName [19:05:24]name=ofd_packets/00068241 [19:05:24]OFD Sender: To server: pG, [19:05:24]CommunicateWithHost lk.salyk.kg:30040 [19:05:24]ConnectInit lk.salyk.kg [19:05:24]Write i2c OK [19:05:24]MH_I2C_Read... [19:05:24]Read from MH i2c: 01 [19:05:24]MH_I2C_Read... [19:05:24]Read from MH i2c: 01 07 00 [19:05:24]MH_I2C_Read... [19:05:24]Read from MH i2c: 01 07 00 05 05 00 00 00 00 00 FF 0F 1F [19:05:24]RasterBufferAndPrint [19:05:24]line Счет N : (3)17193 [19:05:24]line ИНН: 02508201610067 [19:05:24]line Контрольно-Кассовый Чек [19:05:24]line ПРОДАЖА [19:05:24]line Товар: 8710732236203 [19:05:24]line Зажигалка Cricket ПН пьезо [19:05:24]line 1.000 * 67.00 [19:05:24]line = 67.00 [19:05:24]line НДС 12% НСП 1% [19:05:24]line > о реализуемом товаре [19:05:24]line ИТОГО: 67.00 [19:05:24]line НСП 1% : 0.59 [19:05:24]line НДС 12% : 7.11 [19:05:24]line Наличными: 67.00 [19:05:24]line Безнал.: 0.00 [19:05:24]line Место: АЗС № 160 "Партнер Нефть" [19:05:24]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:05:24]line СНО: Общий режим [19:05:24]line Чек 146 28.10.2024 19:05 [19:05:24]line Смена: 547 ФФД: 1.0 [19:05:24]line ЗНМ: 0300000093 [19:05:24]line РНМ: 0000000000091759 [19:05:24]line Версия ККМ: 001 [19:05:24]line ФМ: 0000000000871758 [19:05:24]line ФД: 68241 [19:05:24]line ФПД: 59769759919783 [19:05:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T190523&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68241&fm=59769759919783&tin=02508201610067®Number=0000000000091759&sum=6700 [19:05:24]line 0 [19:05:24]written 0, free lines is 4095 [19:05:24]Connected sock=10 [19:05:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 30 01 00 00 08 55 28 01 2F 2E 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 38 37 31 30 37 33 32 32 33 36 32 30 33 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 2C 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 92 00 00 00 F4 03 04 00 73 E0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 91 0A 01 00 35 04 06 00 36 5C 3B 4E EE A7 0B 81 EF 42 6C 6C 30 30 [19:05:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 0B CA 47 00 F4 51 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 91 0A 01 00 F4 03 04 00 53 8C 1F 67 B6 04 01 00 00 10 3B A5 11 46 5E D5 0E [19:05:25]CommunicateWithHost err = 0 [19:05:25]CheckOFDResponse [19:05:25]1017 (14) - 77093643461234 [19:05:25]1041 (16) - 0000000000871758 [19:05:25]1040 (4) - 68241 [19:05:25]1012 (4) - 28.10.2024 13:06 [19:05:25]1206 (1) - 0 [19:05:25]OFD Sender: Remove packet 68241 [19:05:25]ProducePacketName [19:05:25]name=ofd_packets/00068241 [19:05:25]NVStorageDeleteData [19:05:25]Write to MH i2c: 01 00 00 2C 05 31 [19:05:25]Write i2c OK [19:05:25]MH_I2C_Read... [19:05:25]Read from MH i2c: 01 [19:05:25]MH_I2C_Read... [19:05:25]Read from MH i2c: 01 07 00 [19:05:25]MH_I2C_Read... [19:05:25]Read from MH i2c: 01 07 00 2C 05 00 00 00 00 00 DA 0C 1E [19:05:25]RasterBufferAndPrint [19:05:25]line [19:05:25]line [19:05:25]line [19:05:25]line [19:05:25]line [19:05:25]written 0, free lines is 3302 [19:05:25]MH_Cut [19:05:25]Write to MH i2c: D1 01 00 33 05 01 0A [19:05:25]Write i2c OK [19:05:25]MH_I2C_Read... [19:05:25]Read from MH i2c: D1 [19:05:25]MH_I2C_Read... [19:05:25]Read from MH i2c: D1 01 00 [19:05:25]MH_I2C_Read... [19:05:25]Read from MH i2c: D1 01 00 33 05 00 09 [19:05:25]Write to MH i2c: 01 00 00 34 05 39 [19:05:25]Write i2c OK [19:05:25]MH_I2C_Read... [19:05:25]OFD Sender: No OFD packet to send [19:05:26]*** Cut start [19:05:26]*** Partial cut [19:05:26]*** CUTSNS_PIN = 1 [19:05:26]*** CUTSNS_PIN = 0 [19:05:26]*** Brake cut motor [19:05:26]Read from MH i2c: 01 [19:05:26]MH_I2C_Read... [19:05:26]*** Stop cut motor [19:05:26]*** Cut end [19:05:26]Read from MH i2c: 01 07 00 [19:05:26]MH_I2C_Read... [19:05:26]Read from MH i2c: 01 07 00 34 05 00 00 00 00 00 FF 0F 4E [19:05:26]process_action close_receipt done [19:05:26]requested_data is exist [19:05:26]produce_requested_data [19:05:26]requested_item fm.sn is exist - process it [19:05:26]wFMCommunicate request_size=4 [19:05:26]MH_SAM_APDU [19:05:26]CAPDU: 80 11 00 00 [19:05:26]Write to MH i2c: E2 08 00 35 05 80 11 00 00 00 00 00 00 B4 [19:05:26]Write i2c OK [19:05:26]MH_I2C_Read... [19:05:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:05:26]Read from MH i2c: E2 [19:05:26]MH_I2C_Read... [19:05:26]Read from MH i2c: E2 17 00 [19:05:26]MH_I2C_Read... [19:05:26]Read from MH i2c: E2 17 00 35 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 0B [19:05:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:05:26]wFMCommunicate OK [19:05:26]requested_item fd.num is exist - process it [19:05:26]SAM_PROTO_GetFieldsCounters [19:05:26]wFMCommunicate request_size=4 [19:05:26]MH_SAM_APDU [19:05:26]CAPDU: 80 13 00 00 [19:05:26]Write to MH i2c: E2 08 00 36 05 80 13 00 00 00 00 00 00 B7 [19:05:26]Write i2c OK [19:05:26]MH_I2C_Read... [19:05:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:05:26]Read from MH i2c: E2 [19:05:26]MH_I2C_Read... [19:05:26]Read from MH i2c: E2 62 00 [19:05:26]MH_I2C_Read... [19:05:26]Read from MH i2c: E2 62 00 36 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 91 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 92 00 00 00 5E 04 04 00 92 00 00 00 57 04 04 00 93 00 00 00 19 04 04 00 00 00 00 00 90 00 59 [19:05:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 91 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 92 00 00 00 5E 04 04 00 92 00 00 00 57 04 04 00 93 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:05:26]wFMCommunicate OK [19:05:26]SAM_PROTO_GetFieldsCounters done [19:05:26]requested_item shift.num is exist - process it [19:05:26]requested_item shift.opened is exist - process it [19:05:26]req_shift_opened [19:05:26]FM_GetShiftState [19:05:26]SAM_PROTO_GetShiftState [19:05:26]wFMCommunicate request_size=4 [19:05:26]MH_SAM_APDU [19:05:26]CAPDU: 80 13 01 00 [19:05:26]Write to MH i2c: E2 08 00 37 05 80 13 01 00 00 00 00 00 B9 [19:05:26]Write i2c OK [19:05:26]MH_I2C_Read... [19:05:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:05:26]Read from MH i2c: E2 [19:05:26]MH_I2C_Read... [19:05:26]Read from MH i2c: E2 0E 00 [19:05:26]MH_I2C_Read... [19:05:26]Read from MH i2c: E2 0E 00 37 05 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 B4 [19:05:26]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:05:26]wFMCommunicate OK [19:05:26]SAM_PROTO_GetShiftState done [19:05:26]FM_GetShiftState done [19:05:26]req_shift_opened done [19:05:26]requested_item shift.open_date is exist - process it [19:05:26]req_shift_open_date [19:05:26]req_shift_open_date done [19:05:26]produce_requested_data done [19:05:26]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68241,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [19:05:26]process_action_free close_receipt [19:05:26]json_value_free [19:05:26]json_value_free done [19:05:26]process_json_proto returns [19:05:26]Send response to host [19:05:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68241,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [19:05:26]free response buf [19:05:26]execute_script done [19:05:26]execute_script returns [19:05:26]free content buf [19:05:26]Sock 9.Close socket [19:05:26]Sock 9.Thread stoped [19:05:30]OFD Sender: No OFD packet to send [19:05:35]OFD Sender: No OFD packet to send [19:05:40]OFD Sender: No OFD packet to send [19:05:45]OFD Sender: No OFD packet to send [19:05:50]OFD Sender: No OFD packet to send [19:05:55]OFD Sender: No OFD packet to send [19:06:00]OFD Sender: No OFD packet to send [19:06:05]OFD Sender: No OFD packet to send [19:06:10]OFD Sender: No OFD packet to send [19:06:15]OFD Sender: No OFD packet to send [19:06:20]OFD Sender: No OFD packet to send [19:06:25]OFD Sender: No OFD packet to send [19:06:27]accept exits with 7 [19:06:27]New connection [19:06:27]New thread 3067497828 created [19:06:27]Thread 3067354468 joined [19:06:27]Waiting for new connection... [19:06:27] Sock 7.Parse request [19:06:27]Sock 7.Check first char [19:06:27]Sock 7.First char is OK [19:06:27]request: POST /json_proto HTTP/1.0 [19:06:27]Method: POST [19:06:27]URL: /json_proto [19:06:27]Method is POST - this is cgi request [19:06:27]url: /json_proto [19:06:27]query_string will be loaded in cgi processing [19:06:27]execute_cgi json_proto POST (null) [19:06:27]execute_cgi path=json_proto method=POST [19:06:27]POST find Content-Length [19:06:27]Host: 172.17.42.3:8080 [19:06:27]Content-Length: 674 [19:06:27]Content-Type: application/json [19:06:27] [19:06:27]POST finish read [19:06:27]Found Content-Length = 674 [19:06:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46286", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 33.580, "sum" : 2296.87, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2500.00, "total" : 2296.00, "payments": [ { "type": 0, "sum" : 2296.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:06:27]execute_script... [19:06: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 : (1)46286", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 33.580, "sum" : 2296.87, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2500.00, "total" : 2296.00, "payments": [ { "type": 0, "sum" : 2296.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:06:27]POST & json_proto [19:06:27]process_json_proto [19:06:27]json parsed OK: [19:06:27]protocol is kg_v1.0 [19:06:27]action value=close_receipt [19:06:27]process_action close_receipt [19:06:27]cmd_close_receipt [19:06:27]MH_GetDate [19:06:27]Write to MH i2c: F0 00 00 38 05 2C [19:06:27]Write i2c OK [19:06:27]MH_I2C_Read... [19:06:27]Read from MH i2c: F0 [19:06:27]MH_I2C_Read... [19:06:27]Read from MH i2c: F0 09 00 [19:06:27]MH_I2C_Read... [19:06:27]Read from MH i2c: F0 09 00 38 05 00 B3 E0 1F 67 0E CB 1F 67 AD [19:06:27]GetLastDocTimeStamp 1730142323 [19:06:27]current date 1730142387 [19:06:27]FM_GetShiftState [19:06:27]SAM_PROTO_GetShiftState [19:06:27]wFMCommunicate request_size=4 [19:06:27]MH_SAM_APDU [19:06:27]CAPDU: 80 13 01 00 [19:06:27]Write to MH i2c: E2 08 00 39 05 80 13 01 00 00 00 00 00 BB [19:06:27]Write i2c OK [19:06:27]MH_I2C_Read... [19:06:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:06:27]Read from MH i2c: E2 [19:06:27]MH_I2C_Read... [19:06:27]Read from MH i2c: E2 0E 00 [19:06:27]MH_I2C_Read... [19:06:27]Read from MH i2c: E2 0E 00 39 05 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 B6 [19:06:27]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:06:27]wFMCommunicate OK [19:06:27]SAM_PROTO_GetShiftState done [19:06:27]FM_GetShiftState done [19:06:27]opened in 1730074770 [19:06:27]opened+sec_in_day 1730161170 [19:06:27]quantity*price = 229687 [19:06:27]sum+1 = 229688 [19:06:27]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.87 ИТОГО: 2296.00 Внесено: 2500.00 СДАЧА: 204.00 НСП 1% : 20.33 НДС 12% : 243.91 Наличными: 2296.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 147 28.10.2024 19:06 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68242 ФПД: 222686015223172 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T190627&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68242&fm=222686015223172&tin=02508201610067®Number=0000000000091759&sum=229600 [19:06:28]StoreToDocumentArchive [19:06:28]shift 547 fd 68242 [19:06:28]save to /storage/0547/doc_00068242 [19:06:28]save last doc name /storage/0547/doc_00068242 to /storage/kkm_last_doc_name [19:06:28]save OK [19:06:28]Clear old archive folders... [19:06:28]ProcessDocumentItem done err = 0, tmpTLVsize=252 [19:06:28]tlvbuf is 005E68D0 [19:06:28]SAM_PROTO_ClearQueue [19:06:28]wFMCommunicate request_size=4 [19:06:28]MH_SAM_APDU [19:06:28]CAPDU: 80 09 00 00 [19:06:28]Write to MH i2c: E2 08 00 46 05 80 09 00 00 00 00 00 00 BD [19:06:28]Write i2c OK [19:06:28]MH_I2C_Read... [19:06:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:06:28]Read from MH i2c: E2 [19:06:28]MH_I2C_Read... [19:06:28]Read from MH i2c: E2 03 00 [19:06:28]MH_I2C_Read... [19:06:28]Read from MH i2c: E2 03 00 46 05 00 90 00 BF [19:06:28]RAPDU: 90 00 [19:06:28]wFMCommunicate OK [19:06:28]SAM_PROTO_ClearQueue done [19:06:28]KKMCreateOFDPacket [19:06:28]OFDProtocolAddRootSTLVToBuf [19:06:28]FM_MakeSignedData [19:06:28]FM_MakeSignedData [19:06:28]SAM_PROTO_SignData [19:06:28]wFMCommunicate request_size=4 [19:06:28]MH_SAM_APDU [19:06:28]CAPDU: 80 0D 01 02 [19:06:28]Write to MH i2c: E2 08 00 47 05 80 0D 01 02 00 00 00 00 C5 [19:06:28]Write i2c OK [19:06:28]MH_I2C_Read... [19:06:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:06:28]Read from MH i2c: E2 [19:06:28]MH_I2C_Read... [19:06:28]Read from MH i2c: E2 03 00 [19:06:28]MH_I2C_Read... [19:06:28]Read from MH i2c: E2 03 00 47 05 00 90 00 C0 [19:06:28]RAPDU: 90 00 [19:06:28]wFMCommunicate OK [19:06:28]wFMCommunicate request_size=255 [19:06:28]MH_SAM_APDU [19:06:28]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 2C 83 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 37 81 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 80 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F1 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 5F 00 00 00 00 07 04 06 00 E0 80 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 93 00 00 00 F4 03 04 00 B3 E0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 92 0A 01 00 35 04 06 00 [19:06:28]Write to MH i2c: E2 02 01 48 05 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 2C 83 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 37 81 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 80 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F1 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 5F 00 00 00 00 07 04 06 00 E0 80 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 93 00 00 00 F4 03 04 00 B3 E0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 92 0A 01 00 35 04 06 00 00 00 91 [19:06:28]Write i2c OK [19:06:28]MH_I2C_Read... [19:06:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:06:28]Read from MH i2c: E2 [19:06:28]MH_I2C_Read... [19:06:28]Read from MH i2c: E2 03 00 [19:06:28]MH_I2C_Read... [19:06:28]Read from MH i2c: E2 03 00 48 05 00 90 00 C1 [19:06:28]RAPDU: 90 00 [19:06:28]wFMCommunicate OK [19:06:28]wFMCommunicate request_size=11 [19:06:28]MH_SAM_APDU [19:06:28]CAPDU: 80 0D 02 02 06 CA 88 20 D5 75 84 [19:06:28]Write to MH i2c: E2 0E 00 49 05 80 0D 02 02 06 00 CA 88 20 D5 75 84 00 00 14 [19:06:28]Write i2c OK [19:06:28]MH_I2C_Read... [19:06:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:06:28]Read from MH i2c: E2 [19:06:28]MH_I2C_Read... [19:06:28]Read from MH i2c: E2 03 00 [19:06:28]MH_I2C_Read... [19:06:28]Read from MH i2c: E2 03 00 49 05 00 90 00 C2 [19:06:28]RAPDU: 90 00 [19:06:28]wFMCommunicate OK [19:06:28]wFMCommunicate request_size=4 [19:06:28]MH_SAM_APDU [19:06:28]CAPDU: 80 0D 03 02 [19:06:28]Write to MH i2c: E2 08 00 4A 05 80 0D 03 02 00 00 00 00 CA [19:06:28]Write i2c OK [19:06:28]MH_I2C_Read... [19:06:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:06:29]Read from MH i2c: E2 [19:06:29]MH_I2C_Read... [19:06:29]Read from MH i2c: E2 0B 00 [19:06:29]MH_I2C_Read... [19:06:29]Read from MH i2c: E2 0B 00 4A 05 00 0E 22 46 1E 6D F8 A3 4F 90 00 B6 [19:06:29]RAPDU: 0E 22 46 1E 6D F8 A3 4F 90 00 [19:06:29]wFMCommunicate OK [19:06:29]SAM_PROTO_SignData done [19:06:29]FM_MakeSignedData done [19:06:29]CreateOFDProtocolMessage [19:06:29]wFMCommunicate request_size=4 [19:06:29]MH_SAM_APDU [19:06:29]CAPDU: 80 11 00 00 [19:06:29]Write to MH i2c: E2 08 00 4B 05 80 11 00 00 00 00 00 00 CA [19:06:29]Write i2c OK [19:06:29]MH_I2C_Read... [19:06:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:06:29]Read from MH i2c: E2 [19:06:29]MH_I2C_Read... [19:06:29]Read from MH i2c: E2 17 00 [19:06:29]MH_I2C_Read... [19:06:29]Read from MH i2c: E2 17 00 4B 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 21 [19:06:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:06:29]wFMCommunicate OK [19:06:29]CreateOFDProtocolMessage done [19:06:29]OFDSenderStorePacket 68242 [19:06:29]StoreOFDPacket docnum=68242 [19:06:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 82 74 08 01 A1 FA 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 2C 83 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 37 81 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 80 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F1 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 5F 00 00 00 00 07 04 06 00 E0 80 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 93 00 00 00 F4 03 04 00 B3 E0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 92 0A 01 00 35 04 06 00 CA 88 20 D5 75 84 0E 22 46 1E 6D F8 A3 4F [19:06:29]CheckFolder [19:06:29]dirname=/storage/ofd_packets [19:06:29]CheckFolder done [19:06:29]ProducePacketName [19:06:29]name=ofd_packets/00068242 [19:06:29]NVStorageSaveData ofd_packets/00068242 [19:06:29]File name is /storage/ofd_packets/00068242 [19:06:29]Write 302 bytes [19:06:29]NVStorageSaveData done [19:06:29]OFDSenderStorePacket done [19:06:29]KKMCreateOFDPacket done [19:06:29]NVStorageSaveData kkm_last_timestamp [19:06:29]File name is /storage/kkm_last_timestamp [19:06:29]Write 4 bytes [19:06:29]NVStorageSaveData done [19:06:29]ExternCall_PrintAddStr [19:06:29]wPrintStart [19:06:29]Write to MH i2c: 01 00 00 4C 05 51 [19:06:29]Write i2c OK [19:06:29]MH_I2C_Read... [19:06:29]Read from MH i2c: 01 [19:06:29]MH_I2C_Read... [19:06:29]Read from MH i2c: 01 07 00 [19:06:29]MH_I2C_Read... [19:06:29]Read from MH i2c: 01 07 00 4C 05 00 00 00 00 00 FF 0F 66 [19:06:29]RasterBufferAndPrint [19:06:29]line Счет N : (1)46286 [19:06:29]line ИНН: 02508201610067 [19:06:29]line Контрольно-Кассовый Чек [19:06:29]line ПРОДАЖА [19:06:29]line ТРК (МРК, ГНК) : 42 [19:06:29]line Товар: 2710124130 [19:06:29]line SUPER-92-К-5 [19:06:29]line 33.580 * 68.40 [19:06:29]line = 2296.87 [19:06:29]line НДС 12% НСП 1% [19:06:29]line > о реализуемом товаре [19:06:29]line ОКРУГЛЕНИЕ: -0.87 [19:06:29]line ИТОГО: 2296.00 [19:06:29]line Внесено: 2500.00 [19:06:29]line СДАЧА: 204.00 [19:06:29]line НСП 1% : 20.33 [19:06:29]line НДС 12% : 243.91 [19:06:29]line Наличными: 2296.00 [19:06:29]line Безнал.: 0.00 [19:06:29]line Место: АЗС № 160 "Партнер Нефть" [19:06:29]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:06:29]line СНО: Общий режим [19:06:29]line Чек 147 28.10.2024 19:06 [19:06:29]line Смена: 547 ФФД: 1.0 [19:06:29]line ЗНМ: 0300000093 [19:06:29]line РНМ: 0000000000091759 [19:06:29]line Версия ККМ: 001 [19:06:29]line ФМ: 0000000000871758 [19:06:29]line ФД: 68242 [19:06:29]line ФПД: 222686015223172 [19:06:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T190627&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68242&fm=222686015223172&tin=02508201610067®Number=0000000000091759&sum=229600 [19:06:29]OFD Sender: Processing packet 68242 [packets to send 27, broken 26] [19:06:29]ProducePacketName [19:06:29]name=ofd_packets/00068242 [19:06:29]OFD Sender: To server: pG, [19:06:29]CommunicateWithHost lk.salyk.kg:30040 [19:06:29]ConnectInit lk.salyk.kg [19:06:29]written 0, free lines is 4095 [19:06:29]Connected sock=10 [19:06:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 82 74 08 01 A1 FA 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 2C 83 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 37 81 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 80 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F1 07 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 5F 00 00 00 00 07 04 06 00 E0 80 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 93 00 00 00 F4 03 04 00 B3 E0 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 92 0A 01 00 35 04 06 00 CA 88 20 D5 75 84 0E 22 46 1E 6D F8 A3 4F [19:06:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 7C ED 47 00 03 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 38 37 31 37 35 38 10 04 04 00 92 0A 01 00 F4 03 04 00 93 8C 1F 67 B6 04 01 00 00 2F 40 C0 AC 27 38 32 E2 [19:06:29]CommunicateWithHost err = 0 [19:06:29]CheckOFDResponse [19:06:29]1017 (14) - 77093643461234 [19:06:29]1041 (16) - 0000000000871758 [19:06:29]1040 (4) - 68242 [19:06:29]1012 (4) - 28.10.2024 13:07 [19:06:29]1206 (1) - 0 [19:06:29]OFD Sender: Remove packet 68242 [19:06:29]ProducePacketName [19:06:29]name=ofd_packets/00068242 [19:06:29]NVStorageDeleteData [19:06:29]Write to MH i2c: 01 00 00 76 05 7B [19:06:29]Write i2c OK [19:06:29]MH_I2C_Read... [19:06:29]Read from MH i2c: 01 [19:06:29]MH_I2C_Read... [19:06:29]Read from MH i2c: 01 07 00 [19:06:29]MH_I2C_Read... [19:06:29]Read from MH i2c: 01 07 00 76 05 00 00 00 00 00 D0 0C 5E [19:06:29]RasterBufferAndPrint [19:06:29]line [19:06:29]line [19:06:29]line [19:06:29]line [19:06:29]line [19:06:29]written 0, free lines is 3285 [19:06:29]MH_Cut [19:06:29]Write to MH i2c: D1 01 00 7D 05 01 54 [19:06:29]Write i2c OK [19:06:29]MH_I2C_Read... [19:06:29]Read from MH i2c: D1 [19:06:29]MH_I2C_Read... [19:06:29]Read from MH i2c: D1 01 00 [19:06:29]MH_I2C_Read... [19:06:29]Read from MH i2c: D1 01 00 7D 05 00 53 [19:06:29]Write to MH i2c: 01 00 00 7E 05 83 [19:06:29]Write i2c OK [19:06:29]MH_I2C_Read... [19:06:30]OFD Sender: No OFD packet to send [19:06:30]*** Cut start [19:06:30]*** Partial cut [19:06:30]*** CUTSNS_PIN = 1 [19:06:30]*** CUTSNS_PIN = 0 [19:06:30]*** Brake cut motor [19:06:31]Read from MH i2c: 01 [19:06:31]MH_I2C_Read... [19:06:31]*** Stop cut motor [19:06:31]*** Cut end [19:06:31]Read from MH i2c: 01 07 00 [19:06:31]MH_I2C_Read... [19:06:31]Read from MH i2c: 01 07 00 7E 05 00 00 00 00 00 FF 0F 98 [19:06:31]process_action close_receipt done [19:06:31]requested_data is exist [19:06:31]produce_requested_data [19:06:31]requested_item fm.sn is exist - process it [19:06:31]wFMCommunicate request_size=4 [19:06:31]MH_SAM_APDU [19:06:31]CAPDU: 80 11 00 00 [19:06:31]Write to MH i2c: E2 08 00 7F 05 80 11 00 00 00 00 00 00 FE [19:06:31]Write i2c OK [19:06:31]MH_I2C_Read... [19:06:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:06:31]Read from MH i2c: E2 [19:06:31]MH_I2C_Read... [19:06:31]Read from MH i2c: E2 17 00 [19:06:31]MH_I2C_Read... [19:06:31]Read from MH i2c: E2 17 00 7F 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 55 [19:06:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:06:31]wFMCommunicate OK [19:06:31]requested_item fd.num is exist - process it [19:06:31]SAM_PROTO_GetFieldsCounters [19:06:31]wFMCommunicate request_size=4 [19:06:31]MH_SAM_APDU [19:06:31]CAPDU: 80 13 00 00 [19:06:31]Write to MH i2c: E2 08 00 80 05 80 13 00 00 00 00 00 00 01 [19:06:31]Write i2c OK [19:06:31]MH_I2C_Read... [19:06:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:06:31]Read from MH i2c: E2 [19:06:31]MH_I2C_Read... [19:06:31]Read from MH i2c: E2 62 00 [19:06:31]MH_I2C_Read... [19:06:31]Read from MH i2c: E2 62 00 80 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 92 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 93 00 00 00 5E 04 04 00 93 00 00 00 57 04 04 00 94 00 00 00 19 04 04 00 00 00 00 00 90 00 A7 [19:06:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 92 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 93 00 00 00 5E 04 04 00 93 00 00 00 57 04 04 00 94 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:06:31]wFMCommunicate OK [19:06:31]SAM_PROTO_GetFieldsCounters done [19:06:31]requested_item shift.num is exist - process it [19:06:31]requested_item shift.opened is exist - process it [19:06:31]req_shift_opened [19:06:31]FM_GetShiftState [19:06:31]SAM_PROTO_GetShiftState [19:06:31]wFMCommunicate request_size=4 [19:06:31]MH_SAM_APDU [19:06:31]CAPDU: 80 13 01 00 [19:06:31]Write to MH i2c: E2 08 00 81 05 80 13 01 00 00 00 00 00 03 [19:06:31]Write i2c OK [19:06:31]MH_I2C_Read... [19:06:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:06:31]Read from MH i2c: E2 [19:06:31]MH_I2C_Read... [19:06:31]Read from MH i2c: E2 0E 00 [19:06:31]MH_I2C_Read... [19:06:31]Read from MH i2c: E2 0E 00 81 05 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 FE [19:06:31]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:06:31]wFMCommunicate OK [19:06:31]SAM_PROTO_GetShiftState done [19:06:31]FM_GetShiftState done [19:06:31]req_shift_opened done [19:06:31]requested_item shift.open_date is exist - process it [19:06:31]req_shift_open_date [19:06:31]req_shift_open_date done [19:06:31]produce_requested_data done [19:06:31]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68242,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [19:06:31]process_action_free close_receipt [19:06:31]json_value_free [19:06:31]json_value_free done [19:06:31]process_json_proto returns [19:06:31]Send response to host [19:06:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68242,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [19:06:31]free response buf [19:06:31]execute_script done [19:06:31]execute_script returns [19:06:31]free content buf [19:06:31]Sock 7.Close socket [19:06:31]Sock 7.Thread stoped [19:06:35]OFD Sender: No OFD packet to send [19:06:40]OFD Sender: No OFD packet to send [19:06:45]OFD Sender: No OFD packet to send [19:06:50]OFD Sender: No OFD packet to send [19:06:55]OFD Sender: No OFD packet to send [19:07:00]OFD Sender: No OFD packet to send [19:07:05]OFD Sender: No OFD packet to send [19:07:10]OFD Sender: No OFD packet to send [19:07:15]OFD Sender: No OFD packet to send [19:07:20]OFD Sender: No OFD packet to send [19:07:25]OFD Sender: No OFD packet to send [19:07:30]OFD Sender: No OFD packet to send [19:07:35]OFD Sender: No OFD packet to send [19:07:40]OFD Sender: No OFD packet to send [19:07:45]OFD Sender: No OFD packet to send [19:07:50]OFD Sender: No OFD packet to send [19:07:55]OFD Sender: No OFD packet to send [19:08:00]OFD Sender: No OFD packet to send [19:08:05]OFD Sender: No OFD packet to send [19:08:10]OFD Sender: No OFD packet to send [19:08:15]OFD Sender: No OFD packet to send [19:08:20]OFD Sender: No OFD packet to send [19:08:25]OFD Sender: No OFD packet to send [19:08:30]OFD Sender: No OFD packet to send [19:08:35]OFD Sender: No OFD packet to send [19:08:40]OFD Sender: No OFD packet to send [19:08:45]OFD Sender: No OFD packet to send [19:08:50]OFD Sender: No OFD packet to send [19:08:55]OFD Sender: No OFD packet to send [19:09:00]OFD Sender: No OFD packet to send [19:09:05]OFD Sender: No OFD packet to send [19:09:10]OFD Sender: No OFD packet to send [19:09:15]OFD Sender: No OFD packet to send [19:09:20]OFD Sender: No OFD packet to send [19:09:25]OFD Sender: No OFD packet to send [19:09:30]OFD Sender: No OFD packet to send [19:09:35]OFD Sender: No OFD packet to send [19:09:40]OFD Sender: No OFD packet to send [19:09:45]OFD Sender: No OFD packet to send [19:09:50]OFD Sender: No OFD packet to send [19:09:55]OFD Sender: No OFD packet to send [19:10:00]OFD Sender: No OFD packet to send [19:10:04]int [19:10:04]Write to MH i2c: 01 00 00 82 05 87 [19:10:04]*** FLAG_PRN_KEY set [19:10:04]Write i2c OK [19:10:04]MH_I2C_Read... [19:10:04]Read from MH i2c: 01 [19:10:04]MH_I2C_Read... [19:10:04]Read from MH i2c: 01 07 00 [19:10:04]MH_I2C_Read... [19:10:04]Read from MH i2c: 01 07 00 82 05 00 00 00 00 00 FF 0F 9C [19:10:04]state=0 [19:10:04]int [19:10:04]Write to MH i2c: 01 00 00 83 05 88 [19:10:04]*** FLAG_PRN_KEY reset [19:10:04]*** FLAG_PRN_KEY set [19:10:04]Write i2c OK [19:10:04]MH_I2C_Read... [19:10:04]Read from MH i2c: 01 [19:10:04]MH_I2C_Read... [19:10:04]Read from MH i2c: 01 07 00 [19:10:04]MH_I2C_Read... [19:10:04]Read from MH i2c: 01 07 00 83 05 00 08 00 00 00 FF 0F A5 [19:10:04]state=0 [19:10:04]Key pressed [19:10:04]Feed [19:10:04]Write to MH i2c: D8 00 00 84 05 60 [19:10:04]Write i2c OK [19:10:04]MH_I2C_Read... [19:10:04]Read from MH i2c: D8 [19:10:04]MH_I2C_Read... [19:10:04]Read from MH i2c: D8 01 00 [19:10:04]MH_I2C_Read... [19:10:04]Read from MH i2c: D8 01 00 84 05 00 61 [19:10:04]int [19:10:04]Write to MH i2c: 01 00 00 85 05 8A [19:10:04]Write i2c OK [19:10:04]MH_I2C_Read... [19:10:04]Read from MH i2c: 01 [19:10:04]MH_I2C_Read... [19:10:04]Read from MH i2c: 01 07 00 [19:10:04]MH_I2C_Read... [19:10:04]Read from MH i2c: 01 07 00 85 05 00 48 00 00 00 3C 00 15 [19:10:04]state=2 [19:10:04]Key pressed [19:10:05]int [19:10:05]Write to MH i2c: 01 00 00 86 05 8B [19:10:05]*** FLAG_PRN_KEY reset [19:10:05]Write i2c OK [19:10:05]MH_I2C_Read... [19:10:05]Read from MH i2c: 01 [19:10:05]MH_I2C_Read... [19:10:05]Read from MH i2c: 01 07 00 [19:10:05]MH_I2C_Read... [19:10:05]Read from MH i2c: 01 07 00 86 05 00 00 00 00 00 F6 0F 97 [19:10:05]state=2 [19:10:05]Stop feed [19:10:05]OFD Sender: No OFD packet to send [19:10:10]OFD Sender: No OFD packet to send [19:10:15]OFD Sender: No OFD packet to send [19:10:20]OFD Sender: No OFD packet to send [19:10:25]OFD Sender: No OFD packet to send [19:10:30]OFD Sender: No OFD packet to send [19:10:35]OFD Sender: No OFD packet to send [19:10:40]OFD Sender: No OFD packet to send [19:10:45]OFD Sender: No OFD packet to send [19:10:50]OFD Sender: No OFD packet to send [19:10:55]OFD Sender: No OFD packet to send [19:11:00]OFD Sender: No OFD packet to send [19:11:05]OFD Sender: No OFD packet to send [19:11:10]OFD Sender: No OFD packet to send [19:11:15]OFD Sender: No OFD packet to send [19:11:20]OFD Sender: No OFD packet to send [19:11:25]OFD Sender: No OFD packet to send [19:11:30]OFD Sender: No OFD packet to send [19:11:35]OFD Sender: No OFD packet to send [19:11:39]accept exits with 9 [19:11:39]New connection [19:11:39]New thread 3067354468 created [19:11:39]Thread 3067497828 joined [19:11:39]Waiting for new connection... [19:11:39] Sock 9.Parse request [19:11:39]Sock 9.Check first char [19:11:39]Sock 9.First char is OK [19:11:39]request: POST /json_proto HTTP/1.0 [19:11:39]Method: POST [19:11:39]URL: /json_proto [19:11:39]Method is POST - this is cgi request [19:11:39]url: /json_proto [19:11:39]query_string will be loaded in cgi processing [19:11:39]execute_cgi json_proto POST (null) [19:11:39]execute_cgi path=json_proto method=POST [19:11:39]POST find Content-Length [19:11:39]Host: 172.17.42.3:8080 [19:11:39]Content-Length: 620 [19:11:39]Content-Type: application/json [19:11:39] [19:11:39]POST finish read [19:11:39]Found Content-Length = 620 [19:11:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17194", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:11:39]execute_script... [19:11: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)17194", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:11:39]POST & json_proto [19:11:39]process_json_proto [19:11:39]json parsed OK: [19:11:39]protocol is kg_v1.0 [19:11:39]action value=close_receipt [19:11:39]process_action close_receipt [19:11:39]cmd_close_receipt [19:11:39]MH_GetDate [19:11:39]Write to MH i2c: F0 00 00 87 05 7B [19:11:39]Write i2c OK [19:11:39]MH_I2C_Read... [19:11:39]Read from MH i2c: F0 [19:11:39]MH_I2C_Read... [19:11:39]Read from MH i2c: F0 09 00 [19:11:39]MH_I2C_Read... [19:11:39]Read from MH i2c: F0 09 00 87 05 00 EB E1 1F 67 0E CB 1F 67 35 [19:11:39]GetLastDocTimeStamp 1730142387 [19:11:39]current date 1730142699 [19:11:39]FM_GetShiftState [19:11:39]SAM_PROTO_GetShiftState [19:11:39]wFMCommunicate request_size=4 [19:11:39]MH_SAM_APDU [19:11:39]CAPDU: 80 13 01 00 [19:11:39]Write to MH i2c: E2 08 00 88 05 80 13 01 00 00 00 00 00 0A [19:11:39]Write i2c OK [19:11:39]MH_I2C_Read... [19:11:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:11:39]Read from MH i2c: E2 [19:11:39]MH_I2C_Read... [19:11:39]Read from MH i2c: E2 0E 00 [19:11:39]MH_I2C_Read... [19:11:39]Read from MH i2c: E2 0E 00 88 05 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 05 [19:11:39]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:11:39]wFMCommunicate OK [19:11:39]SAM_PROTO_GetShiftState done [19:11:39]FM_GetShiftState done [19:11:39]opened in 1730074770 [19:11:39]opened+sec_in_day 1730161170 [19:11:39]quantity*price = 14400 [19:11:39]sum+1 = 14401 [19:11:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 148 28.10.2024 19:11 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68243 ФПД: 62771928922109 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T191139&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68243&fm=62771928922109&tin=02508201610067®Number=0000000000091759&sum=14400 0 [19:11:40]StoreToDocumentArchive [19:11:40]shift 547 fd 68243 [19:11:40]save to /storage/0547/doc_00068243 [19:11:40]save last doc name /storage/0547/doc_00068243 to /storage/kkm_last_doc_name [19:11:40]save OK [19:11:40]Clear old archive folders... [19:11:40]ProcessDocumentItem done err = 0, tmpTLVsize=273 [19:11:40]tlvbuf is 005BD0E0 [19:11:40]SAM_PROTO_ClearQueue [19:11:40]wFMCommunicate request_size=4 [19:11:40]MH_SAM_APDU [19:11:40]CAPDU: 80 09 00 00 [19:11:40]Write to MH i2c: E2 08 00 95 05 80 09 00 00 00 00 00 00 0C [19:11:40]Write i2c OK [19:11:40]MH_I2C_Read... [19:11:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:11:40]Read from MH i2c: E2 [19:11:40]MH_I2C_Read... [19:11:40]Read from MH i2c: E2 03 00 [19:11:40]MH_I2C_Read... [19:11:40]Read from MH i2c: E2 03 00 95 05 00 90 00 0E [19:11:40]RAPDU: 90 00 [19:11:40]wFMCommunicate OK [19:11:40]SAM_PROTO_ClearQueue done [19:11:40]KKMCreateOFDPacket [19:11:40]OFDProtocolAddRootSTLVToBuf [19:11:40]FM_MakeSignedData [19:11:40]FM_MakeSignedData [19:11:40]SAM_PROTO_SignData [19:11:40]wFMCommunicate request_size=4 [19:11:40]MH_SAM_APDU [19:11:40]CAPDU: 80 0D 01 02 [19:11:40]Write to MH i2c: E2 08 00 96 05 80 0D 01 02 00 00 00 00 14 [19:11:40]Write i2c OK [19:11:40]MH_I2C_Read... [19:11:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:11:40]Read from MH i2c: E2 [19:11:40]MH_I2C_Read... [19:11:40]Read from MH i2c: E2 03 00 [19:11:40]MH_I2C_Read... [19:11:40]Read from MH i2c: E2 03 00 96 05 00 90 00 0F [19:11:40]RAPDU: 90 00 [19:11:40]wFMCommunicate OK [19:11:40]wFMCommunicate request_size=255 [19:11:40]MH_SAM_APDU [19:11:40]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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 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 94 00 00 00 F4 03 04 00 EB E1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 [19:11:40]Write to MH i2c: E2 02 01 97 05 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 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 94 00 00 00 F4 03 04 00 EB E1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 00 00 8F [19:11:40]Write i2c OK [19:11:40]MH_I2C_Read... [19:11:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:11:40]Read from MH i2c: E2 [19:11:40]MH_I2C_Read... [19:11:40]Read from MH i2c: E2 03 00 [19:11:40]MH_I2C_Read... [19:11:40]Read from MH i2c: E2 03 00 97 05 00 90 00 10 [19:11:40]RAPDU: 90 00 [19:11:40]wFMCommunicate OK [19:11:40]wFMCommunicate request_size=32 [19:11:40]MH_SAM_APDU [19:11:40]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 37 35 38 10 04 04 00 93 0A 01 00 35 04 06 00 39 17 3A 86 77 FD [19:11:40]Write to MH i2c: E2 23 00 98 05 80 0D 02 02 1B 00 30 30 30 38 37 31 37 35 38 10 04 04 00 93 0A 01 00 35 04 06 00 39 17 3A 86 77 FD 00 00 9A [19:11:40]Write i2c OK [19:11:40]MH_I2C_Read... [19:11:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:11:41]Read from MH i2c: E2 [19:11:41]MH_I2C_Read... [19:11:41]Read from MH i2c: E2 03 00 [19:11:41]MH_I2C_Read... [19:11:41]Read from MH i2c: E2 03 00 98 05 00 90 00 11 [19:11:41]RAPDU: 90 00 [19:11:41]wFMCommunicate OK [19:11:41]wFMCommunicate request_size=4 [19:11:41]MH_SAM_APDU [19:11:41]CAPDU: 80 0D 03 02 [19:11:41]Write to MH i2c: E2 08 00 99 05 80 0D 03 02 00 00 00 00 19 [19:11:41]Write i2c OK [19:11:41]MH_I2C_Read... [19:11:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:11:41]Read from MH i2c: E2 [19:11:41]MH_I2C_Read... [19:11:41]Read from MH i2c: E2 0B 00 [19:11:41]MH_I2C_Read... [19:11:41]Read from MH i2c: E2 0B 00 99 05 00 D2 EA 18 33 CE B6 74 71 90 00 8A [19:11:41]RAPDU: D2 EA 18 33 CE B6 74 71 90 00 [19:11:41]wFMCommunicate OK [19:11:41]SAM_PROTO_SignData done [19:11:41]FM_MakeSignedData done [19:11:41]CreateOFDProtocolMessage [19:11:41]wFMCommunicate request_size=4 [19:11:41]MH_SAM_APDU [19:11:41]CAPDU: 80 11 00 00 [19:11:41]Write to MH i2c: E2 08 00 9A 05 80 11 00 00 00 00 00 00 19 [19:11:41]Write i2c OK [19:11:41]MH_I2C_Read... [19:11:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:11:41]Read from MH i2c: E2 [19:11:41]MH_I2C_Read... [19:11:41]Read from MH i2c: E2 17 00 [19:11:41]MH_I2C_Read... [19:11:41]Read from MH i2c: E2 17 00 9A 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 70 [19:11:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:11:41]wFMCommunicate OK [19:11:41]CreateOFDProtocolMessage done [19:11:41]OFDSenderStorePacket 68243 [19:11:41]StoreOFDPacket docnum=68243 [19:11:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 25 01 00 00 80 B0 1D 01 E9 95 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 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 94 00 00 00 F4 03 04 00 EB E1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 93 0A 01 00 35 04 06 00 39 17 3A 86 77 FD D2 EA 18 33 CE B6 74 71 [19:11:41]CheckFolder [19:11:41]dirname=/storage/ofd_packets [19:11:41]CheckFolder done [19:11:41]ProducePacketName [19:11:41]name=ofd_packets/00068243 [19:11:41]NVStorageSaveData ofd_packets/00068243 [19:11:41]File name is /storage/ofd_packets/00068243 [19:11:41]Write 323 bytes [19:11:41]NVStorageSaveData done [19:11:41]OFDSenderStorePacket done [19:11:41]KKMCreateOFDPacket done [19:11:41]NVStorageSaveData kkm_last_timestamp [19:11:41]File name is /storage/kkm_last_timestamp [19:11:41]Write 4 bytes [19:11:41]NVStorageSaveData done [19:11:41]ExternCall_PrintAddStr [19:11:41]wPrintStart [19:11:41]Write to MH i2c: 01 00 00 9B 05 A0 [19:11:41]Write i2c OK [19:11:41]MH_I2C_Read... [19:11:41]Read from MH i2c: 01 [19:11:41]MH_I2C_Read... [19:11:41]Read from MH i2c: 01 07 00 [19:11:41]MH_I2C_Read... [19:11:41]Read from MH i2c: 01 07 00 9B 05 00 00 00 00 00 FF 0F B5 [19:11:41]RasterBufferAndPrint [19:11:41]line Счет N : (3)17194 [19:11:41]line ИНН: 02508201610067 [19:11:41]line Контрольно-Кассовый Чек [19:11:41]line ПРОДАЖА [19:11:41]line Товар: 48743570 [19:11:41]line Сигареты Winston XStyle Blue [19:11:41]line 1.000 * 144.00 [19:11:41]line = 144.00 [19:11:41]line НДС 12% НСП 1% [19:11:41]line > о реализуемом товаре [19:11:41]line ИТОГО: 144.00 [19:11:41]line НСП 1% : 1.27 [19:11:41]line НДС 12% : 15.29 [19:11:41]line Наличными: 144.00 [19:11:41]line Безнал.: 0.00 [19:11:41]line Место: АЗС № 160 "Партнер Нефть" [19:11:41]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:11:41]line СНО: Общий режим [19:11:41]line Чек 148 28.10.2024 19:11 [19:11:41]line Смена: 547 ФФД: 1.0 [19:11:41]line ЗНМ: 0300000093 [19:11:41]line РНМ: 0000000000091759 [19:11:41]line Версия ККМ: 001 [19:11:41]line ФМ: 0000000000871758 [19:11:41]line ФД: 68243 [19:11:41]line ФПД: 62771928922109 [19:11:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T191139&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68243&fm=62771928922109&tin=02508201610067®Number=0000000000091759&sum=14400 [19:11:41]OFD Sender: Processing packet 68243 [packets to send 27, broken 26] [19:11:41]ProducePacketName [19:11:41]name=ofd_packets/00068243 [19:11:41]OFD Sender: To server: pG, [19:11:41]CommunicateWithHost lk.salyk.kg:30040 [19:11:41]ConnectInit lk.salyk.kg [19:11:41]line 0 [19:11:41]written 0, free lines is 4095 [19:11:41]Connected sock=10 [19:11:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 25 01 00 00 80 B0 1D 01 E9 95 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 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 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 94 00 00 00 F4 03 04 00 EB E1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 93 0A 01 00 35 04 06 00 39 17 3A 86 77 FD D2 EA 18 33 CE B6 74 71 [19:11:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 60 5B 47 00 A4 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 38 37 31 37 35 38 10 04 04 00 93 0A 01 00 F4 03 04 00 CB 8D 1F 67 B6 04 01 00 00 65 26 F6 AF E2 48 97 00 [19:11:41]CommunicateWithHost err = 0 [19:11:41]CheckOFDResponse [19:11:41]1017 (14) - 77093643461234 [19:11:41]1041 (16) - 0000000000871758 [19:11:41]1040 (4) - 68243 [19:11:41]1012 (4) - 28.10.2024 13:12 [19:11:41]1206 (1) - 0 [19:11:41]OFD Sender: Remove packet 68243 [19:11:41]ProducePacketName [19:11:41]name=ofd_packets/00068243 [19:11:41]NVStorageDeleteData [19:11:41]Write to MH i2c: 01 00 00 C2 05 C7 [19:11:41]Write i2c OK [19:11:41]MH_I2C_Read... [19:11:41]Read from MH i2c: 01 [19:11:41]MH_I2C_Read... [19:11:41]Read from MH i2c: 01 07 00 [19:11:41]MH_I2C_Read... [19:11:41]Read from MH i2c: 01 07 00 C2 05 00 00 00 00 00 DF 0C B9 [19:11:41]RasterBufferAndPrint [19:11:41]line [19:11:41]line [19:11:41]line [19:11:41]line [19:11:41]line [19:11:41]written 0, free lines is 3300 [19:11:41]MH_Cut [19:11:41]Write to MH i2c: D1 01 00 C9 05 01 A0 [19:11:41]Write i2c OK [19:11:41]MH_I2C_Read... [19:11:41]Read from MH i2c: D1 [19:11:41]MH_I2C_Read... [19:11:41]Read from MH i2c: D1 01 00 [19:11:41]MH_I2C_Read... [19:11:41]Read from MH i2c: D1 01 00 C9 05 00 9F [19:11:41]Write to MH i2c: 01 00 00 CA 05 CF [19:11:41]Write i2c OK [19:11:41]MH_I2C_Read... [19:11:42]OFD Sender: No OFD packet to send [19:11:42]*** Cut start [19:11:42]*** Partial cut [19:11:42]*** CUTSNS_PIN = 1 [19:11:42]*** CUTSNS_PIN = 0 [19:11:42]*** Brake cut motor [19:11:43]Read from MH i2c: 01 [19:11:43]MH_I2C_Read... [19:11:43]*** Stop cut motor [19:11:43]*** Cut end [19:11:43]Read from MH i2c: 01 07 00 [19:11:43]MH_I2C_Read... [19:11:43]Read from MH i2c: 01 07 00 CA 05 00 00 00 00 00 FF 0F E4 [19:11:43]process_action close_receipt done [19:11:43]requested_data is exist [19:11:43]produce_requested_data [19:11:43]requested_item fm.sn is exist - process it [19:11:43]wFMCommunicate request_size=4 [19:11:43]MH_SAM_APDU [19:11:43]CAPDU: 80 11 00 00 [19:11:43]Write to MH i2c: E2 08 00 CB 05 80 11 00 00 00 00 00 00 4A [19:11:43]Write i2c OK [19:11:43]MH_I2C_Read... [19:11:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:11:43]Read from MH i2c: E2 [19:11:43]MH_I2C_Read... [19:11:43]Read from MH i2c: E2 17 00 [19:11:43]MH_I2C_Read... [19:11:43]Read from MH i2c: E2 17 00 CB 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 A1 [19:11:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:11:43]wFMCommunicate OK [19:11:43]requested_item fd.num is exist - process it [19:11:43]SAM_PROTO_GetFieldsCounters [19:11:43]wFMCommunicate request_size=4 [19:11:43]MH_SAM_APDU [19:11:43]CAPDU: 80 13 00 00 [19:11:43]Write to MH i2c: E2 08 00 CC 05 80 13 00 00 00 00 00 00 4D [19:11:43]Write i2c OK [19:11:43]MH_I2C_Read... [19:11:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:11:43]Read from MH i2c: E2 [19:11:43]MH_I2C_Read... [19:11:43]Read from MH i2c: E2 62 00 [19:11:43]MH_I2C_Read... [19:11:43]Read from MH i2c: E2 62 00 CC 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 93 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 94 00 00 00 5E 04 04 00 94 00 00 00 57 04 04 00 95 00 00 00 19 04 04 00 00 00 00 00 90 00 F7 [19:11:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 93 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 94 00 00 00 5E 04 04 00 94 00 00 00 57 04 04 00 95 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:11:43]wFMCommunicate OK [19:11:43]SAM_PROTO_GetFieldsCounters done [19:11:43]requested_item shift.num is exist - process it [19:11:43]requested_item shift.opened is exist - process it [19:11:43]req_shift_opened [19:11:43]FM_GetShiftState [19:11:43]SAM_PROTO_GetShiftState [19:11:43]wFMCommunicate request_size=4 [19:11:43]MH_SAM_APDU [19:11:43]CAPDU: 80 13 01 00 [19:11:43]Write to MH i2c: E2 08 00 CD 05 80 13 01 00 00 00 00 00 4F [19:11:43]Write i2c OK [19:11:43]MH_I2C_Read... [19:11:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:11:43]Read from MH i2c: E2 [19:11:43]MH_I2C_Read... [19:11:43]Read from MH i2c: E2 0E 00 [19:11:43]MH_I2C_Read... [19:11:43]Read from MH i2c: E2 0E 00 CD 05 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 4A [19:11:43]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:11:43]wFMCommunicate OK [19:11:43]SAM_PROTO_GetShiftState done [19:11:43]FM_GetShiftState done [19:11:43]req_shift_opened done [19:11:43]requested_item shift.open_date is exist - process it [19:11:43]req_shift_open_date [19:11:43]req_shift_open_date done [19:11:43]produce_requested_data done [19:11:43]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68243,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [19:11:43]process_action_free close_receipt [19:11:43]json_value_free [19:11:43]json_value_free done [19:11:43]process_json_proto returns [19:11:43]Send response to host [19:11:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68243,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [19:11:43]free response buf [19:11:43]execute_script done [19:11:43]execute_script returns [19:11:43]free content buf [19:11:43]Sock 9.Close socket [19:11:43]Sock 9.Thread stoped [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:51]accept exits with 7 [19:12:51]New connection [19:12:51]New thread 3067497828 created [19:12:51]Thread 3067354468 joined [19:12:51]Waiting for new connection... [19:12:51] Sock 7.Parse request [19:12:51]Sock 7.Check first char [19:12:51]Sock 7.First char is OK [19:12:51]request: POST /json_proto HTTP/1.0 [19:12:51]Method: POST [19:12:51]URL: /json_proto [19:12:51]Method is POST - this is cgi request [19:12:51]url: /json_proto [19:12:51]query_string will be loaded in cgi processing [19:12:51]execute_cgi json_proto POST (null) [19:12:51]execute_cgi path=json_proto method=POST [19:12:51]POST find Content-Length [19:12:51]Host: 172.17.42.3:8080 [19:12:51]Content-Length: 1265 [19:12:51]Content-Type: application/json [19:12:51] [19:12:51]POST finish read [19:12:51]Found Content-Length = 1265 [19:12:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17195", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48746526", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Wind Blue", "price" : 159.00, "quantity" : 1.000, "sum" : 159.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: Mbank", "payments": [ { "type": 1, "sum" : 334.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:12:51]execute_script... [19:12: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)17195", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48746526", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Wind Blue", "price" : 159.00, "quantity" : 1.000, "sum" : 159.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: Mbank", "payments": [ { "type": 1, "sum" : 334.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:12:51]POST & json_proto [19:12:51]process_json_proto [19:12:51]json parsed OK: [19:12:51]protocol is kg_v1.0 [19:12:51]action value=close_receipt [19:12:51]process_action close_receipt [19:12:51]cmd_close_receipt [19:12:51]MH_GetDate [19:12:51]Write to MH i2c: F0 00 00 CE 05 C2 [19:12:51]Write i2c OK [19:12:51]MH_I2C_Read... [19:12:51]Read from MH i2c: F0 [19:12:51]MH_I2C_Read... [19:12:51]Read from MH i2c: F0 09 00 [19:12:51]MH_I2C_Read... [19:12:51]Read from MH i2c: F0 09 00 CE 05 00 34 E2 1F 67 0E CB 1F 67 C6 [19:12:51]GetLastDocTimeStamp 1730142699 [19:12:51]current date 1730142772 [19:12:51]FM_GetShiftState [19:12:51]SAM_PROTO_GetShiftState [19:12:51]wFMCommunicate request_size=4 [19:12:51]MH_SAM_APDU [19:12:51]CAPDU: 80 13 01 00 [19:12:51]Write to MH i2c: E2 08 00 CF 05 80 13 01 00 00 00 00 00 51 [19:12:51]Write i2c OK [19:12:51]MH_I2C_Read... [19:12:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:12:51]Read from MH i2c: E2 [19:12:51]MH_I2C_Read... [19:12:51]Read from MH i2c: E2 0E 00 [19:12:51]MH_I2C_Read... [19:12:51]Read from MH i2c: E2 0E 00 CF 05 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 4C [19:12:51]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:12:51]wFMCommunicate OK [19:12:51]SAM_PROTO_GetShiftState done [19:12:51]FM_GetShiftState done [19:12:51]opened in 1730074770 [19:12:51]opened+sec_in_day 1730161170 [19:12:51]quantity*price = 12500 [19:12:51]sum+1 = 12501 [19:12:51]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48746526 Сигареты Mevius Wind Blue 1.000 * 159.00 = 159.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 334.00 НСП 1% : 2.96 НДС 12% : 35.46 Наличными: 0.00 Безнал.: 334.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 149 28.10.2024 19:12 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68244 ФПД: 137458407846638 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T191252&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68244&fm=137458407846638&tin=02508201610067®Number=0000000000091759&sum=33400 0 [19:12:52]StoreToDocumentArchive [19:12:52]shift 547 fd 68244 [19:12:52]save to /storage/0547/doc_00068244 [19:12:52]save last doc name /storage/0547/doc_00068244 to /storage/kkm_last_doc_name [19:12:52]save OK [19:12:52]Clear old archive folders... [19:12:52]ProcessDocumentItem done err = 0, tmpTLVsize=477 [19:12:52]tlvbuf is 005BE290 [19:12:52]SAM_PROTO_ClearQueue [19:12:52]wFMCommunicate request_size=4 [19:12:52]MH_SAM_APDU [19:12:52]CAPDU: 80 09 00 00 [19:12:52]Write to MH i2c: E2 08 00 DC 05 80 09 00 00 00 00 00 00 53 [19:12:53]Write i2c OK [19:12:53]MH_I2C_Read... [19:12:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:12:53]Read from MH i2c: E2 [19:12:53]MH_I2C_Read... [19:12:53]Read from MH i2c: E2 03 00 [19:12:53]MH_I2C_Read... [19:12:53]Read from MH i2c: E2 03 00 DC 05 00 90 00 55 [19:12:53]RAPDU: 90 00 [19:12:53]wFMCommunicate OK [19:12:53]SAM_PROTO_ClearQueue done [19:12:53]KKMCreateOFDPacket [19:12:53]OFDProtocolAddRootSTLVToBuf [19:12:53]FM_MakeSignedData [19:12:53]FM_MakeSignedData [19:12:53]SAM_PROTO_SignData [19:12:53]wFMCommunicate request_size=4 [19:12:53]MH_SAM_APDU [19:12:53]CAPDU: 80 0D 01 02 [19:12:53]Write to MH i2c: E2 08 00 DD 05 80 0D 01 02 00 00 00 00 5B [19:12:53]Write i2c OK [19:12:53]MH_I2C_Read... [19:12:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:12:53]Read from MH i2c: E2 [19:12:53]MH_I2C_Read... [19:12:53]Read from MH i2c: E2 03 00 [19:12:53]MH_I2C_Read... [19:12:53]Read from MH i2c: E2 03 00 DD 05 00 90 00 56 [19:12:53]RAPDU: 90 00 [19:12:53]wFMCommunicate OK [19:12:53]wFMCommunicate request_size=255 [19:12:53]MH_SAM_APDU [19:12:53]CAPDU: 80 0D 02 02 FA 03 00 DD 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 [19:12:53]Write to MH i2c: E2 02 01 DE 05 80 0D 02 02 FA 00 03 00 DD 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 00 00 A0 [19:12:53]Write i2c OK [19:12:53]MH_I2C_Read... [19:12:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:12:53]Read from MH i2c: E2 [19:12:53]MH_I2C_Read... [19:12:53]Read from MH i2c: E2 03 00 [19:12:53]MH_I2C_Read... [19:12:53]Read from MH i2c: E2 03 00 DE 05 00 90 00 57 [19:12:53]RAPDU: 90 00 [19:12:53]wFMCommunicate OK [19:12:53]wFMCommunicate request_size=236 [19:12:53]MH_SAM_APDU [19:12:53]CAPDU: 80 0D 02 02 E7 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 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 DA 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 82 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 95 00 00 00 F4 03 04 00 34 E2 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 94 0A 01 00 35 04 06 00 7D 04 87 92 32 EE [19:12:53]Write to MH i2c: E2 EF 00 DF 05 80 0D 02 02 E7 00 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 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 DA 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 82 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 95 00 00 00 F4 03 04 00 34 E2 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 94 0A 01 00 35 04 06 00 7D 04 87 92 32 EE 00 00 38 [19:12:53]Write i2c OK [19:12:53]MH_I2C_Read... [19:12:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:12:53]Read from MH i2c: E2 [19:12:53]MH_I2C_Read... [19:12:53]Read from MH i2c: E2 03 00 [19:12:53]MH_I2C_Read... [19:12:53]Read from MH i2c: E2 03 00 DF 05 00 90 00 58 [19:12:53]RAPDU: 90 00 [19:12:53]wFMCommunicate OK [19:12:53]wFMCommunicate request_size=4 [19:12:53]MH_SAM_APDU [19:12:53]CAPDU: 80 0D 03 02 [19:12:53]Write to MH i2c: E2 08 00 E0 05 80 0D 03 02 00 00 00 00 60 [19:12:53]Write i2c OK [19:12:53]MH_I2C_Read... [19:12:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:12:53]Read from MH i2c: E2 [19:12:53]MH_I2C_Read... [19:12:53]Read from MH i2c: E2 0B 00 [19:12:53]MH_I2C_Read... [19:12:53]Read from MH i2c: E2 0B 00 E0 05 00 E0 C6 D1 AA 3C 51 12 22 90 00 43 [19:12:53]RAPDU: E0 C6 D1 AA 3C 51 12 22 90 00 [19:12:53]wFMCommunicate OK [19:12:53]SAM_PROTO_SignData done [19:12:53]FM_MakeSignedData done [19:12:53]CreateOFDProtocolMessage [19:12:53]wFMCommunicate request_size=4 [19:12:53]MH_SAM_APDU [19:12:53]CAPDU: 80 11 00 00 [19:12:53]Write to MH i2c: E2 08 00 E1 05 80 11 00 00 00 00 00 00 60 [19:12:53]Write i2c OK [19:12:53]MH_I2C_Read... [19:12:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:12:54]Read from MH i2c: E2 [19:12:54]MH_I2C_Read... [19:12:54]Read from MH i2c: E2 17 00 [19:12:54]MH_I2C_Read... [19:12:54]Read from MH i2c: E2 17 00 E1 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 B7 [19:12:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:12:54]wFMCommunicate OK [19:12:54]CreateOFDProtocolMessage done [19:12:54]OFDSenderStorePacket 68244 [19:12:54]StoreOFDPacket docnum=68244 [19:12:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 F1 01 00 00 4D 69 E9 01 46 09 5A 03 01 00 03 00 DD 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 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 DA 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 82 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 95 00 00 00 F4 03 04 00 34 E2 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 94 0A 01 00 35 04 06 00 7D 04 87 92 32 EE E0 C6 D1 AA 3C 51 12 22 [19:12:54]CheckFolder [19:12:54]dirname=/storage/ofd_packets [19:12:54]CheckFolder done [19:12:54]ProducePacketName [19:12:54]name=ofd_packets/00068244 [19:12:54]NVStorageSaveData ofd_packets/00068244 [19:12:54]File name is /storage/ofd_packets/00068244 [19:12:54]Write 527 bytes [19:12:54]NVStorageSaveData done [19:12:54]OFDSenderStorePacket done [19:12:54]KKMCreateOFDPacket done [19:12:54]NVStorageSaveData kkm_last_timestamp [19:12:54]File name is /storage/kkm_last_timestamp [19:12:54]Write 4 bytes [19:12:54]NVStorageSaveData done [19:12:54]ExternCall_PrintAddStr [19:12:54]wPrintStart [19:12:54]Write to MH i2c: 01 00 00 E2 05 E7 [19:12:54]Write i2c OK [19:12:54]MH_I2C_Read... [19:12:54]Read from MH i2c: 01 [19:12:54]MH_I2C_Read... [19:12:54]Read from MH i2c: 01 07 00 [19:12:54]MH_I2C_Read... [19:12:54]Read from MH i2c: 01 07 00 E2 05 00 00 00 00 00 FF 0F FC [19:12:54]RasterBufferAndPrint [19:12:54]line Счет N : (3)17195 [19:12:54]line ИНН: 02508201610067 [19:12:54]line Контрольно-Кассовый Чек [19:12:54]line ПРОДАЖА [19:12:54]line Товар: 5449000054227 [19:12:54]line Напиток Кока-Кола 1л [19:12:54]line 1.000 * 125.00 [19:12:54]line = 125.00 [19:12:54]line НДС 12% НСП 1% [19:12:54]line > о реализуемом товаре [19:12:54]line Товар: 4700000160358 [19:12:54]line Вода Легенда 1л [19:12:54]line 1.000 * 50.00 [19:12:54]line = 50.00 [19:12:54]line НДС 12% НСП 1% [19:12:54]line > о реализуемом товаре [19:12:54]line Товар: 48746526 [19:12:54]line Сигареты Mevius Wind Blue [19:12:54]line 1.000 * 159.00 [19:12:54]line = 159.00 [19:12:54]line НДС 12% НСП 1% [19:12:54]line > о реализуемом товаре [19:12:54]line ИТОГО: 334.00 [19:12:54]line НСП 1% : 2.96 [19:12:54]line НДС 12% : 35.46 [19:12:54]line Наличными: 0.00 [19:12:54]line Безнал.: 334.00 [19:12:54]line Место: АЗС № 160 "Партнер Нефть" [19:12:54]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:12:54]line СНО: Общий режим [19:12:54]line Чек 149 28.10.2024 19:12 [19:12:54]line Смена: 547 ФФД: 1.0 [19:12:54]line ЗНМ: 0300000093 [19:12:54]line РНМ: 0000000000091759 [19:12:54]line Версия ККМ: 001 [19:12:54]line Платежная система: Mbank [19:12:54]line ФМ: 0000000000871758 [19:12:54]line ФД: 68244 [19:12:54]line ФПД: 137458407846638 [19:12:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T191252&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68244&fm=137458407846638&tin=02508201610067®Number=0000000000091759&sum=33400 [19:12:54]line 0 [19:12:54]OFD Sender: Processing packet 68244 [packets to send 27, broken 26] [19:12:54]ProducePacketName [19:12:54]name=ofd_packets/00068244 [19:12:54]OFD Sender: To server: pG, [19:12:54]CommunicateWithHost lk.salyk.kg:30040 [19:12:54]ConnectInit lk.salyk.kg [19:12:54]written 0, free lines is 4095 [19:12:54]Connected sock=10 [19:12:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 F1 01 00 00 4D 69 E9 01 46 09 5A 03 01 00 03 00 DD 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 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 DA 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 82 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 95 00 00 00 F4 03 04 00 34 E2 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 94 0A 01 00 35 04 06 00 7D 04 87 92 32 EE E0 C6 D1 AA 3C 51 12 22 [19:12:54]Write to MH i2c: 01 00 00 16 06 1C [19:12:54]Write i2c OK [19:12:54]MH_I2C_Read... [19:12:54]Read from MH i2c: 01 [19:12:54]MH_I2C_Read... [19:12:54]Read from MH i2c: 01 07 00 [19:12:54]MH_I2C_Read... [19:12:54]Read from MH i2c: 01 07 00 16 06 00 00 00 00 00 29 0C 58 [19:12:54]RasterBufferAndPrint [19:12:54]line [19:12:54]line [19:12:54]line [19:12:54]line [19:12:54]line [19:12:54]written 0, free lines is 3119 [19:12:54]MH_Cut [19:12:54]Write to MH i2c: D1 01 00 1D 06 01 F5 [19:12:54]Write i2c OK [19:12:54]MH_I2C_Read... [19:12:54]Read from MH i2c: D1 [19:12:54]MH_I2C_Read... [19:12:54]Read from MH i2c: D1 01 00 [19:12:54]MH_I2C_Read... [19:12:54]Read from MH i2c: D1 01 00 1D 06 00 F4 [19:12:54]Write to MH i2c: 01 00 00 1E 06 24 [19:12:54]Write i2c OK [19:12:54]MH_I2C_Read... [19:12:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 62 E8 47 00 9D 78 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 94 0A 01 00 F4 03 04 00 14 8E 1F 67 B6 04 01 00 00 2A F3 16 63 31 C2 BC 8A [19:12:54]CommunicateWithHost err = 0 [19:12:54]CheckOFDResponse [19:12:54]1017 (14) - 77093643461234 [19:12:54]1041 (16) - 0000000000871758 [19:12:54]1040 (4) - 68244 [19:12:54]1012 (4) - 28.10.2024 13:13 [19:12:54]1206 (1) - 0 [19:12:54]OFD Sender: Remove packet 68244 [19:12:54]ProducePacketName [19:12:54]name=ofd_packets/00068244 [19:12:54]NVStorageDeleteData [19:12:55]OFD Sender: No OFD packet to send [19:12:55]*** Cut start [19:12:55]*** Partial cut [19:12:55]*** CUTSNS_PIN = 1 [19:12:55]*** CUTSNS_PIN = 0 [19:12:55]*** Brake cut motor [19:12:56]Read from MH i2c: 01 [19:12:56]MH_I2C_Read... [19:12:56]*** Stop cut motor [19:12:56]*** Cut end [19:12:56]Read from MH i2c: 01 07 00 [19:12:56]MH_I2C_Read... [19:12:56]Read from MH i2c: 01 07 00 1E 06 00 00 00 00 00 FF 0F 39 [19:12:56]process_action close_receipt done [19:12:56]requested_data is exist [19:12:56]produce_requested_data [19:12:56]requested_item fm.sn is exist - process it [19:12:56]wFMCommunicate request_size=4 [19:12:56]MH_SAM_APDU [19:12:56]CAPDU: 80 11 00 00 [19:12:56]Write to MH i2c: E2 08 00 1F 06 80 11 00 00 00 00 00 00 9F [19:12:56]Write i2c OK [19:12:56]MH_I2C_Read... [19:12:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:12:56]Read from MH i2c: E2 [19:12:56]MH_I2C_Read... [19:12:56]Read from MH i2c: E2 17 00 [19:12:56]MH_I2C_Read... [19:12:56]Read from MH i2c: E2 17 00 1F 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 F6 [19:12:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:12:56]wFMCommunicate OK [19:12:56]requested_item fd.num is exist - process it [19:12:56]SAM_PROTO_GetFieldsCounters [19:12:56]wFMCommunicate request_size=4 [19:12:56]MH_SAM_APDU [19:12:56]CAPDU: 80 13 00 00 [19:12:56]Write to MH i2c: E2 08 00 20 06 80 13 00 00 00 00 00 00 A2 [19:12:56]Write i2c OK [19:12:56]MH_I2C_Read... [19:12:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:12:56]Read from MH i2c: E2 [19:12:56]MH_I2C_Read... [19:12:56]Read from MH i2c: E2 62 00 [19:12:56]MH_I2C_Read... [19:12:56]Read from MH i2c: E2 62 00 20 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 94 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 95 00 00 00 5E 04 04 00 95 00 00 00 57 04 04 00 96 00 00 00 19 04 04 00 00 00 00 00 90 00 50 [19:12:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 94 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 95 00 00 00 5E 04 04 00 95 00 00 00 57 04 04 00 96 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:12:56]wFMCommunicate OK [19:12:56]SAM_PROTO_GetFieldsCounters done [19:12:56]requested_item shift.num is exist - process it [19:12:56]requested_item shift.opened is exist - process it [19:12:56]req_shift_opened [19:12:56]FM_GetShiftState [19:12:56]SAM_PROTO_GetShiftState [19:12:56]wFMCommunicate request_size=4 [19:12:56]MH_SAM_APDU [19:12:56]CAPDU: 80 13 01 00 [19:12:56]Write to MH i2c: E2 08 00 21 06 80 13 01 00 00 00 00 00 A4 [19:12:56]Write i2c OK [19:12:56]MH_I2C_Read... [19:12:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:12:56]Read from MH i2c: E2 [19:12:56]MH_I2C_Read... [19:12:56]Read from MH i2c: E2 0E 00 [19:12:56]MH_I2C_Read... [19:12:56]Read from MH i2c: E2 0E 00 21 06 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 9F [19:12:56]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:12:56]wFMCommunicate OK [19:12:56]SAM_PROTO_GetShiftState done [19:12:56]FM_GetShiftState done [19:12:56]req_shift_opened done [19:12:56]requested_item shift.open_date is exist - process it [19:12:56]req_shift_open_date [19:12:56]req_shift_open_date done [19:12:56]produce_requested_data done [19:12:56]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68244,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [19:12:56]process_action_free close_receipt [19:12:56]json_value_free [19:12:56]json_value_free done [19:12:56]process_json_proto returns [19:12:56]Send response to host [19:12:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68244,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [19:12:56]free response buf [19:12:56]execute_script done [19:12:56]execute_script returns [19:12:56]free content buf [19:12:56]Sock 7.Close socket [19:12:56]Sock 7.Thread stoped [19:13:00]OFD Sender: No OFD packet to send [19:13:05]OFD Sender: No OFD packet to send [19:13:10]OFD Sender: No OFD packet to send [19:13:15]OFD Sender: No OFD packet to send [19:13:20]OFD Sender: No OFD packet to send [19:13:25]OFD Sender: No OFD packet to send [19:13:30]OFD Sender: No OFD packet to send [19:13:35]OFD Sender: No OFD packet to send [19:13:40]OFD Sender: No OFD packet to send [19:13:45]OFD Sender: No OFD packet to send [19:13:50]OFD Sender: No OFD packet to send [19:13:55]OFD Sender: No OFD packet to send [19:14:00]OFD Sender: No OFD packet to send [19:14:05]OFD Sender: No OFD packet to send [19:14:10]OFD Sender: No OFD packet to send [19:14:15]OFD Sender: No OFD packet to send [19:14:20]OFD Sender: No OFD packet to send [19:14:25]OFD Sender: No OFD packet to send [19:14:30]OFD Sender: No OFD packet to send [19:14:35]OFD Sender: No OFD packet to send [19:14:40]OFD Sender: No OFD packet to send [19:14:45]OFD Sender: No OFD packet to send [19:14:50]OFD Sender: No OFD packet to send [19:14:55]OFD Sender: No OFD packet to send [19:15:00]OFD Sender: No OFD packet to send [19:15:05]OFD Sender: No OFD packet to send [19:15:10]OFD Sender: No OFD packet to send [19:15:15]OFD Sender: No OFD packet to send [19:15:20]OFD Sender: No OFD packet to send [19:15:25]OFD Sender: No OFD packet to send [19:15:30]OFD Sender: No OFD packet to send [19:15:35]OFD Sender: No OFD packet to send [19:15:40]OFD Sender: No OFD packet to send [19:15:45]OFD Sender: No OFD packet to send [19:15:50]OFD Sender: No OFD packet to send [19:15:55]OFD Sender: No OFD packet to send [19:16:00]OFD Sender: No OFD packet to send [19:16:05]OFD Sender: No OFD packet to send [19:16:10]OFD Sender: No OFD packet to send [19:16:15]OFD Sender: No OFD packet to send [19:16:20]OFD Sender: No OFD packet to send [19:16:25]OFD Sender: No OFD packet to send [19:16:30]OFD Sender: No OFD packet to send [19:16:35]OFD Sender: No OFD packet to send [19:16:40]OFD Sender: No OFD packet to send [19:16:45]OFD Sender: No OFD packet to send [19:16:50]OFD Sender: No OFD packet to send [19:16:55]OFD Sender: No OFD packet to send [19:17:00]OFD Sender: No OFD packet to send [19:17:05]OFD Sender: No OFD packet to send [19:17:10]OFD Sender: No OFD packet to send [19:17:15]OFD Sender: No OFD packet to send [19:17:20]OFD Sender: No OFD packet to send [19:17:25]OFD Sender: No OFD packet to send [19:17:30]OFD Sender: No OFD packet to send [19:17:35]OFD Sender: No OFD packet to send [19:17:40]OFD Sender: No OFD packet to send [19:17:45]OFD Sender: No OFD packet to send [19:17:50]OFD Sender: No OFD packet to send [19:17:55]OFD Sender: No OFD packet to send [19:18:00]OFD Sender: No OFD packet to send [19:18:05]OFD Sender: No OFD packet to send [19:18:10]OFD Sender: No OFD packet to send [19:18:15]OFD Sender: No OFD packet to send [19:18:20]OFD Sender: No OFD packet to send [19:18:25]OFD Sender: No OFD packet to send [19:18:30]OFD Sender: No OFD packet to send [19:18:35]OFD Sender: No OFD packet to send [19:18:40]OFD Sender: No OFD packet to send [19:18:45]OFD Sender: No OFD packet to send [19:18:50]OFD Sender: No OFD packet to send [19:18:55]OFD Sender: No OFD packet to send [19:19:00]OFD Sender: No OFD packet to send [19:19:05]OFD Sender: No OFD packet to send [19:19:10]OFD Sender: No OFD packet to send [19:19:15]OFD Sender: No OFD packet to send [19:19:18]accept exits with 9 [19:19:18]New connection [19:19:18]New thread 3067354468 created [19:19:18]Thread 3067497828 joined [19:19:18]Waiting for new connection... [19:19:18] Sock 9.Parse request [19:19:18]Sock 9.Check first char [19:19:18]Sock 9.First char is OK [19:19:18]request: POST /json_proto HTTP/1.0 [19:19:18]Method: POST [19:19:18]URL: /json_proto [19:19:18]Method is POST - this is cgi request [19:19:18]url: /json_proto [19:19:18]query_string will be loaded in cgi processing [19:19:18]execute_cgi json_proto POST (null) [19:19:18]execute_cgi path=json_proto method=POST [19:19:18]POST find Content-Length [19:19:18]Host: 172.17.42.3:8080 [19:19:18]Content-Length: 768 [19:19:18]Content-Type: application/json [19:19:18] [19:19:18]POST finish read [19:19:18]Found Content-Length = 768 [19:19:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46288", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "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: Mbank", "payments": [ { "type": 1, "sum" : 1000.22 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:19:18]execute_script... [19:19: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 : (1)46288", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 13.480, "sum" : 1000.22, "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: Mbank", "payments": [ { "type": 1, "sum" : 1000.22 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:19:18]POST & json_proto [19:19:18]process_json_proto [19:19:18]json parsed OK: [19:19:18]protocol is kg_v1.0 [19:19:18]action value=close_receipt [19:19:18]process_action close_receipt [19:19:18]cmd_close_receipt [19:19:18]MH_GetDate [19:19:18]Write to MH i2c: F0 00 00 22 06 17 [19:19:18]Write i2c OK [19:19:18]MH_I2C_Read... [19:19:18]Read from MH i2c: F0 [19:19:18]MH_I2C_Read... [19:19:18]Read from MH i2c: F0 09 00 [19:19:18]MH_I2C_Read... [19:19:18]Read from MH i2c: F0 09 00 22 06 00 B6 E3 1F 67 0E CB 1F 67 9E [19:19:18]GetLastDocTimeStamp 1730142772 [19:19:18]current date 1730143158 [19:19:18]FM_GetShiftState [19:19:18]SAM_PROTO_GetShiftState [19:19:18]wFMCommunicate request_size=4 [19:19:18]MH_SAM_APDU [19:19:18]CAPDU: 80 13 01 00 [19:19:18]Write to MH i2c: E2 08 00 23 06 80 13 01 00 00 00 00 00 A6 [19:19:18]Write i2c OK [19:19:18]MH_I2C_Read... [19:19:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:19:18]Read from MH i2c: E2 [19:19:18]MH_I2C_Read... [19:19:18]Read from MH i2c: E2 0E 00 [19:19:18]MH_I2C_Read... [19:19:18]Read from MH i2c: E2 0E 00 23 06 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 A1 [19:19:18]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:19:18]wFMCommunicate OK [19:19:18]SAM_PROTO_GetShiftState done [19:19:18]FM_GetShiftState done [19:19:18]opened in 1730074770 [19:19:18]opened+sec_in_day 1730161170 [19:19:18]quantity*price = 100021 [19:19:18]sum+1 = 100023 [19:19:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.22 НСП 1% : 8.85 НДС 12% : 106.22 Наличными: 0.00 Безнал.: 1000.22 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 150 28.10.2024 19:19 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68245 ФПД: 278390700590413 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T191918&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68245&fm=278390700590413&tin=02508201610067®Number=0000000000091759&sum=100022 [19:19:19]StoreToDocumentArchive [19:19:19]shift 547 fd 68245 [19:19:19]save to /storage/0547/doc_00068245 [19:19:19]save last doc name /storage/0547/doc_00068245 to /storage/kkm_last_doc_name [19:19:19]save OK [19:19:19]Clear old archive folders... [19:19:19]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:19:19]tlvbuf is 005E9C70 [19:19:19]SAM_PROTO_ClearQueue [19:19:19]wFMCommunicate request_size=4 [19:19:19]MH_SAM_APDU [19:19:19]CAPDU: 80 09 00 00 [19:19:19]Write to MH i2c: E2 08 00 30 06 80 09 00 00 00 00 00 00 A8 [19:19:19]Write i2c OK [19:19:19]MH_I2C_Read... [19:19:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:19:19]Read from MH i2c: E2 [19:19:19]MH_I2C_Read... [19:19:19]Read from MH i2c: E2 03 00 [19:19:19]MH_I2C_Read... [19:19:19]Read from MH i2c: E2 03 00 30 06 00 90 00 AA [19:19:19]RAPDU: 90 00 [19:19:19]wFMCommunicate OK [19:19:19]SAM_PROTO_ClearQueue done [19:19:19]KKMCreateOFDPacket [19:19:19]OFDProtocolAddRootSTLVToBuf [19:19:19]FM_MakeSignedData [19:19:19]FM_MakeSignedData [19:19:19]SAM_PROTO_SignData [19:19:19]wFMCommunicate request_size=4 [19:19:19]MH_SAM_APDU [19:19:19]CAPDU: 80 0D 01 02 [19:19:19]Write to MH i2c: E2 08 00 31 06 80 0D 01 02 00 00 00 00 B0 [19:19:19]Write i2c OK [19:19:19]MH_I2C_Read... [19:19:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:19:19]Read from MH i2c: E2 [19:19:19]MH_I2C_Read... [19:19:19]Read from MH i2c: E2 03 00 [19:19:19]MH_I2C_Read... [19:19:19]Read from MH i2c: E2 03 00 31 06 00 90 00 AB [19:19:19]RAPDU: 90 00 [19:19:19]wFMCommunicate OK [19:19:19]wFMCommunicate request_size=255 [19:19:19]MH_SAM_APDU [19:19:19]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B6 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B6 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 96 00 00 00 F4 03 04 00 B6 E3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 95 0A 01 00 35 04 06 00 FD [19:19:19]Write to MH i2c: E2 02 01 32 06 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B6 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B6 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 96 00 00 00 F4 03 04 00 B6 E3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 95 0A 01 00 35 04 06 00 FD 00 00 07 [19:19:19]Write i2c OK [19:19:19]MH_I2C_Read... [19:19:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:19:19]Read from MH i2c: E2 [19:19:19]MH_I2C_Read... [19:19:19]Read from MH i2c: E2 03 00 [19:19:19]MH_I2C_Read... [19:19:19]Read from MH i2c: E2 03 00 32 06 00 90 00 AC [19:19:19]RAPDU: 90 00 [19:19:19]wFMCommunicate OK [19:19:19]wFMCommunicate request_size=10 [19:19:19]MH_SAM_APDU [19:19:19]CAPDU: 80 0D 02 02 05 31 E2 D1 45 4D [19:19:19]Write to MH i2c: E2 0D 00 33 06 80 0D 02 02 05 00 31 E2 D1 45 4D 00 00 33 [19:19:19]Write i2c OK [19:19:19]MH_I2C_Read... [19:19:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:19:19]Read from MH i2c: E2 [19:19:19]MH_I2C_Read... [19:19:19]Read from MH i2c: E2 03 00 [19:19:19]MH_I2C_Read... [19:19:19]Read from MH i2c: E2 03 00 33 06 00 90 00 AD [19:19:19]RAPDU: 90 00 [19:19:19]wFMCommunicate OK [19:19:19]wFMCommunicate request_size=4 [19:19:19]MH_SAM_APDU [19:19:19]CAPDU: 80 0D 03 02 [19:19:19]Write to MH i2c: E2 08 00 34 06 80 0D 03 02 00 00 00 00 B5 [19:19:19]Write i2c OK [19:19:19]MH_I2C_Read... [19:19:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:19:20]Read from MH i2c: E2 [19:19:20]MH_I2C_Read... [19:19:20]Read from MH i2c: E2 0B 00 [19:19:20]MH_I2C_Read... [19:19:20]Read from MH i2c: E2 0B 00 34 06 00 B4 17 59 73 41 8A C6 60 90 00 3E [19:19:20]RAPDU: B4 17 59 73 41 8A C6 60 90 00 [19:19:20]wFMCommunicate OK [19:19:20]SAM_PROTO_SignData done [19:19:20]FM_MakeSignedData done [19:19:20]CreateOFDProtocolMessage [19:19:20]wFMCommunicate request_size=4 [19:19:20]MH_SAM_APDU [19:19:20]CAPDU: 80 11 00 00 [19:19:20]Write to MH i2c: E2 08 00 35 06 80 11 00 00 00 00 00 00 B5 [19:19:20]Write i2c OK [19:19:20]MH_I2C_Read... [19:19:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:19:20]Read from MH i2c: E2 [19:19:20]MH_I2C_Read... [19:19:20]Read from MH i2c: E2 17 00 [19:19:20]MH_I2C_Read... [19:19:20]Read from MH i2c: E2 17 00 35 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 0C [19:19:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:19:20]wFMCommunicate OK [19:19:20]CreateOFDProtocolMessage done [19:19:20]OFDSenderStorePacket 68245 [19:19:20]StoreOFDPacket docnum=68245 [19:19:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 A7 69 07 01 E1 FB 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B6 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B6 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 96 00 00 00 F4 03 04 00 B6 E3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 95 0A 01 00 35 04 06 00 FD 31 E2 D1 45 4D B4 17 59 73 41 8A C6 60 [19:19:20]CheckFolder [19:19:20]dirname=/storage/ofd_packets [19:19:20]CheckFolder done [19:19:20]ProducePacketName [19:19:20]name=ofd_packets/00068245 [19:19:20]NVStorageSaveData ofd_packets/00068245 [19:19:20]File name is /storage/ofd_packets/00068245 [19:19:20]Write 301 bytes [19:19:20]NVStorageSaveData done [19:19:20]OFDSenderStorePacket done [19:19:20]KKMCreateOFDPacket done [19:19:20]NVStorageSaveData kkm_last_timestamp [19:19:20]File name is /storage/kkm_last_timestamp [19:19:20]Write 4 bytes [19:19:20]NVStorageSaveData done [19:19:20]ExternCall_PrintAddStr [19:19:20]wPrintStart [19:19:20]Write to MH i2c: 01 00 00 36 06 3C [19:19:20]Write i2c OK [19:19:20]MH_I2C_Read... [19:19:20]Read from MH i2c: 01 [19:19:20]MH_I2C_Read... [19:19:20]Read from MH i2c: 01 07 00 [19:19:20]MH_I2C_Read... [19:19:20]Read from MH i2c: 01 07 00 36 06 00 00 00 00 00 FF 0F 51 [19:19:20]RasterBufferAndPrint [19:19:20]line Счет N : (1)46288 [19:19:20]line ИНН: 02508201610067 [19:19:20]line Контрольно-Кассовый Чек [19:19:20]line ПРОДАЖА [19:19:20]line ТРК (МРК, ГНК) : 24 [19:19:20]line Товар: 2710124500 [19:19:20]line Аи-95-К-3 [19:19:20]line 13.480 * 74.20 [19:19:20]line = 1000.22 [19:19:20]line НДС 12% НСП 1% [19:19:20]line > о реализуемом товаре [19:19:20]line ИТОГО: 1000.22 [19:19:20]line НСП 1% : 8.85 [19:19:20]line НДС 12% : 106.22 [19:19:20]line Наличными: 0.00 [19:19:20]line Безнал.: 1000.22 [19:19:20]line Место: АЗС № 160 "Партнер Нефть" [19:19:20]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:19:20]line СНО: Общий режим [19:19:20]line Чек 150 28.10.2024 19:19 [19:19:20]line Смена: 547 ФФД: 1.0 [19:19:20]line ЗНМ: 0300000093 [19:19:20]line РНМ: 0000000000091759 [19:19:20]line Версия ККМ: 001 [19:19:20]line Платежная система: Mbank [19:19:20]line ФМ: 0000000000871758 [19:19:20]line ФД: 68245 [19:19:20]line ФПД: 278390700590413 [19:19:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T191918&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68245&fm=278390700590413&tin=02508201610067®Number=0000000000091759&sum=100022 [19:19:20]written 0, free lines is 4095 [19:19:20]OFD Sender: Processing packet 68245 [packets to send 27, broken 26] [19:19:20]ProducePacketName [19:19:20]name=ofd_packets/00068245 [19:19:20]OFD Sender: To server: pG, [19:19:20]CommunicateWithHost lk.salyk.kg:30040 [19:19:20]ConnectInit lk.salyk.kg [19:19:20]Write to MH i2c: 01 00 00 5E 06 64 [19:19:20]Write i2c OK [19:19:20]MH_I2C_Read... [19:19:20]Read from MH i2c: 01 [19:19:20]MH_I2C_Read... [19:19:20]Read from MH i2c: 01 07 00 [19:19:20]MH_I2C_Read... [19:19:20]Read from MH i2c: 01 07 00 5E 06 00 00 00 00 00 E9 0C 60 [19:19:20]RasterBufferAndPrint [19:19:20]line [19:19:20]line [19:19:20]line [19:19:20]line [19:19:20]line [19:19:20]written 0, free lines is 3310 [19:19:20]MH_Cut [19:19:20]Write to MH i2c: D1 01 00 65 06 01 3D [19:19:20]Write i2c OK [19:19:20]MH_I2C_Read... [19:19:20]Read from MH i2c: D1 [19:19:20]MH_I2C_Read... [19:19:20]Read from MH i2c: D1 01 00 [19:19:20]MH_I2C_Read... [19:19:20]Read from MH i2c: D1 01 00 65 06 00 3C [19:19:20]Write to MH i2c: 01 00 00 66 06 6C [19:19:20]Write i2c OK [19:19:20]MH_I2C_Read... [19:19:20]Connected sock=10 [19:19:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 A7 69 07 01 E1 FB 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 A8 34 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 B6 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B6 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B6 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 96 00 00 00 F4 03 04 00 B6 E3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 95 0A 01 00 35 04 06 00 FD 31 E2 D1 45 4D B4 17 59 73 41 8A C6 60 [19:19:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 79 E4 47 00 8D 5D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 95 0A 01 00 F4 03 04 00 96 8F 1F 67 B6 04 01 00 00 29 51 7D C9 00 F9 5C 59 [19:19:20]CommunicateWithHost err = 0 [19:19:20]CheckOFDResponse [19:19:20]1017 (14) - 77093643461234 [19:19:20]1041 (16) - 0000000000871758 [19:19:20]1040 (4) - 68245 [19:19:20]1012 (4) - 28.10.2024 13:20 [19:19:20]1206 (1) - 0 [19:19:20]OFD Sender: Remove packet 68245 [19:19:20]ProducePacketName [19:19:20]name=ofd_packets/00068245 [19:19:20]NVStorageDeleteData [19:19:21]OFD Sender: No OFD packet to send [19:19:21]*** Cut start [19:19:21]*** Partial cut [19:19:21]*** CUTSNS_PIN = 1 [19:19:21]*** CUTSNS_PIN = 0 [19:19:21]*** Brake cut motor [19:19:21]Read from MH i2c: 01 [19:19:21]MH_I2C_Read... [19:19:21]*** Stop cut motor [19:19:21]*** Cut end [19:19:21]Read from MH i2c: 01 07 00 [19:19:21]MH_I2C_Read... [19:19:21]Read from MH i2c: 01 07 00 66 06 00 00 00 00 00 FF 0F 81 [19:19:21]process_action close_receipt done [19:19:21]requested_data is exist [19:19:21]produce_requested_data [19:19:21]requested_item fm.sn is exist - process it [19:19:21]wFMCommunicate request_size=4 [19:19:21]MH_SAM_APDU [19:19:21]CAPDU: 80 11 00 00 [19:19:21]Write to MH i2c: E2 08 00 67 06 80 11 00 00 00 00 00 00 E7 [19:19:21]Write i2c OK [19:19:21]MH_I2C_Read... [19:19:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:19:21]Read from MH i2c: E2 [19:19:21]MH_I2C_Read... [19:19:21]Read from MH i2c: E2 17 00 [19:19:21]MH_I2C_Read... [19:19:21]Read from MH i2c: E2 17 00 67 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 3E [19:19:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:19:21]wFMCommunicate OK [19:19:21]requested_item fd.num is exist - process it [19:19:21]SAM_PROTO_GetFieldsCounters [19:19:21]wFMCommunicate request_size=4 [19:19:21]MH_SAM_APDU [19:19:21]CAPDU: 80 13 00 00 [19:19:21]Write to MH i2c: E2 08 00 68 06 80 13 00 00 00 00 00 00 EA [19:19:21]Write i2c OK [19:19:21]MH_I2C_Read... [19:19:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:19:22]Read from MH i2c: E2 [19:19:22]MH_I2C_Read... [19:19:22]Read from MH i2c: E2 62 00 [19:19:22]MH_I2C_Read... [19:19:22]Read from MH i2c: E2 62 00 68 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 95 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 96 00 00 00 5E 04 04 00 96 00 00 00 57 04 04 00 97 00 00 00 19 04 04 00 00 00 00 00 90 00 9C [19:19:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 95 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 96 00 00 00 5E 04 04 00 96 00 00 00 57 04 04 00 97 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:19:22]wFMCommunicate OK [19:19:22]SAM_PROTO_GetFieldsCounters done [19:19:22]requested_item shift.num is exist - process it [19:19:22]requested_item shift.opened is exist - process it [19:19:22]req_shift_opened [19:19:22]FM_GetShiftState [19:19:22]SAM_PROTO_GetShiftState [19:19:22]wFMCommunicate request_size=4 [19:19:22]MH_SAM_APDU [19:19:22]CAPDU: 80 13 01 00 [19:19:22]Write to MH i2c: E2 08 00 69 06 80 13 01 00 00 00 00 00 EC [19:19:22]Write i2c OK [19:19:22]MH_I2C_Read... [19:19:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:19:22]Read from MH i2c: E2 [19:19:22]MH_I2C_Read... [19:19:22]Read from MH i2c: E2 0E 00 [19:19:22]MH_I2C_Read... [19:19:22]Read from MH i2c: E2 0E 00 69 06 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 E7 [19:19:22]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:19:22]wFMCommunicate OK [19:19:22]SAM_PROTO_GetShiftState done [19:19:22]FM_GetShiftState done [19:19:22]req_shift_opened done [19:19:22]requested_item shift.open_date is exist - process it [19:19:22]req_shift_open_date [19:19:22]req_shift_open_date done [19:19:22]produce_requested_data done [19:19:22]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68245,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [19:19:22]process_action_free close_receipt [19:19:22]json_value_free [19:19:22]json_value_free done [19:19:22]process_json_proto returns [19:19:22]Send response to host [19:19:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68245,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [19:19:22]free response buf [19:19:22]execute_script done [19:19:22]execute_script returns [19:19:22]free content buf [19:19:22]Sock 9.Close socket [19:19:22]Sock 9.Thread stoped [19:19:26]OFD Sender: No OFD packet to send [19:19:31]OFD Sender: No OFD packet to send [19:19:36]OFD Sender: No OFD packet to send [19:19:41]OFD Sender: No OFD packet to send [19:19:46]OFD Sender: No OFD packet to send [19:19:51]OFD Sender: No OFD packet to send [19:19:56]OFD Sender: No OFD packet to send [19:20:01]OFD Sender: No OFD packet to send [19:20:06]OFD Sender: No OFD packet to send [19:20:11]OFD Sender: No OFD packet to send [19:20:16]OFD Sender: No OFD packet to send [19:20:21]OFD Sender: No OFD packet to send [19:20:26]OFD Sender: No OFD packet to send [19:20:31]OFD Sender: No OFD packet to send [19:20:36]OFD Sender: No OFD packet to send [19:20:41]OFD Sender: No OFD packet to send [19:20:46]OFD Sender: No OFD packet to send [19:20:51]OFD Sender: No OFD packet to send [19:20:56]OFD Sender: No OFD packet to send [19:21:01]OFD Sender: No OFD packet to send [19:21:06]OFD Sender: No OFD packet to send [19:21:11]OFD Sender: No OFD packet to send [19:21:16]OFD Sender: No OFD packet to send [19:21:21]OFD Sender: No OFD packet to send [19:21:26]OFD Sender: No OFD packet to send [19:21:31]OFD Sender: No OFD packet to send [19:21:36]OFD Sender: No OFD packet to send [19:21:41]OFD Sender: No OFD packet to send [19:21:46]OFD Sender: No OFD packet to send [19:21:51]OFD Sender: No OFD packet to send [19:21:56]OFD Sender: No OFD packet to send [19:22:01]OFD Sender: No OFD packet to send [19:22:06]OFD Sender: No OFD packet to send [19:22:11]OFD Sender: No OFD packet to send [19:22:16]OFD Sender: No OFD packet to send [19:22:21]OFD Sender: No OFD packet to send [19:22:26]OFD Sender: No OFD packet to send [19:22:31]OFD Sender: No OFD packet to send [19:22:36]OFD Sender: No OFD packet to send [19:22:41]OFD Sender: No OFD packet to send [19:22:46]OFD Sender: No OFD packet to send [19:22:51]OFD Sender: No OFD packet to send [19:22:56]OFD Sender: No OFD packet to send [19:23:01]OFD Sender: No OFD packet to send [19:23:06]OFD Sender: No OFD packet to send [19:23:11]OFD Sender: No OFD packet to send [19:23:16]OFD Sender: No OFD packet to send [19:23:21]OFD Sender: No OFD packet to send [19:23:26]OFD Sender: No OFD packet to send [19:23:31]OFD Sender: No OFD packet to send [19:23:36]OFD Sender: No OFD packet to send [19:23:41]OFD Sender: No OFD packet to send [19:23:46]OFD Sender: No OFD packet to send [19:23:51]OFD Sender: No OFD packet to send [19:23:56]OFD Sender: No OFD packet to send [19:24:01]OFD Sender: No OFD packet to send [19:24:06]OFD Sender: No OFD packet to send [19:24:11]OFD Sender: No OFD packet to send [19:24:16]OFD Sender: No OFD packet to send [19:24:21]OFD Sender: No OFD packet to send [19:24:26]OFD Sender: No OFD packet to send [19:24:31]OFD Sender: No OFD packet to send [19:24:36]OFD Sender: No OFD packet to send [19:24:41]OFD Sender: No OFD packet to send [19:24:46]OFD Sender: No OFD packet to send [19:24:51]OFD Sender: No OFD packet to send [19:24:56]OFD Sender: No OFD packet to send [19:25:01]OFD Sender: No OFD packet to send [19:25:06]OFD Sender: No OFD packet to send [19:25:11]OFD Sender: No OFD packet to send [19:25:16]OFD Sender: No OFD packet to send [19:25:21]OFD Sender: No OFD packet to send [19:25:26]OFD Sender: No OFD packet to send [19:25:31]OFD Sender: No OFD packet to send [19:25:36]OFD Sender: No OFD packet to send [19:25:41]OFD Sender: No OFD packet to send [19:25:46]OFD Sender: No OFD packet to send [19:25:51]OFD Sender: No OFD packet to send [19:25:56]OFD Sender: No OFD packet to send [19:26:01]OFD Sender: No OFD packet to send [19:26:06]OFD Sender: No OFD packet to send [19:26:11]OFD Sender: No OFD packet to send [19:26:16]OFD Sender: No OFD packet to send [19:26:21]OFD Sender: No OFD packet to send [19:26:26]OFD Sender: No OFD packet to send [19:26:31]OFD Sender: No OFD packet to send [19:26:36]OFD Sender: No OFD packet to send [19:26:41]OFD Sender: No OFD packet to send [19:26:46]OFD Sender: No OFD packet to send [19:26:51]OFD Sender: No OFD packet to send [19:26:56]OFD Sender: No OFD packet to send [19:27:01]OFD Sender: No OFD packet to send [19:27:06]OFD Sender: No OFD packet to send [19:27:11]OFD Sender: No OFD packet to send [19:27:16]OFD Sender: No OFD packet to send [19:27:21]OFD Sender: No OFD packet to send [19:27:26]OFD Sender: No OFD packet to send [19:27:31]OFD Sender: No OFD packet to send [19:27:36]OFD Sender: No OFD packet to send [19:27:41]OFD Sender: No OFD packet to send [19:27:46]OFD Sender: No OFD packet to send [19:27:51]OFD Sender: No OFD packet to send [19:27:56]OFD Sender: No OFD packet to send [19:28:01]OFD Sender: No OFD packet to send [19:28:06]OFD Sender: No OFD packet to send [19:28:11]OFD Sender: No OFD packet to send [19:28:16]OFD Sender: No OFD packet to send [19:28:21]OFD Sender: No OFD packet to send [19:28:26]OFD Sender: No OFD packet to send [19:28:31]OFD Sender: No OFD packet to send [19:28:36]OFD Sender: No OFD packet to send [19:28:41]OFD Sender: No OFD packet to send [19:28:46]OFD Sender: No OFD packet to send [19:28:51]OFD Sender: No OFD packet to send [19:28:56]OFD Sender: No OFD packet to send [19:29:01]OFD Sender: No OFD packet to send [19:29:06]OFD Sender: No OFD packet to send [19:29:11]OFD Sender: No OFD packet to send [19:29:16]OFD Sender: No OFD packet to send [19:29:21]OFD Sender: No OFD packet to send [19:29:26]OFD Sender: No OFD packet to send [19:29:31]OFD Sender: No OFD packet to send [19:29:36]OFD Sender: No OFD packet to send [19:29:41]OFD Sender: No OFD packet to send [19:29:46]OFD Sender: No OFD packet to send [19:29:51]OFD Sender: No OFD packet to send [19:29:56]OFD Sender: No OFD packet to send [19:30:01]OFD Sender: No OFD packet to send [19:30:06]OFD Sender: No OFD packet to send [19:30:11]OFD Sender: No OFD packet to send [19:30:16]OFD Sender: No OFD packet to send [19:30:21]OFD Sender: No OFD packet to send [19:30:26]OFD Sender: No OFD packet to send [19:30:31]OFD Sender: No OFD packet to send [19:30:36]OFD Sender: No OFD packet to send [19:30:41]OFD Sender: No OFD packet to send [19:30:46]OFD Sender: No OFD packet to send [19:30:51]OFD Sender: No OFD packet to send [19:30:56]OFD Sender: No OFD packet to send [19:31:01]OFD Sender: No OFD packet to send [19:31:06]OFD Sender: No OFD packet to send [19:31:11]OFD Sender: No OFD packet to send [19:31:16]OFD Sender: No OFD packet to send [19:31:21]OFD Sender: No OFD packet to send [19:31:26]OFD Sender: No OFD packet to send [19:31:31]OFD Sender: No OFD packet to send [19:31:36]OFD Sender: No OFD packet to send [19:31:41]OFD Sender: No OFD packet to send [19:31:46]OFD Sender: No OFD packet to send [19:31:51]OFD Sender: No OFD packet to send [19:31:56]OFD Sender: No OFD packet to send [19:32:01]OFD Sender: No OFD packet to send [19:32:06]OFD Sender: No OFD packet to send [19:32:11]OFD Sender: No OFD packet to send [19:32:16]OFD Sender: No OFD packet to send [19:32:21]OFD Sender: No OFD packet to send [19:32:26]OFD Sender: No OFD packet to send [19:32:31]OFD Sender: No OFD packet to send [19:32:36]OFD Sender: No OFD packet to send [19:32:41]OFD Sender: No OFD packet to send [19:32:46]OFD Sender: No OFD packet to send [19:32:51]OFD Sender: No OFD packet to send [19:32:56]OFD Sender: No OFD packet to send [19:33:01]OFD Sender: No OFD packet to send [19:33:06]OFD Sender: No OFD packet to send [19:33:11]OFD Sender: No OFD packet to send [19:33:16]OFD Sender: No OFD packet to send [19:33:21]OFD Sender: No OFD packet to send [19:33:26]OFD Sender: No OFD packet to send [19:33:31]OFD Sender: No OFD packet to send [19:33:36]OFD Sender: No OFD packet to send [19:33:41]OFD Sender: No OFD packet to send [19:33:46]OFD Sender: No OFD packet to send [19:33:52]OFD Sender: No OFD packet to send [19:33:57]OFD Sender: No OFD packet to send [19:34:02]OFD Sender: No OFD packet to send [19:34:07]OFD Sender: No OFD packet to send [19:34:12]OFD Sender: No OFD packet to send [19:34:17]OFD Sender: No OFD packet to send [19:34:22]OFD Sender: No OFD packet to send [19:34:27]OFD Sender: No OFD packet to send [19:34:32]OFD Sender: No OFD packet to send [19:34:37]OFD Sender: No OFD packet to send [19:34:42]OFD Sender: No OFD packet to send [19:34:47]OFD Sender: No OFD packet to send [19:34:52]OFD Sender: No OFD packet to send [19:34:57]OFD Sender: No OFD packet to send [19:35:02]OFD Sender: No OFD packet to send [19:35:07]OFD Sender: No OFD packet to send [19:35:12]OFD Sender: No OFD packet to send [19:35:17]OFD Sender: No OFD packet to send [19:35:22]OFD Sender: No OFD packet to send [19:35:27]OFD Sender: No OFD packet to send [19:35:32]OFD Sender: No OFD packet to send [19:35:37]OFD Sender: No OFD packet to send [19:35:42]OFD Sender: No OFD packet to send [19:35:47]OFD Sender: No OFD packet to send [19:35:52]OFD Sender: No OFD packet to send [19:35:57]OFD Sender: No OFD packet to send [19:36:02]OFD Sender: No OFD packet to send [19:36:07]OFD Sender: No OFD packet to send [19:36:12]OFD Sender: No OFD packet to send [19:36:17]OFD Sender: No OFD packet to send [19:36:22]OFD Sender: No OFD packet to send [19:36:27]OFD Sender: No OFD packet to send [19:36:29]accept exits with 7 [19:36:29]New connection [19:36:29]New thread 3067497828 created [19:36:29]Thread 3067354468 joined [19:36:29]Waiting for new connection... [19:36:29] Sock 7.Parse request [19:36:29]Sock 7.Check first char [19:36:29]Sock 7.First char is OK [19:36:29]request: POST /json_proto HTTP/1.0 [19:36:29]Method: POST [19:36:29]URL: /json_proto [19:36:29]Method is POST - this is cgi request [19:36:29]url: /json_proto [19:36:29]query_string will be loaded in cgi processing [19:36:29]execute_cgi json_proto POST (null) [19:36:29]execute_cgi path=json_proto method=POST [19:36:29]POST find Content-Length [19:36:29]Host: 172.17.42.3:8080 [19:36:29]Content-Length: 620 [19:36:29]Content-Type: application/json [19:36:29] [19:36:29]POST finish read [19:36:29]Found Content-Length = 620 [19:36:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17196", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:36:29]execute_script... [19:36: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)17196", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:36:29]POST & json_proto [19:36:29]process_json_proto [19:36:29]json parsed OK: [19:36:29]protocol is kg_v1.0 [19:36:29]action value=close_receipt [19:36:29]process_action close_receipt [19:36:29]cmd_close_receipt [19:36:29]MH_GetDate [19:36:29]Write to MH i2c: F0 00 00 6A 06 5F [19:36:29]Write i2c OK [19:36:29]MH_I2C_Read... [19:36:29]Read from MH i2c: F0 [19:36:29]MH_I2C_Read... [19:36:29]Read from MH i2c: F0 09 00 [19:36:29]MH_I2C_Read... [19:36:29]Read from MH i2c: F0 09 00 6A 06 00 BD E7 1F 67 0E CB 1F 67 F1 [19:36:29]GetLastDocTimeStamp 1730143158 [19:36:29]current date 1730144189 [19:36:29]FM_GetShiftState [19:36:29]SAM_PROTO_GetShiftState [19:36:29]wFMCommunicate request_size=4 [19:36:29]MH_SAM_APDU [19:36:29]CAPDU: 80 13 01 00 [19:36:29]Write to MH i2c: E2 08 00 6B 06 80 13 01 00 00 00 00 00 EE [19:36:29]Write i2c OK [19:36:29]MH_I2C_Read... [19:36:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:36:29]Read from MH i2c: E2 [19:36:29]MH_I2C_Read... [19:36:29]Read from MH i2c: E2 0E 00 [19:36:29]MH_I2C_Read... [19:36:29]Read from MH i2c: E2 0E 00 6B 06 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 E9 [19:36:29]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:36:29]wFMCommunicate OK [19:36:29]SAM_PROTO_GetShiftState done [19:36:29]FM_GetShiftState done [19:36:29]opened in 1730074770 [19:36:29]opened+sec_in_day 1730161170 [19:36:29]quantity*price = 28800 [19:36:29]sum+1 = 28801 [19:36:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 288.00 НСП 1% : 2.55 НДС 12% : 30.58 Наличными: 288.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 151 28.10.2024 19:36 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68246 ФПД: 203819485007558 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T193629&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68246&fm=203819485007558&tin=02508201610067®Number=0000000000091759&sum=28800 0 [19:36:30]StoreToDocumentArchive [19:36:30]shift 547 fd 68246 [19:36:30]save to /storage/0547/doc_00068246 [19:36:30]save last doc name /storage/0547/doc_00068246 to /storage/kkm_last_doc_name [19:36:30]save OK [19:36:30]Clear old archive folders... [19:36:30]ProcessDocumentItem done err = 0, tmpTLVsize=273 [19:36:30]tlvbuf is 005E9890 [19:36:30]SAM_PROTO_ClearQueue [19:36:30]wFMCommunicate request_size=4 [19:36:30]MH_SAM_APDU [19:36:30]CAPDU: 80 09 00 00 [19:36:30]Write to MH i2c: E2 08 00 78 06 80 09 00 00 00 00 00 00 F0 [19:36:30]Write i2c OK [19:36:30]MH_I2C_Read... [19:36:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:36:30]Read from MH i2c: E2 [19:36:30]MH_I2C_Read... [19:36:30]Read from MH i2c: E2 03 00 [19:36:30]MH_I2C_Read... [19:36:30]Read from MH i2c: E2 03 00 78 06 00 90 00 F2 [19:36:30]RAPDU: 90 00 [19:36:30]wFMCommunicate OK [19:36:30]SAM_PROTO_ClearQueue done [19:36:30]KKMCreateOFDPacket [19:36:30]OFDProtocolAddRootSTLVToBuf [19:36:30]FM_MakeSignedData [19:36:30]FM_MakeSignedData [19:36:30]SAM_PROTO_SignData [19:36:30]wFMCommunicate request_size=4 [19:36:30]MH_SAM_APDU [19:36:30]CAPDU: 80 0D 01 02 [19:36:30]Write to MH i2c: E2 08 00 79 06 80 0D 01 02 00 00 00 00 F8 [19:36:30]Write i2c OK [19:36:30]MH_I2C_Read... [19:36:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:36:30]Read from MH i2c: E2 [19:36:30]MH_I2C_Read... [19:36:30]Read from MH i2c: E2 03 00 [19:36:30]MH_I2C_Read... [19:36:30]Read from MH i2c: E2 03 00 79 06 00 90 00 F3 [19:36:30]RAPDU: 90 00 [19:36:30]wFMCommunicate OK [19:36:30]wFMCommunicate request_size=255 [19:36:30]MH_SAM_APDU [19:36:30]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 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 97 00 00 00 F4 03 04 00 BD E7 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 [19:36:30]Write to MH i2c: E2 02 01 7A 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 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 97 00 00 00 F4 03 04 00 BD E7 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 00 00 21 [19:36:30]Write i2c OK [19:36:30]MH_I2C_Read... [19:36:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:36:30]Read from MH i2c: E2 [19:36:30]MH_I2C_Read... [19:36:30]Read from MH i2c: E2 03 00 [19:36:30]MH_I2C_Read... [19:36:30]Read from MH i2c: E2 03 00 7A 06 00 90 00 F4 [19:36:30]RAPDU: 90 00 [19:36:30]wFMCommunicate OK [19:36:30]wFMCommunicate request_size=32 [19:36:30]MH_SAM_APDU [19:36:30]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 37 35 38 10 04 04 00 96 0A 01 00 35 04 06 00 B9 5F 6C 00 8E C6 [19:36:30]Write to MH i2c: E2 23 00 7B 06 80 0D 02 02 1B 00 30 30 30 38 37 31 37 35 38 10 04 04 00 96 0A 01 00 35 04 06 00 B9 5F 6C 00 8E C6 00 00 D5 [19:36:30]Write i2c OK [19:36:30]MH_I2C_Read... [19:36:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:36:30]Read from MH i2c: E2 [19:36:30]MH_I2C_Read... [19:36:30]Read from MH i2c: E2 03 00 [19:36:30]MH_I2C_Read... [19:36:30]Read from MH i2c: E2 03 00 7B 06 00 90 00 F5 [19:36:30]RAPDU: 90 00 [19:36:30]wFMCommunicate OK [19:36:30]wFMCommunicate request_size=4 [19:36:30]MH_SAM_APDU [19:36:30]CAPDU: 80 0D 03 02 [19:36:30]Write to MH i2c: E2 08 00 7C 06 80 0D 03 02 00 00 00 00 FD [19:36:30]Write i2c OK [19:36:30]MH_I2C_Read... [19:36:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:36:30]Read from MH i2c: E2 [19:36:30]MH_I2C_Read... [19:36:30]Read from MH i2c: E2 0B 00 [19:36:30]MH_I2C_Read... [19:36:30]Read from MH i2c: E2 0B 00 7C 06 00 E2 07 A1 20 FA 5A C2 F7 90 00 B5 [19:36:30]RAPDU: E2 07 A1 20 FA 5A C2 F7 90 00 [19:36:30]wFMCommunicate OK [19:36:30]SAM_PROTO_SignData done [19:36:30]FM_MakeSignedData done [19:36:30]CreateOFDProtocolMessage [19:36:30]wFMCommunicate request_size=4 [19:36:30]MH_SAM_APDU [19:36:30]CAPDU: 80 11 00 00 [19:36:30]Write to MH i2c: E2 08 00 7D 06 80 11 00 00 00 00 00 00 FD [19:36:30]Write i2c OK [19:36:30]MH_I2C_Read... [19:36:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:36:30]Read from MH i2c: E2 [19:36:30]MH_I2C_Read... [19:36:30]Read from MH i2c: E2 17 00 [19:36:30]MH_I2C_Read... [19:36:30]Read from MH i2c: E2 17 00 7D 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 54 [19:36:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:36:30]wFMCommunicate OK [19:36:30]CreateOFDProtocolMessage done [19:36:30]OFDSenderStorePacket 68246 [19:36:30]StoreOFDPacket docnum=68246 [19:36:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 25 01 00 00 FE 52 1D 01 F8 4B 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 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 97 00 00 00 F4 03 04 00 BD E7 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 96 0A 01 00 35 04 06 00 B9 5F 6C 00 8E C6 E2 07 A1 20 FA 5A C2 F7 [19:36:30]CheckFolder [19:36:30]dirname=/storage/ofd_packets [19:36:30]CheckFolder done [19:36:30]ProducePacketName [19:36:30]name=ofd_packets/00068246 [19:36:30]NVStorageSaveData ofd_packets/00068246 [19:36:30]File name is /storage/ofd_packets/00068246 [19:36:30]Write 323 bytes [19:36:30]NVStorageSaveData done [19:36:30]OFDSenderStorePacket done [19:36:30]KKMCreateOFDPacket done [19:36:30]NVStorageSaveData kkm_last_timestamp [19:36:30]File name is /storage/kkm_last_timestamp [19:36:30]Write 4 bytes [19:36:30]NVStorageSaveData done [19:36:30]ExternCall_PrintAddStr [19:36:30]wPrintStart [19:36:30]Write to MH i2c: 01 00 00 7E 06 84 [19:36:30]Write i2c OK [19:36:30]MH_I2C_Read... [19:36:30]Read from MH i2c: 01 [19:36:30]MH_I2C_Read... [19:36:30]Read from MH i2c: 01 07 00 [19:36:30]MH_I2C_Read... [19:36:30]Read from MH i2c: 01 07 00 7E 06 00 00 00 00 00 FF 0F 99 [19:36:30]RasterBufferAndPrint [19:36:30]line Счет N : (3)17196 [19:36:30]line ИНН: 02508201610067 [19:36:30]line Контрольно-Кассовый Чек [19:36:30]line ПРОДАЖА [19:36:30]line Товар: 48743570 [19:36:30]line Сигареты Winston XStyle Blue [19:36:30]line 2.000 * 144.00 [19:36:30]line = 288.00 [19:36:30]line НДС 12% НСП 1% [19:36:30]line > о реализуемом товаре [19:36:30]line ИТОГО: 288.00 [19:36:30]line НСП 1% : 2.55 [19:36:30]line НДС 12% : 30.58 [19:36:30]line Наличными: 288.00 [19:36:30]line Безнал.: 0.00 [19:36:30]line Место: АЗС № 160 "Партнер Нефть" [19:36:30]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:36:30]line СНО: Общий режим [19:36:30]line Чек 151 28.10.2024 19:36 [19:36:30]line Смена: 547 ФФД: 1.0 [19:36:30]line ЗНМ: 0300000093 [19:36:30]line РНМ: 0000000000091759 [19:36:30]line Версия ККМ: 001 [19:36:30]line ФМ: 0000000000871758 [19:36:30]line ФД: 68246 [19:36:30]line ФПД: 203819485007558 [19:36:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T193629&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68246&fm=203819485007558&tin=02508201610067®Number=0000000000091759&sum=28800 [19:36:31]OFD Sender: Processing packet 68246 [packets to send 27, broken 26] [19:36:31]ProducePacketName [19:36:31]name=ofd_packets/00068246 [19:36:31]OFD Sender: To server: pG, [19:36:31]CommunicateWithHost lk.salyk.kg:30040 [19:36:31]ConnectInit lk.salyk.kg [19:36:31]line 0 [19:36:31]written 0, free lines is 4095 [19:36:31]Connected sock=10 [19:36:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 25 01 00 00 FE 52 1D 01 F8 4B 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 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 97 00 00 00 F4 03 04 00 BD E7 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 96 0A 01 00 35 04 06 00 B9 5F 6C 00 8E C6 E2 07 A1 20 FA 5A C2 F7 [19:36:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 17 08 47 00 E0 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 38 37 31 37 35 38 10 04 04 00 96 0A 01 00 F4 03 04 00 9D 93 1F 67 B6 04 01 00 00 20 F8 BE 1B 2A 89 8A 32 [19:36:31]CommunicateWithHost err = 0 [19:36:31]CheckOFDResponse [19:36:31]1017 (14) - 77093643461234 [19:36:31]1041 (16) - 0000000000871758 [19:36:31]1040 (4) - 68246 [19:36:31]1012 (4) - 28.10.2024 13:37 [19:36:31]1206 (1) - 0 [19:36:31]OFD Sender: Remove packet 68246 [19:36:31]ProducePacketName [19:36:31]name=ofd_packets/00068246 [19:36:31]NVStorageDeleteData [19:36:31]Write to MH i2c: 01 00 00 A5 06 AB [19:36:31]Write i2c OK [19:36:31]MH_I2C_Read... [19:36:31]Read from MH i2c: 01 [19:36:31]MH_I2C_Read... [19:36:31]Read from MH i2c: 01 07 00 [19:36:31]MH_I2C_Read... [19:36:31]Read from MH i2c: 01 07 00 A5 06 00 00 00 00 00 DC 0C 9A [19:36:31]RasterBufferAndPrint [19:36:31]line [19:36:31]line [19:36:31]line [19:36:31]line [19:36:31]line [19:36:31]written 0, free lines is 3298 [19:36:31]MH_Cut [19:36:31]Write to MH i2c: D1 01 00 AC 06 01 84 [19:36:31]Write i2c OK [19:36:31]MH_I2C_Read... [19:36:31]Read from MH i2c: D1 [19:36:31]MH_I2C_Read... [19:36:31]Read from MH i2c: D1 01 00 [19:36:31]MH_I2C_Read... [19:36:31]Read from MH i2c: D1 01 00 AC 06 00 83 [19:36:31]Write to MH i2c: 01 00 00 AD 06 B3 [19:36:31]Write i2c OK [19:36:31]MH_I2C_Read... [19:36:31]OFD Sender: No OFD packet to send [19:36:32]*** Cut start [19:36:32]*** Partial cut [19:36:32]*** CUTSNS_PIN = 1 [19:36:32]*** CUTSNS_PIN = 0 [19:36:32]*** Brake cut motor [19:36:32]Read from MH i2c: 01 [19:36:32]MH_I2C_Read... [19:36:32]*** Stop cut motor [19:36:33]*** Cut end [19:36:33]Read from MH i2c: 01 07 00 [19:36:33]MH_I2C_Read... [19:36:33]Read from MH i2c: 01 07 00 AD 06 00 00 00 00 00 FF 0F C8 [19:36:33]process_action close_receipt done [19:36:33]requested_data is exist [19:36:33]produce_requested_data [19:36:33]requested_item fm.sn is exist - process it [19:36:33]wFMCommunicate request_size=4 [19:36:33]MH_SAM_APDU [19:36:33]CAPDU: 80 11 00 00 [19:36:33]Write to MH i2c: E2 08 00 AE 06 80 11 00 00 00 00 00 00 2E [19:36:33]Write i2c OK [19:36:33]MH_I2C_Read... [19:36:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:36:33]Read from MH i2c: E2 [19:36:33]MH_I2C_Read... [19:36:33]Read from MH i2c: E2 17 00 [19:36:33]MH_I2C_Read... [19:36:33]Read from MH i2c: E2 17 00 AE 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 85 [19:36:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:36:33]wFMCommunicate OK [19:36:33]requested_item fd.num is exist - process it [19:36:33]SAM_PROTO_GetFieldsCounters [19:36:33]wFMCommunicate request_size=4 [19:36:33]MH_SAM_APDU [19:36:33]CAPDU: 80 13 00 00 [19:36:33]Write to MH i2c: E2 08 00 AF 06 80 13 00 00 00 00 00 00 31 [19:36:33]Write i2c OK [19:36:33]MH_I2C_Read... [19:36:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:36:33]Read from MH i2c: E2 [19:36:33]MH_I2C_Read... [19:36:33]Read from MH i2c: E2 62 00 [19:36:33]MH_I2C_Read... [19:36:33]Read from MH i2c: E2 62 00 AF 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 96 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 97 00 00 00 5E 04 04 00 97 00 00 00 57 04 04 00 98 00 00 00 19 04 04 00 00 00 00 00 90 00 E7 [19:36:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 96 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 97 00 00 00 5E 04 04 00 97 00 00 00 57 04 04 00 98 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:36:33]wFMCommunicate OK [19:36:33]SAM_PROTO_GetFieldsCounters done [19:36:33]requested_item shift.num is exist - process it [19:36:33]requested_item shift.opened is exist - process it [19:36:33]req_shift_opened [19:36:33]FM_GetShiftState [19:36:33]SAM_PROTO_GetShiftState [19:36:33]wFMCommunicate request_size=4 [19:36:33]MH_SAM_APDU [19:36:33]CAPDU: 80 13 01 00 [19:36:33]Write to MH i2c: E2 08 00 B0 06 80 13 01 00 00 00 00 00 33 [19:36:33]Write i2c OK [19:36:33]MH_I2C_Read... [19:36:33]Read from MH i2c: E2 [19:36:33]MH_I2C_Read... [19:36:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:36:33]Read from MH i2c: E2 0E 00 [19:36:33]MH_I2C_Read... [19:36:33]Read from MH i2c: E2 0E 00 B0 06 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 2E [19:36:33]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:36:33]wFMCommunicate OK [19:36:33]SAM_PROTO_GetShiftState done [19:36:33]FM_GetShiftState done [19:36:33]req_shift_opened done [19:36:33]requested_item shift.open_date is exist - process it [19:36:33]req_shift_open_date [19:36:33]req_shift_open_date done [19:36:33]produce_requested_data done [19:36:33]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68246,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [19:36:33]process_action_free close_receipt [19:36:33]json_value_free [19:36:33]json_value_free done [19:36:33]process_json_proto returns [19:36:33]Send response to host [19:36:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68246,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [19:36:33]free response buf [19:36:33]execute_script done [19:36:33]execute_script returns [19:36:33]free content buf [19:36:33]Sock 7.Close socket [19:36:33]Sock 7.Thread stoped [19:36:36]OFD Sender: No OFD packet to send [19:36:41]OFD Sender: No OFD packet to send [19:36:46]OFD Sender: No OFD packet to send [19:36:52]OFD Sender: No OFD packet to send [19:36:57]OFD Sender: No OFD packet to send [19:37:02]OFD Sender: No OFD packet to send [19:37:07]OFD Sender: No OFD packet to send [19:37:12]OFD Sender: No OFD packet to send [19:37:17]OFD Sender: No OFD packet to send [19:37:22]OFD Sender: No OFD packet to send [19:37:27]OFD Sender: No OFD packet to send [19:37:32]OFD Sender: No OFD packet to send [19:37:37]OFD Sender: No OFD packet to send [19:37:42]OFD Sender: No OFD packet to send [19:37:47]OFD Sender: No OFD packet to send [19:37:52]OFD Sender: No OFD packet to send [19:37:57]OFD Sender: No OFD packet to send [19:38:02]OFD Sender: No OFD packet to send [19:38:07]OFD Sender: No OFD packet to send [19:38:12]OFD Sender: No OFD packet to send [19:38:17]OFD Sender: No OFD packet to send [19:38:22]OFD Sender: No OFD packet to send [19:38:27]OFD Sender: No OFD packet to send [19:38:32]OFD Sender: No OFD packet to send [19:38:37]OFD Sender: No OFD packet to send [19:38:42]OFD Sender: No OFD packet to send [19:38:47]OFD Sender: No OFD packet to send [19:38:52]OFD Sender: No OFD packet to send [19:38:57]OFD Sender: No OFD packet to send [19:39:02]OFD Sender: No OFD packet to send [19:39:07]OFD Sender: No OFD packet to send [19:39:12]OFD Sender: No OFD packet to send [19:39:17]OFD Sender: No OFD packet to send [19:39:22]OFD Sender: No OFD packet to send [19:39:27]OFD Sender: No OFD packet to send [19:39:32]OFD Sender: No OFD packet to send [19:39:37]OFD Sender: No OFD packet to send [19:39:41]accept exits with 9 [19:39:41]New connection [19:39:41]New thread 3067354468 created [19:39:41]Thread 3067497828 joined [19:39:41]Waiting for new connection... [19:39:41] Sock 9.Parse request [19:39:41]Sock 9.Check first char [19:39:41]Sock 9.First char is OK [19:39:41]request: POST /json_proto HTTP/1.0 [19:39:41]Method: POST [19:39:41]URL: /json_proto [19:39:41]Method is POST - this is cgi request [19:39:41]url: /json_proto [19:39:41]query_string will be loaded in cgi processing [19:39:41]execute_cgi json_proto POST (null) [19:39:41]execute_cgi path=json_proto method=POST [19:39:41]POST find Content-Length [19:39:41]Host: 172.17.42.3:8080 [19:39:41]Content-Length: 1133 [19:39:41]Content-Type: application/json [19:39:41] [19:39:41]POST finish read [19:39:41]Found Content-Length = 1133 [19:39:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17197", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700040114137", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48746526", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Wind Blue", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 367.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:39:41]execute_script... [19:39: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)17197", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700040114137", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48746526", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Wind Blue", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 367.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:39:41]POST & json_proto [19:39:41]process_json_proto [19:39:41]json parsed OK: [19:39:41]protocol is kg_v1.0 [19:39:41]action value=close_receipt [19:39:41]process_action close_receipt [19:39:41]cmd_close_receipt [19:39:41]MH_GetDate [19:39:41]Write to MH i2c: F0 00 00 B1 06 A6 [19:39:41]Write i2c OK [19:39:41]MH_I2C_Read... [19:39:41]Read from MH i2c: F0 [19:39:41]MH_I2C_Read... [19:39:41]Read from MH i2c: F0 09 00 [19:39:41]MH_I2C_Read... [19:39:41]Read from MH i2c: F0 09 00 B1 06 00 7E E8 1F 67 0E CB 1F 67 FA [19:39:41]GetLastDocTimeStamp 1730144189 [19:39:41]current date 1730144382 [19:39:41]FM_GetShiftState [19:39:41]SAM_PROTO_GetShiftState [19:39:41]wFMCommunicate request_size=4 [19:39:41]MH_SAM_APDU [19:39:41]CAPDU: 80 13 01 00 [19:39:41]Write to MH i2c: E2 08 00 B2 06 80 13 01 00 00 00 00 00 35 [19:39:41]Write i2c OK [19:39:41]MH_I2C_Read... [19:39:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:39:41]Read from MH i2c: E2 [19:39:41]MH_I2C_Read... [19:39:41]Read from MH i2c: E2 0E 00 [19:39:41]MH_I2C_Read... [19:39:41]Read from MH i2c: E2 0E 00 B2 06 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 30 [19:39:41]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:39:41]wFMCommunicate OK [19:39:41]SAM_PROTO_GetShiftState done [19:39:41]FM_GetShiftState done [19:39:41]opened in 1730074770 [19:39:41]opened+sec_in_day 1730161170 [19:39:41]quantity*price = 11900 [19:39:41]sum+1 = 11901 [19:39:41]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700040114137 Султан чай 1л. зел лимон 1.000 * 89.00 = 89.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48746526 Сигареты Mevius Wind Blue 1.000 * 159.00 = 159.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 367.00 НСП 1% : 3.25 НДС 12% : 38.97 Наличными: 367.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 152 28.10.2024 19:39 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68247 ФПД: 172074383914119 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T193942&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68247&fm=172074383914119&tin=02508201610067®Number=0000000000091759&sum=36700 0 [19:39:42]StoreToDocumentArchive [19:39:42]shift 547 fd 68247 [19:39:42]save to /storage/0547/doc_00068247 [19:39:42]save last doc name /storage/0547/doc_00068247 to /storage/kkm_last_doc_name [19:39:42]save OK [19:39:42]Clear old archive folders... [19:39:42]ProcessDocumentItem done err = 0, tmpTLVsize=480 [19:39:42]tlvbuf is B6F46AB0 [19:39:42]SAM_PROTO_ClearQueue [19:39:42]wFMCommunicate request_size=4 [19:39:42]MH_SAM_APDU [19:39:42]CAPDU: 80 09 00 00 [19:39:42]Write to MH i2c: E2 08 00 BF 06 80 09 00 00 00 00 00 00 37 [19:39:42]Write i2c OK [19:39:42]MH_I2C_Read... [19:39:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:39:42]Read from MH i2c: E2 [19:39:42]MH_I2C_Read... [19:39:42]Read from MH i2c: E2 03 00 [19:39:42]MH_I2C_Read... [19:39:42]Read from MH i2c: E2 03 00 BF 06 00 90 00 39 [19:39:42]RAPDU: 90 00 [19:39:42]wFMCommunicate OK [19:39:42]SAM_PROTO_ClearQueue done [19:39:42]KKMCreateOFDPacket [19:39:42]OFDProtocolAddRootSTLVToBuf [19:39:42]FM_MakeSignedData [19:39:42]FM_MakeSignedData [19:39:42]SAM_PROTO_SignData [19:39:42]wFMCommunicate request_size=4 [19:39:42]MH_SAM_APDU [19:39:42]CAPDU: 80 0D 01 02 [19:39:42]Write to MH i2c: E2 08 00 C0 06 80 0D 01 02 00 00 00 00 3F [19:39:42]Write i2c OK [19:39:42]MH_I2C_Read... [19:39:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:39:42]Read from MH i2c: E2 [19:39:42]MH_I2C_Read... [19:39:42]Read from MH i2c: E2 03 00 [19:39:42]MH_I2C_Read... [19:39:42]Read from MH i2c: E2 03 00 C0 06 00 90 00 3A [19:39:42]RAPDU: 90 00 [19:39:42]wFMCommunicate OK [19:39:42]wFMCommunicate request_size=255 [19:39:42]MH_SAM_APDU [19:39:42]CAPDU: 80 0D 02 02 FA 03 00 E0 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 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 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 60 00 8A 04 08 00 34 38 37 34 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 [19:39:42]Write to MH i2c: E2 02 01 C1 06 80 0D 02 02 FA 00 03 00 E0 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 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 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 60 00 8A 04 08 00 34 38 37 34 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 00 00 85 [19:39:43]Write i2c OK [19:39:43]MH_I2C_Read... [19:39:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:39:43]Read from MH i2c: E2 [19:39:43]MH_I2C_Read... [19:39:43]Read from MH i2c: E2 03 00 [19:39:43]MH_I2C_Read... [19:39:43]Read from MH i2c: E2 03 00 C1 06 00 90 00 3B [19:39:43]RAPDU: 90 00 [19:39:43]wFMCommunicate OK [19:39:43]wFMCommunicate request_size=239 [19:39:43]MH_SAM_APDU [19:39:43]CAPDU: 80 0D 02 02 EA B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 8F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 45 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 0F 00 00 00 00 07 04 06 00 5C 8F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 98 00 00 00 F4 03 04 00 7E E8 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 97 0A 01 00 35 04 06 00 9C 80 30 87 34 87 [19:39:43]Write to MH i2c: E2 F2 00 C2 06 80 0D 02 02 EA 00 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 8F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 45 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 0F 00 00 00 00 07 04 06 00 5C 8F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 98 00 00 00 F4 03 04 00 7E E8 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 97 0A 01 00 35 04 06 00 9C 80 30 87 34 87 00 00 B4 [19:39:43]Write i2c OK [19:39:43]MH_I2C_Read... [19:39:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:39:43]Read from MH i2c: E2 [19:39:43]MH_I2C_Read... [19:39:43]Read from MH i2c: E2 03 00 [19:39:43]MH_I2C_Read... [19:39:43]Read from MH i2c: E2 03 00 C2 06 00 90 00 3C [19:39:43]RAPDU: 90 00 [19:39:43]wFMCommunicate OK [19:39:43]wFMCommunicate request_size=4 [19:39:43]MH_SAM_APDU [19:39:43]CAPDU: 80 0D 03 02 [19:39:43]Write to MH i2c: E2 08 00 C3 06 80 0D 03 02 00 00 00 00 44 [19:39:43]Write i2c OK [19:39:43]MH_I2C_Read... [19:39:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:39:43]Read from MH i2c: E2 [19:39:43]MH_I2C_Read... [19:39:43]Read from MH i2c: E2 0B 00 [19:39:43]MH_I2C_Read... [19:39:43]Read from MH i2c: E2 0B 00 C3 06 00 0C 42 DD 69 4E BD 96 C4 90 00 3E [19:39:43]RAPDU: 0C 42 DD 69 4E BD 96 C4 90 00 [19:39:43]wFMCommunicate OK [19:39:43]SAM_PROTO_SignData done [19:39:43]FM_MakeSignedData done [19:39:43]CreateOFDProtocolMessage [19:39:43]wFMCommunicate request_size=4 [19:39:43]MH_SAM_APDU [19:39:43]CAPDU: 80 11 00 00 [19:39:43]Write to MH i2c: E2 08 00 C4 06 80 11 00 00 00 00 00 00 44 [19:39:43]Write i2c OK [19:39:43]MH_I2C_Read... [19:39:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:39:43]Read from MH i2c: E2 [19:39:43]MH_I2C_Read... [19:39:43]Read from MH i2c: E2 17 00 [19:39:43]MH_I2C_Read... [19:39:43]Read from MH i2c: E2 17 00 C4 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 9B [19:39:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:39:43]wFMCommunicate OK [19:39:43]CreateOFDProtocolMessage done [19:39:43]OFDSenderStorePacket 68247 [19:39:43]StoreOFDPacket docnum=68247 [19:39:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 F4 01 00 00 7E F6 EC 01 9C B5 5A 03 01 00 03 00 E0 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 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 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 60 00 8A 04 08 00 34 38 37 34 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 8F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 45 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 0F 00 00 00 00 07 04 06 00 5C 8F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 98 00 00 00 F4 03 04 00 7E E8 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 97 0A 01 00 35 04 06 00 9C 80 30 87 34 87 0C 42 DD 69 4E BD 96 C4 [19:39:43]CheckFolder [19:39:43]dirname=/storage/ofd_packets [19:39:43]CheckFolder done [19:39:43]ProducePacketName [19:39:43]name=ofd_packets/00068247 [19:39:43]NVStorageSaveData ofd_packets/00068247 [19:39:43]File name is /storage/ofd_packets/00068247 [19:39:43]Write 530 bytes [19:39:43]NVStorageSaveData done [19:39:43]OFDSenderStorePacket done [19:39:43]KKMCreateOFDPacket done [19:39:43]NVStorageSaveData kkm_last_timestamp [19:39:43]File name is /storage/kkm_last_timestamp [19:39:43]Write 4 bytes [19:39:43]NVStorageSaveData done [19:39:43]ExternCall_PrintAddStr [19:39:43]wPrintStart [19:39:43]Write to MH i2c: 01 00 00 C5 06 CB [19:39:43]Write i2c OK [19:39:43]MH_I2C_Read... [19:39:43]Read from MH i2c: 01 [19:39:43]MH_I2C_Read... [19:39:43]Read from MH i2c: 01 07 00 [19:39:43]MH_I2C_Read... [19:39:43]Read from MH i2c: 01 07 00 C5 06 00 00 00 00 00 FF 0F E0 [19:39:43]RasterBufferAndPrint [19:39:43]line Счет N : (3)17197 [19:39:43]line ИНН: 02508201610067 [19:39:43]line Контрольно-Кассовый Чек [19:39:43]line ПРОДАЖА [19:39:43]line Товар: 4870001570071 [19:39:43]line Напиток Pepsi 1л [19:39:43]line 1.000 * 119.00 [19:39:43]line = 119.00 [19:39:43]line НДС 12% НСП 1% [19:39:43]line > о реализуемом товаре [19:39:43]line Товар: 4700040114137 [19:39:43]line Султан чай 1л. зел лимон [19:39:43]line 1.000 * 89.00 [19:39:43]line = 89.00 [19:39:43]line НДС 12% НСП 1% [19:39:43]line > о реализуемом товаре [19:39:43]line Товар: 48746526 [19:39:43]line Сигареты Mevius Wind Blue [19:39:43]line 1.000 * 159.00 [19:39:43]line = 159.00 [19:39:43]line НДС 12% НСП 1% [19:39:43]line > о реализуемом товаре [19:39:43]line ИТОГО: 367.00 [19:39:43]line НСП 1% : 3.25 [19:39:43]line НДС 12% : 38.97 [19:39:43]line Наличными: 367.00 [19:39:43]line Безнал.: 0.00 [19:39:43]line Место: АЗС № 160 "Партнер Нефть" [19:39:43]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:39:43]line СНО: Общий режим [19:39:43]line Чек 152 28.10.2024 19:39 [19:39:43]line Смена: 547 ФФД: 1.0 [19:39:43]line ЗНМ: 0300000093 [19:39:43]line РНМ: 0000000000091759 [19:39:43]line Версия ККМ: 001 [19:39:43]line ФМ: 0000000000871758 [19:39:43]line ФД: 68247 [19:39:43]line ФПД: 172074383914119 [19:39:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T193942&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68247&fm=172074383914119&tin=02508201610067®Number=0000000000091759&sum=36700 [19:39:43]OFD Sender: Processing packet 68247 [packets to send 27, broken 26] [19:39:43]ProducePacketName [19:39:43]name=ofd_packets/00068247 [19:39:43]OFD Sender: To server: pG, [19:39:43]CommunicateWithHost lk.salyk.kg:30040 [19:39:43]ConnectInit lk.salyk.kg [19:39:44]Connected sock=10 [19:39:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 F4 01 00 00 7E F6 EC 01 9C B5 5A 03 01 00 03 00 E0 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 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 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 60 00 8A 04 08 00 34 38 37 34 36 35 32 36 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 57 69 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 8F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 45 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 0F 00 00 00 00 07 04 06 00 5C 8F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 98 00 00 00 F4 03 04 00 7E E8 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 97 0A 01 00 35 04 06 00 9C 80 30 87 34 87 0C 42 DD 69 4E BD 96 C4 [19:39:44]line 0 [19:39:44]written 0, free lines is 4095 [19:39:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 06 04 47 00 6F 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 38 37 31 37 35 38 10 04 04 00 97 0A 01 00 F4 03 04 00 5E 94 1F 67 B6 04 01 00 00 C8 80 25 A0 93 60 6D D9 [19:39:44]CommunicateWithHost err = 0 [19:39:44]CheckOFDResponse [19:39:44]1017 (14) - 77093643461234 [19:39:44]1041 (16) - 0000000000871758 [19:39:44]1040 (4) - 68247 [19:39:44]1012 (4) - 28.10.2024 13:40 [19:39:44]1206 (1) - 0 [19:39:44]OFD Sender: Remove packet 68247 [19:39:44]ProducePacketName [19:39:44]name=ofd_packets/00068247 [19:39:44]NVStorageDeleteData [19:39:44]Write to MH i2c: 01 00 00 F8 06 FE [19:39:44]Write i2c OK [19:39:44]MH_I2C_Read... [19:39:44]Read from MH i2c: 01 [19:39:44]MH_I2C_Read... [19:39:44]Read from MH i2c: 01 07 00 [19:39:44]MH_I2C_Read... [19:39:44]Read from MH i2c: 01 07 00 F8 06 00 00 00 00 00 20 0C 31 [19:39:44]RasterBufferAndPrint [19:39:44]line [19:39:44]line [19:39:44]line [19:39:44]line [19:39:44]line [19:39:44]written 0, free lines is 3110 [19:39:44]MH_Cut [19:39:44]Write to MH i2c: D1 01 00 FF 06 01 D7 [19:39:44]Write i2c OK [19:39:44]MH_I2C_Read... [19:39:44]Read from MH i2c: D1 [19:39:44]MH_I2C_Read... [19:39:44]Read from MH i2c: D1 01 00 [19:39:44]MH_I2C_Read... [19:39:44]Read from MH i2c: D1 01 00 FF 06 00 D6 [19:39:44]Write to MH i2c: 01 00 00 00 07 07 [19:39:44]Write i2c OK [19:39:44]MH_I2C_Read... [19:39:44]OFD Sender: No OFD packet to send [19:39:45]*** Cut start [19:39:45]*** Partial cut [19:39:45]*** CUTSNS_PIN = 1 [19:39:45]*** CUTSNS_PIN = 0 [19:39:45]*** Brake cut motor [19:39:46]Read from MH i2c: 01 [19:39:46]MH_I2C_Read... [19:39:46]*** Stop cut motor [19:39:46]*** Cut end [19:39:46]Read from MH i2c: 01 07 00 [19:39:46]MH_I2C_Read... [19:39:46]Read from MH i2c: 01 07 00 00 07 00 00 00 00 00 FF 0F 1C [19:39:46]process_action close_receipt done [19:39:46]requested_data is exist [19:39:46]produce_requested_data [19:39:46]requested_item fm.sn is exist - process it [19:39:46]wFMCommunicate request_size=4 [19:39:46]MH_SAM_APDU [19:39:46]CAPDU: 80 11 00 00 [19:39:46]Write to MH i2c: E2 08 00 01 07 80 11 00 00 00 00 00 00 82 [19:39:46]Write i2c OK [19:39:46]MH_I2C_Read... [19:39:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:39:46]Read from MH i2c: E2 [19:39:46]MH_I2C_Read... [19:39:46]Read from MH i2c: E2 17 00 [19:39:46]MH_I2C_Read... [19:39:46]Read from MH i2c: E2 17 00 01 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 D9 [19:39:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:39:46]wFMCommunicate OK [19:39:46]requested_item fd.num is exist - process it [19:39:46]SAM_PROTO_GetFieldsCounters [19:39:46]wFMCommunicate request_size=4 [19:39:46]MH_SAM_APDU [19:39:46]CAPDU: 80 13 00 00 [19:39:46]Write to MH i2c: E2 08 00 02 07 80 13 00 00 00 00 00 00 85 [19:39:46]Write i2c OK [19:39:46]MH_I2C_Read... [19:39:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:39:46]Read from MH i2c: E2 [19:39:46]MH_I2C_Read... [19:39:46]Read from MH i2c: E2 62 00 [19:39:46]MH_I2C_Read... [19:39:46]Read from MH i2c: E2 62 00 02 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 97 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 98 00 00 00 5E 04 04 00 98 00 00 00 57 04 04 00 99 00 00 00 19 04 04 00 00 00 00 00 90 00 3F [19:39:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 97 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 98 00 00 00 5E 04 04 00 98 00 00 00 57 04 04 00 99 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:39:46]wFMCommunicate OK [19:39:46]SAM_PROTO_GetFieldsCounters done [19:39:46]requested_item shift.num is exist - process it [19:39:46]requested_item shift.opened is exist - process it [19:39:46]req_shift_opened [19:39:46]FM_GetShiftState [19:39:46]SAM_PROTO_GetShiftState [19:39:46]wFMCommunicate request_size=4 [19:39:46]MH_SAM_APDU [19:39:46]CAPDU: 80 13 01 00 [19:39:46]Write to MH i2c: E2 08 00 03 07 80 13 01 00 00 00 00 00 87 [19:39:46]Write i2c OK [19:39:46]MH_I2C_Read... [19:39:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:39:46]Read from MH i2c: E2 [19:39:46]MH_I2C_Read... [19:39:46]Read from MH i2c: E2 0E 00 [19:39:46]MH_I2C_Read... [19:39:46]Read from MH i2c: E2 0E 00 03 07 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 82 [19:39:46]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:39:46]wFMCommunicate OK [19:39:46]SAM_PROTO_GetShiftState done [19:39:46]FM_GetShiftState done [19:39:46]req_shift_opened done [19:39:46]requested_item shift.open_date is exist - process it [19:39:46]req_shift_open_date [19:39:46]req_shift_open_date done [19:39:46]produce_requested_data done [19:39:46]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68247,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [19:39:46]process_action_free close_receipt [19:39:46]json_value_free [19:39:46]json_value_free done [19:39:46]process_json_proto returns [19:39:46]Send response to host [19:39:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68247,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [19:39:46]free response buf [19:39:46]execute_script done [19:39:46]execute_script returns [19:39:46]free content buf [19:39:46]Sock 9.Close socket [19:39:46]Sock 9.Thread stoped [19:39:49]OFD Sender: No OFD packet to send [19:39:54]OFD Sender: No OFD packet to send [19:39:59]OFD Sender: No OFD packet to send [19:40:04]OFD Sender: No OFD packet to send [19:40:09]OFD Sender: No OFD packet to send [19:40:14]OFD Sender: No OFD packet to send [19:40:19]OFD Sender: No OFD packet to send [19:40:24]OFD Sender: No OFD packet to send [19:40:29]OFD Sender: No OFD packet to send [19:40:34]OFD Sender: No OFD packet to send [19:40:39]OFD Sender: No OFD packet to send [19:40:44]OFD Sender: No OFD packet to send [19:40:49]OFD Sender: No OFD packet to send [19:40:55]OFD Sender: No OFD packet to send [19:41:00]OFD Sender: No OFD packet to send [19:41:05]OFD Sender: No OFD packet to send [19:41:10]OFD Sender: No OFD packet to send [19:41:15]OFD Sender: No OFD packet to send [19:41:20]OFD Sender: No OFD packet to send [19:41:25]OFD Sender: No OFD packet to send [19:41:30]OFD Sender: No OFD packet to send [19:41:35]OFD Sender: No OFD packet to send [19:41:40]OFD Sender: No OFD packet to send [19:41:45]OFD Sender: No OFD packet to send [19:41:50]OFD Sender: No OFD packet to send [19:41:55]OFD Sender: No OFD packet to send [19:41:58]accept exits with 7 [19:41:58]New connection [19:41:58]New thread 3067497828 created [19:41:58]Thread 3067354468 joined [19:41:58]Waiting for new connection... [19:41:58] Sock 7.Parse request [19:41:58]Sock 7.Check first char [19:41:58]Sock 7.First char is OK [19:41:58]request: POST /json_proto HTTP/1.0 [19:41:58]Method: POST [19:41:58]URL: /json_proto [19:41:58]Method is POST - this is cgi request [19:41:58]url: /json_proto [19:41:58]query_string will be loaded in cgi processing [19:41:58]execute_cgi json_proto POST (null) [19:41:58]execute_cgi path=json_proto method=POST [19:41:58]POST find Content-Length [19:41:58]Host: 172.17.42.3:8080 [19:41:58]Content-Length: 1018 [19:41:58]Content-Type: application/json [19:41:58] [19:41:58]POST finish read [19:41:58]Found Content-Length = 1018 [19:41:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17198", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 4.000, "sum" : 636.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 2.000, "sum" : 150.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: Mbank", "payments": [ { "type": 1, "sum" : 786.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:41:58]execute_script... [19:41: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)17198", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 4.000, "sum" : 636.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 2.000, "sum" : 150.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: Mbank", "payments": [ { "type": 1, "sum" : 786.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:41:58]POST & json_proto [19:41:58]process_json_proto [19:41:58]json parsed OK: [19:41:58]protocol is kg_v1.0 [19:41:58]action value=close_receipt [19:41:58]process_action close_receipt [19:41:58]cmd_close_receipt [19:41:58]MH_GetDate [19:41:58]Write to MH i2c: F0 00 00 04 07 FA [19:41:58]Write i2c OK [19:41:58]MH_I2C_Read... [19:41:58]Read from MH i2c: F0 [19:41:58]MH_I2C_Read... [19:41:58]Read from MH i2c: F0 09 00 [19:41:58]MH_I2C_Read... [19:41:58]Read from MH i2c: F0 09 00 04 07 00 06 E9 1F 67 0E CB 1F 67 D7 [19:41:58]GetLastDocTimeStamp 1730144382 [19:41:58]current date 1730144518 [19:41:58]FM_GetShiftState [19:41:58]SAM_PROTO_GetShiftState [19:41:58]wFMCommunicate request_size=4 [19:41:58]MH_SAM_APDU [19:41:58]CAPDU: 80 13 01 00 [19:41:58]Write to MH i2c: E2 08 00 05 07 80 13 01 00 00 00 00 00 89 [19:41:58]Write i2c OK [19:41:58]MH_I2C_Read... [19:41:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:41:58]Read from MH i2c: E2 [19:41:58]MH_I2C_Read... [19:41:58]Read from MH i2c: E2 0E 00 [19:41:58]MH_I2C_Read... [19:41:58]Read from MH i2c: E2 0E 00 05 07 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 84 [19:41:58]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:41:58]wFMCommunicate OK [19:41:58]SAM_PROTO_GetShiftState done [19:41:58]FM_GetShiftState done [19:41:58]opened in 1730074770 [19:41:58]opened+sec_in_day 1730161170 [19:41:58]quantity*price = 63600 [19:41:58]sum+1 = 63601 [19:41:58]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 54491472 Напиток Кока-Кола 0,5л 2.000 * 75.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 786.00 НСП 1% : 6.96 НДС 12% : 83.47 Наличными: 0.00 Безнал.: 786.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 153 28.10.2024 19:41 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68248 ФПД: 136454179263588 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T194158&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68248&fm=136454179263588&tin=02508201610067®Number=0000000000091759&sum=78600 0 [19:41:59]StoreToDocumentArchive [19:41:59]shift 547 fd 68248 [19:41:59]save to /storage/0547/doc_00068248 [19:41:59]save last doc name /storage/0547/doc_00068248 to /storage/kkm_last_doc_name [19:41:59]save OK [19:41:59]Clear old archive folders... [19:41:59]ProcessDocumentItem done err = 0, tmpTLVsize=379 [19:41:59]tlvbuf is B6F465F0 [19:41:59]SAM_PROTO_ClearQueue [19:41:59]wFMCommunicate request_size=4 [19:41:59]MH_SAM_APDU [19:41:59]CAPDU: 80 09 00 00 [19:41:59]Write to MH i2c: E2 08 00 12 07 80 09 00 00 00 00 00 00 8B [19:41:59]Write i2c OK [19:41:59]MH_I2C_Read... [19:41:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:41:59]Read from MH i2c: E2 [19:41:59]MH_I2C_Read... [19:41:59]Read from MH i2c: E2 03 00 [19:41:59]MH_I2C_Read... [19:41:59]Read from MH i2c: E2 03 00 12 07 00 90 00 8D [19:41:59]RAPDU: 90 00 [19:41:59]wFMCommunicate OK [19:41:59]SAM_PROTO_ClearQueue done [19:41:59]KKMCreateOFDPacket [19:41:59]OFDProtocolAddRootSTLVToBuf [19:41:59]FM_MakeSignedData [19:41:59]FM_MakeSignedData [19:41:59]SAM_PROTO_SignData [19:41:59]wFMCommunicate request_size=4 [19:41:59]MH_SAM_APDU [19:41:59]CAPDU: 80 0D 01 02 [19:41:59]Write to MH i2c: E2 08 00 13 07 80 0D 01 02 00 00 00 00 93 [19:41:59]Write i2c OK [19:41:59]MH_I2C_Read... [19:41:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:41:59]Read from MH i2c: E2 [19:41:59]MH_I2C_Read... [19:41:59]Read from MH i2c: E2 03 00 [19:41:59]MH_I2C_Read... [19:41:59]Read from MH i2c: E2 03 00 13 07 00 90 00 8E [19:41:59]RAPDU: 90 00 [19:41:59]wFMCommunicate OK [19:41:59]wFMCommunicate request_size=255 [19:41:59]MH_SAM_APDU [19:41:59]CAPDU: 80 0D 02 02 FA 03 00 7B 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 A0 0F 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 70 F8 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 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 08 33 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B8 02 00 00 00 [19:41:59]Write to MH i2c: E2 02 01 14 07 80 0D 02 02 FA 00 03 00 7B 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 A0 0F 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 70 F8 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 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 08 33 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B8 02 00 00 00 00 00 57 [19:41:59]Write i2c OK [19:41:59]MH_I2C_Read... [19:41:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:41:59]Read from MH i2c: E2 [19:41:59]MH_I2C_Read... [19:41:59]Read from MH i2c: E2 03 00 [19:41:59]MH_I2C_Read... [19:41:59]Read from MH i2c: E2 03 00 14 07 00 90 00 8F [19:41:59]RAPDU: 90 00 [19:41:59]wFMCommunicate OK [19:41:59]wFMCommunicate request_size=138 [19:41:59]MH_SAM_APDU [19:41:59]CAPDU: 80 0D 02 02 85 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 20 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 33 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 99 00 00 00 F4 03 04 00 06 E9 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 98 0A 01 00 35 04 06 00 7C 1A B6 E2 14 64 [19:41:59]Write to MH i2c: E2 8D 00 15 07 80 0D 02 02 85 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 20 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 33 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 99 00 00 00 F4 03 04 00 06 E9 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 98 0A 01 00 35 04 06 00 7C 1A B6 E2 14 64 00 00 4A [19:41:59]Write i2c OK [19:41:59]MH_I2C_Read... [19:42:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:00]Read from MH i2c: E2 [19:42:00]MH_I2C_Read... [19:42:00]Read from MH i2c: E2 03 00 [19:42:00]MH_I2C_Read... [19:42:00]Read from MH i2c: E2 03 00 15 07 00 90 00 90 [19:42:00]RAPDU: 90 00 [19:42:00]wFMCommunicate OK [19:42:00]wFMCommunicate request_size=4 [19:42:00]MH_SAM_APDU [19:42:00]CAPDU: 80 0D 03 02 [19:42:00]Write to MH i2c: E2 08 00 16 07 80 0D 03 02 00 00 00 00 98 [19:42:00]Write i2c OK [19:42:00]MH_I2C_Read... [19:42:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:42:00]OFD Sender: No OFD packet to send [19:42:00]Read from MH i2c: E2 [19:42:00]MH_I2C_Read... [19:42:00]Read from MH i2c: E2 0B 00 [19:42:00]MH_I2C_Read... [19:42:00]Read from MH i2c: E2 0B 00 16 07 00 21 BB 82 28 03 07 2B 61 90 00 B5 [19:42:00]RAPDU: 21 BB 82 28 03 07 2B 61 90 00 [19:42:00]wFMCommunicate OK [19:42:00]SAM_PROTO_SignData done [19:42:00]FM_MakeSignedData done [19:42:00]CreateOFDProtocolMessage [19:42:00]wFMCommunicate request_size=4 [19:42:00]MH_SAM_APDU [19:42:00]CAPDU: 80 11 00 00 [19:42:00]Write to MH i2c: E2 08 00 17 07 80 11 00 00 00 00 00 00 98 [19:42:00]Write i2c OK [19:42:00]MH_I2C_Read... [19:42:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:42:00]Read from MH i2c: E2 [19:42:00]MH_I2C_Read... [19:42:00]Read from MH i2c: E2 17 00 [19:42:00]MH_I2C_Read... [19:42:00]Read from MH i2c: E2 17 00 17 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 EF [19:42:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:42:00]wFMCommunicate OK [19:42:00]CreateOFDProtocolMessage done [19:42:00]OFDSenderStorePacket 68248 [19:42:00]StoreOFDPacket docnum=68248 [19:42:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 8F 01 00 00 48 55 87 01 9C 14 5A 03 01 00 03 00 7B 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 A0 0F 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 70 F8 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 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 08 33 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B8 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 20 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 33 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 99 00 00 00 F4 03 04 00 06 E9 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 98 0A 01 00 35 04 06 00 7C 1A B6 E2 14 64 21 BB 82 28 03 07 2B 61 [19:42:00]CheckFolder [19:42:00]dirname=/storage/ofd_packets [19:42:00]CheckFolder done [19:42:00]ProducePacketName [19:42:00]name=ofd_packets/00068248 [19:42:00]NVStorageSaveData ofd_packets/00068248 [19:42:00]File name is /storage/ofd_packets/00068248 [19:42:00]Write 429 bytes [19:42:00]NVStorageSaveData done [19:42:00]OFDSenderStorePacket done [19:42:00]KKMCreateOFDPacket done [19:42:00]NVStorageSaveData kkm_last_timestamp [19:42:00]File name is /storage/kkm_last_timestamp [19:42:00]Write 4 bytes [19:42:00]NVStorageSaveData done [19:42:00]ExternCall_PrintAddStr [19:42:00]wPrintStart [19:42:00]Write to MH i2c: 01 00 00 18 07 1F [19:42:00]OFD Sender: Processing packet 68248 [packets to send 27, broken 26] [19:42:00]ProducePacketName [19:42:00]name=ofd_packets/00068248 [19:42:00]OFD Sender: To server: pG, [19:42:00]CommunicateWithHost lk.salyk.kg:30040 [19:42:00]ConnectInit lk.salyk.kg [19:42:00]Write i2c OK [19:42:00]MH_I2C_Read... [19:42:00]Read from MH i2c: 01 [19:42:00]MH_I2C_Read... [19:42:00]Read from MH i2c: 01 07 00 [19:42:00]MH_I2C_Read... [19:42:00]Read from MH i2c: 01 07 00 18 07 00 00 00 00 00 FF 0F 34 [19:42:00]RasterBufferAndPrint [19:42:00]line Счет N : (3)17198 [19:42:00]line ИНН: 02508201610067 [19:42:00]line Контрольно-Кассовый Чек [19:42:00]line ПРОДАЖА [19:42:00]line Товар: 4640030091645 [19:42:00]line Сигареты ESSE Exchange M [19:42:00]line 4.000 * 159.00 [19:42:00]line = 636.00 [19:42:00]line НДС 12% НСП 1% [19:42:00]line > о реализуемом товаре [19:42:00]line Товар: 54491472 [19:42:00]line Напиток Кока-Кола 0,5л [19:42:00]line 2.000 * 75.00 [19:42:00]line = 150.00 [19:42:00]line НДС 12% НСП 1% [19:42:00]line > о реализуемом товаре [19:42:00]line ИТОГО: 786.00 [19:42:00]line НСП 1% : 6.96 [19:42:00]line НДС 12% : 83.47 [19:42:00]line Наличными: 0.00 [19:42:00]line Безнал.: 786.00 [19:42:00]line Место: АЗС № 160 "Партнер Нефть" [19:42:00]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:42:00]line СНО: Общий режим [19:42:00]line Чек 153 28.10.2024 19:41 [19:42:00]line Смена: 547 ФФД: 1.0 [19:42:00]line ЗНМ: 0300000093 [19:42:00]line РНМ: 0000000000091759 [19:42:00]line Версия ККМ: 001 [19:42:00]line Платежная система: Mbank [19:42:00]line ФМ: 0000000000871758 [19:42:00]line ФД: 68248 [19:42:00]line ФПД: 136454179263588 [19:42:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T194158&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68248&fm=136454179263588&tin=02508201610067®Number=0000000000091759&sum=78600 [19:42:00]line 0 [19:42:00]written 0, free lines is 4095 [19:42:00]Connected sock=10 [19:42:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 8F 01 00 00 48 55 87 01 9C 14 5A 03 01 00 03 00 7B 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 A0 0F 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 70 F8 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 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 08 33 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B8 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 20 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 33 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 99 00 00 00 F4 03 04 00 06 E9 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 98 0A 01 00 35 04 06 00 7C 1A B6 E2 14 64 21 BB 82 28 03 07 2B 61 [19:42:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 92 BD 47 00 33 EB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 98 0A 01 00 F4 03 04 00 E7 94 1F 67 B6 04 01 00 00 7E 23 AC D7 81 12 2F 3F [19:42:00]CommunicateWithHost err = 0 [19:42:00]CheckOFDResponse [19:42:00]1017 (14) - 77093643461234 [19:42:00]1041 (16) - 0000000000871758 [19:42:00]1040 (4) - 68248 [19:42:00]1012 (4) - 28.10.2024 13:43 [19:42:00]1206 (1) - 0 [19:42:00]OFD Sender: Remove packet 68248 [19:42:00]ProducePacketName [19:42:00]name=ofd_packets/00068248 [19:42:00]NVStorageDeleteData [19:42:00]Write to MH i2c: 01 00 00 46 07 4D [19:42:00]Write i2c OK [19:42:00]MH_I2C_Read... [19:42:00]Read from MH i2c: 01 [19:42:00]MH_I2C_Read... [19:42:00]Read from MH i2c: 01 07 00 [19:42:00]MH_I2C_Read... [19:42:00]Read from MH i2c: 01 07 00 46 07 00 00 00 00 00 78 0C D8 [19:42:00]RasterBufferAndPrint [19:42:00]line [19:42:00]line [19:42:00]line [19:42:00]line [19:42:00]line [19:42:00]written 0, free lines is 3198 [19:42:01]MH_Cut [19:42:01]Write to MH i2c: D1 01 00 4D 07 01 26 [19:42:01]Write i2c OK [19:42:01]MH_I2C_Read... [19:42:01]Read from MH i2c: D1 [19:42:01]MH_I2C_Read... [19:42:01]Read from MH i2c: D1 01 00 [19:42:01]MH_I2C_Read... [19:42:01]Read from MH i2c: D1 01 00 4D 07 00 25 [19:42:01]Write to MH i2c: 01 00 00 4E 07 55 [19:42:01]Write i2c OK [19:42:01]MH_I2C_Read... [19:42:01]OFD Sender: No OFD packet to send [19:42:01]*** Cut start [19:42:01]*** Partial cut [19:42:01]*** CUTSNS_PIN = 1 [19:42:01]*** CUTSNS_PIN = 0 [19:42:02]*** Brake cut motor [19:42:02]Read from MH i2c: 01 [19:42:02]MH_I2C_Read... [19:42:02]*** Stop cut motor [19:42:02]*** Cut end [19:42:02]Read from MH i2c: 01 07 00 [19:42:02]MH_I2C_Read... [19:42:02]Read from MH i2c: 01 07 00 4E 07 00 00 00 00 00 FF 0F 6A [19:42:02]process_action close_receipt done [19:42:02]requested_data is exist [19:42:02]produce_requested_data [19:42:02]requested_item fm.sn is exist - process it [19:42:02]wFMCommunicate request_size=4 [19:42:02]MH_SAM_APDU [19:42:02]CAPDU: 80 11 00 00 [19:42:02]Write to MH i2c: E2 08 00 4F 07 80 11 00 00 00 00 00 00 D0 [19:42:02]Write i2c OK [19:42:02]MH_I2C_Read... [19:42:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:42:02]Read from MH i2c: E2 [19:42:02]MH_I2C_Read... [19:42:02]Read from MH i2c: E2 17 00 [19:42:02]MH_I2C_Read... [19:42:02]Read from MH i2c: E2 17 00 4F 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 27 [19:42:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:42:02]wFMCommunicate OK [19:42:02]requested_item fd.num is exist - process it [19:42:02]SAM_PROTO_GetFieldsCounters [19:42:02]wFMCommunicate request_size=4 [19:42:02]MH_SAM_APDU [19:42:02]CAPDU: 80 13 00 00 [19:42:02]Write to MH i2c: E2 08 00 50 07 80 13 00 00 00 00 00 00 D3 [19:42:02]Write i2c OK [19:42:02]MH_I2C_Read... [19:42:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:42:02]Read from MH i2c: E2 [19:42:02]MH_I2C_Read... [19:42:02]Read from MH i2c: E2 62 00 [19:42:02]MH_I2C_Read... [19:42:02]Read from MH i2c: E2 62 00 50 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 98 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 99 00 00 00 5E 04 04 00 99 00 00 00 57 04 04 00 9A 00 00 00 19 04 04 00 00 00 00 00 90 00 91 [19:42:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 98 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 99 00 00 00 5E 04 04 00 99 00 00 00 57 04 04 00 9A 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:42:02]wFMCommunicate OK [19:42:02]SAM_PROTO_GetFieldsCounters done [19:42:02]requested_item shift.num is exist - process it [19:42:02]requested_item shift.opened is exist - process it [19:42:02]req_shift_opened [19:42:02]FM_GetShiftState [19:42:02]SAM_PROTO_GetShiftState [19:42:02]wFMCommunicate request_size=4 [19:42:02]MH_SAM_APDU [19:42:02]CAPDU: 80 13 01 00 [19:42:02]Write to MH i2c: E2 08 00 51 07 80 13 01 00 00 00 00 00 D5 [19:42:02]Write i2c OK [19:42:02]MH_I2C_Read... [19:42:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:42:02]Read from MH i2c: E2 [19:42:02]MH_I2C_Read... [19:42:02]Read from MH i2c: E2 0E 00 [19:42:02]MH_I2C_Read... [19:42:02]Read from MH i2c: E2 0E 00 51 07 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 D0 [19:42:02]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:42:02]wFMCommunicate OK [19:42:02]SAM_PROTO_GetShiftState done [19:42:02]FM_GetShiftState done [19:42:02]req_shift_opened done [19:42:02]requested_item shift.open_date is exist - process it [19:42:02]req_shift_open_date [19:42:02]req_shift_open_date done [19:42:02]produce_requested_data done [19:42:02]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68248,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [19:42:02]process_action_free close_receipt [19:42:02]json_value_free [19:42:02]json_value_free done [19:42:02]process_json_proto returns [19:42:02]Send response to host [19:42:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68248,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [19:42:02]free response buf [19:42:02]execute_script done [19:42:02]execute_script returns [19:42:02]free content buf [19:42:02]Sock 7.Close socket [19:42:02]Sock 7.Thread stoped [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:42:57]accept exits with 9 [19:42:57]New connection [19:42:57]New thread 3067354468 created [19:42:57]Thread 3067497828 joined [19:42:57]Waiting for new connection... [19:42:57] Sock 9.Parse request [19:42:57]Sock 9.Check first char [19:42:57]Sock 9.First char is OK [19:42:57]request: POST /json_proto HTTP/1.0 [19:42:57]Method: POST [19:42:57]URL: /json_proto [19:42:57]Method is POST - this is cgi request [19:42:57]url: /json_proto [19:42:57]query_string will be loaded in cgi processing [19:42:57]execute_cgi json_proto POST (null) [19:42:57]execute_cgi path=json_proto method=POST [19:42:57]POST find Content-Length [19:42:57]Host: 172.17.42.3:8080 [19:42:57]Content-Length: 681 [19:42:57]Content-Type: application/json [19:42:57] [19:42:57]POST finish read [19:42:57]Found Content-Length = 681 [19:42:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46289", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 33.690, "sum" : 2499.80, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2500.00, "total" : 2499.00, "payments": [ { "type": 0, "sum" : 2499.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:42:57]execute_script... [19:42: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 : (1)46289", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 34", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 33.690, "sum" : 2499.80, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2500.00, "total" : 2499.00, "payments": [ { "type": 0, "sum" : 2499.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:42:57]POST & json_proto [19:42:57]process_json_proto [19:42:57]json parsed OK: [19:42:57]protocol is kg_v1.0 [19:42:57]action value=close_receipt [19:42:57]process_action close_receipt [19:42:57]cmd_close_receipt [19:42:57]MH_GetDate [19:42:57]Write to MH i2c: F0 00 00 52 07 48 [19:42:57]Write i2c OK [19:42:57]MH_I2C_Read... [19:42:57]Read from MH i2c: F0 [19:42:57]MH_I2C_Read... [19:42:57]Read from MH i2c: F0 09 00 [19:42:57]MH_I2C_Read... [19:42:57]Read from MH i2c: F0 09 00 52 07 00 41 E9 1F 67 0E CB 1F 67 60 [19:42:57]GetLastDocTimeStamp 1730144518 [19:42:57]current date 1730144577 [19:42:57]FM_GetShiftState [19:42:57]SAM_PROTO_GetShiftState [19:42:57]wFMCommunicate request_size=4 [19:42:57]MH_SAM_APDU [19:42:57]CAPDU: 80 13 01 00 [19:42:57]Write to MH i2c: E2 08 00 53 07 80 13 01 00 00 00 00 00 D7 [19:42:57]Write i2c OK [19:42:57]MH_I2C_Read... [19:42:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:42:57]Read from MH i2c: E2 [19:42:57]MH_I2C_Read... [19:42:57]Read from MH i2c: E2 0E 00 [19:42:57]MH_I2C_Read... [19:42:57]Read from MH i2c: E2 0E 00 53 07 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 D2 [19:42:57]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:42:57]wFMCommunicate OK [19:42:57]SAM_PROTO_GetShiftState done [19:42:57]FM_GetShiftState done [19:42:57]opened in 1730074770 [19:42:57]opened+sec_in_day 1730161170 [19:42:57]quantity*price = 249979 [19:42:57]sum+1 = 249981 [19:42:57]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.80 ИТОГО: 2499.00 Внесено: 2500.00 СДАЧА: 1.00 НСП 1% : 22.12 НДС 12% : 265.46 Наличными: 2499.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 154 28.10.2024 19:42 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68249 ФПД: 16614899085296 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T194257&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68249&fm=16614899085296&tin=02508201610067®Number=0000000000091759&sum=249900 [19:42:58]StoreToDocumentArchive [19:42:58]shift 547 fd 68249 [19:42:58]save to /storage/0547/doc_00068249 [19:42:58]save last doc name /storage/0547/doc_00068249 to /storage/kkm_last_doc_name [19:42:58]save OK [19:42:58]Clear old archive folders... [19:42:58]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:42:58]tlvbuf is 005E19E0 [19:42:58]SAM_PROTO_ClearQueue [19:42:58]wFMCommunicate request_size=4 [19:42:58]MH_SAM_APDU [19:42:58]CAPDU: 80 09 00 00 [19:42:58]Write to MH i2c: E2 08 00 60 07 80 09 00 00 00 00 00 00 D9 [19:42:58]Write i2c OK [19:42:58]MH_I2C_Read... [19:42:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:42:58]Read from MH i2c: E2 [19:42:58]MH_I2C_Read... [19:42:58]Read from MH i2c: E2 03 00 [19:42:58]MH_I2C_Read... [19:42:58]Read from MH i2c: E2 03 00 60 07 00 90 00 DB [19:42:58]RAPDU: 90 00 [19:42:58]wFMCommunicate OK [19:42:58]SAM_PROTO_ClearQueue done [19:42:58]KKMCreateOFDPacket [19:42:58]OFDProtocolAddRootSTLVToBuf [19:42:58]FM_MakeSignedData [19:42:58]FM_MakeSignedData [19:42:58]SAM_PROTO_SignData [19:42:58]wFMCommunicate request_size=4 [19:42:58]MH_SAM_APDU [19:42:58]CAPDU: 80 0D 01 02 [19:42:58]Write to MH i2c: E2 08 00 61 07 80 0D 01 02 00 00 00 00 E1 [19:42:58]Write i2c OK [19:42:58]MH_I2C_Read... [19:42:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:42:58]Read from MH i2c: E2 [19:42:58]MH_I2C_Read... [19:42:58]Read from MH i2c: E2 03 00 [19:42:58]MH_I2C_Read... [19:42:58]Read from MH i2c: E2 03 00 61 07 00 90 00 DC [19:42:58]RAPDU: 90 00 [19:42:58]wFMCommunicate OK [19:42:58]wFMCommunicate request_size=255 [19:42:58]MH_SAM_APDU [19:42:58]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 9A 83 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 7C D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 67 00 00 00 00 07 04 06 00 2C D0 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9A 00 00 00 F4 03 04 00 41 E9 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 99 0A 01 00 35 04 06 00 0F [19:42:58]Write to MH i2c: E2 02 01 62 07 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 9A 83 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 7C D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 67 00 00 00 00 07 04 06 00 2C D0 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9A 00 00 00 F4 03 04 00 41 E9 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 99 0A 01 00 35 04 06 00 0F 00 00 60 [19:42:58]Write i2c OK [19:42:58]MH_I2C_Read... [19:42:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:58]Read from MH i2c: E2 [19:42:58]MH_I2C_Read... [19:42:58]Read from MH i2c: E2 03 00 [19:42:58]MH_I2C_Read... [19:42:58]Read from MH i2c: E2 03 00 62 07 00 90 00 DD [19:42:58]RAPDU: 90 00 [19:42:58]wFMCommunicate OK [19:42:58]wFMCommunicate request_size=10 [19:42:58]MH_SAM_APDU [19:42:58]CAPDU: 80 0D 02 02 05 1C 75 28 6F F0 [19:42:58]Write to MH i2c: E2 0D 00 63 07 80 0D 02 02 05 00 1C 75 28 6F F0 00 00 06 [19:42:58]Write i2c OK [19:42:58]MH_I2C_Read... [19:42:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:58]Read from MH i2c: E2 [19:42:58]MH_I2C_Read... [19:42:58]Read from MH i2c: E2 03 00 [19:42:58]MH_I2C_Read... [19:42:58]Read from MH i2c: E2 03 00 63 07 00 90 00 DE [19:42:58]RAPDU: 90 00 [19:42:58]wFMCommunicate OK [19:42:58]wFMCommunicate request_size=4 [19:42:58]MH_SAM_APDU [19:42:58]CAPDU: 80 0D 03 02 [19:42:58]Write to MH i2c: E2 08 00 64 07 80 0D 03 02 00 00 00 00 E6 [19:42:58]Write i2c OK [19:42:58]MH_I2C_Read... [19:42:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:42:58]Read from MH i2c: E2 [19:42:58]MH_I2C_Read... [19:42:58]Read from MH i2c: E2 0B 00 [19:42:58]MH_I2C_Read... [19:42:58]Read from MH i2c: E2 0B 00 64 07 00 D0 47 07 DD 97 D3 6B F0 90 00 A7 [19:42:58]RAPDU: D0 47 07 DD 97 D3 6B F0 90 00 [19:42:59]wFMCommunicate OK [19:42:59]SAM_PROTO_SignData done [19:42:59]FM_MakeSignedData done [19:42:59]CreateOFDProtocolMessage [19:42:59]wFMCommunicate request_size=4 [19:42:59]MH_SAM_APDU [19:42:59]CAPDU: 80 11 00 00 [19:42:59]Write to MH i2c: E2 08 00 65 07 80 11 00 00 00 00 00 00 E6 [19:42:59]Write i2c OK [19:42:59]MH_I2C_Read... [19:42:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:42:59]Read from MH i2c: E2 [19:42:59]MH_I2C_Read... [19:42:59]Read from MH i2c: E2 17 00 [19:42:59]MH_I2C_Read... [19:42:59]Read from MH i2c: E2 17 00 65 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 3D [19:42:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:42:59]wFMCommunicate OK [19:42:59]CreateOFDProtocolMessage done [19:42:59]OFDSenderStorePacket 68249 [19:42:59]StoreOFDPacket docnum=68249 [19:42:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 01 44 07 01 9A C1 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 9A 83 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 7C D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 67 00 00 00 00 07 04 06 00 2C D0 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9A 00 00 00 F4 03 04 00 41 E9 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 99 0A 01 00 35 04 06 00 0F 1C 75 28 6F F0 D0 47 07 DD 97 D3 6B F0 [19:42:59]CheckFolder [19:42:59]dirname=/storage/ofd_packets [19:42:59]CheckFolder done [19:42:59]ProducePacketName [19:42:59]name=ofd_packets/00068249 [19:42:59]NVStorageSaveData ofd_packets/00068249 [19:42:59]File name is /storage/ofd_packets/00068249 [19:42:59]Write 301 bytes [19:42:59]NVStorageSaveData done [19:42:59]OFDSenderStorePacket done [19:42:59]KKMCreateOFDPacket done [19:42:59]NVStorageSaveData kkm_last_timestamp [19:42:59]File name is /storage/kkm_last_timestamp [19:42:59]Write 4 bytes [19:42:59]NVStorageSaveData done [19:42:59]ExternCall_PrintAddStr [19:42:59]wPrintStart [19:42:59]Write to MH i2c: 01 00 00 66 07 6D [19:42:59]Write i2c OK [19:42:59]MH_I2C_Read... [19:42:59]Read from MH i2c: 01 [19:42:59]MH_I2C_Read... [19:42:59]Read from MH i2c: 01 07 00 [19:42:59]MH_I2C_Read... [19:42:59]Read from MH i2c: 01 07 00 66 07 00 00 00 00 00 FF 0F 82 [19:42:59]RasterBufferAndPrint [19:42:59]line Счет N : (1)46289 [19:42:59]line ИНН: 02508201610067 [19:42:59]line Контрольно-Кассовый Чек [19:42:59]line ПРОДАЖА [19:42:59]line ТРК (МРК, ГНК) : 34 [19:42:59]line Товар: 2710124500 [19:42:59]line Аи-95-К-3 [19:42:59]line 33.690 * 74.20 [19:42:59]line = 2499.80 [19:42:59]line НДС 12% НСП 1% [19:42:59]line > о реализуемом товаре [19:42:59]line ОКРУГЛЕНИЕ: -0.80 [19:42:59]line ИТОГО: 2499.00 [19:42:59]line Внесено: 2500.00 [19:42:59]line СДАЧА: 1.00 [19:42:59]line НСП 1% : 22.12 [19:42:59]line НДС 12% : 265.46 [19:42:59]line Наличными: 2499.00 [19:42:59]line Безнал.: 0.00 [19:42:59]line Место: АЗС № 160 "Партнер Нефть" [19:42:59]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:42:59]line СНО: Общий режим [19:42:59]line Чек 154 28.10.2024 19:42 [19:42:59]line Смена: 547 ФФД: 1.0 [19:42:59]line ЗНМ: 0300000093 [19:42:59]line РНМ: 0000000000091759 [19:42:59]line Версия ККМ: 001 [19:42:59]line ФМ: 0000000000871758 [19:42:59]line ФД: 68249 [19:42:59]line ФПД: 16614899085296 [19:42:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T194257&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68249&fm=16614899085296&tin=02508201610067®Number=0000000000091759&sum=249900 [19:42:59]OFD Sender: Processing packet 68249 [packets to send 27, broken 26] [19:42:59]ProducePacketName [19:42:59]name=ofd_packets/00068249 [19:42:59]OFD Sender: To server: pG, [19:42:59]CommunicateWithHost lk.salyk.kg:30040 [19:42:59]ConnectInit lk.salyk.kg [19:42:59]written 0, free lines is 4095 [19:42:59]Connected sock=10 [19:42:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 01 44 07 01 9A C1 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 9A 83 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 7C D0 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C D0 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A4 08 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 67 00 00 00 00 07 04 06 00 2C D0 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9A 00 00 00 F4 03 04 00 41 E9 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 99 0A 01 00 35 04 06 00 0F 1C 75 28 6F F0 D0 47 07 DD 97 D3 6B F0 [19:42:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 8C 4E 47 00 FC F3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 99 0A 01 00 F4 03 04 00 21 95 1F 67 B6 04 01 00 00 B2 7B 5C 24 B1 DB 1A A2 [19:42:59]CommunicateWithHost err = 0 [19:42:59]CheckOFDResponse [19:42:59]1017 (14) - 77093643461234 [19:42:59]1041 (16) - 0000000000871758 [19:42:59]1040 (4) - 68249 [19:42:59]1012 (4) - 28.10.2024 13:44 [19:42:59]1206 (1) - 0 [19:42:59]OFD Sender: Remove packet 68249 [19:42:59]ProducePacketName [19:42:59]name=ofd_packets/00068249 [19:42:59]NVStorageDeleteData [19:42:59]Write to MH i2c: 01 00 00 90 07 97 [19:42:59]Write i2c OK [19:42:59]MH_I2C_Read... [19:42:59]Read from MH i2c: 01 [19:42:59]MH_I2C_Read... [19:42:59]Read from MH i2c: 01 07 00 [19:42:59]MH_I2C_Read... [19:42:59]Read from MH i2c: 01 07 00 90 07 00 00 00 00 00 C4 0C 6E [19:42:59]RasterBufferAndPrint [19:42:59]line [19:42:59]line [19:42:59]line [19:42:59]line [19:42:59]line [19:42:59]written 0, free lines is 3273 [19:42:59]MH_Cut [19:42:59]Write to MH i2c: D1 01 00 97 07 01 70 [19:42:59]Write i2c OK [19:42:59]MH_I2C_Read... [19:42:59]Read from MH i2c: D1 [19:42:59]MH_I2C_Read... [19:42:59]Read from MH i2c: D1 01 00 [19:42:59]MH_I2C_Read... [19:42:59]Read from MH i2c: D1 01 00 97 07 00 6F [19:42:59]Write to MH i2c: 01 00 00 98 07 9F [19:42:59]Write i2c OK [19:42:59]MH_I2C_Read... [19:43:00]OFD Sender: No OFD packet to send [19:43:00]*** Cut start [19:43:00]*** Partial cut [19:43:00]*** CUTSNS_PIN = 1 [19:43:00]*** CUTSNS_PIN = 0 [19:43:00]*** Brake cut motor [19:43:01]Read from MH i2c: 01 [19:43:01]MH_I2C_Read... [19:43:01]*** Stop cut motor [19:43:01]*** Cut end [19:43:01]Read from MH i2c: 01 07 00 [19:43:01]MH_I2C_Read... [19:43:01]Read from MH i2c: 01 07 00 98 07 00 00 00 00 00 FF 0F B4 [19:43:01]process_action close_receipt done [19:43:01]requested_data is exist [19:43:01]produce_requested_data [19:43:01]requested_item fm.sn is exist - process it [19:43:01]wFMCommunicate request_size=4 [19:43:01]MH_SAM_APDU [19:43:01]CAPDU: 80 11 00 00 [19:43:01]Write to MH i2c: E2 08 00 99 07 80 11 00 00 00 00 00 00 1A [19:43:01]Write i2c OK [19:43:01]MH_I2C_Read... [19:43:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:43:01]Read from MH i2c: E2 [19:43:01]MH_I2C_Read... [19:43:01]Read from MH i2c: E2 17 00 [19:43:01]MH_I2C_Read... [19:43:01]Read from MH i2c: E2 17 00 99 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 71 [19:43:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:43:01]wFMCommunicate OK [19:43:01]requested_item fd.num is exist - process it [19:43:01]SAM_PROTO_GetFieldsCounters [19:43:01]wFMCommunicate request_size=4 [19:43:01]MH_SAM_APDU [19:43:01]CAPDU: 80 13 00 00 [19:43:01]Write to MH i2c: E2 08 00 9A 07 80 13 00 00 00 00 00 00 1D [19:43:01]Write i2c OK [19:43:01]MH_I2C_Read... [19:43:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:43:01]Read from MH i2c: E2 [19:43:01]MH_I2C_Read... [19:43:01]Read from MH i2c: E2 62 00 [19:43:01]MH_I2C_Read... [19:43:01]Read from MH i2c: E2 62 00 9A 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 99 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 9A 00 00 00 5E 04 04 00 9A 00 00 00 57 04 04 00 9B 00 00 00 19 04 04 00 00 00 00 00 90 00 DF [19:43:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 99 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 9A 00 00 00 5E 04 04 00 9A 00 00 00 57 04 04 00 9B 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:43:01]wFMCommunicate OK [19:43:01]SAM_PROTO_GetFieldsCounters done [19:43:01]requested_item shift.num is exist - process it [19:43:01]requested_item shift.opened is exist - process it [19:43:01]req_shift_opened [19:43:01]FM_GetShiftState [19:43:01]SAM_PROTO_GetShiftState [19:43:01]wFMCommunicate request_size=4 [19:43:01]MH_SAM_APDU [19:43:01]CAPDU: 80 13 01 00 [19:43:01]Write to MH i2c: E2 08 00 9B 07 80 13 01 00 00 00 00 00 1F [19:43:01]Write i2c OK [19:43:01]MH_I2C_Read... [19:43:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:43:01]Read from MH i2c: E2 [19:43:01]MH_I2C_Read... [19:43:01]Read from MH i2c: E2 0E 00 [19:43:01]MH_I2C_Read... [19:43:01]Read from MH i2c: E2 0E 00 9B 07 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 1A [19:43:01]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:43:01]wFMCommunicate OK [19:43:01]SAM_PROTO_GetShiftState done [19:43:01]FM_GetShiftState done [19:43:01]req_shift_opened done [19:43:01]requested_item shift.open_date is exist - process it [19:43:01]req_shift_open_date [19:43:01]req_shift_open_date done [19:43:01]produce_requested_data done [19:43:01]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68249,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [19:43:01]process_action_free close_receipt [19:43:01]json_value_free [19:43:01]json_value_free done [19:43:01]process_json_proto returns [19:43:01]Send response to host [19:43:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68249,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [19:43:01]free response buf [19:43:01]execute_script done [19:43:01]execute_script returns [19:43:01]free content buf [19:43:01]Sock 9.Close socket [19:43:01]Sock 9.Thread stoped [19:43:05]OFD Sender: No OFD packet to send [19:43:10]OFD Sender: No OFD packet to send [19:43:15]OFD Sender: No OFD packet to send [19:43:20]OFD Sender: No OFD packet to send [19:43:25]OFD Sender: No OFD packet to send [19:43:30]OFD Sender: No OFD packet to send [19:43:35]OFD Sender: No OFD packet to send [19:43:40]OFD Sender: No OFD packet to send [19:43:45]OFD Sender: No OFD packet to send [19:43:50]OFD Sender: No OFD packet to send [19:43:55]OFD Sender: No OFD packet to send [19:44:00]OFD Sender: No OFD packet to send [19:44:05]OFD Sender: No OFD packet to send [19:44:10]OFD Sender: No OFD packet to send [19:44:15]OFD Sender: No OFD packet to send [19:44:20]OFD Sender: No OFD packet to send [19:44:25]OFD Sender: No OFD packet to send [19:44:30]OFD Sender: No OFD packet to send [19:44:35]OFD Sender: No OFD packet to send [19:44:40]OFD Sender: No OFD packet to send [19:44:45]OFD Sender: No OFD packet to send [19:44:50]OFD Sender: No OFD packet to send [19:44:55]OFD Sender: No OFD packet to send [19:45:00]OFD Sender: No OFD packet to send [19:45:05]OFD Sender: No OFD packet to send [19:45:10]OFD Sender: No OFD packet to send [19:45:15]OFD Sender: No OFD packet to send [19:45:20]OFD Sender: No OFD packet to send [19:45:25]OFD Sender: No OFD packet to send [19:45:30]OFD Sender: No OFD packet to send [19:45:35]OFD Sender: No OFD packet to send [19:45:40]OFD Sender: No OFD packet to send [19:45:45]OFD Sender: No OFD packet to send [19:45:50]OFD Sender: No OFD packet to send [19:45:55]OFD Sender: No OFD packet to send [19:46:00]OFD Sender: No OFD packet to send [19:46:05]OFD Sender: No OFD packet to send [19:46:10]OFD Sender: No OFD packet to send [19:46:15]OFD Sender: No OFD packet to send [19:46:20]OFD Sender: No OFD packet to send [19:46:25]OFD Sender: No OFD packet to send [19:46:30]OFD Sender: No OFD packet to send [19:46:35]OFD Sender: No OFD packet to send [19:46:40]OFD Sender: No OFD packet to send [19:46:45]OFD Sender: No OFD packet to send [19:46:50]OFD Sender: No OFD packet to send [19:46:55]OFD Sender: No OFD packet to send [19:47:00]OFD Sender: No OFD packet to send [19:47:05]OFD Sender: No OFD packet to send [19:47:10]OFD Sender: No OFD packet to send [19:47:15]OFD Sender: No OFD packet to send [19:47:20]OFD Sender: No OFD packet to send [19:47:25]OFD Sender: No OFD packet to send [19:47:30]OFD Sender: No OFD packet to send [19:47:35]OFD Sender: No OFD packet to send [19:47:40]OFD Sender: No OFD packet to send [19:47:45]OFD Sender: No OFD packet to send [19:47:50]OFD Sender: No OFD packet to send [19:47:55]OFD Sender: No OFD packet to send [19:48:00]OFD Sender: No OFD packet to send [19:48:05]OFD Sender: No OFD packet to send [19:48:10]OFD Sender: No OFD packet to send [19:48:15]OFD Sender: No OFD packet to send [19:48:20]OFD Sender: No OFD packet to send [19:48:25]OFD Sender: No OFD packet to send [19:48:30]OFD Sender: No OFD packet to send [19:48:35]OFD Sender: No OFD packet to send [19:48:40]OFD Sender: No OFD packet to send [19:48:45]OFD Sender: No OFD packet to send [19:48:50]OFD Sender: No OFD packet to send [19:48:55]OFD Sender: No OFD packet to send [19:49:00]OFD Sender: No OFD packet to send [19:49:05]OFD Sender: No OFD packet to send [19:49:10]OFD Sender: No OFD packet to send [19:49:15]OFD Sender: No OFD packet to send [19:49:20]OFD Sender: No OFD packet to send [19:49:25]OFD Sender: No OFD packet to send [19:49:30]OFD Sender: No OFD packet to send [19:49:35]OFD Sender: No OFD packet to send [19:49:40]OFD Sender: No OFD packet to send [19:49:45]OFD Sender: No OFD packet to send [19:49:50]OFD Sender: No OFD packet to send [19:49:55]OFD Sender: No OFD packet to send [19:50:00]OFD Sender: No OFD packet to send [19:50:05]OFD Sender: No OFD packet to send [19:50:10]OFD Sender: No OFD packet to send [19:50:15]OFD Sender: No OFD packet to send [19:50:20]OFD Sender: No OFD packet to send [19:50:25]OFD Sender: No OFD packet to send [19:50:30]OFD Sender: No OFD packet to send [19:50:35]OFD Sender: No OFD packet to send [19:50:40]OFD Sender: No OFD packet to send [19:50:45]OFD Sender: No OFD packet to send [19:50:50]OFD Sender: No OFD packet to send [19:50:55]OFD Sender: No OFD packet to send [19:51:00]OFD Sender: No OFD packet to send [19:51:05]OFD Sender: No OFD packet to send [19:51:10]OFD Sender: No OFD packet to send [19:51:15]OFD Sender: No OFD packet to send [19:51:20]OFD Sender: No OFD packet to send [19:51:25]accept exits with 7 [19:51:25]New connection [19:51:25]New thread 3067497828 created [19:51:25]Thread 3067354468 joined [19:51:25]Waiting for new connection... [19:51:25] Sock 7.Parse request [19:51:25]Sock 7.Check first char [19:51:25]Sock 7.First char is OK [19:51:25]request: POST /json_proto HTTP/1.0 [19:51:25]Method: POST [19:51:25]URL: /json_proto [19:51:25]Method is POST - this is cgi request [19:51:25]url: /json_proto [19:51:25]query_string will be loaded in cgi processing [19:51:25]execute_cgi json_proto POST (null) [19:51:25]execute_cgi path=json_proto method=POST [19:51:25]POST find Content-Length [19:51:25]Host: 172.17.42.3:8080 [19:51:25]Content-Length: 678 [19:51:25]Content-Type: application/json [19:51:25] [19:51:25]POST finish read [19:51:25]Found Content-Length = 678 [19:51:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17199", "tax_sys" : 0, "items" : [ { "code": "4602441011131", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041B\u0438\u043C\u043E\u043D\u0430\u0434 0,5\u043B \u0441\u0442 (Gabb trade)", "price" : 123.00, "quantity" : 1.000, "sum" : 123.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 123.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:51:25]execute_script... [19:51:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17199", "tax_sys" : 0, "items" : [ { "code": "4602441011131", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041B\u0438\u043C\u043E\u043D\u0430\u0434 0,5\u043B \u0441\u0442 (Gabb trade)", "price" : 123.00, "quantity" : 1.000, "sum" : 123.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 123.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:51:25]POST & json_proto [19:51:25]process_json_proto [19:51:25]json parsed OK: [19:51:25]protocol is kg_v1.0 [19:51:25]action value=close_receipt [19:51:25]process_action close_receipt [19:51:25]cmd_close_receipt [19:51:25]MH_GetDate [19:51:25]Write to MH i2c: F0 00 00 9C 07 92 [19:51:25]Write i2c OK [19:51:25]MH_I2C_Read... [19:51:25]Read from MH i2c: F0 [19:51:25]MH_I2C_Read... [19:51:25]Read from MH i2c: F0 09 00 [19:51:25]MH_I2C_Read... [19:51:25]Read from MH i2c: F0 09 00 9C 07 00 3D EB 1F 67 0E CB 1F 67 A8 [19:51:25]GetLastDocTimeStamp 1730144577 [19:51:25]current date 1730145085 [19:51:25]FM_GetShiftState [19:51:25]SAM_PROTO_GetShiftState [19:51:25]wFMCommunicate request_size=4 [19:51:25]MH_SAM_APDU [19:51:25]CAPDU: 80 13 01 00 [19:51:25]Write to MH i2c: E2 08 00 9D 07 80 13 01 00 00 00 00 00 21 [19:51:25]Write i2c OK [19:51:25]MH_I2C_Read... [19:51:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:51:25]Read from MH i2c: E2 [19:51:25]MH_I2C_Read... [19:51:25]Read from MH i2c: E2 0E 00 [19:51:25]MH_I2C_Read... [19:51:25]Read from MH i2c: E2 0E 00 9D 07 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 1C [19:51:25]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:51:25]wFMCommunicate OK [19:51:25]SAM_PROTO_GetShiftState done [19:51:25]FM_GetShiftState done [19:51:25]opened in 1730074770 [19:51:25]opened+sec_in_day 1730161170 [19:51:25]quantity*price = 12300 [19:51:25]sum+1 = 12301 [19:51:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 123.00 НСП 1% : 1.09 НДС 12% : 13.06 Наличными: 123.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 155 28.10.2024 19:51 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68250 ФПД: 140194096226337 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T195125&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68250&fm=140194096226337&tin=02508201610067®Number=0000000000091759&sum=12300 0 [19:51:26]StoreToDocumentArchive [19:51:26]shift 547 fd 68250 [19:51:26]save to /storage/0547/doc_00068250 [19:51:26]save last doc name /storage/0547/doc_00068250 to /storage/kkm_last_doc_name [19:51:26]save OK [19:51:26]Clear old archive folders... [19:51:26]ProcessDocumentItem done err = 0, tmpTLVsize=295 [19:51:26]tlvbuf is 005D64B0 [19:51:26]SAM_PROTO_ClearQueue [19:51:26]wFMCommunicate request_size=4 [19:51:26]MH_SAM_APDU [19:51:26]CAPDU: 80 09 00 00 [19:51:26]Write to MH i2c: E2 08 00 AA 07 80 09 00 00 00 00 00 00 23 [19:51:26]Write i2c OK [19:51:26]MH_I2C_Read... [19:51:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:51:26]Read from MH i2c: E2 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 03 00 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 03 00 AA 07 00 90 00 25 [19:51:26]RAPDU: 90 00 [19:51:26]wFMCommunicate OK [19:51:26]SAM_PROTO_ClearQueue done [19:51:26]KKMCreateOFDPacket [19:51:26]OFDProtocolAddRootSTLVToBuf [19:51:26]FM_MakeSignedData [19:51:26]FM_MakeSignedData [19:51:26]SAM_PROTO_SignData [19:51:26]wFMCommunicate request_size=4 [19:51:26]MH_SAM_APDU [19:51:26]CAPDU: 80 0D 01 02 [19:51:26]Write to MH i2c: E2 08 00 AB 07 80 0D 01 02 00 00 00 00 2B [19:51:26]Write i2c OK [19:51:26]MH_I2C_Read... [19:51:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:51:26]Read from MH i2c: E2 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 03 00 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 03 00 AB 07 00 90 00 26 [19:51:26]RAPDU: 90 00 [19:51:26]wFMCommunicate OK [19:51:26]wFMCommunicate request_size=255 [19:51:26]MH_SAM_APDU [19:51:26]CAPDU: 80 0D 02 02 FA 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 33 31 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 30 2C 35 D0 BB 20 D1 81 D1 82 20 28 47 61 62 62 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 30 00 00 00 00 13 04 06 00 0C 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1A 05 00 00 00 00 07 04 06 00 0C 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 9B 00 00 00 F4 03 04 00 3D EB 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [19:51:26]Write to MH i2c: E2 02 01 AC 07 80 0D 02 02 FA 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 33 31 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 30 2C 35 D0 BB 20 D1 81 D1 82 20 28 47 61 62 62 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 30 00 00 00 00 13 04 06 00 0C 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1A 05 00 00 00 00 07 04 06 00 0C 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 9B 00 00 00 F4 03 04 00 3D EB 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 23 [19:51:26]Write i2c OK [19:51:26]MH_I2C_Read... [19:51:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:51:26]Read from MH i2c: E2 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 03 00 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 03 00 AC 07 00 90 00 27 [19:51:26]RAPDU: 90 00 [19:51:26]wFMCommunicate OK [19:51:26]wFMCommunicate request_size=54 [19:51:26]MH_SAM_APDU [19:51:26]CAPDU: 80 0D 02 02 31 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9A 0A 01 00 35 04 06 00 7F 81 7B 4E 20 21 [19:51:26]Write to MH i2c: E2 39 00 AD 07 80 0D 02 02 31 00 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9A 0A 01 00 35 04 06 00 7F 81 7B 4E 20 21 00 00 0E [19:51:26]Write i2c OK [19:51:26]MH_I2C_Read... [19:51:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:51:26]Read from MH i2c: E2 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 03 00 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 03 00 AD 07 00 90 00 28 [19:51:26]RAPDU: 90 00 [19:51:26]wFMCommunicate OK [19:51:26]wFMCommunicate request_size=4 [19:51:26]MH_SAM_APDU [19:51:26]CAPDU: 80 0D 03 02 [19:51:26]Write to MH i2c: E2 08 00 AE 07 80 0D 03 02 00 00 00 00 30 [19:51:26]Write i2c OK [19:51:26]MH_I2C_Read... [19:51:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:51:26]Read from MH i2c: E2 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 0B 00 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 0B 00 AE 07 00 81 E7 56 4D EB 36 C9 36 90 00 5C [19:51:26]RAPDU: 81 E7 56 4D EB 36 C9 36 90 00 [19:51:26]wFMCommunicate OK [19:51:26]SAM_PROTO_SignData done [19:51:26]FM_MakeSignedData done [19:51:26]CreateOFDProtocolMessage [19:51:26]wFMCommunicate request_size=4 [19:51:26]MH_SAM_APDU [19:51:26]CAPDU: 80 11 00 00 [19:51:26]Write to MH i2c: E2 08 00 AF 07 80 11 00 00 00 00 00 00 30 [19:51:26]Write i2c OK [19:51:26]MH_I2C_Read... [19:51:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:51:26]Read from MH i2c: E2 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 17 00 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: E2 17 00 AF 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 87 [19:51:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:51:26]wFMCommunicate OK [19:51:26]CreateOFDProtocolMessage done [19:51:26]OFDSenderStorePacket 68250 [19:51:26]StoreOFDPacket docnum=68250 [19:51:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 3B 01 00 00 2F 9E 33 01 53 D2 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 33 31 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 30 2C 35 D0 BB 20 D1 81 D1 82 20 28 47 61 62 62 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 30 00 00 00 00 13 04 06 00 0C 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1A 05 00 00 00 00 07 04 06 00 0C 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 9B 00 00 00 F4 03 04 00 3D EB 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9A 0A 01 00 35 04 06 00 7F 81 7B 4E 20 21 81 E7 56 4D EB 36 C9 36 [19:51:26]CheckFolder [19:51:26]dirname=/storage/ofd_packets [19:51:26]CheckFolder done [19:51:26]ProducePacketName [19:51:26]name=ofd_packets/00068250 [19:51:26]NVStorageSaveData ofd_packets/00068250 [19:51:26]File name is /storage/ofd_packets/00068250 [19:51:26]Write 345 bytes [19:51:26]NVStorageSaveData done [19:51:26]OFDSenderStorePacket done [19:51:26]KKMCreateOFDPacket done [19:51:26]NVStorageSaveData kkm_last_timestamp [19:51:26]File name is /storage/kkm_last_timestamp [19:51:26]Write 4 bytes [19:51:26]NVStorageSaveData done [19:51:26]ExternCall_PrintAddStr [19:51:26]wPrintStart [19:51:26]Write to MH i2c: 01 00 00 B0 07 B7 [19:51:26]Write i2c OK [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: 01 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: 01 07 00 [19:51:26]MH_I2C_Read... [19:51:26]Read from MH i2c: 01 07 00 B0 07 00 00 00 00 00 FF 0F CC [19:51:26]RasterBufferAndPrint [19:51:26]line Счет N : (3)17199 [19:51:26]line ИНН: 02508201610067 [19:51:26]line Контрольно-Кассовый Чек [19:51:26]line ПРОДАЖА [19:51:26]line Товар: 4602441011131 [19:51:26]line Напиток Лимонад 0,5л ст (Gabb trade) [19:51:26]line 1.000 * 123.00 [19:51:26]line = 123.00 [19:51:26]line НДС 12% НСП 1% [19:51:26]line > о реализуемом товаре [19:51:26]line ИТОГО: 123.00 [19:51:26]line НСП 1% : 1.09 [19:51:26]line НДС 12% : 13.06 [19:51:26]line Наличными: 123.00 [19:51:26]line Безнал.: 0.00 [19:51:26]line Место: АЗС № 160 "Партнер Нефть" [19:51:26]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [19:51:26]line СНО: Общий режим [19:51:26]line Чек 155 28.10.2024 19:51 [19:51:26]line Смена: 547 ФФД: 1.0 [19:51:26]line ЗНМ: 0300000093 [19:51:26]line РНМ: 0000000000091759 [19:51:26]line Версия ККМ: 001 [19:51:26]line ФМ: 0000000000871758 [19:51:26]line ФД: 68250 [19:51:26]line ФПД: 140194096226337 [19:51:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T195125&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68250&fm=140194096226337&tin=02508201610067®Number=0000000000091759&sum=12300 [19:51:27]line 0 [19:51:27]OFD Sender: Processing packet 68250 [packets to send 27, broken 26] [19:51:27]ProducePacketName [19:51:27]name=ofd_packets/00068250 [19:51:27]OFD Sender: To server: pG, [19:51:27]CommunicateWithHost lk.salyk.kg:30040 [19:51:27]ConnectInit lk.salyk.kg [19:51:27]written 0, free lines is 4095 [19:51:27]Connected sock=10 [19:51:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 3B 01 00 00 2F 9E 33 01 53 D2 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 33 31 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 30 2C 35 D0 BB 20 D1 81 D1 82 20 28 47 61 62 62 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 30 00 00 00 00 13 04 06 00 0C 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1A 05 00 00 00 00 07 04 06 00 0C 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 9B 00 00 00 F4 03 04 00 3D EB 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9A 0A 01 00 35 04 06 00 7F 81 7B 4E 20 21 81 E7 56 4D EB 36 C9 36 [19:51:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 97 F3 47 00 B5 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 38 37 31 37 35 38 10 04 04 00 9A 0A 01 00 F4 03 04 00 1D 97 1F 67 B6 04 01 00 00 FF 19 14 1F AE F8 6A AD [19:51:27]CommunicateWithHost err = 0 [19:51:27]CheckOFDResponse [19:51:27]1017 (14) - 77093643461234 [19:51:27]1041 (16) - 0000000000871758 [19:51:27]1040 (4) - 68250 [19:51:27]1012 (4) - 28.10.2024 13:52 [19:51:27]1206 (1) - 0 [19:51:27]OFD Sender: Remove packet 68250 [19:51:27]ProducePacketName [19:51:27]name=ofd_packets/00068250 [19:51:27]NVStorageDeleteData [19:51:27]Write to MH i2c: 01 00 00 D8 07 DF [19:51:27]Write i2c OK [19:51:27]MH_I2C_Read... [19:51:27]Read from MH i2c: 01 [19:51:27]MH_I2C_Read... [19:51:27]Read from MH i2c: 01 07 00 [19:51:27]MH_I2C_Read... [19:51:27]Read from MH i2c: 01 07 00 D8 07 00 00 00 00 00 D4 0C C6 [19:51:27]RasterBufferAndPrint [19:51:27]line [19:51:27]line [19:51:27]line [19:51:27]line [19:51:27]line [19:51:27]written 0, free lines is 3290 [19:51:27]MH_Cut [19:51:27]Write to MH i2c: D1 01 00 DF 07 01 B8 [19:51:27]Write i2c OK [19:51:27]MH_I2C_Read... [19:51:27]Read from MH i2c: D1 [19:51:27]MH_I2C_Read... [19:51:27]Read from MH i2c: D1 01 00 [19:51:27]MH_I2C_Read... [19:51:27]Read from MH i2c: D1 01 00 DF 07 00 B7 [19:51:27]Write to MH i2c: 01 00 00 E0 07 E7 [19:51:27]Write i2c OK [19:51:27]MH_I2C_Read... [19:51:27]OFD Sender: No OFD packet to send [19:51:28]*** Cut start [19:51:28]*** Partial cut [19:51:28]*** CUTSNS_PIN = 1 [19:51:28]*** CUTSNS_PIN = 0 [19:51:28]*** Brake cut motor [19:51:28]Read from MH i2c: 01 [19:51:28]MH_I2C_Read... [19:51:28]*** Stop cut motor [19:51:28]*** Cut end [19:51:28]Read from MH i2c: 01 07 00 [19:51:28]MH_I2C_Read... [19:51:28]Read from MH i2c: 01 07 00 E0 07 00 00 00 00 00 FF 0F FC [19:51:28]process_action close_receipt done [19:51:28]requested_data is exist [19:51:28]produce_requested_data [19:51:28]requested_item fm.sn is exist - process it [19:51:28]wFMCommunicate request_size=4 [19:51:28]MH_SAM_APDU [19:51:28]CAPDU: 80 11 00 00 [19:51:28]Write to MH i2c: E2 08 00 E1 07 80 11 00 00 00 00 00 00 62 [19:51:28]Write i2c OK [19:51:28]MH_I2C_Read... [19:51:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:51:29]Read from MH i2c: E2 [19:51:29]MH_I2C_Read... [19:51:29]Read from MH i2c: E2 17 00 [19:51:29]MH_I2C_Read... [19:51:29]Read from MH i2c: E2 17 00 E1 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 B9 [19:51:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [19:51:29]wFMCommunicate OK [19:51:29]requested_item fd.num is exist - process it [19:51:29]SAM_PROTO_GetFieldsCounters [19:51:29]wFMCommunicate request_size=4 [19:51:29]MH_SAM_APDU [19:51:29]CAPDU: 80 13 00 00 [19:51:29]Write to MH i2c: E2 08 00 E2 07 80 13 00 00 00 00 00 00 65 [19:51:29]Write i2c OK [19:51:29]MH_I2C_Read... [19:51:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:51:29]Read from MH i2c: E2 [19:51:29]MH_I2C_Read... [19:51:29]Read from MH i2c: E2 62 00 [19:51:29]MH_I2C_Read... [19:51:29]Read from MH i2c: E2 62 00 E2 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 9A 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 9B 00 00 00 5E 04 04 00 9B 00 00 00 57 04 04 00 9C 00 00 00 19 04 04 00 00 00 00 00 90 00 2B [19:51:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 9A 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 9B 00 00 00 5E 04 04 00 9B 00 00 00 57 04 04 00 9C 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:51:29]wFMCommunicate OK [19:51:29]SAM_PROTO_GetFieldsCounters done [19:51:29]requested_item shift.num is exist - process it [19:51:29]requested_item shift.opened is exist - process it [19:51:29]req_shift_opened [19:51:29]FM_GetShiftState [19:51:29]SAM_PROTO_GetShiftState [19:51:29]wFMCommunicate request_size=4 [19:51:29]MH_SAM_APDU [19:51:29]CAPDU: 80 13 01 00 [19:51:29]Write to MH i2c: E2 08 00 E3 07 80 13 01 00 00 00 00 00 67 [19:51:29]Write i2c OK [19:51:29]MH_I2C_Read... [19:51:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:51:29]Read from MH i2c: E2 [19:51:29]MH_I2C_Read... [19:51:29]Read from MH i2c: E2 0E 00 [19:51:29]MH_I2C_Read... [19:51:29]Read from MH i2c: E2 0E 00 E3 07 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 62 [19:51:29]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [19:51:29]wFMCommunicate OK [19:51:29]SAM_PROTO_GetShiftState done [19:51:29]FM_GetShiftState done [19:51:29]req_shift_opened done [19:51:29]requested_item shift.open_date is exist - process it [19:51:29]req_shift_open_date [19:51:29]req_shift_open_date done [19:51:29]produce_requested_data done [19:51:29]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68250,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [19:51:29]process_action_free close_receipt [19:51:29]json_value_free [19:51:29]json_value_free done [19:51:29]process_json_proto returns [19:51:29]Send response to host [19:51:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68250,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [19:51:29]free response buf [19:51:29]execute_script done [19:51:29]execute_script returns [19:51:29]free content buf [19:51:29]Sock 7.Close socket [19:51:29]Sock 7.Thread stoped [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:28]OFD Sender: No OFD packet to send [19:53:33]OFD Sender: No OFD packet to send [19:53:38]OFD Sender: No OFD packet to send [19:53:43]OFD Sender: No OFD packet to send [19:53:48]OFD Sender: No OFD packet to send [19:53:53]OFD Sender: No OFD packet to send [19:53:58]OFD Sender: No OFD packet to send [19:54:03]OFD Sender: No OFD packet to send [19:54:08]OFD Sender: No OFD packet to send [19:54:13]OFD Sender: No OFD packet to send [19:54:18]OFD Sender: No OFD packet to send [19:54:23]OFD Sender: No OFD packet to send [19:54:28]OFD Sender: No OFD packet to send [19:54:33]OFD Sender: No OFD packet to send [19:54:38]OFD Sender: No OFD packet to send [19:54:43]OFD Sender: No OFD packet to send [19:54:48]OFD Sender: No OFD packet to send [19:54:53]OFD Sender: No OFD packet to send [19:54:58]OFD Sender: No OFD packet to send [19:55:03]OFD Sender: No OFD packet to send [19:55:08]OFD Sender: No OFD packet to send [19:55:13]OFD Sender: No OFD packet to send [19:55:18]OFD Sender: No OFD packet to send [19:55:23]OFD Sender: No OFD packet to send [19:55:28]OFD Sender: No OFD packet to send [19:55:33]OFD Sender: No OFD packet to send [19:55:38]OFD Sender: No OFD packet to send [19:55:43]OFD Sender: No OFD packet to send [19:55:48]OFD Sender: No OFD packet to send [19:55:53]OFD Sender: No OFD packet to send [19:55:58]OFD Sender: No OFD packet to send [19:56:03]OFD Sender: No OFD packet to send [19:56:08]OFD Sender: No OFD packet to send [19:56:13]OFD Sender: No OFD packet to send [19:56:18]OFD Sender: No OFD packet to send [19:56:23]OFD Sender: No OFD packet to send [19:56:28]OFD Sender: No OFD packet to send [19:56:33]OFD Sender: No OFD packet to send [19:56:38]OFD Sender: No OFD packet to send [19:56:43]OFD Sender: No OFD packet to send [19:56:48]OFD Sender: No OFD packet to send [19:56:53]OFD Sender: No OFD packet to send [19:56:58]OFD Sender: No OFD packet to send [19:57:03]OFD Sender: No OFD packet to send [19:57:08]OFD Sender: No OFD packet to send [19:57:13]OFD Sender: No OFD packet to send [19:57:18]OFD Sender: No OFD packet to send [19:57:23]OFD Sender: No OFD packet to send [19:57:28]OFD Sender: No OFD packet to send [19:57:33]OFD Sender: No OFD packet to send [19:57:38]OFD Sender: No OFD packet to send [19:57:43]OFD Sender: No OFD packet to send [19:57:48]OFD Sender: No OFD packet to send [19:57:53]OFD Sender: No OFD packet to send [19:57:58]OFD Sender: No OFD packet to send [19:58:03]OFD Sender: No OFD packet to send [19:58:08]OFD Sender: No OFD packet to send [19:58:13]OFD Sender: No OFD packet to send [19:58:18]OFD Sender: No OFD packet to send [19:58:23]OFD Sender: No OFD packet to send [19:58:28]OFD Sender: No OFD packet to send [19:58:33]OFD Sender: No OFD packet to send [19:58:38]OFD Sender: No OFD packet to send [19:58:43]OFD Sender: No OFD packet to send [19:58:48]OFD Sender: No OFD packet to send [19:58:53]OFD Sender: No OFD packet to send [19:58:58]OFD Sender: No OFD packet to send [19:59:03]OFD Sender: No OFD packet to send [19:59:08]OFD Sender: No OFD packet to send [19:59:13]OFD Sender: No OFD packet to send [19:59:18]OFD Sender: No OFD packet to send [19:59:23]OFD Sender: No OFD packet to send [19:59:28]OFD Sender: No OFD packet to send [19:59:33]OFD Sender: No OFD packet to send [19:59:38]OFD Sender: No OFD packet to send [19:59:43]OFD Sender: No OFD packet to send [19:59:48]OFD Sender: No OFD packet to send [19:59:53]OFD Sender: No OFD packet to send [19:59:58]OFD Sender: No OFD packet to send [20:00:03]OFD Sender: No OFD packet to send [20:00:08]OFD Sender: No OFD packet to send [20:00:13]OFD Sender: No OFD packet to send [20:00:18]OFD Sender: No OFD packet to send [20:00:23]OFD Sender: No OFD packet to send [20:00:28]OFD Sender: No OFD packet to send [20:00:33]OFD Sender: No OFD packet to send [20:00:38]OFD Sender: No OFD packet to send [20:00:43]OFD Sender: No OFD packet to send [20:00:48]OFD Sender: No OFD packet to send [20:00:53]OFD Sender: No OFD packet to send [20:00:58]OFD Sender: No OFD packet to send [20:01:03]OFD Sender: No OFD packet to send [20:01:08]OFD Sender: No OFD packet to send [20:01:13]OFD Sender: No OFD packet to send [20:01:18]OFD Sender: No OFD packet to send [20:01:23]OFD Sender: No OFD packet to send [20:01:28]OFD Sender: No OFD packet to send [20:01:33]OFD Sender: No OFD packet to send [20:01:38]OFD Sender: No OFD packet to send [20:01:43]OFD Sender: No OFD packet to send [20:01:48]OFD Sender: No OFD packet to send [20:01:53]OFD Sender: No OFD packet to send [20:01:58]OFD Sender: No OFD packet to send [20:02:03]OFD Sender: No OFD packet to send [20:02:08]OFD Sender: No OFD packet to send [20:02:13]OFD Sender: No OFD packet to send [20:02:16]accept exits with 9 [20:02:16]New connection [20:02:16]New thread 3067354468 created [20:02:16]Thread 3067497828 joined [20:02:16]Waiting for new connection... [20:02:16] Sock 9.Parse request [20:02:16]Sock 9.Check first char [20:02:16]Sock 9.First char is OK [20:02:16]request: POST /json_proto HTTP/1.0 [20:02:16]Method: POST [20:02:16]URL: /json_proto [20:02:16]Method is POST - this is cgi request [20:02:16]url: /json_proto [20:02:16]query_string will be loaded in cgi processing [20:02:16]execute_cgi json_proto POST (null) [20:02:16]execute_cgi path=json_proto method=POST [20:02:16]POST find Content-Length [20:02:16]Host: 172.17.42.3:8080 [20:02:16]Content-Length: 676 [20:02:16]Content-Type: application/json [20:02:16] [20:02:16]POST finish read [20:02:16]Found Content-Length = 676 [20:02:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46290", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:02:16]execute_script... [20:02: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 : (1)46290", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.480, "sum" : 500.41, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:02:16]POST & json_proto [20:02:16]process_json_proto [20:02:16]json parsed OK: [20:02:16]protocol is kg_v1.0 [20:02:16]action value=close_receipt [20:02:16]process_action close_receipt [20:02:16]cmd_close_receipt [20:02:16]MH_GetDate [20:02:16]Write to MH i2c: F0 00 00 E4 07 DA [20:02:16]Write i2c OK [20:02:16]MH_I2C_Read... [20:02:16]Read from MH i2c: F0 [20:02:16]MH_I2C_Read... [20:02:16]Read from MH i2c: F0 09 00 [20:02:16]MH_I2C_Read... [20:02:16]Read from MH i2c: F0 09 00 E4 07 00 C9 ED 1F 67 0E CB 1F 67 7E [20:02:16]GetLastDocTimeStamp 1730145085 [20:02:16]current date 1730145737 [20:02:16]FM_GetShiftState [20:02:16]SAM_PROTO_GetShiftState [20:02:16]wFMCommunicate request_size=4 [20:02:16]MH_SAM_APDU [20:02:16]CAPDU: 80 13 01 00 [20:02:16]Write to MH i2c: E2 08 00 E5 07 80 13 01 00 00 00 00 00 69 [20:02:16]Write i2c OK [20:02:16]MH_I2C_Read... [20:02:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:02:16]Read from MH i2c: E2 [20:02:16]MH_I2C_Read... [20:02:16]Read from MH i2c: E2 0E 00 [20:02:16]MH_I2C_Read... [20:02:16]Read from MH i2c: E2 0E 00 E5 07 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 64 [20:02:16]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [20:02:16]wFMCommunicate OK [20:02:16]SAM_PROTO_GetShiftState done [20:02:16]FM_GetShiftState done [20:02:16]opened in 1730074770 [20:02:16]opened+sec_in_day 1730161170 [20:02:16]quantity*price = 50041 [20:02:16]sum+1 = 50042 [20:02:16]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.41 ИТОГО: 500.00 Внесено: 500.00 СДАЧА: 0.00 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 500.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 156 28.10.2024 20:02 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68251 ФПД: 275625095050362 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T200217&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68251&fm=275625095050362&tin=02508201610067®Number=0000000000091759&sum=50000 [20:02:17]StoreToDocumentArchive [20:02:17]shift 547 fd 68251 [20:02:17]save to /storage/0547/doc_00068251 [20:02:17]save last doc name /storage/0547/doc_00068251 to /storage/kkm_last_doc_name [20:02:17]save OK [20:02:17]Clear old archive folders... [20:02:17]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:02:17]tlvbuf is 005C2530 [20:02:17]SAM_PROTO_ClearQueue [20:02:17]wFMCommunicate request_size=4 [20:02:17]MH_SAM_APDU [20:02:17]CAPDU: 80 09 00 00 [20:02:17]Write to MH i2c: E2 08 00 F2 07 80 09 00 00 00 00 00 00 6B [20:02:17]Write i2c OK [20:02:17]MH_I2C_Read... [20:02:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:02:18]Read from MH i2c: E2 [20:02:18]MH_I2C_Read... [20:02:18]Read from MH i2c: E2 03 00 [20:02:18]MH_I2C_Read... [20:02:18]Read from MH i2c: E2 03 00 F2 07 00 90 00 6D [20:02:18]RAPDU: 90 00 [20:02:18]wFMCommunicate OK [20:02:18]SAM_PROTO_ClearQueue done [20:02:18]KKMCreateOFDPacket [20:02:18]OFDProtocolAddRootSTLVToBuf [20:02:18]FM_MakeSignedData [20:02:18]FM_MakeSignedData [20:02:18]SAM_PROTO_SignData [20:02:18]wFMCommunicate request_size=4 [20:02:18]MH_SAM_APDU [20:02:18]CAPDU: 80 0D 01 02 [20:02:18]Write to MH i2c: E2 08 00 F3 07 80 0D 01 02 00 00 00 00 73 [20:02:18]Write i2c OK [20:02:18]MH_I2C_Read... [20:02:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:02:18]Read from MH i2c: E2 [20:02:18]MH_I2C_Read... [20:02:18]Read from MH i2c: E2 03 00 [20:02:18]MH_I2C_Read... [20:02:18]Read from MH i2c: E2 03 00 F3 07 00 90 00 6E [20:02:18]RAPDU: 90 00 [20:02:18]wFMCommunicate OK [20:02:18]wFMCommunicate request_size=255 [20:02:18]MH_SAM_APDU [20:02:18]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9C 00 00 00 F4 03 04 00 C9 ED 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9B 0A 01 00 35 04 06 00 FA [20:02:18]Write to MH i2c: E2 02 01 F4 07 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9C 00 00 00 F4 03 04 00 C9 ED 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9B 0A 01 00 35 04 06 00 FA 00 00 A9 [20:02:18]Write i2c OK [20:02:18]MH_I2C_Read... [20:02:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:02:18]Read from MH i2c: E2 [20:02:18]MH_I2C_Read... [20:02:18]Read from MH i2c: E2 03 00 [20:02:18]MH_I2C_Read... [20:02:18]Read from MH i2c: E2 03 00 F4 07 00 90 00 6F [20:02:18]RAPDU: 90 00 [20:02:18]wFMCommunicate OK [20:02:18]wFMCommunicate request_size=10 [20:02:18]MH_SAM_APDU [20:02:18]CAPDU: 80 0D 02 02 05 AD F7 E1 B4 7A [20:02:18]Write to MH i2c: E2 0D 00 F5 07 80 0D 02 02 05 00 AD F7 E1 B4 7A 00 00 33 [20:02:18]Write i2c OK [20:02:18]MH_I2C_Read... [20:02:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:02:18]Read from MH i2c: E2 [20:02:18]MH_I2C_Read... [20:02:18]Read from MH i2c: E2 03 00 [20:02:18]MH_I2C_Read... [20:02:18]Read from MH i2c: E2 03 00 F5 07 00 90 00 70 [20:02:18]RAPDU: 90 00 [20:02:18]wFMCommunicate OK [20:02:18]wFMCommunicate request_size=4 [20:02:18]MH_SAM_APDU [20:02:18]CAPDU: 80 0D 03 02 [20:02:18]Write to MH i2c: E2 08 00 F6 07 80 0D 03 02 00 00 00 00 78 [20:02:18]Write i2c OK [20:02:18]MH_I2C_Read... [20:02:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:02:18]Read from MH i2c: E2 [20:02:18]MH_I2C_Read... [20:02:18]Read from MH i2c: E2 0B 00 [20:02:18]MH_I2C_Read... [20:02:18]Read from MH i2c: E2 0B 00 F6 07 00 F5 5A 50 DC B3 59 40 06 90 00 46 [20:02:18]RAPDU: F5 5A 50 DC B3 59 40 06 90 00 [20:02:18]wFMCommunicate OK [20:02:18]SAM_PROTO_SignData done [20:02:18]FM_MakeSignedData done [20:02:18]CreateOFDProtocolMessage [20:02:18]wFMCommunicate request_size=4 [20:02:18]MH_SAM_APDU [20:02:18]CAPDU: 80 11 00 00 [20:02:18]Write to MH i2c: E2 08 00 F7 07 80 11 00 00 00 00 00 00 78 [20:02:18]Write i2c OK [20:02:18]MH_I2C_Read... [20:02:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:02:18]Read from MH i2c: E2 [20:02:18]MH_I2C_Read... [20:02:18]Read from MH i2c: E2 17 00 [20:02:18]MH_I2C_Read... [20:02:18]Read from MH i2c: E2 17 00 F7 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 CF [20:02:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:02:18]wFMCommunicate OK [20:02:18]CreateOFDProtocolMessage done [20:02:18]OFDSenderStorePacket 68251 [20:02:18]StoreOFDPacket docnum=68251 [20:02:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 75 FF 07 01 F4 8A 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9C 00 00 00 F4 03 04 00 C9 ED 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9B 0A 01 00 35 04 06 00 FA AD F7 E1 B4 7A F5 5A 50 DC B3 59 40 06 [20:02:18]CheckFolder [20:02:18]dirname=/storage/ofd_packets [20:02:18]CheckFolder done [20:02:18]ProducePacketName [20:02:18]name=ofd_packets/00068251 [20:02:18]NVStorageSaveData ofd_packets/00068251 [20:02:18]File name is /storage/ofd_packets/00068251 [20:02:18]Write 301 bytes [20:02:18]NVStorageSaveData done [20:02:18]OFDSenderStorePacket done [20:02:18]KKMCreateOFDPacket done [20:02:18]NVStorageSaveData kkm_last_timestamp [20:02:18]File name is /storage/kkm_last_timestamp [20:02:18]Write 4 bytes [20:02:18]NVStorageSaveData done [20:02:18]OFD Sender: Processing packet 68251 [packets to send 27, broken 26] [20:02:18]ProducePacketName [20:02:18]name=ofd_packets/00068251 [20:02:18]OFD Sender: To server: pG, [20:02:18]CommunicateWithHost lk.salyk.kg:30040 [20:02:18]ConnectInit lk.salyk.kg [20:02:18]ExternCall_PrintAddStr [20:02:18]wPrintStart [20:02:18]Write to MH i2c: 01 00 00 F8 07 FF [20:02:18]Write i2c OK [20:02:18]MH_I2C_Read... [20:02:18]Read from MH i2c: 01 [20:02:18]MH_I2C_Read... [20:02:18]Read from MH i2c: 01 07 00 [20:02:18]MH_I2C_Read... [20:02:18]Read from MH i2c: 01 07 00 F8 07 00 00 00 00 00 FF 0F 14 [20:02:18]RasterBufferAndPrint [20:02:18]line Счет N : (1)46290 [20:02:18]line ИНН: 02508201610067 [20:02:18]line Контрольно-Кассовый Чек [20:02:18]line ПРОДАЖА [20:02:18]line ТРК (МРК, ГНК) : 13 [20:02:18]line Товар: 2710124130 [20:02:18]line Аи-92-К-5 [20:02:18]line 7.480 * 66.90 [20:02:18]line = 500.41 [20:02:18]line НДС 12% НСП 1% [20:02:18]line > о реализуемом товаре [20:02:18]line ОКРУГЛЕНИЕ: -0.41 [20:02:18]line ИТОГО: 500.00 [20:02:18]line Внесено: 500.00 [20:02:18]line СДАЧА: 0.00 [20:02:18]line НСП 1% : 4.43 [20:02:18]line НДС 12% : 53.14 [20:02:18]line Наличными: 500.00 [20:02:18]line Безнал.: 0.00 [20:02:18]line Место: АЗС № 160 "Партнер Нефть" [20:02:18]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [20:02:18]line СНО: Общий режим [20:02:18]line Чек 156 28.10.2024 20:02 [20:02:18]line Смена: 547 ФФД: 1.0 [20:02:18]line ЗНМ: 0300000093 [20:02:18]line РНМ: 0000000000091759 [20:02:18]line Версия ККМ: 001 [20:02:18]line ФМ: 0000000000871758 [20:02:18]line ФД: 68251 [20:02:18]line ФПД: 275625095050362 [20:02:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T200217&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68251&fm=275625095050362&tin=02508201610067®Number=0000000000091759&sum=50000 [20:02:18]Connected sock=11 [20:02:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 75 FF 07 01 F4 8A 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 38 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 79 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9C 00 00 00 F4 03 04 00 C9 ED 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9B 0A 01 00 35 04 06 00 FA AD F7 E1 B4 7A F5 5A 50 DC B3 59 40 06 [20:02:18]written 0, free lines is 4095 [20:02:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 99 02 47 00 6C 06 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9B 0A 01 00 F4 03 04 00 A9 99 1F 67 B6 04 01 00 00 C0 78 B3 C1 09 69 99 32 [20:02:19]CommunicateWithHost err = 0 [20:02:19]CheckOFDResponse [20:02:19]1017 (14) - 77093643461234 [20:02:19]1041 (16) - 0000000000871758 [20:02:19]1040 (4) - 68251 [20:02:19]1012 (4) - 28.10.2024 14:03 [20:02:19]1206 (1) - 0 [20:02:19]OFD Sender: Remove packet 68251 [20:02:19]ProducePacketName [20:02:19]name=ofd_packets/00068251 [20:02:19]NVStorageDeleteData [20:02:19]Write to MH i2c: 01 00 00 22 08 2A [20:02:19]Write i2c OK [20:02:19]MH_I2C_Read... [20:02:19]Read from MH i2c: 01 [20:02:19]MH_I2C_Read... [20:02:19]Read from MH i2c: 01 07 00 [20:02:19]MH_I2C_Read... [20:02:19]Read from MH i2c: 01 07 00 22 08 00 00 00 00 00 B5 0C F2 [20:02:19]RasterBufferAndPrint [20:02:19]line [20:02:19]line [20:02:19]line [20:02:19]line [20:02:19]line [20:02:19]written 0, free lines is 3259 [20:02:19]MH_Cut [20:02:19]Write to MH i2c: D1 01 00 29 08 01 03 [20:02:19]Write i2c OK [20:02:19]MH_I2C_Read... [20:02:19]Read from MH i2c: D1 [20:02:19]MH_I2C_Read... [20:02:19]Read from MH i2c: D1 01 00 [20:02:19]MH_I2C_Read... [20:02:19]Read from MH i2c: D1 01 00 29 08 00 02 [20:02:19]Write to MH i2c: 01 00 00 2A 08 32 [20:02:19]Write i2c OK [20:02:19]MH_I2C_Read... [20:02:19]OFD Sender: No OFD packet to send [20:02:20]*** Cut start [20:02:20]*** Partial cut [20:02:20]*** CUTSNS_PIN = 1 [20:02:20]*** CUTSNS_PIN = 0 [20:02:20]*** Brake cut motor [20:02:20]Read from MH i2c: 01 [20:02:20]MH_I2C_Read... [20:02:20]*** Stop cut motor [20:02:20]*** Cut end [20:02:20]Read from MH i2c: 01 07 00 [20:02:20]MH_I2C_Read... [20:02:20]Read from MH i2c: 01 07 00 2A 08 00 00 00 00 00 FF 0F 47 [20:02:20]process_action close_receipt done [20:02:20]requested_data is exist [20:02:20]produce_requested_data [20:02:20]requested_item fm.sn is exist - process it [20:02:20]wFMCommunicate request_size=4 [20:02:20]MH_SAM_APDU [20:02:20]CAPDU: 80 11 00 00 [20:02:20]Write to MH i2c: E2 08 00 2B 08 80 11 00 00 00 00 00 00 AD [20:02:20]Write i2c OK [20:02:20]MH_I2C_Read... [20:02:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:02:20]Read from MH i2c: E2 [20:02:20]MH_I2C_Read... [20:02:20]Read from MH i2c: E2 17 00 [20:02:20]MH_I2C_Read... [20:02:20]Read from MH i2c: E2 17 00 2B 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 04 [20:02:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:02:20]wFMCommunicate OK [20:02:20]requested_item fd.num is exist - process it [20:02:20]SAM_PROTO_GetFieldsCounters [20:02:20]wFMCommunicate request_size=4 [20:02:20]MH_SAM_APDU [20:02:20]CAPDU: 80 13 00 00 [20:02:20]Write to MH i2c: E2 08 00 2C 08 80 13 00 00 00 00 00 00 B0 [20:02:20]Write i2c OK [20:02:20]MH_I2C_Read... [20:02:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:02:20]Read from MH i2c: E2 [20:02:20]MH_I2C_Read... [20:02:20]Read from MH i2c: E2 62 00 [20:02:20]MH_I2C_Read... [20:02:20]Read from MH i2c: E2 62 00 2C 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 9B 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 9C 00 00 00 5E 04 04 00 9C 00 00 00 57 04 04 00 9D 00 00 00 19 04 04 00 00 00 00 00 90 00 7A [20:02:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 9B 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 9C 00 00 00 5E 04 04 00 9C 00 00 00 57 04 04 00 9D 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:02:20]wFMCommunicate OK [20:02:20]SAM_PROTO_GetFieldsCounters done [20:02:20]requested_item shift.num is exist - process it [20:02:20]requested_item shift.opened is exist - process it [20:02:20]req_shift_opened [20:02:20]FM_GetShiftState [20:02:20]SAM_PROTO_GetShiftState [20:02:20]wFMCommunicate request_size=4 [20:02:20]MH_SAM_APDU [20:02:20]CAPDU: 80 13 01 00 [20:02:20]Write to MH i2c: E2 08 00 2D 08 80 13 01 00 00 00 00 00 B2 [20:02:20]Write i2c OK [20:02:20]MH_I2C_Read... [20:02:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:02:20]Read from MH i2c: E2 [20:02:20]MH_I2C_Read... [20:02:20]Read from MH i2c: E2 0E 00 [20:02:20]MH_I2C_Read... [20:02:20]Read from MH i2c: E2 0E 00 2D 08 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 AD [20:02:20]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [20:02:20]wFMCommunicate OK [20:02:20]SAM_PROTO_GetShiftState done [20:02:20]FM_GetShiftState done [20:02:20]req_shift_opened done [20:02:20]requested_item shift.open_date is exist - process it [20:02:20]req_shift_open_date [20:02:20]req_shift_open_date done [20:02:20]produce_requested_data done [20:02:20]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68251,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [20:02:20]process_action_free close_receipt [20:02:20]json_value_free [20:02:20]json_value_free done [20:02:20]process_json_proto returns [20:02:20]Send response to host [20:02:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68251,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [20:02:20]free response buf [20:02:20]execute_script done [20:02:20]execute_script returns [20:02:20]free content buf [20:02:20]Sock 9.Close socket [20:02:20]Sock 9.Thread stoped [20:02:24]OFD Sender: No OFD packet to send [20:02:29]OFD Sender: No OFD packet to send [20:02:34]OFD Sender: No OFD packet to send [20:02:39]OFD Sender: No OFD packet to send [20:02:44]OFD Sender: No OFD packet to send [20:02:49]OFD Sender: No OFD packet to send [20:02:54]OFD Sender: No OFD packet to send [20:02:59]OFD Sender: No OFD packet to send [20:03:04]OFD Sender: No OFD packet to send [20:03:09]OFD Sender: No OFD packet to send [20:03:14]OFD Sender: No OFD packet to send [20:03:19]OFD Sender: No OFD packet to send [20:03:24]OFD Sender: No OFD packet to send [20:03:29]OFD Sender: No OFD packet to send [20:03:34]OFD Sender: No OFD packet to send [20:03:39]OFD Sender: No OFD packet to send [20:03:44]OFD Sender: No OFD packet to send [20:03:49]OFD Sender: No OFD packet to send [20:03:54]OFD Sender: No OFD packet to send [20:03:59]OFD Sender: No OFD packet to send [20:04:04]OFD Sender: No OFD packet to send [20:04:09]OFD Sender: No OFD packet to send [20:04:14]OFD Sender: No OFD packet to send [20:04:19]OFD Sender: No OFD packet to send [20:04:20]accept exits with 7 [20:04:20]New connection [20:04:20]New thread 3067497828 created [20:04:20]Thread 3067354468 joined [20:04:20]Waiting for new connection... [20:04:20] Sock 7.Parse request [20:04:20]Sock 7.Check first char [20:04:20]Sock 7.First char is OK [20:04:20]request: POST /json_proto HTTP/1.0 [20:04:20]Method: POST [20:04:20]URL: /json_proto [20:04:20]Method is POST - this is cgi request [20:04:20]url: /json_proto [20:04:20]query_string will be loaded in cgi processing [20:04:20]execute_cgi json_proto POST (null) [20:04:20]execute_cgi path=json_proto method=POST [20:04:20]POST find Content-Length [20:04:20]Host: 172.17.42.3:8080 [20:04:20]Content-Length: 623 [20:04:20]Content-Type: application/json [20:04:20] [20:04:20]POST finish read [20:04:20]Found Content-Length = 623 [20:04:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17200", "tax_sys" : 0, "items" : [ { "code": "48747073", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Royal Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:04:20]execute_script... [20:04:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17200", "tax_sys" : 0, "items" : [ { "code": "48747073", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Royal Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:04:20]POST & json_proto [20:04:20]process_json_proto [20:04:20]json parsed OK: [20:04:20]protocol is kg_v1.0 [20:04:20]action value=close_receipt [20:04:20]process_action close_receipt [20:04:20]cmd_close_receipt [20:04:20]MH_GetDate [20:04:20]Write to MH i2c: F0 00 00 2E 08 25 [20:04:20]Write i2c OK [20:04:20]MH_I2C_Read... [20:04:20]Read from MH i2c: F0 [20:04:20]MH_I2C_Read... [20:04:20]Read from MH i2c: F0 09 00 [20:04:20]MH_I2C_Read... [20:04:20]Read from MH i2c: F0 09 00 2E 08 00 44 EE 1F 67 0E CB 1F 67 45 [20:04:20]GetLastDocTimeStamp 1730145737 [20:04:20]current date 1730145860 [20:04:20]FM_GetShiftState [20:04:20]SAM_PROTO_GetShiftState [20:04:20]wFMCommunicate request_size=4 [20:04:20]MH_SAM_APDU [20:04:20]CAPDU: 80 13 01 00 [20:04:20]Write to MH i2c: E2 08 00 2F 08 80 13 01 00 00 00 00 00 B4 [20:04:20]Write i2c OK [20:04:20]MH_I2C_Read... [20:04:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:04:20]Read from MH i2c: E2 [20:04:20]MH_I2C_Read... [20:04:20]Read from MH i2c: E2 0E 00 [20:04:20]MH_I2C_Read... [20:04:20]Read from MH i2c: E2 0E 00 2F 08 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 AF [20:04:20]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [20:04:20]wFMCommunicate OK [20:04:20]SAM_PROTO_GetShiftState done [20:04:20]FM_GetShiftState done [20:04:20]opened in 1730074770 [20:04:20]opened+sec_in_day 1730161170 [20:04:20]quantity*price = 15400 [20:04:20]sum+1 = 15401 [20:04:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 154.00 НСП 1% : 1.36 НДС 12% : 16.35 Наличными: 154.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 157 28.10.2024 20:04 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68252 ФПД: 12538343917430 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T200420&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68252&fm=12538343917430&tin=02508201610067®Number=0000000000091759&sum=15400 0 [20:04:21]StoreToDocumentArchive [20:04:21]shift 547 fd 68252 [20:04:21]save to /storage/0547/doc_00068252 [20:04:21]save last doc name /storage/0547/doc_00068252 to /storage/kkm_last_doc_name [20:04:21]save OK [20:04:21]Clear old archive folders... [20:04:21]ProcessDocumentItem done err = 0, tmpTLVsize=276 [20:04:21]tlvbuf is 005A4320 [20:04:21]SAM_PROTO_ClearQueue [20:04:21]wFMCommunicate request_size=4 [20:04:21]MH_SAM_APDU [20:04:21]CAPDU: 80 09 00 00 [20:04:21]Write to MH i2c: E2 08 00 3C 08 80 09 00 00 00 00 00 00 B6 [20:04:21]Write i2c OK [20:04:21]MH_I2C_Read... [20:04:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:04:21]Read from MH i2c: E2 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: E2 03 00 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: E2 03 00 3C 08 00 90 00 B8 [20:04:21]RAPDU: 90 00 [20:04:21]wFMCommunicate OK [20:04:21]SAM_PROTO_ClearQueue done [20:04:21]KKMCreateOFDPacket [20:04:21]OFDProtocolAddRootSTLVToBuf [20:04:21]FM_MakeSignedData [20:04:21]FM_MakeSignedData [20:04:21]SAM_PROTO_SignData [20:04:21]wFMCommunicate request_size=4 [20:04:21]MH_SAM_APDU [20:04:21]CAPDU: 80 0D 01 02 [20:04:21]Write to MH i2c: E2 08 00 3D 08 80 0D 01 02 00 00 00 00 BE [20:04:21]Write i2c OK [20:04:21]MH_I2C_Read... [20:04:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:04:21]Read from MH i2c: E2 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: E2 03 00 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: E2 03 00 3D 08 00 90 00 B9 [20:04:21]RAPDU: 90 00 [20:04:21]wFMCommunicate OK [20:04:21]wFMCommunicate request_size=255 [20:04:21]MH_SAM_APDU [20:04:21]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 37 30 37 33 06 04 27 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 6F 79 61 6C 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9D 00 00 00 F4 03 04 00 44 EE 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 [20:04:21]Write to MH i2c: E2 02 01 3E 08 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 37 30 37 33 06 04 27 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 6F 79 61 6C 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9D 00 00 00 F4 03 04 00 44 EE 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 00 00 6B [20:04:21]Write i2c OK [20:04:21]MH_I2C_Read... [20:04:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:04:21]Read from MH i2c: E2 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: E2 03 00 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: E2 03 00 3E 08 00 90 00 BA [20:04:21]RAPDU: 90 00 [20:04:21]wFMCommunicate OK [20:04:21]wFMCommunicate request_size=35 [20:04:21]MH_SAM_APDU [20:04:21]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9C 0A 01 00 35 04 06 00 0B 67 4F 89 07 76 [20:04:21]Write to MH i2c: E2 26 00 3F 08 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9C 0A 01 00 35 04 06 00 0B 67 4F 89 07 76 00 00 26 [20:04:21]Write i2c OK [20:04:21]MH_I2C_Read... [20:04:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:04:21]Read from MH i2c: E2 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: E2 03 00 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: E2 03 00 3F 08 00 90 00 BB [20:04:21]RAPDU: 90 00 [20:04:21]wFMCommunicate OK [20:04:21]wFMCommunicate request_size=4 [20:04:21]MH_SAM_APDU [20:04:21]CAPDU: 80 0D 03 02 [20:04:21]Write to MH i2c: E2 08 00 40 08 80 0D 03 02 00 00 00 00 C3 [20:04:21]Write i2c OK [20:04:21]MH_I2C_Read... [20:04:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:04:21]Read from MH i2c: E2 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: E2 0B 00 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: E2 0B 00 40 08 00 99 7B 7F 22 52 22 5A F6 90 00 3D [20:04:21]RAPDU: 99 7B 7F 22 52 22 5A F6 90 00 [20:04:21]wFMCommunicate OK [20:04:21]SAM_PROTO_SignData done [20:04:21]FM_MakeSignedData done [20:04:21]CreateOFDProtocolMessage [20:04:21]wFMCommunicate request_size=4 [20:04:21]MH_SAM_APDU [20:04:21]CAPDU: 80 11 00 00 [20:04:21]Write to MH i2c: E2 08 00 41 08 80 11 00 00 00 00 00 00 C3 [20:04:21]Write i2c OK [20:04:21]MH_I2C_Read... [20:04:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:04:21]Read from MH i2c: E2 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: E2 17 00 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: E2 17 00 41 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 1A [20:04:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:04:21]wFMCommunicate OK [20:04:21]CreateOFDProtocolMessage done [20:04:21]OFDSenderStorePacket 68252 [20:04:21]StoreOFDPacket docnum=68252 [20:04:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 28 01 00 00 B8 62 20 01 59 29 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 37 30 37 33 06 04 27 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 6F 79 61 6C 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9D 00 00 00 F4 03 04 00 44 EE 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9C 0A 01 00 35 04 06 00 0B 67 4F 89 07 76 99 7B 7F 22 52 22 5A F6 [20:04:21]CheckFolder [20:04:21]dirname=/storage/ofd_packets [20:04:21]CheckFolder done [20:04:21]ProducePacketName [20:04:21]name=ofd_packets/00068252 [20:04:21]NVStorageSaveData ofd_packets/00068252 [20:04:21]File name is /storage/ofd_packets/00068252 [20:04:21]Write 326 bytes [20:04:21]NVStorageSaveData done [20:04:21]OFDSenderStorePacket done [20:04:21]KKMCreateOFDPacket done [20:04:21]NVStorageSaveData kkm_last_timestamp [20:04:21]File name is /storage/kkm_last_timestamp [20:04:21]Write 4 bytes [20:04:21]NVStorageSaveData done [20:04:21]ExternCall_PrintAddStr [20:04:21]wPrintStart [20:04:21]Write to MH i2c: 01 00 00 42 08 4A [20:04:21]Write i2c OK [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: 01 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: 01 07 00 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: 01 07 00 42 08 00 00 00 00 00 FF 0F 5F [20:04:21]RasterBufferAndPrint [20:04:21]line Счет N : (3)17200 [20:04:21]line ИНН: 02508201610067 [20:04:21]line Контрольно-Кассовый Чек [20:04:21]line ПРОДАЖА [20:04:21]line Товар: 48747073 [20:04:21]line Сигареты Richmond Royal Edition [20:04:21]line 1.000 * 154.00 [20:04:21]line = 154.00 [20:04:21]line НДС 12% НСП 1% [20:04:21]line > о реализуемом товаре [20:04:21]line ИТОГО: 154.00 [20:04:21]line НСП 1% : 1.36 [20:04:21]line НДС 12% : 16.35 [20:04:21]line Наличными: 154.00 [20:04:21]line Безнал.: 0.00 [20:04:21]line Место: АЗС № 160 "Партнер Нефть" [20:04:21]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [20:04:21]line СНО: Общий режим [20:04:21]line Чек 157 28.10.2024 20:04 [20:04:21]line Смена: 547 ФФД: 1.0 [20:04:21]line ЗНМ: 0300000093 [20:04:21]line РНМ: 0000000000091759 [20:04:21]line Версия ККМ: 001 [20:04:21]line ФМ: 0000000000871758 [20:04:21]line ФД: 68252 [20:04:21]line ФПД: 12538343917430 [20:04:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T200420&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68252&fm=12538343917430&tin=02508201610067®Number=0000000000091759&sum=15400 [20:04:22]OFD Sender: Processing packet 68252 [packets to send 27, broken 26] [20:04:22]ProducePacketName [20:04:22]name=ofd_packets/00068252 [20:04:22]OFD Sender: To server: pG, [20:04:22]CommunicateWithHost lk.salyk.kg:30040 [20:04:22]ConnectInit lk.salyk.kg [20:04:22]line 0 [20:04:22]written 0, free lines is 4095 [20:04:22]Connected sock=11 [20:04:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 28 01 00 00 B8 62 20 01 59 29 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 37 30 37 33 06 04 27 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 6F 79 61 6C 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9D 00 00 00 F4 03 04 00 44 EE 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9C 0A 01 00 35 04 06 00 0B 67 4F 89 07 76 99 7B 7F 22 52 22 5A F6 [20:04:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 0E 7D 47 00 8A F1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9C 0A 01 00 F4 03 04 00 24 9A 1F 67 B6 04 01 00 00 26 A3 13 71 2B 50 8B 21 [20:04:22]CommunicateWithHost err = 0 [20:04:22]CheckOFDResponse [20:04:22]1017 (14) - 77093643461234 [20:04:22]1041 (16) - 0000000000871758 [20:04:22]1040 (4) - 68252 [20:04:22]1012 (4) - 28.10.2024 14:05 [20:04:22]1206 (1) - 0 [20:04:22]OFD Sender: Remove packet 68252 [20:04:22]ProducePacketName [20:04:22]name=ofd_packets/00068252 [20:04:22]NVStorageDeleteData [20:04:22]Write to MH i2c: 01 00 00 6A 08 72 [20:04:22]Write i2c OK [20:04:22]MH_I2C_Read... [20:04:22]Read from MH i2c: 01 [20:04:22]MH_I2C_Read... [20:04:22]Read from MH i2c: 01 07 00 [20:04:22]MH_I2C_Read... [20:04:22]Read from MH i2c: 01 07 00 6A 08 00 00 00 00 00 CB 0C 50 [20:04:22]RasterBufferAndPrint [20:04:22]line [20:04:22]line [20:04:22]line [20:04:22]line [20:04:22]line [20:04:22]written 0, free lines is 3277 [20:04:22]MH_Cut [20:04:22]Write to MH i2c: D1 01 00 71 08 01 4B [20:04:22]Write i2c OK [20:04:22]MH_I2C_Read... [20:04:22]Read from MH i2c: D1 [20:04:22]MH_I2C_Read... [20:04:22]Read from MH i2c: D1 01 00 [20:04:22]MH_I2C_Read... [20:04:22]Read from MH i2c: D1 01 00 71 08 00 4A [20:04:22]Write to MH i2c: 01 00 00 72 08 7A [20:04:22]Write i2c OK [20:04:22]MH_I2C_Read... [20:04:22]OFD Sender: No OFD packet to send [20:04:23]*** Cut start [20:04:23]*** Partial cut [20:04:23]*** CUTSNS_PIN = 1 [20:04:23]*** CUTSNS_PIN = 0 [20:04:23]*** Brake cut motor [20:04:23]Read from MH i2c: 01 [20:04:23]MH_I2C_Read... [20:04:23]*** Stop cut motor [20:04:23]*** Cut end [20:04:23]Read from MH i2c: 01 07 00 [20:04:23]MH_I2C_Read... [20:04:23]Read from MH i2c: 01 07 00 72 08 00 00 00 00 00 FF 0F 8F [20:04:23]process_action close_receipt done [20:04:23]requested_data is exist [20:04:23]produce_requested_data [20:04:23]requested_item fm.sn is exist - process it [20:04:23]wFMCommunicate request_size=4 [20:04:23]MH_SAM_APDU [20:04:23]CAPDU: 80 11 00 00 [20:04:23]Write to MH i2c: E2 08 00 73 08 80 11 00 00 00 00 00 00 F5 [20:04:23]Write i2c OK [20:04:23]MH_I2C_Read... [20:04:23]Read from MH i2c: E2 [20:04:23]MH_I2C_Read... [20:04:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:04:23]Read from MH i2c: E2 17 00 [20:04:23]MH_I2C_Read... [20:04:23]Read from MH i2c: E2 17 00 73 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 4C [20:04:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:04:23]wFMCommunicate OK [20:04:23]requested_item fd.num is exist - process it [20:04:23]SAM_PROTO_GetFieldsCounters [20:04:23]wFMCommunicate request_size=4 [20:04:23]MH_SAM_APDU [20:04:23]CAPDU: 80 13 00 00 [20:04:23]Write to MH i2c: E2 08 00 74 08 80 13 00 00 00 00 00 00 F8 [20:04:23]Write i2c OK [20:04:23]MH_I2C_Read... [20:04:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:04:24]Read from MH i2c: E2 [20:04:24]MH_I2C_Read... [20:04:24]Read from MH i2c: E2 62 00 [20:04:24]MH_I2C_Read... [20:04:24]Read from MH i2c: E2 62 00 74 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 9C 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 9D 00 00 00 5E 04 04 00 9D 00 00 00 57 04 04 00 9E 00 00 00 19 04 04 00 00 00 00 00 90 00 C6 [20:04:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 9C 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 9D 00 00 00 5E 04 04 00 9D 00 00 00 57 04 04 00 9E 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:04:24]wFMCommunicate OK [20:04:24]SAM_PROTO_GetFieldsCounters done [20:04:24]requested_item shift.num is exist - process it [20:04:24]requested_item shift.opened is exist - process it [20:04:24]req_shift_opened [20:04:24]FM_GetShiftState [20:04:24]SAM_PROTO_GetShiftState [20:04:24]wFMCommunicate request_size=4 [20:04:24]MH_SAM_APDU [20:04:24]CAPDU: 80 13 01 00 [20:04:24]Write to MH i2c: E2 08 00 75 08 80 13 01 00 00 00 00 00 FA [20:04:24]Write i2c OK [20:04:24]MH_I2C_Read... [20:04:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:04:24]Read from MH i2c: E2 [20:04:24]MH_I2C_Read... [20:04:24]Read from MH i2c: E2 0E 00 [20:04:24]MH_I2C_Read... [20:04:24]Read from MH i2c: E2 0E 00 75 08 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 F5 [20:04:24]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [20:04:24]wFMCommunicate OK [20:04:24]SAM_PROTO_GetShiftState done [20:04:24]FM_GetShiftState done [20:04:24]req_shift_opened done [20:04:24]requested_item shift.open_date is exist - process it [20:04:24]req_shift_open_date [20:04:24]req_shift_open_date done [20:04:24]produce_requested_data done [20:04:24]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68252,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [20:04:24]process_action_free close_receipt [20:04:24]json_value_free [20:04:24]json_value_free done [20:04:24]process_json_proto returns [20:04:24]Send response to host [20:04:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68252,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [20:04:24]free response buf [20:04:24]execute_script done [20:04:24]execute_script returns [20:04:24]free content buf [20:04:24]Sock 7.Close socket [20:04:24]Sock 7.Thread stoped [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:43]OFD Sender: No OFD packet to send [20:06:48]OFD Sender: No OFD packet to send [20:06:53]OFD Sender: No OFD packet to send [20:06:58]OFD Sender: No OFD packet to send [20:07:03]OFD Sender: No OFD packet to send [20:07:08]OFD Sender: No OFD packet to send [20:07:13]OFD Sender: No OFD packet to send [20:07:18]OFD Sender: No OFD packet to send [20:07:23]OFD Sender: No OFD packet to send [20:07:28]OFD Sender: No OFD packet to send [20:07:33]OFD Sender: No OFD packet to send [20:07:38]OFD Sender: No OFD packet to send [20:07:43]OFD Sender: No OFD packet to send [20:07:48]OFD Sender: No OFD packet to send [20:07:53]OFD Sender: No OFD packet to send [20:07:58]OFD Sender: No OFD packet to send [20:08:03]OFD Sender: No OFD packet to send [20:08:08]OFD Sender: No OFD packet to send [20:08:13]OFD Sender: No OFD packet to send [20:08:18]OFD Sender: No OFD packet to send [20:08:23]OFD Sender: No OFD packet to send [20:08:28]OFD Sender: No OFD packet to send [20:08:33]OFD Sender: No OFD packet to send [20:08:38]OFD Sender: No OFD packet to send [20:08:43]OFD Sender: No OFD packet to send [20:08:48]OFD Sender: No OFD packet to send [20:08:53]OFD Sender: No OFD packet to send [20:08:58]OFD Sender: No OFD packet to send [20:09:03]OFD Sender: No OFD packet to send [20:09:08]OFD Sender: No OFD packet to send [20:09:13]OFD Sender: No OFD packet to send [20:09:18]OFD Sender: No OFD packet to send [20:09:23]OFD Sender: No OFD packet to send [20:09:28]OFD Sender: No OFD packet to send [20:09:33]OFD Sender: No OFD packet to send [20:09:38]OFD Sender: No OFD packet to send [20:09:43]OFD Sender: No OFD packet to send [20:09:48]OFD Sender: No OFD packet to send [20:09:53]OFD Sender: No OFD packet to send [20:09:58]OFD Sender: No OFD packet to send [20:10:03]OFD Sender: No OFD packet to send [20:10:08]OFD Sender: No OFD packet to send [20:10:13]OFD Sender: No OFD packet to send [20:10:18]OFD Sender: No OFD packet to send [20:10:23]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:12]accept exits with 9 [20:16:12]New connection [20:16:12]New thread 3067354468 created [20:16:12]Thread 3067497828 joined [20:16:12]Waiting for new connection... [20:16:12] Sock 9.Parse request [20:16:12]Sock 9.Check first char [20:16:12]Sock 9.First char is OK [20:16:12]request: POST /json_proto HTTP/1.0 [20:16:12]Method: POST [20:16:12]URL: /json_proto [20:16:12]Method is POST - this is cgi request [20:16:12]url: /json_proto [20:16:12]query_string will be loaded in cgi processing [20:16:12]execute_cgi json_proto POST (null) [20:16:12]execute_cgi path=json_proto method=POST [20:16:12]POST find Content-Length [20:16:12]Host: 172.17.42.3:8080 [20:16:12]Content-Length: 701 [20:16:12]Content-Type: application/json [20:16:12] [20:16:12]POST finish read [20:16:12]Found Content-Length = 701 [20:16:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17201", "tax_sys" : 0, "items" : [ { "code": "4870202522701", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 1,2", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:16:12]execute_script... [20:16: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)17201", "tax_sys" : 0, "items" : [ { "code": "4870202522701", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 1,2", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:16:12]POST & json_proto [20:16:12]process_json_proto [20:16:12]json parsed OK: [20:16:12]protocol is kg_v1.0 [20:16:12]action value=close_receipt [20:16:12]process_action close_receipt [20:16:12]cmd_close_receipt [20:16:12]MH_GetDate [20:16:12]Write to MH i2c: F0 00 00 76 08 6D [20:16:12]Write i2c OK [20:16:12]MH_I2C_Read... [20:16:12]Read from MH i2c: F0 [20:16:12]MH_I2C_Read... [20:16:12]Read from MH i2c: F0 09 00 [20:16:12]MH_I2C_Read... [20:16:12]Read from MH i2c: F0 09 00 76 08 00 0C F1 1F 67 0E CB 1F 67 58 [20:16:12]GetLastDocTimeStamp 1730145860 [20:16:12]current date 1730146572 [20:16:12]FM_GetShiftState [20:16:12]SAM_PROTO_GetShiftState [20:16:12]wFMCommunicate request_size=4 [20:16:12]MH_SAM_APDU [20:16:12]CAPDU: 80 13 01 00 [20:16:12]Write to MH i2c: E2 08 00 77 08 80 13 01 00 00 00 00 00 FC [20:16:12]Write i2c OK [20:16:12]MH_I2C_Read... [20:16:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:16:12]Read from MH i2c: E2 [20:16:12]MH_I2C_Read... [20:16:12]Read from MH i2c: E2 0E 00 [20:16:12]MH_I2C_Read... [20:16:12]Read from MH i2c: E2 0E 00 77 08 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 F7 [20:16:12]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [20:16:12]wFMCommunicate OK [20:16:12]SAM_PROTO_GetShiftState done [20:16:12]FM_GetShiftState done [20:16:12]opened in 1730074770 [20:16:12]opened+sec_in_day 1730161170 [20:16:12]quantity*price = 12500 [20:16:12]sum+1 = 12501 [20:16:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 158 28.10.2024 20:16 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68253 ФПД: 171052750046563 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T201612&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68253&fm=171052750046563&tin=02508201610067®Number=0000000000091759&sum=12500 0 [20:16:13]StoreToDocumentArchive [20:16:13]shift 547 fd 68253 [20:16:13]save to /storage/0547/doc_00068253 [20:16:13]save last doc name /storage/0547/doc_00068253 to /storage/kkm_last_doc_name [20:16:13]save OK [20:16:13]Clear old archive folders... [20:16:13]ProcessDocumentItem done err = 0, tmpTLVsize=298 [20:16:13]tlvbuf is 005F61D0 [20:16:13]SAM_PROTO_ClearQueue [20:16:13]wFMCommunicate request_size=4 [20:16:13]MH_SAM_APDU [20:16:13]CAPDU: 80 09 00 00 [20:16:13]Write to MH i2c: E2 08 00 84 08 80 09 00 00 00 00 00 00 FE [20:16:13]Write i2c OK [20:16:13]MH_I2C_Read... [20:16:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:16:13]Read from MH i2c: E2 [20:16:13]MH_I2C_Read... [20:16:13]Read from MH i2c: E2 03 00 [20:16:13]MH_I2C_Read... [20:16:13]Read from MH i2c: E2 03 00 84 08 00 90 00 00 [20:16:13]RAPDU: 90 00 [20:16:13]wFMCommunicate OK [20:16:13]SAM_PROTO_ClearQueue done [20:16:13]KKMCreateOFDPacket [20:16:13]OFDProtocolAddRootSTLVToBuf [20:16:13]FM_MakeSignedData [20:16:13]FM_MakeSignedData [20:16:13]SAM_PROTO_SignData [20:16:13]wFMCommunicate request_size=4 [20:16:13]MH_SAM_APDU [20:16:13]CAPDU: 80 0D 01 02 [20:16:13]Write to MH i2c: E2 08 00 85 08 80 0D 01 02 00 00 00 00 06 [20:16:13]Write i2c OK [20:16:13]MH_I2C_Read... [20:16:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:16:13]Read from MH i2c: E2 [20:16:13]MH_I2C_Read... [20:16:13]Read from MH i2c: E2 03 00 [20:16:13]MH_I2C_Read... [20:16:13]Read from MH i2c: E2 03 00 85 08 00 90 00 01 [20:16:13]RAPDU: 90 00 [20:16:13]wFMCommunicate OK [20:16:13]wFMCommunicate request_size=255 [20:16:13]MH_SAM_APDU [20:16:13]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 9E 00 00 00 F4 03 04 00 0C F1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [20:16:13]Write to MH i2c: E2 02 01 86 08 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 9E 00 00 00 F4 03 04 00 0C F1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 B0 [20:16:13]Write i2c OK [20:16:13]MH_I2C_Read... [20:16:13]OFD Sender: No OFD packet to send [20:16:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:16:13]Read from MH i2c: E2 [20:16:13]MH_I2C_Read... [20:16:13]Read from MH i2c: E2 03 00 [20:16:13]MH_I2C_Read... [20:16:13]Read from MH i2c: E2 03 00 86 08 00 90 00 02 [20:16:13]RAPDU: 90 00 [20:16:13]wFMCommunicate OK [20:16:13]wFMCommunicate request_size=57 [20:16:13]MH_SAM_APDU [20:16:13]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9D 0A 01 00 35 04 06 00 9B 92 52 67 85 63 [20:16:13]Write to MH i2c: E2 3C 00 87 08 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9D 0A 01 00 35 04 06 00 9B 92 52 67 85 63 00 00 46 [20:16:13]Write i2c OK [20:16:13]MH_I2C_Read... [20:16:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:16:13]Read from MH i2c: E2 [20:16:13]MH_I2C_Read... [20:16:13]Read from MH i2c: E2 03 00 [20:16:13]MH_I2C_Read... [20:16:13]Read from MH i2c: E2 03 00 87 08 00 90 00 03 [20:16:13]RAPDU: 90 00 [20:16:13]wFMCommunicate OK [20:16:13]wFMCommunicate request_size=4 [20:16:13]MH_SAM_APDU [20:16:13]CAPDU: 80 0D 03 02 [20:16:13]Write to MH i2c: E2 08 00 88 08 80 0D 03 02 00 00 00 00 0B [20:16:13]Write i2c OK [20:16:13]MH_I2C_Read... [20:16:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:16:13]Read from MH i2c: E2 [20:16:13]MH_I2C_Read... [20:16:13]Read from MH i2c: E2 0B 00 [20:16:13]MH_I2C_Read... [20:16:13]Read from MH i2c: E2 0B 00 88 08 00 BA E0 84 79 C5 32 FB 4D 90 00 E2 [20:16:13]RAPDU: BA E0 84 79 C5 32 FB 4D 90 00 [20:16:13]wFMCommunicate OK [20:16:13]SAM_PROTO_SignData done [20:16:13]FM_MakeSignedData done [20:16:13]CreateOFDProtocolMessage [20:16:13]wFMCommunicate request_size=4 [20:16:13]MH_SAM_APDU [20:16:13]CAPDU: 80 11 00 00 [20:16:13]Write to MH i2c: E2 08 00 89 08 80 11 00 00 00 00 00 00 0B [20:16:13]Write i2c OK [20:16:13]MH_I2C_Read... [20:16:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:16:13]Read from MH i2c: E2 [20:16:13]MH_I2C_Read... [20:16:13]Read from MH i2c: E2 17 00 [20:16:13]MH_I2C_Read... [20:16:13]Read from MH i2c: E2 17 00 89 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 62 [20:16:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:16:13]wFMCommunicate OK [20:16:13]CreateOFDProtocolMessage done [20:16:13]OFDSenderStorePacket 68253 [20:16:13]StoreOFDPacket docnum=68253 [20:16:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 3E 01 00 00 F6 9A 36 01 13 80 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 9E 00 00 00 F4 03 04 00 0C F1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9D 0A 01 00 35 04 06 00 9B 92 52 67 85 63 BA E0 84 79 C5 32 FB 4D [20:16:13]CheckFolder [20:16:13]dirname=/storage/ofd_packets [20:16:13]CheckFolder done [20:16:13]ProducePacketName [20:16:13]name=ofd_packets/00068253 [20:16:13]NVStorageSaveData ofd_packets/00068253 [20:16:13]File name is /storage/ofd_packets/00068253 [20:16:13]Write 348 bytes [20:16:13]NVStorageSaveData done [20:16:13]OFDSenderStorePacket done [20:16:13]KKMCreateOFDPacket done [20:16:13]NVStorageSaveData kkm_last_timestamp [20:16:13]File name is /storage/kkm_last_timestamp [20:16:13]Write 4 bytes [20:16:13]NVStorageSaveData done [20:16:13]ExternCall_PrintAddStr [20:16:13]wPrintStart [20:16:13]Write to MH i2c: 01 00 00 8A 08 92 [20:16:13]Write i2c OK [20:16:13]MH_I2C_Read... [20:16:13]Read from MH i2c: 01 [20:16:13]MH_I2C_Read... [20:16:13]Read from MH i2c: 01 07 00 [20:16:13]MH_I2C_Read... [20:16:13]Read from MH i2c: 01 07 00 8A 08 00 00 00 00 00 FF 0F A7 [20:16:13]RasterBufferAndPrint [20:16:13]line Счет N : (3)17201 [20:16:13]line ИНН: 02508201610067 [20:16:13]line Контрольно-Кассовый Чек [20:16:13]line ПРОДАЖА [20:16:13]line Товар: 4870202522701 [20:16:13]line Напиток Maxi Чай черный Малина 1,2 [20:16:13]line 1.000 * 125.00 [20:16:13]line = 125.00 [20:16:13]line НДС 12% НСП 1% [20:16:13]line > о реализуемом товаре [20:16:13]line ИТОГО: 125.00 [20:16:13]line НСП 1% : 1.11 [20:16:13]line НДС 12% : 13.27 [20:16:13]line Наличными: 125.00 [20:16:13]line Безнал.: 0.00 [20:16:13]line Место: АЗС № 160 "Партнер Нефть" [20:16:13]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [20:16:13]line СНО: Общий режим [20:16:13]line Чек 158 28.10.2024 20:16 [20:16:13]line Смена: 547 ФФД: 1.0 [20:16:13]line ЗНМ: 0300000093 [20:16:13]line РНМ: 0000000000091759 [20:16:13]line Версия ККМ: 001 [20:16:13]line ФМ: 0000000000871758 [20:16:13]line ФД: 68253 [20:16:13]line ФПД: 171052750046563 [20:16:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T201612&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68253&fm=171052750046563&tin=02508201610067®Number=0000000000091759&sum=12500 [20:16:14]line 0 [20:16:14]OFD Sender: Processing packet 68253 [packets to send 27, broken 26] [20:16:14]ProducePacketName [20:16:14]name=ofd_packets/00068253 [20:16:14]OFD Sender: To server: pG, [20:16:14]CommunicateWithHost lk.salyk.kg:30040 [20:16:14]ConnectInit lk.salyk.kg [20:16:14]written 0, free lines is 4095 [20:16:14]Connected sock=10 [20:16:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 3E 01 00 00 F6 9A 36 01 13 80 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 9E 00 00 00 F4 03 04 00 0C F1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9D 0A 01 00 35 04 06 00 9B 92 52 67 85 63 BA E0 84 79 C5 32 FB 4D [20:16:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 0E E8 47 00 B1 AC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9D 0A 01 00 F4 03 04 00 EC 9C 1F 67 B6 04 01 00 00 71 A8 EA 49 67 2E 1B C5 [20:16:14]CommunicateWithHost err = 0 [20:16:14]CheckOFDResponse [20:16:14]1017 (14) - 77093643461234 [20:16:14]1041 (16) - 0000000000871758 [20:16:14]1040 (4) - 68253 [20:16:14]1012 (4) - 28.10.2024 14:17 [20:16:14]1206 (1) - 0 [20:16:14]OFD Sender: Remove packet 68253 [20:16:14]ProducePacketName [20:16:14]name=ofd_packets/00068253 [20:16:14]NVStorageDeleteData [20:16:14]Write to MH i2c: 01 00 00 B2 08 BA [20:16:14]Write i2c OK [20:16:14]MH_I2C_Read... [20:16:14]Read from MH i2c: 01 [20:16:14]MH_I2C_Read... [20:16:14]Read from MH i2c: 01 07 00 [20:16:14]MH_I2C_Read... [20:16:14]Read from MH i2c: 01 07 00 B2 08 00 00 00 00 00 CC 0C 99 [20:16:14]RasterBufferAndPrint [20:16:14]line [20:16:14]line [20:16:14]line [20:16:14]line [20:16:14]line [20:16:14]written 0, free lines is 3280 [20:16:14]MH_Cut [20:16:14]Write to MH i2c: D1 01 00 B9 08 01 93 [20:16:14]Write i2c OK [20:16:14]MH_I2C_Read... [20:16:14]Read from MH i2c: D1 [20:16:14]MH_I2C_Read... [20:16:14]Read from MH i2c: D1 01 00 [20:16:14]MH_I2C_Read... [20:16:14]Read from MH i2c: D1 01 00 B9 08 00 92 [20:16:14]Write to MH i2c: 01 00 00 BA 08 C2 [20:16:14]Write i2c OK [20:16:14]MH_I2C_Read... [20:16:14]OFD Sender: No OFD packet to send [20:16:15]*** Cut start [20:16:15]*** Partial cut [20:16:15]*** CUTSNS_PIN = 1 [20:16:15]*** CUTSNS_PIN = 0 [20:16:15]*** Brake cut motor [20:16:15]Read from MH i2c: 01 [20:16:15]MH_I2C_Read... [20:16:15]*** Stop cut motor [20:16:15]*** Cut end [20:16:15]Read from MH i2c: 01 07 00 [20:16:15]MH_I2C_Read... [20:16:15]Read from MH i2c: 01 07 00 BA 08 00 00 00 00 00 FF 0F D7 [20:16:15]process_action close_receipt done [20:16:15]requested_data is exist [20:16:15]produce_requested_data [20:16:15]requested_item fm.sn is exist - process it [20:16:15]wFMCommunicate request_size=4 [20:16:15]MH_SAM_APDU [20:16:15]CAPDU: 80 11 00 00 [20:16:15]Write to MH i2c: E2 08 00 BB 08 80 11 00 00 00 00 00 00 3D [20:16:15]Write i2c OK [20:16:15]MH_I2C_Read... [20:16:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:16:15]Read from MH i2c: E2 [20:16:15]MH_I2C_Read... [20:16:15]Read from MH i2c: E2 17 00 [20:16:15]MH_I2C_Read... [20:16:16]Read from MH i2c: E2 17 00 BB 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 94 [20:16:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:16:16]wFMCommunicate OK [20:16:16]requested_item fd.num is exist - process it [20:16:16]SAM_PROTO_GetFieldsCounters [20:16:16]wFMCommunicate request_size=4 [20:16:16]MH_SAM_APDU [20:16:16]CAPDU: 80 13 00 00 [20:16:16]Write to MH i2c: E2 08 00 BC 08 80 13 00 00 00 00 00 00 40 [20:16:16]Write i2c OK [20:16:16]MH_I2C_Read... [20:16:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:16:16]Read from MH i2c: E2 [20:16:16]MH_I2C_Read... [20:16:16]Read from MH i2c: E2 62 00 [20:16:16]MH_I2C_Read... [20:16:16]Read from MH i2c: E2 62 00 BC 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 9D 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 9E 00 00 00 5E 04 04 00 9E 00 00 00 57 04 04 00 9F 00 00 00 19 04 04 00 00 00 00 00 90 00 12 [20:16:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 9D 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 9E 00 00 00 5E 04 04 00 9E 00 00 00 57 04 04 00 9F 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:16:16]wFMCommunicate OK [20:16:16]SAM_PROTO_GetFieldsCounters done [20:16:16]requested_item shift.num is exist - process it [20:16:16]requested_item shift.opened is exist - process it [20:16:16]req_shift_opened [20:16:16]FM_GetShiftState [20:16:16]SAM_PROTO_GetShiftState [20:16:16]wFMCommunicate request_size=4 [20:16:16]MH_SAM_APDU [20:16:16]CAPDU: 80 13 01 00 [20:16:16]Write to MH i2c: E2 08 00 BD 08 80 13 01 00 00 00 00 00 42 [20:16:16]Write i2c OK [20:16:16]MH_I2C_Read... [20:16:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:16:16]Read from MH i2c: E2 [20:16:16]MH_I2C_Read... [20:16:16]Read from MH i2c: E2 0E 00 [20:16:16]MH_I2C_Read... [20:16:16]Read from MH i2c: E2 0E 00 BD 08 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 3D [20:16:16]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [20:16:16]wFMCommunicate OK [20:16:16]SAM_PROTO_GetShiftState done [20:16:16]FM_GetShiftState done [20:16:16]req_shift_opened done [20:16:16]requested_item shift.open_date is exist - process it [20:16:16]req_shift_open_date [20:16:16]req_shift_open_date done [20:16:16]produce_requested_data done [20:16:16]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68253,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [20:16:16]process_action_free close_receipt [20:16:16]json_value_free [20:16:16]json_value_free done [20:16:16]process_json_proto returns [20:16:16]Send response to host [20:16:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68253,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [20:16:16]free response buf [20:16:16]execute_script done [20:16:16]execute_script returns [20:16:16]free content buf [20:16:16]Sock 9.Close socket [20:16:16]Sock 9.Thread stoped [20:16:19]OFD Sender: No OFD packet to send [20:16:24]OFD Sender: No OFD packet to send [20:16:29]OFD Sender: No OFD packet to send [20:16:34]OFD Sender: No OFD packet to send [20:16:37]accept exits with 7 [20:16:37]New connection [20:16:37]New thread 3067497828 created [20:16:37]Thread 3067354468 joined [20:16:37]Waiting for new connection... [20:16:37] Sock 7.Parse request [20:16:37]Sock 7.Check first char [20:16:37]Sock 7.First char is OK [20:16:37]request: POST /json_proto HTTP/1.0 [20:16:37]Method: POST [20:16:37]URL: /json_proto [20:16:37]Method is POST - this is cgi request [20:16:37]url: /json_proto [20:16:37]query_string will be loaded in cgi processing [20:16:37]execute_cgi json_proto POST (null) [20:16:37]execute_cgi path=json_proto method=POST [20:16:37]POST find Content-Length [20:16:37]Host: 172.17.42.3:8080 [20:16:37]Content-Length: 942 [20:16:37]Content-Type: application/json [20:16:37] [20:16:37]POST finish read [20:16:37]Found Content-Length = 942 [20:16:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17202", "tax_sys" : 0, "items" : [ { "code": "4630007400655", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607084351361", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 4\u0448\u0442", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:16:37]execute_script... [20:16: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)17202", "tax_sys" : 0, "items" : [ { "code": "4630007400655", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607084351361", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 4\u0448\u0442", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:16:37]POST & json_proto [20:16:37]process_json_proto [20:16:37]json parsed OK: [20:16:37]protocol is kg_v1.0 [20:16:37]action value=close_receipt [20:16:37]process_action close_receipt [20:16:37]cmd_close_receipt [20:16:37]MH_GetDate [20:16:37]Write to MH i2c: F0 00 00 BE 08 B5 [20:16:37]Write i2c OK [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: F0 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: F0 09 00 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: F0 09 00 BE 08 00 25 F1 1F 67 0E CB 1F 67 B9 [20:16:37]GetLastDocTimeStamp 1730146572 [20:16:37]current date 1730146597 [20:16:37]FM_GetShiftState [20:16:37]SAM_PROTO_GetShiftState [20:16:37]wFMCommunicate request_size=4 [20:16:37]MH_SAM_APDU [20:16:37]CAPDU: 80 13 01 00 [20:16:37]Write to MH i2c: E2 08 00 BF 08 80 13 01 00 00 00 00 00 44 [20:16:37]Write i2c OK [20:16:37]MH_I2C_Read... [20:16:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:16:37]Read from MH i2c: E2 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: E2 0E 00 [20:16:37]MH_I2C_Read... [20:16:37]Read from MH i2c: E2 0E 00 BF 08 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 3F [20:16:37]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [20:16:37]wFMCommunicate OK [20:16:37]SAM_PROTO_GetShiftState done [20:16:37]FM_GetShiftState done [20:16:37]opened in 1730074770 [20:16:37]opened+sec_in_day 1730161170 [20:16:37]quantity*price = 7000 [20:16:37]sum+1 = 7001 [20:16:37]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607084351361 Бисквит Чоко пай 4шт 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 200.00 НСП 1% : 1.77 НДС 12% : 21.23 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 159 28.10.2024 20:16 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68254 ФПД: 245736311289334 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T201637&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68254&fm=245736311289334&tin=02508201610067®Number=0000000000091759&sum=20000 0 [20:16:38]StoreToDocumentArchive [20:16:38]shift 547 fd 68254 [20:16:38]save to /storage/0547/doc_00068254 [20:16:38]save last doc name /storage/0547/doc_00068254 to /storage/kkm_last_doc_name [20:16:38]save OK [20:16:38]Clear old archive folders... [20:16:38]ProcessDocumentItem done err = 0, tmpTLVsize=391 [20:16:38]tlvbuf is 005F5B00 [20:16:38]SAM_PROTO_ClearQueue [20:16:38]wFMCommunicate request_size=4 [20:16:38]MH_SAM_APDU [20:16:38]CAPDU: 80 09 00 00 [20:16:38]Write to MH i2c: E2 08 00 CC 08 80 09 00 00 00 00 00 00 46 [20:16:38]Write i2c OK [20:16:38]MH_I2C_Read... [20:16:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:16:38]Read from MH i2c: E2 [20:16:38]MH_I2C_Read... [20:16:38]Read from MH i2c: E2 03 00 [20:16:38]MH_I2C_Read... [20:16:38]Read from MH i2c: E2 03 00 CC 08 00 90 00 48 [20:16:38]RAPDU: 90 00 [20:16:38]wFMCommunicate OK [20:16:38]SAM_PROTO_ClearQueue done [20:16:38]KKMCreateOFDPacket [20:16:38]OFDProtocolAddRootSTLVToBuf [20:16:38]FM_MakeSignedData [20:16:38]FM_MakeSignedData [20:16:38]SAM_PROTO_SignData [20:16:38]wFMCommunicate request_size=4 [20:16:38]MH_SAM_APDU [20:16:38]CAPDU: 80 0D 01 02 [20:16:38]Write to MH i2c: E2 08 00 CD 08 80 0D 01 02 00 00 00 00 4E [20:16:38]Write i2c OK [20:16:38]MH_I2C_Read... [20:16:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:16:38]Read from MH i2c: E2 [20:16:38]MH_I2C_Read... [20:16:38]Read from MH i2c: E2 03 00 [20:16:38]MH_I2C_Read... [20:16:38]Read from MH i2c: E2 03 00 CD 08 00 90 00 49 [20:16:38]RAPDU: 90 00 [20:16:38]wFMCommunicate OK [20:16:38]wFMCommunicate request_size=255 [20:16:38]MH_SAM_APDU [20:16:38]CAPDU: 80 0D 02 02 FA 03 00 87 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 [20:16:38]Write to MH i2c: E2 02 01 CE 08 80 0D 02 02 FA 00 03 00 87 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 00 00 AB [20:16:38]Write i2c OK [20:16:38]MH_I2C_Read... [20:16:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:16:38]Read from MH i2c: E2 [20:16:38]MH_I2C_Read... [20:16:38]Read from MH i2c: E2 03 00 [20:16:38]MH_I2C_Read... [20:16:38]Read from MH i2c: E2 03 00 CE 08 00 90 00 4A [20:16:38]RAPDU: 90 00 [20:16:38]wFMCommunicate OK [20:16:38]wFMCommunicate request_size=150 [20:16:38]MH_SAM_APDU [20:16:38]CAPDU: 80 0D 02 02 91 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9F 00 00 00 F4 03 04 00 25 F1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9E 0A 01 00 35 04 06 00 DF 7E F1 8A F5 F6 [20:16:38]Write to MH i2c: E2 99 00 CF 08 80 0D 02 02 91 00 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9F 00 00 00 F4 03 04 00 25 F1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9E 0A 01 00 35 04 06 00 DF 7E F1 8A F5 F6 00 00 EA [20:16:38]Write i2c OK [20:16:38]MH_I2C_Read... [20:16:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:16:38]Read from MH i2c: E2 [20:16:38]MH_I2C_Read... [20:16:38]Read from MH i2c: E2 03 00 [20:16:38]MH_I2C_Read... [20:16:38]Read from MH i2c: E2 03 00 CF 08 00 90 00 4B [20:16:38]RAPDU: 90 00 [20:16:38]wFMCommunicate OK [20:16:38]wFMCommunicate request_size=4 [20:16:38]MH_SAM_APDU [20:16:38]CAPDU: 80 0D 03 02 [20:16:38]Write to MH i2c: E2 08 00 D0 08 80 0D 03 02 00 00 00 00 53 [20:16:38]Write i2c OK [20:16:38]MH_I2C_Read... [20:16:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:16:39]Read from MH i2c: E2 [20:16:39]MH_I2C_Read... [20:16:39]Read from MH i2c: E2 0B 00 [20:16:39]MH_I2C_Read... [20:16:39]Read from MH i2c: E2 0B 00 D0 08 00 77 1C D1 5B 46 83 B9 3F 90 00 D4 [20:16:39]RAPDU: 77 1C D1 5B 46 83 B9 3F 90 00 [20:16:39]wFMCommunicate OK [20:16:39]SAM_PROTO_SignData done [20:16:39]FM_MakeSignedData done [20:16:39]CreateOFDProtocolMessage [20:16:39]wFMCommunicate request_size=4 [20:16:39]MH_SAM_APDU [20:16:39]CAPDU: 80 11 00 00 [20:16:39]Write to MH i2c: E2 08 00 D1 08 80 11 00 00 00 00 00 00 53 [20:16:39]Write i2c OK [20:16:39]MH_I2C_Read... [20:16:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:16:39]Read from MH i2c: E2 [20:16:39]MH_I2C_Read... [20:16:39]Read from MH i2c: E2 17 00 [20:16:39]MH_I2C_Read... [20:16:39]Read from MH i2c: E2 17 00 D1 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 AA [20:16:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:16:39]wFMCommunicate OK [20:16:39]CreateOFDProtocolMessage done [20:16:39]OFDSenderStorePacket 68254 [20:16:39]StoreOFDPacket docnum=68254 [20:16:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 9B 01 00 00 F4 2F 93 01 E0 F0 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9F 00 00 00 F4 03 04 00 25 F1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9E 0A 01 00 35 04 06 00 DF 7E F1 8A F5 F6 77 1C D1 5B 46 83 B9 3F [20:16:39]CheckFolder [20:16:39]dirname=/storage/ofd_packets [20:16:39]CheckFolder done [20:16:39]ProducePacketName [20:16:39]name=ofd_packets/00068254 [20:16:39]NVStorageSaveData ofd_packets/00068254 [20:16:39]File name is /storage/ofd_packets/00068254 [20:16:39]Write 441 bytes [20:16:39]NVStorageSaveData done [20:16:39]OFDSenderStorePacket done [20:16:39]KKMCreateOFDPacket done [20:16:39]NVStorageSaveData kkm_last_timestamp [20:16:39]File name is /storage/kkm_last_timestamp [20:16:39]Write 4 bytes [20:16:39]NVStorageSaveData done [20:16:39]ExternCall_PrintAddStr [20:16:39]wPrintStart [20:16:39]Write to MH i2c: 01 00 00 D2 08 DA [20:16:39]Write i2c OK [20:16:39]MH_I2C_Read... [20:16:39]Read from MH i2c: 01 [20:16:39]MH_I2C_Read... [20:16:39]Read from MH i2c: 01 07 00 [20:16:39]MH_I2C_Read... [20:16:39]Read from MH i2c: 01 07 00 D2 08 00 00 00 00 00 FF 0F EF [20:16:39]RasterBufferAndPrint [20:16:39]line Счет N : (3)17202 [20:16:39]line ИНН: 02508201610067 [20:16:39]line Контрольно-Кассовый Чек [20:16:39]line ПРОДАЖА [20:16:39]line Товар: 4630007400655 [20:16:39]line Семечки ДЖИНН 70г синий [20:16:39]line 1.000 * 70.00 [20:16:39]line = 70.00 [20:16:39]line НДС 12% НСП 1% [20:16:39]line > о реализуемом товаре [20:16:39]line Товар: 4607084351361 [20:16:39]line Бисквит Чоко пай 4шт [20:16:39]line 1.000 * 130.00 [20:16:39]line = 130.00 [20:16:39]line НДС 12% НСП 1% [20:16:39]line > о реализуемом товаре [20:16:39]line ИТОГО: 200.00 [20:16:39]line НСП 1% : 1.77 [20:16:39]line НДС 12% : 21.23 [20:16:39]line Наличными: 200.00 [20:16:39]line Безнал.: 0.00 [20:16:39]line Место: АЗС № 160 "Партнер Нефть" [20:16:39]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [20:16:39]line СНО: Общий режим [20:16:39]line Чек 159 28.10.2024 20:16 [20:16:39]line Смена: 547 ФФД: 1.0 [20:16:39]line ЗНМ: 0300000093 [20:16:39]line РНМ: 0000000000091759 [20:16:39]line Версия ККМ: 001 [20:16:39]line ФМ: 0000000000871758 [20:16:39]line ФД: 68254 [20:16:39]line ФПД: 245736311289334 [20:16:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T201637&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68254&fm=245736311289334&tin=02508201610067®Number=0000000000091759&sum=20000 [20:16:39]line 0 [20:16:39]OFD Sender: Processing packet 68254 [packets to send 27, broken 26] [20:16:39]ProducePacketName [20:16:39]name=ofd_packets/00068254 [20:16:39]OFD Sender: To server: pG, [20:16:39]CommunicateWithHost lk.salyk.kg:30040 [20:16:39]ConnectInit lk.salyk.kg [20:16:39]written 0, free lines is 4095 [20:16:39]Connected sock=10 [20:16:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 9B 01 00 00 F4 2F 93 01 E0 F0 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 9F 00 00 00 F4 03 04 00 25 F1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9E 0A 01 00 35 04 06 00 DF 7E F1 8A F5 F6 77 1C D1 5B 46 83 B9 3F [20:16:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 E3 BB 47 00 B4 3C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9E 0A 01 00 F4 03 04 00 06 9D 1F 67 B6 04 01 00 00 70 C7 BC FA DB 7D EA B1 [20:16:39]CommunicateWithHost err = 0 [20:16:39]CheckOFDResponse [20:16:39]1017 (14) - 77093643461234 [20:16:39]1041 (16) - 0000000000871758 [20:16:39]1040 (4) - 68254 [20:16:39]1012 (4) - 28.10.2024 14:17 [20:16:39]1206 (1) - 0 [20:16:39]OFD Sender: Remove packet 68254 [20:16:39]ProducePacketName [20:16:39]name=ofd_packets/00068254 [20:16:39]NVStorageDeleteData [20:16:39]Write to MH i2c: 01 00 00 FF 08 07 [20:16:39]Write i2c OK [20:16:39]MH_I2C_Read... [20:16:39]Read from MH i2c: 01 [20:16:39]MH_I2C_Read... [20:16:39]Read from MH i2c: 01 07 00 [20:16:39]MH_I2C_Read... [20:16:39]Read from MH i2c: 01 07 00 FF 08 00 00 00 00 00 85 0C 9F [20:16:39]RasterBufferAndPrint [20:16:39]line [20:16:39]line [20:16:39]line [20:16:39]line [20:16:39]line [20:16:39]written 0, free lines is 3211 [20:16:39]MH_Cut [20:16:39]Write to MH i2c: D1 01 00 06 09 01 E1 [20:16:39]Write i2c OK [20:16:39]MH_I2C_Read... [20:16:39]Read from MH i2c: D1 [20:16:39]MH_I2C_Read... [20:16:39]Read from MH i2c: D1 01 00 [20:16:39]MH_I2C_Read... [20:16:39]Read from MH i2c: D1 01 00 06 09 00 E0 [20:16:39]Write to MH i2c: 01 00 00 07 09 10 [20:16:39]Write i2c OK [20:16:39]MH_I2C_Read... [20:16:40]OFD Sender: No OFD packet to send [20:16:40]*** Cut start [20:16:40]*** Partial cut [20:16:40]*** CUTSNS_PIN = 1 [20:16:40]*** CUTSNS_PIN = 0 [20:16:41]*** Brake cut motor [20:16:41]Read from MH i2c: 01 [20:16:41]MH_I2C_Read... [20:16:41]*** Stop cut motor [20:16:41]*** Cut end [20:16:41]Read from MH i2c: 01 07 00 [20:16:41]MH_I2C_Read... [20:16:41]Read from MH i2c: 01 07 00 07 09 00 00 00 00 00 FF 0F 25 [20:16:41]process_action close_receipt done [20:16:41]requested_data is exist [20:16:41]produce_requested_data [20:16:41]requested_item fm.sn is exist - process it [20:16:41]wFMCommunicate request_size=4 [20:16:41]MH_SAM_APDU [20:16:41]CAPDU: 80 11 00 00 [20:16:41]Write to MH i2c: E2 08 00 08 09 80 11 00 00 00 00 00 00 8B [20:16:41]Write i2c OK [20:16:41]MH_I2C_Read... [20:16:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:16:41]Read from MH i2c: E2 [20:16:41]MH_I2C_Read... [20:16:41]Read from MH i2c: E2 17 00 [20:16:41]MH_I2C_Read... [20:16:41]Read from MH i2c: E2 17 00 08 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 E2 [20:16:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:16:41]wFMCommunicate OK [20:16:41]requested_item fd.num is exist - process it [20:16:41]SAM_PROTO_GetFieldsCounters [20:16:41]wFMCommunicate request_size=4 [20:16:41]MH_SAM_APDU [20:16:41]CAPDU: 80 13 00 00 [20:16:41]Write to MH i2c: E2 08 00 09 09 80 13 00 00 00 00 00 00 8E [20:16:41]Write i2c OK [20:16:41]MH_I2C_Read... [20:16:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:16:41]Read from MH i2c: E2 [20:16:41]MH_I2C_Read... [20:16:41]Read from MH i2c: E2 62 00 [20:16:41]MH_I2C_Read... [20:16:41]Read from MH i2c: E2 62 00 09 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 9E 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 9F 00 00 00 5E 04 04 00 9F 00 00 00 57 04 04 00 A0 00 00 00 19 04 04 00 00 00 00 00 90 00 64 [20:16:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 9E 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 9F 00 00 00 5E 04 04 00 9F 00 00 00 57 04 04 00 A0 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:16:41]wFMCommunicate OK [20:16:41]SAM_PROTO_GetFieldsCounters done [20:16:41]requested_item shift.num is exist - process it [20:16:41]requested_item shift.opened is exist - process it [20:16:41]req_shift_opened [20:16:41]FM_GetShiftState [20:16:41]SAM_PROTO_GetShiftState [20:16:41]wFMCommunicate request_size=4 [20:16:41]MH_SAM_APDU [20:16:41]CAPDU: 80 13 01 00 [20:16:41]Write to MH i2c: E2 08 00 0A 09 80 13 01 00 00 00 00 00 90 [20:16:41]Write i2c OK [20:16:41]MH_I2C_Read... [20:16:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:16:41]Read from MH i2c: E2 [20:16:41]MH_I2C_Read... [20:16:41]Read from MH i2c: E2 0E 00 [20:16:41]MH_I2C_Read... [20:16:41]Read from MH i2c: E2 0E 00 0A 09 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 8B [20:16:41]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [20:16:41]wFMCommunicate OK [20:16:41]SAM_PROTO_GetShiftState done [20:16:41]FM_GetShiftState done [20:16:41]req_shift_opened done [20:16:41]requested_item shift.open_date is exist - process it [20:16:41]req_shift_open_date [20:16:41]req_shift_open_date done [20:16:41]produce_requested_data done [20:16:41]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68254,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [20:16:41]process_action_free close_receipt [20:16:41]json_value_free [20:16:41]json_value_free done [20:16:41]process_json_proto returns [20:16:41]Send response to host [20:16:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68254,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [20:16:41]free response buf [20:16:41]execute_script done [20:16:41]execute_script returns [20:16:41]free content buf [20:16:41]Sock 7.Close socket [20:16:41]Sock 7.Thread stoped [20:16:45]OFD Sender: No OFD packet to send [20:16:50]OFD Sender: No OFD packet to send [20:16:55]OFD Sender: No OFD packet to send [20:17:00]OFD Sender: No OFD packet to send [20:17:05]OFD Sender: No OFD packet to send [20:17:10]OFD Sender: No OFD packet to send [20:17:15]OFD Sender: No OFD packet to send [20:17:20]OFD Sender: No OFD packet to send [20:17:25]OFD Sender: No OFD packet to send [20:17:30]OFD Sender: No OFD packet to send [20:17:35]OFD Sender: No OFD packet to send [20:17:40]OFD Sender: No OFD packet to send [20:17:45]OFD Sender: No OFD packet to send [20:17:50]OFD Sender: No OFD packet to send [20:17:55]OFD Sender: No OFD packet to send [20:18:00]OFD Sender: No OFD packet to send [20:18:05]OFD Sender: No OFD packet to send [20:18:10]OFD Sender: No OFD packet to send [20:18:15]OFD Sender: No OFD packet to send [20:18:20]OFD Sender: No OFD packet to send [20:18:25]OFD Sender: No OFD packet to send [20:18:30]OFD Sender: No OFD packet to send [20:18:35]OFD Sender: No OFD packet to send [20:18:40]OFD Sender: No OFD packet to send [20:18:45]OFD Sender: No OFD packet to send [20:18:50]OFD Sender: No OFD packet to send [20:18:55]OFD Sender: No OFD packet to send [20:19:00]OFD Sender: No OFD packet to send [20:19:01]accept exits with 9 [20:19:01]New connection [20:19:01]New thread 3067354468 created [20:19:01]Thread 3067497828 joined [20:19:01]Waiting for new connection... [20:19:01] Sock 9.Parse request [20:19:01]Sock 9.Check first char [20:19:01]Sock 9.First char is OK [20:19:01]request: POST /json_proto HTTP/1.0 [20:19:01]Method: POST [20:19:01]URL: /json_proto [20:19:01]Method is POST - this is cgi request [20:19:01]url: /json_proto [20:19:01]query_string will be loaded in cgi processing [20:19:01]execute_cgi json_proto POST (null) [20:19:01]execute_cgi path=json_proto method=POST [20:19:01]POST find Content-Length [20:19:01]Host: 172.17.42.3:8080 [20:19:01]Content-Length: 695 [20:19:01]Content-Type: application/json [20:19:01] [20:19:01]POST finish read [20:19:01]Found Content-Length = 695 [20:19:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17203", "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" : 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" ] } } [20:19:01]execute_script... [20:19: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)17203", "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" : 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" ] } } [20:19:01]POST & json_proto [20:19:01]process_json_proto [20:19:01]json parsed OK: [20:19:01]protocol is kg_v1.0 [20:19:01]action value=close_receipt [20:19:01]process_action close_receipt [20:19:01]cmd_close_receipt [20:19:01]MH_GetDate [20:19:01]Write to MH i2c: F0 00 00 0B 09 03 [20:19:01]Write i2c OK [20:19:01]MH_I2C_Read... [20:19:01]Read from MH i2c: F0 [20:19:01]MH_I2C_Read... [20:19:01]Read from MH i2c: F0 09 00 [20:19:01]MH_I2C_Read... [20:19:01]Read from MH i2c: F0 09 00 0B 09 00 B5 F1 1F 67 0E CB 1F 67 97 [20:19:01]GetLastDocTimeStamp 1730146597 [20:19:01]current date 1730146741 [20:19:01]FM_GetShiftState [20:19:01]SAM_PROTO_GetShiftState [20:19:01]wFMCommunicate request_size=4 [20:19:01]MH_SAM_APDU [20:19:01]CAPDU: 80 13 01 00 [20:19:01]Write to MH i2c: E2 08 00 0C 09 80 13 01 00 00 00 00 00 92 [20:19:01]Write i2c OK [20:19:01]MH_I2C_Read... [20:19:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:19:01]Read from MH i2c: E2 [20:19:01]MH_I2C_Read... [20:19:01]Read from MH i2c: E2 0E 00 [20:19:01]MH_I2C_Read... [20:19:01]Read from MH i2c: E2 0E 00 0C 09 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 8D [20:19:01]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [20:19:01]wFMCommunicate OK [20:19:01]SAM_PROTO_GetShiftState done [20:19:01]FM_GetShiftState done [20:19:01]opened in 1730074770 [20:19:01]opened+sec_in_day 1730161170 [20:19:01]quantity*price = 9500 [20:19:01]sum+1 = 9501 [20:19:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 160 28.10.2024 20:19 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68255 ФПД: 38218355409295 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T201901&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68255&fm=38218355409295&tin=02508201610067®Number=0000000000091759&sum=9500 0 [20:19:02]StoreToDocumentArchive [20:19:02]shift 547 fd 68255 [20:19:02]save to /storage/0547/doc_00068255 [20:19:02]save last doc name /storage/0547/doc_00068255 to /storage/kkm_last_doc_name [20:19:02]save OK [20:19:02]Clear old archive folders... [20:19:02]ProcessDocumentItem done err = 0, tmpTLVsize=299 [20:19:02]tlvbuf is 005FAFC0 [20:19:02]SAM_PROTO_ClearQueue [20:19:02]wFMCommunicate request_size=4 [20:19:02]MH_SAM_APDU [20:19:02]CAPDU: 80 09 00 00 [20:19:02]Write to MH i2c: E2 08 00 19 09 80 09 00 00 00 00 00 00 94 [20:19:02]Write i2c OK [20:19:02]MH_I2C_Read... [20:19:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:19:02]Read from MH i2c: E2 [20:19:02]MH_I2C_Read... [20:19:02]Read from MH i2c: E2 03 00 [20:19:02]MH_I2C_Read... [20:19:02]Read from MH i2c: E2 03 00 19 09 00 90 00 96 [20:19:02]RAPDU: 90 00 [20:19:02]wFMCommunicate OK [20:19:02]SAM_PROTO_ClearQueue done [20:19:02]KKMCreateOFDPacket [20:19:02]OFDProtocolAddRootSTLVToBuf [20:19:02]FM_MakeSignedData [20:19:02]FM_MakeSignedData [20:19:02]SAM_PROTO_SignData [20:19:02]wFMCommunicate request_size=4 [20:19:02]MH_SAM_APDU [20:19:02]CAPDU: 80 0D 01 02 [20:19:02]Write to MH i2c: E2 08 00 1A 09 80 0D 01 02 00 00 00 00 9C [20:19:02]Write i2c OK [20:19:02]MH_I2C_Read... [20:19:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:19:02]Read from MH i2c: E2 [20:19:02]MH_I2C_Read... [20:19:02]Read from MH i2c: E2 03 00 [20:19:02]MH_I2C_Read... [20:19:02]Read from MH i2c: E2 03 00 1A 09 00 90 00 97 [20:19:02]RAPDU: 90 00 [20:19:02]wFMCommunicate OK [20:19:02]wFMCommunicate request_size=255 [20:19:02]MH_SAM_APDU [20:19:02]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 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 A0 00 00 00 F4 03 04 00 B5 F1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 [20:19:02]Write to MH i2c: E2 02 01 1B 09 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 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 A0 00 00 00 F4 03 04 00 B5 F1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 BE [20:19:02]Write i2c OK [20:19:02]MH_I2C_Read... [20:19:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:19:02]Read from MH i2c: E2 [20:19:02]MH_I2C_Read... [20:19:02]Read from MH i2c: E2 03 00 [20:19:02]MH_I2C_Read... [20:19:02]Read from MH i2c: E2 03 00 1B 09 00 90 00 98 [20:19:02]RAPDU: 90 00 [20:19:02]wFMCommunicate OK [20:19:02]wFMCommunicate request_size=58 [20:19:02]MH_SAM_APDU [20:19:02]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9F 0A 01 00 35 04 06 00 22 C2 67 7F 81 8F [20:19:02]Write to MH i2c: E2 3D 00 1C 09 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9F 0A 01 00 35 04 06 00 22 C2 67 7F 81 8F 00 00 1C [20:19:02]Write i2c OK [20:19:02]MH_I2C_Read... [20:19:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:19:02]Read from MH i2c: E2 [20:19:02]MH_I2C_Read... [20:19:02]Read from MH i2c: E2 03 00 [20:19:02]MH_I2C_Read... [20:19:02]Read from MH i2c: E2 03 00 1C 09 00 90 00 99 [20:19:02]RAPDU: 90 00 [20:19:02]wFMCommunicate OK [20:19:02]wFMCommunicate request_size=4 [20:19:02]MH_SAM_APDU [20:19:02]CAPDU: 80 0D 03 02 [20:19:02]Write to MH i2c: E2 08 00 1D 09 80 0D 03 02 00 00 00 00 A1 [20:19:02]Write i2c OK [20:19:02]MH_I2C_Read... [20:19:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:19:02]Read from MH i2c: E2 [20:19:02]MH_I2C_Read... [20:19:02]Read from MH i2c: E2 0B 00 [20:19:02]MH_I2C_Read... [20:19:02]Read from MH i2c: E2 0B 00 1D 09 00 A4 11 70 E5 24 EA 1B 3A 90 00 0F [20:19:02]RAPDU: A4 11 70 E5 24 EA 1B 3A 90 00 [20:19:02]wFMCommunicate OK [20:19:02]SAM_PROTO_SignData done [20:19:02]FM_MakeSignedData done [20:19:02]CreateOFDProtocolMessage [20:19:02]wFMCommunicate request_size=4 [20:19:02]MH_SAM_APDU [20:19:02]CAPDU: 80 11 00 00 [20:19:02]Write to MH i2c: E2 08 00 1E 09 80 11 00 00 00 00 00 00 A1 [20:19:02]Write i2c OK [20:19:02]MH_I2C_Read... [20:19:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:19:02]Read from MH i2c: E2 [20:19:02]MH_I2C_Read... [20:19:02]Read from MH i2c: E2 17 00 [20:19:02]MH_I2C_Read... [20:19:02]Read from MH i2c: E2 17 00 1E 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 F8 [20:19:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:19:02]wFMCommunicate OK [20:19:02]CreateOFDProtocolMessage done [20:19:02]OFDSenderStorePacket 68255 [20:19:02]StoreOFDPacket docnum=68255 [20:19:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 3F 01 00 00 FE 50 37 01 86 E5 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 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 A0 00 00 00 F4 03 04 00 B5 F1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9F 0A 01 00 35 04 06 00 22 C2 67 7F 81 8F A4 11 70 E5 24 EA 1B 3A [20:19:02]CheckFolder [20:19:02]dirname=/storage/ofd_packets [20:19:02]CheckFolder done [20:19:02]ProducePacketName [20:19:02]name=ofd_packets/00068255 [20:19:02]NVStorageSaveData ofd_packets/00068255 [20:19:02]File name is /storage/ofd_packets/00068255 [20:19:02]Write 349 bytes [20:19:02]NVStorageSaveData done [20:19:02]OFDSenderStorePacket done [20:19:02]KKMCreateOFDPacket done [20:19:02]NVStorageSaveData kkm_last_timestamp [20:19:02]File name is /storage/kkm_last_timestamp [20:19:02]Write 4 bytes [20:19:02]NVStorageSaveData done [20:19:02]ExternCall_PrintAddStr [20:19:02]wPrintStart [20:19:02]Write to MH i2c: 01 00 00 1F 09 28 [20:19:02]Write i2c OK [20:19:02]MH_I2C_Read... [20:19:02]Read from MH i2c: 01 [20:19:02]MH_I2C_Read... [20:19:02]Read from MH i2c: 01 07 00 [20:19:02]MH_I2C_Read... [20:19:02]Read from MH i2c: 01 07 00 1F 09 00 00 00 00 00 FF 0F 3D [20:19:02]RasterBufferAndPrint [20:19:02]line Счет N : (3)17203 [20:19:02]line ИНН: 02508201610067 [20:19:02]line Контрольно-Кассовый Чек [20:19:02]line ПРОДАЖА [20:19:02]line Товар: 4700000480364 [20:19:02]line Напиток энерг Nitro экзотик 0.45 ж/б [20:19:02]line 1.000 * 95.00 [20:19:02]line = 95.00 [20:19:02]line НДС 12% НСП 1% [20:19:02]line > о реализуемом товаре [20:19:02]line ИТОГО: 95.00 [20:19:02]line НСП 1% : 0.84 [20:19:02]line НДС 12% : 10.09 [20:19:02]line Наличными: 95.00 [20:19:02]line Безнал.: 0.00 [20:19:02]line Место: АЗС № 160 "Партнер Нефть" [20:19:02]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [20:19:02]line СНО: Общий режим [20:19:02]line Чек 160 28.10.2024 20:19 [20:19:02]line Смена: 547 ФФД: 1.0 [20:19:02]line ЗНМ: 0300000093 [20:19:02]line РНМ: 0000000000091759 [20:19:02]line Версия ККМ: 001 [20:19:02]line ФМ: 0000000000871758 [20:19:02]line ФД: 68255 [20:19:02]line ФПД: 38218355409295 [20:19:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T201901&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68255&fm=38218355409295&tin=02508201610067®Number=0000000000091759&sum=9500 [20:19:03]OFD Sender: Processing packet 68255 [packets to send 27, broken 26] [20:19:03]ProducePacketName [20:19:03]name=ofd_packets/00068255 [20:19:03]OFD Sender: To server: pG, [20:19:03]CommunicateWithHost lk.salyk.kg:30040 [20:19:03]ConnectInit lk.salyk.kg [20:19:03]line 0 [20:19:03]written 0, free lines is 4095 [20:19:03]Connected sock=7 [20:19:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 3F 01 00 00 FE 50 37 01 86 E5 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 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 A0 00 00 00 F4 03 04 00 B5 F1 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9F 0A 01 00 35 04 06 00 22 C2 67 7F 81 8F A4 11 70 E5 24 EA 1B 3A [20:19:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 9C 38 47 00 1F DB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 9F 0A 01 00 F4 03 04 00 95 9D 1F 67 B6 04 01 00 00 B0 20 D9 B5 DC 52 8A C8 [20:19:03]CommunicateWithHost err = 0 [20:19:03]CheckOFDResponse [20:19:03]1017 (14) - 77093643461234 [20:19:03]1041 (16) - 0000000000871758 [20:19:03]1040 (4) - 68255 [20:19:03]1012 (4) - 28.10.2024 14:20 [20:19:03]1206 (1) - 0 [20:19:03]OFD Sender: Remove packet 68255 [20:19:03]ProducePacketName [20:19:03]name=ofd_packets/00068255 [20:19:03]NVStorageDeleteData [20:19:03]Write to MH i2c: 01 00 00 47 09 50 [20:19:03]Write i2c OK [20:19:03]MH_I2C_Read... [20:19:03]Read from MH i2c: 01 [20:19:03]MH_I2C_Read... [20:19:03]Read from MH i2c: 01 07 00 [20:19:03]MH_I2C_Read... [20:19:03]Read from MH i2c: 01 07 00 47 09 00 00 00 00 00 CC 0C 2F [20:19:03]RasterBufferAndPrint [20:19:03]line [20:19:03]line [20:19:03]line [20:19:03]line [20:19:03]line [20:19:03]written 0, free lines is 3280 [20:19:03]MH_Cut [20:19:03]Write to MH i2c: D1 01 00 4E 09 01 29 [20:19:03]Write i2c OK [20:19:03]MH_I2C_Read... [20:19:03]Read from MH i2c: D1 [20:19:03]MH_I2C_Read... [20:19:03]Read from MH i2c: D1 01 00 [20:19:03]MH_I2C_Read... [20:19:03]Read from MH i2c: D1 01 00 4E 09 00 28 [20:19:03]Write to MH i2c: 01 00 00 4F 09 58 [20:19:03]Write i2c OK [20:19:03]MH_I2C_Read... [20:19:03]OFD Sender: No OFD packet to send [20:19:04]*** Cut start [20:19:04]*** Partial cut [20:19:04]*** CUTSNS_PIN = 1 [20:19:04]*** CUTSNS_PIN = 0 [20:19:04]*** Brake cut motor [20:19:04]Read from MH i2c: 01 [20:19:04]MH_I2C_Read... [20:19:04]*** Stop cut motor [20:19:04]*** Cut end [20:19:04]Read from MH i2c: 01 07 00 [20:19:04]MH_I2C_Read... [20:19:04]Read from MH i2c: 01 07 00 4F 09 00 00 00 00 00 FF 0F 6D [20:19:04]process_action close_receipt done [20:19:04]requested_data is exist [20:19:04]produce_requested_data [20:19:04]requested_item fm.sn is exist - process it [20:19:04]wFMCommunicate request_size=4 [20:19:04]MH_SAM_APDU [20:19:04]CAPDU: 80 11 00 00 [20:19:04]Write to MH i2c: E2 08 00 50 09 80 11 00 00 00 00 00 00 D3 [20:19:04]Write i2c OK [20:19:04]MH_I2C_Read... [20:19:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:19:05]Read from MH i2c: E2 [20:19:05]MH_I2C_Read... [20:19:05]Read from MH i2c: E2 17 00 [20:19:05]MH_I2C_Read... [20:19:05]Read from MH i2c: E2 17 00 50 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 2A [20:19:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:19:05]wFMCommunicate OK [20:19:05]requested_item fd.num is exist - process it [20:19:05]SAM_PROTO_GetFieldsCounters [20:19:05]wFMCommunicate request_size=4 [20:19:05]MH_SAM_APDU [20:19:05]CAPDU: 80 13 00 00 [20:19:05]Write to MH i2c: E2 08 00 51 09 80 13 00 00 00 00 00 00 D6 [20:19:05]Write i2c OK [20:19:05]MH_I2C_Read... [20:19:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:19:05]Read from MH i2c: E2 [20:19:05]MH_I2C_Read... [20:19:05]Read from MH i2c: E2 62 00 [20:19:05]MH_I2C_Read... [20:19:05]Read from MH i2c: E2 62 00 51 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 9F 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A0 00 00 00 5E 04 04 00 A0 00 00 00 57 04 04 00 A1 00 00 00 19 04 04 00 00 00 00 00 90 00 B0 [20:19:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 9F 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A0 00 00 00 5E 04 04 00 A0 00 00 00 57 04 04 00 A1 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:19:05]wFMCommunicate OK [20:19:05]SAM_PROTO_GetFieldsCounters done [20:19:05]requested_item shift.num is exist - process it [20:19:05]requested_item shift.opened is exist - process it [20:19:05]req_shift_opened [20:19:05]FM_GetShiftState [20:19:05]SAM_PROTO_GetShiftState [20:19:05]wFMCommunicate request_size=4 [20:19:05]MH_SAM_APDU [20:19:05]CAPDU: 80 13 01 00 [20:19:05]Write to MH i2c: E2 08 00 52 09 80 13 01 00 00 00 00 00 D8 [20:19:05]Write i2c OK [20:19:05]MH_I2C_Read... [20:19:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:19:05]Read from MH i2c: E2 [20:19:05]MH_I2C_Read... [20:19:05]Read from MH i2c: E2 0E 00 [20:19:05]MH_I2C_Read... [20:19:05]Read from MH i2c: E2 0E 00 52 09 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 D3 [20:19:05]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [20:19:05]wFMCommunicate OK [20:19:05]SAM_PROTO_GetShiftState done [20:19:05]FM_GetShiftState done [20:19:05]req_shift_opened done [20:19:05]requested_item shift.open_date is exist - process it [20:19:05]req_shift_open_date [20:19:05]req_shift_open_date done [20:19:05]produce_requested_data done [20:19:05]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68255,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [20:19:05]process_action_free close_receipt [20:19:05]json_value_free [20:19:05]json_value_free done [20:19:05]process_json_proto returns [20:19:05]Send response to host [20:19:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68255,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [20:19:05]free response buf [20:19:05]execute_script done [20:19:05]execute_script returns [20:19:05]free content buf [20:19:05]Sock 9.Close socket [20:19:05]Sock 9.Thread stoped [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:04]OFD Sender: No OFD packet to send [20:20:09]OFD Sender: No OFD packet to send [20:20:14]OFD Sender: No OFD packet to send [20:20:19]OFD Sender: No OFD packet to send [20:20:24]OFD Sender: No OFD packet to send [20:20:29]OFD Sender: No OFD packet to send [20:20:34]OFD Sender: No OFD packet to send [20:20:39]OFD Sender: No OFD packet to send [20:20:44]OFD Sender: No OFD packet to send [20:20:46]accept exits with 10 [20:20:46]New connection [20:20:46]New thread 3067497828 created [20:20:46]Thread 3067354468 joined [20:20:46]Waiting for new connection... [20:20:46] Sock 10.Parse request [20:20:46]Sock 10.Check first char [20:20:46]Sock 10.First char is OK [20:20:46]request: POST /json_proto HTTP/1.0 [20:20:46]Method: POST [20:20:46]URL: /json_proto [20:20:46]Method is POST - this is cgi request [20:20:46]url: /json_proto [20:20:46]query_string will be loaded in cgi processing [20:20:46]execute_cgi json_proto POST (null) [20:20:46]execute_cgi path=json_proto method=POST [20:20:46]POST find Content-Length [20:20:46]Host: 172.17.42.3:8080 [20:20:46]Content-Length: 681 [20:20:46]Content-Type: application/json [20:20:46] [20:20:46]POST finish read [20:20:46]Found Content-Length = 681 [20:20:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46291", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 29.890, "sum" : 1999.64, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 1999.00, "payments": [ { "type": 0, "sum" : 1999.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:20:46]execute_script... [20:20: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 : (1)46291", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 29.890, "sum" : 1999.64, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 1999.00, "payments": [ { "type": 0, "sum" : 1999.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:20:46]POST & json_proto [20:20:46]process_json_proto [20:20:46]json parsed OK: [20:20:46]protocol is kg_v1.0 [20:20:46]action value=close_receipt [20:20:46]process_action close_receipt [20:20:46]cmd_close_receipt [20:20:46]MH_GetDate [20:20:46]Write to MH i2c: F0 00 00 53 09 4B [20:20:46]Write i2c OK [20:20:46]MH_I2C_Read... [20:20:46]Read from MH i2c: F0 [20:20:46]MH_I2C_Read... [20:20:46]Read from MH i2c: F0 09 00 [20:20:46]MH_I2C_Read... [20:20:46]Read from MH i2c: F0 09 00 53 09 00 1F F2 1F 67 0E CB 1F 67 4A [20:20:46]GetLastDocTimeStamp 1730146741 [20:20:46]current date 1730146847 [20:20:46]FM_GetShiftState [20:20:46]SAM_PROTO_GetShiftState [20:20:46]wFMCommunicate request_size=4 [20:20:46]MH_SAM_APDU [20:20:46]CAPDU: 80 13 01 00 [20:20:46]Write to MH i2c: E2 08 00 54 09 80 13 01 00 00 00 00 00 DA [20:20:46]Write i2c OK [20:20:46]MH_I2C_Read... [20:20:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:20:46]Read from MH i2c: E2 [20:20:46]MH_I2C_Read... [20:20:46]Read from MH i2c: E2 0E 00 [20:20:46]MH_I2C_Read... [20:20:46]Read from MH i2c: E2 0E 00 54 09 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 D5 [20:20:46]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [20:20:46]wFMCommunicate OK [20:20:46]SAM_PROTO_GetShiftState done [20:20:46]FM_GetShiftState done [20:20:46]opened in 1730074770 [20:20:46]opened+sec_in_day 1730161170 [20:20:46]quantity*price = 199964 [20:20:46]sum+1 = 199965 [20:20:46]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.64 ИТОГО: 1999.00 Внесено: 2000.00 СДАЧА: 1.00 НСП 1% : 17.70 НДС 12% : 212.35 Наличными: 1999.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 161 28.10.2024 20:20 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68256 ФПД: 72665095764893 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T202047&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68256&fm=72665095764893&tin=02508201610067®Number=0000000000091759&sum=199900 [20:20:48]StoreToDocumentArchive [20:20:48]shift 547 fd 68256 [20:20:48]save to /storage/0547/doc_00068256 [20:20:48]save last doc name /storage/0547/doc_00068256 to /storage/kkm_last_doc_name [20:20:48]save OK [20:20:48]Clear old archive folders... [20:20:48]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:20:48]tlvbuf is 005E1860 [20:20:48]SAM_PROTO_ClearQueue [20:20:48]wFMCommunicate request_size=4 [20:20:48]MH_SAM_APDU [20:20:48]CAPDU: 80 09 00 00 [20:20:48]Write to MH i2c: E2 08 00 61 09 80 09 00 00 00 00 00 00 DC [20:20:48]Write i2c OK [20:20:48]MH_I2C_Read... [20:20:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:20:48]Read from MH i2c: E2 [20:20:48]MH_I2C_Read... [20:20:48]Read from MH i2c: E2 03 00 [20:20:48]MH_I2C_Read... [20:20:48]Read from MH i2c: E2 03 00 61 09 00 90 00 DE [20:20:48]RAPDU: 90 00 [20:20:48]wFMCommunicate OK [20:20:48]SAM_PROTO_ClearQueue done [20:20:48]KKMCreateOFDPacket [20:20:48]OFDProtocolAddRootSTLVToBuf [20:20:48]FM_MakeSignedData [20:20:48]FM_MakeSignedData [20:20:48]SAM_PROTO_SignData [20:20:48]wFMCommunicate request_size=4 [20:20:48]MH_SAM_APDU [20:20:48]CAPDU: 80 0D 01 02 [20:20:48]Write to MH i2c: E2 08 00 62 09 80 0D 01 02 00 00 00 00 E4 [20:20:48]Write i2c OK [20:20:48]MH_I2C_Read... [20:20:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:20:48]Read from MH i2c: E2 [20:20:48]MH_I2C_Read... [20:20:48]Read from MH i2c: E2 03 00 [20:20:48]MH_I2C_Read... [20:20:48]Read from MH i2c: E2 03 00 62 09 00 90 00 DF [20:20:48]RAPDU: 90 00 [20:20:48]wFMCommunicate OK [20:20:48]wFMCommunicate request_size=255 [20:20:48]MH_SAM_APDU [20:20:48]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C2 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 1C 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 0C 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 52 00 00 00 00 07 04 06 00 DC 0C 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A1 00 00 00 F4 03 04 00 1F F2 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A0 0A 01 00 35 04 06 00 42 [20:20:48]Write to MH i2c: E2 02 01 63 09 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C2 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 1C 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 0C 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 52 00 00 00 00 07 04 06 00 DC 0C 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A1 00 00 00 F4 03 04 00 1F F2 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A0 0A 01 00 35 04 06 00 42 00 00 EB [20:20:48]Write i2c OK [20:20:48]MH_I2C_Read... [20:20:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:20:48]Read from MH i2c: E2 [20:20:48]MH_I2C_Read... [20:20:48]Read from MH i2c: E2 03 00 [20:20:48]MH_I2C_Read... [20:20:48]Read from MH i2c: E2 03 00 63 09 00 90 00 E0 [20:20:48]RAPDU: 90 00 [20:20:48]wFMCommunicate OK [20:20:48]wFMCommunicate request_size=10 [20:20:48]MH_SAM_APDU [20:20:48]CAPDU: 80 0D 02 02 05 16 A9 38 7B 9D [20:20:48]Write to MH i2c: E2 0D 00 64 09 80 0D 02 02 05 00 16 A9 38 7B 9D 00 00 00 [20:20:48]Write i2c OK [20:20:48]MH_I2C_Read... [20:20:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:20:48]Read from MH i2c: E2 [20:20:48]MH_I2C_Read... [20:20:48]Read from MH i2c: E2 03 00 [20:20:48]MH_I2C_Read... [20:20:48]Read from MH i2c: E2 03 00 64 09 00 90 00 E1 [20:20:48]RAPDU: 90 00 [20:20:48]wFMCommunicate OK [20:20:48]wFMCommunicate request_size=4 [20:20:48]MH_SAM_APDU [20:20:48]CAPDU: 80 0D 03 02 [20:20:48]Write to MH i2c: E2 08 00 65 09 80 0D 03 02 00 00 00 00 E9 [20:20:48]Write i2c OK [20:20:48]MH_I2C_Read... [20:20:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:20:48]Read from MH i2c: E2 [20:20:48]MH_I2C_Read... [20:20:48]Read from MH i2c: E2 0B 00 [20:20:48]MH_I2C_Read... [20:20:48]Read from MH i2c: E2 0B 00 65 09 00 D4 74 98 AD 6E 34 14 FB 90 00 28 [20:20:48]RAPDU: D4 74 98 AD 6E 34 14 FB 90 00 [20:20:48]wFMCommunicate OK [20:20:48]SAM_PROTO_SignData done [20:20:48]FM_MakeSignedData done [20:20:48]CreateOFDProtocolMessage [20:20:48]wFMCommunicate request_size=4 [20:20:48]MH_SAM_APDU [20:20:48]CAPDU: 80 11 00 00 [20:20:48]Write to MH i2c: E2 08 00 66 09 80 11 00 00 00 00 00 00 E9 [20:20:48]Write i2c OK [20:20:48]MH_I2C_Read... [20:20:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:20:48]Read from MH i2c: E2 [20:20:48]MH_I2C_Read... [20:20:48]Read from MH i2c: E2 17 00 [20:20:48]MH_I2C_Read... [20:20:48]Read from MH i2c: E2 17 00 66 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 40 [20:20:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:20:48]wFMCommunicate OK [20:20:48]CreateOFDProtocolMessage done [20:20:48]OFDSenderStorePacket 68256 [20:20:48]StoreOFDPacket docnum=68256 [20:20:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 4A 99 07 01 C3 75 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C2 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 1C 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 0C 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 52 00 00 00 00 07 04 06 00 DC 0C 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A1 00 00 00 F4 03 04 00 1F F2 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A0 0A 01 00 35 04 06 00 42 16 A9 38 7B 9D D4 74 98 AD 6E 34 14 FB [20:20:48]CheckFolder [20:20:48]dirname=/storage/ofd_packets [20:20:48]CheckFolder done [20:20:48]ProducePacketName [20:20:48]name=ofd_packets/00068256 [20:20:48]NVStorageSaveData ofd_packets/00068256 [20:20:48]File name is /storage/ofd_packets/00068256 [20:20:48]Write 301 bytes [20:20:48]NVStorageSaveData done [20:20:48]OFDSenderStorePacket done [20:20:48]KKMCreateOFDPacket done [20:20:48]NVStorageSaveData kkm_last_timestamp [20:20:48]File name is /storage/kkm_last_timestamp [20:20:48]Write 4 bytes [20:20:48]NVStorageSaveData done [20:20:48]ExternCall_PrintAddStr [20:20:48]wPrintStart [20:20:48]Write to MH i2c: 01 00 00 67 09 70 [20:20:48]Write i2c OK [20:20:48]MH_I2C_Read... [20:20:48]Read from MH i2c: 01 [20:20:48]MH_I2C_Read... [20:20:48]Read from MH i2c: 01 07 00 [20:20:48]MH_I2C_Read... [20:20:48]Read from MH i2c: 01 07 00 67 09 00 00 00 00 00 FF 0F 85 [20:20:48]RasterBufferAndPrint [20:20:48]line Счет N : (1)46291 [20:20:48]line ИНН: 02508201610067 [20:20:48]line Контрольно-Кассовый Чек [20:20:48]line ПРОДАЖА [20:20:48]line ТРК (МРК, ГНК) : 33 [20:20:48]line Товар: 2710124130 [20:20:48]line Аи-92-К-5 [20:20:48]line 29.890 * 66.90 [20:20:48]line = 1999.64 [20:20:48]line НДС 12% НСП 1% [20:20:48]line > о реализуемом товаре [20:20:48]line ОКРУГЛЕНИЕ: -0.64 [20:20:48]line ИТОГО: 1999.00 [20:20:48]line Внесено: 2000.00 [20:20:48]line СДАЧА: 1.00 [20:20:48]line НСП 1% : 17.70 [20:20:48]line НДС 12% : 212.35 [20:20:48]line Наличными: 1999.00 [20:20:48]line Безнал.: 0.00 [20:20:48]line Место: АЗС № 160 "Партнер Нефть" [20:20:48]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [20:20:48]line СНО: Общий режим [20:20:48]line Чек 161 28.10.2024 20:20 [20:20:48]line Смена: 547 ФФД: 1.0 [20:20:48]line ЗНМ: 0300000093 [20:20:48]line РНМ: 0000000000091759 [20:20:48]line Версия ККМ: 001 [20:20:48]line ФМ: 0000000000871758 [20:20:48]line ФД: 68256 [20:20:48]line ФПД: 72665095764893 [20:20:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T202047&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68256&fm=72665095764893&tin=02508201610067®Number=0000000000091759&sum=199900 [20:20:48]OFD Sender: Processing packet 68256 [packets to send 27, broken 26] [20:20:48]ProducePacketName [20:20:48]name=ofd_packets/00068256 [20:20:48]OFD Sender: To server: pG, [20:20:48]CommunicateWithHost lk.salyk.kg:30040 [20:20:48]ConnectInit lk.salyk.kg [20:20:48]written 0, free lines is 4095 [20:20:49]Connected sock=9 [20:20:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 4A 99 07 01 C3 75 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C2 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 1C 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 0C 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 52 00 00 00 00 07 04 06 00 DC 0C 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A1 00 00 00 F4 03 04 00 1F F2 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A0 0A 01 00 35 04 06 00 42 16 A9 38 7B 9D D4 74 98 AD 6E 34 14 FB [20:20:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 F7 0F 47 00 EC 0D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A0 0A 01 00 F4 03 04 00 FF 9D 1F 67 B6 04 01 00 00 69 2B 1A B1 81 4E 18 63 [20:20:49]CommunicateWithHost err = 0 [20:20:49]CheckOFDResponse [20:20:49]1017 (14) - 77093643461234 [20:20:49]1041 (16) - 0000000000871758 [20:20:49]1040 (4) - 68256 [20:20:49]1012 (4) - 28.10.2024 14:21 [20:20:49]1206 (1) - 0 [20:20:49]OFD Sender: Remove packet 68256 [20:20:49]ProducePacketName [20:20:49]name=ofd_packets/00068256 [20:20:49]NVStorageDeleteData [20:20:49]Write to MH i2c: 01 00 00 91 09 9A [20:20:49]Write i2c OK [20:20:49]MH_I2C_Read... [20:20:49]Read from MH i2c: 01 [20:20:49]MH_I2C_Read... [20:20:49]Read from MH i2c: 01 07 00 [20:20:49]MH_I2C_Read... [20:20:49]Read from MH i2c: 01 07 00 91 09 00 00 00 00 00 BB 0C 68 [20:20:49]RasterBufferAndPrint [20:20:49]line [20:20:49]line [20:20:49]line [20:20:49]line [20:20:49]line [20:20:49]written 0, free lines is 3266 [20:20:49]MH_Cut [20:20:49]Write to MH i2c: D1 01 00 98 09 01 73 [20:20:49]Write i2c OK [20:20:49]MH_I2C_Read... [20:20:49]Read from MH i2c: D1 [20:20:49]MH_I2C_Read... [20:20:49]Read from MH i2c: D1 01 00 [20:20:49]MH_I2C_Read... [20:20:49]Read from MH i2c: D1 01 00 98 09 00 72 [20:20:49]Write to MH i2c: 01 00 00 99 09 A2 [20:20:49]Write i2c OK [20:20:49]MH_I2C_Read... [20:20:49]OFD Sender: No OFD packet to send [20:20:50]*** Cut start [20:20:50]*** Partial cut [20:20:50]*** CUTSNS_PIN = 1 [20:20:50]*** CUTSNS_PIN = 0 [20:20:50]*** Brake cut motor [20:20:50]Read from MH i2c: 01 [20:20:50]MH_I2C_Read... [20:20:50]*** Stop cut motor [20:20:50]*** Cut end [20:20:50]Read from MH i2c: 01 07 00 [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: 01 07 00 99 09 00 00 00 00 00 FF 0F B7 [20:20:50]process_action close_receipt done [20:20:50]requested_data is exist [20:20:50]produce_requested_data [20:20:50]requested_item fm.sn is exist - process it [20:20:50]wFMCommunicate request_size=4 [20:20:50]MH_SAM_APDU [20:20:50]CAPDU: 80 11 00 00 [20:20:50]Write to MH i2c: E2 08 00 9A 09 80 11 00 00 00 00 00 00 1D [20:20:50]Write i2c OK [20:20:50]MH_I2C_Read... [20:20:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:20:50]Read from MH i2c: E2 [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: E2 17 00 [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: E2 17 00 9A 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 74 [20:20:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:20:50]wFMCommunicate OK [20:20:50]requested_item fd.num is exist - process it [20:20:50]SAM_PROTO_GetFieldsCounters [20:20:50]wFMCommunicate request_size=4 [20:20:50]MH_SAM_APDU [20:20:50]CAPDU: 80 13 00 00 [20:20:50]Write to MH i2c: E2 08 00 9B 09 80 13 00 00 00 00 00 00 20 [20:20:50]Write i2c OK [20:20:50]MH_I2C_Read... [20:20:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:20:50]Read from MH i2c: E2 [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: E2 62 00 [20:20:50]MH_I2C_Read... [20:20:50]Read from MH i2c: E2 62 00 9B 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A0 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A1 00 00 00 5E 04 04 00 A1 00 00 00 57 04 04 00 A2 00 00 00 19 04 04 00 00 00 00 00 90 00 FE [20:20:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A0 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A1 00 00 00 5E 04 04 00 A1 00 00 00 57 04 04 00 A2 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:20:50]wFMCommunicate OK [20:20:50]SAM_PROTO_GetFieldsCounters done [20:20:50]requested_item shift.num is exist - process it [20:20:50]requested_item shift.opened is exist - process it [20:20:50]req_shift_opened [20:20:50]FM_GetShiftState [20:20:50]SAM_PROTO_GetShiftState [20:20:50]wFMCommunicate request_size=4 [20:20:50]MH_SAM_APDU [20:20:50]CAPDU: 80 13 01 00 [20:20:50]Write to MH i2c: E2 08 00 9C 09 80 13 01 00 00 00 00 00 22 [20:20:50]Write i2c OK [20:20:50]MH_I2C_Read... [20:20:51]Read from MH i2c: E2 [20:20:51]MH_I2C_Read... [20:20:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:20:51]Read from MH i2c: E2 0E 00 [20:20:51]MH_I2C_Read... [20:20:51]Read from MH i2c: E2 0E 00 9C 09 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 1D [20:20:51]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [20:20:51]wFMCommunicate OK [20:20:51]SAM_PROTO_GetShiftState done [20:20:51]FM_GetShiftState done [20:20:51]req_shift_opened done [20:20:51]requested_item shift.open_date is exist - process it [20:20:51]req_shift_open_date [20:20:51]req_shift_open_date done [20:20:51]produce_requested_data done [20:20:51]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68256,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [20:20:51]process_action_free close_receipt [20:20:51]json_value_free [20:20:51]json_value_free done [20:20:51]process_json_proto returns [20:20:51]Send response to host [20:20:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68256,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [20:20:51]free response buf [20:20:51]execute_script done [20:20:51]execute_script returns [20:20:51]free content buf [20:20:51]Sock 10.Close socket [20:20:51]Sock 10.Thread stoped [20:20:54]OFD Sender: No OFD packet to send [20:20:59]OFD Sender: No OFD packet to send [20:21:04]OFD Sender: No OFD packet to send [20:21:09]OFD Sender: No OFD packet to send [20:21:14]OFD Sender: No OFD packet to send [20:21:19]OFD Sender: No OFD packet to send [20:21:24]OFD Sender: No OFD packet to send [20:21:29]OFD Sender: No OFD packet to send [20:21:34]OFD Sender: No OFD packet to send [20:21:39]OFD Sender: No OFD packet to send [20:21:44]OFD Sender: No OFD packet to send [20:21:49]OFD Sender: No OFD packet to send [20:21:54]OFD Sender: No OFD packet to send [20:21:59]OFD Sender: No OFD packet to send [20:22:04]OFD Sender: No OFD packet to send [20:22:09]OFD Sender: No OFD packet to send [20:22:14]OFD Sender: No OFD packet to send [20:22:19]OFD Sender: No OFD packet to send [20:22:24]OFD Sender: No OFD packet to send [20:22:29]OFD Sender: No OFD packet to send [20:22:34]OFD Sender: No OFD packet to send [20:22:39]OFD Sender: No OFD packet to send [20:22:44]OFD Sender: No OFD packet to send [20:22:49]OFD Sender: No OFD packet to send [20:22:54]OFD Sender: No OFD packet to send [20:22:59]OFD Sender: No OFD packet to send [20:23:04]OFD Sender: No OFD packet to send [20:23:09]OFD Sender: No OFD packet to send [20:23:14]OFD Sender: No OFD packet to send [20:23:19]OFD Sender: No OFD packet to send [20:23:24]OFD Sender: No OFD packet to send [20:23:29]OFD Sender: No OFD packet to send [20:23:34]OFD Sender: No OFD packet to send [20:23:39]OFD Sender: No OFD packet to send [20:23:44]OFD Sender: No OFD packet to send [20:23:49]OFD Sender: No OFD packet to send [20:23:54]OFD Sender: No OFD packet to send [20:23:59]OFD Sender: No OFD packet to send [20:24:04]OFD Sender: No OFD packet to send [20:24:09]OFD Sender: No OFD packet to send [20:24:14]OFD Sender: No OFD packet to send [20:24:19]OFD Sender: No OFD packet to send [20:24:24]OFD Sender: No OFD packet to send [20:24:29]OFD Sender: No OFD packet to send [20:24:34]OFD Sender: No OFD packet to send [20:24:39]OFD Sender: No OFD packet to send [20:24:44]OFD Sender: No OFD packet to send [20:24:49]OFD Sender: No OFD packet to send [20:24:54]OFD Sender: No OFD packet to send [20:24:59]OFD Sender: No OFD packet to send [20:25:04]OFD Sender: No OFD packet to send [20:25:09]OFD Sender: No OFD packet to send [20:25:14]OFD Sender: No OFD packet to send [20:25:19]OFD Sender: No OFD packet to send [20:25:24]OFD Sender: No OFD packet to send [20:25:29]OFD Sender: No OFD packet to send [20:25:34]OFD Sender: No OFD packet to send [20:25:39]OFD Sender: No OFD packet to send [20:25:44]OFD Sender: No OFD packet to send [20:25:49]OFD Sender: No OFD packet to send [20:25:54]OFD Sender: No OFD packet to send [20:25:59]OFD Sender: No OFD packet to send [20:26:04]OFD Sender: No OFD packet to send [20:26:09]OFD Sender: No OFD packet to send [20:26:14]OFD Sender: No OFD packet to send [20:26:20]OFD Sender: No OFD packet to send [20:26:25]OFD Sender: No OFD packet to send [20:26:30]OFD Sender: No OFD packet to send [20:26:35]OFD Sender: No OFD packet to send [20:26:40]OFD Sender: No OFD packet to send [20:26:45]OFD Sender: No OFD packet to send [20:26:50]OFD Sender: No OFD packet to send [20:26:55]OFD Sender: No OFD packet to send [20:27:00]OFD Sender: No OFD packet to send [20:27:05]OFD Sender: No OFD packet to send [20:27:10]OFD Sender: No OFD packet to send [20:27:15]OFD Sender: No OFD packet to send [20:27:20]OFD Sender: No OFD packet to send [20:27:24]accept exits with 7 [20:27:24]New connection [20:27:24]New thread 3067354468 created [20:27:24]Thread 3067497828 joined [20:27:24]Waiting for new connection... [20:27:24] Sock 7.Parse request [20:27:24]Sock 7.Check first char [20:27:24]Sock 7.First char is OK [20:27:24]request: POST /json_proto HTTP/1.0 [20:27:24]Method: POST [20:27:24]URL: /json_proto [20:27:24]Method is POST - this is cgi request [20:27:24]url: /json_proto [20:27:24]query_string will be loaded in cgi processing [20:27:24]execute_cgi json_proto POST (null) [20:27:24]execute_cgi path=json_proto method=POST [20:27:24]POST find Content-Length [20:27:24]Host: 172.17.42.3:8080 [20:27:24]Content-Length: 851 [20:27:24]Content-Type: application/json [20:27:24] [20:27:24]POST finish read [20:27:24]Found Content-Length = 851 [20:27:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17204", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 1.000, "sum" : 159.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" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 278.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:27:24]execute_script... [20:27:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17204", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 1.000, "sum" : 159.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" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 278.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:27:24]POST & json_proto [20:27:24]process_json_proto [20:27:24]json parsed OK: [20:27:24]protocol is kg_v1.0 [20:27:24]action value=close_receipt [20:27:24]process_action close_receipt [20:27:24]cmd_close_receipt [20:27:24]MH_GetDate [20:27:24]Write to MH i2c: F0 00 00 9D 09 95 [20:27:24]Write i2c OK [20:27:24]MH_I2C_Read... [20:27:24]Read from MH i2c: F0 [20:27:24]MH_I2C_Read... [20:27:24]Read from MH i2c: F0 09 00 [20:27:24]MH_I2C_Read... [20:27:24]Read from MH i2c: F0 09 00 9D 09 00 AC F3 1F 67 0E CB 1F 67 22 [20:27:24]GetLastDocTimeStamp 1730146847 [20:27:24]current date 1730147244 [20:27:24]FM_GetShiftState [20:27:24]SAM_PROTO_GetShiftState [20:27:24]wFMCommunicate request_size=4 [20:27:24]MH_SAM_APDU [20:27:24]CAPDU: 80 13 01 00 [20:27:24]Write to MH i2c: E2 08 00 9E 09 80 13 01 00 00 00 00 00 24 [20:27:24]Write i2c OK [20:27:24]MH_I2C_Read... [20:27:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:27:24]Read from MH i2c: E2 [20:27:24]MH_I2C_Read... [20:27:24]Read from MH i2c: E2 0E 00 [20:27:24]MH_I2C_Read... [20:27:24]Read from MH i2c: E2 0E 00 9E 09 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 1F [20:27:24]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [20:27:24]wFMCommunicate OK [20:27:24]SAM_PROTO_GetShiftState done [20:27:24]FM_GetShiftState done [20:27:24]opened in 1730074770 [20:27:24]opened+sec_in_day 1730161170 [20:27:24]quantity*price = 15900 [20:27:24]sum+1 = 15901 [20:27:24]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570071 Напиток Pepsi 1л 1.000 * 119.00 = 119.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 278.00 НСП 1% : 2.46 НДС 12% : 29.52 Наличными: 278.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 162 28.10.2024 20:27 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68257 ФПД: 254349560624942 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T202724&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68257&fm=254349560624942&tin=02508201610067®Number=0000000000091759&sum=27800 0 [20:27:25]StoreToDocumentArchive [20:27:25]shift 547 fd 68257 [20:27:25]save to /storage/0547/doc_00068257 [20:27:25]save last doc name /storage/0547/doc_00068257 to /storage/kkm_last_doc_name [20:27:25]save OK [20:27:25]Clear old archive folders... [20:27:25]ProcessDocumentItem done err = 0, tmpTLVsize=370 [20:27:25]tlvbuf is 005E21F0 [20:27:25]SAM_PROTO_ClearQueue [20:27:25]wFMCommunicate request_size=4 [20:27:25]MH_SAM_APDU [20:27:25]CAPDU: 80 09 00 00 [20:27:25]Write to MH i2c: E2 08 00 AB 09 80 09 00 00 00 00 00 00 26 [20:27:25]Write i2c OK [20:27:25]MH_I2C_Read... [20:27:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:27:25]Read from MH i2c: E2 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: E2 03 00 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: E2 03 00 AB 09 00 90 00 28 [20:27:25]RAPDU: 90 00 [20:27:25]wFMCommunicate OK [20:27:25]SAM_PROTO_ClearQueue done [20:27:25]KKMCreateOFDPacket [20:27:25]OFDProtocolAddRootSTLVToBuf [20:27:25]FM_MakeSignedData [20:27:25]FM_MakeSignedData [20:27:25]SAM_PROTO_SignData [20:27:25]wFMCommunicate request_size=4 [20:27:25]MH_SAM_APDU [20:27:25]CAPDU: 80 0D 01 02 [20:27:25]Write to MH i2c: E2 08 00 AC 09 80 0D 01 02 00 00 00 00 2E [20:27:25]Write i2c OK [20:27:25]MH_I2C_Read... [20:27:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:27:25]Read from MH i2c: E2 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: E2 03 00 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: E2 03 00 AC 09 00 90 00 29 [20:27:25]RAPDU: 90 00 [20:27:25]wFMCommunicate OK [20:27:25]wFMCommunicate request_size=255 [20:27:25]MH_SAM_APDU [20:27:25]CAPDU: 80 0D 02 02 FA 03 00 72 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 [20:27:25]Write to MH i2c: E2 02 01 AD 09 80 0D 02 02 FA 00 03 00 72 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 00 00 8F [20:27:25]Write i2c OK [20:27:25]MH_I2C_Read... [20:27:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:27:25]Read from MH i2c: E2 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: E2 03 00 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: E2 03 00 AD 09 00 90 00 2A [20:27:25]RAPDU: 90 00 [20:27:25]wFMCommunicate OK [20:27:25]wFMCommunicate request_size=129 [20:27:25]MH_SAM_APDU [20:27:25]CAPDU: 80 0D 02 02 7C 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A2 00 00 00 F4 03 04 00 AC F3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A1 0A 01 00 35 04 06 00 E7 54 5F 35 B7 2E [20:27:25]Write to MH i2c: E2 84 00 AE 09 80 0D 02 02 7C 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A2 00 00 00 F4 03 04 00 AC F3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A1 0A 01 00 35 04 06 00 E7 54 5F 35 B7 2E 00 00 4D [20:27:25]Write i2c OK [20:27:25]MH_I2C_Read... [20:27:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:27:25]Read from MH i2c: E2 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: E2 03 00 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: E2 03 00 AE 09 00 90 00 2B [20:27:25]RAPDU: 90 00 [20:27:25]wFMCommunicate OK [20:27:25]wFMCommunicate request_size=4 [20:27:25]MH_SAM_APDU [20:27:25]CAPDU: 80 0D 03 02 [20:27:25]Write to MH i2c: E2 08 00 AF 09 80 0D 03 02 00 00 00 00 33 [20:27:25]Write i2c OK [20:27:25]MH_I2C_Read... [20:27:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:27:25]Read from MH i2c: E2 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: E2 0B 00 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: E2 0B 00 AF 09 00 65 DE 70 40 9E 94 D9 20 90 00 52 [20:27:25]RAPDU: 65 DE 70 40 9E 94 D9 20 90 00 [20:27:25]wFMCommunicate OK [20:27:25]SAM_PROTO_SignData done [20:27:25]FM_MakeSignedData done [20:27:25]CreateOFDProtocolMessage [20:27:25]wFMCommunicate request_size=4 [20:27:25]MH_SAM_APDU [20:27:25]CAPDU: 80 11 00 00 [20:27:25]Write to MH i2c: E2 08 00 B0 09 80 11 00 00 00 00 00 00 33 [20:27:25]Write i2c OK [20:27:25]MH_I2C_Read... [20:27:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:27:25]Read from MH i2c: E2 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: E2 17 00 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: E2 17 00 B0 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 8A [20:27:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:27:25]wFMCommunicate OK [20:27:25]CreateOFDProtocolMessage done [20:27:25]OFDSenderStorePacket 68257 [20:27:25]StoreOFDPacket docnum=68257 [20:27:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 86 01 00 00 F8 7A 7E 01 B5 FE 5A 03 01 00 03 00 72 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A2 00 00 00 F4 03 04 00 AC F3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A1 0A 01 00 35 04 06 00 E7 54 5F 35 B7 2E 65 DE 70 40 9E 94 D9 20 [20:27:25]CheckFolder [20:27:25]dirname=/storage/ofd_packets [20:27:25]CheckFolder done [20:27:25]ProducePacketName [20:27:25]name=ofd_packets/00068257 [20:27:25]NVStorageSaveData ofd_packets/00068257 [20:27:25]File name is /storage/ofd_packets/00068257 [20:27:25]Write 420 bytes [20:27:25]NVStorageSaveData done [20:27:25]OFDSenderStorePacket done [20:27:25]KKMCreateOFDPacket done [20:27:25]NVStorageSaveData kkm_last_timestamp [20:27:25]File name is /storage/kkm_last_timestamp [20:27:25]Write 4 bytes [20:27:25]NVStorageSaveData done [20:27:25]ExternCall_PrintAddStr [20:27:25]wPrintStart [20:27:25]Write to MH i2c: 01 00 00 B1 09 BA [20:27:25]Write i2c OK [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: 01 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: 01 07 00 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: 01 07 00 B1 09 00 00 00 00 00 FF 0F CF [20:27:25]RasterBufferAndPrint [20:27:25]line Счет N : (3)17204 [20:27:25]line ИНН: 02508201610067 [20:27:25]line Контрольно-Кассовый Чек [20:27:25]line ПРОДАЖА [20:27:25]line Товар: 4640030091645 [20:27:25]line Сигареты ESSE Exchange M [20:27:25]line 1.000 * 159.00 [20:27:25]line = 159.00 [20:27:25]line НДС 12% НСП 1% [20:27:25]line > о реализуемом товаре [20:27:25]line Товар: 4870001570071 [20:27:25]line Напиток Pepsi 1л [20:27:25]line 1.000 * 119.00 [20:27:25]line = 119.00 [20:27:25]line НДС 12% НСП 1% [20:27:25]line > о реализуемом товаре [20:27:25]line ИТОГО: 278.00 [20:27:25]line НСП 1% : 2.46 [20:27:25]line НДС 12% : 29.52 [20:27:26]line Наличными: 278.00 [20:27:26]line Безнал.: 0.00 [20:27:26]line Место: АЗС № 160 "Партнер Нефть" [20:27:26]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [20:27:26]line СНО: Общий режим [20:27:26]line Чек 162 28.10.2024 20:27 [20:27:26]line Смена: 547 ФФД: 1.0 [20:27:26]line ЗНМ: 0300000093 [20:27:26]line РНМ: 0000000000091759 [20:27:26]line Версия ККМ: 001 [20:27:26]line ФМ: 0000000000871758 [20:27:26]line ФД: 68257 [20:27:26]line ФПД: 254349560624942 [20:27:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T202724&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68257&fm=254349560624942&tin=02508201610067®Number=0000000000091759&sum=27800 [20:27:26]line 0 [20:27:26]OFD Sender: Processing packet 68257 [packets to send 27, broken 26] [20:27:26]ProducePacketName [20:27:26]name=ofd_packets/00068257 [20:27:26]OFD Sender: To server: pG, [20:27:26]CommunicateWithHost lk.salyk.kg:30040 [20:27:26]ConnectInit lk.salyk.kg [20:27:26]written 0, free lines is 4095 [20:27:26]Connected sock=11 [20:27:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 86 01 00 00 F8 7A 7E 01 B5 FE 5A 03 01 00 03 00 72 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A2 00 00 00 F4 03 04 00 AC F3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A1 0A 01 00 35 04 06 00 E7 54 5F 35 B7 2E 65 DE 70 40 9E 94 D9 20 [20:27:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 C6 5B 47 00 09 45 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A1 0A 01 00 F4 03 04 00 8C 9F 1F 67 B6 04 01 00 00 1F 76 5F B5 28 2F A9 16 [20:27:26]CommunicateWithHost err = 0 [20:27:26]CheckOFDResponse [20:27:26]1017 (14) - 77093643461234 [20:27:26]1041 (16) - 0000000000871758 [20:27:26]1040 (4) - 68257 [20:27:26]1012 (4) - 28.10.2024 14:28 [20:27:26]1206 (1) - 0 [20:27:26]OFD Sender: Remove packet 68257 [20:27:26]ProducePacketName [20:27:26]name=ofd_packets/00068257 [20:27:26]NVStorageDeleteData [20:27:26]Write to MH i2c: 01 00 00 DE 09 E7 [20:27:26]Write i2c OK [20:27:26]MH_I2C_Read... [20:27:26]Read from MH i2c: 01 [20:27:26]MH_I2C_Read... [20:27:26]Read from MH i2c: 01 07 00 [20:27:26]MH_I2C_Read... [20:27:26]Read from MH i2c: 01 07 00 DE 09 00 00 00 00 00 7A 0C 74 [20:27:26]RasterBufferAndPrint [20:27:26]line [20:27:26]line [20:27:26]line [20:27:26]line [20:27:26]line [20:27:26]written 0, free lines is 3200 [20:27:26]MH_Cut [20:27:26]Write to MH i2c: D1 01 00 E5 09 01 C0 [20:27:26]Write i2c OK [20:27:26]MH_I2C_Read... [20:27:26]Read from MH i2c: D1 [20:27:26]MH_I2C_Read... [20:27:26]Read from MH i2c: D1 01 00 [20:27:26]MH_I2C_Read... [20:27:26]Read from MH i2c: D1 01 00 E5 09 00 BF [20:27:26]Write to MH i2c: 01 00 00 E6 09 EF [20:27:26]Write i2c OK [20:27:26]MH_I2C_Read... [20:27:27]OFD Sender: No OFD packet to send [20:27:27]*** Cut start [20:27:27]*** Partial cut [20:27:27]*** CUTSNS_PIN = 1 [20:27:27]*** CUTSNS_PIN = 0 [20:27:27]*** Brake cut motor [20:27:28]Read from MH i2c: 01 [20:27:28]MH_I2C_Read... [20:27:28]*** Stop cut motor [20:27:28]*** Cut end [20:27:28]Read from MH i2c: 01 07 00 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: 01 07 00 E6 09 00 00 00 00 00 FF 0F 04 [20:27:28]process_action close_receipt done [20:27:28]requested_data is exist [20:27:28]produce_requested_data [20:27:28]requested_item fm.sn is exist - process it [20:27:28]wFMCommunicate request_size=4 [20:27:28]MH_SAM_APDU [20:27:28]CAPDU: 80 11 00 00 [20:27:28]Write to MH i2c: E2 08 00 E7 09 80 11 00 00 00 00 00 00 6A [20:27:28]Write i2c OK [20:27:28]MH_I2C_Read... [20:27:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:27:28]Read from MH i2c: E2 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: E2 17 00 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: E2 17 00 E7 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 C1 [20:27:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:27:28]wFMCommunicate OK [20:27:28]requested_item fd.num is exist - process it [20:27:28]SAM_PROTO_GetFieldsCounters [20:27:28]wFMCommunicate request_size=4 [20:27:28]MH_SAM_APDU [20:27:28]CAPDU: 80 13 00 00 [20:27:28]Write to MH i2c: E2 08 00 E8 09 80 13 00 00 00 00 00 00 6D [20:27:28]Write i2c OK [20:27:28]MH_I2C_Read... [20:27:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:27:28]Read from MH i2c: E2 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: E2 62 00 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: E2 62 00 E8 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A1 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A2 00 00 00 5E 04 04 00 A2 00 00 00 57 04 04 00 A3 00 00 00 19 04 04 00 00 00 00 00 90 00 4F [20:27:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A1 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A2 00 00 00 5E 04 04 00 A2 00 00 00 57 04 04 00 A3 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:27:28]wFMCommunicate OK [20:27:28]SAM_PROTO_GetFieldsCounters done [20:27:28]requested_item shift.num is exist - process it [20:27:28]requested_item shift.opened is exist - process it [20:27:28]req_shift_opened [20:27:28]FM_GetShiftState [20:27:28]SAM_PROTO_GetShiftState [20:27:28]wFMCommunicate request_size=4 [20:27:28]MH_SAM_APDU [20:27:28]CAPDU: 80 13 01 00 [20:27:28]Write to MH i2c: E2 08 00 E9 09 80 13 01 00 00 00 00 00 6F [20:27:28]Write i2c OK [20:27:28]MH_I2C_Read... [20:27:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:27:28]Read from MH i2c: E2 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: E2 0E 00 [20:27:28]MH_I2C_Read... [20:27:28]Read from MH i2c: E2 0E 00 E9 09 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 6A [20:27:28]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [20:27:28]wFMCommunicate OK [20:27:28]SAM_PROTO_GetShiftState done [20:27:28]FM_GetShiftState done [20:27:28]req_shift_opened done [20:27:28]requested_item shift.open_date is exist - process it [20:27:28]req_shift_open_date [20:27:28]req_shift_open_date done [20:27:28]produce_requested_data done [20:27:28]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68257,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [20:27:28]process_action_free close_receipt [20:27:28]json_value_free [20:27:28]json_value_free done [20:27:28]process_json_proto returns [20:27:28]Send response to host [20:27:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68257,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [20:27:28]free response buf [20:27:28]execute_script done [20:27:28]execute_script returns [20:27:28]free content buf [20:27:28]Sock 7.Close socket [20:27:28]Sock 7.Thread stoped [20:27:32]OFD Sender: No OFD packet to send [20:27:37]OFD Sender: No OFD packet to send [20:27:42]OFD Sender: No OFD packet to send [20:27:47]OFD Sender: No OFD packet to send [20:27:48]accept exits with 9 [20:27:48]New connection [20:27:48]New thread 3067497828 created [20:27:48]Thread 3067354468 joined [20:27:48]Waiting for new connection... [20:27:48] Sock 9.Parse request [20:27:48]Sock 9.Check first char [20:27:48]Sock 9.First char is OK [20:27:48]request: POST /json_proto HTTP/1.0 [20:27:48]Method: POST [20:27:48]URL: /json_proto [20:27:48]Method is POST - this is cgi request [20:27:48]url: /json_proto [20:27:48]query_string will be loaded in cgi processing [20:27:48]execute_cgi json_proto POST (null) [20:27:48]execute_cgi path=json_proto method=POST [20:27:48]POST find Content-Length [20:27:48]Host: 172.17.42.3:8080 [20:27:48]Content-Length: 632 [20:27:48]Content-Type: application/json [20:27:48] [20:27:48]POST finish read [20:27:48]Found Content-Length = 632 [20:27:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17205", "tax_sys" : 0, "items" : [ { "code": "48745291", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament SOHO NYC COMPACT BLU", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:27:48]execute_script... [20:27: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)17205", "tax_sys" : 0, "items" : [ { "code": "48745291", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament SOHO NYC COMPACT BLU", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:27:48]POST & json_proto [20:27:48]process_json_proto [20:27:48]json parsed OK: [20:27:48]protocol is kg_v1.0 [20:27:48]action value=close_receipt [20:27:48]process_action close_receipt [20:27:48]cmd_close_receipt [20:27:48]MH_GetDate [20:27:48]Write to MH i2c: F0 00 00 EA 09 E2 [20:27:48]Write i2c OK [20:27:48]MH_I2C_Read... [20:27:48]Read from MH i2c: F0 [20:27:48]MH_I2C_Read... [20:27:48]Read from MH i2c: F0 09 00 [20:27:48]MH_I2C_Read... [20:27:48]Read from MH i2c: F0 09 00 EA 09 00 C5 F3 1F 67 0E CB 1F 67 88 [20:27:48]GetLastDocTimeStamp 1730147244 [20:27:48]current date 1730147269 [20:27:48]FM_GetShiftState [20:27:48]SAM_PROTO_GetShiftState [20:27:48]wFMCommunicate request_size=4 [20:27:48]MH_SAM_APDU [20:27:48]CAPDU: 80 13 01 00 [20:27:48]Write to MH i2c: E2 08 00 EB 09 80 13 01 00 00 00 00 00 71 [20:27:48]Write i2c OK [20:27:48]MH_I2C_Read... [20:27:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:27:48]Read from MH i2c: E2 [20:27:48]MH_I2C_Read... [20:27:48]Read from MH i2c: E2 0E 00 [20:27:48]MH_I2C_Read... [20:27:48]Read from MH i2c: E2 0E 00 EB 09 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 6C [20:27:48]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [20:27:48]wFMCommunicate OK [20:27:48]SAM_PROTO_GetShiftState done [20:27:48]FM_GetShiftState done [20:27:48]opened in 1730074770 [20:27:48]opened+sec_in_day 1730161170 [20:27:48]quantity*price = 13900 [20:27:48]sum+1 = 13901 [20:27:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 163 28.10.2024 20:27 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68258 ФПД: 49665459328274 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T202749&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68258&fm=49665459328274&tin=02508201610067®Number=0000000000091759&sum=13900 0 [20:27:50]StoreToDocumentArchive [20:27:50]shift 547 fd 68258 [20:27:50]save to /storage/0547/doc_00068258 [20:27:50]save last doc name /storage/0547/doc_00068258 to /storage/kkm_last_doc_name [20:27:50]save OK [20:27:50]Clear old archive folders... [20:27:50]ProcessDocumentItem done err = 0, tmpTLVsize=285 [20:27:50]tlvbuf is 005E2160 [20:27:50]SAM_PROTO_ClearQueue [20:27:50]wFMCommunicate request_size=4 [20:27:50]MH_SAM_APDU [20:27:50]CAPDU: 80 09 00 00 [20:27:50]Write to MH i2c: E2 08 00 F8 09 80 09 00 00 00 00 00 00 73 [20:27:50]Write i2c OK [20:27:50]MH_I2C_Read... [20:27:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:27:50]Read from MH i2c: E2 [20:27:50]MH_I2C_Read... [20:27:50]Read from MH i2c: E2 03 00 [20:27:50]MH_I2C_Read... [20:27:50]Read from MH i2c: E2 03 00 F8 09 00 90 00 75 [20:27:50]RAPDU: 90 00 [20:27:50]wFMCommunicate OK [20:27:50]SAM_PROTO_ClearQueue done [20:27:50]KKMCreateOFDPacket [20:27:50]OFDProtocolAddRootSTLVToBuf [20:27:50]FM_MakeSignedData [20:27:50]FM_MakeSignedData [20:27:50]SAM_PROTO_SignData [20:27:50]wFMCommunicate request_size=4 [20:27:50]MH_SAM_APDU [20:27:50]CAPDU: 80 0D 01 02 [20:27:50]Write to MH i2c: E2 08 00 F9 09 80 0D 01 02 00 00 00 00 7B [20:27:50]Write i2c OK [20:27:50]MH_I2C_Read... [20:27:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:27:50]Read from MH i2c: E2 [20:27:50]MH_I2C_Read... [20:27:50]Read from MH i2c: E2 03 00 [20:27:50]MH_I2C_Read... [20:27:50]Read from MH i2c: E2 03 00 F9 09 00 90 00 76 [20:27:50]RAPDU: 90 00 [20:27:50]wFMCommunicate OK [20:27:50]wFMCommunicate request_size=255 [20:27:50]MH_SAM_APDU [20:27:50]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 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 4C 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 A3 00 00 00 F4 03 04 00 C5 F3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 [20:27:50]Write to MH i2c: E2 02 01 FA 09 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 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 4C 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 A3 00 00 00 F4 03 04 00 C5 F3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 00 00 CF [20:27:50]Write i2c OK [20:27:50]MH_I2C_Read... [20:27:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:27:50]Read from MH i2c: E2 [20:27:50]MH_I2C_Read... [20:27:50]Read from MH i2c: E2 03 00 [20:27:50]MH_I2C_Read... [20:27:50]Read from MH i2c: E2 03 00 FA 09 00 90 00 77 [20:27:50]RAPDU: 90 00 [20:27:50]wFMCommunicate OK [20:27:50]wFMCommunicate request_size=44 [20:27:50]MH_SAM_APDU [20:27:50]CAPDU: 80 0D 02 02 27 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A2 0A 01 00 35 04 06 00 2D 2B A4 0F 95 12 [20:27:50]Write to MH i2c: E2 2F 00 FB 09 80 0D 02 02 27 00 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A2 0A 01 00 35 04 06 00 2D 2B A4 0F 95 12 00 00 04 [20:27:50]Write i2c OK [20:27:50]MH_I2C_Read... [20:27:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:27:50]Read from MH i2c: E2 [20:27:50]MH_I2C_Read... [20:27:50]Read from MH i2c: E2 03 00 [20:27:50]MH_I2C_Read... [20:27:50]Read from MH i2c: E2 03 00 FB 09 00 90 00 78 [20:27:50]RAPDU: 90 00 [20:27:50]wFMCommunicate OK [20:27:50]wFMCommunicate request_size=4 [20:27:50]MH_SAM_APDU [20:27:50]CAPDU: 80 0D 03 02 [20:27:50]Write to MH i2c: E2 08 00 FC 09 80 0D 03 02 00 00 00 00 80 [20:27:50]Write i2c OK [20:27:50]MH_I2C_Read... [20:27:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:27:50]Read from MH i2c: E2 [20:27:50]MH_I2C_Read... [20:27:50]Read from MH i2c: E2 0B 00 [20:27:50]MH_I2C_Read... [20:27:50]Read from MH i2c: E2 0B 00 FC 09 00 A0 82 4B AA 2A E8 2B A0 90 00 75 [20:27:50]RAPDU: A0 82 4B AA 2A E8 2B A0 90 00 [20:27:50]wFMCommunicate OK [20:27:50]SAM_PROTO_SignData done [20:27:50]FM_MakeSignedData done [20:27:50]CreateOFDProtocolMessage [20:27:50]wFMCommunicate request_size=4 [20:27:50]MH_SAM_APDU [20:27:50]CAPDU: 80 11 00 00 [20:27:50]Write to MH i2c: E2 08 00 FD 09 80 11 00 00 00 00 00 00 80 [20:27:50]Write i2c OK [20:27:50]MH_I2C_Read... [20:27:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:27:50]Read from MH i2c: E2 [20:27:50]MH_I2C_Read... [20:27:50]Read from MH i2c: E2 17 00 [20:27:50]MH_I2C_Read... [20:27:50]Read from MH i2c: E2 17 00 FD 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 D7 [20:27:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:27:50]wFMCommunicate OK [20:27:50]CreateOFDProtocolMessage done [20:27:50]OFDSenderStorePacket 68258 [20:27:50]StoreOFDPacket docnum=68258 [20:27:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 31 01 00 00 46 0E 29 01 86 4D 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 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 4C 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 A3 00 00 00 F4 03 04 00 C5 F3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A2 0A 01 00 35 04 06 00 2D 2B A4 0F 95 12 A0 82 4B AA 2A E8 2B A0 [20:27:50]CheckFolder [20:27:50]dirname=/storage/ofd_packets [20:27:50]CheckFolder done [20:27:50]ProducePacketName [20:27:50]name=ofd_packets/00068258 [20:27:50]NVStorageSaveData ofd_packets/00068258 [20:27:50]File name is /storage/ofd_packets/00068258 [20:27:50]Write 335 bytes [20:27:50]NVStorageSaveData done [20:27:50]OFDSenderStorePacket done [20:27:50]KKMCreateOFDPacket done [20:27:50]NVStorageSaveData kkm_last_timestamp [20:27:50]File name is /storage/kkm_last_timestamp [20:27:50]Write 4 bytes [20:27:50]NVStorageSaveData done [20:27:50]ExternCall_PrintAddStr [20:27:50]wPrintStart [20:27:50]Write to MH i2c: 01 00 00 FE 09 07 [20:27:50]Write i2c OK [20:27:50]MH_I2C_Read... [20:27:50]Read from MH i2c: 01 [20:27:50]MH_I2C_Read... [20:27:50]Read from MH i2c: 01 07 00 [20:27:50]MH_I2C_Read... [20:27:50]Read from MH i2c: 01 07 00 FE 09 00 00 00 00 00 FF 0F 1C [20:27:50]RasterBufferAndPrint [20:27:50]line Счет N : (3)17205 [20:27:50]line ИНН: 02508201610067 [20:27:50]line Контрольно-Кассовый Чек [20:27:50]line ПРОДАЖА [20:27:50]line Товар: 48745291 [20:27:50]line Сигареты Parliament SOHO NYC COMPACT BLU [20:27:50]line 1.000 * 139.00 [20:27:50]line = 139.00 [20:27:50]line НДС 12% НСП 1% [20:27:50]line > о реализуемом товаре [20:27:50]line ИТОГО: 139.00 [20:27:50]line НСП 1% : 1.23 [20:27:50]line НДС 12% : 14.76 [20:27:50]line Наличными: 139.00 [20:27:50]line Безнал.: 0.00 [20:27:50]line Место: АЗС № 160 "Партнер Нефть" [20:27:50]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [20:27:50]line СНО: Общий режим [20:27:50]line Чек 163 28.10.2024 20:27 [20:27:50]line Смена: 547 ФФД: 1.0 [20:27:50]line ЗНМ: 0300000093 [20:27:50]line РНМ: 0000000000091759 [20:27:50]line Версия ККМ: 001 [20:27:50]line ФМ: 0000000000871758 [20:27:50]line ФД: 68258 [20:27:50]line ФПД: 49665459328274 [20:27:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T202749&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68258&fm=49665459328274&tin=02508201610067®Number=0000000000091759&sum=13900 [20:27:51]line 0 [20:27:51]OFD Sender: Processing packet 68258 [packets to send 27, broken 26] [20:27:51]ProducePacketName [20:27:51]name=ofd_packets/00068258 [20:27:51]OFD Sender: To server: pG, [20:27:51]CommunicateWithHost lk.salyk.kg:30040 [20:27:51]ConnectInit lk.salyk.kg [20:27:51]written 0, free lines is 4095 [20:27:51]Connected sock=10 [20:27:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 31 01 00 00 46 0E 29 01 86 4D 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 35 32 39 31 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 4F 48 4F 20 4E 59 43 20 43 4F 4D 50 41 43 54 20 42 4C 55 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 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 4C 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 A3 00 00 00 F4 03 04 00 C5 F3 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A2 0A 01 00 35 04 06 00 2D 2B A4 0F 95 12 A0 82 4B AA 2A E8 2B A0 [20:27:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 93 8C 47 00 0A 25 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A2 0A 01 00 F4 03 04 00 A5 9F 1F 67 B6 04 01 00 00 99 C0 F9 C3 2D A5 11 12 [20:27:51]CommunicateWithHost err = 0 [20:27:51]CheckOFDResponse [20:27:51]1017 (14) - 77093643461234 [20:27:51]1041 (16) - 0000000000871758 [20:27:51]1040 (4) - 68258 [20:27:51]1012 (4) - 28.10.2024 14:28 [20:27:51]1206 (1) - 0 [20:27:51]OFD Sender: Remove packet 68258 [20:27:51]ProducePacketName [20:27:51]name=ofd_packets/00068258 [20:27:51]NVStorageDeleteData [20:27:51]Write to MH i2c: 01 00 00 26 0A 30 [20:27:51]Write i2c OK [20:27:51]MH_I2C_Read... [20:27:51]Read from MH i2c: 01 [20:27:51]MH_I2C_Read... [20:27:51]Read from MH i2c: 01 07 00 [20:27:51]MH_I2C_Read... [20:27:51]Read from MH i2c: 01 07 00 26 0A 00 00 00 00 00 CA 0C 0D [20:27:51]RasterBufferAndPrint [20:27:51]line [20:27:51]line [20:27:51]line [20:27:51]line [20:27:51]line [20:27:51]written 0, free lines is 3277 [20:27:51]MH_Cut [20:27:51]Write to MH i2c: D1 01 00 2D 0A 01 09 [20:27:51]Write i2c OK [20:27:51]MH_I2C_Read... [20:27:51]Read from MH i2c: D1 [20:27:51]MH_I2C_Read... [20:27:51]Read from MH i2c: D1 01 00 [20:27:51]MH_I2C_Read... [20:27:51]Read from MH i2c: D1 01 00 2D 0A 00 08 [20:27:51]Write to MH i2c: 01 00 00 2E 0A 38 [20:27:51]Write i2c OK [20:27:51]MH_I2C_Read... [20:27:51]OFD Sender: No OFD packet to send [20:27:52]*** Cut start [20:27:52]*** Partial cut [20:27:52]*** CUTSNS_PIN = 1 [20:27:52]*** CUTSNS_PIN = 0 [20:27:52]*** Brake cut motor [20:27:52]Read from MH i2c: 01 [20:27:52]MH_I2C_Read... [20:27:52]*** Stop cut motor [20:27:52]*** Cut end [20:27:52]Read from MH i2c: 01 07 00 [20:27:52]MH_I2C_Read... [20:27:52]Read from MH i2c: 01 07 00 2E 0A 00 00 00 00 00 FF 0F 4D [20:27:52]process_action close_receipt done [20:27:52]requested_data is exist [20:27:52]produce_requested_data [20:27:52]requested_item fm.sn is exist - process it [20:27:52]wFMCommunicate request_size=4 [20:27:52]MH_SAM_APDU [20:27:52]CAPDU: 80 11 00 00 [20:27:52]Write to MH i2c: E2 08 00 2F 0A 80 11 00 00 00 00 00 00 B3 [20:27:52]Write i2c OK [20:27:52]MH_I2C_Read... [20:27:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:27:52]Read from MH i2c: E2 [20:27:52]MH_I2C_Read... [20:27:52]Read from MH i2c: E2 17 00 [20:27:52]MH_I2C_Read... [20:27:52]Read from MH i2c: E2 17 00 2F 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 0A [20:27:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:27:52]wFMCommunicate OK [20:27:52]requested_item fd.num is exist - process it [20:27:52]SAM_PROTO_GetFieldsCounters [20:27:52]wFMCommunicate request_size=4 [20:27:52]MH_SAM_APDU [20:27:52]CAPDU: 80 13 00 00 [20:27:52]Write to MH i2c: E2 08 00 30 0A 80 13 00 00 00 00 00 00 B6 [20:27:52]Write i2c OK [20:27:52]MH_I2C_Read... [20:27:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:27:53]Read from MH i2c: E2 [20:27:53]MH_I2C_Read... [20:27:53]Read from MH i2c: E2 62 00 [20:27:53]MH_I2C_Read... [20:27:53]Read from MH i2c: E2 62 00 30 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A2 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A3 00 00 00 5E 04 04 00 A3 00 00 00 57 04 04 00 A4 00 00 00 19 04 04 00 00 00 00 00 90 00 9C [20:27:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A2 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A3 00 00 00 5E 04 04 00 A3 00 00 00 57 04 04 00 A4 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:27:53]wFMCommunicate OK [20:27:53]SAM_PROTO_GetFieldsCounters done [20:27:53]requested_item shift.num is exist - process it [20:27:53]requested_item shift.opened is exist - process it [20:27:53]req_shift_opened [20:27:53]FM_GetShiftState [20:27:53]SAM_PROTO_GetShiftState [20:27:53]wFMCommunicate request_size=4 [20:27:53]MH_SAM_APDU [20:27:53]CAPDU: 80 13 01 00 [20:27:53]Write to MH i2c: E2 08 00 31 0A 80 13 01 00 00 00 00 00 B8 [20:27:53]Write i2c OK [20:27:53]MH_I2C_Read... [20:27:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:27:53]Read from MH i2c: E2 [20:27:53]MH_I2C_Read... [20:27:53]Read from MH i2c: E2 0E 00 [20:27:53]MH_I2C_Read... [20:27:53]Read from MH i2c: E2 0E 00 31 0A 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 B3 [20:27:53]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [20:27:53]wFMCommunicate OK [20:27:53]SAM_PROTO_GetShiftState done [20:27:53]FM_GetShiftState done [20:27:53]req_shift_opened done [20:27:53]requested_item shift.open_date is exist - process it [20:27:53]req_shift_open_date [20:27:53]req_shift_open_date done [20:27:53]produce_requested_data done [20:27:53]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68258,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [20:27:53]process_action_free close_receipt [20:27:53]json_value_free [20:27:53]json_value_free done [20:27:53]process_json_proto returns [20:27:53]Send response to host [20:27:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68258,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [20:27:53]free response buf [20:27:53]execute_script done [20:27:53]execute_script returns [20:27:53]free content buf [20:27:53]Sock 9.Close socket [20:27:53]Sock 9.Thread stoped [20:27:56]OFD Sender: No OFD packet to send [20:28:01]OFD Sender: No OFD packet to send [20:28:06]OFD Sender: No OFD packet to send [20:28:11]OFD Sender: No OFD packet to send [20:28:16]OFD Sender: No OFD packet to send [20:28:21]OFD Sender: No OFD packet to send [20:28:26]OFD Sender: No OFD packet to send [20:28:31]OFD Sender: No OFD packet to send [20:28:36]OFD Sender: No OFD packet to send [20:28:41]OFD Sender: No OFD packet to send [20:28:46]OFD Sender: No OFD packet to send [20:28:51]OFD Sender: No OFD packet to send [20:28:56]OFD Sender: No OFD packet to send [20:29:01]OFD Sender: No OFD packet to send [20:29:06]OFD Sender: No OFD packet to send [20:29:11]OFD Sender: No OFD packet to send [20:29:16]OFD Sender: No OFD packet to send [20:29:21]OFD Sender: No OFD packet to send [20:29:26]OFD Sender: No OFD packet to send [20:29:31]OFD Sender: No OFD packet to send [20:29:36]OFD Sender: No OFD packet to send [20:29:41]OFD Sender: No OFD packet to send [20:29:46]OFD Sender: No OFD packet to send [20:29:51]OFD Sender: No OFD packet to send [20:29:56]OFD Sender: No OFD packet to send [20:30:01]OFD Sender: No OFD packet to send [20:30:06]OFD Sender: No OFD packet to send [20:30:11]OFD Sender: No OFD packet to send [20:30:16]OFD Sender: No OFD packet to send [20:30:21]OFD Sender: No OFD packet to send [20:30:26]OFD Sender: No OFD packet to send [20:30:31]OFD Sender: No OFD packet to send [20:30:36]OFD Sender: No OFD packet to send [20:30:41]OFD Sender: No OFD packet to send [20:30:46]OFD Sender: No OFD packet to send [20:30:51]OFD Sender: No OFD packet to send [20:30:56]OFD Sender: No OFD packet to send [20:31:01]OFD Sender: No OFD packet to send [20:31:06]OFD Sender: No OFD packet to send [20:31:11]OFD Sender: No OFD packet to send [20:31:16]OFD Sender: No OFD packet to send [20:31:21]OFD Sender: No OFD packet to send [20:31:26]OFD Sender: No OFD packet to send [20:31:31]OFD Sender: No OFD packet to send [20:31:36]OFD Sender: No OFD packet to send [20:31:41]OFD Sender: No OFD packet to send [20:31:47]OFD Sender: No OFD packet to send [20:31:52]OFD Sender: No OFD packet to send [20:31:57]OFD Sender: No OFD packet to send [20:32:02]OFD Sender: No OFD packet to send [20:32:07]OFD Sender: No OFD packet to send [20:32:12]OFD Sender: No OFD packet to send [20:32:17]OFD Sender: No OFD packet to send [20:32:22]OFD Sender: No OFD packet to send [20:32:27]OFD Sender: No OFD packet to send [20:32:32]OFD Sender: No OFD packet to send [20:32:37]OFD Sender: No OFD packet to send [20:32:42]OFD Sender: No OFD packet to send [20:32:47]OFD Sender: No OFD packet to send [20:32:52]OFD Sender: No OFD packet to send [20:32:57]OFD Sender: No OFD packet to send [20:33:02]OFD Sender: No OFD packet to send [20:33:07]OFD Sender: No OFD packet to send [20:33:12]OFD Sender: No OFD packet to send [20:33:17]OFD Sender: No OFD packet to send [20:33:22]OFD Sender: No OFD packet to send [20:33:27]OFD Sender: No OFD packet to send [20:33:32]OFD Sender: No OFD packet to send [20:33:37]OFD Sender: No OFD packet to send [20:33:42]OFD Sender: No OFD packet to send [20:33:47]OFD Sender: No OFD packet to send [20:33:52]OFD Sender: No OFD packet to send [20:33:57]OFD Sender: No OFD packet to send [20:34:02]OFD Sender: No OFD packet to send [20:34:07]OFD Sender: No OFD packet to send [20:34:12]OFD Sender: No OFD packet to send [20:34:17]OFD Sender: No OFD packet to send [20:34:22]OFD Sender: No OFD packet to send [20:34:27]OFD Sender: No OFD packet to send [20:34:32]OFD Sender: No OFD packet to send [20:34:37]OFD Sender: No OFD packet to send [20:34:42]OFD Sender: No OFD packet to send [20:34:47]OFD Sender: No OFD packet to send [20:34:52]OFD Sender: No OFD packet to send [20:34:57]OFD Sender: No OFD packet to send [20:35:02]OFD Sender: No OFD packet to send [20:35:07]OFD Sender: No OFD packet to send [20:35:12]OFD Sender: No OFD packet to send [20:35:17]OFD Sender: No OFD packet to send [20:35:22]OFD Sender: No OFD packet to send [20:35:27]OFD Sender: No OFD packet to send [20:35:32]OFD Sender: No OFD packet to send [20:35:37]OFD Sender: No OFD packet to send [20:35:42]OFD Sender: No OFD packet to send [20:35:47]OFD Sender: No OFD packet to send [20:35:52]OFD Sender: No OFD packet to send [20:35:57]OFD Sender: No OFD packet to send [20:36:02]OFD Sender: No OFD packet to send [20:36:07]OFD Sender: No OFD packet to send [20:36:12]OFD Sender: No OFD packet to send [20:36:17]OFD Sender: No OFD packet to send [20:36:22]OFD Sender: No OFD packet to send [20:36:27]OFD Sender: No OFD packet to send [20:36:32]OFD Sender: No OFD packet to send [20:36:37]OFD Sender: No OFD packet to send [20:36:42]OFD Sender: No OFD packet to send [20:36:47]OFD Sender: No OFD packet to send [20:36:52]OFD Sender: No OFD packet to send [20:36:57]OFD Sender: No OFD packet to send [20:37:02]OFD Sender: No OFD packet to send [20:37:07]OFD Sender: No OFD packet to send [20:37:07]accept exits with 7 [20:37:07]New connection [20:37:07]New thread 3067354468 created [20:37:07]Thread 3067497828 joined [20:37:07]Waiting for new connection... [20:37:07] Sock 7.Parse request [20:37:07]Sock 7.Check first char [20:37:07]Sock 7.First char is OK [20:37:07]request: POST /json_proto HTTP/1.0 [20:37:07]Method: POST [20:37:07]URL: /json_proto [20:37:07]Method is POST - this is cgi request [20:37:07]url: /json_proto [20:37:07]query_string will be loaded in cgi processing [20:37:07]execute_cgi json_proto POST (null) [20:37:07]execute_cgi path=json_proto method=POST [20:37:07]POST find Content-Length [20:37:07]Host: 172.17.42.3:8080 [20:37:07]Content-Length: 768 [20:37:07]Content-Type: application/json [20:37:07] [20:37:07]POST finish read [20:37:07]Found Content-Length = 768 [20:37:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46292", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 20.930, "sum" : 1400.22, "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: Mbank", "payments": [ { "type": 1, "sum" : 1400.22 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:37:07]execute_script... [20:37: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 : (1)46292", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 20.930, "sum" : 1400.22, "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: Mbank", "payments": [ { "type": 1, "sum" : 1400.22 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:37:07]POST & json_proto [20:37:07]process_json_proto [20:37:07]json parsed OK: [20:37:07]protocol is kg_v1.0 [20:37:07]action value=close_receipt [20:37:07]process_action close_receipt [20:37:07]cmd_close_receipt [20:37:07]MH_GetDate [20:37:07]Write to MH i2c: F0 00 00 32 0A 2B [20:37:07]Write i2c OK [20:37:07]MH_I2C_Read... [20:37:07]Read from MH i2c: F0 [20:37:07]MH_I2C_Read... [20:37:07]Read from MH i2c: F0 09 00 [20:37:07]MH_I2C_Read... [20:37:07]Read from MH i2c: F0 09 00 32 0A 00 F4 F5 1F 67 0E CB 1F 67 02 [20:37:07]GetLastDocTimeStamp 1730147269 [20:37:07]current date 1730147828 [20:37:07]FM_GetShiftState [20:37:07]SAM_PROTO_GetShiftState [20:37:07]wFMCommunicate request_size=4 [20:37:07]MH_SAM_APDU [20:37:07]CAPDU: 80 13 01 00 [20:37:07]Write to MH i2c: E2 08 00 33 0A 80 13 01 00 00 00 00 00 BA [20:37:07]Write i2c OK [20:37:07]MH_I2C_Read... [20:37:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:37:07]Read from MH i2c: E2 [20:37:07]MH_I2C_Read... [20:37:07]Read from MH i2c: E2 0E 00 [20:37:07]MH_I2C_Read... [20:37:07]Read from MH i2c: E2 0E 00 33 0A 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 B5 [20:37:07]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [20:37:07]wFMCommunicate OK [20:37:07]SAM_PROTO_GetShiftState done [20:37:07]FM_GetShiftState done [20:37:07]opened in 1730074770 [20:37:07]opened+sec_in_day 1730161170 [20:37:07]quantity*price = 140021 [20:37:07]sum+1 = 140023 [20:37:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1400.22 НСП 1% : 12.39 НДС 12% : 148.70 Наличными: 0.00 Безнал.: 1400.22 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 164 28.10.2024 20:37 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68259 ФПД: 152756072345648 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T203708&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68259&fm=152756072345648&tin=02508201610067®Number=0000000000091759&sum=140022 [20:37:09]StoreToDocumentArchive [20:37:09]shift 547 fd 68259 [20:37:09]save to /storage/0547/doc_00068259 [20:37:09]save last doc name /storage/0547/doc_00068259 to /storage/kkm_last_doc_name [20:37:09]save OK [20:37:09]Clear old archive folders... [20:37:09]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:37:09]tlvbuf is 005C6310 [20:37:09]SAM_PROTO_ClearQueue [20:37:09]wFMCommunicate request_size=4 [20:37:09]MH_SAM_APDU [20:37:09]CAPDU: 80 09 00 00 [20:37:09]Write to MH i2c: E2 08 00 40 0A 80 09 00 00 00 00 00 00 BC [20:37:09]Write i2c OK [20:37:09]MH_I2C_Read... [20:37:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:37:09]Read from MH i2c: E2 [20:37:09]MH_I2C_Read... [20:37:09]Read from MH i2c: E2 03 00 [20:37:09]MH_I2C_Read... [20:37:09]Read from MH i2c: E2 03 00 40 0A 00 90 00 BE [20:37:09]RAPDU: 90 00 [20:37:09]wFMCommunicate OK [20:37:09]SAM_PROTO_ClearQueue done [20:37:09]KKMCreateOFDPacket [20:37:09]OFDProtocolAddRootSTLVToBuf [20:37:09]FM_MakeSignedData [20:37:09]FM_MakeSignedData [20:37:09]SAM_PROTO_SignData [20:37:09]wFMCommunicate request_size=4 [20:37:09]MH_SAM_APDU [20:37:09]CAPDU: 80 0D 01 02 [20:37:09]Write to MH i2c: E2 08 00 41 0A 80 0D 01 02 00 00 00 00 C4 [20:37:09]Write i2c OK [20:37:09]MH_I2C_Read... [20:37:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:37:09]Read from MH i2c: E2 [20:37:09]MH_I2C_Read... [20:37:09]Read from MH i2c: E2 03 00 [20:37:09]MH_I2C_Read... [20:37:09]Read from MH i2c: E2 03 00 41 0A 00 90 00 BF [20:37:09]RAPDU: 90 00 [20:37:09]wFMCommunicate OK [20:37:09]wFMCommunicate request_size=255 [20:37:09]MH_SAM_APDU [20:37:09]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C2 51 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 F6 22 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F6 22 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 3A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F6 22 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 A4 00 00 00 F4 03 04 00 F4 F5 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A3 0A 01 00 35 04 06 00 8A [20:37:09]Write to MH i2c: E2 02 01 42 0A 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C2 51 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 F6 22 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F6 22 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 3A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F6 22 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 A4 00 00 00 F4 03 04 00 F4 F5 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A3 0A 01 00 35 04 06 00 8A 00 00 10 [20:37:09]Write i2c OK [20:37:09]MH_I2C_Read... [20:37:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:37:09]Read from MH i2c: E2 [20:37:09]MH_I2C_Read... [20:37:09]Read from MH i2c: E2 03 00 [20:37:09]MH_I2C_Read... [20:37:09]Read from MH i2c: E2 03 00 42 0A 00 90 00 C0 [20:37:09]RAPDU: 90 00 [20:37:09]wFMCommunicate OK [20:37:09]wFMCommunicate request_size=10 [20:37:09]MH_SAM_APDU [20:37:09]CAPDU: 80 0D 02 02 05 EE 4B 6D F0 30 [20:37:09]Write to MH i2c: E2 0D 00 43 0A 80 0D 02 02 05 00 EE 4B 6D F0 30 00 00 97 [20:37:09]Write i2c OK [20:37:09]MH_I2C_Read... [20:37:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:37:09]Read from MH i2c: E2 [20:37:09]MH_I2C_Read... [20:37:09]Read from MH i2c: E2 03 00 [20:37:09]MH_I2C_Read... [20:37:09]Read from MH i2c: E2 03 00 43 0A 00 90 00 C1 [20:37:09]RAPDU: 90 00 [20:37:09]wFMCommunicate OK [20:37:09]wFMCommunicate request_size=4 [20:37:09]MH_SAM_APDU [20:37:09]CAPDU: 80 0D 03 02 [20:37:09]Write to MH i2c: E2 08 00 44 0A 80 0D 03 02 00 00 00 00 C9 [20:37:09]Write i2c OK [20:37:09]MH_I2C_Read... [20:37:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:37:09]Read from MH i2c: E2 [20:37:09]MH_I2C_Read... [20:37:09]Read from MH i2c: E2 0B 00 [20:37:09]MH_I2C_Read... [20:37:09]Read from MH i2c: E2 0B 00 44 0A 00 6E 15 48 61 6B 89 91 E5 90 00 60 [20:37:09]RAPDU: 6E 15 48 61 6B 89 91 E5 90 00 [20:37:09]wFMCommunicate OK [20:37:09]SAM_PROTO_SignData done [20:37:09]FM_MakeSignedData done [20:37:09]CreateOFDProtocolMessage [20:37:09]wFMCommunicate request_size=4 [20:37:09]MH_SAM_APDU [20:37:09]CAPDU: 80 11 00 00 [20:37:09]Write to MH i2c: E2 08 00 45 0A 80 11 00 00 00 00 00 00 C9 [20:37:09]Write i2c OK [20:37:09]MH_I2C_Read... [20:37:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:37:09]Read from MH i2c: E2 [20:37:09]MH_I2C_Read... [20:37:09]Read from MH i2c: E2 17 00 [20:37:09]MH_I2C_Read... [20:37:09]Read from MH i2c: E2 17 00 45 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 20 [20:37:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:37:09]wFMCommunicate OK [20:37:09]CreateOFDProtocolMessage done [20:37:09]OFDSenderStorePacket 68259 [20:37:09]StoreOFDPacket docnum=68259 [20:37:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 F5 F2 07 01 28 9E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C2 51 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 F6 22 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F6 22 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 3A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F6 22 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 A4 00 00 00 F4 03 04 00 F4 F5 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A3 0A 01 00 35 04 06 00 8A EE 4B 6D F0 30 6E 15 48 61 6B 89 91 E5 [20:37:09]CheckFolder [20:37:09]dirname=/storage/ofd_packets [20:37:09]CheckFolder done [20:37:09]ProducePacketName [20:37:09]name=ofd_packets/00068259 [20:37:09]NVStorageSaveData ofd_packets/00068259 [20:37:09]File name is /storage/ofd_packets/00068259 [20:37:09]Write 301 bytes [20:37:09]NVStorageSaveData done [20:37:09]OFDSenderStorePacket done [20:37:09]KKMCreateOFDPacket done [20:37:09]NVStorageSaveData kkm_last_timestamp [20:37:09]File name is /storage/kkm_last_timestamp [20:37:09]Write 4 bytes [20:37:09]NVStorageSaveData done [20:37:09]ExternCall_PrintAddStr [20:37:09]wPrintStart [20:37:09]Write to MH i2c: 01 00 00 46 0A 50 [20:37:09]OFD Sender: Processing packet 68259 [packets to send 27, broken 26] [20:37:09]ProducePacketName [20:37:09]name=ofd_packets/00068259 [20:37:09]OFD Sender: To server: pG, [20:37:09]CommunicateWithHost lk.salyk.kg:30040 [20:37:09]ConnectInit lk.salyk.kg [20:37:09]Write i2c OK [20:37:09]MH_I2C_Read... [20:37:09]Read from MH i2c: 01 [20:37:09]MH_I2C_Read... [20:37:09]Read from MH i2c: 01 07 00 [20:37:09]MH_I2C_Read... [20:37:09]Read from MH i2c: 01 07 00 46 0A 00 00 00 00 00 FF 0F 65 [20:37:09]RasterBufferAndPrint [20:37:09]line Счет N : (1)46292 [20:37:09]line ИНН: 02508201610067 [20:37:09]line Контрольно-Кассовый Чек [20:37:09]line ПРОДАЖА [20:37:09]line ТРК (МРК, ГНК) : 13 [20:37:09]line Товар: 2710124130 [20:37:09]line Аи-92-К-5 [20:37:09]line 20.930 * 66.90 [20:37:09]line = 1400.22 [20:37:09]line НДС 12% НСП 1% [20:37:09]line > о реализуемом товаре [20:37:09]line ИТОГО: 1400.22 [20:37:09]line НСП 1% : 12.39 [20:37:09]line НДС 12% : 148.70 [20:37:09]line Наличными: 0.00 [20:37:09]line Безнал.: 1400.22 [20:37:09]line Место: АЗС № 160 "Партнер Нефть" [20:37:09]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [20:37:09]line СНО: Общий режим [20:37:09]line Чек 164 28.10.2024 20:37 [20:37:09]line Смена: 547 ФФД: 1.0 [20:37:09]line ЗНМ: 0300000093 [20:37:09]line РНМ: 0000000000091759 [20:37:09]line Версия ККМ: 001 [20:37:09]line Платежная система: Mbank [20:37:09]line ФМ: 0000000000871758 [20:37:09]line ФД: 68259 [20:37:09]line ФПД: 152756072345648 [20:37:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T203708&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68259&fm=152756072345648&tin=02508201610067®Number=0000000000091759&sum=140022 [20:37:09]written 0, free lines is 4095 [20:37:09]Connected sock=10 [20:37:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 F5 F2 07 01 28 9E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 C2 51 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 F6 22 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F6 22 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 16 3A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F6 22 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 A4 00 00 00 F4 03 04 00 F4 F5 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A3 0A 01 00 35 04 06 00 8A EE 4B 6D F0 30 6E 15 48 61 6B 89 91 E5 [20:37:10]Write to MH i2c: 01 00 00 6E 0A 78 [20:37:10]Write i2c OK [20:37:10]MH_I2C_Read... [20:37:10]Read from MH i2c: 01 [20:37:10]MH_I2C_Read... [20:37:10]Read from MH i2c: 01 07 00 [20:37:10]MH_I2C_Read... [20:37:10]Read from MH i2c: 01 07 00 6E 0A 00 00 00 00 00 EB 0C 76 [20:37:10]RasterBufferAndPrint [20:37:10]line [20:37:10]line [20:37:10]line [20:37:10]line [20:37:10]line [20:37:10]written 0, free lines is 3314 [20:37:10]MH_Cut [20:37:10]Write to MH i2c: D1 01 00 75 0A 01 51 [20:37:10]Write i2c OK [20:37:10]MH_I2C_Read... [20:37:10]Read from MH i2c: D1 [20:37:10]MH_I2C_Read... [20:37:10]Read from MH i2c: D1 01 00 [20:37:10]MH_I2C_Read... [20:37:10]Read from MH i2c: D1 01 00 75 0A 00 50 [20:37:10]Write to MH i2c: 01 00 00 76 0A 80 [20:37:10]Write i2c OK [20:37:10]MH_I2C_Read... [20:37:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 11 B0 47 00 B0 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 38 37 31 37 35 38 10 04 04 00 A3 0A 01 00 F4 03 04 00 D4 A1 1F 67 B6 04 01 00 00 A8 91 7B 01 6C 04 D9 03 [20:37:10]CommunicateWithHost err = 0 [20:37:10]CheckOFDResponse [20:37:10]1017 (14) - 77093643461234 [20:37:10]1041 (16) - 0000000000871758 [20:37:10]1040 (4) - 68259 [20:37:10]1012 (4) - 28.10.2024 14:38 [20:37:10]1206 (1) - 0 [20:37:10]OFD Sender: Remove packet 68259 [20:37:10]ProducePacketName [20:37:10]name=ofd_packets/00068259 [20:37:10]NVStorageDeleteData [20:37:10]OFD Sender: No OFD packet to send [20:37:10]*** Cut start [20:37:10]*** Partial cut [20:37:10]*** CUTSNS_PIN = 1 [20:37:10]*** CUTSNS_PIN = 0 [20:37:11]*** Brake cut motor [20:37:11]Read from MH i2c: 01 [20:37:11]MH_I2C_Read... [20:37:11]*** Stop cut motor [20:37:11]*** Cut end [20:37:11]Read from MH i2c: 01 07 00 [20:37:11]MH_I2C_Read... [20:37:11]Read from MH i2c: 01 07 00 76 0A 00 00 00 00 00 FF 0F 95 [20:37:11]process_action close_receipt done [20:37:11]requested_data is exist [20:37:11]produce_requested_data [20:37:11]requested_item fm.sn is exist - process it [20:37:11]wFMCommunicate request_size=4 [20:37:11]MH_SAM_APDU [20:37:11]CAPDU: 80 11 00 00 [20:37:11]Write to MH i2c: E2 08 00 77 0A 80 11 00 00 00 00 00 00 FB [20:37:11]Write i2c OK [20:37:11]MH_I2C_Read... [20:37:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:37:11]Read from MH i2c: E2 [20:37:11]MH_I2C_Read... [20:37:11]Read from MH i2c: E2 17 00 [20:37:11]MH_I2C_Read... [20:37:11]Read from MH i2c: E2 17 00 77 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 52 [20:37:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [20:37:11]wFMCommunicate OK [20:37:11]requested_item fd.num is exist - process it [20:37:11]SAM_PROTO_GetFieldsCounters [20:37:11]wFMCommunicate request_size=4 [20:37:11]MH_SAM_APDU [20:37:11]CAPDU: 80 13 00 00 [20:37:11]Write to MH i2c: E2 08 00 78 0A 80 13 00 00 00 00 00 00 FE [20:37:11]Write i2c OK [20:37:11]MH_I2C_Read... [20:37:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:37:11]Read from MH i2c: E2 [20:37:11]MH_I2C_Read... [20:37:11]Read from MH i2c: E2 62 00 [20:37:11]MH_I2C_Read... [20:37:11]Read from MH i2c: E2 62 00 78 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A3 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A4 00 00 00 5E 04 04 00 A4 00 00 00 57 04 04 00 A5 00 00 00 19 04 04 00 00 00 00 00 90 00 E8 [20:37:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A3 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A4 00 00 00 5E 04 04 00 A4 00 00 00 57 04 04 00 A5 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:37:11]wFMCommunicate OK [20:37:11]SAM_PROTO_GetFieldsCounters done [20:37:11]requested_item shift.num is exist - process it [20:37:11]requested_item shift.opened is exist - process it [20:37:11]req_shift_opened [20:37:11]FM_GetShiftState [20:37:11]SAM_PROTO_GetShiftState [20:37:11]wFMCommunicate request_size=4 [20:37:11]MH_SAM_APDU [20:37:11]CAPDU: 80 13 01 00 [20:37:11]Write to MH i2c: E2 08 00 79 0A 80 13 01 00 00 00 00 00 00 [20:37:11]Write i2c OK [20:37:11]MH_I2C_Read... [20:37:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:37:11]Read from MH i2c: E2 [20:37:11]MH_I2C_Read... [20:37:11]Read from MH i2c: E2 0E 00 [20:37:11]MH_I2C_Read... [20:37:11]Read from MH i2c: E2 0E 00 79 0A 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 FB [20:37:11]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [20:37:11]wFMCommunicate OK [20:37:11]SAM_PROTO_GetShiftState done [20:37:11]FM_GetShiftState done [20:37:11]req_shift_opened done [20:37:11]requested_item shift.open_date is exist - process it [20:37:11]req_shift_open_date [20:37:11]req_shift_open_date done [20:37:11]produce_requested_data done [20:37:11]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68259,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [20:37:11]process_action_free close_receipt [20:37:11]json_value_free [20:37:11]json_value_free done [20:37:11]process_json_proto returns [20:37:11]Send response to host [20:37:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68259,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [20:37:11]free response buf [20:37:11]execute_script done [20:37:11]execute_script returns [20:37:11]free content buf [20:37:11]Sock 7.Close socket [20:37:11]Sock 7.Thread stoped [20:37:15]OFD Sender: No OFD packet to send [20:37:20]OFD Sender: No OFD packet to send [20:37:25]OFD Sender: No OFD packet to send [20:37:30]OFD Sender: No OFD packet to send [20:37:35]OFD Sender: No OFD packet to send [20:37:40]OFD Sender: No OFD packet to send [20:37:45]OFD Sender: No OFD packet to send [20:37:50]OFD Sender: No OFD packet to send [20:37:55]OFD Sender: No OFD packet to send [20:38:00]OFD Sender: No OFD packet to send [20:38:05]OFD Sender: No OFD packet to send [20:38:10]OFD Sender: No OFD packet to send [20:38:15]OFD Sender: No OFD packet to send [20:38:20]OFD Sender: No OFD packet to send [20:38:25]OFD Sender: No OFD packet to send [20:38:30]OFD Sender: No OFD packet to send [20:38:35]OFD Sender: No OFD packet to send [20:38:40]OFD Sender: No OFD packet to send [20:38:45]OFD Sender: No OFD packet to send [20:38:50]OFD Sender: No OFD packet to send [20:38:55]OFD Sender: No OFD packet to send [20:39:00]OFD Sender: No OFD packet to send [20:39:05]OFD Sender: No OFD packet to send [20:39:10]OFD Sender: No OFD packet to send [20:39:15]OFD Sender: No OFD packet to send [20:39:20]OFD Sender: No OFD packet to send [20:39:25]OFD Sender: No OFD packet to send [20:39:30]OFD Sender: No OFD packet to send [20:39:35]OFD Sender: No OFD packet to send [20:39:40]OFD Sender: No OFD packet to send [20:39:45]OFD Sender: No OFD packet to send [20:39:50]OFD Sender: No OFD packet to send [20:39:55]OFD Sender: No OFD packet to send [20:40:00]OFD Sender: No OFD packet to send [20:40:05]OFD Sender: No OFD packet to send [20:40:10]OFD Sender: No OFD packet to send [20:40:15]OFD Sender: No OFD packet to send [20:40:20]OFD Sender: No OFD packet to send [20:40:25]OFD Sender: No OFD packet to send [20:40:30]OFD Sender: No OFD packet to send [20:40:35]OFD Sender: No OFD packet to send [20:40:40]OFD Sender: No OFD packet to send [20:40:45]OFD Sender: No OFD packet to send [20:40:50]OFD Sender: No OFD packet to send [20:40:55]OFD Sender: No OFD packet to send [20:41:00]OFD Sender: No OFD packet to send [20:41:05]OFD Sender: No OFD packet to send [20:41:10]OFD Sender: No OFD packet to send [20:41:15]OFD Sender: No OFD packet to send [20:41:20]OFD Sender: No OFD packet to send [20:41:25]OFD Sender: No OFD packet to send [20:41:30]OFD Sender: No OFD packet to send [20:41:35]OFD Sender: No OFD packet to send [20:41:40]OFD Sender: No OFD packet to send [20:41:45]OFD Sender: No OFD packet to send [20:41:50]OFD Sender: No OFD packet to send [20:41:55]OFD Sender: No OFD packet to send [20:42:00]OFD Sender: No OFD packet to send [20:42:05]OFD Sender: No OFD packet to send [20:42:10]OFD Sender: No OFD packet to send [20:42:15]OFD Sender: No OFD packet to send [20:42:20]OFD Sender: No OFD packet to send [20:42:25]OFD Sender: No OFD packet to send [20:42:30]OFD Sender: No OFD packet to send [20:42:35]OFD Sender: No OFD packet to send [20:42:40]OFD Sender: No OFD packet to send [20:42:45]OFD Sender: No OFD packet to send [20:42:50]OFD Sender: No OFD packet to send [20:42:55]OFD Sender: No OFD packet to send [20:43:00]OFD Sender: No OFD packet to send [20:43:05]OFD Sender: No OFD packet to send [20:43:11]OFD Sender: No OFD packet to send [20:43:16]OFD Sender: No OFD packet to send [20:43:21]OFD Sender: No OFD packet to send [20:43:26]OFD Sender: No OFD packet to send [20:43:31]OFD Sender: No OFD packet to send [20:43:36]OFD Sender: No OFD packet to send [20:43:41]OFD Sender: No OFD packet to send [20:43:46]OFD Sender: No OFD packet to send [20:43:51]OFD Sender: No OFD packet to send [20:43:56]OFD Sender: No OFD packet to send [20:44:01]OFD Sender: No OFD packet to send [20:44:06]OFD Sender: No OFD packet to send [20:44:11]OFD Sender: No OFD packet to send [20:44:16]OFD Sender: No OFD packet to send [20:44:21]OFD Sender: No OFD packet to send [20:44:26]OFD Sender: No OFD packet to send [20:44:31]OFD Sender: No OFD packet to send [20:44:36]OFD Sender: No OFD packet to send [20:44:41]OFD Sender: No OFD packet to send [20:44:46]OFD Sender: No OFD packet to send [20:44:51]OFD Sender: No OFD packet to send [20:44:56]OFD Sender: No OFD packet to send [20:45:01]OFD Sender: No OFD packet to send [20:45:06]OFD Sender: No OFD packet to send [20:45:11]OFD Sender: No OFD packet to send [20:45:16]OFD Sender: No OFD packet to send [20:45:21]OFD Sender: No OFD packet to send [20:45:26]OFD Sender: No OFD packet to send [20:45:31]OFD Sender: No OFD packet to send [20:45:36]OFD Sender: No OFD packet to send [20:45:41]OFD Sender: No OFD packet to send [20:45:46]OFD Sender: No OFD packet to send [20:45:51]OFD Sender: No OFD packet to send [20:45:56]OFD Sender: No OFD packet to send [20:46:01]OFD Sender: No OFD packet to send [20:46:06]OFD Sender: No OFD packet to send [20:46:11]OFD Sender: No OFD packet to send [20:46:16]OFD Sender: No OFD packet to send [20:46:21]OFD Sender: No OFD packet to send [20:46:26]OFD Sender: No OFD packet to send [20:46:31]OFD Sender: No OFD packet to send [20:46:36]OFD Sender: No OFD packet to send [20:46:41]OFD Sender: No OFD packet to send [20:46:46]OFD Sender: No OFD packet to send [20:46:51]OFD Sender: No OFD packet to send [20:46:56]OFD Sender: No OFD packet to send [20:47:01]OFD Sender: No OFD packet to send [20:47:06]OFD Sender: No OFD packet to send [20:47:11]OFD Sender: No OFD packet to send [20:47:16]OFD Sender: No OFD packet to send [20:47:21]OFD Sender: No OFD packet to send [20:47:26]OFD Sender: No OFD packet to send [20:47:31]OFD Sender: No OFD packet to send [20:47:36]OFD Sender: No OFD packet to send [20:47:41]OFD Sender: No OFD packet to send [20:47:46]OFD Sender: No OFD packet to send [20:47:51]OFD Sender: No OFD packet to send [20:47:56]OFD Sender: No OFD packet to send [20:48:01]OFD Sender: No OFD packet to send [20:48:06]OFD Sender: No OFD packet to send [20:48:11]OFD Sender: No OFD packet to send [20:48:16]OFD Sender: No OFD packet to send [20:48:21]OFD Sender: No OFD packet to send [20:48:26]OFD Sender: No OFD packet to send [20:48:31]OFD Sender: No OFD packet to send [20:48:36]OFD Sender: No OFD packet to send [20:48:41]OFD Sender: No OFD packet to send [20:48:46]OFD Sender: No OFD packet to send [20:48:51]OFD Sender: No OFD packet to send [20:48:56]OFD Sender: No OFD packet to send [20:49:01]OFD Sender: No OFD packet to send [20:49:06]OFD Sender: No OFD packet to send [20:49:11]OFD Sender: No OFD packet to send [20:49:16]OFD Sender: No OFD packet to send [20:49:21]OFD Sender: No OFD packet to send [20:49:26]OFD Sender: No OFD packet to send [20:49:31]OFD Sender: No OFD packet to send [20:49:36]OFD Sender: No OFD packet to send [20:49:41]OFD Sender: No OFD packet to send [20:49:46]OFD Sender: No OFD packet to send [20:49:51]OFD Sender: No OFD packet to send [20:49:56]OFD Sender: No OFD packet to send [20:50:01]OFD Sender: No OFD packet to send [20:50:06]OFD Sender: No OFD packet to send [20:50:11]OFD Sender: No OFD packet to send [20:50:16]OFD Sender: No OFD packet to send [20:50:21]OFD Sender: No OFD packet to send [20:50:26]OFD Sender: No OFD packet to send [20:50:31]OFD Sender: No OFD packet to send [20:50:36]OFD Sender: No OFD packet to send [20:50:41]OFD Sender: No OFD packet to send [20:50:46]OFD Sender: No OFD packet to send [20:50:51]OFD Sender: No OFD packet to send [20:50:56]OFD Sender: No OFD packet to send [20:51:01]OFD Sender: No OFD packet to send [20:51:06]OFD Sender: No OFD packet to send [20:51:11]OFD Sender: No OFD packet to send [20:51:16]OFD Sender: No OFD packet to send [20:51:21]OFD Sender: No OFD packet to send [20:51:26]OFD Sender: No OFD packet to send [20:51:31]OFD Sender: No OFD packet to send [20:51:36]OFD Sender: No OFD packet to send [20:51:41]OFD Sender: No OFD packet to send [20:51:46]OFD Sender: No OFD packet to send [20:51:51]OFD Sender: No OFD packet to send [20:51:56]OFD Sender: No OFD packet to send [20:52:01]OFD Sender: No OFD packet to send [20:52:06]OFD Sender: No OFD packet to send [20:52:11]OFD Sender: No OFD packet to send [20:52:16]OFD Sender: No OFD packet to send [20:52:21]OFD Sender: No OFD packet to send [20:52:26]OFD Sender: No OFD packet to send [20:52:31]OFD Sender: No OFD packet to send [20:52:36]OFD Sender: No OFD packet to send [20:52:41]OFD Sender: No OFD packet to send [20:52:46]OFD Sender: No OFD packet to send [20:52:51]OFD Sender: No OFD packet to send [20:52:56]OFD Sender: No OFD packet to send [20:53:01]OFD Sender: No OFD packet to send [20:53:06]OFD Sender: No OFD packet to send [20:53:11]OFD Sender: No OFD packet to send [20:53:16]OFD Sender: No OFD packet to send [20:53:21]OFD Sender: No OFD packet to send [20:53:26]OFD Sender: No OFD packet to send [20:53:31]OFD Sender: No OFD packet to send [20:53:36]OFD Sender: No OFD packet to send [20:53:41]OFD Sender: No OFD packet to send [20:53:46]OFD Sender: No OFD packet to send [20:53:51]OFD Sender: No OFD packet to send [20:53:56]OFD Sender: No OFD packet to send [20:54:01]OFD Sender: No OFD packet to send [20:54:06]OFD Sender: No OFD packet to send [20:54:11]OFD Sender: No OFD packet to send [20:54:16]OFD Sender: No OFD packet to send [20:54:21]OFD Sender: No OFD packet to send [20:54:26]OFD Sender: No OFD packet to send [20:54:31]OFD Sender: No OFD packet to send [20:54:36]OFD Sender: No OFD packet to send [20:54:41]OFD Sender: No OFD packet to send [20:54:46]OFD Sender: No OFD packet to send [20:54:51]OFD Sender: No OFD packet to send [20:54:56]OFD Sender: No OFD packet to send [20:55:01]OFD Sender: No OFD packet to send [20:55:06]OFD Sender: No OFD packet to send [20:55:11]OFD Sender: No OFD packet to send [20:55:16]OFD Sender: No OFD packet to send [20:55:21]OFD Sender: No OFD packet to send [20:55:26]OFD Sender: No OFD packet to send [20:55:31]OFD Sender: No OFD packet to send [20:55:36]OFD Sender: No OFD packet to send [20:55:41]OFD Sender: No OFD packet to send [20:55:46]OFD Sender: No OFD packet to send [20:55:51]OFD Sender: No OFD packet to send [20:55:56]OFD Sender: No OFD packet to send [20:56:01]OFD Sender: No OFD packet to send [20:56:06]OFD Sender: No OFD packet to send [20:56:11]OFD Sender: No OFD packet to send [20:56:16]OFD Sender: No OFD packet to send [20:56:21]OFD Sender: No OFD packet to send [20:56:26]OFD Sender: No OFD packet to send [20:56:31]OFD Sender: No OFD packet to send [20:56:36]OFD Sender: No OFD packet to send [20:56:41]OFD Sender: No OFD packet to send [20:56:46]OFD Sender: No OFD packet to send [20:56:51]OFD Sender: No OFD packet to send [20:56:56]OFD Sender: No OFD packet to send [20:57:01]OFD Sender: No OFD packet to send [20:57:06]OFD Sender: No OFD packet to send [20:57:11]OFD Sender: No OFD packet to send [20:57:16]OFD Sender: No OFD packet to send [20:57:21]OFD Sender: No OFD packet to send [20:57:26]OFD Sender: No OFD packet to send [20:57:31]OFD Sender: No OFD packet to send [20:57:36]OFD Sender: No OFD packet to send [20:57:41]OFD Sender: No OFD packet to send [20:57:46]OFD Sender: No OFD packet to send [20:57:51]OFD Sender: No OFD packet to send [20:57:56]OFD Sender: No OFD packet to send [20:58:01]OFD Sender: No OFD packet to send [20:58:06]OFD Sender: No OFD packet to send [20:58:11]OFD Sender: No OFD packet to send [20:58:16]OFD Sender: No OFD packet to send [20:58:21]OFD Sender: No OFD packet to send [20:58:26]OFD Sender: No OFD packet to send [20:58:31]OFD Sender: No OFD packet to send [20:58:36]OFD Sender: No OFD packet to send [20:58:41]OFD Sender: No OFD packet to send [20:58:46]OFD Sender: No OFD packet to send [20:58:51]OFD Sender: No OFD packet to send [20:58:56]OFD Sender: No OFD packet to send [20:59:01]OFD Sender: No OFD packet to send [20:59:06]OFD Sender: No OFD packet to send [20:59:11]OFD Sender: No OFD packet to send [20:59:16]OFD Sender: No OFD packet to send [20:59:21]OFD Sender: No OFD packet to send [20:59:26]OFD Sender: No OFD packet to send [20:59:31]OFD Sender: No OFD packet to send [20:59:36]OFD Sender: No OFD packet to send [20:59:41]OFD Sender: No OFD packet to send [20:59:46]OFD Sender: No OFD packet to send [20:59:51]OFD Sender: No OFD packet to send [20:59:56]OFD Sender: No OFD packet to send [21:00:01]OFD Sender: No OFD packet to send [21:00:06]OFD Sender: No OFD packet to send [21:00:11]OFD Sender: No OFD packet to send [21:00:16]OFD Sender: No OFD packet to send [21:00:21]OFD Sender: No OFD packet to send [21:00:26]OFD Sender: No OFD packet to send [21:00:31]OFD Sender: No OFD packet to send [21:00:36]OFD Sender: No OFD packet to send [21:00:41]OFD Sender: No OFD packet to send [21:00:46]OFD Sender: No OFD packet to send [21:00:51]OFD Sender: No OFD packet to send [21:00:56]OFD Sender: No OFD packet to send [21:01:01]OFD Sender: No OFD packet to send [21:01:06]OFD Sender: No OFD packet to send [21:01:11]OFD Sender: No OFD packet to send [21:01:16]OFD Sender: No OFD packet to send [21:01:21]OFD Sender: No OFD packet to send [21:01:26]OFD Sender: No OFD packet to send [21:01:31]OFD Sender: No OFD packet to send [21:01:36]OFD Sender: No OFD packet to send [21:01:41]OFD Sender: No OFD packet to send [21:01:46]OFD Sender: No OFD packet to send [21:01:51]OFD Sender: No OFD packet to send [21:01:56]OFD Sender: No OFD packet to send [21:02:01]OFD Sender: No OFD packet to send [21:02:06]OFD Sender: No OFD packet to send [21:02:11]OFD Sender: No OFD packet to send [21:02:16]OFD Sender: No OFD packet to send [21:02:21]OFD Sender: No OFD packet to send [21:02:26]OFD Sender: No OFD packet to send [21:02:31]OFD Sender: No OFD packet to send [21:02:36]OFD Sender: No OFD packet to send [21:02:41]OFD Sender: No OFD packet to send [21:02:46]OFD Sender: No OFD packet to send [21:02:51]OFD Sender: No OFD packet to send [21:02:56]OFD Sender: No OFD packet to send [21:03:02]OFD Sender: No OFD packet to send [21:03:07]OFD Sender: No OFD packet to send [21:03:12]OFD Sender: No OFD packet to send [21:03:17]OFD Sender: No OFD packet to send [21:03:22]OFD Sender: No OFD packet to send [21:03:27]OFD Sender: No OFD packet to send [21:03:32]OFD Sender: No OFD packet to send [21:03:37]OFD Sender: No OFD packet to send [21:03:42]OFD Sender: No OFD packet to send [21:03:47]OFD Sender: No OFD packet to send [21:03:52]OFD Sender: No OFD packet to send [21:03:57]OFD Sender: No OFD packet to send [21:04:02]OFD Sender: No OFD packet to send [21:04:07]OFD Sender: No OFD packet to send [21:04:12]OFD Sender: No OFD packet to send [21:04:17]OFD Sender: No OFD packet to send [21:04:22]OFD Sender: No OFD packet to send [21:04:27]OFD Sender: No OFD packet to send [21:04:32]OFD Sender: No OFD packet to send [21:04:37]OFD Sender: No OFD packet to send [21:04:42]OFD Sender: No OFD packet to send [21:04:47]OFD Sender: No OFD packet to send [21:04:52]OFD Sender: No OFD packet to send [21:04:57]OFD Sender: No OFD packet to send [21:05:02]OFD Sender: No OFD packet to send [21:05:07]OFD Sender: No OFD packet to send [21:05:12]OFD Sender: No OFD packet to send [21:05:17]OFD Sender: No OFD packet to send [21:05:22]OFD Sender: No OFD packet to send [21:05:27]OFD Sender: No OFD packet to send [21:05:32]OFD Sender: No OFD packet to send [21:05:37]OFD Sender: No OFD packet to send [21:05:42]OFD Sender: No OFD packet to send [21:05:47]OFD Sender: No OFD packet to send [21:05:52]OFD Sender: No OFD packet to send [21:05:57]OFD Sender: No OFD packet to send [21:06:02]OFD Sender: No OFD packet to send [21:06:07]OFD Sender: No OFD packet to send [21:06:12]OFD Sender: No OFD packet to send [21:06:17]OFD Sender: No OFD packet to send [21:06:22]OFD Sender: No OFD packet to send [21:06:27]OFD Sender: No OFD packet to send [21:06:32]OFD Sender: No OFD packet to send [21:06:37]OFD Sender: No OFD packet to send [21:06:42]OFD Sender: No OFD packet to send [21:06:47]OFD Sender: No OFD packet to send [21:06:52]OFD Sender: No OFD packet to send [21:06:57]OFD Sender: No OFD packet to send [21:07:02]OFD Sender: No OFD packet to send [21:07:07]OFD Sender: No OFD packet to send [21:07:12]OFD Sender: No OFD packet to send [21:07:17]OFD Sender: No OFD packet to send [21:07:22]OFD Sender: No OFD packet to send [21:07:27]OFD Sender: No OFD packet to send [21:07:32]OFD Sender: No OFD packet to send [21:07:37]OFD Sender: No OFD packet to send [21:07:42]OFD Sender: No OFD packet to send [21:07:47]OFD Sender: No OFD packet to send [21:07:52]OFD Sender: No OFD packet to send [21:07:57]OFD Sender: No OFD packet to send [21:08:02]OFD Sender: No OFD packet to send [21:08:07]OFD Sender: No OFD packet to send [21:08:12]OFD Sender: No OFD packet to send [21:08:17]OFD Sender: No OFD packet to send [21:08:22]OFD Sender: No OFD packet to send [21:08:27]OFD Sender: No OFD packet to send [21:08:32]OFD Sender: No OFD packet to send [21:08:37]OFD Sender: No OFD packet to send [21:08:42]OFD Sender: No OFD packet to send [21:08:47]OFD Sender: No OFD packet to send [21:08:52]OFD Sender: No OFD packet to send [21:08:57]OFD Sender: No OFD packet to send [21:09:02]OFD Sender: No OFD packet to send [21:09:07]OFD Sender: No OFD packet to send [21:09:12]OFD Sender: No OFD packet to send [21:09:17]OFD Sender: No OFD packet to send [21:09:22]OFD Sender: No OFD packet to send [21:09:27]OFD Sender: No OFD packet to send [21:09:32]OFD Sender: No OFD packet to send [21:09:37]OFD Sender: No OFD packet to send [21:09:42]OFD Sender: No OFD packet to send [21:09:47]OFD Sender: No OFD packet to send [21:09:52]OFD Sender: No OFD packet to send [21:09:57]OFD Sender: No OFD packet to send [21:10:02]OFD Sender: No OFD packet to send [21:10:07]OFD Sender: No OFD packet to send [21:10:12]OFD Sender: No OFD packet to send [21:10:17]OFD Sender: No OFD packet to send [21:10:22]OFD Sender: No OFD packet to send [21:10:27]OFD Sender: No OFD packet to send [21:10:32]OFD Sender: No OFD packet to send [21:10:37]OFD Sender: No OFD packet to send [21:10:42]OFD Sender: No OFD packet to send [21:10:47]OFD Sender: No OFD packet to send [21:10:52]OFD Sender: No OFD packet to send [21:10:57]OFD Sender: No OFD packet to send [21:11:02]OFD Sender: No OFD packet to send [21:11:07]OFD Sender: No OFD packet to send [21:11:12]OFD Sender: No OFD packet to send [21:11:17]OFD Sender: No OFD packet to send [21:11:22]OFD Sender: No OFD packet to send [21:11:27]OFD Sender: No OFD packet to send [21:11:32]OFD Sender: No OFD packet to send [21:11:37]OFD Sender: No OFD packet to send [21:11:42]OFD Sender: No OFD packet to send [21:11:47]OFD Sender: No OFD packet to send [21:11:52]OFD Sender: No OFD packet to send [21:11:57]OFD Sender: No OFD packet to send [21:12:02]OFD Sender: No OFD packet to send [21:12:07]OFD Sender: No OFD packet to send [21:12:12]OFD Sender: No OFD packet to send [21:12:17]OFD Sender: No OFD packet to send [21:12:22]OFD Sender: No OFD packet to send [21:12:27]OFD Sender: No OFD packet to send [21:12:32]OFD Sender: No OFD packet to send [21:12:37]OFD Sender: No OFD packet to send [21:12:42]OFD Sender: No OFD packet to send [21:12:47]OFD Sender: No OFD packet to send [21:12:52]OFD Sender: No OFD packet to send [21:12:57]OFD Sender: No OFD packet to send [21:13:02]OFD Sender: No OFD packet to send [21:13:07]OFD Sender: No OFD packet to send [21:13:12]OFD Sender: No OFD packet to send [21:13:17]OFD Sender: No OFD packet to send [21:13:22]OFD Sender: No OFD packet to send [21:13:27]OFD Sender: No OFD packet to send [21:13:32]OFD Sender: No OFD packet to send [21:13:37]OFD Sender: No OFD packet to send [21:13:42]OFD Sender: No OFD packet to send [21:13:47]OFD Sender: No OFD packet to send [21:13:52]OFD Sender: No OFD packet to send [21:13:57]OFD Sender: No OFD packet to send [21:14:02]OFD Sender: No OFD packet to send [21:14:07]OFD Sender: No OFD packet to send [21:14:12]OFD Sender: No OFD packet to send [21:14:17]OFD Sender: No OFD packet to send [21:14:22]OFD Sender: No OFD packet to send [21:14:27]OFD Sender: No OFD packet to send [21:14:32]OFD Sender: No OFD packet to send [21:14:37]OFD Sender: No OFD packet to send [21:14:42]OFD Sender: No OFD packet to send [21:14:47]OFD Sender: No OFD packet to send [21:14:52]OFD Sender: No OFD packet to send [21:14:57]OFD Sender: No OFD packet to send [21:15:02]OFD Sender: No OFD packet to send [21:15:07]OFD Sender: No OFD packet to send [21:15:12]OFD Sender: No OFD packet to send [21:15:17]OFD Sender: No OFD packet to send [21:15:22]OFD Sender: No OFD packet to send [21:15:27]OFD Sender: No OFD packet to send [21:15:32]OFD Sender: No OFD packet to send [21:15:37]OFD Sender: No OFD packet to send [21:15:42]OFD Sender: No OFD packet to send [21:15:47]OFD Sender: No OFD packet to send [21:15:52]OFD Sender: No OFD packet to send [21:15:57]OFD Sender: No OFD packet to send [21:16:02]OFD Sender: No OFD packet to send [21:16:07]OFD Sender: No OFD packet to send [21:16:12]OFD Sender: No OFD packet to send [21:16:17]OFD Sender: No OFD packet to send [21:16:22]OFD Sender: No OFD packet to send [21:16:27]OFD Sender: No OFD packet to send [21:16:32]OFD Sender: No OFD packet to send [21:16:37]OFD Sender: No OFD packet to send [21:16:42]OFD Sender: No OFD packet to send [21:16:47]OFD Sender: No OFD packet to send [21:16:52]OFD Sender: No OFD packet to send [21:16:57]OFD Sender: No OFD packet to send [21:17:02]OFD Sender: No OFD packet to send [21:17:07]OFD Sender: No OFD packet to send [21:17:12]OFD Sender: No OFD packet to send [21:17:17]OFD Sender: No OFD packet to send [21:17:22]OFD Sender: No OFD packet to send [21:17:25]accept exits with 9 [21:17:25]New connection [21:17:25]New thread 3067497828 created [21:17:25]Thread 3067354468 joined [21:17:25]Waiting for new connection... [21:17:25] Sock 9.Parse request [21:17:25]Sock 9.Check first char [21:17:25]Sock 9.First char is OK [21:17:25]request: POST /json_proto HTTP/1.0 [21:17:25]Method: POST [21:17:25]URL: /json_proto [21:17:25]Method is POST - this is cgi request [21:17:25]url: /json_proto [21:17:25]query_string will be loaded in cgi processing [21:17:25]execute_cgi json_proto POST (null) [21:17:25]execute_cgi path=json_proto method=POST [21:17:25]POST find Content-Length [21:17:25]Host: 172.17.42.3:8080 [21:17:25]Content-Length: 768 [21:17:25]Content-Type: application/json [21:17:25] [21:17:25]POST finish read [21:17:25]Found Content-Length = 768 [21:17:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46293", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "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: Mbank", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:17:25]execute_script... [21:17: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 : (1)46293", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 14.950, "sum" : 1000.16, "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: Mbank", "payments": [ { "type": 1, "sum" : 1000.16 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:17:25]POST & json_proto [21:17:25]process_json_proto [21:17:25]json parsed OK: [21:17:25]protocol is kg_v1.0 [21:17:25]action value=close_receipt [21:17:25]process_action close_receipt [21:17:25]cmd_close_receipt [21:17:25]MH_GetDate [21:17:25]Write to MH i2c: F0 00 00 7A 0A 73 [21:17:25]Write i2c OK [21:17:25]MH_I2C_Read... [21:17:25]Read from MH i2c: F0 [21:17:25]MH_I2C_Read... [21:17:25]Read from MH i2c: F0 09 00 [21:17:25]MH_I2C_Read... [21:17:25]Read from MH i2c: F0 09 00 7A 0A 00 66 FF 1F 67 0E CB 1F 67 C6 [21:17:25]GetLastDocTimeStamp 1730147828 [21:17:25]current date 1730150246 [21:17:25]FM_GetShiftState [21:17:25]SAM_PROTO_GetShiftState [21:17:25]wFMCommunicate request_size=4 [21:17:25]MH_SAM_APDU [21:17:25]CAPDU: 80 13 01 00 [21:17:25]Write to MH i2c: E2 08 00 7B 0A 80 13 01 00 00 00 00 00 02 [21:17:25]Write i2c OK [21:17:25]MH_I2C_Read... [21:17:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:17:25]Read from MH i2c: E2 [21:17:25]MH_I2C_Read... [21:17:25]Read from MH i2c: E2 0E 00 [21:17:25]MH_I2C_Read... [21:17:25]Read from MH i2c: E2 0E 00 7B 0A 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 FD [21:17:25]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [21:17:25]wFMCommunicate OK [21:17:25]SAM_PROTO_GetShiftState done [21:17:25]FM_GetShiftState done [21:17:25]opened in 1730074770 [21:17:25]opened+sec_in_day 1730161170 [21:17:25]quantity*price = 100015 [21:17:25]sum+1 = 100017 [21:17:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.16 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 0.00 Безнал.: 1000.16 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 165 28.10.2024 21:17 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68260 ФПД: 99438358404083 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T211726&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68260&fm=99438358404083&tin=02508201610067®Number=0000000000091759&sum=100016 [21:17:26]StoreToDocumentArchive [21:17:26]shift 547 fd 68260 [21:17:26]save to /storage/0547/doc_00068260 [21:17:26]save last doc name /storage/0547/doc_00068260 to /storage/kkm_last_doc_name [21:17:26]save OK [21:17:26]Clear old archive folders... [21:17:26]ProcessDocumentItem done err = 0, tmpTLVsize=251 [21:17:26]tlvbuf is 005C6FC0 [21:17:26]SAM_PROTO_ClearQueue [21:17:26]wFMCommunicate request_size=4 [21:17:26]MH_SAM_APDU [21:17:26]CAPDU: 80 09 00 00 [21:17:26]Write to MH i2c: E2 08 00 88 0A 80 09 00 00 00 00 00 00 04 [21:17:26]Write i2c OK [21:17:26]MH_I2C_Read... [21:17:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:17:26]Read from MH i2c: E2 [21:17:26]MH_I2C_Read... [21:17:26]Read from MH i2c: E2 03 00 [21:17:26]MH_I2C_Read... [21:17:26]Read from MH i2c: E2 03 00 88 0A 00 90 00 06 [21:17:26]RAPDU: 90 00 [21:17:26]wFMCommunicate OK [21:17:26]SAM_PROTO_ClearQueue done [21:17:26]KKMCreateOFDPacket [21:17:26]OFDProtocolAddRootSTLVToBuf [21:17:26]FM_MakeSignedData [21:17:26]FM_MakeSignedData [21:17:26]SAM_PROTO_SignData [21:17:26]wFMCommunicate request_size=4 [21:17:26]MH_SAM_APDU [21:17:26]CAPDU: 80 0D 01 02 [21:17:26]Write to MH i2c: E2 08 00 89 0A 80 0D 01 02 00 00 00 00 0C [21:17:26]Write i2c OK [21:17:26]MH_I2C_Read... [21:17:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:17:26]Read from MH i2c: E2 [21:17:26]MH_I2C_Read... [21:17:26]Read from MH i2c: E2 03 00 [21:17:26]MH_I2C_Read... [21:17:26]Read from MH i2c: E2 03 00 89 0A 00 90 00 07 [21:17:26]RAPDU: 90 00 [21:17:26]wFMCommunicate OK [21:17:26]wFMCommunicate request_size=255 [21:17:26]MH_SAM_APDU [21:17:26]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 A5 00 00 00 F4 03 04 00 66 FF 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A4 0A 01 00 35 04 06 00 5A [21:17:26]Write to MH i2c: E2 02 01 8A 0A 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 A5 00 00 00 F4 03 04 00 66 FF 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A4 0A 01 00 35 04 06 00 5A 00 00 7D [21:17:26]Write i2c OK [21:17:26]MH_I2C_Read... [21:17:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:17:26]Read from MH i2c: E2 [21:17:26]MH_I2C_Read... [21:17:26]Read from MH i2c: E2 03 00 [21:17:26]MH_I2C_Read... [21:17:26]Read from MH i2c: E2 03 00 8A 0A 00 90 00 08 [21:17:26]RAPDU: 90 00 [21:17:26]wFMCommunicate OK [21:17:26]wFMCommunicate request_size=10 [21:17:26]MH_SAM_APDU [21:17:26]CAPDU: 80 0D 02 02 05 70 4C 07 9B F3 [21:17:26]Write to MH i2c: E2 0D 00 8B 0A 80 0D 02 02 05 00 70 4C 07 9B F3 00 00 6A [21:17:26]Write i2c OK [21:17:26]MH_I2C_Read... [21:17:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:17:26]Read from MH i2c: E2 [21:17:26]MH_I2C_Read... [21:17:26]Read from MH i2c: E2 03 00 [21:17:26]MH_I2C_Read... [21:17:26]Read from MH i2c: E2 03 00 8B 0A 00 90 00 09 [21:17:26]RAPDU: 90 00 [21:17:26]wFMCommunicate OK [21:17:26]wFMCommunicate request_size=4 [21:17:26]MH_SAM_APDU [21:17:26]CAPDU: 80 0D 03 02 [21:17:26]Write to MH i2c: E2 08 00 8C 0A 80 0D 03 02 00 00 00 00 11 [21:17:26]Write i2c OK [21:17:26]MH_I2C_Read... [21:17:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:17:26]Read from MH i2c: E2 [21:17:26]MH_I2C_Read... [21:17:26]Read from MH i2c: E2 0B 00 [21:17:26]MH_I2C_Read... [21:17:26]Read from MH i2c: E2 0B 00 8C 0A 00 27 56 11 7F 17 C8 A3 79 90 00 1A [21:17:26]RAPDU: 27 56 11 7F 17 C8 A3 79 90 00 [21:17:26]wFMCommunicate OK [21:17:26]SAM_PROTO_SignData done [21:17:26]FM_MakeSignedData done [21:17:26]CreateOFDProtocolMessage [21:17:26]wFMCommunicate request_size=4 [21:17:26]MH_SAM_APDU [21:17:26]CAPDU: 80 11 00 00 [21:17:26]Write to MH i2c: E2 08 00 8D 0A 80 11 00 00 00 00 00 00 11 [21:17:26]Write i2c OK [21:17:26]MH_I2C_Read... [21:17:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:17:26]Read from MH i2c: E2 [21:17:26]MH_I2C_Read... [21:17:26]Read from MH i2c: E2 17 00 [21:17:26]MH_I2C_Read... [21:17:26]Read from MH i2c: E2 17 00 8D 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 68 [21:17:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:17:26]wFMCommunicate OK [21:17:26]CreateOFDProtocolMessage done [21:17:26]OFDSenderStorePacket 68260 [21:17:26]StoreOFDPacket docnum=68260 [21:17:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 75 7D 07 01 3C 6C 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 A5 00 00 00 F4 03 04 00 66 FF 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A4 0A 01 00 35 04 06 00 5A 70 4C 07 9B F3 27 56 11 7F 17 C8 A3 79 [21:17:26]CheckFolder [21:17:26]dirname=/storage/ofd_packets [21:17:26]CheckFolder done [21:17:26]ProducePacketName [21:17:26]name=ofd_packets/00068260 [21:17:26]NVStorageSaveData ofd_packets/00068260 [21:17:26]File name is /storage/ofd_packets/00068260 [21:17:26]Write 301 bytes [21:17:26]NVStorageSaveData done [21:17:26]OFDSenderStorePacket done [21:17:26]KKMCreateOFDPacket done [21:17:26]NVStorageSaveData kkm_last_timestamp [21:17:26]File name is /storage/kkm_last_timestamp [21:17:26]Write 4 bytes [21:17:26]NVStorageSaveData done [21:17:26]ExternCall_PrintAddStr [21:17:26]wPrintStart [21:17:26]Write to MH i2c: 01 00 00 8E 0A 98 [21:17:26]Write i2c OK [21:17:26]MH_I2C_Read... [21:17:26]Read from MH i2c: 01 [21:17:26]MH_I2C_Read... [21:17:26]Read from MH i2c: 01 07 00 [21:17:26]MH_I2C_Read... [21:17:26]Read from MH i2c: 01 07 00 8E 0A 00 00 00 00 00 FF 0F AD [21:17:26]RasterBufferAndPrint [21:17:26]line Счет N : (1)46293 [21:17:26]line ИНН: 02508201610067 [21:17:26]line Контрольно-Кассовый Чек [21:17:26]line ПРОДАЖА [21:17:26]line ТРК (МРК, ГНК) : 33 [21:17:26]line Товар: 2710124130 [21:17:26]line Аи-92-К-5 [21:17:26]line 14.950 * 66.90 [21:17:26]line = 1000.16 [21:17:26]line НДС 12% НСП 1% [21:17:26]line > о реализуемом товаре [21:17:26]line ИТОГО: 1000.16 [21:17:26]line НСП 1% : 8.85 [21:17:26]line НДС 12% : 106.21 [21:17:26]line Наличными: 0.00 [21:17:26]line Безнал.: 1000.16 [21:17:26]line Место: АЗС № 160 "Партнер Нефть" [21:17:26]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [21:17:26]line СНО: Общий режим [21:17:26]line Чек 165 28.10.2024 21:17 [21:17:26]line Смена: 547 ФФД: 1.0 [21:17:26]line ЗНМ: 0300000093 [21:17:26]line РНМ: 0000000000091759 [21:17:26]line Версия ККМ: 001 [21:17:26]line Платежная система: Mbank [21:17:26]line ФМ: 0000000000871758 [21:17:26]line ФД: 68260 [21:17:26]line ФПД: 99438358404083 [21:17:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T211726&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68260&fm=99438358404083&tin=02508201610067®Number=0000000000091759&sum=100016 [21:17:26]written 0, free lines is 4095 [21:17:26]OFD Sender: Processing packet 68260 [packets to send 27, broken 26] [21:17:26]ProducePacketName [21:17:26]name=ofd_packets/00068260 [21:17:26]OFD Sender: To server: pG, [21:17:27]CommunicateWithHost lk.salyk.kg:30040 [21:17:27]ConnectInit lk.salyk.kg [21:17:27]Connected sock=10 [21:17:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 75 7D 07 01 3C 6C 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 66 3A 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 B0 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 A5 00 00 00 F4 03 04 00 66 FF 1F 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A4 0A 01 00 35 04 06 00 5A 70 4C 07 9B F3 27 56 11 7F 17 C8 A3 79 [21:17:27]Write to MH i2c: 01 00 00 B6 0A C0 [21:17:27]Write i2c OK [21:17:27]MH_I2C_Read... [21:17:27]Read from MH i2c: 01 [21:17:27]MH_I2C_Read... [21:17:27]Read from MH i2c: 01 07 00 [21:17:27]MH_I2C_Read... [21:17:27]Read from MH i2c: 01 07 00 B6 0A 00 00 00 00 00 E6 0C B9 [21:17:27]RasterBufferAndPrint [21:17:27]line [21:17:27]line [21:17:27]line [21:17:27]line [21:17:27]line [21:17:27]written 0, free lines is 3307 [21:17:27]MH_Cut [21:17:27]Write to MH i2c: D1 01 00 BD 0A 01 99 [21:17:27]Write i2c OK [21:17:27]MH_I2C_Read... [21:17:27]Read from MH i2c: D1 [21:17:27]MH_I2C_Read... [21:17:27]Read from MH i2c: D1 01 00 [21:17:27]MH_I2C_Read... [21:17:27]Read from MH i2c: D1 01 00 BD 0A 00 98 [21:17:27]Write to MH i2c: 01 00 00 BE 0A C8 [21:17:27]Write i2c OK [21:17:27]MH_I2C_Read... [21:17:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 F9 67 47 00 36 BD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A4 0A 01 00 F4 03 04 00 45 AB 1F 67 B6 04 01 00 00 49 BF 04 78 E6 A6 31 0A [21:17:27]CommunicateWithHost err = 0 [21:17:27]CheckOFDResponse [21:17:27]1017 (14) - 77093643461234 [21:17:27]1041 (16) - 0000000000871758 [21:17:27]1040 (4) - 68260 [21:17:27]1012 (4) - 28.10.2024 15:18 [21:17:27]1206 (1) - 0 [21:17:27]OFD Sender: Remove packet 68260 [21:17:27]ProducePacketName [21:17:27]name=ofd_packets/00068260 [21:17:27]NVStorageDeleteData [21:17:28]OFD Sender: No OFD packet to send [21:17:28]*** Cut start [21:17:28]*** Partial cut [21:17:28]*** CUTSNS_PIN = 1 [21:17:28]*** CUTSNS_PIN = 0 [21:17:28]*** Brake cut motor [21:17:28]Read from MH i2c: 01 [21:17:28]MH_I2C_Read... [21:17:28]*** Stop cut motor [21:17:28]*** Cut end [21:17:28]Read from MH i2c: 01 07 00 [21:17:28]MH_I2C_Read... [21:17:28]Read from MH i2c: 01 07 00 BE 0A 00 00 00 00 00 FF 0F DD [21:17:28]process_action close_receipt done [21:17:28]requested_data is exist [21:17:28]produce_requested_data [21:17:28]requested_item fm.sn is exist - process it [21:17:28]wFMCommunicate request_size=4 [21:17:28]MH_SAM_APDU [21:17:28]CAPDU: 80 11 00 00 [21:17:28]Write to MH i2c: E2 08 00 BF 0A 80 11 00 00 00 00 00 00 43 [21:17:28]Write i2c OK [21:17:28]MH_I2C_Read... [21:17:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:17:28]Read from MH i2c: E2 [21:17:28]MH_I2C_Read... [21:17:28]Read from MH i2c: E2 17 00 [21:17:28]MH_I2C_Read... [21:17:28]Read from MH i2c: E2 17 00 BF 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 9A [21:17:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:17:28]wFMCommunicate OK [21:17:28]requested_item fd.num is exist - process it [21:17:28]SAM_PROTO_GetFieldsCounters [21:17:28]wFMCommunicate request_size=4 [21:17:28]MH_SAM_APDU [21:17:28]CAPDU: 80 13 00 00 [21:17:28]Write to MH i2c: E2 08 00 C0 0A 80 13 00 00 00 00 00 00 46 [21:17:28]Write i2c OK [21:17:28]MH_I2C_Read... [21:17:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:17:28]Read from MH i2c: E2 [21:17:28]MH_I2C_Read... [21:17:28]Read from MH i2c: E2 62 00 [21:17:28]MH_I2C_Read... [21:17:28]Read from MH i2c: E2 62 00 C0 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A4 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A5 00 00 00 5E 04 04 00 A5 00 00 00 57 04 04 00 A6 00 00 00 19 04 04 00 00 00 00 00 90 00 34 [21:17:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A4 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A5 00 00 00 5E 04 04 00 A5 00 00 00 57 04 04 00 A6 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:17:28]wFMCommunicate OK [21:17:28]SAM_PROTO_GetFieldsCounters done [21:17:28]requested_item shift.num is exist - process it [21:17:28]requested_item shift.opened is exist - process it [21:17:28]req_shift_opened [21:17:28]FM_GetShiftState [21:17:28]SAM_PROTO_GetShiftState [21:17:28]wFMCommunicate request_size=4 [21:17:28]MH_SAM_APDU [21:17:28]CAPDU: 80 13 01 00 [21:17:28]Write to MH i2c: E2 08 00 C1 0A 80 13 01 00 00 00 00 00 48 [21:17:28]Write i2c OK [21:17:28]MH_I2C_Read... [21:17:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:17:29]Read from MH i2c: E2 [21:17:29]MH_I2C_Read... [21:17:29]Read from MH i2c: E2 0E 00 [21:17:29]MH_I2C_Read... [21:17:29]Read from MH i2c: E2 0E 00 C1 0A 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 43 [21:17:29]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [21:17:29]wFMCommunicate OK [21:17:29]SAM_PROTO_GetShiftState done [21:17:29]FM_GetShiftState done [21:17:29]req_shift_opened done [21:17:29]requested_item shift.open_date is exist - process it [21:17:29]req_shift_open_date [21:17:29]req_shift_open_date done [21:17:29]produce_requested_data done [21:17:29]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68260,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [21:17:29]process_action_free close_receipt [21:17:29]json_value_free [21:17:29]json_value_free done [21:17:29]process_json_proto returns [21:17:29]Send response to host [21:17:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68260,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [21:17:29]free response buf [21:17:29]execute_script done [21:17:29]execute_script returns [21:17:29]free content buf [21:17:29]Sock 9.Close socket [21:17:29]Sock 9.Thread stoped [21:17:33]OFD Sender: No OFD packet to send [21:17:38]OFD Sender: No OFD packet to send [21:17:43]OFD Sender: No OFD packet to send [21:17:48]OFD Sender: No OFD packet to send [21:17:53]OFD Sender: No OFD packet to send [21:17:58]OFD Sender: No OFD packet to send [21:18:03]OFD Sender: No OFD packet to send [21:18:08]OFD Sender: No OFD packet to send [21:18:13]OFD Sender: No OFD packet to send [21:18:18]OFD Sender: No OFD packet to send [21:18:23]OFD Sender: No OFD packet to send [21:18:28]OFD Sender: No OFD packet to send [21:18:33]OFD Sender: No OFD packet to send [21:18:38]OFD Sender: No OFD packet to send [21:18:43]OFD Sender: No OFD packet to send [21:18:48]OFD Sender: No OFD packet to send [21:18:53]OFD Sender: No OFD packet to send [21:18:58]OFD Sender: No OFD packet to send [21:19:03]OFD Sender: No OFD packet to send [21:19:08]OFD Sender: No OFD packet to send [21:19:13]OFD Sender: No OFD packet to send [21:19:18]OFD Sender: No OFD packet to send [21:19:23]OFD Sender: No OFD packet to send [21:19:28]OFD Sender: No OFD packet to send [21:19:33]OFD Sender: No OFD packet to send [21:19:38]OFD Sender: No OFD packet to send [21:19:43]OFD Sender: No OFD packet to send [21:19:48]OFD Sender: No OFD packet to send [21:19:53]OFD Sender: No OFD packet to send [21:19:58]OFD Sender: No OFD packet to send [21:20:03]OFD Sender: No OFD packet to send [21:20:08]OFD Sender: No OFD packet to send [21:20:13]OFD Sender: No OFD packet to send [21:20:18]OFD Sender: No OFD packet to send [21:20:23]OFD Sender: No OFD packet to send [21:20:28]OFD Sender: No OFD packet to send [21:20:33]OFD Sender: No OFD packet to send [21:20:38]OFD Sender: No OFD packet to send [21:20:43]OFD Sender: No OFD packet to send [21:20:48]OFD Sender: No OFD packet to send [21:20:53]OFD Sender: No OFD packet to send [21:20:58]OFD Sender: No OFD packet to send [21:21:03]OFD Sender: No OFD packet to send [21:21:08]OFD Sender: No OFD packet to send [21:21:13]OFD Sender: No OFD packet to send [21:21:18]OFD Sender: No OFD packet to send [21:21:23]OFD Sender: No OFD packet to send [21:21:28]OFD Sender: No OFD packet to send [21:21:33]OFD Sender: No OFD packet to send [21:21:38]OFD Sender: No OFD packet to send [21:21:43]OFD Sender: No OFD packet to send [21:21:48]OFD Sender: No OFD packet to send [21:21:53]OFD Sender: No OFD packet to send [21:21:58]OFD Sender: No OFD packet to send [21:22:03]OFD Sender: No OFD packet to send [21:22:08]OFD Sender: No OFD packet to send [21:22:13]OFD Sender: No OFD packet to send [21:22:18]OFD Sender: No OFD packet to send [21:22:23]OFD Sender: No OFD packet to send [21:22:28]OFD Sender: No OFD packet to send [21:22:33]OFD Sender: No OFD packet to send [21:22:38]OFD Sender: No OFD packet to send [21:22:43]OFD Sender: No OFD packet to send [21:22:48]OFD Sender: No OFD packet to send [21:22:53]OFD Sender: No OFD packet to send [21:22:58]OFD Sender: No OFD packet to send [21:23:03]OFD Sender: No OFD packet to send [21:23:08]OFD Sender: No OFD packet to send [21:23:13]OFD Sender: No OFD packet to send [21:23:18]OFD Sender: No OFD packet to send [21:23:23]OFD Sender: No OFD packet to send [21:23:28]OFD Sender: No OFD packet to send [21:23:33]OFD Sender: No OFD packet to send [21:23:38]OFD Sender: No OFD packet to send [21:23:43]OFD Sender: No OFD packet to send [21:23:48]OFD Sender: No OFD packet to send [21:23:53]OFD Sender: No OFD packet to send [21:23:58]OFD Sender: No OFD packet to send [21:24:03]OFD Sender: No OFD packet to send [21:24:08]OFD Sender: No OFD packet to send [21:24:13]OFD Sender: No OFD packet to send [21:24:18]OFD Sender: No OFD packet to send [21:24:23]OFD Sender: No OFD packet to send [21:24:28]OFD Sender: No OFD packet to send [21:24:33]OFD Sender: No OFD packet to send [21:24:38]OFD Sender: No OFD packet to send [21:24:43]OFD Sender: No OFD packet to send [21:24:48]OFD Sender: No OFD packet to send [21:24:53]OFD Sender: No OFD packet to send [21:24:58]OFD Sender: No OFD packet to send [21:25:03]OFD Sender: No OFD packet to send [21:25:08]OFD Sender: No OFD packet to send [21:25:13]OFD Sender: No OFD packet to send [21:25:18]OFD Sender: No OFD packet to send [21:25:23]OFD Sender: No OFD packet to send [21:25:28]OFD Sender: No OFD packet to send [21:25:33]OFD Sender: No OFD packet to send [21:25:38]OFD Sender: No OFD packet to send [21:25:43]OFD Sender: No OFD packet to send [21:25:48]OFD Sender: No OFD packet to send [21:25:53]OFD Sender: No OFD packet to send [21:25:58]OFD Sender: No OFD packet to send [21:26:03]OFD Sender: No OFD packet to send [21:26:08]OFD Sender: No OFD packet to send [21:26:13]OFD Sender: No OFD packet to send [21:26:18]OFD Sender: No OFD packet to send [21:26:23]OFD Sender: No OFD packet to send [21:26:28]OFD Sender: No OFD packet to send [21:26:33]OFD Sender: No OFD packet to send [21:26:38]OFD Sender: No OFD packet to send [21:26:43]OFD Sender: No OFD packet to send [21:26:48]OFD Sender: No OFD packet to send [21:26:53]OFD Sender: No OFD packet to send [21:26:58]OFD Sender: No OFD packet to send [21:27:03]OFD Sender: No OFD packet to send [21:27:08]OFD Sender: No OFD packet to send [21:27:13]OFD Sender: No OFD packet to send [21:27:18]OFD Sender: No OFD packet to send [21:27:23]OFD Sender: No OFD packet to send [21:27:28]OFD Sender: No OFD packet to send [21:27:33]OFD Sender: No OFD packet to send [21:27:38]OFD Sender: No OFD packet to send [21:27:43]OFD Sender: No OFD packet to send [21:27:48]OFD Sender: No OFD packet to send [21:27:53]OFD Sender: No OFD packet to send [21:27:58]OFD Sender: No OFD packet to send [21:28:03]OFD Sender: No OFD packet to send [21:28:08]OFD Sender: No OFD packet to send [21:28:13]OFD Sender: No OFD packet to send [21:28:18]OFD Sender: No OFD packet to send [21:28:23]OFD Sender: No OFD packet to send [21:28:28]OFD Sender: No OFD packet to send [21:28:33]OFD Sender: No OFD packet to send [21:28:38]OFD Sender: No OFD packet to send [21:28:43]OFD Sender: No OFD packet to send [21:28:48]OFD Sender: No OFD packet to send [21:28:53]OFD Sender: No OFD packet to send [21:28:58]OFD Sender: No OFD packet to send [21:29:03]OFD Sender: No OFD packet to send [21:29:08]OFD Sender: No OFD packet to send [21:29:13]OFD Sender: No OFD packet to send [21:29:18]OFD Sender: No OFD packet to send [21:29:23]OFD Sender: No OFD packet to send [21:29:28]OFD Sender: No OFD packet to send [21:29:33]OFD Sender: No OFD packet to send [21:29:38]OFD Sender: No OFD packet to send [21:29:43]OFD Sender: No OFD packet to send [21:29:48]OFD Sender: No OFD packet to send [21:29:53]OFD Sender: No OFD packet to send [21:29:58]OFD Sender: No OFD packet to send [21:30:03]OFD Sender: No OFD packet to send [21:30:08]OFD Sender: No OFD packet to send [21:30:13]OFD Sender: No OFD packet to send [21:30:18]OFD Sender: No OFD packet to send [21:30:23]OFD Sender: No OFD packet to send [21:30:28]OFD Sender: No OFD packet to send [21:30:33]OFD Sender: No OFD packet to send [21:30:38]OFD Sender: No OFD packet to send [21:30:43]OFD Sender: No OFD packet to send [21:30:48]OFD Sender: No OFD packet to send [21:30:53]OFD Sender: No OFD packet to send [21:30:58]OFD Sender: No OFD packet to send [21:31:03]OFD Sender: No OFD packet to send [21:31:08]OFD Sender: No OFD packet to send [21:31:13]OFD Sender: No OFD packet to send [21:31:18]OFD Sender: No OFD packet to send [21:31:23]OFD Sender: No OFD packet to send [21:31:28]OFD Sender: No OFD packet to send [21:31:33]OFD Sender: No OFD packet to send [21:31:38]OFD Sender: No OFD packet to send [21:31:43]OFD Sender: No OFD packet to send [21:31:48]OFD Sender: No OFD packet to send [21:31:53]OFD Sender: No OFD packet to send [21:31:58]OFD Sender: No OFD packet to send [21:32:03]OFD Sender: No OFD packet to send [21:32:08]OFD Sender: No OFD packet to send [21:32:13]OFD Sender: No OFD packet to send [21:32:18]OFD Sender: No OFD packet to send [21:32:23]OFD Sender: No OFD packet to send [21:32:28]OFD Sender: No OFD packet to send [21:32:33]OFD Sender: No OFD packet to send [21:32:38]OFD Sender: No OFD packet to send [21:32:43]OFD Sender: No OFD packet to send [21:32:48]OFD Sender: No OFD packet to send [21:32:53]OFD Sender: No OFD packet to send [21:32:58]OFD Sender: No OFD packet to send [21:33:03]OFD Sender: No OFD packet to send [21:33:08]OFD Sender: No OFD packet to send [21:33:13]OFD Sender: No OFD packet to send [21:33:18]OFD Sender: No OFD packet to send [21:33:23]OFD Sender: No OFD packet to send [21:33:28]OFD Sender: No OFD packet to send [21:33:33]OFD Sender: No OFD packet to send [21:33:38]OFD Sender: No OFD packet to send [21:33:43]OFD Sender: No OFD packet to send [21:33:48]OFD Sender: No OFD packet to send [21:33:53]OFD Sender: No OFD packet to send [21:33:58]OFD Sender: No OFD packet to send [21:34:03]OFD Sender: No OFD packet to send [21:34:08]OFD Sender: No OFD packet to send [21:34:13]OFD Sender: No OFD packet to send [21:34:18]OFD Sender: No OFD packet to send [21:34:23]OFD Sender: No OFD packet to send [21:34:28]OFD Sender: No OFD packet to send [21:34:33]OFD Sender: No OFD packet to send [21:34:38]OFD Sender: No OFD packet to send [21:34:43]OFD Sender: No OFD packet to send [21:34:48]OFD Sender: No OFD packet to send [21:34:53]OFD Sender: No OFD packet to send [21:34:58]OFD Sender: No OFD packet to send [21:35:03]OFD Sender: No OFD packet to send [21:35:08]OFD Sender: No OFD packet to send [21:35:13]OFD Sender: No OFD packet to send [21:35:18]OFD Sender: No OFD packet to send [21:35:23]OFD Sender: No OFD packet to send [21:35:28]OFD Sender: No OFD packet to send [21:35:33]OFD Sender: No OFD packet to send [21:35:38]OFD Sender: No OFD packet to send [21:35:43]OFD Sender: No OFD packet to send [21:35:48]OFD Sender: No OFD packet to send [21:35:53]OFD Sender: No OFD packet to send [21:35:58]OFD Sender: No OFD packet to send [21:36:03]OFD Sender: No OFD packet to send [21:36:08]OFD Sender: No OFD packet to send [21:36:13]OFD Sender: No OFD packet to send [21:36:18]OFD Sender: No OFD packet to send [21:36:23]OFD Sender: No OFD packet to send [21:36:28]OFD Sender: No OFD packet to send [21:36:33]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:14]OFD Sender: No OFD packet to send [21:37:19]OFD Sender: No OFD packet to send [21:37:24]OFD Sender: No OFD packet to send [21:37:29]OFD Sender: No OFD packet to send [21:37:34]OFD Sender: No OFD packet to send [21:37:39]OFD Sender: No OFD packet to send [21:37:44]OFD Sender: No OFD packet to send [21:37:49]OFD Sender: No OFD packet to send [21:37:54]OFD Sender: No OFD packet to send [21:37:59]OFD Sender: No OFD packet to send [21:38:04]OFD Sender: No OFD packet to send [21:38:09]OFD Sender: No OFD packet to send [21:38:14]OFD Sender: No OFD packet to send [21:38:19]OFD Sender: No OFD packet to send [21:38:24]OFD Sender: No OFD packet to send [21:38:29]OFD Sender: No OFD packet to send [21:38:34]OFD Sender: No OFD packet to send [21:38:39]OFD Sender: No OFD packet to send [21:38:44]OFD Sender: No OFD packet to send [21:38:49]OFD Sender: No OFD packet to send [21:38:54]OFD Sender: No OFD packet to send [21:38:59]OFD Sender: No OFD packet to send [21:39:04]OFD Sender: No OFD packet to send [21:39:09]OFD Sender: No OFD packet to send [21:39:14]OFD Sender: No OFD packet to send [21:39:19]OFD Sender: No OFD packet to send [21:39:24]OFD Sender: No OFD packet to send [21:39:29]OFD Sender: No OFD packet to send [21:39:34]OFD Sender: No OFD packet to send [21:39:39]OFD Sender: No OFD packet to send [21:39:44]OFD Sender: No OFD packet to send [21:39:49]OFD Sender: No OFD packet to send [21:39:54]OFD Sender: No OFD packet to send [21:39:59]OFD Sender: No OFD packet to send [21:40:04]OFD Sender: No OFD packet to send [21:40:09]OFD Sender: No OFD packet to send [21:40:14]OFD Sender: No OFD packet to send [21:40:19]OFD Sender: No OFD packet to send [21:40:24]OFD Sender: No OFD packet to send [21:40:29]OFD Sender: No OFD packet to send [21:40:34]OFD Sender: No OFD packet to send [21:40:39]OFD Sender: No OFD packet to send [21:40:44]OFD Sender: No OFD packet to send [21:40:49]OFD Sender: No OFD packet to send [21:40:54]OFD Sender: No OFD packet to send [21:40:59]OFD Sender: No OFD packet to send [21:41:04]OFD Sender: No OFD packet to send [21:41:09]OFD Sender: No OFD packet to send [21:41:14]OFD Sender: No OFD packet to send [21:41:19]OFD Sender: No OFD packet to send [21:41:24]OFD Sender: No OFD packet to send [21:41:29]OFD Sender: No OFD packet to send [21:41:34]OFD Sender: No OFD packet to send [21:41:39]OFD Sender: No OFD packet to send [21:41:44]OFD Sender: No OFD packet to send [21:41:49]OFD Sender: No OFD packet to send [21:41:54]OFD Sender: No OFD packet to send [21:41:59]OFD Sender: No OFD packet to send [21:42:04]OFD Sender: No OFD packet to send [21:42:09]OFD Sender: No OFD packet to send [21:42:14]OFD Sender: No OFD packet to send [21:42:19]OFD Sender: No OFD packet to send [21:42:24]OFD Sender: No OFD packet to send [21:42:29]OFD Sender: No OFD packet to send [21:42:34]OFD Sender: No OFD packet to send [21:42:39]OFD Sender: No OFD packet to send [21:42:44]OFD Sender: No OFD packet to send [21:42:49]OFD Sender: No OFD packet to send [21:42:54]OFD Sender: No OFD packet to send [21:42:59]OFD Sender: No OFD packet to send [21:43:04]OFD Sender: No OFD packet to send [21:43:09]OFD Sender: No OFD packet to send [21:43:14]OFD Sender: No OFD packet to send [21:43:19]OFD Sender: No OFD packet to send [21:43:24]OFD Sender: No OFD packet to send [21:43:29]OFD Sender: No OFD packet to send [21:43:34]OFD Sender: No OFD packet to send [21:43:39]OFD Sender: No OFD packet to send [21:43:44]OFD Sender: No OFD packet to send [21:43:49]OFD Sender: No OFD packet to send [21:43:54]OFD Sender: No OFD packet to send [21:43:59]OFD Sender: No OFD packet to send [21:44:04]OFD Sender: No OFD packet to send [21:44:09]OFD Sender: No OFD packet to send [21:44:14]OFD Sender: No OFD packet to send [21:44:19]OFD Sender: No OFD packet to send [21:44:24]OFD Sender: No OFD packet to send [21:44:29]OFD Sender: No OFD packet to send [21:44:34]OFD Sender: No OFD packet to send [21:44:39]OFD Sender: No OFD packet to send [21:44:44]OFD Sender: No OFD packet to send [21:44:49]OFD Sender: No OFD packet to send [21:44:54]OFD Sender: No OFD packet to send [21:44:59]OFD Sender: No OFD packet to send [21:45:04]OFD Sender: No OFD packet to send [21:45:09]OFD Sender: No OFD packet to send [21:45:14]OFD Sender: No OFD packet to send [21:45:19]OFD Sender: No OFD packet to send [21:45:24]OFD Sender: No OFD packet to send [21:45:29]OFD Sender: No OFD packet to send [21:45:34]OFD Sender: No OFD packet to send [21:45:39]OFD Sender: No OFD packet to send [21:45:44]OFD Sender: No OFD packet to send [21:45:49]OFD Sender: No OFD packet to send [21:45:54]OFD Sender: No OFD packet to send [21:45:59]OFD Sender: No OFD packet to send [21:46:04]OFD Sender: No OFD packet to send [21:46:09]OFD Sender: No OFD packet to send [21:46:14]OFD Sender: No OFD packet to send [21:46:19]OFD Sender: No OFD packet to send [21:46:24]OFD Sender: No OFD packet to send [21:46:29]OFD Sender: No OFD packet to send [21:46:34]OFD Sender: No OFD packet to send [21:46:39]OFD Sender: No OFD packet to send [21:46:44]OFD Sender: No OFD packet to send [21:46:49]OFD Sender: No OFD packet to send [21:46:54]OFD Sender: No OFD packet to send [21:46:59]OFD Sender: No OFD packet to send [21:47:04]OFD Sender: No OFD packet to send [21:47:09]OFD Sender: No OFD packet to send [21:47:14]OFD Sender: No OFD packet to send [21:47:19]OFD Sender: No OFD packet to send [21:47:24]OFD Sender: No OFD packet to send [21:47:29]OFD Sender: No OFD packet to send [21:47:34]OFD Sender: No OFD packet to send [21:47:39]OFD Sender: No OFD packet to send [21:47:44]OFD Sender: No OFD packet to send [21:47:49]OFD Sender: No OFD packet to send [21:47:54]OFD Sender: No OFD packet to send [21:47:59]OFD Sender: No OFD packet to send [21:48:04]OFD Sender: No OFD packet to send [21:48:09]OFD Sender: No OFD packet to send [21:48:14]OFD Sender: No OFD packet to send [21:48:19]OFD Sender: No OFD packet to send [21:48:24]OFD Sender: No OFD packet to send [21:48:29]OFD Sender: No OFD packet to send [21:48:34]OFD Sender: No OFD packet to send [21:48:39]OFD Sender: No OFD packet to send [21:48:44]OFD Sender: No OFD packet to send [21:48:49]OFD Sender: No OFD packet to send [21:48:54]OFD Sender: No OFD packet to send [21:48:59]OFD Sender: No OFD packet to send [21:49:04]OFD Sender: No OFD packet to send [21:49:09]OFD Sender: No OFD packet to send [21:49:14]OFD Sender: No OFD packet to send [21:49:19]OFD Sender: No OFD packet to send [21:49:24]OFD Sender: No OFD packet to send [21:49:29]OFD Sender: No OFD packet to send [21:49:34]OFD Sender: No OFD packet to send [21:49:39]OFD Sender: No OFD packet to send [21:49:44]OFD Sender: No OFD packet to send [21:49:49]OFD Sender: No OFD packet to send [21:49:54]OFD Sender: No OFD packet to send [21:49:59]OFD Sender: No OFD packet to send [21:50:04]OFD Sender: No OFD packet to send [21:50:09]OFD Sender: No OFD packet to send [21:50:14]OFD Sender: No OFD packet to send [21:50:19]OFD Sender: No OFD packet to send [21:50:24]OFD Sender: No OFD packet to send [21:50:29]OFD Sender: No OFD packet to send [21:50:34]OFD Sender: No OFD packet to send [21:50:39]OFD Sender: No OFD packet to send [21:50:44]OFD Sender: No OFD packet to send [21:50:49]OFD Sender: No OFD packet to send [21:50:54]OFD Sender: No OFD packet to send [21:50:59]OFD Sender: No OFD packet to send [21:51:04]OFD Sender: No OFD packet to send [21:51:09]OFD Sender: No OFD packet to send [21:51:14]OFD Sender: No OFD packet to send [21:51:19]OFD Sender: No OFD packet to send [21:51:24]OFD Sender: No OFD packet to send [21:51:29]OFD Sender: No OFD packet to send [21:51:34]OFD Sender: No OFD packet to send [21:51:39]OFD Sender: No OFD packet to send [21:51:44]OFD Sender: No OFD packet to send [21:51:49]OFD Sender: No OFD packet to send [21:51:54]OFD Sender: No OFD packet to send [21:51:59]OFD Sender: No OFD packet to send [21:52:04]OFD Sender: No OFD packet to send [21:52:09]OFD Sender: No OFD packet to send [21:52:14]OFD Sender: No OFD packet to send [21:52:18]accept exits with 7 [21:52:18]New connection [21:52:18]New thread 3067354468 created [21:52:18]Thread 3067497828 joined [21:52:18]Waiting for new connection... [21:52:18] Sock 7.Parse request [21:52:18]Sock 7.Check first char [21:52:18]Sock 7.First char is OK [21:52:18]request: POST /json_proto HTTP/1.0 [21:52:18]Method: POST [21:52:18]URL: /json_proto [21:52:18]Method is POST - this is cgi request [21:52:18]url: /json_proto [21:52:18]query_string will be loaded in cgi processing [21:52:18]execute_cgi json_proto POST (null) [21:52:18]execute_cgi path=json_proto method=POST [21:52:18]POST find Content-Length [21:52:18]Host: 172.17.42.3:8080 [21:52:18]Content-Length: 665 [21:52:18]Content-Type: application/json [21:52:18] [21:52:18]POST finish read [21:52:18]Found Content-Length = 665 [21:52:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17206", "tax_sys" : 0, "items" : [ { "code": "4607015235777", "name": "\u041F\u0435\u0447. \u0441\u0434. \u042F\u0448\u043A\u0438\u043D\u043E \u0432\u0438\u0448\u043D\u044F 137\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:52:18]execute_script... [21:52: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)17206", "tax_sys" : 0, "items" : [ { "code": "4607015235777", "name": "\u041F\u0435\u0447. \u0441\u0434. \u042F\u0448\u043A\u0438\u043D\u043E \u0432\u0438\u0448\u043D\u044F 137\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:52:18]POST & json_proto [21:52:18]process_json_proto [21:52:18]json parsed OK: [21:52:18]protocol is kg_v1.0 [21:52:18]action value=close_receipt [21:52:18]process_action close_receipt [21:52:18]cmd_close_receipt [21:52:18]MH_GetDate [21:52:18]Write to MH i2c: F0 00 00 C2 0A BB [21:52:18]Write i2c OK [21:52:18]MH_I2C_Read... [21:52:18]Read from MH i2c: F0 [21:52:18]MH_I2C_Read... [21:52:18]Read from MH i2c: F0 09 00 [21:52:18]MH_I2C_Read... [21:52:18]Read from MH i2c: F0 09 00 C2 0A 00 93 07 20 67 0E CB 1F 67 44 [21:52:18]GetLastDocTimeStamp 1730150246 [21:52:18]current date 1730152339 [21:52:18]FM_GetShiftState [21:52:18]SAM_PROTO_GetShiftState [21:52:18]wFMCommunicate request_size=4 [21:52:18]MH_SAM_APDU [21:52:18]CAPDU: 80 13 01 00 [21:52:18]Write to MH i2c: E2 08 00 C3 0A 80 13 01 00 00 00 00 00 4A [21:52:18]Write i2c OK [21:52:18]MH_I2C_Read... [21:52:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:52:18]Read from MH i2c: E2 [21:52:18]MH_I2C_Read... [21:52:18]Read from MH i2c: E2 0E 00 [21:52:18]MH_I2C_Read... [21:52:18]Read from MH i2c: E2 0E 00 C3 0A 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 45 [21:52:18]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [21:52:18]wFMCommunicate OK [21:52:18]SAM_PROTO_GetShiftState done [21:52:18]FM_GetShiftState done [21:52:18]opened in 1730074770 [21:52:18]opened+sec_in_day 1730161170 [21:52:18]quantity*price = 9000 [21:52:18]sum+1 = 9001 [21:52:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 90.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 166 28.10.2024 21:52 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68261 ФПД: 13760853277060 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T215219&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68261&fm=13760853277060&tin=02508201610067®Number=0000000000091759&sum=9000 0 [21:52:19]StoreToDocumentArchive [21:52:19]shift 547 fd 68261 [21:52:19]save to /storage/0547/doc_00068261 [21:52:19]save last doc name /storage/0547/doc_00068261 to /storage/kkm_last_doc_name [21:52:19]save OK [21:52:19]Clear old archive folders... [21:52:19]ProcessDocumentItem done err = 0, tmpTLVsize=285 [21:52:19]tlvbuf is 005A4080 [21:52:19]SAM_PROTO_ClearQueue [21:52:19]wFMCommunicate request_size=4 [21:52:19]MH_SAM_APDU [21:52:19]CAPDU: 80 09 00 00 [21:52:19]Write to MH i2c: E2 08 00 D0 0A 80 09 00 00 00 00 00 00 4C [21:52:19]Write i2c OK [21:52:19]MH_I2C_Read... [21:52:19]OFD Sender: No OFD packet to send [21:52:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:52:19]Read from MH i2c: E2 [21:52:19]MH_I2C_Read... [21:52:19]Read from MH i2c: E2 03 00 [21:52:19]MH_I2C_Read... [21:52:19]Read from MH i2c: E2 03 00 D0 0A 00 90 00 4E [21:52:19]RAPDU: 90 00 [21:52:19]wFMCommunicate OK [21:52:19]SAM_PROTO_ClearQueue done [21:52:19]KKMCreateOFDPacket [21:52:19]OFDProtocolAddRootSTLVToBuf [21:52:19]FM_MakeSignedData [21:52:19]FM_MakeSignedData [21:52:19]SAM_PROTO_SignData [21:52:19]wFMCommunicate request_size=4 [21:52:19]MH_SAM_APDU [21:52:19]CAPDU: 80 0D 01 02 [21:52:19]Write to MH i2c: E2 08 00 D1 0A 80 0D 01 02 00 00 00 00 54 [21:52:19]Write i2c OK [21:52:19]MH_I2C_Read... [21:52:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:52:19]Read from MH i2c: E2 [21:52:19]MH_I2C_Read... [21:52:19]Read from MH i2c: E2 03 00 [21:52:19]MH_I2C_Read... [21:52:19]Read from MH i2c: E2 03 00 D1 0A 00 90 00 4F [21:52:19]RAPDU: 90 00 [21:52:19]wFMCommunicate OK [21:52:19]wFMCommunicate request_size=255 [21:52:19]MH_SAM_APDU [21:52:19]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A6 00 00 00 F4 03 04 00 93 07 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 [21:52:19]Write to MH i2c: E2 02 01 D2 0A 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A6 00 00 00 F4 03 04 00 93 07 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 00 00 B1 [21:52:19]Write i2c OK [21:52:19]MH_I2C_Read... [21:52:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:52:20]Read from MH i2c: E2 [21:52:20]MH_I2C_Read... [21:52:20]Read from MH i2c: E2 03 00 [21:52:20]MH_I2C_Read... [21:52:20]Read from MH i2c: E2 03 00 D2 0A 00 90 00 50 [21:52:20]RAPDU: 90 00 [21:52:20]wFMCommunicate OK [21:52:20]wFMCommunicate request_size=44 [21:52:20]MH_SAM_APDU [21:52:20]CAPDU: 80 0D 02 02 27 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A5 0A 01 00 35 04 06 00 0C 83 F2 C5 79 84 [21:52:20]Write to MH i2c: E2 2F 00 D3 0A 80 0D 02 02 27 00 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A5 0A 01 00 35 04 06 00 0C 83 F2 C5 79 84 00 00 71 [21:52:20]Write i2c OK [21:52:20]MH_I2C_Read... [21:52:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:52:20]Read from MH i2c: E2 [21:52:20]MH_I2C_Read... [21:52:20]Read from MH i2c: E2 03 00 [21:52:20]MH_I2C_Read... [21:52:20]Read from MH i2c: E2 03 00 D3 0A 00 90 00 51 [21:52:20]RAPDU: 90 00 [21:52:20]wFMCommunicate OK [21:52:20]wFMCommunicate request_size=4 [21:52:20]MH_SAM_APDU [21:52:20]CAPDU: 80 0D 03 02 [21:52:20]Write to MH i2c: E2 08 00 D4 0A 80 0D 03 02 00 00 00 00 59 [21:52:20]Write i2c OK [21:52:20]MH_I2C_Read... [21:52:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:52:20]Read from MH i2c: E2 [21:52:20]MH_I2C_Read... [21:52:20]Read from MH i2c: E2 0B 00 [21:52:20]MH_I2C_Read... [21:52:20]Read from MH i2c: E2 0B 00 D4 0A 00 E2 3B 5A 71 DC 53 F6 3E 90 00 A5 [21:52:20]RAPDU: E2 3B 5A 71 DC 53 F6 3E 90 00 [21:52:20]wFMCommunicate OK [21:52:20]SAM_PROTO_SignData done [21:52:20]FM_MakeSignedData done [21:52:20]CreateOFDProtocolMessage [21:52:20]wFMCommunicate request_size=4 [21:52:20]MH_SAM_APDU [21:52:20]CAPDU: 80 11 00 00 [21:52:20]Write to MH i2c: E2 08 00 D5 0A 80 11 00 00 00 00 00 00 59 [21:52:20]Write i2c OK [21:52:20]MH_I2C_Read... [21:52:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:52:20]Read from MH i2c: E2 [21:52:20]MH_I2C_Read... [21:52:20]Read from MH i2c: E2 17 00 [21:52:20]MH_I2C_Read... [21:52:20]Read from MH i2c: E2 17 00 D5 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 B0 [21:52:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:52:20]wFMCommunicate OK [21:52:20]CreateOFDProtocolMessage done [21:52:20]OFDSenderStorePacket 68261 [21:52:20]StoreOFDPacket docnum=68261 [21:52:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 31 01 00 00 6F D7 29 01 A5 EA 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A6 00 00 00 F4 03 04 00 93 07 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A5 0A 01 00 35 04 06 00 0C 83 F2 C5 79 84 E2 3B 5A 71 DC 53 F6 3E [21:52:20]CheckFolder [21:52:20]dirname=/storage/ofd_packets [21:52:20]CheckFolder done [21:52:20]ProducePacketName [21:52:20]name=ofd_packets/00068261 [21:52:20]NVStorageSaveData ofd_packets/00068261 [21:52:20]File name is /storage/ofd_packets/00068261 [21:52:20]Write 335 bytes [21:52:20]NVStorageSaveData done [21:52:20]OFDSenderStorePacket done [21:52:20]KKMCreateOFDPacket done [21:52:20]NVStorageSaveData kkm_last_timestamp [21:52:20]File name is /storage/kkm_last_timestamp [21:52:20]Write 4 bytes [21:52:20]NVStorageSaveData done [21:52:20]ExternCall_PrintAddStr [21:52:20]wPrintStart [21:52:20]Write to MH i2c: 01 00 00 D6 0A E0 [21:52:20]Write i2c OK [21:52:20]MH_I2C_Read... [21:52:20]Read from MH i2c: 01 [21:52:20]MH_I2C_Read... [21:52:20]Read from MH i2c: 01 07 00 [21:52:20]MH_I2C_Read... [21:52:20]Read from MH i2c: 01 07 00 D6 0A 00 00 00 00 00 FF 0F F5 [21:52:20]RasterBufferAndPrint [21:52:20]line Счет N : (3)17206 [21:52:20]line ИНН: 02508201610067 [21:52:20]line Контрольно-Кассовый Чек [21:52:20]line ПРОДАЖА [21:52:20]line Товар: 4607015235777 [21:52:20]line Печ. сд. Яшкино вишня 137г [21:52:20]line 1.000 * 90.00 [21:52:20]line = 90.00 [21:52:20]line НДС 12% НСП 1% [21:52:20]line > о реализуемом товаре [21:52:20]line ИТОГО: 90.00 [21:52:20]line НСП 1% : 0.80 [21:52:20]line НДС 12% : 9.56 [21:52:20]line Наличными: 90.00 [21:52:20]line Безнал.: 0.00 [21:52:20]line Место: АЗС № 160 "Партнер Нефть" [21:52:20]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [21:52:20]line СНО: Общий режим [21:52:20]line Чек 166 28.10.2024 21:52 [21:52:20]line Смена: 547 ФФД: 1.0 [21:52:20]line ЗНМ: 0300000093 [21:52:20]line РНМ: 0000000000091759 [21:52:20]line Версия ККМ: 001 [21:52:20]line ФМ: 0000000000871758 [21:52:20]line ФД: 68261 [21:52:20]line ФПД: 13760853277060 [21:52:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T215219&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68261&fm=13760853277060&tin=02508201610067®Number=0000000000091759&sum=9000 [21:52:20]OFD Sender: Processing packet 68261 [packets to send 27, broken 26] [21:52:20]ProducePacketName [21:52:20]name=ofd_packets/00068261 [21:52:20]OFD Sender: To server: pG, [21:52:20]CommunicateWithHost lk.salyk.kg:30040 [21:52:20]ConnectInit lk.salyk.kg [21:52:20]line 0 [21:52:20]written 0, free lines is 4095 [21:52:20]Connected sock=10 [21:52:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 31 01 00 00 6F D7 29 01 A5 EA 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 37 37 06 04 2B 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 31 33 37 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A6 00 00 00 F4 03 04 00 93 07 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A5 0A 01 00 35 04 06 00 0C 83 F2 C5 79 84 E2 3B 5A 71 DC 53 F6 3E [21:52:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 1E CD 47 00 31 99 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A5 0A 01 00 F4 03 04 00 73 B3 1F 67 B6 04 01 00 00 68 21 CD 05 16 EF B9 24 [21:52:20]CommunicateWithHost err = 0 [21:52:20]CheckOFDResponse [21:52:20]1017 (14) - 77093643461234 [21:52:20]1041 (16) - 0000000000871758 [21:52:20]1040 (4) - 68261 [21:52:20]1012 (4) - 28.10.2024 15:53 [21:52:20]1206 (1) - 0 [21:52:20]OFD Sender: Remove packet 68261 [21:52:20]ProducePacketName [21:52:20]name=ofd_packets/00068261 [21:52:20]NVStorageDeleteData [21:52:21]Write to MH i2c: 01 00 00 FD 0A 07 [21:52:21]Write i2c OK [21:52:21]MH_I2C_Read... [21:52:21]Read from MH i2c: 01 [21:52:21]MH_I2C_Read... [21:52:21]Read from MH i2c: 01 07 00 [21:52:21]MH_I2C_Read... [21:52:21]Read from MH i2c: 01 07 00 FD 0A 00 00 00 00 00 DA 0C F4 [21:52:21]RasterBufferAndPrint [21:52:21]line [21:52:21]line [21:52:21]line [21:52:21]line [21:52:21]line [21:52:21]written 0, free lines is 3296 [21:52:21]MH_Cut [21:52:21]Write to MH i2c: D1 01 00 04 0B 01 E1 [21:52:21]Write i2c OK [21:52:21]MH_I2C_Read... [21:52:21]Read from MH i2c: D1 [21:52:21]MH_I2C_Read... [21:52:21]Read from MH i2c: D1 01 00 [21:52:21]MH_I2C_Read... [21:52:21]Read from MH i2c: D1 01 00 04 0B 00 E0 [21:52:21]Write to MH i2c: 01 00 00 05 0B 10 [21:52:21]Write i2c OK [21:52:21]MH_I2C_Read... [21:52:21]OFD Sender: No OFD packet to send [21:52:21]*** Cut start [21:52:21]*** Partial cut [21:52:21]*** CUTSNS_PIN = 1 [21:52:21]*** CUTSNS_PIN = 0 [21:52:22]*** Brake cut motor [21:52:22]Read from MH i2c: 01 [21:52:22]MH_I2C_Read... [21:52:22]*** Stop cut motor [21:52:22]*** Cut end [21:52:22]Read from MH i2c: 01 07 00 [21:52:22]MH_I2C_Read... [21:52:22]Read from MH i2c: 01 07 00 05 0B 00 00 00 00 00 FF 0F 25 [21:52:22]process_action close_receipt done [21:52:22]requested_data is exist [21:52:22]produce_requested_data [21:52:22]requested_item fm.sn is exist - process it [21:52:22]wFMCommunicate request_size=4 [21:52:22]MH_SAM_APDU [21:52:22]CAPDU: 80 11 00 00 [21:52:22]Write to MH i2c: E2 08 00 06 0B 80 11 00 00 00 00 00 00 8B [21:52:22]Write i2c OK [21:52:22]MH_I2C_Read... [21:52:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:52:22]Read from MH i2c: E2 [21:52:22]MH_I2C_Read... [21:52:22]Read from MH i2c: E2 17 00 [21:52:22]MH_I2C_Read... [21:52:22]Read from MH i2c: E2 17 00 06 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 E2 [21:52:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [21:52:22]wFMCommunicate OK [21:52:22]requested_item fd.num is exist - process it [21:52:22]SAM_PROTO_GetFieldsCounters [21:52:22]wFMCommunicate request_size=4 [21:52:22]MH_SAM_APDU [21:52:22]CAPDU: 80 13 00 00 [21:52:22]Write to MH i2c: E2 08 00 07 0B 80 13 00 00 00 00 00 00 8E [21:52:22]Write i2c OK [21:52:22]MH_I2C_Read... [21:52:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:52:22]Read from MH i2c: E2 [21:52:22]MH_I2C_Read... [21:52:22]Read from MH i2c: E2 62 00 [21:52:22]MH_I2C_Read... [21:52:22]Read from MH i2c: E2 62 00 07 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A5 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A6 00 00 00 5E 04 04 00 A6 00 00 00 57 04 04 00 A7 00 00 00 19 04 04 00 00 00 00 00 90 00 80 [21:52:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A5 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A6 00 00 00 5E 04 04 00 A6 00 00 00 57 04 04 00 A7 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:52:22]wFMCommunicate OK [21:52:22]SAM_PROTO_GetFieldsCounters done [21:52:22]requested_item shift.num is exist - process it [21:52:22]requested_item shift.opened is exist - process it [21:52:22]req_shift_opened [21:52:22]FM_GetShiftState [21:52:22]SAM_PROTO_GetShiftState [21:52:22]wFMCommunicate request_size=4 [21:52:22]MH_SAM_APDU [21:52:22]CAPDU: 80 13 01 00 [21:52:22]Write to MH i2c: E2 08 00 08 0B 80 13 01 00 00 00 00 00 90 [21:52:22]Write i2c OK [21:52:22]MH_I2C_Read... [21:52:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:52:22]Read from MH i2c: E2 [21:52:22]MH_I2C_Read... [21:52:22]Read from MH i2c: E2 0E 00 [21:52:22]MH_I2C_Read... [21:52:22]Read from MH i2c: E2 0E 00 08 0B 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 8B [21:52:22]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [21:52:22]wFMCommunicate OK [21:52:22]SAM_PROTO_GetShiftState done [21:52:22]FM_GetShiftState done [21:52:22]req_shift_opened done [21:52:22]requested_item shift.open_date is exist - process it [21:52:22]req_shift_open_date [21:52:22]req_shift_open_date done [21:52:22]produce_requested_data done [21:52:22]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68261,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [21:52:22]process_action_free close_receipt [21:52:22]json_value_free [21:52:22]json_value_free done [21:52:22]process_json_proto returns [21:52:22]Send response to host [21:52:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68261,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [21:52:22]free response buf [21:52:22]execute_script done [21:52:22]execute_script returns [21:52:22]free content buf [21:52:22]Sock 7.Close socket [21:52:22]Sock 7.Thread stoped [21:52:26]OFD Sender: No OFD packet to send [21:52:31]OFD Sender: No OFD packet to send [21:52:36]OFD Sender: No OFD packet to send [21:52:41]OFD Sender: No OFD packet to send [21:52:46]OFD Sender: No OFD packet to send [21:52:51]OFD Sender: No OFD packet to send [21:52:56]OFD Sender: No OFD packet to send [21:53:01]OFD Sender: No OFD packet to send [21:53:06]OFD Sender: No OFD packet to send [21:53:11]OFD Sender: No OFD packet to send [21:53:16]OFD Sender: No OFD packet to send [21:53:21]OFD Sender: No OFD packet to send [21:53:26]OFD Sender: No OFD packet to send [21:53:31]OFD Sender: No OFD packet to send [21:53:36]OFD Sender: No OFD packet to send [21:53:41]OFD Sender: No OFD packet to send [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:21]OFD Sender: No OFD packet to send [21:54:26]OFD Sender: No OFD packet to send [21:54:31]OFD Sender: No OFD packet to send [21:54:36]OFD Sender: No OFD packet to send [21:54:41]OFD Sender: No OFD packet to send [21:54:46]OFD Sender: No OFD packet to send [21:54:51]OFD Sender: No OFD packet to send [21:54:56]OFD Sender: No OFD packet to send [21:55:01]OFD Sender: No OFD packet to send [21:55:06]OFD Sender: No OFD packet to send [21:55:11]OFD Sender: No OFD packet to send [21:55:16]OFD Sender: No OFD packet to send [21:55:21]OFD Sender: No OFD packet to send [21:55:26]OFD Sender: No OFD packet to send [21:55:31]OFD Sender: No OFD packet to send [21:55:36]OFD Sender: No OFD packet to send [21:55:41]OFD Sender: No OFD packet to send [21:55:46]OFD Sender: No OFD packet to send [21:55:51]OFD Sender: No OFD packet to send [21:55:56]OFD Sender: No OFD packet to send [21:56:01]OFD Sender: No OFD packet to send [21:56:06]OFD Sender: No OFD packet to send [21:56:11]OFD Sender: No OFD packet to send [21:56:16]OFD Sender: No OFD packet to send [21:56:21]OFD Sender: No OFD packet to send [21:56:26]OFD Sender: No OFD packet to send [21:56:31]OFD Sender: No OFD packet to send [21:56:36]OFD Sender: No OFD packet to send [21:56:41]OFD Sender: No OFD packet to send [21:56:46]OFD Sender: No OFD packet to send [21:56:51]OFD Sender: No OFD packet to send [21:56:56]OFD Sender: No OFD packet to send [21:57:01]OFD Sender: No OFD packet to send [21:57:06]OFD Sender: No OFD packet to send [21:57:11]OFD Sender: No OFD packet to send [21:57:16]OFD Sender: No OFD packet to send [21:57:21]OFD Sender: No OFD packet to send [21:57:26]OFD Sender: No OFD packet to send [21:57:31]OFD Sender: No OFD packet to send [21:57:36]OFD Sender: No OFD packet to send [21:57:41]OFD Sender: No OFD packet to send [21:57:46]OFD Sender: No OFD packet to send [21:57:51]OFD Sender: No OFD packet to send [21:57:56]OFD Sender: No OFD packet to send [21:58:01]OFD Sender: No OFD packet to send [21:58:06]OFD Sender: No OFD packet to send [21:58:11]OFD Sender: No OFD packet to send [21:58:16]OFD Sender: No OFD packet to send [21:58:21]OFD Sender: No OFD packet to send [21:58:26]OFD Sender: No OFD packet to send [21:58:31]OFD Sender: No OFD packet to send [21:58:36]OFD Sender: No OFD packet to send [21:58:41]OFD Sender: No OFD packet to send [21:58:46]OFD Sender: No OFD packet to send [21:58:51]OFD Sender: No OFD packet to send [21:58:56]OFD Sender: No OFD packet to send [21:59:01]OFD Sender: No OFD packet to send [21:59:06]OFD Sender: No OFD packet to send [21:59:11]OFD Sender: No OFD packet to send [21:59:16]OFD Sender: No OFD packet to send [21:59:21]OFD Sender: No OFD packet to send [21:59:26]OFD Sender: No OFD packet to send [21:59:31]OFD Sender: No OFD packet to send [21:59:36]OFD Sender: No OFD packet to send [21:59:41]OFD Sender: No OFD packet to send [21:59:46]OFD Sender: No OFD packet to send [21:59:51]OFD Sender: No OFD packet to send [21:59:56]OFD Sender: No OFD packet to send [22:00:01]OFD Sender: No OFD packet to send [22:00:06]OFD Sender: No OFD packet to send [22:00:11]OFD Sender: No OFD packet to send [22:00:16]OFD Sender: No OFD packet to send [22:00:21]OFD Sender: No OFD packet to send [22:00:26]OFD Sender: No OFD packet to send [22:00:31]OFD Sender: No OFD packet to send [22:00:36]OFD Sender: No OFD packet to send [22:00:41]OFD Sender: No OFD packet to send [22:00:46]OFD Sender: No OFD packet to send [22:00:51]OFD Sender: No OFD packet to send [22:00:56]OFD Sender: No OFD packet to send [22:01:01]OFD Sender: No OFD packet to send [22:01:06]OFD Sender: No OFD packet to send [22:01:11]OFD Sender: No OFD packet to send [22:01:16]OFD Sender: No OFD packet to send [22:01:21]OFD Sender: No OFD packet to send [22:01:26]OFD Sender: No OFD packet to send [22:01:31]OFD Sender: No OFD packet to send [22:01:36]OFD Sender: No OFD packet to send [22:01:41]OFD Sender: No OFD packet to send [22:01:46]OFD Sender: No OFD packet to send [22:01:51]OFD Sender: No OFD packet to send [22:01:56]OFD Sender: No OFD packet to send [22:02:01]OFD Sender: No OFD packet to send [22:02:06]OFD Sender: No OFD packet to send [22:02:11]OFD Sender: No OFD packet to send [22:02:17]OFD Sender: No OFD packet to send [22:02:22]OFD Sender: No OFD packet to send [22:02:27]OFD Sender: No OFD packet to send [22:02:32]OFD Sender: No OFD packet to send [22:02:37]OFD Sender: No OFD packet to send [22:02:42]OFD Sender: No OFD packet to send [22:02:47]OFD Sender: No OFD packet to send [22:02:52]OFD Sender: No OFD packet to send [22:02:57]OFD Sender: No OFD packet to send [22:03:02]OFD Sender: No OFD packet to send [22:03:07]OFD Sender: No OFD packet to send [22:03:12]OFD Sender: No OFD packet to send [22:03:17]OFD Sender: No OFD packet to send [22:03:22]OFD Sender: No OFD packet to send [22:03:27]OFD Sender: No OFD packet to send [22:03:32]OFD Sender: No OFD packet to send [22:03:37]OFD Sender: No OFD packet to send [22:03:42]OFD Sender: No OFD packet to send [22:03:47]OFD Sender: No OFD packet to send [22:03:52]OFD Sender: No OFD packet to send [22:03:57]OFD Sender: No OFD packet to send [22:04:02]OFD Sender: No OFD packet to send [22:04:07]OFD Sender: No OFD packet to send [22:04:12]OFD Sender: No OFD packet to send [22:04:17]OFD Sender: No OFD packet to send [22:04:22]OFD Sender: No OFD packet to send [22:04:27]OFD Sender: No OFD packet to send [22:04:32]OFD Sender: No OFD packet to send [22:04:37]OFD Sender: No OFD packet to send [22:04:42]OFD Sender: No OFD packet to send [22:04:47]OFD Sender: No OFD packet to send [22:04:52]OFD Sender: No OFD packet to send [22:04:57]OFD Sender: No OFD packet to send [22:05:02]OFD Sender: No OFD packet to send [22:05:07]OFD Sender: No OFD packet to send [22:05:12]OFD Sender: No OFD packet to send [22:05:17]OFD Sender: No OFD packet to send [22:05:22]OFD Sender: No OFD packet to send [22:05:27]OFD Sender: No OFD packet to send [22:05:32]OFD Sender: No OFD packet to send [22:05:37]OFD Sender: No OFD packet to send [22:05:42]OFD Sender: No OFD packet to send [22:05:47]OFD Sender: No OFD packet to send [22:05:52]OFD Sender: No OFD packet to send [22:05:57]OFD Sender: No OFD packet to send [22:06:02]OFD Sender: No OFD packet to send [22:06:07]OFD Sender: No OFD packet to send [22:06:12]OFD Sender: No OFD packet to send [22:06:17]OFD Sender: No OFD packet to send [22:06:22]OFD Sender: No OFD packet to send [22:06:27]OFD Sender: No OFD packet to send [22:06:32]OFD Sender: No OFD packet to send [22:06:37]OFD Sender: No OFD packet to send [22:06:42]OFD Sender: No OFD packet to send [22:06:47]OFD Sender: No OFD packet to send [22:06:52]OFD Sender: No OFD packet to send [22:06:57]OFD Sender: No OFD packet to send [22:07:02]OFD Sender: No OFD packet to send [22:07:07]OFD Sender: No OFD packet to send [22:07:12]OFD Sender: No OFD packet to send [22:07:17]OFD Sender: No OFD packet to send [22:07:22]OFD Sender: No OFD packet to send [22:07:27]OFD Sender: No OFD packet to send [22:07:32]OFD Sender: No OFD packet to send [22:07:37]OFD Sender: No OFD packet to send [22:07:42]OFD Sender: No OFD packet to send [22:07:47]OFD Sender: No OFD packet to send [22:07:52]OFD Sender: No OFD packet to send [22:07:57]OFD Sender: No OFD packet to send [22:08:02]OFD Sender: No OFD packet to send [22:08:07]OFD Sender: No OFD packet to send [22:08:12]OFD Sender: No OFD packet to send [22:08:17]OFD Sender: No OFD packet to send [22:08:22]OFD Sender: No OFD packet to send [22:08:27]OFD Sender: No OFD packet to send [22:08:32]OFD Sender: No OFD packet to send [22:08:37]OFD Sender: No OFD packet to send [22:08:42]OFD Sender: No OFD packet to send [22:08:47]OFD Sender: No OFD packet to send [22:08:52]OFD Sender: No OFD packet to send [22:08:57]OFD Sender: No OFD packet to send [22:09:02]OFD Sender: No OFD packet to send [22:09:07]OFD Sender: No OFD packet to send [22:09:12]OFD Sender: No OFD packet to send [22:09:17]OFD Sender: No OFD packet to send [22:09:22]OFD Sender: No OFD packet to send [22:09:27]OFD Sender: No OFD packet to send [22:09:32]OFD Sender: No OFD packet to send [22:09:37]OFD Sender: No OFD packet to send [22:09:42]OFD Sender: No OFD packet to send [22:09:47]OFD Sender: No OFD packet to send [22:09:52]OFD Sender: No OFD packet to send [22:09:57]OFD Sender: No OFD packet to send [22:10:02]OFD Sender: No OFD packet to send [22:10:07]OFD Sender: No OFD packet to send [22:10:12]OFD Sender: No OFD packet to send [22:10:17]OFD Sender: No OFD packet to send [22:10:22]OFD Sender: No OFD packet to send [22:10:27]OFD Sender: No OFD packet to send [22:10:32]OFD Sender: No OFD packet to send [22:10:37]OFD Sender: No OFD packet to send [22:10:42]OFD Sender: No OFD packet to send [22:10:47]OFD Sender: No OFD packet to send [22:10:52]OFD Sender: No OFD packet to send [22:10:57]OFD Sender: No OFD packet to send [22:11:02]OFD Sender: No OFD packet to send [22:11:07]OFD Sender: No OFD packet to send [22:11:12]OFD Sender: No OFD packet to send [22:11:17]OFD Sender: No OFD packet to send [22:11:22]OFD Sender: No OFD packet to send [22:11:27]OFD Sender: No OFD packet to send [22:11:32]OFD Sender: No OFD packet to send [22:11:37]OFD Sender: No OFD packet to send [22:11:42]OFD Sender: No OFD packet to send [22:11:47]OFD Sender: No OFD packet to send [22:11:52]OFD Sender: No OFD packet to send [22:11:57]OFD Sender: No OFD packet to send [22:12:02]OFD Sender: No OFD packet to send [22:12:07]OFD Sender: No OFD packet to send [22:12:12]OFD Sender: No OFD packet to send [22:12:17]OFD Sender: No OFD packet to send [22:12:22]OFD Sender: No OFD packet to send [22:12:27]OFD Sender: No OFD packet to send [22:12:32]OFD Sender: No OFD packet to send [22:12:37]OFD Sender: No OFD packet to send [22:12:42]OFD Sender: No OFD packet to send [22:12:47]OFD Sender: No OFD packet to send [22:12:52]OFD Sender: No OFD packet to send [22:12:57]OFD Sender: No OFD packet to send [22:13:02]OFD Sender: No OFD packet to send [22:13:07]OFD Sender: No OFD packet to send [22:13:12]OFD Sender: No OFD packet to send [22:13:17]OFD Sender: No OFD packet to send [22:13:22]OFD Sender: No OFD packet to send [22:13:27]OFD Sender: No OFD packet to send [22:13:32]OFD Sender: No OFD packet to send [22:13:37]OFD Sender: No OFD packet to send [22:13:42]OFD Sender: No OFD packet to send [22:13:47]OFD Sender: No OFD packet to send [22:13:52]OFD Sender: No OFD packet to send [22:13:57]OFD Sender: No OFD packet to send [22:14:02]OFD Sender: No OFD packet to send [22:14:07]OFD Sender: No OFD packet to send [22:14:12]OFD Sender: No OFD packet to send [22:14:17]OFD Sender: No OFD packet to send [22:14:22]OFD Sender: No OFD packet to send [22:14:27]OFD Sender: No OFD packet to send [22:14:32]OFD Sender: No OFD packet to send [22:14:37]OFD Sender: No OFD packet to send [22:14:42]OFD Sender: No OFD packet to send [22:14:47]OFD Sender: No OFD packet to send [22:14:52]OFD Sender: No OFD packet to send [22:14:57]OFD Sender: No OFD packet to send [22:15:02]OFD Sender: No OFD packet to send [22:15:07]OFD Sender: No OFD packet to send [22:15:12]OFD Sender: No OFD packet to send [22:15:17]OFD Sender: No OFD packet to send [22:15:22]OFD Sender: No OFD packet to send [22:15:27]OFD Sender: No OFD packet to send [22:15:32]OFD Sender: No OFD packet to send [22:15:37]OFD Sender: No OFD packet to send [22:15:42]OFD Sender: No OFD packet to send [22:15:47]OFD Sender: No OFD packet to send [22:15:52]OFD Sender: No OFD packet to send [22:15:57]OFD Sender: No OFD packet to send [22:16:02]OFD Sender: No OFD packet to send [22:16:07]OFD Sender: No OFD packet to send [22:16:12]OFD Sender: No OFD packet to send [22:16:17]OFD Sender: No OFD packet to send [22:16:22]OFD Sender: No OFD packet to send [22:16:27]OFD Sender: No OFD packet to send [22:16:32]OFD Sender: No OFD packet to send [22:16:37]OFD Sender: No OFD packet to send [22:16:42]OFD Sender: No OFD packet to send [22:16:47]OFD Sender: No OFD packet to send [22:16:52]OFD Sender: No OFD packet to send [22:16:57]OFD Sender: No OFD packet to send [22:17:02]OFD Sender: No OFD packet to send [22:17:07]OFD Sender: No OFD packet to send [22:17:12]OFD Sender: No OFD packet to send [22:17:17]OFD Sender: No OFD packet to send [22:17:22]OFD Sender: No OFD packet to send [22:17:27]OFD Sender: No OFD packet to send [22:17:32]OFD Sender: No OFD packet to send [22:17:37]OFD Sender: No OFD packet to send [22:17:42]OFD Sender: No OFD packet to send [22:17:47]OFD Sender: No OFD packet to send [22:17:52]OFD Sender: No OFD packet to send [22:17:57]OFD Sender: No OFD packet to send [22:18:02]OFD Sender: No OFD packet to send [22:18:07]OFD Sender: No OFD packet to send [22:18:12]OFD Sender: No OFD packet to send [22:18:17]OFD Sender: No OFD packet to send [22:18:22]OFD Sender: No OFD packet to send [22:18:27]OFD Sender: No OFD packet to send [22:18:32]OFD Sender: No OFD packet to send [22:18:37]OFD Sender: No OFD packet to send [22:18:42]OFD Sender: No OFD packet to send [22:18:47]OFD Sender: No OFD packet to send [22:18:52]OFD Sender: No OFD packet to send [22:18:57]OFD Sender: No OFD packet to send [22:19:02]OFD Sender: No OFD packet to send [22:19:07]OFD Sender: No OFD packet to send [22:19:12]OFD Sender: No OFD packet to send [22:19:17]OFD Sender: No OFD packet to send [22:19:22]OFD Sender: No OFD packet to send [22:19:27]OFD Sender: No OFD packet to send [22:19:32]OFD Sender: No OFD packet to send [22:19:37]OFD Sender: No OFD packet to send [22:19:42]OFD Sender: No OFD packet to send [22:19:47]OFD Sender: No OFD packet to send [22:19:52]OFD Sender: No OFD packet to send [22:19:57]OFD Sender: No OFD packet to send [22:20:02]OFD Sender: No OFD packet to send [22:20:07]OFD Sender: No OFD packet to send [22:20:12]OFD Sender: No OFD packet to send [22:20:17]OFD Sender: No OFD packet to send [22:20:22]OFD Sender: No OFD packet to send [22:20:27]OFD Sender: No OFD packet to send [22:20:32]OFD Sender: No OFD packet to send [22:20:37]OFD Sender: No OFD packet to send [22:20:42]OFD Sender: No OFD packet to send [22:20:47]OFD Sender: No OFD packet to send [22:20:52]OFD Sender: No OFD packet to send [22:20:57]OFD Sender: No OFD packet to send [22:21:02]OFD Sender: No OFD packet to send [22:21:07]OFD Sender: No OFD packet to send [22:21:12]OFD Sender: No OFD packet to send [22:21:17]OFD Sender: No OFD packet to send [22:21:22]OFD Sender: No OFD packet to send [22:21:27]OFD Sender: No OFD packet to send [22:21:32]OFD Sender: No OFD packet to send [22:21:37]OFD Sender: No OFD packet to send [22:21:42]OFD Sender: No OFD packet to send [22:21:47]OFD Sender: No OFD packet to send [22:21:52]OFD Sender: No OFD packet to send [22:21:57]OFD Sender: No OFD packet to send [22:22:03]OFD Sender: No OFD packet to send [22:22:08]OFD Sender: No OFD packet to send [22:22:13]OFD Sender: No OFD packet to send [22:22:18]OFD Sender: No OFD packet to send [22:22:23]OFD Sender: No OFD packet to send [22:22:28]OFD Sender: No OFD packet to send [22:22:33]OFD Sender: No OFD packet to send [22:22:38]OFD Sender: No OFD packet to send [22:22:43]OFD Sender: No OFD packet to send [22:22:48]OFD Sender: No OFD packet to send [22:22:53]OFD Sender: No OFD packet to send [22:22:58]OFD Sender: No OFD packet to send [22:23:03]OFD Sender: No OFD packet to send [22:23:08]OFD Sender: No OFD packet to send [22:23:13]OFD Sender: No OFD packet to send [22:23:18]OFD Sender: No OFD packet to send [22:23:23]OFD Sender: No OFD packet to send [22:23:28]OFD Sender: No OFD packet to send [22:23:33]OFD Sender: No OFD packet to send [22:23:38]OFD Sender: No OFD packet to send [22:23:43]OFD Sender: No OFD packet to send [22:23:48]OFD Sender: No OFD packet to send [22:23:53]OFD Sender: No OFD packet to send [22:23:58]OFD Sender: No OFD packet to send [22:24:03]OFD Sender: No OFD packet to send [22:24:08]OFD Sender: No OFD packet to send [22:24:13]OFD Sender: No OFD packet to send [22:24:18]OFD Sender: No OFD packet to send [22:24:23]OFD Sender: No OFD packet to send [22:24:28]OFD Sender: No OFD packet to send [22:24:33]OFD Sender: No OFD packet to send [22:24:38]OFD Sender: No OFD packet to send [22:24:43]OFD Sender: No OFD packet to send [22:24:48]OFD Sender: No OFD packet to send [22:24:53]OFD Sender: No OFD packet to send [22:24:58]OFD Sender: No OFD packet to send [22:25:03]OFD Sender: No OFD packet to send [22:25:08]OFD Sender: No OFD packet to send [22:25:13]OFD Sender: No OFD packet to send [22:25:18]OFD Sender: No OFD packet to send [22:25:23]OFD Sender: No OFD packet to send [22:25:26]accept exits with 9 [22:25:26]New connection [22:25:26]New thread 3067497828 created [22:25:26]Thread 3067354468 joined [22:25:26]Waiting for new connection... [22:25:26] Sock 9.Parse request [22:25:26]Sock 9.Check first char [22:25:26]Sock 9.First char is OK [22:25:26]request: POST /json_proto HTTP/1.0 [22:25:26]Method: POST [22:25:26]URL: /json_proto [22:25:26]Method is POST - this is cgi request [22:25:26]url: /json_proto [22:25:26]query_string will be loaded in cgi processing [22:25:26]execute_cgi json_proto POST (null) [22:25:26]execute_cgi path=json_proto method=POST [22:25:26]POST find Content-Length [22:25:26]Host: 172.17.42.3:8080 [22:25:26]Content-Length: 1442 [22:25:26]Content-Type: application/json [22:25:26] [22:25:26]POST finish read [22:25:26]Found Content-Length = 1442 [22:25:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17207", "tax_sys" : 0, "items" : [ { "code": "4630007400242", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 50 \u0433\u0440", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400655", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160884", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 13.00, "quantity" : 3.000, "sum" : 39.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: Mbank", "payments": [ { "type": 1, "sum" : 164.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:25:26]execute_script... [22:25: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)17207", "tax_sys" : 0, "items" : [ { "code": "4630007400242", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 50 \u0433\u0440", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400655", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160884", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 13.00, "quantity" : 3.000, "sum" : 39.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: Mbank", "payments": [ { "type": 1, "sum" : 164.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:25:26]POST & json_proto [22:25:26]process_json_proto [22:25:26]json parsed OK: [22:25:26]protocol is kg_v1.0 [22:25:26]action value=close_receipt [22:25:26]process_action close_receipt [22:25:26]cmd_close_receipt [22:25:26]MH_GetDate [22:25:26]Write to MH i2c: F0 00 00 09 0B 03 [22:25:26]Write i2c OK [22:25:26]MH_I2C_Read... [22:25:26]Read from MH i2c: F0 [22:25:26]MH_I2C_Read... [22:25:26]Read from MH i2c: F0 09 00 [22:25:26]MH_I2C_Read... [22:25:26]Read from MH i2c: F0 09 00 09 0B 00 57 0F 20 67 0E CB 1F 67 58 [22:25:26]GetLastDocTimeStamp 1730152339 [22:25:26]current date 1730154327 [22:25:26]FM_GetShiftState [22:25:26]SAM_PROTO_GetShiftState [22:25:26]wFMCommunicate request_size=4 [22:25:26]MH_SAM_APDU [22:25:26]CAPDU: 80 13 01 00 [22:25:26]Write to MH i2c: E2 08 00 0A 0B 80 13 01 00 00 00 00 00 92 [22:25:27]Write i2c OK [22:25:27]MH_I2C_Read... [22:25:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:25:27]Read from MH i2c: E2 [22:25:27]MH_I2C_Read... [22:25:27]Read from MH i2c: E2 0E 00 [22:25:27]MH_I2C_Read... [22:25:27]Read from MH i2c: E2 0E 00 0A 0B 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 8D [22:25:27]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [22:25:27]wFMCommunicate OK [22:25:27]SAM_PROTO_GetShiftState done [22:25:27]FM_GetShiftState done [22:25:27]opened in 1730074770 [22:25:27]opened+sec_in_day 1730161170 [22:25:27]quantity*price = 5500 [22:25:27]sum+1 = 5501 [22:25:27]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4630007400655 Семечки ДЖИНН 70г синий 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160884 Снек Курут индивидуальный 3.000 * 13.00 = 39.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 164.00 НСП 1% : 1.45 НДС 12% : 17.41 Наличными: 0.00 Безнал.: 164.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 167 28.10.2024 22:25 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68262 ФПД: 69639212982424 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T222528&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68262&fm=69639212982424&tin=02508201610067®Number=0000000000091759&sum=16400 0 [22:25:27]StoreToDocumentArchive [22:25:27]shift 547 fd 68262 [22:25:27]save to /storage/0547/doc_00068262 [22:25:27]save last doc name /storage/0547/doc_00068262 to /storage/kkm_last_doc_name [22:25:27]save OK [22:25:27]Clear old archive folders... [22:25:27]ProcessDocumentItem done err = 0, tmpTLVsize=534 [22:25:27]tlvbuf is 005FFE90 [22:25:27]SAM_PROTO_ClearQueue [22:25:27]wFMCommunicate request_size=4 [22:25:27]MH_SAM_APDU [22:25:27]CAPDU: 80 09 00 00 [22:25:27]Write to MH i2c: E2 08 00 17 0B 80 09 00 00 00 00 00 00 94 [22:25:27]Write i2c OK [22:25:27]MH_I2C_Read... [22:25:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:25:28]Read from MH i2c: E2 [22:25:28]MH_I2C_Read... [22:25:28]Read from MH i2c: E2 03 00 [22:25:28]MH_I2C_Read... [22:25:28]Read from MH i2c: E2 03 00 17 0B 00 90 00 96 [22:25:28]RAPDU: 90 00 [22:25:28]wFMCommunicate OK [22:25:28]SAM_PROTO_ClearQueue done [22:25:28]KKMCreateOFDPacket [22:25:28]OFDProtocolAddRootSTLVToBuf [22:25:28]FM_MakeSignedData [22:25:28]FM_MakeSignedData [22:25:28]SAM_PROTO_SignData [22:25:28]wFMCommunicate request_size=4 [22:25:28]MH_SAM_APDU [22:25:28]CAPDU: 80 0D 01 02 [22:25:28]Write to MH i2c: E2 08 00 18 0B 80 0D 01 02 00 00 00 00 9C [22:25:28]Write i2c OK [22:25:28]MH_I2C_Read... [22:25:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:25:28]Read from MH i2c: E2 [22:25:28]MH_I2C_Read... [22:25:28]Read from MH i2c: E2 03 00 [22:25:28]MH_I2C_Read... [22:25:28]Read from MH i2c: E2 03 00 18 0B 00 90 00 97 [22:25:28]RAPDU: 90 00 [22:25:28]wFMCommunicate OK [22:25:28]wFMCommunicate request_size=255 [22:25:28]MH_SAM_APDU [22:25:28]CAPDU: 80 0D 02 02 FA 03 00 16 02 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 32 34 32 06 04 3B 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 35 30 20 D0 B3 D1 80 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 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 [22:25:28]Write to MH i2c: E2 02 01 19 0B 80 0D 02 02 FA 00 03 00 16 02 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 32 34 32 06 04 3B 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 35 30 20 D0 B3 D1 80 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 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 00 00 F2 [22:25:28]OFD Sender: No OFD packet to send [22:25:28]Write i2c OK [22:25:28]MH_I2C_Read... [22:25:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:25:28]Read from MH i2c: E2 [22:25:28]MH_I2C_Read... [22:25:28]Read from MH i2c: E2 03 00 [22:25:28]MH_I2C_Read... [22:25:28]Read from MH i2c: E2 03 00 19 0B 00 90 00 98 [22:25:28]RAPDU: 90 00 [22:25:28]wFMCommunicate OK [22:25:28]wFMCommunicate request_size=255 [22:25:28]MH_SAM_APDU [22:25:28]CAPDU: 80 0D 02 02 FA 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 38 38 34 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 14 05 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A7 00 00 00 F4 03 04 00 58 0F 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 [22:25:28]Write to MH i2c: E2 02 01 1A 0B 80 0D 02 02 FA 00 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 38 38 34 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 14 05 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A7 00 00 00 F4 03 04 00 58 0F 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 00 00 2C [22:25:28]Write i2c OK [22:25:28]MH_I2C_Read... [22:25:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:25:28]Read from MH i2c: E2 [22:25:28]MH_I2C_Read... [22:25:28]Read from MH i2c: E2 03 00 [22:25:28]MH_I2C_Read... [22:25:28]Read from MH i2c: E2 03 00 1A 0B 00 90 00 99 [22:25:28]RAPDU: 90 00 [22:25:28]wFMCommunicate OK [22:25:28]wFMCommunicate request_size=43 [22:25:28]MH_SAM_APDU [22:25:28]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A6 0A 01 00 35 04 06 00 3F 56 24 8D 60 98 [22:25:28]Write to MH i2c: E2 2E 00 1B 0B 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A6 0A 01 00 35 04 06 00 3F 56 24 8D 60 98 00 00 7B [22:25:28]Write i2c OK [22:25:28]MH_I2C_Read... [22:25:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:25:29]Read from MH i2c: E2 [22:25:29]MH_I2C_Read... [22:25:29]Read from MH i2c: E2 03 00 [22:25:29]MH_I2C_Read... [22:25:29]Read from MH i2c: E2 03 00 1B 0B 00 90 00 9A [22:25:29]RAPDU: 90 00 [22:25:29]wFMCommunicate OK [22:25:29]wFMCommunicate request_size=4 [22:25:29]MH_SAM_APDU [22:25:29]CAPDU: 80 0D 03 02 [22:25:29]Write to MH i2c: E2 08 00 1C 0B 80 0D 03 02 00 00 00 00 A2 [22:25:29]Write i2c OK [22:25:29]MH_I2C_Read... [22:25:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:25:29]Read from MH i2c: E2 [22:25:29]MH_I2C_Read... [22:25:29]Read from MH i2c: E2 0B 00 [22:25:29]MH_I2C_Read... [22:25:29]Read from MH i2c: E2 0B 00 1C 0B 00 ED 3A A5 B5 3B 9C 59 8F 90 00 E3 [22:25:29]RAPDU: ED 3A A5 B5 3B 9C 59 8F 90 00 [22:25:29]wFMCommunicate OK [22:25:29]SAM_PROTO_SignData done [22:25:29]FM_MakeSignedData done [22:25:29]CreateOFDProtocolMessage [22:25:29]wFMCommunicate request_size=4 [22:25:29]MH_SAM_APDU [22:25:29]CAPDU: 80 11 00 00 [22:25:29]Write to MH i2c: E2 08 00 1D 0B 80 11 00 00 00 00 00 00 A2 [22:25:29]Write i2c OK [22:25:29]MH_I2C_Read... [22:25:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:25:29]Read from MH i2c: E2 [22:25:29]MH_I2C_Read... [22:25:29]Read from MH i2c: E2 17 00 [22:25:29]MH_I2C_Read... [22:25:29]Read from MH i2c: E2 17 00 1D 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 F9 [22:25:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:25:29]wFMCommunicate OK [22:25:29]CreateOFDProtocolMessage done [22:25:29]OFDSenderStorePacket 68262 [22:25:29]StoreOFDPacket docnum=68262 [22:25:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2A 02 00 00 A5 C5 22 02 B9 58 5A 03 01 00 03 00 16 02 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 32 34 32 06 04 3B 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 35 30 20 D0 B3 D1 80 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 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 38 38 34 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 14 05 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A7 00 00 00 F4 03 04 00 58 0F 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A6 0A 01 00 35 04 06 00 3F 56 24 8D 60 98 ED 3A A5 B5 3B 9C 59 8F [22:25:29]CheckFolder [22:25:29]dirname=/storage/ofd_packets [22:25:29]CheckFolder done [22:25:29]ProducePacketName [22:25:29]name=ofd_packets/00068262 [22:25:29]NVStorageSaveData ofd_packets/00068262 [22:25:29]File name is /storage/ofd_packets/00068262 [22:25:29]Write 584 bytes [22:25:29]NVStorageSaveData done [22:25:29]OFDSenderStorePacket done [22:25:29]KKMCreateOFDPacket done [22:25:29]NVStorageSaveData kkm_last_timestamp [22:25:29]File name is /storage/kkm_last_timestamp [22:25:29]Write 4 bytes [22:25:29]NVStorageSaveData done [22:25:29]ExternCall_PrintAddStr [22:25:29]wPrintStart [22:25:29]Write to MH i2c: 01 00 00 1E 0B 29 [22:25:29]Write i2c OK [22:25:29]MH_I2C_Read... [22:25:29]Read from MH i2c: 01 [22:25:29]MH_I2C_Read... [22:25:29]Read from MH i2c: 01 07 00 [22:25:29]MH_I2C_Read... [22:25:29]Read from MH i2c: 01 07 00 1E 0B 00 00 00 00 00 FF 0F 3E [22:25:29]RasterBufferAndPrint [22:25:29]line Счет N : (3)17207 [22:25:29]line ИНН: 02508201610067 [22:25:29]line Контрольно-Кассовый Чек [22:25:29]line ПРОДАЖА [22:25:29]line Товар: 4630007400242 [22:25:29]line Арахис жарен Караван орехов 50 гр [22:25:29]line 1.000 * 55.00 [22:25:29]line = 55.00 [22:25:29]line НДС 12% НСП 1% [22:25:29]line > о реализуемом товаре [22:25:29]line Товар: 4630007400655 [22:25:29]line Семечки ДЖИНН 70г синий [22:25:29]line 1.000 * 70.00 [22:25:29]line = 70.00 [22:25:29]line НДС 12% НСП 1% [22:25:29]line > о реализуемом товаре [22:25:29]line Товар: 4700000160884 [22:25:29]line Снек Курут индивидуальный [22:25:29]line 3.000 * 13.00 [22:25:29]line = 39.00 [22:25:29]line НДС 12% НСП 1% [22:25:29]line > о реализуемом товаре [22:25:29]line ИТОГО: 164.00 [22:25:29]line НСП 1% : 1.45 [22:25:29]line НДС 12% : 17.41 [22:25:29]line Наличными: 0.00 [22:25:29]line Безнал.: 164.00 [22:25:29]line Место: АЗС № 160 "Партнер Нефть" [22:25:29]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [22:25:29]line СНО: Общий режим [22:25:29]line Чек 167 28.10.2024 22:25 [22:25:29]line Смена: 547 ФФД: 1.0 [22:25:29]line ЗНМ: 0300000093 [22:25:29]line РНМ: 0000000000091759 [22:25:29]line Версия ККМ: 001 [22:25:29]line Платежная система: Mbank [22:25:29]line ФМ: 0000000000871758 [22:25:29]line ФД: 68262 [22:25:29]line ФПД: 69639212982424 [22:25:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T222528&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68262&fm=69639212982424&tin=02508201610067®Number=0000000000091759&sum=16400 [22:25:29]line 0 [22:25:29]OFD Sender: Processing packet 68262 [packets to send 27, broken 26] [22:25:29]ProducePacketName [22:25:29]name=ofd_packets/00068262 [22:25:29]OFD Sender: To server: pG, [22:25:29]CommunicateWithHost lk.salyk.kg:30040 [22:25:29]ConnectInit lk.salyk.kg [22:25:29]written 0, free lines is 4095 [22:25:29]Connected sock=10 [22:25:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2A 02 00 00 A5 C5 22 02 B9 58 5A 03 01 00 03 00 16 02 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 32 34 32 06 04 3B 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 35 30 20 D0 B3 D1 80 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 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 38 38 34 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 14 05 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 91 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 10 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A7 00 00 00 F4 03 04 00 58 0F 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A6 0A 01 00 35 04 06 00 3F 56 24 8D 60 98 ED 3A A5 B5 3B 9C 59 8F [22:25:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 D1 15 47 00 BF 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 38 37 31 37 35 38 10 04 04 00 A6 0A 01 00 F4 03 04 00 38 BB 1F 67 B6 04 01 00 00 3F 9D C4 2A A1 5D 7D B7 [22:25:29]CommunicateWithHost err = 0 [22:25:29]CheckOFDResponse [22:25:29]1017 (14) - 77093643461234 [22:25:29]1041 (16) - 0000000000871758 [22:25:29]1040 (4) - 68262 [22:25:29]1012 (4) - 28.10.2024 16:26 [22:25:29]1206 (1) - 0 [22:25:29]OFD Sender: Remove packet 68262 [22:25:29]ProducePacketName [22:25:29]name=ofd_packets/00068262 [22:25:29]NVStorageDeleteData [22:25:30]Write to MH i2c: 01 00 00 53 0B 5E [22:25:30]Write i2c OK [22:25:30]MH_I2C_Read... [22:25:30]Read from MH i2c: 01 [22:25:30]MH_I2C_Read... [22:25:30]Read from MH i2c: 01 07 00 [22:25:30]MH_I2C_Read... [22:25:30]Read from MH i2c: 01 07 00 53 0B 00 00 00 00 00 07 0C 78 [22:25:30]RasterBufferAndPrint [22:25:30]line [22:25:30]line [22:25:30]line [22:25:30]line [22:25:30]line [22:25:30]written 0, free lines is 3086 [22:25:30]MH_Cut [22:25:30]Write to MH i2c: D1 01 00 5A 0B 01 37 [22:25:30]Write i2c OK [22:25:30]MH_I2C_Read... [22:25:30]Read from MH i2c: D1 [22:25:30]MH_I2C_Read... [22:25:30]Read from MH i2c: D1 01 00 [22:25:30]MH_I2C_Read... [22:25:30]Read from MH i2c: D1 01 00 5A 0B 00 36 [22:25:30]Write to MH i2c: 01 00 00 5B 0B 66 [22:25:30]Write i2c OK [22:25:30]MH_I2C_Read... [22:25:30]OFD Sender: No OFD packet to send [22:25:31]*** Cut start [22:25:31]*** Partial cut [22:25:31]*** CUTSNS_PIN = 1 [22:25:31]*** CUTSNS_PIN = 0 [22:25:31]*** Brake cut motor [22:25:31]Read from MH i2c: 01 [22:25:31]MH_I2C_Read... [22:25:31]*** Stop cut motor [22:25:31]*** Cut end [22:25:31]Read from MH i2c: 01 07 00 [22:25:31]MH_I2C_Read... [22:25:31]Read from MH i2c: 01 07 00 5B 0B 00 00 00 00 00 FF 0F 7B [22:25:31]process_action close_receipt done [22:25:31]requested_data is exist [22:25:31]produce_requested_data [22:25:31]requested_item fm.sn is exist - process it [22:25:31]wFMCommunicate request_size=4 [22:25:31]MH_SAM_APDU [22:25:31]CAPDU: 80 11 00 00 [22:25:31]Write to MH i2c: E2 08 00 5C 0B 80 11 00 00 00 00 00 00 E1 [22:25:31]Write i2c OK [22:25:31]MH_I2C_Read... [22:25:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:25:31]Read from MH i2c: E2 [22:25:31]MH_I2C_Read... [22:25:31]Read from MH i2c: E2 17 00 [22:25:31]MH_I2C_Read... [22:25:31]Read from MH i2c: E2 17 00 5C 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 38 [22:25:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:25:31]wFMCommunicate OK [22:25:31]requested_item fd.num is exist - process it [22:25:31]SAM_PROTO_GetFieldsCounters [22:25:31]wFMCommunicate request_size=4 [22:25:31]MH_SAM_APDU [22:25:31]CAPDU: 80 13 00 00 [22:25:31]Write to MH i2c: E2 08 00 5D 0B 80 13 00 00 00 00 00 00 E4 [22:25:31]Write i2c OK [22:25:31]MH_I2C_Read... [22:25:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:25:31]Read from MH i2c: E2 [22:25:31]MH_I2C_Read... [22:25:31]Read from MH i2c: E2 62 00 [22:25:31]MH_I2C_Read... [22:25:31]Read from MH i2c: E2 62 00 5D 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A6 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A7 00 00 00 5E 04 04 00 A7 00 00 00 57 04 04 00 A8 00 00 00 19 04 04 00 00 00 00 00 90 00 DA [22:25:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A6 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A7 00 00 00 5E 04 04 00 A7 00 00 00 57 04 04 00 A8 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:25:31]wFMCommunicate OK [22:25:31]SAM_PROTO_GetFieldsCounters done [22:25:31]requested_item shift.num is exist - process it [22:25:31]requested_item shift.opened is exist - process it [22:25:31]req_shift_opened [22:25:31]FM_GetShiftState [22:25:31]SAM_PROTO_GetShiftState [22:25:31]wFMCommunicate request_size=4 [22:25:31]MH_SAM_APDU [22:25:31]CAPDU: 80 13 01 00 [22:25:31]Write to MH i2c: E2 08 00 5E 0B 80 13 01 00 00 00 00 00 E6 [22:25:31]Write i2c OK [22:25:31]MH_I2C_Read... [22:25:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:25:31]Read from MH i2c: E2 [22:25:31]MH_I2C_Read... [22:25:31]Read from MH i2c: E2 0E 00 [22:25:31]MH_I2C_Read... [22:25:31]Read from MH i2c: E2 0E 00 5E 0B 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 E1 [22:25:31]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [22:25:31]wFMCommunicate OK [22:25:31]SAM_PROTO_GetShiftState done [22:25:31]FM_GetShiftState done [22:25:31]req_shift_opened done [22:25:31]requested_item shift.open_date is exist - process it [22:25:31]req_shift_open_date [22:25:31]req_shift_open_date done [22:25:31]produce_requested_data done [22:25:31]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68262,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [22:25:31]process_action_free close_receipt [22:25:31]json_value_free [22:25:31]json_value_free done [22:25:31]process_json_proto returns [22:25:31]Send response to host [22:25:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68262,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [22:25:31]free response buf [22:25:31]execute_script done [22:25:31]execute_script returns [22:25:31]free content buf [22:25:31]Sock 9.Close socket [22:25:31]Sock 9.Thread stoped [22:25:35]OFD Sender: No OFD packet to send [22:25:40]OFD Sender: No OFD packet to send [22:25:45]OFD Sender: No OFD packet to send [22:25:50]OFD Sender: No OFD packet to send [22:25:55]OFD Sender: No OFD packet to send [22:26:00]OFD Sender: No OFD packet to send [22:26:05]OFD Sender: No OFD packet to send [22:26:10]OFD Sender: No OFD packet to send [22:26:15]OFD Sender: No OFD packet to send [22:26:20]OFD Sender: No OFD packet to send [22:26:25]OFD Sender: No OFD packet to send [22:26:30]OFD Sender: No OFD packet to send [22:26:35]OFD Sender: No OFD packet to send [22:26:40]OFD Sender: No OFD packet to send [22:26:45]OFD Sender: No OFD packet to send [22:26:50]OFD Sender: No OFD packet to send [22:26:55]OFD Sender: No OFD packet to send [22:27:00]OFD Sender: No OFD packet to send [22:27:05]OFD Sender: No OFD packet to send [22:27:10]OFD Sender: No OFD packet to send [22:27:15]OFD Sender: No OFD packet to send [22:27:20]OFD Sender: No OFD packet to send [22:27:25]OFD Sender: No OFD packet to send [22:27:30]OFD Sender: No OFD packet to send [22:27:35]OFD Sender: No OFD packet to send [22:27:40]OFD Sender: No OFD packet to send [22:27:45]OFD Sender: No OFD packet to send [22:27:50]OFD Sender: No OFD packet to send [22:27:55]OFD Sender: No OFD packet to send [22:28:00]OFD Sender: No OFD packet to send [22:28:05]OFD Sender: No OFD packet to send [22:28:10]OFD Sender: No OFD packet to send [22:28:15]OFD Sender: No OFD packet to send [22:28:20]OFD Sender: No OFD packet to send [22:28:25]OFD Sender: No OFD packet to send [22:28:30]OFD Sender: No OFD packet to send [22:28:35]OFD Sender: No OFD packet to send [22:28:40]OFD Sender: No OFD packet to send [22:28:45]OFD Sender: No OFD packet to send [22:28:50]OFD Sender: No OFD packet to send [22:28:55]OFD Sender: No OFD packet to send [22:29:00]OFD Sender: No OFD packet to send [22:29:05]OFD Sender: No OFD packet to send [22:29:10]OFD Sender: No OFD packet to send [22:29:15]OFD Sender: No OFD packet to send [22:29:20]OFD Sender: No OFD packet to send [22:29:25]OFD Sender: No OFD packet to send [22:29:30]OFD Sender: No OFD packet to send [22:29:35]OFD Sender: No OFD packet to send [22:29:40]OFD Sender: No OFD packet to send [22:29:45]OFD Sender: No OFD packet to send [22:29:50]OFD Sender: No OFD packet to send [22:29:55]OFD Sender: No OFD packet to send [22:30:00]OFD Sender: No OFD packet to send [22:30:05]OFD Sender: No OFD packet to send [22:30:10]OFD Sender: No OFD packet to send [22:30:15]OFD Sender: No OFD packet to send [22:30:20]OFD Sender: No OFD packet to send [22:30:25]OFD Sender: No OFD packet to send [22:30:30]OFD Sender: No OFD packet to send [22:30:35]OFD Sender: No OFD packet to send [22:30:40]OFD Sender: No OFD packet to send [22:30:45]OFD Sender: No OFD packet to send [22:30:50]OFD Sender: No OFD packet to send [22:30:55]OFD Sender: No OFD packet to send [22:31:00]OFD Sender: No OFD packet to send [22:31:05]OFD Sender: No OFD packet to send [22:31:10]OFD Sender: No OFD packet to send [22:31:15]OFD Sender: No OFD packet to send [22:31:20]OFD Sender: No OFD packet to send [22:31:25]OFD Sender: No OFD packet to send [22:31:30]OFD Sender: No OFD packet to send [22:31:35]OFD Sender: No OFD packet to send [22:31:40]OFD Sender: No OFD packet to send [22:31:45]OFD Sender: No OFD packet to send [22:31:50]OFD Sender: No OFD packet to send [22:31:55]OFD Sender: No OFD packet to send [22:32:00]OFD Sender: No OFD packet to send [22:32:05]OFD Sender: No OFD packet to send [22:32:10]OFD Sender: No OFD packet to send [22:32:15]OFD Sender: No OFD packet to send [22:32:20]OFD Sender: No OFD packet to send [22:32:25]OFD Sender: No OFD packet to send [22:32:30]OFD Sender: No OFD packet to send [22:32:35]OFD Sender: No OFD packet to send [22:32:40]OFD Sender: No OFD packet to send [22:32:45]OFD Sender: No OFD packet to send [22:32:50]OFD Sender: No OFD packet to send [22:32:55]OFD Sender: No OFD packet to send [22:33:00]OFD Sender: No OFD packet to send [22:33:05]OFD Sender: No OFD packet to send [22:33:10]OFD Sender: No OFD packet to send [22:33:15]OFD Sender: No OFD packet to send [22:33:20]OFD Sender: No OFD packet to send [22:33:25]OFD Sender: No OFD packet to send [22:33:30]OFD Sender: No OFD packet to send [22:33:35]OFD Sender: No OFD packet to send [22:33:40]OFD Sender: No OFD packet to send [22:33:45]OFD Sender: No OFD packet to send [22:33:50]OFD Sender: No OFD packet to send [22:33:55]OFD Sender: No OFD packet to send [22:34:00]OFD Sender: No OFD packet to send [22:34:05]OFD Sender: No OFD packet to send [22:34:10]OFD Sender: No OFD packet to send [22:34:15]OFD Sender: No OFD packet to send [22:34:20]OFD Sender: No OFD packet to send [22:34:25]OFD Sender: No OFD packet to send [22:34:30]OFD Sender: No OFD packet to send [22:34:35]OFD Sender: No OFD packet to send [22:34:40]OFD Sender: No OFD packet to send [22:34:45]OFD Sender: No OFD packet to send [22:34:50]OFD Sender: No OFD packet to send [22:34:55]OFD Sender: No OFD packet to send [22:35:00]OFD Sender: No OFD packet to send [22:35:05]OFD Sender: No OFD packet to send [22:35:10]OFD Sender: No OFD packet to send [22:35:15]OFD Sender: No OFD packet to send [22:35:20]OFD Sender: No OFD packet to send [22:35:25]OFD Sender: No OFD packet to send [22:35:30]OFD Sender: No OFD packet to send [22:35:35]OFD Sender: No OFD packet to send [22:35:40]OFD Sender: No OFD packet to send [22:35:45]OFD Sender: No OFD packet to send [22:35:50]OFD Sender: No OFD packet to send [22:35:55]OFD Sender: No OFD packet to send [22:36:00]OFD Sender: No OFD packet to send [22:36:05]OFD Sender: No OFD packet to send [22:36:10]OFD Sender: No OFD packet to send [22:36:15]OFD Sender: No OFD packet to send [22:36:20]OFD Sender: No OFD packet to send [22:36:25]OFD Sender: No OFD packet to send [22:36:30]OFD Sender: No OFD packet to send [22:36:35]OFD Sender: No OFD packet to send [22:36:40]OFD Sender: No OFD packet to send [22:36:45]OFD Sender: No OFD packet to send [22:36:50]OFD Sender: No OFD packet to send [22:36:55]OFD Sender: No OFD packet to send [22:37:00]OFD Sender: No OFD packet to send [22:37:05]OFD Sender: No OFD packet to send [22:37:10]OFD Sender: No OFD packet to send [22:37:20]OFD Sender: No OFD packet to send [22:37:25]OFD Sender: No OFD packet to send [22:37:30]OFD Sender: No OFD packet to send [22:37:35]OFD Sender: No OFD packet to send [22:37:40]OFD Sender: No OFD packet to send [22:37:45]OFD Sender: No OFD packet to send [22:37:50]OFD Sender: No OFD packet to send [22:37:55]OFD Sender: No OFD packet to send [22:38:00]OFD Sender: No OFD packet to send [22:38:05]OFD Sender: No OFD packet to send [22:38:10]OFD Sender: No OFD packet to send [22:38:15]OFD Sender: No OFD packet to send [22:38:20]OFD Sender: No OFD packet to send [22:38:25]OFD Sender: No OFD packet to send [22:38:30]OFD Sender: No OFD packet to send [22:38:35]OFD Sender: No OFD packet to send [22:38:40]OFD Sender: No OFD packet to send [22:38:45]OFD Sender: No OFD packet to send [22:38:50]OFD Sender: No OFD packet to send [22:38:55]OFD Sender: No OFD packet to send [22:39:00]OFD Sender: No OFD packet to send [22:39:05]OFD Sender: No OFD packet to send [22:39:10]OFD Sender: No OFD packet to send [22:39:15]OFD Sender: No OFD packet to send [22:39:20]OFD Sender: No OFD packet to send [22:39:25]OFD Sender: No OFD packet to send [22:39:30]OFD Sender: No OFD packet to send [22:39:31]ConnectInit Can't connect to host [22:39:35]OFD Sender: No OFD packet to send [22:39:40]OFD Sender: No OFD packet to send [22:39:45]OFD Sender: No OFD packet to send [22:39:50]OFD Sender: No OFD packet to send [22:39:55]OFD Sender: No OFD packet to send [22:40:00]OFD Sender: No OFD packet to send [22:40:06]OFD Sender: No OFD packet to send [22:40:11]OFD Sender: No OFD packet to send [22:40:16]OFD Sender: No OFD packet to send [22:40:21]OFD Sender: No OFD packet to send [22:40:26]OFD Sender: No OFD packet to send [22:40:31]OFD Sender: No OFD packet to send [22:40:36]OFD Sender: No OFD packet to send [22:40:41]OFD Sender: No OFD packet to send [22:40:46]OFD Sender: No OFD packet to send [22:40:51]OFD Sender: No OFD packet to send [22:40:56]OFD Sender: No OFD packet to send [22:41:01]OFD Sender: No OFD packet to send [22:41:06]OFD Sender: No OFD packet to send [22:41:11]OFD Sender: No OFD packet to send [22:41:16]OFD Sender: No OFD packet to send [22:41:21]OFD Sender: No OFD packet to send [22:41:26]OFD Sender: No OFD packet to send [22:41:31]OFD Sender: No OFD packet to send [22:41:36]OFD Sender: No OFD packet to send [22:41:41]OFD Sender: No OFD packet to send [22:41:46]OFD Sender: No OFD packet to send [22:41:51]OFD Sender: No OFD packet to send [22:41:56]OFD Sender: No OFD packet to send [22:42:01]OFD Sender: No OFD packet to send [22:42:06]OFD Sender: No OFD packet to send [22:42:11]OFD Sender: No OFD packet to send [22:42:16]OFD Sender: No OFD packet to send [22:42:21]OFD Sender: No OFD packet to send [22:42:26]OFD Sender: No OFD packet to send [22:42:31]OFD Sender: No OFD packet to send [22:42:36]OFD Sender: No OFD packet to send [22:42:41]OFD Sender: No OFD packet to send [22:42:46]OFD Sender: No OFD packet to send [22:42:51]OFD Sender: No OFD packet to send [22:42:56]OFD Sender: No OFD packet to send [22:43:01]OFD Sender: No OFD packet to send [22:43:06]OFD Sender: No OFD packet to send [22:43:11]OFD Sender: No OFD packet to send [22:43:16]OFD Sender: No OFD packet to send [22:43:21]OFD Sender: No OFD packet to send [22:43:26]OFD Sender: No OFD packet to send [22:43:31]OFD Sender: No OFD packet to send [22:43:36]OFD Sender: No OFD packet to send [22:43:41]OFD Sender: No OFD packet to send [22:43:46]OFD Sender: No OFD packet to send [22:43:51]OFD Sender: No OFD packet to send [22:43:56]OFD Sender: No OFD packet to send [22:44:01]OFD Sender: No OFD packet to send [22:44:06]OFD Sender: No OFD packet to send [22:44:11]OFD Sender: No OFD packet to send [22:44:16]OFD Sender: No OFD packet to send [22:44:21]OFD Sender: No OFD packet to send [22:44:26]OFD Sender: No OFD packet to send [22:44:31]OFD Sender: No OFD packet to send [22:44:36]OFD Sender: No OFD packet to send [22:44:41]OFD Sender: No OFD packet to send [22:44:46]OFD Sender: No OFD packet to send [22:44:51]OFD Sender: No OFD packet to send [22:44:56]OFD Sender: No OFD packet to send [22:45:01]OFD Sender: No OFD packet to send [22:45:06]OFD Sender: No OFD packet to send [22:45:11]OFD Sender: No OFD packet to send [22:45:16]OFD Sender: No OFD packet to send [22:45:21]OFD Sender: No OFD packet to send [22:45:26]OFD Sender: No OFD packet to send [22:45:31]OFD Sender: No OFD packet to send [22:45:36]OFD Sender: No OFD packet to send [22:45:41]OFD Sender: No OFD packet to send [22:45:46]OFD Sender: No OFD packet to send [22:45:51]OFD Sender: No OFD packet to send [22:45:56]OFD Sender: No OFD packet to send [22:46:01]OFD Sender: No OFD packet to send [22:46:06]OFD Sender: No OFD packet to send [22:46:11]OFD Sender: No OFD packet to send [22:46:16]OFD Sender: No OFD packet to send [22:46:21]OFD Sender: No OFD packet to send [22:46:26]OFD Sender: No OFD packet to send [22:46:31]OFD Sender: No OFD packet to send [22:46:36]OFD Sender: No OFD packet to send [22:46:41]OFD Sender: No OFD packet to send [22:46:46]OFD Sender: No OFD packet to send [22:46:51]OFD Sender: No OFD packet to send [22:46:56]OFD Sender: No OFD packet to send [22:47:01]OFD Sender: No OFD packet to send [22:47:06]OFD Sender: No OFD packet to send [22:47:11]OFD Sender: No OFD packet to send [22:47:16]OFD Sender: No OFD packet to send [22:47:21]OFD Sender: No OFD packet to send [22:47:26]OFD Sender: No OFD packet to send [22:47:31]OFD Sender: No OFD packet to send [22:47:36]OFD Sender: No OFD packet to send [22:47:41]OFD Sender: No OFD packet to send [22:47:46]OFD Sender: No OFD packet to send [22:47:51]OFD Sender: No OFD packet to send [22:47:56]OFD Sender: No OFD packet to send [22:48:01]OFD Sender: No OFD packet to send [22:48:06]OFD Sender: No OFD packet to send [22:48:11]OFD Sender: No OFD packet to send [22:48:16]OFD Sender: No OFD packet to send [22:48:21]OFD Sender: No OFD packet to send [22:48:26]OFD Sender: No OFD packet to send [22:48:31]OFD Sender: No OFD packet to send [22:48:36]OFD Sender: No OFD packet to send [22:48:41]OFD Sender: No OFD packet to send [22:48:46]OFD Sender: No OFD packet to send [22:48:51]OFD Sender: No OFD packet to send [22:48:56]OFD Sender: No OFD packet to send [22:49:01]OFD Sender: No OFD packet to send [22:49:06]OFD Sender: No OFD packet to send [22:49:11]OFD Sender: No OFD packet to send [22:49:16]OFD Sender: No OFD packet to send [22:49:21]OFD Sender: No OFD packet to send [22:49:26]OFD Sender: No OFD packet to send [22:49:31]OFD Sender: No OFD packet to send [22:49:36]OFD Sender: No OFD packet to send [22:49:41]OFD Sender: No OFD packet to send [22:49:46]OFD Sender: No OFD packet to send [22:49:51]OFD Sender: No OFD packet to send [22:49:56]OFD Sender: No OFD packet to send [22:50:01]OFD Sender: No OFD packet to send [22:50:06]OFD Sender: No OFD packet to send [22:50:11]OFD Sender: No OFD packet to send [22:50:16]OFD Sender: No OFD packet to send [22:50:21]OFD Sender: No OFD packet to send [22:50:26]OFD Sender: No OFD packet to send [22:50:31]OFD Sender: No OFD packet to send [22:50:36]OFD Sender: No OFD packet to send [22:50:41]OFD Sender: No OFD packet to send [22:50:46]OFD Sender: No OFD packet to send [22:50:51]OFD Sender: No OFD packet to send [22:50:56]OFD Sender: No OFD packet to send [22:51:01]OFD Sender: No OFD packet to send [22:51:06]OFD Sender: No OFD packet to send [22:51:11]OFD Sender: No OFD packet to send [22:51:16]OFD Sender: No OFD packet to send [22:51:21]OFD Sender: No OFD packet to send [22:51:26]OFD Sender: No OFD packet to send [22:51:31]OFD Sender: No OFD packet to send [22:51:36]OFD Sender: No OFD packet to send [22:51:41]OFD Sender: No OFD packet to send [22:51:46]OFD Sender: No OFD packet to send [22:51:51]OFD Sender: No OFD packet to send [22:51:56]OFD Sender: No OFD packet to send [22:52:01]OFD Sender: No OFD packet to send [22:52:06]OFD Sender: No OFD packet to send [22:52:11]OFD Sender: No OFD packet to send [22:52:16]OFD Sender: No OFD packet to send [22:52:21]OFD Sender: No OFD packet to send [22:52:26]OFD Sender: No OFD packet to send [22:52:31]OFD Sender: No OFD packet to send [22:52:36]OFD Sender: No OFD packet to send [22:52:41]OFD Sender: No OFD packet to send [22:52:46]OFD Sender: No OFD packet to send [22:52:51]OFD Sender: No OFD packet to send [22:52:56]OFD Sender: No OFD packet to send [22:53:01]OFD Sender: No OFD packet to send [22:53:06]OFD Sender: No OFD packet to send [22:53:11]OFD Sender: No OFD packet to send [22:53:16]OFD Sender: No OFD packet to send [22:53:21]OFD Sender: No OFD packet to send [22:53:26]OFD Sender: No OFD packet to send [22:53:31]OFD Sender: No OFD packet to send [22:53:36]OFD Sender: No OFD packet to send [22:53:41]OFD Sender: No OFD packet to send [22:53:46]OFD Sender: No OFD packet to send [22:53:51]OFD Sender: No OFD packet to send [22:53:56]OFD Sender: No OFD packet to send [22:54:01]OFD Sender: No OFD packet to send [22:54:06]OFD Sender: No OFD packet to send [22:54:11]OFD Sender: No OFD packet to send [22:54:16]OFD Sender: No OFD packet to send [22:54:21]OFD Sender: No OFD packet to send [22:54:26]OFD Sender: No OFD packet to send [22:54:31]OFD Sender: No OFD packet to send [22:54:36]OFD Sender: No OFD packet to send [22:54:41]OFD Sender: No OFD packet to send [22:54:46]OFD Sender: No OFD packet to send [22:54:51]OFD Sender: No OFD packet to send [22:54:56]OFD Sender: No OFD packet to send [22:55:01]OFD Sender: No OFD packet to send [22:55:06]OFD Sender: No OFD packet to send [22:55:11]OFD Sender: No OFD packet to send [22:55:16]OFD Sender: No OFD packet to send [22:55:21]OFD Sender: No OFD packet to send [22:55:26]OFD Sender: No OFD packet to send [22:55:31]OFD Sender: No OFD packet to send [22:55:36]OFD Sender: No OFD packet to send [22:55:41]OFD Sender: No OFD packet to send [22:55:46]OFD Sender: No OFD packet to send [22:55:51]OFD Sender: No OFD packet to send [22:55:56]OFD Sender: No OFD packet to send [22:56:01]OFD Sender: No OFD packet to send [22:56:06]OFD Sender: No OFD packet to send [22:56:11]OFD Sender: No OFD packet to send [22:56:16]OFD Sender: No OFD packet to send [22:56:21]OFD Sender: No OFD packet to send [22:56:26]OFD Sender: No OFD packet to send [22:56:31]OFD Sender: No OFD packet to send [22:56:36]OFD Sender: No OFD packet to send [22:56:37]accept exits with 7 [22:56:37]New connection [22:56:37]New thread 3067354468 created [22:56:37]Thread 3067497828 joined [22:56:37]Waiting for new connection... [22:56:37] Sock 7.Parse request [22:56:37]Sock 7.Check first char [22:56:37]Sock 7.First char is OK [22:56:37]request: POST /json_proto HTTP/1.0 [22:56:37]Method: POST [22:56:37]URL: /json_proto [22:56:37]Method is POST - this is cgi request [22:56:37]url: /json_proto [22:56:37]query_string will be loaded in cgi processing [22:56:37]execute_cgi json_proto POST (null) [22:56:37]execute_cgi path=json_proto method=POST [22:56:37]POST find Content-Length [22:56:37]Host: 172.17.42.3:8080 [22:56:37]Content-Length: 676 [22:56:37]Content-Type: application/json [22:56:37] [22:56:37]POST finish read [22:56:37]Found Content-Length = 676 [22:56:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46294", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.990, "sum" : 200.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:56:37]execute_script... [22:56: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 : (1)46294", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 2.990, "sum" : 200.03, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 200.00, "total" : 200.00, "payments": [ { "type": 0, "sum" : 200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:56:37]POST & json_proto [22:56:37]process_json_proto [22:56:37]json parsed OK: [22:56:37]protocol is kg_v1.0 [22:56:37]action value=close_receipt [22:56:37]process_action close_receipt [22:56:37]cmd_close_receipt [22:56:37]MH_GetDate [22:56:37]Write to MH i2c: F0 00 00 5F 0B 59 [22:56:37]Write i2c OK [22:56:37]MH_I2C_Read... [22:56:37]Read from MH i2c: F0 [22:56:37]MH_I2C_Read... [22:56:37]Read from MH i2c: F0 09 00 [22:56:37]MH_I2C_Read... [22:56:37]Read from MH i2c: F0 09 00 5F 0B 00 A6 16 20 67 0E CB 1F 67 04 [22:56:37]GetLastDocTimeStamp 1730154328 [22:56:37]current date 1730156198 [22:56:37]FM_GetShiftState [22:56:37]SAM_PROTO_GetShiftState [22:56:37]wFMCommunicate request_size=4 [22:56:37]MH_SAM_APDU [22:56:37]CAPDU: 80 13 01 00 [22:56:37]Write to MH i2c: E2 08 00 60 0B 80 13 01 00 00 00 00 00 E8 [22:56:37]Write i2c OK [22:56:37]MH_I2C_Read... [22:56:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:56:37]Read from MH i2c: E2 [22:56:37]MH_I2C_Read... [22:56:37]Read from MH i2c: E2 0E 00 [22:56:37]MH_I2C_Read... [22:56:37]Read from MH i2c: E2 0E 00 60 0B 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 E3 [22:56:37]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [22:56:37]wFMCommunicate OK [22:56:37]SAM_PROTO_GetShiftState done [22:56:37]FM_GetShiftState done [22:56:37]opened in 1730074770 [22:56:37]opened+sec_in_day 1730161170 [22:56:37]quantity*price = 20003 [22:56:37]sum+1 = 20004 [22:56:37]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.03 ИТОГО: 200.00 Внесено: 200.00 СДАЧА: 0.00 НСП 1% : 1.77 НДС 12% : 21.24 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 168 28.10.2024 22:56 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68263 ФПД: 169471926002656 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T225638&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68263&fm=169471926002656&tin=02508201610067®Number=0000000000091759&sum=20000 [22:56:38]StoreToDocumentArchive [22:56:38]shift 547 fd 68263 [22:56:38]save to /storage/0547/doc_00068263 [22:56:38]save last doc name /storage/0547/doc_00068263 to /storage/kkm_last_doc_name [22:56:38]save OK [22:56:38]Clear old archive folders... [22:56:38]ProcessDocumentItem done err = 0, tmpTLVsize=251 [22:56:38]tlvbuf is 005E47F0 [22:56:38]SAM_PROTO_ClearQueue [22:56:38]wFMCommunicate request_size=4 [22:56:38]MH_SAM_APDU [22:56:38]CAPDU: 80 09 00 00 [22:56:38]Write to MH i2c: E2 08 00 6D 0B 80 09 00 00 00 00 00 00 EA [22:56:38]Write i2c OK [22:56:38]MH_I2C_Read... [22:56:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:56:38]Read from MH i2c: E2 [22:56:38]MH_I2C_Read... [22:56:38]Read from MH i2c: E2 03 00 [22:56:38]MH_I2C_Read... [22:56:38]Read from MH i2c: E2 03 00 6D 0B 00 90 00 EC [22:56:38]RAPDU: 90 00 [22:56:38]wFMCommunicate OK [22:56:38]SAM_PROTO_ClearQueue done [22:56:38]KKMCreateOFDPacket [22:56:38]OFDProtocolAddRootSTLVToBuf [22:56:38]FM_MakeSignedData [22:56:38]FM_MakeSignedData [22:56:38]SAM_PROTO_SignData [22:56:38]wFMCommunicate request_size=4 [22:56:38]MH_SAM_APDU [22:56:38]CAPDU: 80 0D 01 02 [22:56:38]Write to MH i2c: E2 08 00 6E 0B 80 0D 01 02 00 00 00 00 F2 [22:56:38]Write i2c OK [22:56:38]MH_I2C_Read... [22:56:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:56:38]Read from MH i2c: E2 [22:56:38]MH_I2C_Read... [22:56:38]Read from MH i2c: E2 03 00 [22:56:38]MH_I2C_Read... [22:56:38]Read from MH i2c: E2 03 00 6E 0B 00 90 00 ED [22:56:38]RAPDU: 90 00 [22:56:38]wFMCommunicate OK [22:56:38]wFMCommunicate request_size=255 [22:56:38]MH_SAM_APDU [22:56:38]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A8 00 00 00 F4 03 04 00 A6 16 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A7 0A 01 00 35 04 06 00 9A [22:56:38]Write to MH i2c: E2 02 01 6F 0B 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A8 00 00 00 F4 03 04 00 A6 16 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A7 0A 01 00 35 04 06 00 9A 00 00 A9 [22:56:38]Write i2c OK [22:56:38]MH_I2C_Read... [22:56:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:56:38]Read from MH i2c: E2 [22:56:38]MH_I2C_Read... [22:56:38]Read from MH i2c: E2 03 00 [22:56:38]MH_I2C_Read... [22:56:38]Read from MH i2c: E2 03 00 6F 0B 00 90 00 EE [22:56:38]RAPDU: 90 00 [22:56:38]wFMCommunicate OK [22:56:38]wFMCommunicate request_size=10 [22:56:38]MH_SAM_APDU [22:56:38]CAPDU: 80 0D 02 02 05 22 41 F2 E3 E0 [22:56:38]Write to MH i2c: E2 0D 00 70 0B 80 0D 02 02 05 00 22 41 F2 E3 E0 00 00 17 [22:56:38]Write i2c OK [22:56:38]MH_I2C_Read... [22:56:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:56:38]Read from MH i2c: E2 [22:56:38]MH_I2C_Read... [22:56:38]Read from MH i2c: E2 03 00 [22:56:38]MH_I2C_Read... [22:56:38]Read from MH i2c: E2 03 00 70 0B 00 90 00 EF [22:56:38]RAPDU: 90 00 [22:56:38]wFMCommunicate OK [22:56:38]wFMCommunicate request_size=4 [22:56:38]MH_SAM_APDU [22:56:38]CAPDU: 80 0D 03 02 [22:56:38]Write to MH i2c: E2 08 00 71 0B 80 0D 03 02 00 00 00 00 F7 [22:56:38]Write i2c OK [22:56:38]MH_I2C_Read... [22:56:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:56:38]Read from MH i2c: E2 [22:56:38]MH_I2C_Read... [22:56:38]Read from MH i2c: E2 0B 00 [22:56:38]MH_I2C_Read... [22:56:38]Read from MH i2c: E2 0B 00 71 0B 00 35 65 F6 12 9B 85 97 D5 90 00 26 [22:56:38]RAPDU: 35 65 F6 12 9B 85 97 D5 90 00 [22:56:38]wFMCommunicate OK [22:56:38]SAM_PROTO_SignData done [22:56:38]FM_MakeSignedData done [22:56:38]CreateOFDProtocolMessage [22:56:38]wFMCommunicate request_size=4 [22:56:38]MH_SAM_APDU [22:56:38]CAPDU: 80 11 00 00 [22:56:38]Write to MH i2c: E2 08 00 72 0B 80 11 00 00 00 00 00 00 F7 [22:56:38]Write i2c OK [22:56:38]MH_I2C_Read... [22:56:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:56:38]Read from MH i2c: E2 [22:56:38]MH_I2C_Read... [22:56:38]Read from MH i2c: E2 17 00 [22:56:38]MH_I2C_Read... [22:56:38]Read from MH i2c: E2 17 00 72 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 4E [22:56:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:56:38]wFMCommunicate OK [22:56:38]CreateOFDProtocolMessage done [22:56:38]OFDSenderStorePacket 68263 [22:56:38]StoreOFDPacket docnum=68263 [22:56:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 A8 F9 07 01 EC 13 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A8 00 00 00 F4 03 04 00 A6 16 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A7 0A 01 00 35 04 06 00 9A 22 41 F2 E3 E0 35 65 F6 12 9B 85 97 D5 [22:56:38]CheckFolder [22:56:38]dirname=/storage/ofd_packets [22:56:38]CheckFolder done [22:56:38]ProducePacketName [22:56:38]name=ofd_packets/00068263 [22:56:38]NVStorageSaveData ofd_packets/00068263 [22:56:38]File name is /storage/ofd_packets/00068263 [22:56:38]Write 301 bytes [22:56:38]NVStorageSaveData done [22:56:38]OFDSenderStorePacket done [22:56:38]KKMCreateOFDPacket done [22:56:38]NVStorageSaveData kkm_last_timestamp [22:56:38]File name is /storage/kkm_last_timestamp [22:56:38]Write 4 bytes [22:56:38]NVStorageSaveData done [22:56:38]ExternCall_PrintAddStr [22:56:38]wPrintStart [22:56:38]Write to MH i2c: 01 00 00 73 0B 7E [22:56:38]Write i2c OK [22:56:38]MH_I2C_Read... [22:56:38]Read from MH i2c: 01 [22:56:38]MH_I2C_Read... [22:56:38]Read from MH i2c: 01 07 00 [22:56:38]MH_I2C_Read... [22:56:38]Read from MH i2c: 01 07 00 73 0B 00 00 00 00 00 FF 0F 93 [22:56:38]RasterBufferAndPrint [22:56:38]line Счет N : (1)46294 [22:56:38]line ИНН: 02508201610067 [22:56:38]line Контрольно-Кассовый Чек [22:56:38]line ПРОДАЖА [22:56:38]line ТРК (МРК, ГНК) : 13 [22:56:38]line Товар: 2710124130 [22:56:38]line Аи-92-К-5 [22:56:38]line 2.990 * 66.90 [22:56:38]line = 200.03 [22:56:38]line НДС 12% НСП 1% [22:56:38]line > о реализуемом товаре [22:56:38]line ОКРУГЛЕНИЕ: -0.03 [22:56:38]line ИТОГО: 200.00 [22:56:38]line Внесено: 200.00 [22:56:38]line СДАЧА: 0.00 [22:56:38]line НСП 1% : 1.77 [22:56:38]line НДС 12% : 21.24 [22:56:38]line Наличными: 200.00 [22:56:38]line Безнал.: 0.00 [22:56:38]line Место: АЗС № 160 "Партнер Нефть" [22:56:38]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [22:56:38]line СНО: Общий режим [22:56:38]line Чек 168 28.10.2024 22:56 [22:56:38]line Смена: 547 ФФД: 1.0 [22:56:38]line ЗНМ: 0300000093 [22:56:38]line РНМ: 0000000000091759 [22:56:38]line Версия ККМ: 001 [22:56:38]line ФМ: 0000000000871758 [22:56:38]line ФД: 68263 [22:56:38]line ФПД: 169471926002656 [22:56:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T225638&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68263&fm=169471926002656&tin=02508201610067®Number=0000000000091759&sum=20000 [22:56:39]OFD Sender: Processing packet 68263 [packets to send 27, broken 26] [22:56:39]ProducePacketName [22:56:39]name=ofd_packets/00068263 [22:56:39]OFD Sender: To server: pG, [22:56:39]CommunicateWithHost lk.salyk.kg:30040 [22:56:39]ConnectInit lk.salyk.kg [22:56:39]written 0, free lines is 4095 [22:56:39]Connected sock=10 [22:56:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 A8 F9 07 01 EC 13 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AE 0B 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 23 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A8 00 00 00 F4 03 04 00 A6 16 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A7 0A 01 00 35 04 06 00 9A 22 41 F2 E3 E0 35 65 F6 12 9B 85 97 D5 [22:56:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 D7 2F 47 00 4B 43 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A7 0A 01 00 F4 03 04 00 86 C2 1F 67 B6 04 01 00 00 61 51 E1 A8 A3 BE 49 14 [22:56:39]CommunicateWithHost err = 0 [22:56:39]CheckOFDResponse [22:56:39]1017 (14) - 77093643461234 [22:56:39]1041 (16) - 0000000000871758 [22:56:39]1040 (4) - 68263 [22:56:39]1012 (4) - 28.10.2024 16:57 [22:56:39]1206 (1) - 0 [22:56:39]OFD Sender: Remove packet 68263 [22:56:39]ProducePacketName [22:56:39]name=ofd_packets/00068263 [22:56:39]NVStorageDeleteData [22:56:39]Write to MH i2c: 01 00 00 9D 0B A8 [22:56:39]Write i2c OK [22:56:39]MH_I2C_Read... [22:56:39]Read from MH i2c: 01 [22:56:39]MH_I2C_Read... [22:56:39]Read from MH i2c: 01 07 00 [22:56:39]MH_I2C_Read... [22:56:39]Read from MH i2c: 01 07 00 9D 0B 00 00 00 00 00 B4 0C 6F [22:56:39]RasterBufferAndPrint [22:56:39]line [22:56:39]line [22:56:39]line [22:56:39]line [22:56:39]line [22:56:39]written 0, free lines is 3256 [22:56:39]MH_Cut [22:56:39]Write to MH i2c: D1 01 00 A4 0B 01 81 [22:56:39]Write i2c OK [22:56:39]MH_I2C_Read... [22:56:39]Read from MH i2c: D1 [22:56:39]MH_I2C_Read... [22:56:39]Read from MH i2c: D1 01 00 [22:56:39]MH_I2C_Read... [22:56:39]Read from MH i2c: D1 01 00 A4 0B 00 80 [22:56:39]Write to MH i2c: 01 00 00 A5 0B B0 [22:56:39]Write i2c OK [22:56:39]MH_I2C_Read... [22:56:40]OFD Sender: No OFD packet to send [22:56:40]*** Cut start [22:56:40]*** Partial cut [22:56:40]*** CUTSNS_PIN = 1 [22:56:40]*** CUTSNS_PIN = 0 [22:56:40]*** Brake cut motor [22:56:41]Read from MH i2c: 01 [22:56:41]MH_I2C_Read... [22:56:41]*** Stop cut motor [22:56:41]*** Cut end [22:56:41]Read from MH i2c: 01 07 00 [22:56:41]MH_I2C_Read... [22:56:41]Read from MH i2c: 01 07 00 A5 0B 00 00 00 00 00 FF 0F C5 [22:56:41]process_action close_receipt done [22:56:41]requested_data is exist [22:56:41]produce_requested_data [22:56:41]requested_item fm.sn is exist - process it [22:56:41]wFMCommunicate request_size=4 [22:56:41]MH_SAM_APDU [22:56:41]CAPDU: 80 11 00 00 [22:56:41]Write to MH i2c: E2 08 00 A6 0B 80 11 00 00 00 00 00 00 2B [22:56:41]Write i2c OK [22:56:41]MH_I2C_Read... [22:56:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:56:41]Read from MH i2c: E2 [22:56:41]MH_I2C_Read... [22:56:41]Read from MH i2c: E2 17 00 [22:56:41]MH_I2C_Read... [22:56:41]Read from MH i2c: E2 17 00 A6 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 82 [22:56:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [22:56:41]wFMCommunicate OK [22:56:41]requested_item fd.num is exist - process it [22:56:41]SAM_PROTO_GetFieldsCounters [22:56:41]wFMCommunicate request_size=4 [22:56:41]MH_SAM_APDU [22:56:41]CAPDU: 80 13 00 00 [22:56:41]Write to MH i2c: E2 08 00 A7 0B 80 13 00 00 00 00 00 00 2E [22:56:41]Write i2c OK [22:56:41]MH_I2C_Read... [22:56:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:56:41]Read from MH i2c: E2 [22:56:41]MH_I2C_Read... [22:56:41]Read from MH i2c: E2 62 00 [22:56:41]MH_I2C_Read... [22:56:41]Read from MH i2c: E2 62 00 A7 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A7 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A8 00 00 00 5E 04 04 00 A8 00 00 00 57 04 04 00 A9 00 00 00 19 04 04 00 00 00 00 00 90 00 28 [22:56:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A7 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A8 00 00 00 5E 04 04 00 A8 00 00 00 57 04 04 00 A9 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:56:41]wFMCommunicate OK [22:56:41]SAM_PROTO_GetFieldsCounters done [22:56:41]requested_item shift.num is exist - process it [22:56:41]requested_item shift.opened is exist - process it [22:56:41]req_shift_opened [22:56:41]FM_GetShiftState [22:56:41]SAM_PROTO_GetShiftState [22:56:41]wFMCommunicate request_size=4 [22:56:41]MH_SAM_APDU [22:56:41]CAPDU: 80 13 01 00 [22:56:41]Write to MH i2c: E2 08 00 A8 0B 80 13 01 00 00 00 00 00 30 [22:56:41]Write i2c OK [22:56:41]MH_I2C_Read... [22:56:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:56:41]Read from MH i2c: E2 [22:56:41]MH_I2C_Read... [22:56:41]Read from MH i2c: E2 0E 00 [22:56:41]MH_I2C_Read... [22:56:41]Read from MH i2c: E2 0E 00 A8 0B 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 2B [22:56:41]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [22:56:41]wFMCommunicate OK [22:56:41]SAM_PROTO_GetShiftState done [22:56:41]FM_GetShiftState done [22:56:41]req_shift_opened done [22:56:41]requested_item shift.open_date is exist - process it [22:56:41]req_shift_open_date [22:56:41]req_shift_open_date done [22:56:41]produce_requested_data done [22:56:41]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68263,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [22:56:41]process_action_free close_receipt [22:56:41]json_value_free [22:56:41]json_value_free done [22:56:41]process_json_proto returns [22:56:41]Send response to host [22:56:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68263,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [22:56:41]free response buf [22:56:41]execute_script done [22:56:41]execute_script returns [22:56:41]free content buf [22:56:41]Sock 7.Close socket [22:56:41]Sock 7.Thread stoped [22:56:45]OFD Sender: No OFD packet to send [22:56:50]OFD Sender: No OFD packet to send [22:56:55]OFD Sender: No OFD packet to send [22:57:00]OFD Sender: No OFD packet to send [22:57:05]OFD Sender: No OFD packet to send [22:57:10]OFD Sender: No OFD packet to send [22:57:15]OFD Sender: No OFD packet to send [22:57:20]OFD Sender: No OFD packet to send [22:57:25]OFD Sender: No OFD packet to send [22:57:30]OFD Sender: No OFD packet to send [22:57:35]OFD Sender: No OFD packet to send [22:57:40]OFD Sender: No OFD packet to send [22:57:45]OFD Sender: No OFD packet to send [22:57:50]OFD Sender: No OFD packet to send [22:57:55]OFD Sender: No OFD packet to send [22:58:00]OFD Sender: No OFD packet to send [22:58:05]OFD Sender: No OFD packet to send [22:58:10]OFD Sender: No OFD packet to send [22:58:15]OFD Sender: No OFD packet to send [22:58:20]OFD Sender: No OFD packet to send [22:58:25]OFD Sender: No OFD packet to send [22:58:30]OFD Sender: No OFD packet to send [22:58:35]OFD Sender: No OFD packet to send [22:58:40]OFD Sender: No OFD packet to send [22:58:45]OFD Sender: No OFD packet to send [22:58:50]OFD Sender: No OFD packet to send [22:58:55]OFD Sender: No OFD packet to send [22:59:00]OFD Sender: No OFD packet to send [22:59:05]OFD Sender: No OFD packet to send [22:59:10]OFD Sender: No OFD packet to send [22:59:15]OFD Sender: No OFD packet to send [22:59:20]OFD Sender: No OFD packet to send [22:59:25]OFD Sender: No OFD packet to send [22:59:30]OFD Sender: No OFD packet to send [22:59:35]OFD Sender: No OFD packet to send [22:59:40]OFD Sender: No OFD packet to send [22:59:45]OFD Sender: No OFD packet to send [22:59:50]OFD Sender: No OFD packet to send [22:59:55]OFD Sender: No OFD packet to send [23:00:00]OFD Sender: No OFD packet to send [23:00:05]OFD Sender: No OFD packet to send [23:00:10]OFD Sender: No OFD packet to send [23:00:15]OFD Sender: No OFD packet to send [23:00:20]OFD Sender: No OFD packet to send [23:00:25]OFD Sender: No OFD packet to send [23:00:30]OFD Sender: No OFD packet to send [23:00:35]OFD Sender: No OFD packet to send [23:00:40]OFD Sender: No OFD packet to send [23:00:45]OFD Sender: No OFD packet to send [23:00:50]OFD Sender: No OFD packet to send [23:00:55]OFD Sender: No OFD packet to send [23:01:00]OFD Sender: No OFD packet to send [23:01:05]OFD Sender: No OFD packet to send [23:01:10]OFD Sender: No OFD packet to send [23:01:15]OFD Sender: No OFD packet to send [23:01:20]OFD Sender: No OFD packet to send [23:01:25]OFD Sender: No OFD packet to send [23:01:30]OFD Sender: No OFD packet to send [23:01:35]OFD Sender: No OFD packet to send [23:01:40]OFD Sender: No OFD packet to send [23:01:45]OFD Sender: No OFD packet to send [23:01:50]OFD Sender: No OFD packet to send [23:01:55]OFD Sender: No OFD packet to send [23:02:00]OFD Sender: No OFD packet to send [23:02:05]OFD Sender: No OFD packet to send [23:02:10]OFD Sender: No OFD packet to send [23:02:15]OFD Sender: No OFD packet to send [23:02:20]OFD Sender: No OFD packet to send [23:02:25]OFD Sender: No OFD packet to send [23:02:30]OFD Sender: No OFD packet to send [23:02:35]OFD Sender: No OFD packet to send [23:02:40]OFD Sender: No OFD packet to send [23:02:45]OFD Sender: No OFD packet to send [23:02:50]OFD Sender: No OFD packet to send [23:02:55]OFD Sender: No OFD packet to send [23:03:00]OFD Sender: No OFD packet to send [23:03:05]OFD Sender: No OFD packet to send [23:03:10]OFD Sender: No OFD packet to send [23:03:15]OFD Sender: No OFD packet to send [23:03:20]OFD Sender: No OFD packet to send [23:03:25]OFD Sender: No OFD packet to send [23:03:30]OFD Sender: No OFD packet to send [23:03:35]OFD Sender: No OFD packet to send [23:03:40]OFD Sender: No OFD packet to send [23:03:45]OFD Sender: No OFD packet to send [23:03:50]OFD Sender: No OFD packet to send [23:03:55]OFD Sender: No OFD packet to send [23:04:00]OFD Sender: No OFD packet to send [23:04:05]OFD Sender: No OFD packet to send [23:04:10]OFD Sender: No OFD packet to send [23:04:15]OFD Sender: No OFD packet to send [23:04:20]OFD Sender: No OFD packet to send [23:04:25]OFD Sender: No OFD packet to send [23:04:30]OFD Sender: No OFD packet to send [23:04:35]OFD Sender: No OFD packet to send [23:04:40]OFD Sender: No OFD packet to send [23:04:42]accept exits with 9 [23:04:42]New connection [23:04:42]New thread 3067497828 created [23:04:42]Thread 3067354468 joined [23:04:42]Waiting for new connection... [23:04:42] Sock 9.Parse request [23:04:42]Sock 9.Check first char [23:04:42]Sock 9.First char is OK [23:04:42]request: POST /json_proto HTTP/1.0 [23:04:42]Method: POST [23:04:42]URL: /json_proto [23:04:42]Method is POST - this is cgi request [23:04:42]url: /json_proto [23:04:42]query_string will be loaded in cgi processing [23:04:42]execute_cgi json_proto POST (null) [23:04:42]execute_cgi path=json_proto method=POST [23:04:42]POST find Content-Length [23:04:42]Host: 172.17.42.3:8080 [23:04:42]Content-Length: 1721 [23:04:42]Content-Type: application/json [23:04:42] [23:04:42]POST finish read [23:04:42]Found Content-Length = 1721 [23:04:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17208", "tax_sys" : 0, "items" : [ { "code": "4870202522701", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 1,2", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521148", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D 0.45\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.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: Mbank", "payments": [ { "type": 1, "sum" : 374.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:04:42]execute_script... [23:04:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17208", "tax_sys" : 0, "items" : [ { "code": "4870202522701", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 1,2", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521148", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D 0.45\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.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: Mbank", "payments": [ { "type": 1, "sum" : 374.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:04:43]POST & json_proto [23:04:43]process_json_proto [23:04:43]json parsed OK: [23:04:43]protocol is kg_v1.0 [23:04:43]action value=close_receipt [23:04:43]process_action close_receipt [23:04:43]cmd_close_receipt [23:04:43]MH_GetDate [23:04:43]Write to MH i2c: F0 00 00 A9 0B A3 [23:04:43]Write i2c OK [23:04:43]MH_I2C_Read... [23:04:43]Read from MH i2c: F0 [23:04:43]MH_I2C_Read... [23:04:43]Read from MH i2c: F0 09 00 [23:04:43]MH_I2C_Read... [23:04:43]Read from MH i2c: F0 09 00 A9 0B 00 8C 18 20 67 0E CB 1F 67 36 [23:04:43]GetLastDocTimeStamp 1730156198 [23:04:43]current date 1730156684 [23:04:43]FM_GetShiftState [23:04:43]SAM_PROTO_GetShiftState [23:04:43]wFMCommunicate request_size=4 [23:04:43]MH_SAM_APDU [23:04:43]CAPDU: 80 13 01 00 [23:04:43]Write to MH i2c: E2 08 00 AA 0B 80 13 01 00 00 00 00 00 32 [23:04:43]Write i2c OK [23:04:43]MH_I2C_Read... [23:04:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:04:43]Read from MH i2c: E2 [23:04:43]MH_I2C_Read... [23:04:43]Read from MH i2c: E2 0E 00 [23:04:43]MH_I2C_Read... [23:04:43]Read from MH i2c: E2 0E 00 AA 0B 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 2D [23:04:43]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:04:43]wFMCommunicate OK [23:04:43]SAM_PROTO_GetShiftState done [23:04:43]FM_GetShiftState done [23:04:43]opened in 1730074770 [23:04:43]opened+sec_in_day 1730161170 [23:04:43]quantity*price = 12500 [23:04:43]sum+1 = 12501 [23:04:43]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870112002775 Шок батончик ALBENI BITES 80гр 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870202521216 Напиток MAXI чай 1,2 зел.лимон (новый) 1.000 * 104.00 = 104.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870202521148 Напиток MAXI чай зел лимон 0.45л 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 374.00 НСП 1% : 3.31 НДС 12% : 39.70 Наличными: 0.00 Безнал.: 374.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 169 28.10.2024 23:04 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68264 ФПД: 59923125855957 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T230444&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68264&fm=59923125855957&tin=02508201610067®Number=0000000000091759&sum=37400 0 [23:04:44]StoreToDocumentArchive [23:04:44]shift 547 fd 68264 [23:04:44]save to /storage/0547/doc_00068264 [23:04:44]save last doc name /storage/0547/doc_00068264 to /storage/kkm_last_doc_name [23:04:44]save OK [23:04:44]Clear old archive folders... [23:04:44]ProcessDocumentItem done err = 0, tmpTLVsize=669 [23:04:44]tlvbuf is B6FDD230 [23:04:44]SAM_PROTO_ClearQueue [23:04:44]wFMCommunicate request_size=4 [23:04:44]MH_SAM_APDU [23:04:44]CAPDU: 80 09 00 00 [23:04:44]Write to MH i2c: E2 08 00 B7 0B 80 09 00 00 00 00 00 00 34 [23:04:44]Write i2c OK [23:04:44]MH_I2C_Read... [23:04:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:04:44]Read from MH i2c: E2 [23:04:44]MH_I2C_Read... [23:04:44]Read from MH i2c: E2 03 00 [23:04:44]MH_I2C_Read... [23:04:44]Read from MH i2c: E2 03 00 B7 0B 00 90 00 36 [23:04:44]RAPDU: 90 00 [23:04:44]wFMCommunicate OK [23:04:44]SAM_PROTO_ClearQueue done [23:04:44]KKMCreateOFDPacket [23:04:44]OFDProtocolAddRootSTLVToBuf [23:04:44]FM_MakeSignedData [23:04:44]FM_MakeSignedData [23:04:44]SAM_PROTO_SignData [23:04:44]wFMCommunicate request_size=4 [23:04:44]MH_SAM_APDU [23:04:44]CAPDU: 80 0D 01 02 [23:04:44]Write to MH i2c: E2 08 00 B8 0B 80 0D 01 02 00 00 00 00 3C [23:04:44]Write i2c OK [23:04:44]MH_I2C_Read... [23:04:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:04:44]Read from MH i2c: E2 [23:04:44]MH_I2C_Read... [23:04:44]Read from MH i2c: E2 03 00 [23:04:44]MH_I2C_Read... [23:04:44]Read from MH i2c: E2 03 00 B8 0B 00 90 00 37 [23:04:44]RAPDU: 90 00 [23:04:44]wFMCommunicate OK [23:04:44]wFMCommunicate request_size=255 [23:04:44]MH_SAM_APDU [23:04:44]CAPDU: 80 0D 02 02 FA 03 00 9D 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 [23:04:44]Write to MH i2c: E2 02 01 B9 0B 80 0D 02 02 FA 00 03 00 9D 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 00 A0 [23:04:44]Write i2c OK [23:04:44]MH_I2C_Read... [23:04:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:04:44]Read from MH i2c: E2 [23:04:44]MH_I2C_Read... [23:04:44]Read from MH i2c: E2 03 00 [23:04:44]MH_I2C_Read... [23:04:44]Read from MH i2c: E2 03 00 B9 0B 00 90 00 38 [23:04:44]RAPDU: 90 00 [23:04:44]wFMCommunicate OK [23:04:44]wFMCommunicate request_size=255 [23:04:44]MH_SAM_APDU [23:04:44]CAPDU: 80 0D 02 02 FA 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 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 38 37 30 32 30 32 35 32 31 31 34 38 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 30 2E 34 35 D0 BB FF 03 08 00 03 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 [23:04:44]Write to MH i2c: E2 02 01 BA 0B 80 0D 02 02 FA 00 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 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 38 37 30 32 30 32 35 32 31 31 34 38 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 30 2E 34 35 D0 BB FF 03 08 00 03 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 00 00 F1 [23:04:44]Write i2c OK [23:04:44]MH_I2C_Read... [23:04:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:04:45]Read from MH i2c: E2 [23:04:45]MH_I2C_Read... [23:04:45]Read from MH i2c: E2 03 00 [23:04:45]MH_I2C_Read... [23:04:45]Read from MH i2c: E2 03 00 BA 0B 00 90 00 39 [23:04:45]RAPDU: 90 00 [23:04:45]wFMCommunicate OK [23:04:45]wFMCommunicate request_size=178 [23:04:45]MH_SAM_APDU [23:04:45]CAPDU: 80 0D 02 02 AD 01 00 01 BC 04 01 00 01 FC 03 06 00 18 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 82 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 92 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A9 00 00 00 F4 03 04 00 8C 18 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A8 0A 01 00 35 04 06 00 36 7F F0 A1 66 D5 [23:04:45]Write to MH i2c: E2 B5 00 BB 0B 80 0D 02 02 AD 00 01 00 01 BC 04 01 00 01 FC 03 06 00 18 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 82 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 92 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A9 00 00 00 F4 03 04 00 8C 18 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A8 0A 01 00 35 04 06 00 36 7F F0 A1 66 D5 00 00 08 [23:04:45]Write i2c OK [23:04:45]MH_I2C_Read... [23:04:45]Read from MH i2c: E2 [23:04:45]MH_I2C_Read... [23:04:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:04:45]Read from MH i2c: E2 03 00 [23:04:45]MH_I2C_Read... [23:04:45]Read from MH i2c: E2 03 00 BB 0B 00 90 00 3A [23:04:45]RAPDU: 90 00 [23:04:45]wFMCommunicate OK [23:04:45]wFMCommunicate request_size=4 [23:04:45]MH_SAM_APDU [23:04:45]CAPDU: 80 0D 03 02 [23:04:45]Write to MH i2c: E2 08 00 BC 0B 80 0D 03 02 00 00 00 00 42 [23:04:45]Write i2c OK [23:04:45]MH_I2C_Read... [23:04:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:04:45]Read from MH i2c: E2 [23:04:45]MH_I2C_Read... [23:04:45]Read from MH i2c: E2 0B 00 [23:04:45]MH_I2C_Read... [23:04:45]Read from MH i2c: E2 0B 00 BC 0B 00 D3 B0 43 08 EF DE F2 34 90 00 04 [23:04:45]RAPDU: D3 B0 43 08 EF DE F2 34 90 00 [23:04:45]wFMCommunicate OK [23:04:45]SAM_PROTO_SignData done [23:04:45]FM_MakeSignedData done [23:04:45]CreateOFDProtocolMessage [23:04:45]wFMCommunicate request_size=4 [23:04:45]MH_SAM_APDU [23:04:45]CAPDU: 80 11 00 00 [23:04:45]Write to MH i2c: E2 08 00 BD 0B 80 11 00 00 00 00 00 00 42 [23:04:45]Write i2c OK [23:04:45]MH_I2C_Read... [23:04:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:04:45]Read from MH i2c: E2 [23:04:45]MH_I2C_Read... [23:04:45]Read from MH i2c: E2 17 00 [23:04:45]MH_I2C_Read... [23:04:45]Read from MH i2c: E2 17 00 BD 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 99 [23:04:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:04:45]wFMCommunicate OK [23:04:45]CreateOFDProtocolMessage done [23:04:45]OFDSenderStorePacket 68264 [23:04:45]StoreOFDPacket docnum=68264 [23:04:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 B1 02 00 00 CC 9B A9 02 EB 81 5A 03 01 00 03 00 9D 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 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 38 37 30 32 30 32 35 32 31 31 34 38 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 30 2E 34 35 D0 BB FF 03 08 00 03 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 18 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 82 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 92 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A9 00 00 00 F4 03 04 00 8C 18 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A8 0A 01 00 35 04 06 00 36 7F F0 A1 66 D5 D3 B0 43 08 EF DE F2 34 [23:04:45]CheckFolder [23:04:45]dirname=/storage/ofd_packets [23:04:45]CheckFolder done [23:04:45]ProducePacketName [23:04:45]name=ofd_packets/00068264 [23:04:45]NVStorageSaveData ofd_packets/00068264 [23:04:45]File name is /storage/ofd_packets/00068264 [23:04:45]Write 719 bytes [23:04:45]NVStorageSaveData done [23:04:45]OFDSenderStorePacket done [23:04:45]KKMCreateOFDPacket done [23:04:45]NVStorageSaveData kkm_last_timestamp [23:04:45]File name is /storage/kkm_last_timestamp [23:04:45]Write 4 bytes [23:04:45]NVStorageSaveData done [23:04:45]ExternCall_PrintAddStr [23:04:45]wPrintStart [23:04:45]Write to MH i2c: 01 00 00 BE 0B C9 [23:04:45]Write i2c OK [23:04:45]MH_I2C_Read... [23:04:45]Read from MH i2c: 01 [23:04:45]MH_I2C_Read... [23:04:45]Read from MH i2c: 01 07 00 [23:04:45]MH_I2C_Read... [23:04:45]Read from MH i2c: 01 07 00 BE 0B 00 00 00 00 00 FF 0F DE [23:04:45]RasterBufferAndPrint [23:04:45]line Счет N : (3)17208 [23:04:45]line ИНН: 02508201610067 [23:04:45]line Контрольно-Кассовый Чек [23:04:45]line ПРОДАЖА [23:04:45]line Товар: 4870202522701 [23:04:45]line Напиток Maxi Чай черный Малина 1,2 [23:04:45]line 1.000 * 125.00 [23:04:45]line = 125.00 [23:04:45]line НДС 12% НСП 1% [23:04:45]line > о реализуемом товаре [23:04:45]line Товар: 4870112002775 [23:04:45]line Шок батончик ALBENI BITES 80гр [23:04:45]line 1.000 * 75.00 [23:04:45]line = 75.00 [23:04:45]line НДС 12% НСП 1% [23:04:45]line > о реализуемом товаре [23:04:45]line Товар: 4870202521216 [23:04:45]line Напиток MAXI чай 1,2 зел.лимон (новый) [23:04:45]line 1.000 * 104.00 [23:04:45]line = 104.00 [23:04:45]line НДС 12% НСП 1% [23:04:45]line > о реализуемом товаре [23:04:45]line Товар: 4870202521148 [23:04:45]line Напиток MAXI чай зел лимон 0.45л [23:04:45]line 1.000 * 70.00 [23:04:45]line = 70.00 [23:04:45]line НДС 12% НСП 1% [23:04:45]line > о реализуемом товаре [23:04:45]line ИТОГО: 374.00 [23:04:45]line НСП 1% : 3.31 [23:04:45]line НДС 12% : 39.70 [23:04:45]line Наличными: 0.00 [23:04:45]line Безнал.: 374.00 [23:04:45]line Место: АЗС № 160 "Партнер Нефть" [23:04:45]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [23:04:45]line СНО: Общий режим [23:04:45]line Чек 169 28.10.2024 23:04 [23:04:45]line Смена: 547 ФФД: 1.0 [23:04:45]line ЗНМ: 0300000093 [23:04:45]line РНМ: 0000000000091759 [23:04:45]line Версия ККМ: 001 [23:04:45]line Платежная система: Mbank [23:04:45]line ФМ: 0000000000871758 [23:04:45]line ФД: 68264 [23:04:45]line ФПД: 59923125855957 [23:04:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T230444&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68264&fm=59923125855957&tin=02508201610067®Number=0000000000091759&sum=37400 [23:04:45]line 0 [23:04:45]OFD Sender: Processing packet 68264 [packets to send 27, broken 26] [23:04:45]ProducePacketName [23:04:45]name=ofd_packets/00068264 [23:04:45]OFD Sender: To server: pG, [23:04:45]CommunicateWithHost lk.salyk.kg:30040 [23:04:45]ConnectInit lk.salyk.kg [23:04:45]written 0, free lines is 4095 [23:04:45]Connected sock=10 [23:04:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 B1 02 00 00 CC 9B A9 02 EB 81 5A 03 01 00 03 00 9D 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 37 30 31 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 31 2C 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 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 38 37 30 32 30 32 35 32 31 31 34 38 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 30 2E 34 35 D0 BB FF 03 08 00 03 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 18 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 82 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 92 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 A9 00 00 00 F4 03 04 00 8C 18 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A8 0A 01 00 35 04 06 00 36 7F F0 A1 66 D5 D3 B0 43 08 EF DE F2 34 [23:04:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 20 71 47 00 0B 78 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A8 0A 01 00 F4 03 04 00 6C C4 1F 67 B6 04 01 00 00 AB B4 A5 72 47 72 4C 52 [23:04:45]CommunicateWithHost err = 0 [23:04:45]CheckOFDResponse [23:04:45]1017 (14) - 77093643461234 [23:04:45]1041 (16) - 0000000000871758 [23:04:45]1040 (4) - 68264 [23:04:45]1012 (4) - 28.10.2024 17:05 [23:04:45]1206 (1) - 0 [23:04:45]OFD Sender: Remove packet 68264 [23:04:45]ProducePacketName [23:04:45]name=ofd_packets/00068264 [23:04:45]NVStorageDeleteData [23:04:46]Write to MH i2c: 01 00 00 FC 0B 07 [23:04:46]Write i2c OK [23:04:46]MH_I2C_Read... [23:04:46]Read from MH i2c: 01 [23:04:46]MH_I2C_Read... [23:04:46]Read from MH i2c: 01 07 00 [23:04:46]MH_I2C_Read... [23:04:46]Read from MH i2c: 01 07 00 FC 0B 00 00 00 00 00 41 0B 5A [23:04:46]RasterBufferAndPrint [23:04:46]line [23:04:46]line [23:04:46]line [23:04:46]line [23:04:46]line [23:04:46]written 0, free lines is 2887 [23:04:46]MH_Cut [23:04:46]Write to MH i2c: D1 01 00 03 0C 01 E1 [23:04:46]Write i2c OK [23:04:46]MH_I2C_Read... [23:04:46]Read from MH i2c: D1 [23:04:46]MH_I2C_Read... [23:04:46]Read from MH i2c: D1 01 00 [23:04:46]MH_I2C_Read... [23:04:46]Read from MH i2c: D1 01 00 03 0C 00 E0 [23:04:46]Write to MH i2c: 01 00 00 04 0C 10 [23:04:46]Write i2c OK [23:04:46]MH_I2C_Read... [23:04:46]OFD Sender: No OFD packet to send [23:04:47]*** Cut start [23:04:47]*** Partial cut [23:04:47]*** CUTSNS_PIN = 1 [23:04:47]*** CUTSNS_PIN = 0 [23:04:47]*** Brake cut motor [23:04:48]Read from MH i2c: 01 [23:04:48]MH_I2C_Read... [23:04:48]*** Stop cut motor [23:04:48]*** Cut end [23:04:48]Read from MH i2c: 01 07 00 [23:04:48]MH_I2C_Read... [23:04:48]Read from MH i2c: 01 07 00 04 0C 00 00 00 00 00 FF 0F 25 [23:04:48]process_action close_receipt done [23:04:48]requested_data is exist [23:04:48]produce_requested_data [23:04:48]requested_item fm.sn is exist - process it [23:04:48]wFMCommunicate request_size=4 [23:04:48]MH_SAM_APDU [23:04:48]CAPDU: 80 11 00 00 [23:04:48]Write to MH i2c: E2 08 00 05 0C 80 11 00 00 00 00 00 00 8B [23:04:48]Write i2c OK [23:04:48]MH_I2C_Read... [23:04:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:04:48]Read from MH i2c: E2 [23:04:48]MH_I2C_Read... [23:04:48]Read from MH i2c: E2 17 00 [23:04:48]MH_I2C_Read... [23:04:48]Read from MH i2c: E2 17 00 05 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 E2 [23:04:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:04:48]wFMCommunicate OK [23:04:48]requested_item fd.num is exist - process it [23:04:48]SAM_PROTO_GetFieldsCounters [23:04:48]wFMCommunicate request_size=4 [23:04:48]MH_SAM_APDU [23:04:48]CAPDU: 80 13 00 00 [23:04:48]Write to MH i2c: E2 08 00 06 0C 80 13 00 00 00 00 00 00 8E [23:04:48]Write i2c OK [23:04:48]MH_I2C_Read... [23:04:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:04:48]Read from MH i2c: E2 [23:04:48]MH_I2C_Read... [23:04:48]Read from MH i2c: E2 62 00 [23:04:48]MH_I2C_Read... [23:04:48]Read from MH i2c: E2 62 00 06 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A8 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A9 00 00 00 5E 04 04 00 A9 00 00 00 57 04 04 00 AA 00 00 00 19 04 04 00 00 00 00 00 90 00 8C [23:04:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A8 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 A9 00 00 00 5E 04 04 00 A9 00 00 00 57 04 04 00 AA 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:04:48]wFMCommunicate OK [23:04:48]SAM_PROTO_GetFieldsCounters done [23:04:48]requested_item shift.num is exist - process it [23:04:48]requested_item shift.opened is exist - process it [23:04:48]req_shift_opened [23:04:48]FM_GetShiftState [23:04:48]SAM_PROTO_GetShiftState [23:04:48]wFMCommunicate request_size=4 [23:04:48]MH_SAM_APDU [23:04:48]CAPDU: 80 13 01 00 [23:04:48]Write to MH i2c: E2 08 00 07 0C 80 13 01 00 00 00 00 00 90 [23:04:48]Write i2c OK [23:04:48]MH_I2C_Read... [23:04:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:04:48]Read from MH i2c: E2 [23:04:48]MH_I2C_Read... [23:04:48]Read from MH i2c: E2 0E 00 [23:04:48]MH_I2C_Read... [23:04:48]Read from MH i2c: E2 0E 00 07 0C 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 8B [23:04:48]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:04:48]wFMCommunicate OK [23:04:48]SAM_PROTO_GetShiftState done [23:04:48]FM_GetShiftState done [23:04:48]req_shift_opened done [23:04:48]requested_item shift.open_date is exist - process it [23:04:48]req_shift_open_date [23:04:48]req_shift_open_date done [23:04:48]produce_requested_data done [23:04:48]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68264,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [23:04:48]process_action_free close_receipt [23:04:48]json_value_free [23:04:48]json_value_free done [23:04:48]process_json_proto returns [23:04:48]Send response to host [23:04:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68264,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [23:04:48]free response buf [23:04:48]execute_script done [23:04:48]execute_script returns [23:04:48]free content buf [23:04:48]Sock 9.Close socket [23:04:48]Sock 9.Thread stoped [23:04:51]OFD Sender: No OFD packet to send [23:04:56]OFD Sender: No OFD packet to send [23:05:01]OFD Sender: No OFD packet to send [23:05:06]OFD Sender: No OFD packet to send [23:05:11]OFD Sender: No OFD packet to send [23:05:16]OFD Sender: No OFD packet to send [23:05:19]accept exits with 7 [23:05:19]New connection [23:05:19]New thread 3067354468 created [23:05:19]Thread 3067497828 joined [23:05:19]Waiting for new connection... [23:05:19] Sock 7.Parse request [23:05:19]Sock 7.Check first char [23:05:19]Sock 7.First char is OK [23:05:19]request: POST /json_proto HTTP/1.0 [23:05:19]Method: POST [23:05:19]URL: /json_proto [23:05:19]Method is POST - this is cgi request [23:05:19]url: /json_proto [23:05:19]query_string will be loaded in cgi processing [23:05:19]execute_cgi json_proto POST (null) [23:05:19]execute_cgi path=json_proto method=POST [23:05:19]POST find Content-Length [23:05:19]Host: 172.17.42.3:8080 [23:05:19]Content-Length: 761 [23:05:19]Content-Type: application/json [23:05:19] [23:05:19]POST finish read [23:05:19]Found Content-Length = 761 [23:05:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46296", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 0.010, "sum" : 0.74, "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: Mbank", "payments": [ { "type": 1, "sum" : 0.74 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:05:19]execute_script... [23:05: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 : (1)46296", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 0.010, "sum" : 0.74, "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: Mbank", "payments": [ { "type": 1, "sum" : 0.74 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:05:19]POST & json_proto [23:05:19]process_json_proto [23:05:19]json parsed OK: [23:05:19]protocol is kg_v1.0 [23:05:19]action value=close_receipt [23:05:19]process_action close_receipt [23:05:19]cmd_close_receipt [23:05:19]MH_GetDate [23:05:19]Write to MH i2c: F0 00 00 08 0C 03 [23:05:19]Write i2c OK [23:05:19]MH_I2C_Read... [23:05:19]Read from MH i2c: F0 [23:05:19]MH_I2C_Read... [23:05:19]Read from MH i2c: F0 09 00 [23:05:19]MH_I2C_Read... [23:05:19]Read from MH i2c: F0 09 00 08 0C 00 B1 18 20 67 0E CB 1F 67 BB [23:05:19]GetLastDocTimeStamp 1730156684 [23:05:19]current date 1730156721 [23:05:19]FM_GetShiftState [23:05:19]SAM_PROTO_GetShiftState [23:05:19]wFMCommunicate request_size=4 [23:05:19]MH_SAM_APDU [23:05:19]CAPDU: 80 13 01 00 [23:05:19]Write to MH i2c: E2 08 00 09 0C 80 13 01 00 00 00 00 00 92 [23:05:19]Write i2c OK [23:05:19]MH_I2C_Read... [23:05:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:05:19]Read from MH i2c: E2 [23:05:19]MH_I2C_Read... [23:05:19]Read from MH i2c: E2 0E 00 [23:05:19]MH_I2C_Read... [23:05:19]Read from MH i2c: E2 0E 00 09 0C 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 8D [23:05:19]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:05:19]wFMCommunicate OK [23:05:19]SAM_PROTO_GetShiftState done [23:05:19]FM_GetShiftState done [23:05:19]opened in 1730074770 [23:05:19]opened+sec_in_day 1730161170 [23:05:19]quantity*price = 74 [23:05:19]sum+1 = 75 [23:05:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.74 НСП 1% : 0.01 НДС 12% : 0.08 Наличными: 0.00 Безнал.: 0.74 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 170 28.10.2024 23:05 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68265 ФПД: 31572130551699 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T230521&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68265&fm=31572130551699&tin=02508201610067®Number=0000000000091759&sum=74 [23:05:21]StoreToDocumentArchive [23:05:21]shift 547 fd 68265 [23:05:21]save to /storage/0547/doc_00068265 [23:05:21]save last doc name /storage/0547/doc_00068265 to /storage/kkm_last_doc_name [23:05:21]save OK [23:05:21]Clear old archive folders... [23:05:21]ProcessDocumentItem done err = 0, tmpTLVsize=251 [23:05:21]tlvbuf is 00632210 [23:05:21]SAM_PROTO_ClearQueue [23:05:21]wFMCommunicate request_size=4 [23:05:21]MH_SAM_APDU [23:05:21]CAPDU: 80 09 00 00 [23:05:21]Write to MH i2c: E2 08 00 16 0C 80 09 00 00 00 00 00 00 94 [23:05:21]Write i2c OK [23:05:21]MH_I2C_Read... [23:05:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:05:21]Read from MH i2c: E2 [23:05:21]MH_I2C_Read... [23:05:21]Read from MH i2c: E2 03 00 [23:05:21]MH_I2C_Read... [23:05:21]Read from MH i2c: E2 03 00 16 0C 00 90 00 96 [23:05:21]RAPDU: 90 00 [23:05:21]wFMCommunicate OK [23:05:21]SAM_PROTO_ClearQueue done [23:05:21]KKMCreateOFDPacket [23:05:21]OFDProtocolAddRootSTLVToBuf [23:05:21]FM_MakeSignedData [23:05:21]FM_MakeSignedData [23:05:21]SAM_PROTO_SignData [23:05:21]wFMCommunicate request_size=4 [23:05:21]MH_SAM_APDU [23:05:21]CAPDU: 80 0D 01 02 [23:05:21]Write to MH i2c: E2 08 00 17 0C 80 0D 01 02 00 00 00 00 9C [23:05:21]Write i2c OK [23:05:21]MH_I2C_Read... [23:05:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:05:21]Read from MH i2c: E2 [23:05:21]MH_I2C_Read... [23:05:21]Read from MH i2c: E2 03 00 [23:05:21]MH_I2C_Read... [23:05:21]Read from MH i2c: E2 03 00 17 0C 00 90 00 97 [23:05:21]RAPDU: 90 00 [23:05:21]wFMCommunicate OK [23:05:21]wFMCommunicate request_size=255 [23:05:21]MH_SAM_APDU [23:05:21]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 0A 00 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 4A 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4A 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4A 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 AA 00 00 00 F4 03 04 00 B1 18 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A9 0A 01 00 35 04 06 00 1C [23:05:21]Write to MH i2c: E2 02 01 18 0C 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 0A 00 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 4A 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4A 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4A 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 AA 00 00 00 F4 03 04 00 B1 18 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A9 0A 01 00 35 04 06 00 1C 00 00 AA [23:05:21]Write i2c OK [23:05:21]MH_I2C_Read... [23:05:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:05:21]Read from MH i2c: E2 [23:05:21]MH_I2C_Read... [23:05:21]Read from MH i2c: E2 03 00 [23:05:21]MH_I2C_Read... [23:05:21]Read from MH i2c: E2 03 00 18 0C 00 90 00 98 [23:05:21]RAPDU: 90 00 [23:05:21]wFMCommunicate OK [23:05:21]wFMCommunicate request_size=10 [23:05:21]MH_SAM_APDU [23:05:21]CAPDU: 80 0D 02 02 05 B6 F5 A0 57 93 [23:05:21]Write to MH i2c: E2 0D 00 19 0C 80 0D 02 02 05 00 B6 F5 A0 57 93 00 00 DE [23:05:21]Write i2c OK [23:05:21]MH_I2C_Read... [23:05:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:05:21]Read from MH i2c: E2 [23:05:21]MH_I2C_Read... [23:05:21]Read from MH i2c: E2 03 00 [23:05:21]MH_I2C_Read... [23:05:21]Read from MH i2c: E2 03 00 19 0C 00 90 00 99 [23:05:21]RAPDU: 90 00 [23:05:21]wFMCommunicate OK [23:05:21]wFMCommunicate request_size=4 [23:05:21]MH_SAM_APDU [23:05:21]CAPDU: 80 0D 03 02 [23:05:21]Write to MH i2c: E2 08 00 1A 0C 80 0D 03 02 00 00 00 00 A1 [23:05:21]Write i2c OK [23:05:21]MH_I2C_Read... [23:05:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:05:21]Read from MH i2c: E2 [23:05:21]MH_I2C_Read... [23:05:21]Read from MH i2c: E2 0B 00 [23:05:21]MH_I2C_Read... [23:05:21]Read from MH i2c: E2 0B 00 1A 0C 00 FA 6D F7 C4 09 F8 A4 A5 90 00 0E [23:05:21]RAPDU: FA 6D F7 C4 09 F8 A4 A5 90 00 [23:05:21]wFMCommunicate OK [23:05:21]SAM_PROTO_SignData done [23:05:21]FM_MakeSignedData done [23:05:21]CreateOFDProtocolMessage [23:05:21]wFMCommunicate request_size=4 [23:05:21]MH_SAM_APDU [23:05:21]CAPDU: 80 11 00 00 [23:05:21]Write to MH i2c: E2 08 00 1B 0C 80 11 00 00 00 00 00 00 A1 [23:05:21]Write i2c OK [23:05:21]MH_I2C_Read... [23:05:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:05:21]Read from MH i2c: E2 [23:05:21]MH_I2C_Read... [23:05:21]Read from MH i2c: E2 17 00 [23:05:21]MH_I2C_Read... [23:05:21]Read from MH i2c: E2 17 00 1B 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 F8 [23:05:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:05:21]wFMCommunicate OK [23:05:21]CreateOFDProtocolMessage done [23:05:21]OFDSenderStorePacket 68265 [23:05:21]StoreOFDPacket docnum=68265 [23:05:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 14 8C 07 01 68 AB 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 0A 00 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 4A 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4A 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4A 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 AA 00 00 00 F4 03 04 00 B1 18 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A9 0A 01 00 35 04 06 00 1C B6 F5 A0 57 93 FA 6D F7 C4 09 F8 A4 A5 [23:05:21]CheckFolder [23:05:21]dirname=/storage/ofd_packets [23:05:21]CheckFolder done [23:05:21]ProducePacketName [23:05:21]name=ofd_packets/00068265 [23:05:21]NVStorageSaveData ofd_packets/00068265 [23:05:21]File name is /storage/ofd_packets/00068265 [23:05:21]Write 301 bytes [23:05:21]NVStorageSaveData done [23:05:21]OFDSenderStorePacket done [23:05:21]KKMCreateOFDPacket done [23:05:21]NVStorageSaveData kkm_last_timestamp [23:05:21]File name is /storage/kkm_last_timestamp [23:05:21]Write 4 bytes [23:05:21]NVStorageSaveData done [23:05:21]OFD Sender: Processing packet 68265 [packets to send 27, broken 26] [23:05:21]ProducePacketName [23:05:21]name=ofd_packets/00068265 [23:05:21]OFD Sender: To server: pG, [23:05:21]CommunicateWithHost lk.salyk.kg:30040 [23:05:21]ConnectInit lk.salyk.kg [23:05:21]ExternCall_PrintAddStr [23:05:21]wPrintStart [23:05:21]Write to MH i2c: 01 00 00 1C 0C 28 [23:05:21]Write i2c OK [23:05:21]MH_I2C_Read... [23:05:21]Read from MH i2c: 01 [23:05:21]MH_I2C_Read... [23:05:21]Read from MH i2c: 01 07 00 [23:05:21]MH_I2C_Read... [23:05:21]Read from MH i2c: 01 07 00 1C 0C 00 00 00 00 00 FF 0F 3D [23:05:21]RasterBufferAndPrint [23:05:21]line Счет N : (1)46296 [23:05:21]line ИНН: 02508201610067 [23:05:21]line Контрольно-Кассовый Чек [23:05:21]line ПРОДАЖА [23:05:21]line ТРК (МРК, ГНК) : 24 [23:05:21]line Товар: 2710124500 [23:05:21]line Аи-95-К-3 [23:05:21]line 0.010 * 74.20 [23:05:21]line = 0.74 [23:05:21]line НДС 12% НСП 1% [23:05:21]line > о реализуемом товаре [23:05:21]line ИТОГО: 0.74 [23:05:21]line НСП 1% : 0.01 [23:05:21]line НДС 12% : 0.08 [23:05:21]line Наличными: 0.00 [23:05:21]line Безнал.: 0.74 [23:05:21]line Место: АЗС № 160 "Партнер Нефть" [23:05:21]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [23:05:21]line СНО: Общий режим [23:05:21]line Чек 170 28.10.2024 23:05 [23:05:21]line Смена: 547 ФФД: 1.0 [23:05:21]line ЗНМ: 0300000093 [23:05:21]line РНМ: 0000000000091759 [23:05:21]line Версия ККМ: 001 [23:05:21]line Платежная система: Mbank [23:05:21]line ФМ: 0000000000871758 [23:05:21]line ФД: 68265 [23:05:21]line ФПД: 31572130551699 [23:05:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T230521&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68265&fm=31572130551699&tin=02508201610067®Number=0000000000091759&sum=74 [23:05:21]Connected sock=11 [23:05:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 14 8C 07 01 68 AB 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 0A 00 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 4A 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4A 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4A 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 AA 00 00 00 F4 03 04 00 B1 18 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A9 0A 01 00 35 04 06 00 1C B6 F5 A0 57 93 FA 6D F7 C4 09 F8 A4 A5 [23:05:21]written 0, free lines is 4095 [23:05:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 38 D4 47 00 B5 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 A9 0A 01 00 F4 03 04 00 90 C4 1F 67 B6 04 01 00 00 38 8D C7 12 04 3E 20 EA [23:05:22]CommunicateWithHost err = 0 [23:05:22]CheckOFDResponse [23:05:22]1017 (14) - 77093643461234 [23:05:22]1041 (16) - 0000000000871758 [23:05:22]1040 (4) - 68265 [23:05:22]1012 (4) - 28.10.2024 17:06 [23:05:22]1206 (1) - 0 [23:05:22]OFD Sender: Remove packet 68265 [23:05:22]ProducePacketName [23:05:22]name=ofd_packets/00068265 [23:05:22]NVStorageDeleteData [23:05:22]Write to MH i2c: 01 00 00 44 0C 50 [23:05:22]Write i2c OK [23:05:22]MH_I2C_Read... [23:05:22]Read from MH i2c: 01 [23:05:22]MH_I2C_Read... [23:05:22]Read from MH i2c: 01 07 00 [23:05:22]MH_I2C_Read... [23:05:22]Read from MH i2c: 01 07 00 44 0C 00 00 00 00 00 DE 0C 41 [23:05:22]RasterBufferAndPrint [23:05:22]line [23:05:22]line [23:05:22]line [23:05:22]line [23:05:22]line [23:05:22]written 0, free lines is 3298 [23:05:22]MH_Cut [23:05:22]Write to MH i2c: D1 01 00 4B 0C 01 29 [23:05:22]Write i2c OK [23:05:22]MH_I2C_Read... [23:05:22]Read from MH i2c: D1 [23:05:22]MH_I2C_Read... [23:05:22]Read from MH i2c: D1 01 00 [23:05:22]MH_I2C_Read... [23:05:22]Read from MH i2c: D1 01 00 4B 0C 00 28 [23:05:22]Write to MH i2c: 01 00 00 4C 0C 58 [23:05:22]Write i2c OK [23:05:22]MH_I2C_Read... [23:05:22]OFD Sender: No OFD packet to send [23:05:23]*** Cut start [23:05:23]*** Partial cut [23:05:23]*** CUTSNS_PIN = 1 [23:05:23]*** CUTSNS_PIN = 0 [23:05:23]*** Brake cut motor [23:05:23]Read from MH i2c: 01 [23:05:23]MH_I2C_Read... [23:05:23]*** Stop cut motor [23:05:23]*** Cut end [23:05:23]Read from MH i2c: 01 07 00 [23:05:23]MH_I2C_Read... [23:05:23]Read from MH i2c: 01 07 00 4C 0C 00 00 00 00 00 FF 0F 6D [23:05:23]process_action close_receipt done [23:05:23]requested_data is exist [23:05:23]produce_requested_data [23:05:23]requested_item fm.sn is exist - process it [23:05:23]wFMCommunicate request_size=4 [23:05:23]MH_SAM_APDU [23:05:23]CAPDU: 80 11 00 00 [23:05:23]Write to MH i2c: E2 08 00 4D 0C 80 11 00 00 00 00 00 00 D3 [23:05:23]Write i2c OK [23:05:23]MH_I2C_Read... [23:05:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:05:23]Read from MH i2c: E2 [23:05:23]MH_I2C_Read... [23:05:23]Read from MH i2c: E2 17 00 [23:05:23]MH_I2C_Read... [23:05:23]Read from MH i2c: E2 17 00 4D 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 2A [23:05:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:05:23]wFMCommunicate OK [23:05:23]requested_item fd.num is exist - process it [23:05:23]SAM_PROTO_GetFieldsCounters [23:05:23]wFMCommunicate request_size=4 [23:05:23]MH_SAM_APDU [23:05:23]CAPDU: 80 13 00 00 [23:05:23]Write to MH i2c: E2 08 00 4E 0C 80 13 00 00 00 00 00 00 D6 [23:05:23]Write i2c OK [23:05:23]MH_I2C_Read... [23:05:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:05:23]Read from MH i2c: E2 [23:05:23]MH_I2C_Read... [23:05:23]Read from MH i2c: E2 62 00 [23:05:23]MH_I2C_Read... [23:05:23]Read from MH i2c: E2 62 00 4E 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A9 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 AA 00 00 00 5E 04 04 00 AA 00 00 00 57 04 04 00 AB 00 00 00 19 04 04 00 00 00 00 00 90 00 D8 [23:05:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 A9 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 AA 00 00 00 5E 04 04 00 AA 00 00 00 57 04 04 00 AB 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:05:23]wFMCommunicate OK [23:05:23]SAM_PROTO_GetFieldsCounters done [23:05:23]requested_item shift.num is exist - process it [23:05:23]requested_item shift.opened is exist - process it [23:05:23]req_shift_opened [23:05:23]FM_GetShiftState [23:05:23]SAM_PROTO_GetShiftState [23:05:23]wFMCommunicate request_size=4 [23:05:23]MH_SAM_APDU [23:05:23]CAPDU: 80 13 01 00 [23:05:23]Write to MH i2c: E2 08 00 4F 0C 80 13 01 00 00 00 00 00 D8 [23:05:23]Write i2c OK [23:05:23]MH_I2C_Read... [23:05:23]Read from MH i2c: E2 [23:05:23]MH_I2C_Read... [23:05:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:05:23]Read from MH i2c: E2 0E 00 [23:05:23]MH_I2C_Read... [23:05:23]Read from MH i2c: E2 0E 00 4F 0C 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 D3 [23:05:23]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:05:23]wFMCommunicate OK [23:05:23]SAM_PROTO_GetShiftState done [23:05:23]FM_GetShiftState done [23:05:23]req_shift_opened done [23:05:23]requested_item shift.open_date is exist - process it [23:05:23]req_shift_open_date [23:05:23]req_shift_open_date done [23:05:23]produce_requested_data done [23:05:23]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68265,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [23:05:23]process_action_free close_receipt [23:05:23]json_value_free [23:05:23]json_value_free done [23:05:23]process_json_proto returns [23:05:23]Send response to host [23:05:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68265,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [23:05:23]free response buf [23:05:23]execute_script done [23:05:23]execute_script returns [23:05:23]free content buf [23:05:23]Sock 7.Close socket [23:05:23]Sock 7.Thread stoped [23:05:27]OFD Sender: No OFD packet to send [23:05:32]OFD Sender: No OFD packet to send [23:05:37]OFD Sender: No OFD packet to send [23:05:42]OFD Sender: No OFD packet to send [23:05:47]OFD Sender: No OFD packet to send [23:05:52]OFD Sender: No OFD packet to send [23:05:57]OFD Sender: No OFD packet to send [23:06:02]OFD Sender: No OFD packet to send [23:06:07]OFD Sender: No OFD packet to send [23:06:12]OFD Sender: No OFD packet to send [23:06:17]OFD Sender: No OFD packet to send [23:06:22]OFD Sender: No OFD packet to send [23:06:27]OFD Sender: No OFD packet to send [23:06:32]OFD Sender: No OFD packet to send [23:06:37]OFD Sender: No OFD packet to send [23:06:42]OFD Sender: No OFD packet to send [23:06:47]OFD Sender: No OFD packet to send [23:06:52]OFD Sender: No OFD packet to send [23:06:57]OFD Sender: No OFD packet to send [23:07:02]OFD Sender: No OFD packet to send [23:07:07]OFD Sender: No OFD packet to send [23:07:12]OFD Sender: No OFD packet to send [23:07:17]OFD Sender: No OFD packet to send [23:07:22]OFD Sender: No OFD packet to send [23:07:27]OFD Sender: No OFD packet to send [23:07:32]OFD Sender: No OFD packet to send [23:07:37]OFD Sender: No OFD packet to send [23:07:41]accept exits with 9 [23:07:41]New connection [23:07:41]New thread 3067497828 created [23:07:41]Thread 3067354468 joined [23:07:41]Waiting for new connection... [23:07:41] Sock 9.Parse request [23:07:41]Sock 9.Check first char [23:07:41]Sock 9.First char is OK [23:07:41]request: POST /json_proto HTTP/1.0 [23:07:41]Method: POST [23:07:41]URL: /json_proto [23:07:41]Method is POST - this is cgi request [23:07:41]url: /json_proto [23:07:41]query_string will be loaded in cgi processing [23:07:41]execute_cgi json_proto POST (null) [23:07:41]execute_cgi path=json_proto method=POST [23:07:41]POST find Content-Length [23:07:41]Host: 172.17.42.3:8080 [23:07:41]Content-Length: 768 [23:07:41]Content-Type: application/json [23:07:41] [23:07:41]POST finish read [23:07:41]Found Content-Length = 768 [23:07:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46297", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 39.090, "sum" : 2900.48, "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: Mbank", "payments": [ { "type": 1, "sum" : 2900.48 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:07:41]execute_script... [23:07: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 : (1)46297", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 39.090, "sum" : 2900.48, "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: Mbank", "payments": [ { "type": 1, "sum" : 2900.48 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:07:41]POST & json_proto [23:07:41]process_json_proto [23:07:41]json parsed OK: [23:07:41]protocol is kg_v1.0 [23:07:41]action value=close_receipt [23:07:41]process_action close_receipt [23:07:41]cmd_close_receipt [23:07:41]MH_GetDate [23:07:41]Write to MH i2c: F0 00 00 50 0C 4B [23:07:41]Write i2c OK [23:07:41]MH_I2C_Read... [23:07:41]Read from MH i2c: F0 [23:07:41]MH_I2C_Read... [23:07:41]Read from MH i2c: F0 09 00 [23:07:41]MH_I2C_Read... [23:07:41]Read from MH i2c: F0 09 00 50 0C 00 3E 19 20 67 0E CB 1F 67 91 [23:07:41]GetLastDocTimeStamp 1730156721 [23:07:41]current date 1730156862 [23:07:41]FM_GetShiftState [23:07:41]SAM_PROTO_GetShiftState [23:07:41]wFMCommunicate request_size=4 [23:07:41]MH_SAM_APDU [23:07:41]CAPDU: 80 13 01 00 [23:07:41]Write to MH i2c: E2 08 00 51 0C 80 13 01 00 00 00 00 00 DA [23:07:41]Write i2c OK [23:07:41]MH_I2C_Read... [23:07:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:07:41]Read from MH i2c: E2 [23:07:41]MH_I2C_Read... [23:07:41]Read from MH i2c: E2 0E 00 [23:07:41]MH_I2C_Read... [23:07:41]Read from MH i2c: E2 0E 00 51 0C 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 D5 [23:07:41]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:07:41]wFMCommunicate OK [23:07:41]SAM_PROTO_GetShiftState done [23:07:41]FM_GetShiftState done [23:07:41]opened in 1730074770 [23:07:41]opened+sec_in_day 1730161170 [23:07:41]quantity*price = 290047 [23:07:41]sum+1 = 290049 [23:07:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2900.48 НСП 1% : 25.67 НДС 12% : 308.02 Наличными: 0.00 Безнал.: 2900.48 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 171 28.10.2024 23:07 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68266 ФПД: 49397184268787 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T230742&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68266&fm=49397184268787&tin=02508201610067®Number=0000000000091759&sum=290048 [23:07:42]StoreToDocumentArchive [23:07:42]shift 547 fd 68266 [23:07:42]save to /storage/0547/doc_00068266 [23:07:42]save last doc name /storage/0547/doc_00068266 to /storage/kkm_last_doc_name [23:07:42]save OK [23:07:42]Clear old archive folders... [23:07:42]ProcessDocumentItem done err = 0, tmpTLVsize=251 [23:07:42]tlvbuf is 006155C0 [23:07:42]SAM_PROTO_ClearQueue [23:07:42]wFMCommunicate request_size=4 [23:07:42]MH_SAM_APDU [23:07:42]CAPDU: 80 09 00 00 [23:07:42]Write to MH i2c: E2 08 00 5E 0C 80 09 00 00 00 00 00 00 DC [23:07:42]Write i2c OK [23:07:42]MH_I2C_Read... [23:07:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:07:42]Read from MH i2c: E2 [23:07:42]MH_I2C_Read... [23:07:42]Read from MH i2c: E2 03 00 [23:07:42]MH_I2C_Read... [23:07:42]Read from MH i2c: E2 03 00 5E 0C 00 90 00 DE [23:07:42]RAPDU: 90 00 [23:07:42]wFMCommunicate OK [23:07:42]SAM_PROTO_ClearQueue done [23:07:42]KKMCreateOFDPacket [23:07:42]OFDProtocolAddRootSTLVToBuf [23:07:42]FM_MakeSignedData [23:07:42]FM_MakeSignedData [23:07:42]SAM_PROTO_SignData [23:07:42]wFMCommunicate request_size=4 [23:07:42]MH_SAM_APDU [23:07:42]CAPDU: 80 0D 01 02 [23:07:42]Write to MH i2c: E2 08 00 5F 0C 80 0D 01 02 00 00 00 00 E4 [23:07:42]Write i2c OK [23:07:42]MH_I2C_Read... [23:07:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:07:42]Read from MH i2c: E2 [23:07:42]MH_I2C_Read... [23:07:42]Read from MH i2c: E2 03 00 [23:07:42]MH_I2C_Read... [23:07:42]Read from MH i2c: E2 03 00 5F 0C 00 90 00 DF [23:07:42]RAPDU: 90 00 [23:07:42]wFMCommunicate OK [23:07:42]wFMCommunicate request_size=255 [23:07:42]MH_SAM_APDU [23:07:42]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 B2 98 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 00 6D 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 6D 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 78 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 6D 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 AB 00 00 00 F4 03 04 00 3E 19 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AA 0A 01 00 35 04 06 00 2C [23:07:42]Write to MH i2c: E2 02 01 60 0C 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 B2 98 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 00 6D 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 6D 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 78 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 6D 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 AB 00 00 00 F4 03 04 00 3E 19 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AA 0A 01 00 35 04 06 00 2C 00 00 19 [23:07:42]Write i2c OK [23:07:42]MH_I2C_Read... [23:07:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:07:42]Read from MH i2c: E2 [23:07:42]MH_I2C_Read... [23:07:42]Read from MH i2c: E2 03 00 [23:07:42]MH_I2C_Read... [23:07:42]Read from MH i2c: E2 03 00 60 0C 00 90 00 E0 [23:07:42]RAPDU: 90 00 [23:07:42]wFMCommunicate OK [23:07:42]wFMCommunicate request_size=10 [23:07:42]MH_SAM_APDU [23:07:42]CAPDU: 80 0D 02 02 05 ED 2D 9F 09 F3 [23:07:42]Write to MH i2c: E2 0D 00 61 0C 80 0D 02 02 05 00 ED 2D 9F 09 F3 00 00 A6 [23:07:42]Write i2c OK [23:07:42]MH_I2C_Read... [23:07:42]OFD Sender: No OFD packet to send [23:07:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:07:42]Read from MH i2c: E2 [23:07:42]MH_I2C_Read... [23:07:42]Read from MH i2c: E2 03 00 [23:07:42]MH_I2C_Read... [23:07:42]Read from MH i2c: E2 03 00 61 0C 00 90 00 E1 [23:07:42]RAPDU: 90 00 [23:07:42]wFMCommunicate OK [23:07:42]wFMCommunicate request_size=4 [23:07:42]MH_SAM_APDU [23:07:42]CAPDU: 80 0D 03 02 [23:07:42]Write to MH i2c: E2 08 00 62 0C 80 0D 03 02 00 00 00 00 E9 [23:07:42]Write i2c OK [23:07:42]MH_I2C_Read... [23:07:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:07:42]Read from MH i2c: E2 [23:07:42]MH_I2C_Read... [23:07:42]Read from MH i2c: E2 0B 00 [23:07:42]MH_I2C_Read... [23:07:42]Read from MH i2c: E2 0B 00 62 0C 00 6F 72 F6 C1 A4 16 4F 6F 90 00 FA [23:07:42]RAPDU: 6F 72 F6 C1 A4 16 4F 6F 90 00 [23:07:42]wFMCommunicate OK [23:07:42]SAM_PROTO_SignData done [23:07:42]FM_MakeSignedData done [23:07:42]CreateOFDProtocolMessage [23:07:42]wFMCommunicate request_size=4 [23:07:42]MH_SAM_APDU [23:07:42]CAPDU: 80 11 00 00 [23:07:42]Write to MH i2c: E2 08 00 63 0C 80 11 00 00 00 00 00 00 E9 [23:07:42]Write i2c OK [23:07:42]MH_I2C_Read... [23:07:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:07:42]Read from MH i2c: E2 [23:07:42]MH_I2C_Read... [23:07:42]Read from MH i2c: E2 17 00 [23:07:42]MH_I2C_Read... [23:07:42]Read from MH i2c: E2 17 00 63 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 40 [23:07:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:07:42]wFMCommunicate OK [23:07:42]CreateOFDProtocolMessage done [23:07:42]OFDSenderStorePacket 68266 [23:07:42]StoreOFDPacket docnum=68266 [23:07:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 6C 4F 07 01 98 FD 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 B2 98 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 00 6D 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 6D 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 78 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 6D 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 AB 00 00 00 F4 03 04 00 3E 19 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AA 0A 01 00 35 04 06 00 2C ED 2D 9F 09 F3 6F 72 F6 C1 A4 16 4F 6F [23:07:42]CheckFolder [23:07:42]dirname=/storage/ofd_packets [23:07:42]CheckFolder done [23:07:42]ProducePacketName [23:07:42]name=ofd_packets/00068266 [23:07:42]NVStorageSaveData ofd_packets/00068266 [23:07:42]File name is /storage/ofd_packets/00068266 [23:07:42]Write 301 bytes [23:07:42]NVStorageSaveData done [23:07:42]OFDSenderStorePacket done [23:07:42]KKMCreateOFDPacket done [23:07:42]NVStorageSaveData kkm_last_timestamp [23:07:42]File name is /storage/kkm_last_timestamp [23:07:42]Write 4 bytes [23:07:42]NVStorageSaveData done [23:07:42]ExternCall_PrintAddStr [23:07:42]wPrintStart [23:07:42]Write to MH i2c: 01 00 00 64 0C 70 [23:07:42]Write i2c OK [23:07:42]MH_I2C_Read... [23:07:42]Read from MH i2c: 01 [23:07:42]MH_I2C_Read... [23:07:42]Read from MH i2c: 01 07 00 [23:07:42]MH_I2C_Read... [23:07:42]Read from MH i2c: 01 07 00 64 0C 00 00 00 00 00 FF 0F 85 [23:07:42]RasterBufferAndPrint [23:07:42]line Счет N : (1)46297 [23:07:42]line ИНН: 02508201610067 [23:07:42]line Контрольно-Кассовый Чек [23:07:42]line ПРОДАЖА [23:07:42]line ТРК (МРК, ГНК) : 24 [23:07:42]line Товар: 2710124500 [23:07:42]line Аи-95-К-3 [23:07:42]line 39.090 * 74.20 [23:07:42]line = 2900.48 [23:07:42]line НДС 12% НСП 1% [23:07:42]line > о реализуемом товаре [23:07:42]line ИТОГО: 2900.48 [23:07:42]line НСП 1% : 25.67 [23:07:42]line НДС 12% : 308.02 [23:07:42]line Наличными: 0.00 [23:07:42]line Безнал.: 2900.48 [23:07:42]line Место: АЗС № 160 "Партнер Нефть" [23:07:42]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [23:07:42]line СНО: Общий режим [23:07:42]line Чек 171 28.10.2024 23:07 [23:07:42]line Смена: 547 ФФД: 1.0 [23:07:42]line ЗНМ: 0300000093 [23:07:42]line РНМ: 0000000000091759 [23:07:42]line Версия ККМ: 001 [23:07:42]line Платежная система: Mbank [23:07:42]line ФМ: 0000000000871758 [23:07:42]line ФД: 68266 [23:07:42]line ФПД: 49397184268787 [23:07:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T230742&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68266&fm=49397184268787&tin=02508201610067®Number=0000000000091759&sum=290048 [23:07:42]written 0, free lines is 4095 [23:07:42]OFD Sender: Processing packet 68266 [packets to send 27, broken 26] [23:07:42]ProducePacketName [23:07:42]name=ofd_packets/00068266 [23:07:42]OFD Sender: To server: pG, [23:07:42]CommunicateWithHost lk.salyk.kg:30040 [23:07:42]ConnectInit lk.salyk.kg [23:07:43]Connected sock=10 [23:07:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 6C 4F 07 01 98 FD 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 B2 98 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 00 6D 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 6D 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 78 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 6D 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 AB 00 00 00 F4 03 04 00 3E 19 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AA 0A 01 00 35 04 06 00 2C ED 2D 9F 09 F3 6F 72 F6 C1 A4 16 4F 6F [23:07:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 36 A8 47 00 04 6B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AA 0A 01 00 F4 03 04 00 1D C5 1F 67 B6 04 01 00 00 F6 1D 5D 56 E5 27 1A 43 [23:07:43]CommunicateWithHost err = 0 [23:07:43]CheckOFDResponse [23:07:43]1017 (14) - 77093643461234 [23:07:43]1041 (16) - 0000000000871758 [23:07:43]1040 (4) - 68266 [23:07:43]1012 (4) - 28.10.2024 17:08 [23:07:43]1206 (1) - 0 [23:07:43]OFD Sender: Remove packet 68266 [23:07:43]ProducePacketName [23:07:43]name=ofd_packets/00068266 [23:07:43]NVStorageDeleteData [23:07:43]Write to MH i2c: 01 00 00 8C 0C 98 [23:07:43]Write i2c OK [23:07:43]MH_I2C_Read... [23:07:43]Read from MH i2c: 01 [23:07:43]MH_I2C_Read... [23:07:43]Read from MH i2c: 01 07 00 [23:07:43]MH_I2C_Read... [23:07:43]Read from MH i2c: 01 07 00 8C 0C 00 00 00 00 00 E0 0C 8B [23:07:43]RasterBufferAndPrint [23:07:43]line [23:07:43]line [23:07:43]line [23:07:43]line [23:07:43]line [23:07:43]written 0, free lines is 3302 [23:07:43]MH_Cut [23:07:43]Write to MH i2c: D1 01 00 93 0C 01 71 [23:07:43]Write i2c OK [23:07:43]MH_I2C_Read... [23:07:43]Read from MH i2c: D1 [23:07:43]MH_I2C_Read... [23:07:43]Read from MH i2c: D1 01 00 [23:07:43]MH_I2C_Read... [23:07:43]Read from MH i2c: D1 01 00 93 0C 00 70 [23:07:43]Write to MH i2c: 01 00 00 94 0C A0 [23:07:43]Write i2c OK [23:07:43]MH_I2C_Read... [23:07:43]OFD Sender: No OFD packet to send [23:07:44]*** Cut start [23:07:44]*** Partial cut [23:07:44]*** CUTSNS_PIN = 1 [23:07:44]*** CUTSNS_PIN = 0 [23:07:44]*** Brake cut motor [23:07:44]Read from MH i2c: 01 [23:07:44]MH_I2C_Read... [23:07:44]*** Stop cut motor [23:07:44]*** Cut end [23:07:44]Read from MH i2c: 01 07 00 [23:07:44]MH_I2C_Read... [23:07:44]Read from MH i2c: 01 07 00 94 0C 00 00 00 00 00 FF 0F B5 [23:07:44]process_action close_receipt done [23:07:44]requested_data is exist [23:07:44]produce_requested_data [23:07:44]requested_item fm.sn is exist - process it [23:07:44]wFMCommunicate request_size=4 [23:07:44]MH_SAM_APDU [23:07:44]CAPDU: 80 11 00 00 [23:07:44]Write to MH i2c: E2 08 00 95 0C 80 11 00 00 00 00 00 00 1B [23:07:44]Write i2c OK [23:07:44]MH_I2C_Read... [23:07:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:07:44]Read from MH i2c: E2 [23:07:44]MH_I2C_Read... [23:07:44]Read from MH i2c: E2 17 00 [23:07:44]MH_I2C_Read... [23:07:44]Read from MH i2c: E2 17 00 95 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 72 [23:07:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:07:44]wFMCommunicate OK [23:07:44]requested_item fd.num is exist - process it [23:07:44]SAM_PROTO_GetFieldsCounters [23:07:44]wFMCommunicate request_size=4 [23:07:44]MH_SAM_APDU [23:07:44]CAPDU: 80 13 00 00 [23:07:44]Write to MH i2c: E2 08 00 96 0C 80 13 00 00 00 00 00 00 1E [23:07:44]Write i2c OK [23:07:44]MH_I2C_Read... [23:07:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:07:44]Read from MH i2c: E2 [23:07:44]MH_I2C_Read... [23:07:44]Read from MH i2c: E2 62 00 [23:07:44]MH_I2C_Read... [23:07:44]Read from MH i2c: E2 62 00 96 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 AA 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 AB 00 00 00 5E 04 04 00 AB 00 00 00 57 04 04 00 AC 00 00 00 19 04 04 00 00 00 00 00 90 00 24 [23:07:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 AA 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 AB 00 00 00 5E 04 04 00 AB 00 00 00 57 04 04 00 AC 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:07:44]wFMCommunicate OK [23:07:44]SAM_PROTO_GetFieldsCounters done [23:07:44]requested_item shift.num is exist - process it [23:07:44]requested_item shift.opened is exist - process it [23:07:44]req_shift_opened [23:07:44]FM_GetShiftState [23:07:44]SAM_PROTO_GetShiftState [23:07:44]wFMCommunicate request_size=4 [23:07:44]MH_SAM_APDU [23:07:44]CAPDU: 80 13 01 00 [23:07:44]Write to MH i2c: E2 08 00 97 0C 80 13 01 00 00 00 00 00 20 [23:07:44]Write i2c OK [23:07:44]MH_I2C_Read... [23:07:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:07:44]Read from MH i2c: E2 [23:07:44]MH_I2C_Read... [23:07:44]Read from MH i2c: E2 0E 00 [23:07:44]MH_I2C_Read... [23:07:44]Read from MH i2c: E2 0E 00 97 0C 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 1B [23:07:44]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:07:44]wFMCommunicate OK [23:07:44]SAM_PROTO_GetShiftState done [23:07:44]FM_GetShiftState done [23:07:44]req_shift_opened done [23:07:44]requested_item shift.open_date is exist - process it [23:07:44]req_shift_open_date [23:07:44]req_shift_open_date done [23:07:44]produce_requested_data done [23:07:44]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68266,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [23:07:44]process_action_free close_receipt [23:07:44]json_value_free [23:07:44]json_value_free done [23:07:44]process_json_proto returns [23:07:44]Send response to host [23:07:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68266,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [23:07:44]free response buf [23:07:44]execute_script done [23:07:44]execute_script returns [23:07:44]free content buf [23:07:44]Sock 9.Close socket [23:07:44]Sock 9.Thread stoped [23:07:48]OFD Sender: No OFD packet to send [23:07:53]OFD Sender: No OFD packet to send [23:07:58]OFD Sender: No OFD packet to send [23:08:03]OFD Sender: No OFD packet to send [23:08:08]OFD Sender: No OFD packet to send [23:08:13]OFD Sender: No OFD packet to send [23:08:18]OFD Sender: No OFD packet to send [23:08:23]OFD Sender: No OFD packet to send [23:08:28]OFD Sender: No OFD packet to send [23:08:33]OFD Sender: No OFD packet to send [23:08:38]OFD Sender: No OFD packet to send [23:08:43]OFD Sender: No OFD packet to send [23:08:48]OFD Sender: No OFD packet to send [23:08:53]OFD Sender: No OFD packet to send [23:08:58]OFD Sender: No OFD packet to send [23:09:03]OFD Sender: No OFD packet to send [23:09:08]OFD Sender: No OFD packet to send [23:09:13]OFD Sender: No OFD packet to send [23:09:18]OFD Sender: No OFD packet to send [23:09:23]OFD Sender: No OFD packet to send [23:09:28]OFD Sender: No OFD packet to send [23:09:33]OFD Sender: No OFD packet to send [23:09:38]OFD Sender: No OFD packet to send [23:09:43]OFD Sender: No OFD packet to send [23:09:48]OFD Sender: No OFD packet to send [23:09:53]OFD Sender: No OFD packet to send [23:09:58]OFD Sender: No OFD packet to send [23:10:03]OFD Sender: No OFD packet to send [23:10:08]OFD Sender: No OFD packet to send [23:10:13]OFD Sender: No OFD packet to send [23:10:18]OFD Sender: No OFD packet to send [23:10:23]OFD Sender: No OFD packet to send [23:10:28]OFD Sender: No OFD packet to send [23:10:33]OFD Sender: No OFD packet to send [23:10:38]OFD Sender: No OFD packet to send [23:10:43]OFD Sender: No OFD packet to send [23:10:48]OFD Sender: No OFD packet to send [23:10:53]OFD Sender: No OFD packet to send [23:10:58]OFD Sender: No OFD packet to send [23:11:03]OFD Sender: No OFD packet to send [23:11:08]OFD Sender: No OFD packet to send [23:11:13]OFD Sender: No OFD packet to send [23:11:18]OFD Sender: No OFD packet to send [23:11:23]OFD Sender: No OFD packet to send [23:11:28]OFD Sender: No OFD packet to send [23:11:33]OFD Sender: No OFD packet to send [23:11:38]OFD Sender: No OFD packet to send [23:11:43]OFD Sender: No OFD packet to send [23:11:48]OFD Sender: No OFD packet to send [23:11:53]OFD Sender: No OFD packet to send [23:11:58]OFD Sender: No OFD packet to send [23:12:03]OFD Sender: No OFD packet to send [23:12:08]OFD Sender: No OFD packet to send [23:12:13]OFD Sender: No OFD packet to send [23:12:18]OFD Sender: No OFD packet to send [23:12:23]OFD Sender: No OFD packet to send [23:12:28]OFD Sender: No OFD packet to send [23:12:33]OFD Sender: No OFD packet to send [23:12:38]OFD Sender: No OFD packet to send [23:12:43]OFD Sender: No OFD packet to send [23:12: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:19]accept exits with 7 [23:16:19]New connection [23:16:19]New thread 3067354468 created [23:16:19]Thread 3067497828 joined [23:16:19]Waiting for new connection... [23:16:19] Sock 7.Parse request [23:16:19]Sock 7.Check first char [23:16:19]Sock 7.First char is OK [23:16:19]request: POST /json_proto HTTP/1.0 [23:16:19]Method: POST [23:16:19]URL: /json_proto [23:16:19]Method is POST - this is cgi request [23:16:19]url: /json_proto [23:16:19]query_string will be loaded in cgi processing [23:16:19]execute_cgi json_proto POST (null) [23:16:19]execute_cgi path=json_proto method=POST [23:16:19]POST find Content-Length [23:16:19]Host: 172.17.42.3:8080 [23:16:19]Content-Length: 761 [23:16:19]Content-Type: application/json [23:16:19] [23:16:19]POST finish read [23:16:19]Found Content-Length = 761 [23:16:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46298", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 21.930, "sum" : 1500.01, "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: Mbank", "payments": [ { "type": 1, "sum" : 1500.01 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:16:19]execute_script... [23:16: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 : (1)46298", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "SUPER-92-\u041A-5", "price" : 68.40, "quantity" : 21.930, "sum" : 1500.01, "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: Mbank", "payments": [ { "type": 1, "sum" : 1500.01 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:16:19]POST & json_proto [23:16:19]process_json_proto [23:16:19]json parsed OK: [23:16:19]protocol is kg_v1.0 [23:16:19]action value=close_receipt [23:16:19]process_action close_receipt [23:16:19]cmd_close_receipt [23:16:19]MH_GetDate [23:16:19]Write to MH i2c: F0 00 00 98 0C 93 [23:16:19]Write i2c OK [23:16:19]MH_I2C_Read... [23:16:19]Read from MH i2c: F0 [23:16:19]MH_I2C_Read... [23:16:19]Read from MH i2c: F0 09 00 [23:16:19]MH_I2C_Read... [23:16:19]Read from MH i2c: F0 09 00 98 0C 00 44 1B 20 67 0E CB 1F 67 E1 [23:16:19]GetLastDocTimeStamp 1730156862 [23:16:19]current date 1730157380 [23:16:19]FM_GetShiftState [23:16:19]SAM_PROTO_GetShiftState [23:16:19]wFMCommunicate request_size=4 [23:16:19]MH_SAM_APDU [23:16:19]CAPDU: 80 13 01 00 [23:16:19]Write to MH i2c: E2 08 00 99 0C 80 13 01 00 00 00 00 00 22 [23:16:19]Write i2c OK [23:16:19]MH_I2C_Read... [23:16:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:16:19]Read from MH i2c: E2 [23:16:19]MH_I2C_Read... [23:16:19]Read from MH i2c: E2 0E 00 [23:16:19]MH_I2C_Read... [23:16:19]Read from MH i2c: E2 0E 00 99 0C 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 1D [23:16:19]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:16:19]wFMCommunicate OK [23:16:19]SAM_PROTO_GetShiftState done [23:16:19]FM_GetShiftState done [23:16:19]opened in 1730074770 [23:16:19]opened+sec_in_day 1730161170 [23:16:19]quantity*price = 150001 [23:16:19]sum+1 = 150002 [23:16:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1500.01 НСП 1% : 13.27 НДС 12% : 159.29 Наличными: 0.00 Безнал.: 1500.01 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 172 28.10.2024 23:16 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68267 ФПД: 257511520425828 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T231620&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68267&fm=257511520425828&tin=02508201610067®Number=0000000000091759&sum=150001 [23:16:20]StoreToDocumentArchive [23:16:20]shift 547 fd 68267 [23:16:20]save to /storage/0547/doc_00068267 [23:16:20]save last doc name /storage/0547/doc_00068267 to /storage/kkm_last_doc_name [23:16:20]save OK [23:16:20]Clear old archive folders... [23:16:20]ProcessDocumentItem done err = 0, tmpTLVsize=252 [23:16:20]tlvbuf is 005E14A0 [23:16:20]SAM_PROTO_ClearQueue [23:16:20]wFMCommunicate request_size=4 [23:16:20]MH_SAM_APDU [23:16:20]CAPDU: 80 09 00 00 [23:16:20]Write to MH i2c: E2 08 00 A6 0C 80 09 00 00 00 00 00 00 24 [23:16:20]Write i2c OK [23:16:20]MH_I2C_Read... [23:16:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:16:20]Read from MH i2c: E2 [23:16:20]MH_I2C_Read... [23:16:20]Read from MH i2c: E2 03 00 [23:16:20]MH_I2C_Read... [23:16:20]Read from MH i2c: E2 03 00 A6 0C 00 90 00 26 [23:16:20]RAPDU: 90 00 [23:16:20]wFMCommunicate OK [23:16:20]SAM_PROTO_ClearQueue done [23:16:20]KKMCreateOFDPacket [23:16:20]OFDProtocolAddRootSTLVToBuf [23:16:20]FM_MakeSignedData [23:16:20]FM_MakeSignedData [23:16:20]SAM_PROTO_SignData [23:16:20]wFMCommunicate request_size=4 [23:16:20]MH_SAM_APDU [23:16:20]CAPDU: 80 0D 01 02 [23:16:20]Write to MH i2c: E2 08 00 A7 0C 80 0D 01 02 00 00 00 00 2C [23:16:20]Write i2c OK [23:16:20]MH_I2C_Read... [23:16:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:16:20]Read from MH i2c: E2 [23:16:20]MH_I2C_Read... [23:16:20]Read from MH i2c: E2 03 00 [23:16:20]MH_I2C_Read... [23:16:20]Read from MH i2c: E2 03 00 A7 0C 00 90 00 27 [23:16:20]RAPDU: 90 00 [23:16:20]wFMCommunicate OK [23:16:20]wFMCommunicate request_size=255 [23:16:20]MH_SAM_APDU [23:16:20]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 55 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F1 49 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F1 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F1 49 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 AC 00 00 00 F4 03 04 00 44 1B 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AB 0A 01 00 35 04 06 00 [23:16:20]Write to MH i2c: E2 02 01 A8 0C 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 55 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F1 49 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F1 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F1 49 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 AC 00 00 00 F4 03 04 00 44 1B 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AB 0A 01 00 35 04 06 00 00 00 87 [23:16:20]Write i2c OK [23:16:20]MH_I2C_Read... [23:16:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:16:20]Read from MH i2c: E2 [23:16:20]MH_I2C_Read... [23:16:20]Read from MH i2c: E2 03 00 [23:16:20]MH_I2C_Read... [23:16:20]Read from MH i2c: E2 03 00 A8 0C 00 90 00 28 [23:16:20]RAPDU: 90 00 [23:16:20]wFMCommunicate OK [23:16:20]wFMCommunicate request_size=11 [23:16:20]MH_SAM_APDU [23:16:20]CAPDU: 80 0D 02 02 06 EA 34 92 B3 57 64 [23:16:20]Write to MH i2c: E2 0E 00 A9 0C 80 0D 02 02 06 00 EA 34 92 B3 57 64 00 00 59 [23:16:20]Write i2c OK [23:16:20]MH_I2C_Read... [23:16:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:16:20]Read from MH i2c: E2 [23:16:20]MH_I2C_Read... [23:16:20]Read from MH i2c: E2 03 00 [23:16:20]MH_I2C_Read... [23:16:20]Read from MH i2c: E2 03 00 A9 0C 00 90 00 29 [23:16:20]RAPDU: 90 00 [23:16:20]wFMCommunicate OK [23:16:20]wFMCommunicate request_size=4 [23:16:20]MH_SAM_APDU [23:16:20]CAPDU: 80 0D 03 02 [23:16:20]Write to MH i2c: E2 08 00 AA 0C 80 0D 03 02 00 00 00 00 31 [23:16:20]Write i2c OK [23:16:20]MH_I2C_Read... [23:16:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:16:20]Read from MH i2c: E2 [23:16:20]MH_I2C_Read... [23:16:20]Read from MH i2c: E2 0B 00 [23:16:20]MH_I2C_Read... [23:16:20]Read from MH i2c: E2 0B 00 AA 0C 00 BF 65 6C C7 E3 91 5E 9E 90 00 F9 [23:16:20]RAPDU: BF 65 6C C7 E3 91 5E 9E 90 00 [23:16:20]wFMCommunicate OK [23:16:20]SAM_PROTO_SignData done [23:16:20]FM_MakeSignedData done [23:16:20]CreateOFDProtocolMessage [23:16:20]wFMCommunicate request_size=4 [23:16:20]MH_SAM_APDU [23:16:20]CAPDU: 80 11 00 00 [23:16:20]Write to MH i2c: E2 08 00 AB 0C 80 11 00 00 00 00 00 00 31 [23:16:20]Write i2c OK [23:16:20]MH_I2C_Read... [23:16:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:16:20]Read from MH i2c: E2 [23:16:20]MH_I2C_Read... [23:16:20]Read from MH i2c: E2 17 00 [23:16:20]MH_I2C_Read... [23:16:20]Read from MH i2c: E2 17 00 AB 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 88 [23:16:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:16:20]wFMCommunicate OK [23:16:20]CreateOFDProtocolMessage done [23:16:20]OFDSenderStorePacket 68267 [23:16:20]StoreOFDPacket docnum=68267 [23:16:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 31 98 08 01 3F F8 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 55 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F1 49 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F1 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F1 49 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 AC 00 00 00 F4 03 04 00 44 1B 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AB 0A 01 00 35 04 06 00 EA 34 92 B3 57 64 BF 65 6C C7 E3 91 5E 9E [23:16:20]CheckFolder [23:16:20]dirname=/storage/ofd_packets [23:16:20]CheckFolder done [23:16:20]ProducePacketName [23:16:20]name=ofd_packets/00068267 [23:16:20]NVStorageSaveData ofd_packets/00068267 [23:16:20]File name is /storage/ofd_packets/00068267 [23:16:20]Write 302 bytes [23:16:20]NVStorageSaveData done [23:16:20]OFDSenderStorePacket done [23:16:20]KKMCreateOFDPacket done [23:16:20]NVStorageSaveData kkm_last_timestamp [23:16:20]File name is /storage/kkm_last_timestamp [23:16:20]Write 4 bytes [23:16:20]NVStorageSaveData done [23:16:20]ExternCall_PrintAddStr [23:16:20]wPrintStart [23:16:20]Write to MH i2c: 01 00 00 AC 0C B8 [23:16:20]Write i2c OK [23:16:20]MH_I2C_Read... [23:16:20]Read from MH i2c: 01 [23:16:20]MH_I2C_Read... [23:16:20]Read from MH i2c: 01 07 00 [23:16:20]MH_I2C_Read... [23:16:20]Read from MH i2c: 01 07 00 AC 0C 00 00 00 00 00 FF 0F CD [23:16:20]RasterBufferAndPrint [23:16:20]line Счет N : (1)46298 [23:16:20]line ИНН: 02508201610067 [23:16:20]line Контрольно-Кассовый Чек [23:16:20]line ПРОДАЖА [23:16:20]line ТРК (МРК, ГНК) : 22 [23:16:20]line Товар: 2710124130 [23:16:20]line SUPER-92-К-5 [23:16:20]line 21.930 * 68.40 [23:16:20]line = 1500.01 [23:16:20]line НДС 12% НСП 1% [23:16:20]line > о реализуемом товаре [23:16:20]line ИТОГО: 1500.01 [23:16:20]line НСП 1% : 13.27 [23:16:20]line НДС 12% : 159.29 [23:16:20]line Наличными: 0.00 [23:16:20]line Безнал.: 1500.01 [23:16:20]line Место: АЗС № 160 "Партнер Нефть" [23:16:20]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [23:16:20]line СНО: Общий режим [23:16:20]line Чек 172 28.10.2024 23:16 [23:16:20]line Смена: 547 ФФД: 1.0 [23:16:20]line ЗНМ: 0300000093 [23:16:20]line РНМ: 0000000000091759 [23:16:20]line Версия ККМ: 001 [23:16:20]line Платежная система: Mbank [23:16:20]line ФМ: 0000000000871758 [23:16:20]line ФД: 68267 [23:16:20]line ФПД: 257511520425828 [23:16:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T231620&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68267&fm=257511520425828&tin=02508201610067®Number=0000000000091759&sum=150001 [23:16:20]written 0, free lines is 4095 [23:16:20]OFD Sender: Processing packet 68267 [packets to send 27, broken 26] [23:16:20]ProducePacketName [23:16:20]name=ofd_packets/00068267 [23:16:20]OFD Sender: To server: pG, [23:16:21]CommunicateWithHost lk.salyk.kg:30040 [23:16:21]ConnectInit lk.salyk.kg [23:16:21]Connected sock=10 [23:16:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 01 00 00 31 98 08 01 3F F8 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0D 00 53 55 50 45 52 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 55 00 00 00 00 00 37 04 06 00 B8 1A 00 00 00 00 13 04 06 00 F1 49 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F1 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2F 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F1 49 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 AC 00 00 00 F4 03 04 00 44 1B 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AB 0A 01 00 35 04 06 00 EA 34 92 B3 57 64 BF 65 6C C7 E3 91 5E 9E [23:16:21]Write to MH i2c: 01 00 00 D4 0C E0 [23:16:21]Write i2c OK [23:16:21]MH_I2C_Read... [23:16:21]Read from MH i2c: 01 [23:16:21]MH_I2C_Read... [23:16:21]Read from MH i2c: 01 07 00 [23:16:21]MH_I2C_Read... [23:16:21]Read from MH i2c: 01 07 00 D4 0C 00 00 00 00 00 E8 0C DB [23:16:21]RasterBufferAndPrint [23:16:21]line [23:16:21]line [23:16:21]line [23:16:21]line [23:16:21]line [23:16:21]written 0, free lines is 3308 [23:16:21]MH_Cut [23:16:21]Write to MH i2c: D1 01 00 DB 0C 01 B9 [23:16:21]Write i2c OK [23:16:21]MH_I2C_Read... [23:16:21]Read from MH i2c: D1 [23:16:21]MH_I2C_Read... [23:16:21]Read from MH i2c: D1 01 00 [23:16:21]MH_I2C_Read... [23:16:21]Read from MH i2c: D1 01 00 DB 0C 00 B8 [23:16:21]Write to MH i2c: 01 00 00 DC 0C E8 [23:16:21]Write i2c OK [23:16:21]MH_I2C_Read... [23:16:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 08 D1 47 00 B1 17 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AB 0A 01 00 F4 03 04 00 24 C7 1F 67 B6 04 01 00 00 87 34 49 BA 50 B4 C5 94 [23:16:21]CommunicateWithHost err = 0 [23:16:21]CheckOFDResponse [23:16:21]1017 (14) - 77093643461234 [23:16:21]1041 (16) - 0000000000871758 [23:16:21]1040 (4) - 68267 [23:16:21]1012 (4) - 28.10.2024 17:17 [23:16:21]1206 (1) - 0 [23:16:21]OFD Sender: Remove packet 68267 [23:16:21]ProducePacketName [23:16:21]name=ofd_packets/00068267 [23:16:21]NVStorageDeleteData [23:16:22]OFD Sender: No OFD packet to send [23:16:22]*** Cut start [23:16:22]*** Partial cut [23:16:22]*** CUTSNS_PIN = 1 [23:16:22]*** CUTSNS_PIN = 0 [23:16:22]*** Brake cut motor [23:16:22]Read from MH i2c: 01 [23:16:22]MH_I2C_Read... [23:16:22]*** Stop cut motor [23:16:22]*** Cut end [23:16:22]Read from MH i2c: 01 07 00 [23:16:22]MH_I2C_Read... [23:16:22]Read from MH i2c: 01 07 00 DC 0C 00 00 00 00 00 FF 0F FD [23:16:22]process_action close_receipt done [23:16:22]requested_data is exist [23:16:22]produce_requested_data [23:16:22]requested_item fm.sn is exist - process it [23:16:22]wFMCommunicate request_size=4 [23:16:22]MH_SAM_APDU [23:16:22]CAPDU: 80 11 00 00 [23:16:22]Write to MH i2c: E2 08 00 DD 0C 80 11 00 00 00 00 00 00 63 [23:16:22]Write i2c OK [23:16:22]MH_I2C_Read... [23:16:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:16:22]Read from MH i2c: E2 [23:16:22]MH_I2C_Read... [23:16:22]Read from MH i2c: E2 17 00 [23:16:22]MH_I2C_Read... [23:16:22]Read from MH i2c: E2 17 00 DD 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 BA [23:16:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:16:22]wFMCommunicate OK [23:16:22]requested_item fd.num is exist - process it [23:16:22]SAM_PROTO_GetFieldsCounters [23:16:22]wFMCommunicate request_size=4 [23:16:22]MH_SAM_APDU [23:16:22]CAPDU: 80 13 00 00 [23:16:22]Write to MH i2c: E2 08 00 DE 0C 80 13 00 00 00 00 00 00 66 [23:16:22]Write i2c OK [23:16:22]MH_I2C_Read... [23:16:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:16:22]Read from MH i2c: E2 [23:16:22]MH_I2C_Read... [23:16:22]Read from MH i2c: E2 62 00 [23:16:22]MH_I2C_Read... [23:16:22]Read from MH i2c: E2 62 00 DE 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 AB 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 AC 00 00 00 5E 04 04 00 AC 00 00 00 57 04 04 00 AD 00 00 00 19 04 04 00 00 00 00 00 90 00 70 [23:16:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 AB 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 AC 00 00 00 5E 04 04 00 AC 00 00 00 57 04 04 00 AD 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:16:22]wFMCommunicate OK [23:16:22]SAM_PROTO_GetFieldsCounters done [23:16:22]requested_item shift.num is exist - process it [23:16:22]requested_item shift.opened is exist - process it [23:16:22]req_shift_opened [23:16:22]FM_GetShiftState [23:16:22]SAM_PROTO_GetShiftState [23:16:22]wFMCommunicate request_size=4 [23:16:22]MH_SAM_APDU [23:16:22]CAPDU: 80 13 01 00 [23:16:22]Write to MH i2c: E2 08 00 DF 0C 80 13 01 00 00 00 00 00 68 [23:16:22]Write i2c OK [23:16:22]MH_I2C_Read... [23:16:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:16:22]Read from MH i2c: E2 [23:16:22]MH_I2C_Read... [23:16:22]Read from MH i2c: E2 0E 00 [23:16:22]MH_I2C_Read... [23:16:23]Read from MH i2c: E2 0E 00 DF 0C 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 63 [23:16:23]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:16:23]wFMCommunicate OK [23:16:23]SAM_PROTO_GetShiftState done [23:16:23]FM_GetShiftState done [23:16:23]req_shift_opened done [23:16:23]requested_item shift.open_date is exist - process it [23:16:23]req_shift_open_date [23:16:23]req_shift_open_date done [23:16:23]produce_requested_data done [23:16:23]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68267,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [23:16:23]process_action_free close_receipt [23:16:23]json_value_free [23:16:23]json_value_free done [23:16:23]process_json_proto returns [23:16:23]Send response to host [23:16:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68267,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [23:16:23]free response buf [23:16:23]execute_script done [23:16:23]execute_script returns [23:16:23]free content buf [23:16:23]Sock 7.Close socket [23:16:23]Sock 7.Thread stoped [23:16:27]OFD Sender: No OFD packet to send [23:16:32]OFD Sender: No OFD packet to send [23:16:37]OFD Sender: No OFD packet to send [23:16:42]OFD Sender: No OFD packet to send [23:16:47]OFD Sender: No OFD packet to send [23:16:52]OFD Sender: No OFD packet to send [23:16:57]OFD Sender: No OFD packet to send [23:17:02]OFD Sender: No OFD packet to send [23:17:07]OFD Sender: No OFD packet to send [23:17:12]OFD Sender: No OFD packet to send [23:17:17]OFD Sender: No OFD packet to send [23:17:22]OFD Sender: No OFD packet to send [23:17:26]accept exits with 9 [23:17:26]New connection [23:17:26]New thread 3067497828 created [23:17:26]Thread 3067354468 joined [23:17:26]Waiting for new connection... [23:17:26] Sock 9.Parse request [23:17:26]Sock 9.Check first char [23:17:26]Sock 9.First char is OK [23:17:26]request: POST /json_proto HTTP/1.0 [23:17:26]Method: POST [23:17:26]URL: /json_proto [23:17:26]Method is POST - this is cgi request [23:17:26]url: /json_proto [23:17:26]query_string will be loaded in cgi processing [23:17:26]execute_cgi json_proto POST (null) [23:17:26]execute_cgi path=json_proto method=POST [23:17:26]POST find Content-Length [23:17:26]Host: 172.17.42.3:8080 [23:17:26]Content-Length: 782 [23:17:26]Content-Type: application/json [23:17:26] [23:17:26]POST finish read [23:17:26]Found Content-Length = 782 [23:17:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17209", "tax_sys" : 0, "items" : [ { "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 2.000, "sum" : 8.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: Mbank", "payments": [ { "type": 1, "sum" : 8.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:17:26]execute_script... [23:17: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)17209", "tax_sys" : 0, "items" : [ { "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 2.000, "sum" : 8.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: Mbank", "payments": [ { "type": 1, "sum" : 8.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:17:26]POST & json_proto [23:17:26]process_json_proto [23:17:26]json parsed OK: [23:17:26]protocol is kg_v1.0 [23:17:26]action value=close_receipt [23:17:26]process_action close_receipt [23:17:26]cmd_close_receipt [23:17:26]MH_GetDate [23:17:26]Write to MH i2c: F0 00 00 E0 0C DB [23:17:26]Write i2c OK [23:17:26]MH_I2C_Read... [23:17:26]Read from MH i2c: F0 [23:17:26]MH_I2C_Read... [23:17:26]Read from MH i2c: F0 09 00 [23:17:26]MH_I2C_Read... [23:17:26]Read from MH i2c: F0 09 00 E0 0C 00 87 1B 20 67 0E CB 1F 67 6C [23:17:26]GetLastDocTimeStamp 1730157380 [23:17:26]current date 1730157447 [23:17:26]FM_GetShiftState [23:17:26]SAM_PROTO_GetShiftState [23:17:26]wFMCommunicate request_size=4 [23:17:26]MH_SAM_APDU [23:17:26]CAPDU: 80 13 01 00 [23:17:26]Write to MH i2c: E2 08 00 E1 0C 80 13 01 00 00 00 00 00 6A [23:17:26]Write i2c OK [23:17:26]MH_I2C_Read... [23:17:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:17:26]Read from MH i2c: E2 [23:17:26]MH_I2C_Read... [23:17:26]Read from MH i2c: E2 0E 00 [23:17:26]MH_I2C_Read... [23:17:26]Read from MH i2c: E2 0E 00 E1 0C 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 65 [23:17:26]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:17:26]wFMCommunicate OK [23:17:26]SAM_PROTO_GetShiftState done [23:17:26]FM_GetShiftState done [23:17:26]opened in 1730074770 [23:17:26]opened+sec_in_day 1730161170 [23:17:26]quantity*price = 800 [23:17:26]sum+1 = 801 [23:17:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 8.00 НСП 1% : 0.07 НДС 12% : 0.85 Наличными: 0.00 Безнал.: 8.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 173 28.10.2024 23:17 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68268 ФПД: 14002299047102 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T231727&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68268&fm=14002299047102&tin=02508201610067®Number=0000000000091759&sum=800 0 [23:17:27]StoreToDocumentArchive [23:17:27]shift 547 fd 68268 [23:17:27]save to /storage/0547/doc_00068268 [23:17:27]save last doc name /storage/0547/doc_00068268 to /storage/kkm_last_doc_name [23:17:27]save OK [23:17:27]Clear old archive folders... [23:17:27]ProcessDocumentItem done err = 0, tmpTLVsize=278 [23:17:27]tlvbuf is 005A4B90 [23:17:27]SAM_PROTO_ClearQueue [23:17:27]wFMCommunicate request_size=4 [23:17:27]MH_SAM_APDU [23:17:27]CAPDU: 80 09 00 00 [23:17:27]Write to MH i2c: E2 08 00 EE 0C 80 09 00 00 00 00 00 00 6C [23:17:27]Write i2c OK [23:17:27]MH_I2C_Read... [23:17:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:17:27]Read from MH i2c: E2 [23:17:27]MH_I2C_Read... [23:17:27]Read from MH i2c: E2 03 00 [23:17:27]MH_I2C_Read... [23:17:27]Read from MH i2c: E2 03 00 EE 0C 00 90 00 6E [23:17:27]RAPDU: 90 00 [23:17:27]wFMCommunicate OK [23:17:27]SAM_PROTO_ClearQueue done [23:17:27]KKMCreateOFDPacket [23:17:27]OFDProtocolAddRootSTLVToBuf [23:17:27]FM_MakeSignedData [23:17:27]FM_MakeSignedData [23:17:27]SAM_PROTO_SignData [23:17:27]wFMCommunicate request_size=4 [23:17:27]MH_SAM_APDU [23:17:27]CAPDU: 80 0D 01 02 [23:17:27]Write to MH i2c: E2 08 00 EF 0C 80 0D 01 02 00 00 00 00 74 [23:17:27]Write i2c OK [23:17:27]MH_I2C_Read... [23:17:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:17:27]Read from MH i2c: E2 [23:17:27]MH_I2C_Read... [23:17:27]Read from MH i2c: E2 03 00 [23:17:27]MH_I2C_Read... [23:17:27]Read from MH i2c: E2 03 00 EF 0C 00 90 00 6F [23:17:27]RAPDU: 90 00 [23:17:27]wFMCommunicate OK [23:17:27]wFMCommunicate request_size=255 [23:17:27]MH_SAM_APDU [23:17:27]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 20 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 03 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 AD 00 00 00 F4 03 04 00 87 1B 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 [23:17:27]Write to MH i2c: E2 02 01 F0 0C 80 0D 02 02 FA 00 03 00 16 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 20 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 03 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 AD 00 00 00 F4 03 04 00 87 1B 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 00 00 83 [23:17:27]Write i2c OK [23:17:27]MH_I2C_Read... [23:17:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:17:27]Read from MH i2c: E2 [23:17:27]MH_I2C_Read... [23:17:27]Read from MH i2c: E2 03 00 [23:17:27]MH_I2C_Read... [23:17:27]Read from MH i2c: E2 03 00 F0 0C 00 90 00 70 [23:17:27]RAPDU: 90 00 [23:17:27]wFMCommunicate OK [23:17:27]wFMCommunicate request_size=37 [23:17:27]MH_SAM_APDU [23:17:27]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AC 0A 01 00 35 04 06 00 0C BC 2A 0F 8C BE [23:17:27]Write to MH i2c: E2 28 00 F1 0C 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AC 0A 01 00 35 04 06 00 0C BC 2A 0F 8C BE 00 00 D4 [23:17:27]Write i2c OK [23:17:27]MH_I2C_Read... [23:17:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:17:27]Read from MH i2c: E2 [23:17:27]MH_I2C_Read... [23:17:27]Read from MH i2c: E2 03 00 [23:17:27]MH_I2C_Read... [23:17:27]Read from MH i2c: E2 03 00 F1 0C 00 90 00 71 [23:17:27]RAPDU: 90 00 [23:17:27]wFMCommunicate OK [23:17:27]wFMCommunicate request_size=4 [23:17:27]MH_SAM_APDU [23:17:27]CAPDU: 80 0D 03 02 [23:17:27]Write to MH i2c: E2 08 00 F2 0C 80 0D 03 02 00 00 00 00 79 [23:17:27]Write i2c OK [23:17:27]MH_I2C_Read... [23:17:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:17:27]Read from MH i2c: E2 [23:17:27]MH_I2C_Read... [23:17:27]Read from MH i2c: E2 0B 00 [23:17:27]MH_I2C_Read... [23:17:27]Read from MH i2c: E2 0B 00 F2 0C 00 90 EF 6F 1B 52 C2 1A 71 90 00 22 [23:17:27]RAPDU: 90 EF 6F 1B 52 C2 1A 71 90 00 [23:17:27]wFMCommunicate OK [23:17:27]SAM_PROTO_SignData done [23:17:27]FM_MakeSignedData done [23:17:27]CreateOFDProtocolMessage [23:17:27]wFMCommunicate request_size=4 [23:17:27]MH_SAM_APDU [23:17:27]CAPDU: 80 11 00 00 [23:17:27]Write to MH i2c: E2 08 00 F3 0C 80 11 00 00 00 00 00 00 79 [23:17:27]Write i2c OK [23:17:27]MH_I2C_Read... [23:17:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:17:27]Read from MH i2c: E2 [23:17:27]MH_I2C_Read... [23:17:27]Read from MH i2c: E2 17 00 [23:17:27]MH_I2C_Read... [23:17:27]Read from MH i2c: E2 17 00 F3 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 D0 [23:17:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:17:27]wFMCommunicate OK [23:17:27]CreateOFDProtocolMessage done [23:17:27]OFDSenderStorePacket 68268 [23:17:27]StoreOFDPacket docnum=68268 [23:17:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2A 01 00 00 F5 7D 22 01 82 90 5A 03 01 00 03 00 16 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 20 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 03 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 AD 00 00 00 F4 03 04 00 87 1B 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AC 0A 01 00 35 04 06 00 0C BC 2A 0F 8C BE 90 EF 6F 1B 52 C2 1A 71 [23:17:27]CheckFolder [23:17:27]dirname=/storage/ofd_packets [23:17:27]CheckFolder done [23:17:27]ProducePacketName [23:17:27]name=ofd_packets/00068268 [23:17:27]NVStorageSaveData ofd_packets/00068268 [23:17:27]File name is /storage/ofd_packets/00068268 [23:17:27]Write 328 bytes [23:17:27]NVStorageSaveData done [23:17:27]OFDSenderStorePacket done [23:17:27]KKMCreateOFDPacket done [23:17:27]NVStorageSaveData kkm_last_timestamp [23:17:27]File name is /storage/kkm_last_timestamp [23:17:27]Write 4 bytes [23:17:27]NVStorageSaveData done [23:17:27]ExternCall_PrintAddStr [23:17:27]wPrintStart [23:17:27]Write to MH i2c: 01 00 00 F4 0C 00 [23:17:27]Write i2c OK [23:17:27]MH_I2C_Read... [23:17:27]Read from MH i2c: 01 [23:17:27]MH_I2C_Read... [23:17:27]Read from MH i2c: 01 07 00 [23:17:27]MH_I2C_Read... [23:17:27]Read from MH i2c: 01 07 00 F4 0C 00 00 00 00 00 FF 0F 15 [23:17:27]RasterBufferAndPrint [23:17:27]line Счет N : (3)17209 [23:17:27]line ИНН: 02508201610067 [23:17:27]line Контрольно-Кассовый Чек [23:17:27]line ПРОДАЖА [23:17:27]line Товар: 2000031750019 [23:17:27]line Пакет Партнер Нефть [23:17:27]line 2.000 * 4.00 [23:17:27]line = 8.00 [23:17:27]line НДС 12% НСП 1% [23:17:27]line > о реализуемом товаре [23:17:27]line ИТОГО: 8.00 [23:17:27]line НСП 1% : 0.07 [23:17:27]line НДС 12% : 0.85 [23:17:27]line Наличными: 0.00 [23:17:27]line Безнал.: 8.00 [23:17:27]line Место: АЗС № 160 "Партнер Нефть" [23:17:27]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [23:17:27]line СНО: Общий режим [23:17:27]line Чек 173 28.10.2024 23:17 [23:17:27]line Смена: 547 ФФД: 1.0 [23:17:27]line ЗНМ: 0300000093 [23:17:27]line РНМ: 0000000000091759 [23:17:27]line Версия ККМ: 001 [23:17:27]line Платежная система: Mbank [23:17:27]line ФМ: 0000000000871758 [23:17:27]line ФД: 68268 [23:17:27]line ФПД: 14002299047102 [23:17:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T231727&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68268&fm=14002299047102&tin=02508201610067®Number=0000000000091759&sum=800 [23:17:28]OFD Sender: Processing packet 68268 [packets to send 27, broken 26] [23:17:28]ProducePacketName [23:17:28]name=ofd_packets/00068268 [23:17:28]OFD Sender: To server: pG, [23:17:28]CommunicateWithHost lk.salyk.kg:30040 [23:17:28]ConnectInit lk.salyk.kg [23:17:28]line 0 [23:17:28]written 0, free lines is 4095 [23:17:28]Connected sock=10 [23:17:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 2A 01 00 00 F5 7D 22 01 82 90 5A 03 01 00 03 00 16 01 1E 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 D0 07 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 20 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 07 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 03 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 AD 00 00 00 F4 03 04 00 87 1B 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AC 0A 01 00 35 04 06 00 0C BC 2A 0F 8C BE 90 EF 6F 1B 52 C2 1A 71 [23:17:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 F1 AF 47 00 8A 01 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AC 0A 01 00 F4 03 04 00 67 C7 1F 67 B6 04 01 00 00 EF B9 3D 6C 18 B3 D0 E5 [23:17:28]CommunicateWithHost err = 0 [23:17:28]CheckOFDResponse [23:17:28]1017 (14) - 77093643461234 [23:17:28]1041 (16) - 0000000000871758 [23:17:28]1040 (4) - 68268 [23:17:28]1012 (4) - 28.10.2024 17:18 [23:17:28]1206 (1) - 0 [23:17:28]OFD Sender: Remove packet 68268 [23:17:28]ProducePacketName [23:17:28]name=ofd_packets/00068268 [23:17:28]NVStorageDeleteData [23:17:28]Write to MH i2c: 01 00 00 1C 0D 29 [23:17:28]Write i2c OK [23:17:28]MH_I2C_Read... [23:17:28]Read from MH i2c: 01 [23:17:28]MH_I2C_Read... [23:17:28]Read from MH i2c: 01 07 00 [23:17:28]MH_I2C_Read... [23:17:28]Read from MH i2c: 01 07 00 1C 0D 00 00 00 00 00 D4 0C 10 [23:17:28]RasterBufferAndPrint [23:17:28]line [23:17:28]line [23:17:28]line [23:17:28]line [23:17:28]line [23:17:28]written 0, free lines is 3289 [23:17:28]MH_Cut [23:17:28]Write to MH i2c: D1 01 00 23 0D 01 02 [23:17:28]Write i2c OK [23:17:28]MH_I2C_Read... [23:17:28]Read from MH i2c: D1 [23:17:28]MH_I2C_Read... [23:17:28]Read from MH i2c: D1 01 00 [23:17:28]MH_I2C_Read... [23:17:28]Read from MH i2c: D1 01 00 23 0D 00 01 [23:17:28]Write to MH i2c: 01 00 00 24 0D 31 [23:17:28]Write i2c OK [23:17:28]MH_I2C_Read... [23:17:29]OFD Sender: No OFD packet to send [23:17:29]*** Cut start [23:17:29]*** Partial cut [23:17:29]*** CUTSNS_PIN = 1 [23:17:29]*** CUTSNS_PIN = 0 [23:17:29]*** Brake cut motor [23:17:30]Read from MH i2c: 01 [23:17:30]MH_I2C_Read... [23:17:30]*** Stop cut motor [23:17:30]*** Cut end [23:17:30]Read from MH i2c: 01 07 00 [23:17:30]MH_I2C_Read... [23:17:30]Read from MH i2c: 01 07 00 24 0D 00 00 00 00 00 FF 0F 46 [23:17:30]process_action close_receipt done [23:17:30]requested_data is exist [23:17:30]produce_requested_data [23:17:30]requested_item fm.sn is exist - process it [23:17:30]wFMCommunicate request_size=4 [23:17:30]MH_SAM_APDU [23:17:30]CAPDU: 80 11 00 00 [23:17:30]Write to MH i2c: E2 08 00 25 0D 80 11 00 00 00 00 00 00 AC [23:17:30]Write i2c OK [23:17:30]MH_I2C_Read... [23:17:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:17:30]Read from MH i2c: E2 [23:17:30]MH_I2C_Read... [23:17:30]Read from MH i2c: E2 17 00 [23:17:30]MH_I2C_Read... [23:17:30]Read from MH i2c: E2 17 00 25 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 03 [23:17:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:17:30]wFMCommunicate OK [23:17:30]requested_item fd.num is exist - process it [23:17:30]SAM_PROTO_GetFieldsCounters [23:17:30]wFMCommunicate request_size=4 [23:17:30]MH_SAM_APDU [23:17:30]CAPDU: 80 13 00 00 [23:17:30]Write to MH i2c: E2 08 00 26 0D 80 13 00 00 00 00 00 00 AF [23:17:30]Write i2c OK [23:17:30]MH_I2C_Read... [23:17:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:17:30]Read from MH i2c: E2 [23:17:30]MH_I2C_Read... [23:17:30]Read from MH i2c: E2 62 00 [23:17:30]MH_I2C_Read... [23:17:30]Read from MH i2c: E2 62 00 26 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 AC 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 AD 00 00 00 5E 04 04 00 AD 00 00 00 57 04 04 00 AE 00 00 00 19 04 04 00 00 00 00 00 90 00 BD [23:17:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 AC 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 AD 00 00 00 5E 04 04 00 AD 00 00 00 57 04 04 00 AE 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:17:30]wFMCommunicate OK [23:17:30]SAM_PROTO_GetFieldsCounters done [23:17:30]requested_item shift.num is exist - process it [23:17:30]requested_item shift.opened is exist - process it [23:17:30]req_shift_opened [23:17:30]FM_GetShiftState [23:17:30]SAM_PROTO_GetShiftState [23:17:30]wFMCommunicate request_size=4 [23:17:30]MH_SAM_APDU [23:17:30]CAPDU: 80 13 01 00 [23:17:30]Write to MH i2c: E2 08 00 27 0D 80 13 01 00 00 00 00 00 B1 [23:17:30]Write i2c OK [23:17:30]MH_I2C_Read... [23:17:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:17:30]Read from MH i2c: E2 [23:17:30]MH_I2C_Read... [23:17:30]Read from MH i2c: E2 0E 00 [23:17:30]MH_I2C_Read... [23:17:30]Read from MH i2c: E2 0E 00 27 0D 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 AC [23:17:30]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:17:30]wFMCommunicate OK [23:17:30]SAM_PROTO_GetShiftState done [23:17:30]FM_GetShiftState done [23:17:30]req_shift_opened done [23:17:30]requested_item shift.open_date is exist - process it [23:17:30]req_shift_open_date [23:17:30]req_shift_open_date done [23:17:30]produce_requested_data done [23:17:30]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68268,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [23:17:30]process_action_free close_receipt [23:17:30]json_value_free [23:17:30]json_value_free done [23:17:30]process_json_proto returns [23:17:30]Send response to host [23:17:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68268,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [23:17:30]free response buf [23:17:30]execute_script done [23:17:30]execute_script returns [23:17:30]free content buf [23:17:30]Sock 9.Close socket [23:17:30]Sock 9.Thread stoped [23:17:34]OFD Sender: No OFD packet to send [23:17:39]OFD Sender: No OFD packet to send [23:17:41]accept exits with 7 [23:17:41]New connection [23:17:41]New thread 3067354468 created [23:17:41]Thread 3067497828 joined [23:17:41]Waiting for new connection... [23:17:41] Sock 7.Parse request [23:17:41]Sock 7.Check first char [23:17:41]Sock 7.First char is OK [23:17:41]request: POST /json_proto HTTP/1.0 [23:17:41]Method: POST [23:17:41]URL: /json_proto [23:17:41]Method is POST - this is cgi request [23:17:41]url: /json_proto [23:17:41]query_string will be loaded in cgi processing [23:17:41]execute_cgi json_proto POST (null) [23:17:41]execute_cgi path=json_proto method=POST [23:17:41]POST find Content-Length [23:17:41]Host: 172.17.42.3:8080 [23:17:41]Content-Length: 621 [23:17:41]Content-Type: application/json [23:17:41] [23:17:41]POST finish read [23:17:41]Found Content-Length = 621 [23:17:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17210", "tax_sys" : 0, "items" : [ { "code": "4700026030109", "name": "\u041A\u0443\u0440\u0443\u0442 \u0447\u043E\u0431\u043E\u0433\u043E", "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" ] } } [23:17:41]execute_script... [23:17: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)17210", "tax_sys" : 0, "items" : [ { "code": "4700026030109", "name": "\u041A\u0443\u0440\u0443\u0442 \u0447\u043E\u0431\u043E\u0433\u043E", "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" ] } } [23:17:41]POST & json_proto [23:17:41]process_json_proto [23:17:41]json parsed OK: [23:17:41]protocol is kg_v1.0 [23:17:41]action value=close_receipt [23:17:41]process_action close_receipt [23:17:41]cmd_close_receipt [23:17:41]MH_GetDate [23:17:41]Write to MH i2c: F0 00 00 28 0D 24 [23:17:41]Write i2c OK [23:17:41]MH_I2C_Read... [23:17:41]Read from MH i2c: F0 [23:17:41]MH_I2C_Read... [23:17:41]Read from MH i2c: F0 09 00 [23:17:41]MH_I2C_Read... [23:17:41]Read from MH i2c: F0 09 00 28 0D 00 96 1B 20 67 0E CB 1F 67 C4 [23:17:41]GetLastDocTimeStamp 1730157447 [23:17:41]current date 1730157462 [23:17:41]FM_GetShiftState [23:17:41]SAM_PROTO_GetShiftState [23:17:41]wFMCommunicate request_size=4 [23:17:41]MH_SAM_APDU [23:17:41]CAPDU: 80 13 01 00 [23:17:41]Write to MH i2c: E2 08 00 29 0D 80 13 01 00 00 00 00 00 B3 [23:17:41]Write i2c OK [23:17:41]MH_I2C_Read... [23:17:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:17:41]Read from MH i2c: E2 [23:17:41]MH_I2C_Read... [23:17:41]Read from MH i2c: E2 0E 00 [23:17:41]MH_I2C_Read... [23:17:41]Read from MH i2c: E2 0E 00 29 0D 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 AE [23:17:41]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:17:41]wFMCommunicate OK [23:17:41]SAM_PROTO_GetShiftState done [23:17:41]FM_GetShiftState done [23:17:41]opened in 1730074770 [23:17:41]opened+sec_in_day 1730161170 [23:17:41]quantity*price = 4900 [23:17:41]sum+1 = 4901 [23:17:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 49.00 НСП 1% : 0.43 НДС 12% : 5.20 Наличными: 49.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 174 28.10.2024 23:17 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68269 ФПД: 171553828421064 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T231742&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68269&fm=171553828421064&tin=02508201610067®Number=0000000000091759&sum=4900 0 [23:17:42]StoreToDocumentArchive [23:17:42]shift 547 fd 68269 [23:17:42]save to /storage/0547/doc_00068269 [23:17:42]save last doc name /storage/0547/doc_00068269 to /storage/kkm_last_doc_name [23:17:42]save OK [23:17:42]Clear old archive folders... [23:17:42]ProcessDocumentItem done err = 0, tmpTLVsize=265 [23:17:42]tlvbuf is 005E17F0 [23:17:42]SAM_PROTO_ClearQueue [23:17:42]wFMCommunicate request_size=4 [23:17:42]MH_SAM_APDU [23:17:42]CAPDU: 80 09 00 00 [23:17:42]Write to MH i2c: E2 08 00 36 0D 80 09 00 00 00 00 00 00 B5 [23:17:42]Write i2c OK [23:17:42]MH_I2C_Read... [23:17:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:17:42]Read from MH i2c: E2 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 03 00 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 03 00 36 0D 00 90 00 B7 [23:17:42]RAPDU: 90 00 [23:17:42]wFMCommunicate OK [23:17:42]SAM_PROTO_ClearQueue done [23:17:42]KKMCreateOFDPacket [23:17:42]OFDProtocolAddRootSTLVToBuf [23:17:42]FM_MakeSignedData [23:17:42]FM_MakeSignedData [23:17:42]SAM_PROTO_SignData [23:17:42]wFMCommunicate request_size=4 [23:17:42]MH_SAM_APDU [23:17:42]CAPDU: 80 0D 01 02 [23:17:42]Write to MH i2c: E2 08 00 37 0D 80 0D 01 02 00 00 00 00 BD [23:17:42]Write i2c OK [23:17:42]MH_I2C_Read... [23:17:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:17:42]Read from MH i2c: E2 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 03 00 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 03 00 37 0D 00 90 00 B8 [23:17:42]RAPDU: 90 00 [23:17:42]wFMCommunicate OK [23:17:42]wFMCommunicate request_size=255 [23:17:42]MH_SAM_APDU [23:17:42]CAPDU: 80 0D 02 02 FA 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 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 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 AE 00 00 00 F4 03 04 00 96 1B 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 [23:17:42]Write to MH i2c: E2 02 01 38 0D 80 0D 02 02 FA 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 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 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 AE 00 00 00 F4 03 04 00 96 1B 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 00 00 72 [23:17:42]Write i2c OK [23:17:42]MH_I2C_Read... [23:17:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:17:42]Read from MH i2c: E2 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 03 00 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 03 00 38 0D 00 90 00 B9 [23:17:42]RAPDU: 90 00 [23:17:42]wFMCommunicate OK [23:17:42]wFMCommunicate request_size=24 [23:17:42]MH_SAM_APDU [23:17:42]CAPDU: 80 0D 02 02 13 38 10 04 04 00 AD 0A 01 00 35 04 06 00 9C 06 FD 00 BD C8 [23:17:42]Write to MH i2c: E2 1B 00 39 0D 80 0D 02 02 13 00 38 10 04 04 00 AD 0A 01 00 35 04 06 00 9C 06 FD 00 BD C8 00 00 51 [23:17:42]Write i2c OK [23:17:42]MH_I2C_Read... [23:17:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:17:42]Read from MH i2c: E2 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 03 00 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 03 00 39 0D 00 90 00 BA [23:17:42]RAPDU: 90 00 [23:17:42]wFMCommunicate OK [23:17:42]wFMCommunicate request_size=4 [23:17:42]MH_SAM_APDU [23:17:42]CAPDU: 80 0D 03 02 [23:17:42]Write to MH i2c: E2 08 00 3A 0D 80 0D 03 02 00 00 00 00 C2 [23:17:42]Write i2c OK [23:17:42]MH_I2C_Read... [23:17:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:17:42]Read from MH i2c: E2 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 0B 00 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 0B 00 3A 0D 00 F1 B0 3C 71 F1 8E 7F 40 90 00 4F [23:17:42]RAPDU: F1 B0 3C 71 F1 8E 7F 40 90 00 [23:17:42]wFMCommunicate OK [23:17:42]SAM_PROTO_SignData done [23:17:42]FM_MakeSignedData done [23:17:42]CreateOFDProtocolMessage [23:17:42]wFMCommunicate request_size=4 [23:17:42]MH_SAM_APDU [23:17:42]CAPDU: 80 11 00 00 [23:17:42]Write to MH i2c: E2 08 00 3B 0D 80 11 00 00 00 00 00 00 C2 [23:17:42]Write i2c OK [23:17:42]MH_I2C_Read... [23:17:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:17:42]Read from MH i2c: E2 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 17 00 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: E2 17 00 3B 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 19 [23:17:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:17:42]wFMCommunicate OK [23:17:42]CreateOFDProtocolMessage done [23:17:42]OFDSenderStorePacket 68269 [23:17:42]StoreOFDPacket docnum=68269 [23:17:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 1D 01 00 00 13 F5 15 01 6F 0E 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 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 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 AE 00 00 00 F4 03 04 00 96 1B 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AD 0A 01 00 35 04 06 00 9C 06 FD 00 BD C8 F1 B0 3C 71 F1 8E 7F 40 [23:17:42]CheckFolder [23:17:42]dirname=/storage/ofd_packets [23:17:42]CheckFolder done [23:17:42]ProducePacketName [23:17:42]name=ofd_packets/00068269 [23:17:42]NVStorageSaveData ofd_packets/00068269 [23:17:42]File name is /storage/ofd_packets/00068269 [23:17:42]Write 315 bytes [23:17:42]NVStorageSaveData done [23:17:42]OFDSenderStorePacket done [23:17:42]KKMCreateOFDPacket done [23:17:42]NVStorageSaveData kkm_last_timestamp [23:17:42]File name is /storage/kkm_last_timestamp [23:17:42]Write 4 bytes [23:17:42]NVStorageSaveData done [23:17:42]ExternCall_PrintAddStr [23:17:42]wPrintStart [23:17:42]Write to MH i2c: 01 00 00 3C 0D 49 [23:17:42]Write i2c OK [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: 01 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: 01 07 00 [23:17:42]MH_I2C_Read... [23:17:42]Read from MH i2c: 01 07 00 3C 0D 00 00 00 00 00 FF 0F 5E [23:17:42]RasterBufferAndPrint [23:17:42]line Счет N : (3)17210 [23:17:42]line ИНН: 02508201610067 [23:17:42]line Контрольно-Кассовый Чек [23:17:42]line ПРОДАЖА [23:17:42]line Товар: 4700026030109 [23:17:42]line Курут чобого [23:17:42]line 1.000 * 49.00 [23:17:42]line = 49.00 [23:17:42]line НДС 12% НСП 1% [23:17:42]line > о реализуемом товаре [23:17:42]line ИТОГО: 49.00 [23:17:42]line НСП 1% : 0.43 [23:17:42]line НДС 12% : 5.20 [23:17:42]line Наличными: 49.00 [23:17:42]line Безнал.: 0.00 [23:17:42]line Место: АЗС № 160 "Партнер Нефть" [23:17:42]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [23:17:42]line СНО: Общий режим [23:17:42]line Чек 174 28.10.2024 23:17 [23:17:42]line Смена: 547 ФФД: 1.0 [23:17:42]line ЗНМ: 0300000093 [23:17:42]line РНМ: 0000000000091759 [23:17:42]line Версия ККМ: 001 [23:17:42]line ФМ: 0000000000871758 [23:17:42]line ФД: 68269 [23:17:42]line ФПД: 171553828421064 [23:17:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T231742&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68269&fm=171553828421064&tin=02508201610067®Number=0000000000091759&sum=4900 [23:17:42]line 0 [23:17:43]written 0, free lines is 4095 [23:17:43]OFD Sender: Processing packet 68269 [packets to send 27, broken 26] [23:17:43]ProducePacketName [23:17:43]name=ofd_packets/00068269 [23:17:43]OFD Sender: To server: pG, [23:17:43]CommunicateWithHost lk.salyk.kg:30040 [23:17:43]ConnectInit lk.salyk.kg [23:17:43]Connected sock=10 [23:17:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 1D 01 00 00 13 F5 15 01 6F 0E 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 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 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 AE 00 00 00 F4 03 04 00 96 1B 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AD 0A 01 00 35 04 06 00 9C 06 FD 00 BD C8 F1 B0 3C 71 F1 8E 7F 40 [23:17:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 85 CF 47 00 F2 A6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AD 0A 01 00 F4 03 04 00 75 C7 1F 67 B6 04 01 00 00 0B 7C ED 19 51 B9 8C D4 [23:17:43]CommunicateWithHost err = 0 [23:17:43]CheckOFDResponse [23:17:43]1017 (14) - 77093643461234 [23:17:43]1041 (16) - 0000000000871758 [23:17:43]1040 (4) - 68269 [23:17:43]1012 (4) - 28.10.2024 17:18 [23:17:43]1206 (1) - 0 [23:17:43]OFD Sender: Remove packet 68269 [23:17:43]ProducePacketName [23:17:43]name=ofd_packets/00068269 [23:17:43]NVStorageDeleteData [23:17:43]Write to MH i2c: 01 00 00 63 0D 70 [23:17:43]Write i2c OK [23:17:43]MH_I2C_Read... [23:17:43]Read from MH i2c: 01 [23:17:43]MH_I2C_Read... [23:17:43]Read from MH i2c: 01 07 00 [23:17:43]MH_I2C_Read... [23:17:43]Read from MH i2c: 01 07 00 63 0D 00 00 00 00 00 DE 0C 61 [23:17:43]RasterBufferAndPrint [23:17:43]line [23:17:43]line [23:17:43]line [23:17:43]line [23:17:43]line [23:17:43]written 0, free lines is 3300 [23:17:43]MH_Cut [23:17:43]Write to MH i2c: D1 01 00 6A 0D 01 49 [23:17:43]Write i2c OK [23:17:43]MH_I2C_Read... [23:17:43]Read from MH i2c: D1 [23:17:43]MH_I2C_Read... [23:17:43]Read from MH i2c: D1 01 00 [23:17:43]MH_I2C_Read... [23:17:43]Read from MH i2c: D1 01 00 6A 0D 00 48 [23:17:43]Write to MH i2c: 01 00 00 6B 0D 78 [23:17:43]Write i2c OK [23:17:43]MH_I2C_Read... [23:17:43]OFD Sender: No OFD packet to send [23:17:44]*** Cut start [23:17:44]*** Partial cut [23:17:44]*** CUTSNS_PIN = 1 [23:17:44]*** CUTSNS_PIN = 0 [23:17:44]*** Brake cut motor [23:17:44]Read from MH i2c: 01 [23:17:44]MH_I2C_Read... [23:17:44]*** Stop cut motor [23:17:44]*** Cut end [23:17:44]Read from MH i2c: 01 07 00 [23:17:44]MH_I2C_Read... [23:17:44]Read from MH i2c: 01 07 00 6B 0D 00 00 00 00 00 FF 0F 8D [23:17:44]process_action close_receipt done [23:17:44]requested_data is exist [23:17:44]produce_requested_data [23:17:44]requested_item fm.sn is exist - process it [23:17:44]wFMCommunicate request_size=4 [23:17:44]MH_SAM_APDU [23:17:44]CAPDU: 80 11 00 00 [23:17:44]Write to MH i2c: E2 08 00 6C 0D 80 11 00 00 00 00 00 00 F3 [23:17:44]Write i2c OK [23:17:44]MH_I2C_Read... [23:17:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:17:44]Read from MH i2c: E2 [23:17:44]MH_I2C_Read... [23:17:44]Read from MH i2c: E2 17 00 [23:17:44]MH_I2C_Read... [23:17:44]Read from MH i2c: E2 17 00 6C 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 4A [23:17:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:17:44]wFMCommunicate OK [23:17:44]requested_item fd.num is exist - process it [23:17:44]SAM_PROTO_GetFieldsCounters [23:17:44]wFMCommunicate request_size=4 [23:17:44]MH_SAM_APDU [23:17:44]CAPDU: 80 13 00 00 [23:17:44]Write to MH i2c: E2 08 00 6D 0D 80 13 00 00 00 00 00 00 F6 [23:17:44]Write i2c OK [23:17:44]MH_I2C_Read... [23:17:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:17:45]Read from MH i2c: E2 [23:17:45]MH_I2C_Read... [23:17:45]Read from MH i2c: E2 62 00 [23:17:45]MH_I2C_Read... [23:17:45]Read from MH i2c: E2 62 00 6D 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 AD 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 AE 00 00 00 5E 04 04 00 AE 00 00 00 57 04 04 00 AF 00 00 00 19 04 04 00 00 00 00 00 90 00 08 [23:17:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 AD 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 AE 00 00 00 5E 04 04 00 AE 00 00 00 57 04 04 00 AF 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:17:45]wFMCommunicate OK [23:17:45]SAM_PROTO_GetFieldsCounters done [23:17:45]requested_item shift.num is exist - process it [23:17:45]requested_item shift.opened is exist - process it [23:17:45]req_shift_opened [23:17:45]FM_GetShiftState [23:17:45]SAM_PROTO_GetShiftState [23:17:45]wFMCommunicate request_size=4 [23:17:45]MH_SAM_APDU [23:17:45]CAPDU: 80 13 01 00 [23:17:45]Write to MH i2c: E2 08 00 6E 0D 80 13 01 00 00 00 00 00 F8 [23:17:45]Write i2c OK [23:17:45]MH_I2C_Read... [23:17:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:17:45]Read from MH i2c: E2 [23:17:45]MH_I2C_Read... [23:17:45]Read from MH i2c: E2 0E 00 [23:17:45]MH_I2C_Read... [23:17:45]Read from MH i2c: E2 0E 00 6E 0D 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 F3 [23:17:45]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:17:45]wFMCommunicate OK [23:17:45]SAM_PROTO_GetShiftState done [23:17:45]FM_GetShiftState done [23:17:45]req_shift_opened done [23:17:45]requested_item shift.open_date is exist - process it [23:17:45]req_shift_open_date [23:17:45]req_shift_open_date done [23:17:45]produce_requested_data done [23:17:45]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68269,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [23:17:45]process_action_free close_receipt [23:17:45]json_value_free [23:17:45]json_value_free done [23:17:45]process_json_proto returns [23:17:45]Send response to host [23:17:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68269,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [23:17:45]free response buf [23:17:45]execute_script done [23:17:45]execute_script returns [23:17:45]free content buf [23:17:45]Sock 7.Close socket [23:17:45]Sock 7.Thread stoped [23:17:48]OFD Sender: No OFD packet to send [23:17:53]OFD Sender: No OFD packet to send [23:17:58]OFD Sender: No OFD packet to send [23:18:03]OFD Sender: No OFD packet to send [23:18:08]OFD Sender: No OFD packet to send [23:18:13]OFD Sender: No OFD packet to send [23:18:18]OFD Sender: No OFD packet to send [23:18:23]OFD Sender: No OFD packet to send [23:18:28]OFD Sender: No OFD packet to send [23:18:33]OFD Sender: No OFD packet to send [23:18:38]OFD Sender: No OFD packet to send [23:18:43]OFD Sender: No OFD packet to send [23:18:48]OFD Sender: No OFD packet to send [23:18:53]OFD Sender: No OFD packet to send [23:18:58]OFD Sender: No OFD packet to send [23:19:03]OFD Sender: No OFD packet to send [23:19:08]OFD Sender: No OFD packet to send [23:19:13]OFD Sender: No OFD packet to send [23:19:18]OFD Sender: No OFD packet to send [23:19:23]OFD Sender: No OFD packet to send [23:19:28]OFD Sender: No OFD packet to send [23:19:33]OFD Sender: No OFD packet to send [23:19:38]OFD Sender: No OFD packet to send [23:19:43]OFD Sender: No OFD packet to send [23:19:48]OFD Sender: No OFD packet to send [23:19:53]OFD Sender: No OFD packet to send [23:19:58]OFD Sender: No OFD packet to send [23:20:03]OFD Sender: No OFD packet to send [23:20:08]OFD Sender: No OFD packet to send [23:20:13]OFD Sender: No OFD packet to send [23:20:18]OFD Sender: No OFD packet to send [23:20:23]OFD Sender: No OFD packet to send [23:20:28]OFD Sender: No OFD packet to send [23:20:33]OFD Sender: No OFD packet to send [23:20:38]OFD Sender: No OFD packet to send [23:20:43]OFD Sender: No OFD packet to send [23:20:48]OFD Sender: No OFD packet to send [23:20:54]OFD Sender: No OFD packet to send [23:20:59]OFD Sender: No OFD packet to send [23:21:04]OFD Sender: No OFD packet to send [23:21:09]OFD Sender: No OFD packet to send [23:21:14]OFD Sender: No OFD packet to send [23:21:19]OFD Sender: No OFD packet to send [23:21:24]OFD Sender: No OFD packet to send [23:21:29]OFD Sender: No OFD packet to send [23:21:34]OFD Sender: No OFD packet to send [23:21:39]OFD Sender: No OFD packet to send [23:21:44]OFD Sender: No OFD packet to send [23:21:49]OFD Sender: No OFD packet to send [23:21:54]OFD Sender: No OFD packet to send [23:21:59]OFD Sender: No OFD packet to send [23:22:04]OFD Sender: No OFD packet to send [23:22:09]OFD Sender: No OFD packet to send [23:22:14]OFD Sender: No OFD packet to send [23:22:19]OFD Sender: No OFD packet to send [23:22:24]OFD Sender: No OFD packet to send [23:22:29]OFD Sender: No OFD packet to send [23:22:34]OFD Sender: No OFD packet to send [23:22:39]OFD Sender: No OFD packet to send [23:22:44]OFD Sender: No OFD packet to send [23:22:49]OFD Sender: No OFD packet to send [23:22:54]OFD Sender: No OFD packet to send [23:22:59]OFD Sender: No OFD packet to send [23:23:04]OFD Sender: No OFD packet to send [23:23:09]OFD Sender: No OFD packet to send [23:23:14]OFD Sender: No OFD packet to send [23:23:19]OFD Sender: No OFD packet to send [23:23:24]OFD Sender: No OFD packet to send [23:23:29]OFD Sender: No OFD packet to send [23:23:34]OFD Sender: No OFD packet to send [23:23:39]OFD Sender: No OFD packet to send [23:23:44]OFD Sender: No OFD packet to send [23:23:49]OFD Sender: No OFD packet to send [23:23:54]OFD Sender: No OFD packet to send [23:23:59]OFD Sender: No OFD packet to send [23:24:04]OFD Sender: No OFD packet to send [23:24:09]OFD Sender: No OFD packet to send [23:24:14]OFD Sender: No OFD packet to send [23:24:19]OFD Sender: No OFD packet to send [23:24:24]OFD Sender: No OFD packet to send [23:24:29]OFD Sender: No OFD packet to send [23:24:34]OFD Sender: No OFD packet to send [23:24:39]OFD Sender: No OFD packet to send [23:24:44]OFD Sender: No OFD packet to send [23:24:49]OFD Sender: No OFD packet to send [23:24:54]OFD Sender: No OFD packet to send [23:24:59]accept exits with 9 [23:24:59]New connection [23:24:59]New thread 3067497828 created [23:24:59]Thread 3067354468 joined [23:24:59]Waiting for new connection... [23:24:59] Sock 9.Parse request [23:24:59]Sock 9.Check first char [23:24:59]Sock 9.First char is OK [23:24:59]request: POST /json_proto HTTP/1.0 [23:24:59]Method: POST [23:24:59]URL: /json_proto [23:24:59]Method is POST - this is cgi request [23:24:59]url: /json_proto [23:24:59]query_string will be loaded in cgi processing [23:24:59]execute_cgi json_proto POST (null) [23:24:59]execute_cgi path=json_proto method=POST [23:24:59]POST find Content-Length [23:24:59]Host: 172.17.42.3:8080 [23:24:59]Content-Length: 669 [23:24:59]Content-Type: application/json [23:24:59] [23:24:59]POST finish read [23:24:59]Found Content-Length = 669 [23:24:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17211", "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" ] } } [23:24:59]execute_script... [23:24:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17211", "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" ] } } [23:24:59]POST & json_proto [23:24:59]process_json_proto [23:24:59]json parsed OK: [23:24:59]protocol is kg_v1.0 [23:24:59]action value=close_receipt [23:24:59]process_action close_receipt [23:24:59]cmd_close_receipt [23:24:59]MH_GetDate [23:24:59]Write to MH i2c: F0 00 00 6F 0D 6B [23:24:59]Write i2c OK [23:24:59]MH_I2C_Read... [23:24:59]Read from MH i2c: F0 [23:24:59]MH_I2C_Read... [23:24:59]Read from MH i2c: F0 09 00 [23:24:59]MH_I2C_Read... [23:24:59]Read from MH i2c: F0 09 00 6F 0D 00 4C 1D 20 67 0E CB 1F 67 C3 [23:24:59]GetLastDocTimeStamp 1730157462 [23:24:59]current date 1730157900 [23:24:59]FM_GetShiftState [23:24:59]SAM_PROTO_GetShiftState [23:24:59]wFMCommunicate request_size=4 [23:24:59]MH_SAM_APDU [23:24:59]CAPDU: 80 13 01 00 [23:24:59]Write to MH i2c: E2 08 00 70 0D 80 13 01 00 00 00 00 00 FA [23:24:59]Write i2c OK [23:24:59]MH_I2C_Read... [23:24:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:24:59]Read from MH i2c: E2 [23:24:59]MH_I2C_Read... [23:24:59]Read from MH i2c: E2 0E 00 [23:24:59]MH_I2C_Read... [23:24:59]Read from MH i2c: E2 0E 00 70 0D 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 F5 [23:24:59]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:24:59]wFMCommunicate OK [23:24:59]SAM_PROTO_GetShiftState done [23:24:59]FM_GetShiftState done [23:24:59]opened in 1730074770 [23:24:59]opened+sec_in_day 1730161170 [23:24:59]quantity*price = 9500 [23:24:59]sum+1 = 9501 [23:24:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 175 28.10.2024 23:25 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68270 ФПД: 259305426393797 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T232500&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68270&fm=259305426393797&tin=02508201610067®Number=0000000000091759&sum=9500 0 [23:25:00]StoreToDocumentArchive [23:25:00]shift 547 fd 68270 [23:25:00]save to /storage/0547/doc_00068270 [23:25:00]save last doc name /storage/0547/doc_00068270 to /storage/kkm_last_doc_name [23:25:00]save OK [23:25:00]Clear old archive folders... [23:25:00]ProcessDocumentItem done err = 0, tmpTLVsize=293 [23:25:00]tlvbuf is 005E1BA0 [23:25:00]SAM_PROTO_ClearQueue [23:25:00]wFMCommunicate request_size=4 [23:25:00]MH_SAM_APDU [23:25:00]CAPDU: 80 09 00 00 [23:25:00]Write to MH i2c: E2 08 00 7D 0D 80 09 00 00 00 00 00 00 FC [23:25:00]Write i2c OK [23:25:00]MH_I2C_Read... [23:25:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:25:00]Read from MH i2c: E2 [23:25:00]MH_I2C_Read... [23:25:00]Read from MH i2c: E2 03 00 [23:25:00]MH_I2C_Read... [23:25:00]Read from MH i2c: E2 03 00 7D 0D 00 90 00 FE [23:25:00]RAPDU: 90 00 [23:25:00]wFMCommunicate OK [23:25:00]SAM_PROTO_ClearQueue done [23:25:00]KKMCreateOFDPacket [23:25:00]OFDProtocolAddRootSTLVToBuf [23:25:00]FM_MakeSignedData [23:25:00]FM_MakeSignedData [23:25:00]SAM_PROTO_SignData [23:25:00]wFMCommunicate request_size=4 [23:25:00]MH_SAM_APDU [23:25:00]CAPDU: 80 0D 01 02 [23:25:00]Write to MH i2c: E2 08 00 7E 0D 80 0D 01 02 00 00 00 00 04 [23:25:00]Write i2c OK [23:25:00]MH_I2C_Read... [23:25:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:25:00]Read from MH i2c: E2 [23:25:00]MH_I2C_Read... [23:25:00]Read from MH i2c: E2 03 00 [23:25:00]MH_I2C_Read... [23:25:00]Read from MH i2c: E2 03 00 7E 0D 00 90 00 FF [23:25:00]RAPDU: 90 00 [23:25:00]wFMCommunicate OK [23:25:00]wFMCommunicate request_size=255 [23:25:00]MH_SAM_APDU [23:25:00]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 AF 00 00 00 F4 03 04 00 4C 1D 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [23:25:00]Write to MH i2c: E2 02 01 7F 0D 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 AF 00 00 00 F4 03 04 00 4C 1D 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 C0 [23:25:00]Write i2c OK [23:25:00]MH_I2C_Read... [23:25:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:25:00]Read from MH i2c: E2 [23:25:00]MH_I2C_Read... [23:25:00]Read from MH i2c: E2 03 00 [23:25:00]MH_I2C_Read... [23:25:00]Read from MH i2c: E2 03 00 7F 0D 00 90 00 00 [23:25:00]RAPDU: 90 00 [23:25:00]wFMCommunicate OK [23:25:00]wFMCommunicate request_size=52 [23:25:00]MH_SAM_APDU [23:25:00]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AE 0A 01 00 35 04 06 00 EB D6 3F D4 1A C5 [23:25:00]Write to MH i2c: E2 37 00 80 0D 80 0D 02 02 2F 00 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AE 0A 01 00 35 04 06 00 EB D6 3F D4 1A C5 00 00 40 [23:25:00]Write i2c OK [23:25:00]MH_I2C_Read... [23:25:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:25:00]Read from MH i2c: E2 [23:25:00]MH_I2C_Read... [23:25:00]Read from MH i2c: E2 03 00 [23:25:00]MH_I2C_Read... [23:25:00]Read from MH i2c: E2 03 00 80 0D 00 90 00 01 [23:25:00]RAPDU: 90 00 [23:25:00]wFMCommunicate OK [23:25:00]wFMCommunicate request_size=4 [23:25:00]MH_SAM_APDU [23:25:00]CAPDU: 80 0D 03 02 [23:25:00]Write to MH i2c: E2 08 00 81 0D 80 0D 03 02 00 00 00 00 09 [23:25:00]Write i2c OK [23:25:00]MH_I2C_Read... [23:25:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:25:00]Read from MH i2c: E2 [23:25:00]MH_I2C_Read... [23:25:00]Read from MH i2c: E2 0B 00 [23:25:00]MH_I2C_Read... [23:25:00]Read from MH i2c: E2 0B 00 81 0D 00 17 E7 6A 67 92 C2 4F 82 90 00 FE [23:25:00]RAPDU: 17 E7 6A 67 92 C2 4F 82 90 00 [23:25:00]wFMCommunicate OK [23:25:00]SAM_PROTO_SignData done [23:25:00]FM_MakeSignedData done [23:25:00]CreateOFDProtocolMessage [23:25:00]wFMCommunicate request_size=4 [23:25:00]MH_SAM_APDU [23:25:00]CAPDU: 80 11 00 00 [23:25:00]Write to MH i2c: E2 08 00 82 0D 80 11 00 00 00 00 00 00 09 [23:25:00]Write i2c OK [23:25:00]MH_I2C_Read... [23:25:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:25:00]Read from MH i2c: E2 [23:25:00]MH_I2C_Read... [23:25:00]Read from MH i2c: E2 17 00 [23:25:00]MH_I2C_Read... [23:25:00]Read from MH i2c: E2 17 00 82 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 60 [23:25:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:25:00]wFMCommunicate OK [23:25:00]CreateOFDProtocolMessage done [23:25:00]OFDSenderStorePacket 68270 [23:25:00]StoreOFDPacket docnum=68270 [23:25:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 39 01 00 00 0E F9 31 01 FC C4 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 AF 00 00 00 F4 03 04 00 4C 1D 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AE 0A 01 00 35 04 06 00 EB D6 3F D4 1A C5 17 E7 6A 67 92 C2 4F 82 [23:25:00]CheckFolder [23:25:00]dirname=/storage/ofd_packets [23:25:00]CheckFolder done [23:25:00]ProducePacketName [23:25:00]name=ofd_packets/00068270 [23:25:00]NVStorageSaveData ofd_packets/00068270 [23:25:00]File name is /storage/ofd_packets/00068270 [23:25:00]Write 343 bytes [23:25:00]NVStorageSaveData done [23:25:00]OFDSenderStorePacket done [23:25:00]KKMCreateOFDPacket done [23:25:00]NVStorageSaveData kkm_last_timestamp [23:25:00]File name is /storage/kkm_last_timestamp [23:25:00]Write 4 bytes [23:25:00]NVStorageSaveData done [23:25:00]ExternCall_PrintAddStr [23:25:00]wPrintStart [23:25:00]Write to MH i2c: 01 00 00 83 0D 90 [23:25:00]Write i2c OK [23:25:00]MH_I2C_Read... [23:25:00]Read from MH i2c: 01 [23:25:00]MH_I2C_Read... [23:25:00]Read from MH i2c: 01 07 00 [23:25:00]MH_I2C_Read... [23:25:00]Read from MH i2c: 01 07 00 83 0D 00 00 00 00 00 FF 0F A5 [23:25:00]RasterBufferAndPrint [23:25:00]line Счет N : (3)17211 [23:25:00]line ИНН: 02508201610067 [23:25:00]line Контрольно-Кассовый Чек [23:25:00]line ПРОДАЖА [23:25:00]line Товар: 4700003010056 [23:25:00]line Чай хол Let`s Go! зел лим ПЭТ 1,25л [23:25:00]line 1.000 * 95.00 [23:25:00]line = 95.00 [23:25:00]line НДС 12% НСП 1% [23:25:00]line > о реализуемом товаре [23:25:00]line ИТОГО: 95.00 [23:25:00]line НСП 1% : 0.84 [23:25:00]line НДС 12% : 10.09 [23:25:00]line Наличными: 95.00 [23:25:00]line Безнал.: 0.00 [23:25:00]line Место: АЗС № 160 "Партнер Нефть" [23:25:00]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [23:25:00]line СНО: Общий режим [23:25:00]line Чек 175 28.10.2024 23:25 [23:25:00]line Смена: 547 ФФД: 1.0 [23:25:00]line ЗНМ: 0300000093 [23:25:00]line РНМ: 0000000000091759 [23:25:00]line Версия ККМ: 001 [23:25:00]line ФМ: 0000000000871758 [23:25:00]line ФД: 68270 [23:25:00]line ФПД: 259305426393797 [23:25:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T232500&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68270&fm=259305426393797&tin=02508201610067®Number=0000000000091759&sum=9500 [23:25:01]line 0 [23:25:01]OFD Sender: Processing packet 68270 [packets to send 27, broken 26] [23:25:01]ProducePacketName [23:25:01]name=ofd_packets/00068270 [23:25:01]OFD Sender: To server: pG, [23:25:01]CommunicateWithHost lk.salyk.kg:30040 [23:25:01]ConnectInit lk.salyk.kg [23:25:01]written 0, free lines is 4095 [23:25:01]Connected sock=10 [23:25:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 39 01 00 00 0E F9 31 01 FC C4 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 AF 00 00 00 F4 03 04 00 4C 1D 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AE 0A 01 00 35 04 06 00 EB D6 3F D4 1A C5 17 E7 6A 67 92 C2 4F 82 [23:25:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 D1 02 47 00 45 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 38 37 31 37 35 38 10 04 04 00 AE 0A 01 00 F4 03 04 00 2C C9 1F 67 B6 04 01 00 00 7E 13 E5 27 2F 39 F8 35 [23:25:01]CommunicateWithHost err = 0 [23:25:01]CheckOFDResponse [23:25:01]1017 (14) - 77093643461234 [23:25:01]1041 (16) - 0000000000871758 [23:25:01]1040 (4) - 68270 [23:25:01]1012 (4) - 28.10.2024 17:26 [23:25:01]1206 (1) - 0 [23:25:01]OFD Sender: Remove packet 68270 [23:25:01]ProducePacketName [23:25:01]name=ofd_packets/00068270 [23:25:01]NVStorageDeleteData [23:25:01]Write to MH i2c: 01 00 00 AB 0D B8 [23:25:01]Write i2c OK [23:25:01]MH_I2C_Read... [23:25:01]Read from MH i2c: 01 [23:25:01]MH_I2C_Read... [23:25:01]Read from MH i2c: 01 07 00 [23:25:01]MH_I2C_Read... [23:25:01]Read from MH i2c: 01 07 00 AB 0D 00 00 00 00 00 C2 0C 8D [23:25:01]RasterBufferAndPrint [23:25:01]line [23:25:01]line [23:25:01]line [23:25:01]line [23:25:01]line [23:25:01]written 0, free lines is 3271 [23:25:01]MH_Cut [23:25:01]Write to MH i2c: D1 01 00 B2 0D 01 91 [23:25:01]Write i2c OK [23:25:01]MH_I2C_Read... [23:25:01]Read from MH i2c: D1 [23:25:01]MH_I2C_Read... [23:25:01]Read from MH i2c: D1 01 00 [23:25:01]MH_I2C_Read... [23:25:01]Read from MH i2c: D1 01 00 B2 0D 00 90 [23:25:01]Write to MH i2c: 01 00 00 B3 0D C0 [23:25:01]Write i2c OK [23:25:01]MH_I2C_Read... [23:25:01]OFD Sender: No OFD packet to send [23:25:02]*** Cut start [23:25:02]*** Partial cut [23:25:02]*** CUTSNS_PIN = 1 [23:25:02]*** CUTSNS_PIN = 0 [23:25:02]*** Brake cut motor [23:25:02]Read from MH i2c: 01 [23:25:03]MH_I2C_Read... [23:25:03]*** Stop cut motor [23:25:03]*** Cut end [23:25:03]Read from MH i2c: 01 07 00 [23:25:03]MH_I2C_Read... [23:25:03]Read from MH i2c: 01 07 00 B3 0D 00 00 00 00 00 FF 0F D5 [23:25:03]process_action close_receipt done [23:25:03]requested_data is exist [23:25:03]produce_requested_data [23:25:03]requested_item fm.sn is exist - process it [23:25:03]wFMCommunicate request_size=4 [23:25:03]MH_SAM_APDU [23:25:03]CAPDU: 80 11 00 00 [23:25:03]Write to MH i2c: E2 08 00 B4 0D 80 11 00 00 00 00 00 00 3B [23:25:03]Write i2c OK [23:25:03]MH_I2C_Read... [23:25:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:25:03]Read from MH i2c: E2 [23:25:03]MH_I2C_Read... [23:25:03]Read from MH i2c: E2 17 00 [23:25:03]MH_I2C_Read... [23:25:03]Read from MH i2c: E2 17 00 B4 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 92 [23:25:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:25:03]wFMCommunicate OK [23:25:03]requested_item fd.num is exist - process it [23:25:03]SAM_PROTO_GetFieldsCounters [23:25:03]wFMCommunicate request_size=4 [23:25:03]MH_SAM_APDU [23:25:03]CAPDU: 80 13 00 00 [23:25:03]Write to MH i2c: E2 08 00 B5 0D 80 13 00 00 00 00 00 00 3E [23:25:03]Write i2c OK [23:25:03]MH_I2C_Read... [23:25:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:25:03]Read from MH i2c: E2 [23:25:03]MH_I2C_Read... [23:25:03]Read from MH i2c: E2 62 00 [23:25:03]MH_I2C_Read... [23:25:03]Read from MH i2c: E2 62 00 B5 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 AE 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 AF 00 00 00 5E 04 04 00 AF 00 00 00 57 04 04 00 B0 00 00 00 19 04 04 00 00 00 00 00 90 00 54 [23:25:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 AE 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 AF 00 00 00 5E 04 04 00 AF 00 00 00 57 04 04 00 B0 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:25:03]wFMCommunicate OK [23:25:03]SAM_PROTO_GetFieldsCounters done [23:25:03]requested_item shift.num is exist - process it [23:25:03]requested_item shift.opened is exist - process it [23:25:03]req_shift_opened [23:25:03]FM_GetShiftState [23:25:03]SAM_PROTO_GetShiftState [23:25:03]wFMCommunicate request_size=4 [23:25:03]MH_SAM_APDU [23:25:03]CAPDU: 80 13 01 00 [23:25:03]Write to MH i2c: E2 08 00 B6 0D 80 13 01 00 00 00 00 00 40 [23:25:03]Write i2c OK [23:25:03]MH_I2C_Read... [23:25:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:25:03]Read from MH i2c: E2 [23:25:03]MH_I2C_Read... [23:25:03]Read from MH i2c: E2 0E 00 [23:25:03]MH_I2C_Read... [23:25:03]Read from MH i2c: E2 0E 00 B6 0D 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 3B [23:25:03]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:25:03]wFMCommunicate OK [23:25:03]SAM_PROTO_GetShiftState done [23:25:03]FM_GetShiftState done [23:25:03]req_shift_opened done [23:25:03]requested_item shift.open_date is exist - process it [23:25:03]req_shift_open_date [23:25:03]req_shift_open_date done [23:25:03]produce_requested_data done [23:25:03]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68270,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [23:25:03]process_action_free close_receipt [23:25:03]json_value_free [23:25:03]json_value_free done [23:25:03]process_json_proto returns [23:25:03]Send response to host [23:25:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68270,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [23:25:03]free response buf [23:25:03]execute_script done [23:25:03]execute_script returns [23:25:03]free content buf [23:25:03]Sock 9.Close socket [23:25:03]Sock 9.Thread stoped [23:25:06]OFD Sender: No OFD packet to send [23:25:11]OFD Sender: No OFD packet to send [23:25:13]int [23:25:13]Write to MH i2c: 01 00 00 B7 0D C4 [23:25:13]*** FLAG_PRN_PAP1 set [23:25:13]Write i2c OK [23:25:13]MH_I2C_Read... [23:25:13]Read from MH i2c: 01 [23:25:13]MH_I2C_Read... [23:25:13]Read from MH i2c: 01 07 00 [23:25:13]MH_I2C_Read... [23:25:13]Read from MH i2c: 01 07 00 B7 0D 00 01 00 00 00 FF 0F DA [23:25:13]state=0 [23:25:13]No paper [23:25:13]int [23:25:13]Write to MH i2c: 01 00 00 B8 0D C5 [23:25:13]*** FLAG_PRN_PAP2 set [23:25:13]Write i2c OK [23:25:13]MH_I2C_Read... [23:25:13]Read from MH i2c: 01 [23:25:13]MH_I2C_Read... [23:25:13]Read from MH i2c: 01 07 00 [23:25:13]MH_I2C_Read... [23:25:13]Read from MH i2c: 01 07 00 B8 0D 00 03 00 00 00 FF 0F DD [23:25:13]state=0 [23:25:13]No paper [23:25:13]Cover opened [23:25:16]OFD Sender: No OFD packet to send [23:25:18]Write to MH i2c: 01 00 00 B9 0D C6 [23:25:18]Write i2c OK [23:25:18]MH_I2C_Read... [23:25:18]Read from MH i2c: 01 [23:25:18]MH_I2C_Read... [23:25:18]Read from MH i2c: 01 07 00 [23:25:18]MH_I2C_Read... [23:25:18]Read from MH i2c: 01 07 00 B9 0D 00 03 00 00 00 FF 0F DE [23:25:18]state=3 [23:25:18]No paper [23:25:18]Cover opened [23:25:21]OFD Sender: No OFD packet to send [23:25:23]Write to MH i2c: 01 00 00 BA 0D C7 [23:25:23]Write i2c OK [23:25:23]MH_I2C_Read... [23:25:23]Read from MH i2c: 01 [23:25:23]MH_I2C_Read... [23:25:23]Read from MH i2c: 01 07 00 [23:25:23]MH_I2C_Read... [23:25:23]Read from MH i2c: 01 07 00 BA 0D 00 03 00 00 00 FF 0F DF [23:25:23]state=3 [23:25:23]No paper [23:25:23]Cover opened [23:25:26]OFD Sender: No OFD packet to send [23:25:28]Write to MH i2c: 01 00 00 BB 0D C8 [23:25:28]Write i2c OK [23:25:28]MH_I2C_Read... [23:25:28]Read from MH i2c: 01 [23:25:28]MH_I2C_Read... [23:25:28]Read from MH i2c: 01 07 00 [23:25:28]MH_I2C_Read... [23:25:28]Read from MH i2c: 01 07 00 BB 0D 00 03 00 00 00 FF 0F E0 [23:25:28]state=3 [23:25:28]No paper [23:25:28]Cover opened [23:25:30]int [23:25:30]Write to MH i2c: 01 00 00 BC 0D C9 [23:25:30]Write i2c OK [23:25:30]MH_I2C_Read... [23:25:30]Read from MH i2c: 01 [23:25:30]MH_I2C_Read... [23:25:30]Read from MH i2c: 01 07 00 [23:25:30]MH_I2C_Read... [23:25:30]*** FLAG_PRN_PAP2 reset [23:25:30]*** FLAG_PRN_PAP1 reset [23:25:30]Read from MH i2c: 01 07 00 BC 0D 00 00 00 00 00 FF 0F DE [23:25:30]state=3 [23:25:30]Cover closed [23:25:31]OFD Sender: No OFD packet to send [23:25:36]OFD Sender: No OFD packet to send [23:25:39]accept exits with 7 [23:25:39]New connection [23:25:39]New thread 3067354468 created [23:25:39]Thread 3067497828 joined [23:25:39]Waiting for new connection... [23:25:39] Sock 7.Parse request [23:25:39]Sock 7.Check first char [23:25:39]Sock 7.First char is OK [23:25:39]request: POST /json_proto HTTP/1.0 [23:25:39]Method: POST [23:25:39]URL: /json_proto [23:25:39]Method is POST - this is cgi request [23:25:39]url: /json_proto [23:25:39]query_string will be loaded in cgi processing [23:25:39]execute_cgi json_proto POST (null) [23:25:39]execute_cgi path=json_proto method=POST [23:25:39]POST find Content-Length [23:25:39]Host: 172.17.42.3:8080 [23:25:39]Content-Length: 215 [23:25:39]Content-Type: application/json [23:25:39] [23:25:39]POST finish read [23:25:39]Found Content-Length = 215 [23:25:39]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:25:39]execute_script... [23:25:39]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:25:39]POST & json_proto [23:25:39]process_json_proto [23:25:39]json parsed OK: [23:25:39]protocol is kg_v1.0 [23:25:39]action value=get_value [23:25:39]process_action get_value [23:25:39]cmd_get_value [23:25:39]process_action get_value done [23:25:39]requested_data is exist [23:25:39]produce_requested_data [23:25:39]requested_item kkm.sn is exist - process it [23:25:39]requested_item kkm.ver is exist - process it [23:25:39]requested_item fm.sn is exist - process it [23:25:39]wFMCommunicate request_size=4 [23:25:39]MH_SAM_APDU [23:25:39]CAPDU: 80 11 00 00 [23:25:39]Write to MH i2c: E2 08 00 BD 0D 80 11 00 00 00 00 00 00 44 [23:25:39]Write i2c OK [23:25:39]MH_I2C_Read... [23:25:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:25:39]Read from MH i2c: E2 [23:25:39]MH_I2C_Read... [23:25:39]Read from MH i2c: E2 17 00 [23:25:39]MH_I2C_Read... [23:25:39]Read from MH i2c: E2 17 00 BD 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 9B [23:25:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:25:39]wFMCommunicate OK [23:25:39]requested_item fd.num is exist - process it [23:25:39]SAM_PROTO_GetFieldsCounters [23:25:39]wFMCommunicate request_size=4 [23:25:39]MH_SAM_APDU [23:25:39]CAPDU: 80 13 00 00 [23:25:39]Write to MH i2c: E2 08 00 BE 0D 80 13 00 00 00 00 00 00 47 [23:25:39]Write i2c OK [23:25:39]MH_I2C_Read... [23:25:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:25:39]Read from MH i2c: E2 [23:25:39]MH_I2C_Read... [23:25:39]Read from MH i2c: E2 62 00 [23:25:39]MH_I2C_Read... [23:25:39]Read from MH i2c: E2 62 00 BE 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 AE 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 AF 00 00 00 5E 04 04 00 AF 00 00 00 57 04 04 00 B0 00 00 00 19 04 04 00 00 00 00 00 90 00 5D [23:25:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 AE 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 AF 00 00 00 5E 04 04 00 AF 00 00 00 57 04 04 00 B0 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:25:39]wFMCommunicate OK [23:25:39]SAM_PROTO_GetFieldsCounters done [23:25:39]requested_item shift.num is exist - process it [23:25:39]requested_item shift.opened is exist - process it [23:25:39]req_shift_opened [23:25:39]FM_GetShiftState [23:25:39]SAM_PROTO_GetShiftState [23:25:39]wFMCommunicate request_size=4 [23:25:39]MH_SAM_APDU [23:25:39]CAPDU: 80 13 01 00 [23:25:39]Write to MH i2c: E2 08 00 BF 0D 80 13 01 00 00 00 00 00 49 [23:25:39]Write i2c OK [23:25:39]MH_I2C_Read... [23:25:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:25:39]Read from MH i2c: E2 [23:25:39]MH_I2C_Read... [23:25:39]Read from MH i2c: E2 0E 00 [23:25:39]MH_I2C_Read... [23:25:39]Read from MH i2c: E2 0E 00 BF 0D 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 44 [23:25:39]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:25:39]wFMCommunicate OK [23:25:39]SAM_PROTO_GetShiftState done [23:25:39]FM_GetShiftState done [23:25:39]req_shift_opened done [23:25:39]requested_item shift.open_date is exist - process it [23:25:39]req_shift_open_date [23:25:39]req_shift_open_date done [23:25:39]produce_requested_data done [23:25:39]produce_requested_data return {"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68270,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [23:25:39]process_action_free get_value [23:25:39]json_value_free [23:25:39]json_value_free done [23:25:39]process_json_proto returns [23:25:39]Send response to host [23:25:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68270,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [23:25:39]free response buf [23:25:39]execute_script done [23:25:39]execute_script returns [23:25:39]free content buf [23:25:39]Sock 7.Close socket [23:25:39]Sock 7.Thread stoped [23:25:39]accept exits with 10 [23:25:39]New connection [23:25:39]New thread 3067497828 created [23:25:39]Thread 3067354468 joined [23:25:39]Waiting for new connection... [23:25:39] Sock 10.Parse request [23:25:39]Sock 10.Check first char [23:25:39]Sock 10.First char is OK [23:25:39]request: POST /json_proto HTTP/1.0 [23:25:39]Method: POST [23:25:39]URL: /json_proto [23:25:39]Method is POST - this is cgi request [23:25:39]url: /json_proto [23:25:39]query_string will be loaded in cgi processing [23:25:39]execute_cgi json_proto POST (null) [23:25:39]execute_cgi path=json_proto method=POST [23:25:39]POST find Content-Length [23:25:39]Host: 172.17.42.3:8080 [23:25:39]Content-Length: 331 [23:25:39]Content-Type: application/json [23:25:39] [23:25:39]POST finish read [23:25:39]Found Content-Length = 331 [23:25:39]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:25:39]execute_script... [23:25:39]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:25:39]POST & json_proto [23:25:39]process_json_proto [23:25:39]json parsed OK: [23:25:39]protocol is kg_v1.0 [23:25:39]action value=get_value [23:25:40]process_action get_value [23:25:40]cmd_get_value [23:25:40]process_action get_value done [23:25:40]requested_data is exist [23:25:40]produce_requested_data [23:25:40]requested_item fm.sale.total is exist - process it [23:25:40]SAM_PROTO_GetFMData [23:25:40]wFMCommunicate request_size=4 [23:25:40]MH_SAM_APDU [23:25:40]CAPDU: 80 13 03 00 [23:25:40]Write to MH i2c: E2 08 00 C0 0D 80 13 03 00 00 00 00 00 4C [23:25:40]Write i2c OK [23:25:40]MH_I2C_Read... [23:25:40]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:25:40]Read from MH i2c: E2 [23:25:40]MH_I2C_Read... [23:25:40]Read from MH i2c: E2 FD 00 [23:25:40]MH_I2C_Read... [23:25:40]Read from MH i2c: E2 FD 00 C0 0D 00 C7 04 85 04 C3 04 6E 04 04 00 68 06 01 00 69 04 A3 00 6F 04 04 00 69 05 01 00 B1 04 05 00 7C 95 82 61 02 70 04 05 00 98 B5 34 D1 01 72 04 04 00 E4 DF 4D 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 CD BC 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 AA FE 64 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 EC [23:25:40]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 68 06 01 00 69 04 A3 00 6F 04 04 00 69 05 01 00 B1 04 05 00 7C 95 82 61 02 70 04 05 00 98 B5 34 D1 01 72 04 04 00 E4 DF 4D 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 A6 CD BC 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 AA FE 64 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 [23:25:40]wFMCommunicate OK [23:25:40]wFMCommunicate request_size=4 [23:25:40]MH_SAM_APDU [23:25:40]CAPDU: 80 17 00 00 [23:25:40]Write to MH i2c: E2 08 00 C1 0D 80 17 00 00 00 00 00 00 4E [23:25:40]Write i2c OK [23:25:40]MH_I2C_Read... [23:25:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:25:40]Read from MH i2c: E2 [23:25:40]MH_I2C_Read... [23:25:40]Read from MH i2c: E2 FD 00 [23:25:40]MH_I2C_Read... [23:25:40]Read from MH i2c: E2 FD 00 C1 0D 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 60 [23:25:40]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:25:40]wFMCommunicate OK [23:25:40]wFMCommunicate request_size=4 [23:25:40]MH_SAM_APDU [23:25:40]CAPDU: 80 17 00 00 [23:25:40]Write to MH i2c: E2 08 00 C2 0D 80 17 00 00 00 00 00 00 4F [23:25:40]Write i2c OK [23:25:40]MH_I2C_Read... [23:25:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:25:41]Read from MH i2c: E2 [23:25:41]MH_I2C_Read... [23:25:41]Read from MH i2c: E2 FD 00 [23:25:41]MH_I2C_Read... [23:25:41]Read from MH i2c: E2 FD 00 C2 0D 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 27 [23:25:41]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:25:41]wFMCommunicate OK [23:25:41]wFMCommunicate request_size=4 [23:25:41]MH_SAM_APDU [23:25:41]CAPDU: 80 17 00 00 [23:25:41]Write to MH i2c: E2 08 00 C3 0D 80 17 00 00 00 00 00 00 50 [23:25:41]Write i2c OK [23:25:41]MH_I2C_Read... [23:25:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:25:41]Read from MH i2c: E2 [23:25:41]MH_I2C_Read... [23:25:41]Read from MH i2c: E2 FD 00 [23:25:41]MH_I2C_Read... [23:25:41]Read from MH i2c: E2 FD 00 C3 0D 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CB [23:25:41]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:25:41]wFMCommunicate OK [23:25:41]wFMCommunicate request_size=4 [23:25:41]MH_SAM_APDU [23:25:41]CAPDU: 80 17 00 00 [23:25:41]Write to MH i2c: E2 08 00 C4 0D 80 17 00 00 00 00 00 00 51 [23:25:41]Write i2c OK [23:25:41]MH_I2C_Read... [23:25:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [23:25:41]Read from MH i2c: E2 [23:25:41]MH_I2C_Read... [23:25:41]Read from MH i2c: E2 E4 00 [23:25:41]MH_I2C_Read... [23:25:41]Read from MH i2c: E2 E4 00 C4 0D 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 31 [23:25:41]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:25:41]wFMCommunicate OK [23:25:41]SAM_PROTO_GetFMData done [23:25:41]requested_item fm.sale_refund.total is exist - process it [23:25:41]requested_item fm.buy.total is exist - process it [23:25:41]requested_item shift.sale.total is exist - process it [23:25:41]SAM_PROTO_GetShiftData [23:25:41]wFMCommunicate request_size=4 [23:25:41]MH_SAM_APDU [23:25:41]CAPDU: 80 13 02 00 [23:25:41]Write to MH i2c: E2 08 00 C5 0D 80 13 02 00 00 00 00 00 50 [23:25:41]Write i2c OK [23:25:41]MH_I2C_Read... [23:25:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:25:42]Read from MH i2c: E2 [23:25:42]MH_I2C_Read... [23:25:42]Read from MH i2c: E2 FD 00 [23:25:42]MH_I2C_Read... [23:25:42]Read from MH i2c: E2 FD 00 C5 0D 00 B0 04 AA 04 AC 04 6E 04 04 00 AF 00 00 00 69 04 9D 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 B2 7E 1D 01 70 04 03 00 9C CF B6 72 04 03 00 16 AF 66 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 64 52 1E 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 D0 86 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 47 [23:25:42]RAPDU: B0 04 AA 04 AC 04 6E 04 04 00 AF 00 00 00 69 04 9D 00 6F 04 04 00 AF 00 00 00 B1 04 04 00 B2 7E 1D 01 70 04 03 00 9C CF B6 72 04 03 00 16 AF 66 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 64 52 1E 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 D0 86 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:25:42]wFMCommunicate OK [23:25:42]wFMCommunicate request_size=4 [23:25:42]MH_SAM_APDU [23:25:42]CAPDU: 80 17 00 00 [23:25:42]Write to MH i2c: E2 08 00 C6 0D 80 17 00 00 00 00 00 00 53 [23:25:42]OFD Sender: No OFD packet to send [23:25:42]Write i2c OK [23:25:42]MH_I2C_Read... [23:25:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:25:42]Read from MH i2c: E2 [23:25:42]MH_I2C_Read... [23:25:42]Read from MH i2c: E2 FD 00 [23:25:42]MH_I2C_Read... [23:25:42]Read from MH i2c: E2 FD 00 C6 0D 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6D [23:25:42]RAPDU: 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:25:42]wFMCommunicate OK [23:25:42]wFMCommunicate request_size=4 [23:25:42]MH_SAM_APDU [23:25:42]CAPDU: 80 17 00 00 [23:25:42]Write to MH i2c: E2 08 00 C7 0D 80 17 00 00 00 00 00 00 54 [23:25:42]Write i2c OK [23:25:42]MH_I2C_Read... [23:25:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:25:42]Read from MH i2c: E2 [23:25:42]MH_I2C_Read... [23:25:42]Read from MH i2c: E2 FD 00 [23:25:42]MH_I2C_Read... [23:25:42]Read from MH i2c: E2 FD 00 C7 0D 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 11 [23:25:42]RAPDU: 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:25:42]wFMCommunicate OK [23:25:42]wFMCommunicate request_size=4 [23:25:42]MH_SAM_APDU [23:25:42]CAPDU: 80 17 00 00 [23:25:42]Write to MH i2c: E2 08 00 C8 0D 80 17 00 00 00 00 00 00 55 [23:25:42]Write i2c OK [23:25:42]MH_I2C_Read... [23:25:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:25:42]Read from MH i2c: E2 [23:25:42]MH_I2C_Read... [23:25:42]Read from MH i2c: E2 FD 00 [23:25:42]MH_I2C_Read... [23:25:42]Read from MH i2c: E2 FD 00 C8 0D 00 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 90 00 C8 [23:25:42]RAPDU: 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 90 00 [23:25:42]wFMCommunicate OK [23:25:42]wFMCommunicate request_size=4 [23:25:42]MH_SAM_APDU [23:25:42]CAPDU: 80 17 00 00 [23:25:42]Write to MH i2c: E2 08 00 C9 0D 80 17 00 00 00 00 00 00 56 [23:25:42]Write i2c OK [23:25:42]MH_I2C_Read... [23:25:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 202! [23:25:43]Read from MH i2c: E2 [23:25:43]MH_I2C_Read... [23:25:43]Read from MH i2c: E2 CD 00 [23:25:43]MH_I2C_Read... [23:25:43]Read from MH i2c: E2 CD 00 C9 0D 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3A [23:25:43]RAPDU: 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:25:43]wFMCommunicate OK [23:25:43]SAM_PROTO_GetShiftData done [23:25:43]requested_item shift.sale.total_cash is exist - process it [23:25:43]requested_item shift.sale_refund.total is exist - process it [23:25:43]requested_item shift.sale_refund.total_cash is exist - process it [23:25:43]requested_item shift.buy.total is exist - process it [23:25:43]requested_item shift.buy.total_cash is exist - process it [23:25:43]produce_requested_data done [23:25:43]produce_requested_data return {"fm.sale.total":102258824.92,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":187101.94,"shift.sale.total_cash":119807.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:25:43]process_action_free get_value [23:25:43]json_value_free [23:25:43]json_value_free done [23:25:43]process_json_proto returns [23:25:43]Send response to host [23:25:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":102258824.92,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":187101.94,"shift.sale.total_cash":119807.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:25:43]free response buf [23:25:43]execute_script done [23:25:43]execute_script returns [23:25:43]free content buf [23:25:43]Sock 10.Close socket [23:25:43]Sock 10.Thread stoped [23:25:47]OFD Sender: No OFD packet to send [23:25:52]OFD Sender: No OFD packet to send [23:25:57]OFD Sender: No OFD packet to send [23:26:02]OFD Sender: No OFD packet to send [23:26:07]OFD Sender: No OFD packet to send [23:26:12]OFD Sender: No OFD packet to send [23:26:17]OFD Sender: No OFD packet to send [23:26:22]OFD Sender: No OFD packet to send [23:26:27]OFD Sender: No OFD packet to send [23:26:32]OFD Sender: No OFD packet to send [23:26:37]OFD Sender: No OFD packet to send [23:26:42]OFD Sender: No OFD packet to send [23:26:47]OFD Sender: No OFD packet to send [23:26:52]OFD Sender: No OFD packet to send [23:26:57]OFD Sender: No OFD packet to send [23:27:02]OFD Sender: No OFD packet to send [23:27:07]OFD Sender: No OFD packet to send [23:27:12]OFD Sender: No OFD packet to send [23:27:17]OFD Sender: No OFD packet to send [23:27:22]OFD Sender: No OFD packet to send [23:27:27]OFD Sender: No OFD packet to send [23:27:32]OFD Sender: No OFD packet to send [23:27:37]OFD Sender: No OFD packet to send [23:27:42]OFD Sender: No OFD packet to send [23:27:47]OFD Sender: No OFD packet to send [23:27:52]OFD Sender: No OFD packet to send [23:27:57]OFD Sender: No OFD packet to send [23:28:02]OFD Sender: No OFD packet to send [23:28:07]OFD Sender: No OFD packet to send [23:28:12]OFD Sender: No OFD packet to send [23:28:17]OFD Sender: No OFD packet to send [23:28:22]OFD Sender: No OFD packet to send [23:28:27]OFD Sender: No OFD packet to send [23:28:32]OFD Sender: No OFD packet to send [23:28:37]OFD Sender: No OFD packet to send [23:28:42]OFD Sender: No OFD packet to send [23:28:47]OFD Sender: No OFD packet to send [23:28:52]OFD Sender: No OFD packet to send [23:28:57]OFD Sender: No OFD packet to send [23:29:02]OFD Sender: No OFD packet to send [23:29:07]OFD Sender: No OFD packet to send [23:29:12]OFD Sender: No OFD packet to send [23:29:17]OFD Sender: No OFD packet to send [23:29:22]OFD Sender: No OFD packet to send [23:29:27]OFD Sender: No OFD packet to send [23:29:29]accept exits with 7 [23:29:29]New connection [23:29:29]New thread 3067354468 created [23:29:29]Thread 3067497828 joined [23:29:29]Waiting for new connection... [23:29:29] Sock 7.Parse request [23:29:29]Sock 7.Check first char [23:29:29]Sock 7.First char is OK [23:29:29]request: POST /json_proto HTTP/1.0 [23:29:29]Method: POST [23:29:29]URL: /json_proto [23:29:29]Method is POST - this is cgi request [23:29:29]url: /json_proto [23:29:29]query_string will be loaded in cgi processing [23:29:29]execute_cgi json_proto POST (null) [23:29:29]execute_cgi path=json_proto method=POST [23:29:29]POST find Content-Length [23:29:29]Host: 172.17.42.3:8080 [23:29:29]Content-Length: 695 [23:29:29]Content-Type: application/json [23:29:29] [23:29:29]POST finish read [23:29:29]Found Content-Length = 695 [23:29:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17212", "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" : 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" ] } } [23:29:29]execute_script... [23:29: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)17212", "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" : 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" ] } } [23:29:29]POST & json_proto [23:29:29]process_json_proto [23:29:29]json parsed OK: [23:29:29]protocol is kg_v1.0 [23:29:29]action value=close_receipt [23:29:29]process_action close_receipt [23:29:29]cmd_close_receipt [23:29:29]MH_GetDate [23:29:29]Write to MH i2c: F0 00 00 CA 0D C6 [23:29:29]Write i2c OK [23:29:29]MH_I2C_Read... [23:29:29]Read from MH i2c: F0 [23:29:29]MH_I2C_Read... [23:29:29]Read from MH i2c: F0 09 00 [23:29:29]MH_I2C_Read... [23:29:29]Read from MH i2c: F0 09 00 CA 0D 00 5A 1E 20 67 0E CB 1F 67 2D [23:29:29]GetLastDocTimeStamp 1730157900 [23:29:29]current date 1730158170 [23:29:29]FM_GetShiftState [23:29:29]SAM_PROTO_GetShiftState [23:29:29]wFMCommunicate request_size=4 [23:29:29]MH_SAM_APDU [23:29:29]CAPDU: 80 13 01 00 [23:29:29]Write to MH i2c: E2 08 00 CB 0D 80 13 01 00 00 00 00 00 55 [23:29:29]Write i2c OK [23:29:29]MH_I2C_Read... [23:29:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:29:29]Read from MH i2c: E2 [23:29:29]MH_I2C_Read... [23:29:29]Read from MH i2c: E2 0E 00 [23:29:29]MH_I2C_Read... [23:29:29]Read from MH i2c: E2 0E 00 CB 0D 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 50 [23:29:29]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:29:29]wFMCommunicate OK [23:29:29]SAM_PROTO_GetShiftState done [23:29:29]FM_GetShiftState done [23:29:29]opened in 1730074770 [23:29:29]opened+sec_in_day 1730161170 [23:29:29]quantity*price = 9500 [23:29:29]sum+1 = 9501 [23:29:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 176 28.10.2024 23:29 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68271 ФПД: 90854976980751 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T232930&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68271&fm=90854976980751&tin=02508201610067®Number=0000000000091759&sum=9500 0 [23:29:30]StoreToDocumentArchive [23:29:30]shift 547 fd 68271 [23:29:30]save to /storage/0547/doc_00068271 [23:29:30]save last doc name /storage/0547/doc_00068271 to /storage/kkm_last_doc_name [23:29:30]save OK [23:29:30]Clear old archive folders... [23:29:30]ProcessDocumentItem done err = 0, tmpTLVsize=299 [23:29:30]tlvbuf is 00609450 [23:29:30]SAM_PROTO_ClearQueue [23:29:30]wFMCommunicate request_size=4 [23:29:30]MH_SAM_APDU [23:29:30]CAPDU: 80 09 00 00 [23:29:30]Write to MH i2c: E2 08 00 D8 0D 80 09 00 00 00 00 00 00 57 [23:29:30]Write i2c OK [23:29:30]MH_I2C_Read... [23:29:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:29:30]Read from MH i2c: E2 [23:29:30]MH_I2C_Read... [23:29:30]Read from MH i2c: E2 03 00 [23:29:30]MH_I2C_Read... [23:29:30]Read from MH i2c: E2 03 00 D8 0D 00 90 00 59 [23:29:30]RAPDU: 90 00 [23:29:30]wFMCommunicate OK [23:29:30]SAM_PROTO_ClearQueue done [23:29:30]KKMCreateOFDPacket [23:29:30]OFDProtocolAddRootSTLVToBuf [23:29:30]FM_MakeSignedData [23:29:30]FM_MakeSignedData [23:29:30]SAM_PROTO_SignData [23:29:30]wFMCommunicate request_size=4 [23:29:30]MH_SAM_APDU [23:29:30]CAPDU: 80 0D 01 02 [23:29:30]Write to MH i2c: E2 08 00 D9 0D 80 0D 01 02 00 00 00 00 5F [23:29:30]Write i2c OK [23:29:30]MH_I2C_Read... [23:29:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:29:30]Read from MH i2c: E2 [23:29:30]MH_I2C_Read... [23:29:30]Read from MH i2c: E2 03 00 [23:29:30]MH_I2C_Read... [23:29:30]Read from MH i2c: E2 03 00 D9 0D 00 90 00 5A [23:29:30]RAPDU: 90 00 [23:29:30]wFMCommunicate OK [23:29:30]wFMCommunicate request_size=255 [23:29:30]MH_SAM_APDU [23:29:30]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 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 B0 00 00 00 F4 03 04 00 5A 1E 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 [23:29:30]Write to MH i2c: E2 02 01 DA 0D 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 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 B0 00 00 00 F4 03 04 00 5A 1E 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 64 [23:29:30]Write i2c OK [23:29:30]MH_I2C_Read... [23:29:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:29:30]Read from MH i2c: E2 [23:29:30]MH_I2C_Read... [23:29:30]Read from MH i2c: E2 03 00 [23:29:30]MH_I2C_Read... [23:29:30]Read from MH i2c: E2 03 00 DA 0D 00 90 00 5B [23:29:30]RAPDU: 90 00 [23:29:30]wFMCommunicate OK [23:29:30]wFMCommunicate request_size=58 [23:29:30]MH_SAM_APDU [23:29:30]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AF 0A 01 00 35 04 06 00 52 A1 D2 A1 07 0F [23:29:30]Write to MH i2c: E2 3D 00 DB 0D 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AF 0A 01 00 35 04 06 00 52 A1 D2 A1 07 0F 00 00 91 [23:29:30]Write i2c OK [23:29:30]MH_I2C_Read... [23:29:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:29:30]Read from MH i2c: E2 [23:29:30]MH_I2C_Read... [23:29:30]Read from MH i2c: E2 03 00 [23:29:30]MH_I2C_Read... [23:29:30]Read from MH i2c: E2 03 00 DB 0D 00 90 00 5C [23:29:30]RAPDU: 90 00 [23:29:30]wFMCommunicate OK [23:29:30]wFMCommunicate request_size=4 [23:29:30]MH_SAM_APDU [23:29:30]CAPDU: 80 0D 03 02 [23:29:30]Write to MH i2c: E2 08 00 DC 0D 80 0D 03 02 00 00 00 00 64 [23:29:30]Write i2c OK [23:29:30]MH_I2C_Read... [23:29:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:29:30]Read from MH i2c: E2 [23:29:30]MH_I2C_Read... [23:29:30]Read from MH i2c: E2 0B 00 [23:29:30]MH_I2C_Read... [23:29:30]Read from MH i2c: E2 0B 00 DC 0D 00 D3 F7 E2 9A 13 CF FC 7B 90 00 04 [23:29:30]RAPDU: D3 F7 E2 9A 13 CF FC 7B 90 00 [23:29:30]wFMCommunicate OK [23:29:30]SAM_PROTO_SignData done [23:29:30]FM_MakeSignedData done [23:29:30]CreateOFDProtocolMessage [23:29:30]wFMCommunicate request_size=4 [23:29:30]MH_SAM_APDU [23:29:30]CAPDU: 80 11 00 00 [23:29:30]Write to MH i2c: E2 08 00 DD 0D 80 11 00 00 00 00 00 00 64 [23:29:30]Write i2c OK [23:29:30]MH_I2C_Read... [23:29:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:29:30]Read from MH i2c: E2 [23:29:30]MH_I2C_Read... [23:29:30]Read from MH i2c: E2 17 00 [23:29:30]MH_I2C_Read... [23:29:30]Read from MH i2c: E2 17 00 DD 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 BB [23:29:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:29:30]wFMCommunicate OK [23:29:30]CreateOFDProtocolMessage done [23:29:30]OFDSenderStorePacket 68271 [23:29:30]StoreOFDPacket docnum=68271 [23:29:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 3F 01 00 00 17 C8 37 01 2D 4D 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 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 B0 00 00 00 F4 03 04 00 5A 1E 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AF 0A 01 00 35 04 06 00 52 A1 D2 A1 07 0F D3 F7 E2 9A 13 CF FC 7B [23:29:30]CheckFolder [23:29:30]dirname=/storage/ofd_packets [23:29:30]CheckFolder done [23:29:30]ProducePacketName [23:29:30]name=ofd_packets/00068271 [23:29:30]NVStorageSaveData ofd_packets/00068271 [23:29:30]File name is /storage/ofd_packets/00068271 [23:29:30]Write 349 bytes [23:29:30]NVStorageSaveData done [23:29:30]OFDSenderStorePacket done [23:29:30]KKMCreateOFDPacket done [23:29:30]NVStorageSaveData kkm_last_timestamp [23:29:30]File name is /storage/kkm_last_timestamp [23:29:30]Write 4 bytes [23:29:30]NVStorageSaveData done [23:29:30]ExternCall_PrintAddStr [23:29:30]wPrintStart [23:29:30]Write to MH i2c: 01 00 00 DE 0D EB [23:29:30]Write i2c OK [23:29:30]MH_I2C_Read... [23:29:30]Read from MH i2c: 01 [23:29:30]MH_I2C_Read... [23:29:30]Read from MH i2c: 01 07 00 [23:29:30]MH_I2C_Read... [23:29:30]Read from MH i2c: 01 07 00 DE 0D 00 00 00 00 00 FF 0F 00 [23:29:30]RasterBufferAndPrint [23:29:30]line Счет N : (3)17212 [23:29:30]line ИНН: 02508201610067 [23:29:30]line Контрольно-Кассовый Чек [23:29:30]line ПРОДАЖА [23:29:30]line Товар: 4700000480364 [23:29:30]line Напиток энерг Nitro экзотик 0.45 ж/б [23:29:30]line 1.000 * 95.00 [23:29:30]line = 95.00 [23:29:30]line НДС 12% НСП 1% [23:29:30]line > о реализуемом товаре [23:29:30]line ИТОГО: 95.00 [23:29:30]line НСП 1% : 0.84 [23:29:30]line НДС 12% : 10.09 [23:29:30]line Наличными: 95.00 [23:29:30]line Безнал.: 0.00 [23:29:30]line Место: АЗС № 160 "Партнер Нефть" [23:29:30]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [23:29:30]line СНО: Общий режим [23:29:30]line Чек 176 28.10.2024 23:29 [23:29:30]line Смена: 547 ФФД: 1.0 [23:29:30]line ЗНМ: 0300000093 [23:29:30]line РНМ: 0000000000091759 [23:29:30]line Версия ККМ: 001 [23:29:30]line ФМ: 0000000000871758 [23:29:30]line ФД: 68271 [23:29:30]line ФПД: 90854976980751 [23:29:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T232930&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68271&fm=90854976980751&tin=02508201610067®Number=0000000000091759&sum=9500 [23:29:31]line 0 [23:29:31]OFD Sender: Processing packet 68271 [packets to send 27, broken 26] [23:29:31]ProducePacketName [23:29:31]name=ofd_packets/00068271 [23:29:31]OFD Sender: To server: pG, [23:29:31]CommunicateWithHost lk.salyk.kg:30040 [23:29:31]ConnectInit lk.salyk.kg [23:29:31]written 0, free lines is 4095 [23:29:31]Connected sock=11 [23:29:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 3F 01 00 00 17 C8 37 01 2D 4D 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 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 B0 00 00 00 F4 03 04 00 5A 1E 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 AF 0A 01 00 35 04 06 00 52 A1 D2 A1 07 0F D3 F7 E2 9A 13 CF FC 7B [23:29:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 B0 88 47 00 6B 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 38 37 31 37 35 38 10 04 04 00 AF 0A 01 00 F4 03 04 00 3A CA 1F 67 B6 04 01 00 00 1F 9F 9C 42 41 3D A4 B1 [23:29:31]CommunicateWithHost err = 0 [23:29:31]CheckOFDResponse [23:29:31]1017 (14) - 77093643461234 [23:29:31]1041 (16) - 0000000000871758 [23:29:31]1040 (4) - 68271 [23:29:31]1012 (4) - 28.10.2024 17:30 [23:29:31]1206 (1) - 0 [23:29:31]OFD Sender: Remove packet 68271 [23:29:31]ProducePacketName [23:29:31]name=ofd_packets/00068271 [23:29:31]NVStorageDeleteData [23:29:31]Write to MH i2c: 01 00 00 06 0E 14 [23:29:31]Write i2c OK [23:29:31]MH_I2C_Read... [23:29:31]Read from MH i2c: 01 [23:29:31]MH_I2C_Read... [23:29:31]Read from MH i2c: 01 07 00 [23:29:31]MH_I2C_Read... [23:29:31]Read from MH i2c: 01 07 00 06 0E 00 00 00 00 00 BF 0C E6 [23:29:31]RasterBufferAndPrint [23:29:31]line [23:29:31]line [23:29:31]line [23:29:31]line [23:29:31]line [23:29:31]written 0, free lines is 3267 [23:29:31]MH_Cut [23:29:31]Write to MH i2c: D1 01 00 0D 0E 01 ED [23:29:31]Write i2c OK [23:29:31]MH_I2C_Read... [23:29:31]Read from MH i2c: D1 [23:29:31]MH_I2C_Read... [23:29:31]Read from MH i2c: D1 01 00 [23:29:31]MH_I2C_Read... [23:29:31]Read from MH i2c: D1 01 00 0D 0E 00 EC [23:29:31]Write to MH i2c: 01 00 00 0E 0E 1C [23:29:31]Write i2c OK [23:29:31]MH_I2C_Read... [23:29:31]OFD Sender: No OFD packet to send [23:29:32]*** Cut start [23:29:32]*** Partial cut [23:29:32]*** CUTSNS_PIN = 1 [23:29:32]*** CUTSNS_PIN = 0 [23:29:32]*** Brake cut motor [23:29:33]Read from MH i2c: 01 [23:29:33]MH_I2C_Read... [23:29:33]*** Stop cut motor [23:29:33]*** Cut end [23:29:33]Read from MH i2c: 01 07 00 [23:29:33]MH_I2C_Read... [23:29:33]Read from MH i2c: 01 07 00 0E 0E 00 00 00 00 00 FF 0F 31 [23:29:33]process_action close_receipt done [23:29:33]requested_data is exist [23:29:33]produce_requested_data [23:29:33]requested_item fm.sn is exist - process it [23:29:33]wFMCommunicate request_size=4 [23:29:33]MH_SAM_APDU [23:29:33]CAPDU: 80 11 00 00 [23:29:33]Write to MH i2c: E2 08 00 0F 0E 80 11 00 00 00 00 00 00 97 [23:29:33]Write i2c OK [23:29:33]MH_I2C_Read... [23:29:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:29:33]Read from MH i2c: E2 [23:29:33]MH_I2C_Read... [23:29:33]Read from MH i2c: E2 17 00 [23:29:33]MH_I2C_Read... [23:29:33]Read from MH i2c: E2 17 00 0F 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 EE [23:29:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:29:33]wFMCommunicate OK [23:29:33]requested_item fd.num is exist - process it [23:29:33]SAM_PROTO_GetFieldsCounters [23:29:33]wFMCommunicate request_size=4 [23:29:33]MH_SAM_APDU [23:29:33]CAPDU: 80 13 00 00 [23:29:33]Write to MH i2c: E2 08 00 10 0E 80 13 00 00 00 00 00 00 9A [23:29:33]Write i2c OK [23:29:33]MH_I2C_Read... [23:29:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:29:33]Read from MH i2c: E2 [23:29:33]MH_I2C_Read... [23:29:33]Read from MH i2c: E2 62 00 [23:29:33]MH_I2C_Read... [23:29:33]Read from MH i2c: E2 62 00 10 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 AF 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B0 00 00 00 5E 04 04 00 B0 00 00 00 57 04 04 00 B1 00 00 00 19 04 04 00 00 00 00 00 90 00 B4 [23:29:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 AF 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B0 00 00 00 5E 04 04 00 B0 00 00 00 57 04 04 00 B1 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:29:33]wFMCommunicate OK [23:29:33]SAM_PROTO_GetFieldsCounters done [23:29:33]requested_item shift.num is exist - process it [23:29:33]requested_item shift.opened is exist - process it [23:29:33]req_shift_opened [23:29:33]FM_GetShiftState [23:29:33]SAM_PROTO_GetShiftState [23:29:33]wFMCommunicate request_size=4 [23:29:33]MH_SAM_APDU [23:29:33]CAPDU: 80 13 01 00 [23:29:33]Write to MH i2c: E2 08 00 11 0E 80 13 01 00 00 00 00 00 9C [23:29:33]Write i2c OK [23:29:33]MH_I2C_Read... [23:29:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:29:33]Read from MH i2c: E2 [23:29:33]MH_I2C_Read... [23:29:33]Read from MH i2c: E2 0E 00 [23:29:33]MH_I2C_Read... [23:29:33]Read from MH i2c: E2 0E 00 11 0E 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 97 [23:29:33]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:29:33]wFMCommunicate OK [23:29:33]SAM_PROTO_GetShiftState done [23:29:33]FM_GetShiftState done [23:29:33]req_shift_opened done [23:29:33]requested_item shift.open_date is exist - process it [23:29:33]req_shift_open_date [23:29:33]req_shift_open_date done [23:29:33]produce_requested_data done [23:29:33]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68271,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [23:29:33]process_action_free close_receipt [23:29:33]json_value_free [23:29:33]json_value_free done [23:29:33]process_json_proto returns [23:29:33]Send response to host [23:29:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68271,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [23:29:33]free response buf [23:29:33]execute_script done [23:29:33]execute_script returns [23:29:33]free content buf [23:29:33]Sock 7.Close socket [23:29:33]Sock 7.Thread stoped [23:29:36]OFD Sender: No OFD packet to send [23:29:41]OFD Sender: No OFD packet to send [23:29:46]OFD Sender: No OFD packet to send [23:29:52]OFD Sender: No OFD packet to send [23:29:57]OFD Sender: No OFD packet to send [23:30:02]OFD Sender: No OFD packet to send [23:30:07]OFD Sender: No OFD packet to send [23:30:12]OFD Sender: No OFD packet to send [23:30:17]OFD Sender: No OFD packet to send [23:30:22]OFD Sender: No OFD packet to send [23:30:27]OFD Sender: No OFD packet to send [23:30:32]OFD Sender: No OFD packet to send [23:30:37]OFD Sender: No OFD packet to send [23:30:42]OFD Sender: No OFD packet to send [23:30:47]OFD Sender: No OFD packet to send [23:30:51]accept exits with 9 [23:30:51]New connection [23:30:51]New thread 3067497828 created [23:30:51]Thread 3067354468 joined [23:30:51]Waiting for new connection... [23:30:51] Sock 9.Parse request [23:30:51]Sock 9.Check first char [23:30:51]Sock 9.First char is OK [23:30:51]request: POST /json_proto HTTP/1.0 [23:30:51]Method: POST [23:30:51]URL: /json_proto [23:30:51]Method is POST - this is cgi request [23:30:51]url: /json_proto [23:30:51]query_string will be loaded in cgi processing [23:30:51]execute_cgi json_proto POST (null) [23:30:51]execute_cgi path=json_proto method=POST [23:30:51]POST find Content-Length [23:30:51]Host: 172.17.42.3:8080 [23:30:51]Content-Length: 676 [23:30:51]Content-Type: application/json [23:30:51] [23:30:51]POST finish read [23:30:51]Found Content-Length = 676 [23:30:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46300", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.470, "sum" : 499.74, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 499.00, "payments": [ { "type": 0, "sum" : 499.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:30:51]execute_script... [23:30: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 : (1)46300", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 7.470, "sum" : 499.74, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 499.00, "payments": [ { "type": 0, "sum" : 499.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:30:51]POST & json_proto [23:30:51]process_json_proto [23:30:51]json parsed OK: [23:30:51]protocol is kg_v1.0 [23:30:51]action value=close_receipt [23:30:51]process_action close_receipt [23:30:51]cmd_close_receipt [23:30:51]MH_GetDate [23:30:51]Write to MH i2c: F0 00 00 12 0E 0F [23:30:51]Write i2c OK [23:30:51]MH_I2C_Read... [23:30:51]Read from MH i2c: F0 [23:30:51]MH_I2C_Read... [23:30:51]Read from MH i2c: F0 09 00 [23:30:51]MH_I2C_Read... [23:30:51]Read from MH i2c: F0 09 00 12 0E 00 AC 1E 20 67 0E CB 1F 67 C8 [23:30:51]GetLastDocTimeStamp 1730158170 [23:30:51]current date 1730158252 [23:30:51]FM_GetShiftState [23:30:51]SAM_PROTO_GetShiftState [23:30:51]wFMCommunicate request_size=4 [23:30:51]MH_SAM_APDU [23:30:51]CAPDU: 80 13 01 00 [23:30:51]Write to MH i2c: E2 08 00 13 0E 80 13 01 00 00 00 00 00 9E [23:30:51]Write i2c OK [23:30:51]MH_I2C_Read... [23:30:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:30:51]Read from MH i2c: E2 [23:30:51]MH_I2C_Read... [23:30:51]Read from MH i2c: E2 0E 00 [23:30:51]MH_I2C_Read... [23:30:51]Read from MH i2c: E2 0E 00 13 0E 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 99 [23:30:51]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:30:51]wFMCommunicate OK [23:30:51]SAM_PROTO_GetShiftState done [23:30:51]FM_GetShiftState done [23:30:51]opened in 1730074770 [23:30:51]opened+sec_in_day 1730161170 [23:30:51]quantity*price = 49974 [23:30:51]sum+1 = 49975 [23:30:51]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.74 ИТОГО: 499.00 Внесено: 500.00 СДАЧА: 1.00 НСП 1% : 4.42 НДС 12% : 53.07 Наличными: 499.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 177 28.10.2024 23:30 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68272 ФПД: 115371281011043 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T233053&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68272&fm=115371281011043&tin=02508201610067®Number=0000000000091759&sum=49900 [23:30:52]StoreToDocumentArchive [23:30:52]shift 547 fd 68272 [23:30:52]save to /storage/0547/doc_00068272 [23:30:52]save last doc name /storage/0547/doc_00068272 to /storage/kkm_last_doc_name [23:30:52]save OK [23:30:52]Clear old archive folders... [23:30:52]ProcessDocumentItem done err = 0, tmpTLVsize=251 [23:30:52]tlvbuf is 005E1ED0 [23:30:52]SAM_PROTO_ClearQueue [23:30:52]wFMCommunicate request_size=4 [23:30:52]MH_SAM_APDU [23:30:52]CAPDU: 80 09 00 00 [23:30:52]Write to MH i2c: E2 08 00 20 0E 80 09 00 00 00 00 00 00 A0 [23:30:52]Write i2c OK [23:30:52]MH_I2C_Read... [23:30:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:30:52]Read from MH i2c: E2 [23:30:52]MH_I2C_Read... [23:30:52]Read from MH i2c: E2 03 00 [23:30:52]MH_I2C_Read... [23:30:52]Read from MH i2c: E2 03 00 20 0E 00 90 00 A2 [23:30:52]RAPDU: 90 00 [23:30:52]wFMCommunicate OK [23:30:52]SAM_PROTO_ClearQueue done [23:30:52]KKMCreateOFDPacket [23:30:52]OFDProtocolAddRootSTLVToBuf [23:30:52]FM_MakeSignedData [23:30:52]FM_MakeSignedData [23:30:52]SAM_PROTO_SignData [23:30:52]wFMCommunicate request_size=4 [23:30:52]MH_SAM_APDU [23:30:52]CAPDU: 80 0D 01 02 [23:30:52]Write to MH i2c: E2 08 00 21 0E 80 0D 01 02 00 00 00 00 A8 [23:30:52]Write i2c OK [23:30:52]MH_I2C_Read... [23:30:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:30:52]Read from MH i2c: E2 [23:30:52]MH_I2C_Read... [23:30:52]Read from MH i2c: E2 03 00 [23:30:52]MH_I2C_Read... [23:30:52]Read from MH i2c: E2 03 00 21 0E 00 90 00 A3 [23:30:52]RAPDU: 90 00 [23:30:52]wFMCommunicate OK [23:30:52]wFMCommunicate request_size=255 [23:30:52]MH_SAM_APDU [23:30:52]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 2E 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 36 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC C2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 14 00 00 00 00 07 04 06 00 EC C2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 B1 00 00 00 F4 03 04 00 AD 1E 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B0 0A 01 00 35 04 06 00 68 [23:30:52]Write to MH i2c: E2 02 01 22 0E 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 2E 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 36 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC C2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 14 00 00 00 00 07 04 06 00 EC C2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 B1 00 00 00 F4 03 04 00 AD 1E 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B0 0A 01 00 35 04 06 00 68 00 00 6D [23:30:52]Write i2c OK [23:30:52]MH_I2C_Read... [23:30:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:30:53]Read from MH i2c: E2 [23:30:53]MH_I2C_Read... [23:30:53]Read from MH i2c: E2 03 00 [23:30:53]MH_I2C_Read... [23:30:53]Read from MH i2c: E2 03 00 22 0E 00 90 00 A4 [23:30:53]RAPDU: 90 00 [23:30:53]wFMCommunicate OK [23:30:53]wFMCommunicate request_size=10 [23:30:53]MH_SAM_APDU [23:30:53]CAPDU: 80 0D 02 02 05 ED F8 38 D1 63 [23:30:53]Write to MH i2c: E2 0D 00 23 0E 80 0D 02 02 05 00 ED F8 38 D1 63 00 00 06 [23:30:53]Write i2c OK [23:30:53]MH_I2C_Read... [23:30:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:30:53]Read from MH i2c: E2 [23:30:53]MH_I2C_Read... [23:30:53]Read from MH i2c: E2 03 00 [23:30:53]MH_I2C_Read... [23:30:53]Read from MH i2c: E2 03 00 23 0E 00 90 00 A5 [23:30:53]RAPDU: 90 00 [23:30:53]wFMCommunicate OK [23:30:53]wFMCommunicate request_size=4 [23:30:53]MH_SAM_APDU [23:30:53]CAPDU: 80 0D 03 02 [23:30:53]Write to MH i2c: E2 08 00 24 0E 80 0D 03 02 00 00 00 00 AD [23:30:53]Write i2c OK [23:30:53]MH_I2C_Read... [23:30:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:30:53]Read from MH i2c: E2 [23:30:53]MH_I2C_Read... [23:30:53]Read from MH i2c: E2 0B 00 [23:30:53]MH_I2C_Read... [23:30:53]Read from MH i2c: E2 0B 00 24 0E 00 96 57 50 F4 7D 59 AC 6C 90 00 CD [23:30:53]RAPDU: 96 57 50 F4 7D 59 AC 6C 90 00 [23:30:53]wFMCommunicate OK [23:30:53]SAM_PROTO_SignData done [23:30:53]FM_MakeSignedData done [23:30:53]CreateOFDProtocolMessage [23:30:53]wFMCommunicate request_size=4 [23:30:53]MH_SAM_APDU [23:30:53]CAPDU: 80 11 00 00 [23:30:53]Write to MH i2c: E2 08 00 25 0E 80 11 00 00 00 00 00 00 AD [23:30:53]Write i2c OK [23:30:53]MH_I2C_Read... [23:30:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:30:53]Read from MH i2c: E2 [23:30:53]MH_I2C_Read... [23:30:53]Read from MH i2c: E2 17 00 [23:30:53]MH_I2C_Read... [23:30:53]Read from MH i2c: E2 17 00 25 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 04 [23:30:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:30:53]wFMCommunicate OK [23:30:53]CreateOFDProtocolMessage done [23:30:53]OFDSenderStorePacket 68272 [23:30:53]StoreOFDPacket docnum=68272 [23:30:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 DD 64 07 01 28 AA 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 2E 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 36 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC C2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 14 00 00 00 00 07 04 06 00 EC C2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 B1 00 00 00 F4 03 04 00 AD 1E 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B0 0A 01 00 35 04 06 00 68 ED F8 38 D1 63 96 57 50 F4 7D 59 AC 6C [23:30:53]CheckFolder [23:30:53]dirname=/storage/ofd_packets [23:30:53]CheckFolder done [23:30:53]ProducePacketName [23:30:53]name=ofd_packets/00068272 [23:30:53]NVStorageSaveData ofd_packets/00068272 [23:30:53]File name is /storage/ofd_packets/00068272 [23:30:53]Write 301 bytes [23:30:53]NVStorageSaveData done [23:30:53]OFDSenderStorePacket done [23:30:53]KKMCreateOFDPacket done [23:30:53]NVStorageSaveData kkm_last_timestamp [23:30:53]File name is /storage/kkm_last_timestamp [23:30:53]Write 4 bytes [23:30:53]NVStorageSaveData done [23:30:53]ExternCall_PrintAddStr [23:30:53]wPrintStart [23:30:53]Write to MH i2c: 01 00 00 26 0E 34 [23:30:53]Write i2c OK [23:30:53]MH_I2C_Read... [23:30:53]Read from MH i2c: 01 [23:30:53]MH_I2C_Read... [23:30:53]Read from MH i2c: 01 07 00 [23:30:53]MH_I2C_Read... [23:30:53]Read from MH i2c: 01 07 00 26 0E 00 00 00 00 00 FF 0F 49 [23:30:53]RasterBufferAndPrint [23:30:53]line Счет N : (1)46300 [23:30:53]line ИНН: 02508201610067 [23:30:53]line Контрольно-Кассовый Чек [23:30:53]line ПРОДАЖА [23:30:53]line ТРК (МРК, ГНК) : 23 [23:30:53]line Товар: 2710124130 [23:30:53]line Аи-92-К-5 [23:30:53]line 7.470 * 66.90 [23:30:53]line = 499.74 [23:30:53]line НДС 12% НСП 1% [23:30:53]line > о реализуемом товаре [23:30:53]line ОКРУГЛЕНИЕ: -0.74 [23:30:53]line ИТОГО: 499.00 [23:30:53]line Внесено: 500.00 [23:30:53]line СДАЧА: 1.00 [23:30:53]line НСП 1% : 4.42 [23:30:53]line НДС 12% : 53.07 [23:30:53]line Наличными: 499.00 [23:30:53]line Безнал.: 0.00 [23:30:53]line Место: АЗС № 160 "Партнер Нефть" [23:30:53]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [23:30:53]line СНО: Общий режим [23:30:53]line Чек 177 28.10.2024 23:30 [23:30:53]line Смена: 547 ФФД: 1.0 [23:30:53]line ЗНМ: 0300000093 [23:30:53]line РНМ: 0000000000091759 [23:30:53]line Версия ККМ: 001 [23:30:53]line ФМ: 0000000000871758 [23:30:53]line ФД: 68272 [23:30:53]line ФПД: 115371281011043 [23:30:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T233053&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68272&fm=115371281011043&tin=02508201610067®Number=0000000000091759&sum=49900 [23:30:53]OFD Sender: Processing packet 68272 [packets to send 27, broken 26] [23:30:53]ProducePacketName [23:30:53]name=ofd_packets/00068272 [23:30:53]OFD Sender: To server: pG, [23:30:53]CommunicateWithHost lk.salyk.kg:30040 [23:30:53]ConnectInit lk.salyk.kg [23:30:53]written 0, free lines is 4095 [23:30:53]Connected sock=10 [23:30:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 DD 64 07 01 28 AA 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 2E 1D 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 36 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC C2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BB 14 00 00 00 00 07 04 06 00 EC C2 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 B1 00 00 00 F4 03 04 00 AD 1E 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B0 0A 01 00 35 04 06 00 68 ED F8 38 D1 63 96 57 50 F4 7D 59 AC 6C [23:30:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 0F 57 47 00 71 BF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B0 0A 01 00 F4 03 04 00 8C CA 1F 67 B6 04 01 00 00 60 D4 D7 23 4E 09 D6 E0 [23:30:53]CommunicateWithHost err = 0 [23:30:53]CheckOFDResponse [23:30:53]1017 (14) - 77093643461234 [23:30:53]1041 (16) - 0000000000871758 [23:30:53]1040 (4) - 68272 [23:30:53]1012 (4) - 28.10.2024 17:31 [23:30:53]1206 (1) - 0 [23:30:53]OFD Sender: Remove packet 68272 [23:30:53]ProducePacketName [23:30:53]name=ofd_packets/00068272 [23:30:53]NVStorageDeleteData [23:30:54]Write to MH i2c: 01 00 00 50 0E 5E [23:30:54]Write i2c OK [23:30:54]MH_I2C_Read... [23:30:54]Read from MH i2c: 01 [23:30:54]MH_I2C_Read... [23:30:54]Read from MH i2c: 01 07 00 [23:30:54]MH_I2C_Read... [23:30:54]Read from MH i2c: 01 07 00 50 0E 00 00 00 00 00 B2 0C 23 [23:30:54]RasterBufferAndPrint [23:30:54]line [23:30:54]line [23:30:54]line [23:30:54]line [23:30:54]line [23:30:54]written 0, free lines is 3256 [23:30:54]MH_Cut [23:30:54]Write to MH i2c: D1 01 00 57 0E 01 37 [23:30:54]Write i2c OK [23:30:54]MH_I2C_Read... [23:30:54]Read from MH i2c: D1 [23:30:54]MH_I2C_Read... [23:30:54]Read from MH i2c: D1 01 00 [23:30:54]MH_I2C_Read... [23:30:54]Read from MH i2c: D1 01 00 57 0E 00 36 [23:30:54]Write to MH i2c: 01 00 00 58 0E 66 [23:30:54]Write i2c OK [23:30:54]MH_I2C_Read... [23:30:54]OFD Sender: No OFD packet to send [23:30:54]*** Cut start [23:30:54]*** Partial cut [23:30:54]*** CUTSNS_PIN = 1 [23:30:54]*** CUTSNS_PIN = 0 [23:30:55]*** Brake cut motor [23:30:55]Read from MH i2c: 01 [23:30:55]MH_I2C_Read... [23:30:55]*** Stop cut motor [23:30:55]*** Cut end [23:30:55]Read from MH i2c: 01 07 00 [23:30:55]MH_I2C_Read... [23:30:55]Read from MH i2c: 01 07 00 58 0E 00 00 00 00 00 FF 0F 7B [23:30:55]process_action close_receipt done [23:30:55]requested_data is exist [23:30:55]produce_requested_data [23:30:55]requested_item fm.sn is exist - process it [23:30:55]wFMCommunicate request_size=4 [23:30:55]MH_SAM_APDU [23:30:55]CAPDU: 80 11 00 00 [23:30:55]Write to MH i2c: E2 08 00 59 0E 80 11 00 00 00 00 00 00 E1 [23:30:55]Write i2c OK [23:30:55]MH_I2C_Read... [23:30:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:30:55]Read from MH i2c: E2 [23:30:55]MH_I2C_Read... [23:30:55]Read from MH i2c: E2 17 00 [23:30:55]MH_I2C_Read... [23:30:55]Read from MH i2c: E2 17 00 59 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 38 [23:30:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:30:55]wFMCommunicate OK [23:30:55]requested_item fd.num is exist - process it [23:30:55]SAM_PROTO_GetFieldsCounters [23:30:55]wFMCommunicate request_size=4 [23:30:55]MH_SAM_APDU [23:30:55]CAPDU: 80 13 00 00 [23:30:55]Write to MH i2c: E2 08 00 5A 0E 80 13 00 00 00 00 00 00 E4 [23:30:55]Write i2c OK [23:30:55]MH_I2C_Read... [23:30:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:30:55]Read from MH i2c: E2 [23:30:55]MH_I2C_Read... [23:30:55]Read from MH i2c: E2 62 00 [23:30:55]MH_I2C_Read... [23:30:55]Read from MH i2c: E2 62 00 5A 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B0 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B1 00 00 00 5E 04 04 00 B1 00 00 00 57 04 04 00 B2 00 00 00 19 04 04 00 00 00 00 00 90 00 02 [23:30:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B0 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B1 00 00 00 5E 04 04 00 B1 00 00 00 57 04 04 00 B2 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:30:55]wFMCommunicate OK [23:30:55]SAM_PROTO_GetFieldsCounters done [23:30:55]requested_item shift.num is exist - process it [23:30:55]requested_item shift.opened is exist - process it [23:30:55]req_shift_opened [23:30:55]FM_GetShiftState [23:30:55]SAM_PROTO_GetShiftState [23:30:55]wFMCommunicate request_size=4 [23:30:55]MH_SAM_APDU [23:30:55]CAPDU: 80 13 01 00 [23:30:55]Write to MH i2c: E2 08 00 5B 0E 80 13 01 00 00 00 00 00 E6 [23:30:55]Write i2c OK [23:30:55]MH_I2C_Read... [23:30:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:30:55]Read from MH i2c: E2 [23:30:55]MH_I2C_Read... [23:30:55]Read from MH i2c: E2 0E 00 [23:30:55]MH_I2C_Read... [23:30:55]Read from MH i2c: E2 0E 00 5B 0E 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 E1 [23:30:55]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:30:55]wFMCommunicate OK [23:30:55]SAM_PROTO_GetShiftState done [23:30:55]FM_GetShiftState done [23:30:55]req_shift_opened done [23:30:55]requested_item shift.open_date is exist - process it [23:30:55]req_shift_open_date [23:30:55]req_shift_open_date done [23:30:55]produce_requested_data done [23:30:55]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68272,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [23:30:55]process_action_free close_receipt [23:30:55]json_value_free [23:30:55]json_value_free done [23:30:55]process_json_proto returns [23:30:55]Send response to host [23:30:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68272,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [23:30:55]free response buf [23:30:55]execute_script done [23:30:55]execute_script returns [23:30:55]free content buf [23:30:55]Sock 9.Close socket [23:30:55]Sock 9.Thread stoped [23:30:59]OFD Sender: No OFD packet to send [23:31:04]OFD Sender: No OFD packet to send [23:31:09]OFD Sender: No OFD packet to send [23:31:14]OFD Sender: No OFD packet to send [23:31:19]OFD Sender: No OFD packet to send [23:31:20]accept exits with 7 [23:31:20]New connection [23:31:20]New thread 3067354468 created [23:31:20]Thread 3067497828 joined [23:31:20]Waiting for new connection... [23:31:20] Sock 7.Parse request [23:31:20]Sock 7.Check first char [23:31:20]Sock 7.First char is OK [23:31:20]request: POST /json_proto HTTP/1.0 [23:31:20]Method: POST [23:31:20]URL: /json_proto [23:31:20]Method is POST - this is cgi request [23:31:20]url: /json_proto [23:31:20]query_string will be loaded in cgi processing [23:31:20]execute_cgi json_proto POST (null) [23:31:20]execute_cgi path=json_proto method=POST [23:31:20]POST find Content-Length [23:31:20]Host: 172.17.42.3:8080 [23:31:20]Content-Length: 677 [23:31:20]Content-Type: application/json [23:31:20] [23:31:20]POST finish read [23:31:20]Found Content-Length = 677 [23:31:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46299", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 13.530, "sum" : 905.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 905.00, "total" : 905.00, "payments": [ { "type": 0, "sum" : 905.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:31:20]execute_script... [23:31: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 : (1)46299", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 13.530, "sum" : 905.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 905.00, "total" : 905.00, "payments": [ { "type": 0, "sum" : 905.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:31:20]POST & json_proto [23:31:20]process_json_proto [23:31:20]json parsed OK: [23:31:20]protocol is kg_v1.0 [23:31:20]action value=close_receipt [23:31:20]process_action close_receipt [23:31:20]cmd_close_receipt [23:31:20]MH_GetDate [23:31:20]Write to MH i2c: F0 00 00 5C 0E 59 [23:31:20]Write i2c OK [23:31:20]MH_I2C_Read... [23:31:20]Read from MH i2c: F0 [23:31:20]MH_I2C_Read... [23:31:20]Read from MH i2c: F0 09 00 [23:31:20]MH_I2C_Read... [23:31:20]Read from MH i2c: F0 09 00 5C 0E 00 C9 1E 20 67 0E CB 1F 67 2F [23:31:20]GetLastDocTimeStamp 1730158253 [23:31:20]current date 1730158281 [23:31:20]FM_GetShiftState [23:31:20]SAM_PROTO_GetShiftState [23:31:20]wFMCommunicate request_size=4 [23:31:20]MH_SAM_APDU [23:31:20]CAPDU: 80 13 01 00 [23:31:20]Write to MH i2c: E2 08 00 5D 0E 80 13 01 00 00 00 00 00 E8 [23:31:20]Write i2c OK [23:31:20]MH_I2C_Read... [23:31:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:31:20]Read from MH i2c: E2 [23:31:20]MH_I2C_Read... [23:31:20]Read from MH i2c: E2 0E 00 [23:31:20]MH_I2C_Read... [23:31:20]Read from MH i2c: E2 0E 00 5D 0E 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 E3 [23:31:20]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:31:20]wFMCommunicate OK [23:31:20]SAM_PROTO_GetShiftState done [23:31:20]FM_GetShiftState done [23:31:20]opened in 1730074770 [23:31:20]opened+sec_in_day 1730161170 [23:31:20]quantity*price = 90515 [23:31:20]sum+1 = 90517 [23:31:20]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.16 ИТОГО: 905.00 Внесено: 905.00 СДАЧА: 0.00 НСП 1% : 8.01 НДС 12% : 96.12 Наличными: 905.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 178 28.10.2024 23:31 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68273 ФПД: 34454033215442 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T233121&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68273&fm=34454033215442&tin=02508201610067®Number=0000000000091759&sum=90500 [23:31:21]StoreToDocumentArchive [23:31:21]shift 547 fd 68273 [23:31:21]save to /storage/0547/doc_00068273 [23:31:21]save last doc name /storage/0547/doc_00068273 to /storage/kkm_last_doc_name [23:31:21]save OK [23:31:21]Clear old archive folders... [23:31:21]ProcessDocumentItem done err = 0, tmpTLVsize=251 [23:31:21]tlvbuf is 00609650 [23:31:21]SAM_PROTO_ClearQueue [23:31:21]wFMCommunicate request_size=4 [23:31:21]MH_SAM_APDU [23:31:21]CAPDU: 80 09 00 00 [23:31:21]Write to MH i2c: E2 08 00 6A 0E 80 09 00 00 00 00 00 00 EA [23:31:21]Write i2c OK [23:31:21]MH_I2C_Read... [23:31:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:31:21]Read from MH i2c: E2 [23:31:21]MH_I2C_Read... [23:31:21]Read from MH i2c: E2 03 00 [23:31:21]MH_I2C_Read... [23:31:21]Read from MH i2c: E2 03 00 6A 0E 00 90 00 EC [23:31:21]RAPDU: 90 00 [23:31:21]wFMCommunicate OK [23:31:21]SAM_PROTO_ClearQueue done [23:31:21]KKMCreateOFDPacket [23:31:21]OFDProtocolAddRootSTLVToBuf [23:31:21]FM_MakeSignedData [23:31:21]FM_MakeSignedData [23:31:21]SAM_PROTO_SignData [23:31:21]wFMCommunicate request_size=4 [23:31:21]MH_SAM_APDU [23:31:21]CAPDU: 80 0D 01 02 [23:31:21]Write to MH i2c: E2 08 00 6B 0E 80 0D 01 02 00 00 00 00 F2 [23:31:21]Write i2c OK [23:31:21]MH_I2C_Read... [23:31:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:31:21]Read from MH i2c: E2 [23:31:21]MH_I2C_Read... [23:31:21]Read from MH i2c: E2 03 00 [23:31:21]MH_I2C_Read... [23:31:21]Read from MH i2c: E2 03 00 6B 0E 00 90 00 ED [23:31:21]RAPDU: 90 00 [23:31:21]wFMCommunicate OK [23:31:21]wFMCommunicate request_size=255 [23:31:21]MH_SAM_APDU [23:31:21]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DA 34 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 94 61 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 61 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 21 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8C 25 00 00 00 00 07 04 06 00 84 61 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 B2 00 00 00 F4 03 04 00 C9 1E 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B1 0A 01 00 35 04 06 00 1F [23:31:21]Write to MH i2c: E2 02 01 6C 0E 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DA 34 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 94 61 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 61 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 21 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8C 25 00 00 00 00 07 04 06 00 84 61 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 B2 00 00 00 F4 03 04 00 C9 1E 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B1 0A 01 00 35 04 06 00 1F 00 00 07 [23:31:21]Write i2c OK [23:31:21]MH_I2C_Read... [23:31:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:31:21]Read from MH i2c: E2 [23:31:21]MH_I2C_Read... [23:31:21]Read from MH i2c: E2 03 00 [23:31:21]MH_I2C_Read... [23:31:21]Read from MH i2c: E2 03 00 6C 0E 00 90 00 EE [23:31:21]RAPDU: 90 00 [23:31:21]wFMCommunicate OK [23:31:21]wFMCommunicate request_size=10 [23:31:21]MH_SAM_APDU [23:31:21]CAPDU: 80 0D 02 02 05 55 F4 69 2F D2 [23:31:21]Write to MH i2c: E2 0D 00 6D 0E 80 0D 02 02 05 00 55 F4 69 2F D2 00 00 B2 [23:31:21]Write i2c OK [23:31:21]MH_I2C_Read... [23:31:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:31:21]Read from MH i2c: E2 [23:31:21]MH_I2C_Read... [23:31:21]Read from MH i2c: E2 03 00 [23:31:21]MH_I2C_Read... [23:31:21]Read from MH i2c: E2 03 00 6D 0E 00 90 00 EF [23:31:21]RAPDU: 90 00 [23:31:21]wFMCommunicate OK [23:31:21]wFMCommunicate request_size=4 [23:31:21]MH_SAM_APDU [23:31:21]CAPDU: 80 0D 03 02 [23:31:21]Write to MH i2c: E2 08 00 6E 0E 80 0D 03 02 00 00 00 00 F7 [23:31:21]Write i2c OK [23:31:21]MH_I2C_Read... [23:31:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:31:21]Read from MH i2c: E2 [23:31:21]MH_I2C_Read... [23:31:21]Read from MH i2c: E2 0B 00 [23:31:21]MH_I2C_Read... [23:31:21]Read from MH i2c: E2 0B 00 6E 0E 00 BE 21 F3 83 34 5C 64 1D 90 00 5E [23:31:21]RAPDU: BE 21 F3 83 34 5C 64 1D 90 00 [23:31:21]wFMCommunicate OK [23:31:21]SAM_PROTO_SignData done [23:31:21]FM_MakeSignedData done [23:31:21]CreateOFDProtocolMessage [23:31:21]wFMCommunicate request_size=4 [23:31:21]MH_SAM_APDU [23:31:21]CAPDU: 80 11 00 00 [23:31:21]Write to MH i2c: E2 08 00 6F 0E 80 11 00 00 00 00 00 00 F7 [23:31:21]Write i2c OK [23:31:21]MH_I2C_Read... [23:31:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:31:21]Read from MH i2c: E2 [23:31:21]MH_I2C_Read... [23:31:21]Read from MH i2c: E2 17 00 [23:31:21]MH_I2C_Read... [23:31:21]Read from MH i2c: E2 17 00 6F 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 4E [23:31:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:31:21]wFMCommunicate OK [23:31:21]CreateOFDProtocolMessage done [23:31:21]OFDSenderStorePacket 68273 [23:31:21]StoreOFDPacket docnum=68273 [23:31:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 7F 35 07 01 28 A6 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DA 34 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 94 61 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 61 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 21 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8C 25 00 00 00 00 07 04 06 00 84 61 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 B2 00 00 00 F4 03 04 00 C9 1E 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B1 0A 01 00 35 04 06 00 1F 55 F4 69 2F D2 BE 21 F3 83 34 5C 64 1D [23:31:21]CheckFolder [23:31:21]dirname=/storage/ofd_packets [23:31:21]CheckFolder done [23:31:21]ProducePacketName [23:31:21]name=ofd_packets/00068273 [23:31:21]NVStorageSaveData ofd_packets/00068273 [23:31:21]File name is /storage/ofd_packets/00068273 [23:31:21]Write 301 bytes [23:31:21]NVStorageSaveData done [23:31:21]OFDSenderStorePacket done [23:31:21]KKMCreateOFDPacket done [23:31:21]NVStorageSaveData kkm_last_timestamp [23:31:21]File name is /storage/kkm_last_timestamp [23:31:21]Write 4 bytes [23:31:21]NVStorageSaveData done [23:31:21]ExternCall_PrintAddStr [23:31:21]wPrintStart [23:31:21]Write to MH i2c: 01 00 00 70 0E 7E [23:31:21]Write i2c OK [23:31:21]MH_I2C_Read... [23:31:21]Read from MH i2c: 01 [23:31:21]MH_I2C_Read... [23:31:21]Read from MH i2c: 01 07 00 [23:31:21]MH_I2C_Read... [23:31:21]Read from MH i2c: 01 07 00 70 0E 00 00 00 00 00 FF 0F 93 [23:31:21]RasterBufferAndPrint [23:31:21]line Счет N : (1)46299 [23:31:21]line ИНН: 02508201610067 [23:31:21]line Контрольно-Кассовый Чек [23:31:21]line ПРОДАЖА [23:31:21]line ТРК (МРК, ГНК) : 33 [23:31:21]line Товар: 2710124130 [23:31:21]line Аи-92-К-5 [23:31:21]line 13.530 * 66.90 [23:31:21]line = 905.16 [23:31:21]line НДС 12% НСП 1% [23:31:21]line > о реализуемом товаре [23:31:21]line ОКРУГЛЕНИЕ: -0.16 [23:31:21]line ИТОГО: 905.00 [23:31:21]line Внесено: 905.00 [23:31:21]line СДАЧА: 0.00 [23:31:21]line НСП 1% : 8.01 [23:31:21]line НДС 12% : 96.12 [23:31:21]line Наличными: 905.00 [23:31:21]line Безнал.: 0.00 [23:31:21]line Место: АЗС № 160 "Партнер Нефть" [23:31:21]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [23:31:21]line СНО: Общий режим [23:31:21]line Чек 178 28.10.2024 23:31 [23:31:21]line Смена: 547 ФФД: 1.0 [23:31:21]line ЗНМ: 0300000093 [23:31:21]line РНМ: 0000000000091759 [23:31:21]line Версия ККМ: 001 [23:31:21]line ФМ: 0000000000871758 [23:31:21]line ФД: 68273 [23:31:21]line ФПД: 34454033215442 [23:31:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T233121&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68273&fm=34454033215442&tin=02508201610067®Number=0000000000091759&sum=90500 [23:31:21]written 0, free lines is 4095 [23:31:21]OFD Sender: Processing packet 68273 [packets to send 27, broken 26] [23:31:21]ProducePacketName [23:31:21]name=ofd_packets/00068273 [23:31:21]OFD Sender: To server: pG, [23:31:21]CommunicateWithHost lk.salyk.kg:30040 [23:31:21]ConnectInit lk.salyk.kg [23:31:21]Connected sock=10 [23:31:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 7F 35 07 01 28 A6 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DA 34 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 94 61 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 61 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 21 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8C 25 00 00 00 00 07 04 06 00 84 61 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 B2 00 00 00 F4 03 04 00 C9 1E 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B1 0A 01 00 35 04 06 00 1F 55 F4 69 2F D2 BE 21 F3 83 34 5C 64 1D [23:31:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 6A BA 47 00 D6 54 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B1 0A 01 00 F4 03 04 00 A8 CA 1F 67 B6 04 01 00 00 F7 A6 16 E0 73 55 44 C7 [23:31:22]CommunicateWithHost err = 0 [23:31:22]CheckOFDResponse [23:31:22]1017 (14) - 77093643461234 [23:31:22]1041 (16) - 0000000000871758 [23:31:22]1040 (4) - 68273 [23:31:22]1012 (4) - 28.10.2024 17:32 [23:31:22]1206 (1) - 0 [23:31:22]OFD Sender: Remove packet 68273 [23:31:22]ProducePacketName [23:31:22]name=ofd_packets/00068273 [23:31:22]NVStorageDeleteData [23:31:22]Write to MH i2c: 01 00 00 9A 0E A8 [23:31:22]Write i2c OK [23:31:22]MH_I2C_Read... [23:31:22]Read from MH i2c: 01 [23:31:22]MH_I2C_Read... [23:31:22]Read from MH i2c: 01 07 00 [23:31:22]MH_I2C_Read... [23:31:22]Read from MH i2c: 01 07 00 9A 0E 00 00 00 00 00 BA 0C 75 [23:31:22]RasterBufferAndPrint [23:31:22]line [23:31:22]line [23:31:22]line [23:31:22]line [23:31:22]line [23:31:22]written 0, free lines is 3264 [23:31:22]MH_Cut [23:31:22]Write to MH i2c: D1 01 00 A1 0E 01 81 [23:31:22]Write i2c OK [23:31:22]MH_I2C_Read... [23:31:22]Read from MH i2c: D1 [23:31:22]MH_I2C_Read... [23:31:22]Read from MH i2c: D1 01 00 [23:31:22]MH_I2C_Read... [23:31:22]Read from MH i2c: D1 01 00 A1 0E 00 80 [23:31:22]Write to MH i2c: 01 00 00 A2 0E B0 [23:31:22]Write i2c OK [23:31:22]MH_I2C_Read... [23:31:22]OFD Sender: No OFD packet to send [23:31:23]*** Cut start [23:31:23]*** Partial cut [23:31:23]*** CUTSNS_PIN = 1 [23:31:23]*** CUTSNS_PIN = 0 [23:31:23]*** Brake cut motor [23:31:23]Read from MH i2c: 01 [23:31:23]MH_I2C_Read... [23:31:23]*** Stop cut motor [23:31:23]*** Cut end [23:31:23]Read from MH i2c: 01 07 00 [23:31:23]MH_I2C_Read... [23:31:23]Read from MH i2c: 01 07 00 A2 0E 00 00 00 00 00 FF 0F C5 [23:31:23]process_action close_receipt done [23:31:23]requested_data is exist [23:31:23]produce_requested_data [23:31:23]requested_item fm.sn is exist - process it [23:31:23]wFMCommunicate request_size=4 [23:31:23]MH_SAM_APDU [23:31:23]CAPDU: 80 11 00 00 [23:31:23]Write to MH i2c: E2 08 00 A3 0E 80 11 00 00 00 00 00 00 2B [23:31:23]Write i2c OK [23:31:23]MH_I2C_Read... [23:31:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:31:23]Read from MH i2c: E2 [23:31:23]MH_I2C_Read... [23:31:23]Read from MH i2c: E2 17 00 [23:31:23]MH_I2C_Read... [23:31:23]Read from MH i2c: E2 17 00 A3 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 82 [23:31:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:31:23]wFMCommunicate OK [23:31:23]requested_item fd.num is exist - process it [23:31:23]SAM_PROTO_GetFieldsCounters [23:31:23]wFMCommunicate request_size=4 [23:31:23]MH_SAM_APDU [23:31:23]CAPDU: 80 13 00 00 [23:31:23]Write to MH i2c: E2 08 00 A4 0E 80 13 00 00 00 00 00 00 2E [23:31:23]Write i2c OK [23:31:23]MH_I2C_Read... [23:31:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:31:23]Read from MH i2c: E2 [23:31:23]MH_I2C_Read... [23:31:23]Read from MH i2c: E2 62 00 [23:31:23]MH_I2C_Read... [23:31:23]Read from MH i2c: E2 62 00 A4 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B1 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B2 00 00 00 5E 04 04 00 B2 00 00 00 57 04 04 00 B3 00 00 00 19 04 04 00 00 00 00 00 90 00 50 [23:31:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B1 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B2 00 00 00 5E 04 04 00 B2 00 00 00 57 04 04 00 B3 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:31:23]wFMCommunicate OK [23:31:23]SAM_PROTO_GetFieldsCounters done [23:31:23]requested_item shift.num is exist - process it [23:31:23]requested_item shift.opened is exist - process it [23:31:23]req_shift_opened [23:31:23]FM_GetShiftState [23:31:23]SAM_PROTO_GetShiftState [23:31:23]wFMCommunicate request_size=4 [23:31:23]MH_SAM_APDU [23:31:23]CAPDU: 80 13 01 00 [23:31:23]Write to MH i2c: E2 08 00 A5 0E 80 13 01 00 00 00 00 00 30 [23:31:23]Write i2c OK [23:31:23]MH_I2C_Read... [23:31:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:31:24]Read from MH i2c: E2 [23:31:24]MH_I2C_Read... [23:31:24]Read from MH i2c: E2 0E 00 [23:31:24]MH_I2C_Read... [23:31:24]Read from MH i2c: E2 0E 00 A5 0E 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 2B [23:31:24]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:31:24]wFMCommunicate OK [23:31:24]SAM_PROTO_GetShiftState done [23:31:24]FM_GetShiftState done [23:31:24]req_shift_opened done [23:31:24]requested_item shift.open_date is exist - process it [23:31:24]req_shift_open_date [23:31:24]req_shift_open_date done [23:31:24]produce_requested_data done [23:31:24]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68273,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [23:31:24]process_action_free close_receipt [23:31:24]json_value_free [23:31:24]json_value_free done [23:31:24]process_json_proto returns [23:31:24]Send response to host [23:31:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68273,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [23:31:24]free response buf [23:31:24]execute_script done [23:31:24]execute_script returns [23:31:24]free content buf [23:31:24]Sock 7.Close socket [23:31:24]Sock 7.Thread stoped [23:31:27]OFD Sender: No OFD packet to send [23:31:32]OFD Sender: No OFD packet to send [23:31:37]OFD Sender: No OFD packet to send [23:31:42]OFD Sender: No OFD packet to send [23:31:47]OFD Sender: No OFD packet to send [23:31:52]OFD Sender: No OFD packet to send [23:31:57]OFD Sender: No OFD packet to send [23:32:02]OFD Sender: No OFD packet to send [23:32:07]OFD Sender: No OFD packet to send [23:32:12]OFD Sender: No OFD packet to send [23:32:17]OFD Sender: No OFD packet to send [23:32:22]OFD Sender: No OFD packet to send [23:32:27]OFD Sender: No OFD packet to send [23:32:32]OFD Sender: No OFD packet to send [23:32:37]OFD Sender: No OFD packet to send [23:32:42]OFD Sender: No OFD packet to send [23:32:47]OFD Sender: No OFD packet to send [23:32:52]OFD Sender: No OFD packet to send [23:32:57]OFD Sender: No OFD packet to send [23:33:02]OFD Sender: No OFD packet to send [23:33:07]OFD Sender: No OFD packet to send [23:33:12]OFD Sender: No OFD packet to send [23:33:17]OFD Sender: No OFD packet to send [23:33:22]OFD Sender: No OFD packet to send [23:33:27]OFD Sender: No OFD packet to send [23:33:32]OFD Sender: No OFD packet to send [23:33:37]OFD Sender: No OFD packet to send [23:33:42]OFD Sender: No OFD packet to send [23:33:47]OFD Sender: No OFD packet to send [23:33:52]OFD Sender: No OFD packet to send [23:33:57]OFD Sender: No OFD packet to send [23:34:02]OFD Sender: No OFD packet to send [23:34:07]OFD Sender: No OFD packet to send [23:34:12]OFD Sender: No OFD packet to send [23:34:17]OFD Sender: No OFD packet to send [23:34:22]OFD Sender: No OFD packet to send [23:34:27]accept exits with 9 [23:34:27]New connection [23:34:27]New thread 3067497828 created [23:34:27]Thread 3067354468 joined [23:34:27]Waiting for new connection... [23:34:27] Sock 9.Parse request [23:34:27]Sock 9.Check first char [23:34:27]Sock 9.First char is OK [23:34:27]request: POST /json_proto HTTP/1.0 [23:34:27]Method: POST [23:34:27]URL: /json_proto [23:34:27]Method is POST - this is cgi request [23:34:27]url: /json_proto [23:34:27]query_string will be loaded in cgi processing [23:34:27]execute_cgi json_proto POST (null) [23:34:27]execute_cgi path=json_proto method=POST [23:34:27]POST find Content-Length [23:34:27]Host: 172.17.42.3:8080 [23:34:27]Content-Length: 2204 [23:34:27]Content-Type: application/json [23:34:27] [23:34:27]POST finish read [23:34:27]Found Content-Length = 2204 [23:34:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17213", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521148", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D 0.45\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189394", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u044F\u0433\u043E\u0434\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607120852531", "name": "\u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 Light 80 \u0433 \u0441\u043C-\u0437\u0435\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 439.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:34:27]execute_script... [23:34: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)17213", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521148", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D 0.45\u043B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189394", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u044F\u0433\u043E\u0434\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607120852531", "name": "\u041A\u0438\u0440\u0438\u0435\u0448\u043A\u0438 Light 80 \u0433 \u0441\u043C-\u0437\u0435\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 439.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:34:27]POST & json_proto [23:34:27]process_json_proto [23:34:27]json parsed OK: [23:34:27]protocol is kg_v1.0 [23:34:27]action value=close_receipt [23:34:27]process_action close_receipt [23:34:27]cmd_close_receipt [23:34:27]MH_GetDate [23:34:27]Write to MH i2c: F0 00 00 A6 0E A3 [23:34:27]Write i2c OK [23:34:27]MH_I2C_Read... [23:34:27]Read from MH i2c: F0 [23:34:27]MH_I2C_Read... [23:34:27]Read from MH i2c: F0 09 00 [23:34:27]MH_I2C_Read... [23:34:27]Read from MH i2c: F0 09 00 A6 0E 00 84 1F 20 67 0E CB 1F 67 35 [23:34:27]GetLastDocTimeStamp 1730158281 [23:34:27]current date 1730158468 [23:34:27]FM_GetShiftState [23:34:27]SAM_PROTO_GetShiftState [23:34:27]wFMCommunicate request_size=4 [23:34:27]MH_SAM_APDU [23:34:27]CAPDU: 80 13 01 00 [23:34:27]Write to MH i2c: E2 08 00 A7 0E 80 13 01 00 00 00 00 00 32 [23:34:27]Write i2c OK [23:34:27]MH_I2C_Read... [23:34:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:34:27]Read from MH i2c: E2 [23:34:27]MH_I2C_Read... [23:34:27]Read from MH i2c: E2 0E 00 [23:34:27]MH_I2C_Read... [23:34:27]Read from MH i2c: E2 0E 00 A7 0E 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 2D [23:34:27]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:34:27]wFMCommunicate OK [23:34:27]SAM_PROTO_GetShiftState done [23:34:27]FM_GetShiftState done [23:34:27]opened in 1730074770 [23:34:27]opened+sec_in_day 1730161170 [23:34:27]quantity*price = 11900 [23:34:27]sum+1 = 11901 [23:34:27]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870202521148 Напиток MAXI чай зел лимон 0.45л 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000189394 Холодный чай Fuse ягода 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870112002775 Шок батончик ALBENI BITES 80гр 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607120852531 Кириешки Light 80 г см-зел 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160792 Снек Курут классический (круглый) 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 439.00 НСП 1% : 3.87 НДС 12% : 46.61 Наличными: 0.00 Безнал.: 439.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 179 28.10.2024 23:34 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68274 ФПД: 232630172598866 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T233428&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68274&fm=232630172598866&tin=02508201610067®Number=0000000000091759&sum=43900 0 [23:34:28]StoreToDocumentArchive [23:34:28]shift 547 fd 68274 [23:34:28]save to /storage/0547/doc_00068274 [23:34:28]save last doc name /storage/0547/doc_00068274 to /storage/kkm_last_doc_name [23:34:28]save OK [23:34:28]Clear old archive folders... [23:34:28]ProcessDocumentItem done err = 0, tmpTLVsize=866 [23:34:28]tlvbuf is 0062DC90 [23:34:28]SAM_PROTO_ClearQueue [23:34:28]wFMCommunicate request_size=4 [23:34:28]MH_SAM_APDU [23:34:28]CAPDU: 80 09 00 00 [23:34:28]Write to MH i2c: E2 08 00 B4 0E 80 09 00 00 00 00 00 00 34 [23:34:28]Write i2c OK [23:34:28]MH_I2C_Read... [23:34:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:34:28]Read from MH i2c: E2 [23:34:28]MH_I2C_Read... [23:34:28]Read from MH i2c: E2 03 00 [23:34:28]MH_I2C_Read... [23:34:28]Read from MH i2c: E2 03 00 B4 0E 00 90 00 36 [23:34:28]RAPDU: 90 00 [23:34:28]wFMCommunicate OK [23:34:28]SAM_PROTO_ClearQueue done [23:34:28]KKMCreateOFDPacket [23:34:28]OFDProtocolAddRootSTLVToBuf [23:34:28]FM_MakeSignedData [23:34:28]FM_MakeSignedData [23:34:28]SAM_PROTO_SignData [23:34:28]wFMCommunicate request_size=4 [23:34:28]MH_SAM_APDU [23:34:28]CAPDU: 80 0D 01 02 [23:34:28]Write to MH i2c: E2 08 00 B5 0E 80 0D 01 02 00 00 00 00 3C [23:34:28]Write i2c OK [23:34:28]MH_I2C_Read... [23:34:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:34:28]Read from MH i2c: E2 [23:34:28]MH_I2C_Read... [23:34:28]Read from MH i2c: E2 03 00 [23:34:28]MH_I2C_Read... [23:34:28]Read from MH i2c: E2 03 00 B5 0E 00 90 00 37 [23:34:28]RAPDU: 90 00 [23:34:28]wFMCommunicate OK [23:34:28]wFMCommunicate request_size=255 [23:34:28]MH_SAM_APDU [23:34:28]CAPDU: 80 0D 02 02 FA 03 00 62 03 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 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 38 37 30 32 30 32 35 32 31 31 34 38 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 30 2E 34 35 D0 BB FF 03 08 00 03 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 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 [23:34:28]Write to MH i2c: E2 02 01 B6 0E 80 0D 02 02 FA 00 03 00 62 03 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 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 38 37 30 32 30 32 35 32 31 31 34 38 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 30 2E 34 35 D0 BB FF 03 08 00 03 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 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 00 00 86 [23:34:28]Write i2c OK [23:34:28]MH_I2C_Read... [23:34:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:34:29]Read from MH i2c: E2 [23:34:29]MH_I2C_Read... [23:34:29]Read from MH i2c: E2 03 00 [23:34:29]MH_I2C_Read... [23:34:29]Read from MH i2c: E2 03 00 B6 0E 00 90 00 38 [23:34:29]RAPDU: 90 00 [23:34:29]wFMCommunicate OK [23:34:29]wFMCommunicate request_size=255 [23:34:29]MH_SAM_APDU [23:34:29]CAPDU: 80 0D 02 02 FA 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 35 33 31 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 [23:34:29]Write to MH i2c: E2 02 01 B7 0E 80 0D 02 02 FA 00 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 35 33 31 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 00 00 7C [23:34:29]Write i2c OK [23:34:29]MH_I2C_Read... [23:34:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:34:29]Read from MH i2c: E2 [23:34:29]MH_I2C_Read... [23:34:29]Read from MH i2c: E2 03 00 [23:34:29]MH_I2C_Read... [23:34:29]Read from MH i2c: E2 03 00 B7 0E 00 90 00 39 [23:34:29]RAPDU: 90 00 [23:34:29]wFMCommunicate OK [23:34:29]wFMCommunicate request_size=255 [23:34:29]MH_SAM_APDU [23:34:29]CAPDU: 80 0D 02 02 FA B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BC 2D D0 B7 D0 B5 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 7C AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 [23:34:29]Write to MH i2c: E2 02 01 B8 0E 80 0D 02 02 FA 00 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BC 2D D0 B7 D0 B5 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 7C AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 64 [23:34:29]Write i2c OK [23:34:29]MH_I2C_Read... [23:34:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:34:29]Read from MH i2c: E2 [23:34:29]MH_I2C_Read... [23:34:29]Read from MH i2c: E2 03 00 [23:34:29]MH_I2C_Read... [23:34:29]Read from MH i2c: E2 03 00 B8 0E 00 90 00 3A [23:34:29]RAPDU: 90 00 [23:34:29]wFMCommunicate OK [23:34:29]wFMCommunicate request_size=125 [23:34:29]MH_SAM_APDU [23:34:29]CAPDU: 80 0D 02 02 78 00 35 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C AB 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 B3 00 00 00 F4 03 04 00 84 1F 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B2 0A 01 00 35 04 06 00 D3 93 6E CD 42 52 [23:34:29]Write to MH i2c: E2 80 00 B9 0E 80 0D 02 02 78 00 00 35 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C AB 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 B3 00 00 00 F4 03 04 00 84 1F 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B2 0A 01 00 35 04 06 00 D3 93 6E CD 42 52 00 00 D7 [23:34:29]Write i2c OK [23:34:29]MH_I2C_Read... [23:34:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:34:29]Read from MH i2c: E2 [23:34:29]MH_I2C_Read... [23:34:29]Read from MH i2c: E2 03 00 [23:34:29]MH_I2C_Read... [23:34:29]Read from MH i2c: E2 03 00 B9 0E 00 90 00 3B [23:34:29]RAPDU: 90 00 [23:34:29]wFMCommunicate OK [23:34:29]wFMCommunicate request_size=4 [23:34:29]MH_SAM_APDU [23:34:29]CAPDU: 80 0D 03 02 [23:34:29]Write to MH i2c: E2 08 00 BA 0E 80 0D 03 02 00 00 00 00 43 [23:34:29]Write i2c OK [23:34:29]MH_I2C_Read... [23:34:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:34:29]Read from MH i2c: E2 [23:34:29]MH_I2C_Read... [23:34:29]Read from MH i2c: E2 0B 00 [23:34:29]MH_I2C_Read... [23:34:29]Read from MH i2c: E2 0B 00 BA 0E 00 53 45 01 01 EA A1 87 BE 90 00 AE [23:34:29]RAPDU: 53 45 01 01 EA A1 87 BE 90 00 [23:34:29]wFMCommunicate OK [23:34:29]SAM_PROTO_SignData done [23:34:29]FM_MakeSignedData done [23:34:29]CreateOFDProtocolMessage [23:34:29]wFMCommunicate request_size=4 [23:34:29]MH_SAM_APDU [23:34:29]CAPDU: 80 11 00 00 [23:34:29]Write to MH i2c: E2 08 00 BB 0E 80 11 00 00 00 00 00 00 43 [23:34:29]Write i2c OK [23:34:29]MH_I2C_Read... [23:34:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:34:30]Read from MH i2c: E2 [23:34:30]MH_I2C_Read... [23:34:30]Read from MH i2c: E2 17 00 [23:34:30]MH_I2C_Read... [23:34:30]Read from MH i2c: E2 17 00 BB 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 9A [23:34:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:34:30]wFMCommunicate OK [23:34:30]CreateOFDProtocolMessage done [23:34:30]OFDSenderStorePacket 68274 [23:34:30]StoreOFDPacket docnum=68274 [23:34:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 76 03 00 00 32 41 6E 03 0F E8 5A 03 01 00 03 00 62 03 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 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 38 37 30 32 30 32 35 32 31 31 34 38 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 30 2E 34 35 D0 BB FF 03 08 00 03 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 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 35 33 31 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BC 2D D0 B7 D0 B5 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 7C AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 35 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C AB 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 B3 00 00 00 F4 03 04 00 84 1F 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B2 0A 01 00 35 04 06 00 D3 93 6E CD 42 52 53 45 01 01 EA A1 87 BE [23:34:30]CheckFolder [23:34:30]dirname=/storage/ofd_packets [23:34:30]CheckFolder done [23:34:30]ProducePacketName [23:34:30]name=ofd_packets/00068274 [23:34:30]NVStorageSaveData ofd_packets/00068274 [23:34:30]File name is /storage/ofd_packets/00068274 [23:34:30]Write 916 bytes [23:34:30]NVStorageSaveData done [23:34:30]OFDSenderStorePacket done [23:34:30]KKMCreateOFDPacket done [23:34:30]NVStorageSaveData kkm_last_timestamp [23:34:30]File name is /storage/kkm_last_timestamp [23:34:30]Write 4 bytes [23:34:30]NVStorageSaveData done [23:34:30]ExternCall_PrintAddStr [23:34:30]wPrintStart [23:34:30]Write to MH i2c: 01 00 00 BC 0E CA [23:34:30]OFD Sender: Processing packet 68274 [packets to send 27, broken 26] [23:34:30]ProducePacketName [23:34:30]name=ofd_packets/00068274 [23:34:30]OFD Sender: To server: pG, [23:34:30]CommunicateWithHost lk.salyk.kg:30040 [23:34:30]ConnectInit lk.salyk.kg [23:34:30]Write i2c OK [23:34:30]MH_I2C_Read... [23:34:30]Read from MH i2c: 01 [23:34:30]MH_I2C_Read... [23:34:30]Read from MH i2c: 01 07 00 [23:34:30]MH_I2C_Read... [23:34:30]Read from MH i2c: 01 07 00 BC 0E 00 00 00 00 00 FF 0F DF [23:34:30]RasterBufferAndPrint [23:34:30]line Счет N : (3)17213 [23:34:30]line ИНН: 02508201610067 [23:34:30]line Контрольно-Кассовый Чек [23:34:30]line ПРОДАЖА [23:34:30]line Товар: 4870001570071 [23:34:30]line Напиток Pepsi 1л [23:34:30]line 1.000 * 119.00 [23:34:30]line = 119.00 [23:34:30]line НДС 12% НСП 1% [23:34:30]line > о реализуемом товаре [23:34:30]line Товар: 4870202521148 [23:34:30]line Напиток MAXI чай зел лимон 0.45л [23:34:30]line 1.000 * 70.00 [23:34:30]line = 70.00 [23:34:30]line НДС 12% НСП 1% [23:34:30]line > о реализуемом товаре [23:34:30]line Товар: 5449000189394 [23:34:30]line Холодный чай Fuse ягода 0,5л [23:34:30]line 1.000 * 75.00 [23:34:30]line = 75.00 [23:34:30]line НДС 12% НСП 1% [23:34:30]line > о реализуемом товаре [23:34:30]line Товар: 4870112002775 [23:34:30]line Шок батончик ALBENI BITES 80гр [23:34:30]line 1.000 * 75.00 [23:34:30]line = 75.00 [23:34:30]line НДС 12% НСП 1% [23:34:30]line > о реализуемом товаре [23:34:30]line Товар: 4607120852531 [23:34:30]line Кириешки Light 80 г см-зел [23:34:30]line 1.000 * 40.00 [23:34:30]line = 40.00 [23:34:30]line НДС 12% НСП 1% [23:34:30]line > о реализуемом товаре [23:34:30]line Товар: 4700000160792 [23:34:30]line Снек Курут классический (круглый) [23:34:30]line 1.000 * 60.00 [23:34:30]line = 60.00 [23:34:30]line НДС 12% НСП 1% [23:34:30]line > о реализуемом товаре [23:34:30]line ИТОГО: 439.00 [23:34:30]line НСП 1% : 3.87 [23:34:30]line НДС 12% : 46.61 [23:34:30]line Наличными: 0.00 [23:34:30]line Безнал.: 439.00 [23:34:30]line Место: АЗС № 160 "Партнер Нефть" [23:34:30]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [23:34:30]line СНО: Общий режим [23:34:30]line Чек 179 28.10.2024 23:34 [23:34:30]line Смена: 547 ФФД: 1.0 [23:34:30]line ЗНМ: 0300000093 [23:34:30]line РНМ: 0000000000091759 [23:34:30]line Версия ККМ: 001 [23:34:30]line Платежная система: Mbank [23:34:30]line ФМ: 0000000000871758 [23:34:30]line ФД: 68274 [23:34:30]line ФПД: 232630172598866 [23:34:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241028T233428&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68274&fm=232630172598866&tin=02508201610067®Number=0000000000091759&sum=43900 [23:34:30]line 0 [23:34:30]written 0, free lines is 4095 [23:34:30]Connected sock=10 [23:34:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 76 03 00 00 32 41 6E 03 0F E8 5A 03 01 00 03 00 62 03 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 7C 2E 00 00 00 00 13 04 06 00 7C 2E 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 38 37 30 32 30 32 35 32 31 31 34 38 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 30 2E 34 35 D0 BB FF 03 08 00 03 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 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 6C 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 32 35 33 31 06 04 28 00 D0 9A D0 B8 D1 80 D0 B8 D0 B5 D1 88 D0 BA D0 B8 20 4C 69 67 68 74 20 38 30 20 D0 B3 20 D1 81 D0 BC 2D D0 B7 D0 B5 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 7C AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 35 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7C AB 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 B3 00 00 00 F4 03 04 00 84 1F 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B2 0A 01 00 35 04 06 00 D3 93 6E CD 42 52 53 45 01 01 EA A1 87 BE [23:34:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 E0 4E 47 00 D0 27 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B2 0A 01 00 F4 03 04 00 65 CB 1F 67 B6 04 01 00 00 42 C6 B3 58 6C C3 C1 F2 [23:34:30]CommunicateWithHost err = 0 [23:34:30]CheckOFDResponse [23:34:30]1017 (14) - 77093643461234 [23:34:30]1041 (16) - 0000000000871758 [23:34:30]1040 (4) - 68274 [23:34:30]1012 (4) - 28.10.2024 17:35 [23:34:30]1206 (1) - 0 [23:34:30]OFD Sender: Remove packet 68274 [23:34:30]ProducePacketName [23:34:30]name=ofd_packets/00068274 [23:34:30]NVStorageDeleteData [23:34:31]Write to MH i2c: 01 00 00 05 0F 14 [23:34:31]Write i2c OK [23:34:31]MH_I2C_Read... [23:34:31]Read from MH i2c: 01 [23:34:31]MH_I2C_Read... [23:34:31]Read from MH i2c: 01 07 00 [23:34:31]MH_I2C_Read... [23:34:31]Read from MH i2c: 01 07 00 05 0F 00 00 00 00 00 99 0A BE [23:34:31]RasterBufferAndPrint [23:34:31]line [23:34:31]line [23:34:31]line [23:34:31]line [23:34:31]line [23:34:31]written 0, free lines is 2720 [23:34:31]MH_Cut [23:34:31]Write to MH i2c: D1 01 00 0C 0F 01 ED [23:34:31]Write i2c OK [23:34:31]MH_I2C_Read... [23:34:31]Read from MH i2c: D1 [23:34:31]MH_I2C_Read... [23:34:31]Read from MH i2c: D1 01 00 [23:34:31]MH_I2C_Read... [23:34:31]Read from MH i2c: D1 01 00 0C 0F 00 EC [23:34:31]Write to MH i2c: 01 00 00 0D 0F 1C [23:34:31]Write i2c OK [23:34:31]MH_I2C_Read... [23:34:31]OFD Sender: No OFD packet to send [23:34:32]*** Cut start [23:34:32]*** Partial cut [23:34:32]*** CUTSNS_PIN = 1 [23:34:32]*** CUTSNS_PIN = 0 [23:34:32]*** Brake cut motor [23:34:33]Read from MH i2c: 01 [23:34:33]MH_I2C_Read... [23:34:33]*** Stop cut motor [23:34:33]*** Cut end [23:34:33]Read from MH i2c: 01 07 00 [23:34:33]MH_I2C_Read... [23:34:33]Read from MH i2c: 01 07 00 0D 0F 00 00 00 00 00 FF 0F 31 [23:34:33]process_action close_receipt done [23:34:33]requested_data is exist [23:34:33]produce_requested_data [23:34:33]requested_item fm.sn is exist - process it [23:34:33]wFMCommunicate request_size=4 [23:34:33]MH_SAM_APDU [23:34:33]CAPDU: 80 11 00 00 [23:34:33]Write to MH i2c: E2 08 00 0E 0F 80 11 00 00 00 00 00 00 97 [23:34:33]Write i2c OK [23:34:33]MH_I2C_Read... [23:34:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:34:33]Read from MH i2c: E2 [23:34:33]MH_I2C_Read... [23:34:33]Read from MH i2c: E2 17 00 [23:34:33]MH_I2C_Read... [23:34:33]Read from MH i2c: E2 17 00 0E 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 EE [23:34:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [23:34:33]wFMCommunicate OK [23:34:33]requested_item fd.num is exist - process it [23:34:33]SAM_PROTO_GetFieldsCounters [23:34:33]wFMCommunicate request_size=4 [23:34:33]MH_SAM_APDU [23:34:33]CAPDU: 80 13 00 00 [23:34:33]Write to MH i2c: E2 08 00 0F 0F 80 13 00 00 00 00 00 00 9A [23:34:33]Write i2c OK [23:34:33]MH_I2C_Read... [23:34:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:34:33]Read from MH i2c: E2 [23:34:33]MH_I2C_Read... [23:34:33]Read from MH i2c: E2 62 00 [23:34:33]MH_I2C_Read... [23:34:33]Read from MH i2c: E2 62 00 0F 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B2 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B3 00 00 00 5E 04 04 00 B3 00 00 00 57 04 04 00 B4 00 00 00 19 04 04 00 00 00 00 00 90 00 C0 [23:34:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B2 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B3 00 00 00 5E 04 04 00 B3 00 00 00 57 04 04 00 B4 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:34:33]wFMCommunicate OK [23:34:33]SAM_PROTO_GetFieldsCounters done [23:34:33]requested_item shift.num is exist - process it [23:34:33]requested_item shift.opened is exist - process it [23:34:33]req_shift_opened [23:34:33]FM_GetShiftState [23:34:33]SAM_PROTO_GetShiftState [23:34:33]wFMCommunicate request_size=4 [23:34:33]MH_SAM_APDU [23:34:33]CAPDU: 80 13 01 00 [23:34:33]Write to MH i2c: E2 08 00 10 0F 80 13 01 00 00 00 00 00 9C [23:34:33]Write i2c OK [23:34:33]MH_I2C_Read... [23:34:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:34:33]Read from MH i2c: E2 [23:34:33]MH_I2C_Read... [23:34:33]Read from MH i2c: E2 0E 00 [23:34:33]MH_I2C_Read... [23:34:33]Read from MH i2c: E2 0E 00 10 0F 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 97 [23:34:33]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [23:34:33]wFMCommunicate OK [23:34:33]SAM_PROTO_GetShiftState done [23:34:33]FM_GetShiftState done [23:34:33]req_shift_opened done [23:34:33]requested_item shift.open_date is exist - process it [23:34:33]req_shift_open_date [23:34:33]req_shift_open_date done [23:34:33]produce_requested_data done [23:34:33]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68274,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [23:34:33]process_action_free close_receipt [23:34:33]json_value_free [23:34:33]json_value_free done [23:34:33]process_json_proto returns [23:34:33]Send response to host [23:34:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68274,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [23:34:33]free response buf [23:34:33]execute_script done [23:34:33]execute_script returns [23:34:33]free content buf [23:34:33]Sock 9.Close socket [23:34:33]Sock 9.Thread stoped [23:34:36]OFD Sender: No OFD packet to send [23:34:41]OFD Sender: No OFD packet to send [23:34:46]OFD Sender: No OFD packet to send [23:34:51]OFD Sender: No OFD packet to send [23:34:56]OFD Sender: No OFD packet to send [23:35:01]OFD Sender: No OFD packet to send [23:35:06]OFD Sender: No OFD packet to send [23:35:11]OFD Sender: No OFD packet to send [23:35:16]OFD Sender: No OFD packet to send [23:35:21]OFD Sender: No OFD packet to send [23:35:26]OFD Sender: No OFD packet to send [23:35:31]OFD Sender: No OFD packet to send [23:35:36]OFD Sender: No OFD packet to send [23:35:41]OFD Sender: No OFD packet to send [23:35:46]OFD Sender: No OFD packet to send [23:35:51]OFD Sender: No OFD packet to send [23:35:56]OFD Sender: No OFD packet to send [23:36:01]OFD Sender: No OFD packet to send [23:36:06]OFD Sender: No OFD packet to send [23:36:11]OFD Sender: No OFD packet to send [23:36:16]OFD Sender: No OFD packet to send [23:36:21]OFD Sender: No OFD packet to send [23:36:26]OFD Sender: No OFD packet to send [23:36:31]OFD Sender: No OFD packet to send [23:36:36]OFD Sender: No OFD packet to send [23:36:41]OFD Sender: No OFD packet to send [23:36:46]OFD Sender: No OFD packet to send [23:36:51]OFD Sender: No OFD packet to send [23:36:56]OFD Sender: No OFD packet to send [23:37:01]OFD Sender: No OFD packet to send [23:37:06]OFD Sender: No OFD packet to send [23:37:11]OFD Sender: No OFD packet to send [23:37:16]OFD Sender: No OFD packet to send [23:37:21]OFD Sender: No OFD packet to send [23:37:26]OFD Sender: No OFD packet to send [23:37:31]OFD Sender: No OFD packet to send [23:37:36]OFD Sender: No OFD packet to send [23:37:41]OFD Sender: No OFD packet to send [23:37:46]OFD Sender: No OFD packet to send [23:37:51]OFD Sender: No OFD packet to send [23:37:56]OFD Sender: No OFD packet to send [23:38:01]OFD Sender: No OFD packet to send [23:38:06]OFD Sender: No OFD packet to send [23:38:11]OFD Sender: No OFD packet to send [23:38:16]OFD Sender: No OFD packet to send [23:38:21]OFD Sender: No OFD packet to send [23:38:26]OFD Sender: No OFD packet to send [23:38:31]OFD Sender: No OFD packet to send [23:38:36]OFD Sender: No OFD packet to send [23:38:41]OFD Sender: No OFD packet to send [23:38:46]OFD Sender: No OFD packet to send [23:38:51]OFD Sender: No OFD packet to send [23:38:56]OFD Sender: No OFD packet to send [23:39:01]OFD Sender: No OFD packet to send [23:39:06]OFD Sender: No OFD packet to send [23:39:11]OFD Sender: No OFD packet to send [23:39:16]OFD Sender: No OFD packet to send [23:39:21]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:16]OFD Sender: No OFD packet to send [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:46]OFD Sender: No OFD packet to send [23:48:51]OFD Sender: No OFD packet to send [23:48:56]OFD Sender: No OFD packet to send [23:49:01]OFD Sender: No OFD packet to send [23:49:06]OFD Sender: No OFD packet to send [23:49:11]OFD Sender: No OFD packet to send [23:49:16]OFD Sender: No OFD packet to send [23:49:21]OFD Sender: No OFD packet to send [23:49:26]OFD Sender: No OFD packet to send [23:49:31]OFD Sender: No OFD packet to send [23:49:36]OFD Sender: No OFD packet to send [23:49:41]OFD Sender: No OFD packet to send [23:49:46]OFD Sender: No OFD packet to send [23:49:51]OFD Sender: No OFD packet to send [23:49:56]OFD Sender: No OFD packet to send [23:50:01]OFD Sender: No OFD packet to send [23:50:06]OFD Sender: No OFD packet to send [23:50:11]OFD Sender: No OFD packet to send [23:50:16]OFD Sender: No OFD packet to send [23:50:21]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:47]OFD Sender: No OFD packet to send [23:55:52]OFD Sender: No OFD packet to send [23:55:57]OFD Sender: No OFD packet to send [23:56:02]OFD Sender: No OFD packet to send [23:56:07]OFD Sender: No OFD packet to send [23:56:12]OFD Sender: No OFD packet to send [23:56:17]OFD Sender: No OFD packet to send [23:56:22]OFD Sender: No OFD packet to send [23:56:27]OFD Sender: No OFD packet to send [23:56:32]OFD Sender: No OFD packet to send [23:56:37]OFD Sender: No OFD packet to send [23:56:42]OFD Sender: No OFD packet to send [23:56:47]OFD Sender: No OFD packet to send [23:56:52]OFD Sender: No OFD packet to send [23:56:57]OFD Sender: No OFD packet to send [23:57:02]OFD Sender: No OFD packet to send [23:57:07]OFD Sender: No OFD packet to send [23:57:12]OFD Sender: No OFD packet to send [23:57:17]OFD Sender: No OFD packet to send [23:57:22]OFD Sender: No OFD packet to send [23:57:27]OFD Sender: No OFD packet to send [23:57:32]OFD Sender: No OFD packet to send [23:57:37]OFD Sender: No OFD packet to send [23:57:42]OFD Sender: No OFD packet to send [23:57:47]OFD Sender: No OFD packet to send [23:57:52]OFD Sender: No OFD packet to send [23:57:57]OFD Sender: No OFD packet to send [23:58:02]OFD Sender: No OFD packet to send [23:58:07]OFD Sender: No OFD packet to send [23:58:12]OFD Sender: No OFD packet to send [23:58:17]OFD Sender: No OFD packet to send [23:58:22]OFD Sender: No OFD packet to send [23:58:27]OFD Sender: No OFD packet to send [23:58:32]OFD Sender: No OFD packet to send [23:58:37]OFD Sender: No OFD packet to send [23:58:42]OFD Sender: No OFD packet to send [23:58:47]OFD Sender: No OFD packet to send [23:58:52]OFD Sender: No OFD packet to send [23:58:57]OFD Sender: No OFD packet to send [23:59:02]OFD Sender: No OFD packet to send [23:59:07]OFD Sender: No OFD packet to send [23:59:12]OFD Sender: No OFD packet to send [23:59:17]OFD Sender: No OFD packet to send [23:59:22]OFD Sender: No OFD packet to send [23:59:27]OFD Sender: No OFD packet to send [23:59:32]OFD Sender: No OFD packet to send [23:59:37]OFD Sender: No OFD packet to send [23:59:42]OFD Sender: No OFD packet to send [23:59:47]OFD Sender: No OFD packet to send [23:59:52]OFD Sender: No OFD packet to send [23:59:57]OFD Sender: No OFD packet to send [00:00:02]OFD Sender: No OFD packet to send [00:00:07]OFD Sender: No OFD packet to send [00:00:12]OFD Sender: No OFD packet to send [00:00:17]OFD Sender: No OFD packet to send [00:00:22]OFD Sender: No OFD packet to send [00:00:27]OFD Sender: No OFD packet to send [00:00:32]OFD Sender: No OFD packet to send [00:00:37]OFD Sender: No OFD packet to send [00:00:42]OFD Sender: No OFD packet to send [00:00:47]OFD Sender: No OFD packet to send [00:00:52]OFD Sender: No OFD packet to send [00:00:57]OFD Sender: No OFD packet to send [00:01:02]OFD Sender: No OFD packet to send [00:01:07]OFD Sender: No OFD packet to send [00:01:12]OFD Sender: No OFD packet to send [00:01:17]OFD Sender: No OFD packet to send [00:01:22]OFD Sender: No OFD packet to send [00:01:27]OFD Sender: No OFD packet to send [00:01:32]OFD Sender: No OFD packet to send [00:01:37]OFD Sender: No OFD packet to send [00:01:42]OFD Sender: No OFD packet to send [00:01:47]OFD Sender: No OFD packet to send [00:01:52]OFD Sender: No OFD packet to send [00:01:57]OFD Sender: No OFD packet to send [00:02:02]OFD Sender: No OFD packet to send [00:02:07]OFD Sender: No OFD packet to send [00:02:12]OFD Sender: No OFD packet to send [00:02:17]OFD Sender: No OFD packet to send [00:02:22]OFD Sender: No OFD packet to send [00:02:27]OFD Sender: No OFD packet to send [00:02:32]OFD Sender: No OFD packet to send [00:02:37]OFD Sender: No OFD packet to send [00:02:42]OFD Sender: No OFD packet to send [00:02:47]OFD Sender: No OFD packet to send [00:02:52]OFD Sender: No OFD packet to send [00:02:57]OFD Sender: No OFD packet to send [00:03:02]OFD Sender: No OFD packet to send [00:03:07]OFD Sender: No OFD packet to send [00:03:12]OFD Sender: No OFD packet to send [00:03:17]OFD Sender: No OFD packet to send [00:03:22]OFD Sender: No OFD packet to send [00:03:27]OFD Sender: No OFD packet to send [00:03:32]OFD Sender: No OFD packet to send [00:03:37]OFD Sender: No OFD packet to send [00:03:42]OFD Sender: No OFD packet to send [00:03:47]OFD Sender: No OFD packet to send [00:03:52]OFD Sender: No OFD packet to send [00:03:57]OFD Sender: No OFD packet to send [00:04:02]OFD Sender: No OFD packet to send [00:04:07]OFD Sender: No OFD packet to send [00:04:12]OFD Sender: No OFD packet to send [00:04:17]OFD Sender: No OFD packet to send [00:04:22]OFD Sender: No OFD packet to send [00:04:27]OFD Sender: No OFD packet to send [00:04:32]OFD Sender: No OFD packet to send [00:04:37]OFD Sender: No OFD packet to send [00:04:42]OFD Sender: No OFD packet to send [00:04:47]OFD Sender: No OFD packet to send [00:04:52]OFD Sender: No OFD packet to send [00:04:57]OFD Sender: No OFD packet to send [00:05:02]OFD Sender: No OFD packet to send [00:05:07]OFD Sender: No OFD packet to send [00:05:12]OFD Sender: No OFD packet to send [00:05:17]OFD Sender: No OFD packet to send [00:05:22]OFD Sender: No OFD packet to send [00:05:27]OFD Sender: No OFD packet to send [00:05:32]OFD Sender: No OFD packet to send [00:05:37]OFD Sender: No OFD packet to send [00:05:42]OFD Sender: No OFD packet to send [00:05:47]OFD Sender: No OFD packet to send [00:05:52]OFD Sender: No OFD packet to send [00:05:57]OFD Sender: No OFD packet to send [00:06:02]OFD Sender: No OFD packet to send [00:06:07]OFD Sender: No OFD packet to send [00:06:12]OFD Sender: No OFD packet to send [00:06:17]OFD Sender: No OFD packet to send [00:06:22]OFD Sender: No OFD packet to send [00:06:27]OFD Sender: No OFD packet to send [00:06:32]OFD Sender: No OFD packet to send [00:06:37]OFD Sender: No OFD packet to send [00:06:42]OFD Sender: No OFD packet to send [00:06:47]OFD Sender: No OFD packet to send [00:06:52]OFD Sender: No OFD packet to send [00:06:57]OFD Sender: No OFD packet to send [00:07:02]OFD Sender: No OFD packet to send [00:07:07]OFD Sender: No OFD packet to send [00:07:12]OFD Sender: No OFD packet to send [00:07:17]OFD Sender: No OFD packet to send [00:07:22]OFD Sender: No OFD packet to send [00:07:27]OFD Sender: No OFD packet to send [00:07:32]OFD Sender: No OFD packet to send [00:07:37]OFD Sender: No OFD packet to send [00:07:42]OFD Sender: No OFD packet to send [00:07:47]OFD Sender: No OFD packet to send [00:07:52]OFD Sender: No OFD packet to send [00:07:57]OFD Sender: No OFD packet to send [00:08:02]OFD Sender: No OFD packet to send [00:08:07]OFD Sender: No OFD packet to send [00:08:12]OFD Sender: No OFD packet to send [00:08:17]OFD Sender: No OFD packet to send [00:08:22]OFD Sender: No OFD packet to send [00:08:27]OFD Sender: No OFD packet to send [00:08:32]OFD Sender: No OFD packet to send [00:08:37]OFD Sender: No OFD packet to send [00:08:42]OFD Sender: No OFD packet to send [00:08:47]OFD Sender: No OFD packet to send [00:08:52]OFD Sender: No OFD packet to send [00:08:57]OFD Sender: No OFD packet to send [00:09:02]OFD Sender: No OFD packet to send [00:09:05]accept exits with 7 [00:09:05]New connection [00:09:05]New thread 3067354468 created [00:09:05]Thread 3067497828 joined [00:09:05]Waiting for new connection... [00:09:05] Sock 7.Parse request [00:09:05]Sock 7.Check first char [00:09:05]Sock 7.First char is OK [00:09:05]request: POST /json_proto HTTP/1.0 [00:09:05]Method: POST [00:09:05]URL: /json_proto [00:09:05]Method is POST - this is cgi request [00:09:05]url: /json_proto [00:09:05]query_string will be loaded in cgi processing [00:09:05]execute_cgi json_proto POST (null) [00:09:05]execute_cgi path=json_proto method=POST [00:09:05]POST find Content-Length [00:09:05]Host: 172.17.42.3:8080 [00:09:05]Content-Length: 761 [00:09:05]Content-Type: application/json [00:09:05] [00:09:05]POST finish read [00:09:05]Found Content-Length = 761 [00:09:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46295", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 0.010, "sum" : 0.74, "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: Mbank", "payments": [ { "type": 1, "sum" : 0.74 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:09:05]execute_script... [00:09:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46295", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 24", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-3", "price" : 74.20, "quantity" : 0.010, "sum" : 0.74, "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: Mbank", "payments": [ { "type": 1, "sum" : 0.74 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:09:05]POST & json_proto [00:09:05]process_json_proto [00:09:05]json parsed OK: [00:09:05]protocol is kg_v1.0 [00:09:05]action value=close_receipt [00:09:05]process_action close_receipt [00:09:05]cmd_close_receipt [00:09:05]MH_GetDate [00:09:05]Write to MH i2c: F0 00 00 11 0F 0F [00:09:05]Write i2c OK [00:09:05]MH_I2C_Read... [00:09:05]Read from MH i2c: F0 [00:09:05]MH_I2C_Read... [00:09:05]Read from MH i2c: F0 09 00 [00:09:05]MH_I2C_Read... [00:09:05]Read from MH i2c: F0 09 00 11 0F 00 A3 27 20 67 0E CB 1F 67 C8 [00:09:05]GetLastDocTimeStamp 1730158468 [00:09:05]current date 1730160547 [00:09:05]FM_GetShiftState [00:09:05]SAM_PROTO_GetShiftState [00:09:05]wFMCommunicate request_size=4 [00:09:05]MH_SAM_APDU [00:09:05]CAPDU: 80 13 01 00 [00:09:05]Write to MH i2c: E2 08 00 12 0F 80 13 01 00 00 00 00 00 9E [00:09:05]Write i2c OK [00:09:05]MH_I2C_Read... [00:09:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:05]Read from MH i2c: E2 [00:09:05]MH_I2C_Read... [00:09:05]Read from MH i2c: E2 0E 00 [00:09:05]MH_I2C_Read... [00:09:05]Read from MH i2c: E2 0E 00 12 0F 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 99 [00:09:05]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [00:09:05]wFMCommunicate OK [00:09:05]SAM_PROTO_GetShiftState done [00:09:05]FM_GetShiftState done [00:09:05]opened in 1730074770 [00:09:05]opened+sec_in_day 1730161170 [00:09:05]quantity*price = 74 [00:09:05]sum+1 = 75 [00:09:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.74 НСП 1% : 0.01 НДС 12% : 0.08 Наличными: 0.00 Безнал.: 0.74 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 180 29.10.2024 00:09 Смена: 547 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68275 ФПД: 277312353140680 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T000907&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68275&fm=277312353140680&tin=02508201610067®Number=0000000000091759&sum=74 [00:09:06]StoreToDocumentArchive [00:09:06]shift 547 fd 68275 [00:09:06]save to /storage/0547/doc_00068275 [00:09:06]save last doc name /storage/0547/doc_00068275 to /storage/kkm_last_doc_name [00:09:06]save OK [00:09:06]Clear old archive folders... [00:09:06]ProcessDocumentItem done err = 0, tmpTLVsize=251 [00:09:06]tlvbuf is 005CDD80 [00:09:06]SAM_PROTO_ClearQueue [00:09:06]wFMCommunicate request_size=4 [00:09:06]MH_SAM_APDU [00:09:06]CAPDU: 80 09 00 00 [00:09:06]Write to MH i2c: E2 08 00 1F 0F 80 09 00 00 00 00 00 00 A0 [00:09:06]Write i2c OK [00:09:06]MH_I2C_Read... [00:09:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:09:06]Read from MH i2c: E2 [00:09:06]MH_I2C_Read... [00:09:06]Read from MH i2c: E2 03 00 [00:09:06]MH_I2C_Read... [00:09:06]Read from MH i2c: E2 03 00 1F 0F 00 90 00 A2 [00:09:06]RAPDU: 90 00 [00:09:06]wFMCommunicate OK [00:09:06]SAM_PROTO_ClearQueue done [00:09:06]KKMCreateOFDPacket [00:09:06]OFDProtocolAddRootSTLVToBuf [00:09:06]FM_MakeSignedData [00:09:06]FM_MakeSignedData [00:09:06]SAM_PROTO_SignData [00:09:06]wFMCommunicate request_size=4 [00:09:06]MH_SAM_APDU [00:09:06]CAPDU: 80 0D 01 02 [00:09:06]Write to MH i2c: E2 08 00 20 0F 80 0D 01 02 00 00 00 00 A8 [00:09:06]Write i2c OK [00:09:06]MH_I2C_Read... [00:09:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:09:07]Read from MH i2c: E2 [00:09:07]MH_I2C_Read... [00:09:07]Read from MH i2c: E2 03 00 [00:09:07]MH_I2C_Read... [00:09:07]Read from MH i2c: E2 03 00 20 0F 00 90 00 A3 [00:09:07]RAPDU: 90 00 [00:09:07]wFMCommunicate OK [00:09:07]wFMCommunicate request_size=255 [00:09:07]MH_SAM_APDU [00:09:07]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 0A 00 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 4A 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4A 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4A 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 B4 00 00 00 F4 03 04 00 A3 27 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B3 0A 01 00 35 04 06 00 FC [00:09:07]Write to MH i2c: E2 02 01 21 0F 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 0A 00 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 4A 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4A 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4A 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 B4 00 00 00 F4 03 04 00 A3 27 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B3 0A 01 00 35 04 06 00 FC 00 00 AB [00:09:07]Write i2c OK [00:09:07]MH_I2C_Read... [00:09:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:09:07]Read from MH i2c: E2 [00:09:07]MH_I2C_Read... [00:09:07]Read from MH i2c: E2 03 00 [00:09:07]MH_I2C_Read... [00:09:07]Read from MH i2c: E2 03 00 21 0F 00 90 00 A4 [00:09:07]RAPDU: 90 00 [00:09:07]wFMCommunicate OK [00:09:07]wFMCommunicate request_size=10 [00:09:07]MH_SAM_APDU [00:09:07]CAPDU: 80 0D 02 02 05 36 D0 4C FF C8 [00:09:07]Write to MH i2c: E2 0D 00 22 0F 80 0D 02 02 05 00 36 D0 4C FF C8 00 00 CE [00:09:07]Write i2c OK [00:09:07]MH_I2C_Read... [00:09:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:09:07]Read from MH i2c: E2 [00:09:07]MH_I2C_Read... [00:09:07]Read from MH i2c: E2 03 00 [00:09:07]MH_I2C_Read... [00:09:07]Read from MH i2c: E2 03 00 22 0F 00 90 00 A5 [00:09:07]RAPDU: 90 00 [00:09:07]wFMCommunicate OK [00:09:07]wFMCommunicate request_size=4 [00:09:07]MH_SAM_APDU [00:09:07]CAPDU: 80 0D 03 02 [00:09:07]Write to MH i2c: E2 08 00 23 0F 80 0D 03 02 00 00 00 00 AD [00:09:07]Write i2c OK [00:09:07]MH_I2C_Read... [00:09:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:09:07]Read from MH i2c: E2 [00:09:07]MH_I2C_Read... [00:09:07]Read from MH i2c: E2 0B 00 [00:09:07]MH_I2C_Read... [00:09:07]Read from MH i2c: E2 0B 00 23 0F 00 E6 ED CB 78 27 25 37 1E 90 00 65 [00:09:07]RAPDU: E6 ED CB 78 27 25 37 1E 90 00 [00:09:07]wFMCommunicate OK [00:09:07]SAM_PROTO_SignData done [00:09:07]FM_MakeSignedData done [00:09:07]CreateOFDProtocolMessage [00:09:07]wFMCommunicate request_size=4 [00:09:07]MH_SAM_APDU [00:09:07]CAPDU: 80 11 00 00 [00:09:07]Write to MH i2c: E2 08 00 24 0F 80 11 00 00 00 00 00 00 AD [00:09:07]Write i2c OK [00:09:07]MH_I2C_Read... [00:09:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:09:07]Read from MH i2c: E2 [00:09:07]MH_I2C_Read... [00:09:07]Read from MH i2c: E2 17 00 [00:09:07]MH_I2C_Read... [00:09:07]Read from MH i2c: E2 17 00 24 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 04 [00:09:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:09:07]wFMCommunicate OK [00:09:07]CreateOFDProtocolMessage done [00:09:07]OFDSenderStorePacket 68275 [00:09:07]StoreOFDPacket docnum=68275 [00:09:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 34 C9 07 01 DD B2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 0A 00 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 4A 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4A 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4A 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 B4 00 00 00 F4 03 04 00 A3 27 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B3 0A 01 00 35 04 06 00 FC 36 D0 4C FF C8 E6 ED CB 78 27 25 37 1E [00:09:07]CheckFolder [00:09:07]dirname=/storage/ofd_packets [00:09:07]CheckFolder done [00:09:07]ProducePacketName [00:09:07]name=ofd_packets/00068275 [00:09:07]NVStorageSaveData ofd_packets/00068275 [00:09:07]File name is /storage/ofd_packets/00068275 [00:09:07]Write 301 bytes [00:09:07]NVStorageSaveData done [00:09:07]OFDSenderStorePacket done [00:09:07]KKMCreateOFDPacket done [00:09:07]NVStorageSaveData kkm_last_timestamp [00:09:07]File name is /storage/kkm_last_timestamp [00:09:07]Write 4 bytes [00:09:07]NVStorageSaveData done [00:09:07]ExternCall_PrintAddStr [00:09:07]wPrintStart [00:09:07]Write to MH i2c: 01 00 00 25 0F 34 [00:09:07]Write i2c OK [00:09:07]MH_I2C_Read... [00:09:07]Read from MH i2c: 01 [00:09:07]MH_I2C_Read... [00:09:07]Read from MH i2c: 01 07 00 [00:09:07]MH_I2C_Read... [00:09:07]Read from MH i2c: 01 07 00 25 0F 00 00 00 00 00 FF 0F 49 [00:09:07]RasterBufferAndPrint [00:09:07]line Счет N : (1)46295 [00:09:07]line ИНН: 02508201610067 [00:09:07]line Контрольно-Кассовый Чек [00:09:07]line ПРОДАЖА [00:09:07]line ТРК (МРК, ГНК) : 24 [00:09:07]line Товар: 2710124500 [00:09:07]line Аи-95-К-3 [00:09:07]line 0.010 * 74.20 [00:09:07]line = 0.74 [00:09:07]line НДС 12% НСП 1% [00:09:07]line > о реализуемом товаре [00:09:07]line ИТОГО: 0.74 [00:09:07]line НСП 1% : 0.01 [00:09:07]line НДС 12% : 0.08 [00:09:07]line Наличными: 0.00 [00:09:07]line Безнал.: 0.74 [00:09:07]line Место: АЗС № 160 "Партнер Нефть" [00:09:07]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [00:09:07]line СНО: Общий режим [00:09:07]line Чек 180 29.10.2024 00:09 [00:09:07]line Смена: 547 ФФД: 1.0 [00:09:07]line ЗНМ: 0300000093 [00:09:07]line РНМ: 0000000000091759 [00:09:07]line Версия ККМ: 001 [00:09:07]line Платежная система: Mbank [00:09:07]line ФМ: 0000000000871758 [00:09:07]line ФД: 68275 [00:09:07]line ФПД: 277312353140680 [00:09:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T000907&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68275&fm=277312353140680&tin=02508201610067®Number=0000000000091759&sum=74 [00:09:07]written 0, free lines is 4095 [00:09:07]OFD Sender: Processing packet 68275 [packets to send 27, broken 26] [00:09:07]ProducePacketName [00:09:07]name=ofd_packets/00068275 [00:09:07]OFD Sender: To server: pG, [00:09:07]CommunicateWithHost lk.salyk.kg:30040 [00:09:07]ConnectInit lk.salyk.kg [00:09:07]Write to MH i2c: 01 00 00 4D 0F 5C [00:09:07]Write i2c OK [00:09:07]MH_I2C_Read... [00:09:07]Read from MH i2c: 01 [00:09:07]MH_I2C_Read... [00:09:07]Read from MH i2c: 01 07 00 [00:09:07]MH_I2C_Read... [00:09:07]Read from MH i2c: 01 07 00 4D 0F 00 00 00 00 00 D1 0C 40 [00:09:07]RasterBufferAndPrint [00:09:07]line [00:09:07]line [00:09:07]line [00:09:07]line [00:09:07]line [00:09:07]Connected sock=10 [00:09:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 34 C9 07 01 DD B2 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 33 FF 03 08 00 03 0A 00 00 00 00 00 00 37 04 06 00 FC 1C 00 00 00 00 13 04 06 00 4A 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4A 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4A 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 B4 00 00 00 F4 03 04 00 A3 27 20 67 0E 04 04 00 23 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B3 0A 01 00 35 04 06 00 FC 36 D0 4C FF C8 E6 ED CB 78 27 25 37 1E [00:09:07]written 0, free lines is 3300 [00:09:07]MH_Cut [00:09:07]Write to MH i2c: D1 01 00 54 0F 01 35 [00:09:07]Write i2c OK [00:09:07]MH_I2C_Read... [00:09:07]Read from MH i2c: D1 [00:09:07]MH_I2C_Read... [00:09:07]Read from MH i2c: D1 01 00 [00:09:07]MH_I2C_Read... [00:09:07]Read from MH i2c: D1 01 00 54 0F 00 34 [00:09:07]Write to MH i2c: 01 00 00 55 0F 64 [00:09:07]Write i2c OK [00:09:07]MH_I2C_Read... [00:09:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 2F C9 47 00 60 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B3 0A 01 00 F4 03 04 00 82 D3 1F 67 B6 04 01 00 00 F6 73 CF 43 4A 99 29 0C [00:09:08]CommunicateWithHost err = 0 [00:09:08]CheckOFDResponse [00:09:08]1017 (14) - 77093643461234 [00:09:08]1041 (16) - 0000000000871758 [00:09:08]1040 (4) - 68275 [00:09:08]1012 (4) - 28.10.2024 18:10 [00:09:08]1206 (1) - 0 [00:09:08]OFD Sender: Remove packet 68275 [00:09:08]ProducePacketName [00:09:08]name=ofd_packets/00068275 [00:09:08]NVStorageDeleteData [00:09:08]OFD Sender: No OFD packet to send [00:09:08]*** Cut start [00:09:08]*** Partial cut [00:09:08]*** CUTSNS_PIN = 1 [00:09:08]*** CUTSNS_PIN = 0 [00:09:08]*** Brake cut motor [00:09:09]Read from MH i2c: 01 [00:09:09]MH_I2C_Read... [00:09:09]*** Stop cut motor [00:09:09]*** Cut end [00:09:09]Read from MH i2c: 01 07 00 [00:09:09]MH_I2C_Read... [00:09:09]Read from MH i2c: 01 07 00 55 0F 00 00 00 00 00 FF 0F 79 [00:09:09]process_action close_receipt done [00:09:09]requested_data is exist [00:09:09]produce_requested_data [00:09:09]requested_item fm.sn is exist - process it [00:09:09]wFMCommunicate request_size=4 [00:09:09]MH_SAM_APDU [00:09:09]CAPDU: 80 11 00 00 [00:09:09]Write to MH i2c: E2 08 00 56 0F 80 11 00 00 00 00 00 00 DF [00:09:09]Write i2c OK [00:09:09]MH_I2C_Read... [00:09:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:09:09]Read from MH i2c: E2 [00:09:09]MH_I2C_Read... [00:09:09]Read from MH i2c: E2 17 00 [00:09:09]MH_I2C_Read... [00:09:09]Read from MH i2c: E2 17 00 56 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 36 [00:09:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:09:09]wFMCommunicate OK [00:09:09]requested_item fd.num is exist - process it [00:09:09]SAM_PROTO_GetFieldsCounters [00:09:09]wFMCommunicate request_size=4 [00:09:09]MH_SAM_APDU [00:09:09]CAPDU: 80 13 00 00 [00:09:09]Write to MH i2c: E2 08 00 57 0F 80 13 00 00 00 00 00 00 E2 [00:09:09]Write i2c OK [00:09:09]MH_I2C_Read... [00:09:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:09:09]Read from MH i2c: E2 [00:09:09]MH_I2C_Read... [00:09:09]Read from MH i2c: E2 62 00 [00:09:09]MH_I2C_Read... [00:09:09]Read from MH i2c: E2 62 00 57 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B3 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B5 00 00 00 19 04 04 00 00 00 00 00 90 00 0C [00:09:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B3 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B5 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:09:09]wFMCommunicate OK [00:09:09]SAM_PROTO_GetFieldsCounters done [00:09:09]requested_item shift.num is exist - process it [00:09:09]requested_item shift.opened is exist - process it [00:09:09]req_shift_opened [00:09:09]FM_GetShiftState [00:09:09]SAM_PROTO_GetShiftState [00:09:09]wFMCommunicate request_size=4 [00:09:09]MH_SAM_APDU [00:09:09]CAPDU: 80 13 01 00 [00:09:09]Write to MH i2c: E2 08 00 58 0F 80 13 01 00 00 00 00 00 E4 [00:09:09]Write i2c OK [00:09:09]MH_I2C_Read... [00:09:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:09]Read from MH i2c: E2 [00:09:09]MH_I2C_Read... [00:09:09]Read from MH i2c: E2 0E 00 [00:09:09]MH_I2C_Read... [00:09:09]Read from MH i2c: E2 0E 00 58 0F 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 DF [00:09:09]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [00:09:09]wFMCommunicate OK [00:09:09]SAM_PROTO_GetShiftState done [00:09:09]FM_GetShiftState done [00:09:09]req_shift_opened done [00:09:09]requested_item shift.open_date is exist - process it [00:09:09]req_shift_open_date [00:09:09]req_shift_open_date done [00:09:09]produce_requested_data done [00:09:09]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68275,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [00:09:09]process_action_free close_receipt [00:09:09]json_value_free [00:09:09]json_value_free done [00:09:09]process_json_proto returns [00:09:09]Send response to host [00:09:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68275,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [00:09:09]free response buf [00:09:09]execute_script done [00:09:09]execute_script returns [00:09:09]free content buf [00:09:09]Sock 7.Close socket [00:09:09]Sock 7.Thread stoped [00:09:13]OFD Sender: No OFD packet to send [00:09:18]OFD Sender: No OFD packet to send [00:09:23]OFD Sender: No OFD packet to send [00:09:28]OFD Sender: No OFD packet to send [00:09:33]OFD Sender: No OFD packet to send [00:09:37]accept exits with 9 [00:09:37]New connection [00:09:37]New thread 3067497828 created [00:09:37]Thread 3067354468 joined [00:09:37]Waiting for new connection... [00:09:37] Sock 9.Parse request [00:09:37]Sock 9.Check first char [00:09:37]Sock 9.First char is OK [00:09:37]request: POST /json_proto HTTP/1.0 [00:09:37]Method: POST [00:09:37]URL: /json_proto [00:09:37]Method is POST - this is cgi request [00:09:37]url: /json_proto [00:09:37]query_string will be loaded in cgi processing [00:09:37]execute_cgi json_proto POST (null) [00:09:37]execute_cgi path=json_proto method=POST [00:09:37]POST find Content-Length [00:09:37]Host: 172.17.42.3:8080 [00:09:37]Content-Length: 215 [00:09:37]Content-Type: application/json [00:09:37] [00:09:37]POST finish read [00:09:37]Found Content-Length = 215 [00:09:37]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:09:37]execute_script... [00:09:37]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:09:37]POST & json_proto [00:09:37]process_json_proto [00:09:37]json parsed OK: [00:09:37]protocol is kg_v1.0 [00:09:37]action value=get_value [00:09:37]process_action get_value [00:09:37]cmd_get_value [00:09:37]process_action get_value done [00:09:37]requested_data is exist [00:09:37]produce_requested_data [00:09:37]requested_item kkm.sn is exist - process it [00:09:37]requested_item kkm.ver is exist - process it [00:09:37]requested_item fm.sn is exist - process it [00:09:37]wFMCommunicate request_size=4 [00:09:37]MH_SAM_APDU [00:09:37]CAPDU: 80 11 00 00 [00:09:37]Write to MH i2c: E2 08 00 59 0F 80 11 00 00 00 00 00 00 E2 [00:09:37]Write i2c OK [00:09:37]MH_I2C_Read... [00:09:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:09:37]Read from MH i2c: E2 [00:09:37]MH_I2C_Read... [00:09:37]Read from MH i2c: E2 17 00 [00:09:37]MH_I2C_Read... [00:09:37]Read from MH i2c: E2 17 00 59 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 39 [00:09:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:09:37]wFMCommunicate OK [00:09:37]requested_item fd.num is exist - process it [00:09:37]SAM_PROTO_GetFieldsCounters [00:09:37]wFMCommunicate request_size=4 [00:09:37]MH_SAM_APDU [00:09:37]CAPDU: 80 13 00 00 [00:09:37]Write to MH i2c: E2 08 00 5A 0F 80 13 00 00 00 00 00 00 E5 [00:09:37]Write i2c OK [00:09:37]MH_I2C_Read... [00:09:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:09:37]Read from MH i2c: E2 [00:09:37]MH_I2C_Read... [00:09:37]Read from MH i2c: E2 62 00 [00:09:37]MH_I2C_Read... [00:09:37]Read from MH i2c: E2 62 00 5A 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B3 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B5 00 00 00 19 04 04 00 00 00 00 00 90 00 0F [00:09:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B3 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B5 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:09:37]wFMCommunicate OK [00:09:37]SAM_PROTO_GetFieldsCounters done [00:09:37]requested_item shift.num is exist - process it [00:09:37]requested_item shift.opened is exist - process it [00:09:37]req_shift_opened [00:09:37]FM_GetShiftState [00:09:37]SAM_PROTO_GetShiftState [00:09:37]wFMCommunicate request_size=4 [00:09:37]MH_SAM_APDU [00:09:37]CAPDU: 80 13 01 00 [00:09:37]Write to MH i2c: E2 08 00 5B 0F 80 13 01 00 00 00 00 00 E7 [00:09:37]Write i2c OK [00:09:37]MH_I2C_Read... [00:09:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:37]Read from MH i2c: E2 [00:09:37]MH_I2C_Read... [00:09:37]Read from MH i2c: E2 0E 00 [00:09:37]MH_I2C_Read... [00:09:37]Read from MH i2c: E2 0E 00 5B 0F 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 E2 [00:09:37]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [00:09:37]wFMCommunicate OK [00:09:37]SAM_PROTO_GetShiftState done [00:09:37]FM_GetShiftState done [00:09:37]req_shift_opened done [00:09:37]requested_item shift.open_date is exist - process it [00:09:37]req_shift_open_date [00:09:37]req_shift_open_date done [00:09:37]produce_requested_data done [00:09:37]produce_requested_data return {"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68275,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [00:09:37]process_action_free get_value [00:09:37]json_value_free [00:09:37]json_value_free done [00:09:37]process_json_proto returns [00:09:37]Send response to host [00:09:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68275,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [00:09:37]free response buf [00:09:37]execute_script done [00:09:37]execute_script returns [00:09:37]free content buf [00:09:37]Sock 9.Close socket [00:09:37]Sock 9.Thread stoped [00:09:37]accept exits with 7 [00:09:37]New connection [00:09:37]New thread 3067354468 created [00:09:37]Thread 3067497828 joined [00:09:37]Waiting for new connection... [00:09:37] Sock 7.Parse request [00:09:37]Sock 7.Check first char [00:09:37]Sock 7.First char is OK [00:09:37]request: POST /json_proto HTTP/1.0 [00:09:37]Method: POST [00:09:37]URL: /json_proto [00:09:37]Method is POST - this is cgi request [00:09:37]url: /json_proto [00:09:37]query_string will be loaded in cgi processing [00:09:37]execute_cgi json_proto POST (null) [00:09:37]execute_cgi path=json_proto method=POST [00:09:37]POST find Content-Length [00:09:37]Host: 172.17.42.3:8080 [00:09:37]Content-Length: 331 [00:09:37]Content-Type: application/json [00:09:37] [00:09:37]POST finish read [00:09:37]Found Content-Length = 331 [00:09:37]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:09:37]execute_script... [00:09:38]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:09:38]POST & json_proto [00:09:38]process_json_proto [00:09:38]json parsed OK: [00:09:38]protocol is kg_v1.0 [00:09:38]action value=get_value [00:09:38]process_action get_value [00:09:38]cmd_get_value [00:09:38]process_action get_value done [00:09:38]requested_data is exist [00:09:38]produce_requested_data [00:09:38]requested_item fm.sale.total is exist - process it [00:09:38]SAM_PROTO_GetFMData [00:09:38]wFMCommunicate request_size=4 [00:09:38]MH_SAM_APDU [00:09:38]CAPDU: 80 13 03 00 [00:09:38]Write to MH i2c: E2 08 00 5C 0F 80 13 03 00 00 00 00 00 EA [00:09:38]Write i2c OK [00:09:38]MH_I2C_Read... [00:09:38]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:09:38]Read from MH i2c: E2 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 FD 00 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 FD 00 5C 0F 00 C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 AB [00:09:38]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 [00:09:38]wFMCommunicate OK [00:09:38]wFMCommunicate request_size=4 [00:09:38]MH_SAM_APDU [00:09:38]CAPDU: 80 17 00 00 [00:09:38]Write to MH i2c: E2 08 00 5D 0F 80 17 00 00 00 00 00 00 EC [00:09:38]Write i2c OK [00:09:38]MH_I2C_Read... [00:09:38]OFD Sender: No OFD packet to send [00:09:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:38]Read from MH i2c: E2 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 FD 00 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 FD 00 5D 0F 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FE [00:09:38]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:38]wFMCommunicate OK [00:09:38]wFMCommunicate request_size=4 [00:09:38]MH_SAM_APDU [00:09:38]CAPDU: 80 17 00 00 [00:09:38]Write to MH i2c: E2 08 00 5E 0F 80 17 00 00 00 00 00 00 ED [00:09:38]Write i2c OK [00:09:38]MH_I2C_Read... [00:09:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:38]Read from MH i2c: E2 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 FD 00 [00:09:38]MH_I2C_Read... [00:09:38]Read from MH i2c: E2 FD 00 5E 0F 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C5 [00:09:39]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:39]wFMCommunicate OK [00:09:39]wFMCommunicate request_size=4 [00:09:39]MH_SAM_APDU [00:09:39]CAPDU: 80 17 00 00 [00:09:39]Write to MH i2c: E2 08 00 5F 0F 80 17 00 00 00 00 00 00 EE [00:09:39]Write i2c OK [00:09:39]MH_I2C_Read... [00:09:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:39]Read from MH i2c: E2 [00:09:39]MH_I2C_Read... [00:09:39]Read from MH i2c: E2 FD 00 [00:09:39]MH_I2C_Read... [00:09:39]Read from MH i2c: E2 FD 00 5F 0F 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 69 [00:09:39]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:39]wFMCommunicate OK [00:09:39]wFMCommunicate request_size=4 [00:09:39]MH_SAM_APDU [00:09:39]CAPDU: 80 17 00 00 [00:09:39]Write to MH i2c: E2 08 00 60 0F 80 17 00 00 00 00 00 00 EF [00:09:39]Write i2c OK [00:09:39]MH_I2C_Read... [00:09:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [00:09:39]Read from MH i2c: E2 [00:09:39]MH_I2C_Read... [00:09:39]Read from MH i2c: E2 E4 00 [00:09:39]MH_I2C_Read... [00:09:39]Read from MH i2c: E2 E4 00 60 0F 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 CF [00:09:39]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:09:39]wFMCommunicate OK [00:09:39]SAM_PROTO_GetFMData done [00:09:39]requested_item fm.sale_refund.total is exist - process it [00:09:39]requested_item fm.buy.total is exist - process it [00:09:39]requested_item shift.sale.total is exist - process it [00:09:39]SAM_PROTO_GetShiftData [00:09:39]wFMCommunicate request_size=4 [00:09:39]MH_SAM_APDU [00:09:39]CAPDU: 80 13 02 00 [00:09:39]Write to MH i2c: E2 08 00 61 0F 80 13 02 00 00 00 00 00 EE [00:09:39]Write i2c OK [00:09:39]MH_I2C_Read... [00:09:39]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:09:39]Read from MH i2c: E2 [00:09:39]MH_I2C_Read... [00:09:39]Read from MH i2c: E2 FD 00 [00:09:39]MH_I2C_Read... [00:09:39]Read from MH i2c: E2 FD 00 61 0F 00 B0 04 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 04 [00:09:39]RAPDU: B0 04 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:40]wFMCommunicate OK [00:09:40]wFMCommunicate request_size=4 [00:09:40]MH_SAM_APDU [00:09:40]CAPDU: 80 17 00 00 [00:09:40]Write to MH i2c: E2 08 00 62 0F 80 17 00 00 00 00 00 00 F1 [00:09:40]Write i2c OK [00:09:40]MH_I2C_Read... [00:09:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:40]Read from MH i2c: E2 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: E2 FD 00 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: E2 FD 00 62 0F 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0B [00:09:40]RAPDU: 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:40]wFMCommunicate OK [00:09:40]wFMCommunicate request_size=4 [00:09:40]MH_SAM_APDU [00:09:40]CAPDU: 80 17 00 00 [00:09:40]Write to MH i2c: E2 08 00 63 0F 80 17 00 00 00 00 00 00 F2 [00:09:40]Write i2c OK [00:09:40]MH_I2C_Read... [00:09:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:40]Read from MH i2c: E2 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: E2 FD 00 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: E2 FD 00 63 0F 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AF [00:09:40]RAPDU: 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:40]wFMCommunicate OK [00:09:40]wFMCommunicate request_size=4 [00:09:40]MH_SAM_APDU [00:09:40]CAPDU: 80 17 00 00 [00:09:40]Write to MH i2c: E2 08 00 64 0F 80 17 00 00 00 00 00 00 F3 [00:09:40]Write i2c OK [00:09:40]MH_I2C_Read... [00:09:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:40]Read from MH i2c: E2 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: E2 FD 00 [00:09:40]MH_I2C_Read... [00:09:40]Read from MH i2c: E2 FD 00 64 0F 00 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 90 00 66 [00:09:40]RAPDU: 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 90 00 [00:09:40]wFMCommunicate OK [00:09:40]wFMCommunicate request_size=4 [00:09:40]MH_SAM_APDU [00:09:40]CAPDU: 80 17 00 00 [00:09:40]Write to MH i2c: E2 08 00 65 0F 80 17 00 00 00 00 00 00 F4 [00:09:40]Write i2c OK [00:09:40]MH_I2C_Read... [00:09:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 202! [00:09:41]Read from MH i2c: E2 [00:09:41]MH_I2C_Read... [00:09:41]Read from MH i2c: E2 CD 00 [00:09:41]MH_I2C_Read... [00:09:41]Read from MH i2c: E2 CD 00 65 0F 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D8 [00:09:41]RAPDU: 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:09:41]wFMCommunicate OK [00:09:41]SAM_PROTO_GetShiftData done [00:09:41]requested_item shift.sale.total_cash is exist - process it [00:09:41]requested_item shift.sale_refund.total is exist - process it [00:09:41]requested_item shift.sale_refund.total_cash is exist - process it [00:09:41]requested_item shift.buy.total is exist - process it [00:09:41]requested_item shift.buy.total_cash is exist - process it [00:09:41]produce_requested_data done [00:09:41]produce_requested_data return {"fm.sale.total":102260763.66,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":189040.68,"shift.sale.total_cash":121306.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:09:41]process_action_free get_value [00:09:41]json_value_free [00:09:41]json_value_free done [00:09:41]process_json_proto returns [00:09:41]Send response to host [00:09:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":102260763.66,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":189040.68,"shift.sale.total_cash":121306.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:09:41]free response buf [00:09:41]execute_script done [00:09:41]execute_script returns [00:09:41]free content buf [00:09:41]Sock 7.Close socket [00:09:41]Sock 7.Thread stoped [00:09:41]accept exits with 9 [00:09:41]New connection [00:09:41]New thread 3067497828 created [00:09:41]Thread 3067354468 joined [00:09:41]Waiting for new connection... [00:09:41] Sock 9.Parse request [00:09:41]Sock 9.Check first char [00:09:41]Sock 9.First char is OK [00:09:41]request: POST /json_proto HTTP/1.0 [00:09:41]Method: POST [00:09:41]URL: /json_proto [00:09:41]Method is POST - this is cgi request [00:09:41]url: /json_proto [00:09:41]query_string will be loaded in cgi processing [00:09:41]execute_cgi json_proto POST (null) [00:09:41]execute_cgi path=json_proto method=POST [00:09:41]POST find Content-Length [00:09:41]Host: 172.17.42.3:8080 [00:09:41]Content-Length: 331 [00:09:41]Content-Type: application/json [00:09:41] [00:09:41]POST finish read [00:09:41]Found Content-Length = 331 [00:09:41]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:09:41]execute_script... [00:09:41]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:09:41]POST & json_proto [00:09:41]process_json_proto [00:09:41]json parsed OK: [00:09:41]protocol is kg_v1.0 [00:09:41]action value=get_value [00:09:41]process_action get_value [00:09:41]cmd_get_value [00:09:41]process_action get_value done [00:09:41]requested_data is exist [00:09:41]produce_requested_data [00:09:41]requested_item fm.sale.total is exist - process it [00:09:41]SAM_PROTO_GetFMData [00:09:41]wFMCommunicate request_size=4 [00:09:41]MH_SAM_APDU [00:09:41]CAPDU: 80 13 03 00 [00:09:41]Write to MH i2c: E2 08 00 66 0F 80 13 03 00 00 00 00 00 F4 [00:09:41]Write i2c OK [00:09:41]MH_I2C_Read... [00:09:41]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:09:41]Read from MH i2c: E2 [00:09:41]MH_I2C_Read... [00:09:41]Read from MH i2c: E2 FD 00 [00:09:41]MH_I2C_Read... [00:09:41]Read from MH i2c: E2 FD 00 66 0F 00 C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 B5 [00:09:41]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 [00:09:41]wFMCommunicate OK [00:09:41]wFMCommunicate request_size=4 [00:09:41]MH_SAM_APDU [00:09:41]CAPDU: 80 17 00 00 [00:09:41]Write to MH i2c: E2 08 00 67 0F 80 17 00 00 00 00 00 00 F6 [00:09:41]Write i2c OK [00:09:41]MH_I2C_Read... [00:09:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:42]Read from MH i2c: E2 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 FD 00 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 FD 00 67 0F 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 08 [00:09:42]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:42]wFMCommunicate OK [00:09:42]wFMCommunicate request_size=4 [00:09:42]MH_SAM_APDU [00:09:42]CAPDU: 80 17 00 00 [00:09:42]Write to MH i2c: E2 08 00 68 0F 80 17 00 00 00 00 00 00 F7 [00:09:42]Write i2c OK [00:09:42]MH_I2C_Read... [00:09:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:42]Read from MH i2c: E2 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 FD 00 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 FD 00 68 0F 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CF [00:09:42]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:42]wFMCommunicate OK [00:09:42]wFMCommunicate request_size=4 [00:09:42]MH_SAM_APDU [00:09:42]CAPDU: 80 17 00 00 [00:09:42]Write to MH i2c: E2 08 00 69 0F 80 17 00 00 00 00 00 00 F8 [00:09:42]Write i2c OK [00:09:42]MH_I2C_Read... [00:09:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:42]Read from MH i2c: E2 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 FD 00 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 FD 00 69 0F 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 73 [00:09:42]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:43]wFMCommunicate OK [00:09:43]wFMCommunicate request_size=4 [00:09:43]MH_SAM_APDU [00:09:43]CAPDU: 80 17 00 00 [00:09:43]Write to MH i2c: E2 08 00 6A 0F 80 17 00 00 00 00 00 00 F9 [00:09:43]Write i2c OK [00:09:43]MH_I2C_Read... [00:09:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [00:09:43]Read from MH i2c: E2 [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: E2 E4 00 [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: E2 E4 00 6A 0F 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D9 [00:09:43]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:09:43]wFMCommunicate OK [00:09:43]SAM_PROTO_GetFMData done [00:09:43]requested_item fm.sale_refund.total is exist - process it [00:09:43]requested_item fm.buy.total is exist - process it [00:09:43]requested_item shift.sale.total is exist - process it [00:09:43]SAM_PROTO_GetShiftData [00:09:43]wFMCommunicate request_size=4 [00:09:43]MH_SAM_APDU [00:09:43]CAPDU: 80 13 02 00 [00:09:43]Write to MH i2c: E2 08 00 6B 0F 80 13 02 00 00 00 00 00 F8 [00:09:43]Write i2c OK [00:09:43]MH_I2C_Read... [00:09:43]OFD Sender: No OFD packet to send [00:09:43]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:09:43]Read from MH i2c: E2 [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: E2 FD 00 [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: E2 FD 00 6B 0F 00 B0 04 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0E [00:09:43]RAPDU: B0 04 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:43]wFMCommunicate OK [00:09:43]wFMCommunicate request_size=4 [00:09:43]MH_SAM_APDU [00:09:43]CAPDU: 80 17 00 00 [00:09:43]Write to MH i2c: E2 08 00 6C 0F 80 17 00 00 00 00 00 00 FB [00:09:43]Write i2c OK [00:09:43]MH_I2C_Read... [00:09:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:44]Read from MH i2c: E2 [00:09:44]MH_I2C_Read... [00:09:44]Read from MH i2c: E2 FD 00 [00:09:44]MH_I2C_Read... [00:09:44]Read from MH i2c: E2 FD 00 6C 0F 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 15 [00:09:44]RAPDU: 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:44]wFMCommunicate OK [00:09:44]wFMCommunicate request_size=4 [00:09:44]MH_SAM_APDU [00:09:44]CAPDU: 80 17 00 00 [00:09:44]Write to MH i2c: E2 08 00 6D 0F 80 17 00 00 00 00 00 00 FC [00:09:44]Write i2c OK [00:09:44]MH_I2C_Read... [00:09:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:44]Read from MH i2c: E2 [00:09:44]MH_I2C_Read... [00:09:44]Read from MH i2c: E2 FD 00 [00:09:44]MH_I2C_Read... [00:09:44]Read from MH i2c: E2 FD 00 6D 0F 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B9 [00:09:44]RAPDU: 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:44]wFMCommunicate OK [00:09:44]wFMCommunicate request_size=4 [00:09:44]MH_SAM_APDU [00:09:44]CAPDU: 80 17 00 00 [00:09:44]Write to MH i2c: E2 08 00 6E 0F 80 17 00 00 00 00 00 00 FD [00:09:44]Write i2c OK [00:09:44]MH_I2C_Read... [00:09:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:45]Read from MH i2c: E2 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 FD 00 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 FD 00 6E 0F 00 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 90 00 70 [00:09:45]RAPDU: 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 90 00 [00:09:45]wFMCommunicate OK [00:09:45]wFMCommunicate request_size=4 [00:09:45]MH_SAM_APDU [00:09:45]CAPDU: 80 17 00 00 [00:09:45]Write to MH i2c: E2 08 00 6F 0F 80 17 00 00 00 00 00 00 FE [00:09:45]Write i2c OK [00:09:45]MH_I2C_Read... [00:09:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 202! [00:09:45]Read from MH i2c: E2 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 CD 00 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 CD 00 6F 0F 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E2 [00:09:45]RAPDU: 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:09:45]wFMCommunicate OK [00:09:45]SAM_PROTO_GetShiftData done [00:09:45]requested_item shift.sale.total_cash is exist - process it [00:09:45]requested_item shift.sale_refund.total is exist - process it [00:09:45]requested_item shift.sale_refund.total_cash is exist - process it [00:09:45]requested_item shift.buy.total is exist - process it [00:09:45]requested_item shift.buy.total_cash is exist - process it [00:09:45]produce_requested_data done [00:09:45]produce_requested_data return {"fm.sale.total":102260763.66,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":189040.68,"shift.sale.total_cash":121306.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:09:45]process_action_free get_value [00:09:45]json_value_free [00:09:45]json_value_free done [00:09:45]process_json_proto returns [00:09:45]Send response to host [00:09:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":102260763.66,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":189040.68,"shift.sale.total_cash":121306.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:09:45]free response buf [00:09:45]execute_script done [00:09:45]execute_script returns [00:09:45]free content buf [00:09:45]Sock 9.Close socket [00:09:45]Sock 9.Thread stoped [00:09:45]accept exits with 10 [00:09:45]New connection [00:09:45]New thread 3067354468 created [00:09:45]Thread 3067497828 joined [00:09:45]Waiting for new connection... [00:09:45] Sock 10.Parse request [00:09:45]Sock 10.Check first char [00:09:45]Sock 10.First char is OK [00:09:45]request: POST /json_proto HTTP/1.0 [00:09:45]Method: POST [00:09:45]URL: /json_proto [00:09:45]Method is POST - this is cgi request [00:09:45]url: /json_proto [00:09:45]query_string will be loaded in cgi processing [00:09:45]execute_cgi json_proto POST (null) [00:09:45]execute_cgi path=json_proto method=POST [00:09:45]POST find Content-Length [00:09:45]Host: 172.17.42.3:8080 [00:09:45]Content-Length: 275 [00:09:45]Content-Type: application/json [00:09:45] [00:09:45]POST finish read [00:09:45]Found Content-Length = 275 [00:09:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0435\u0434\u0435\u0442\u043A\u0443\u043B\u043E\u0432\u0430 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:09:45]execute_script... [00:09:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0435\u0434\u0435\u0442\u043A\u0443\u043B\u043E\u0432\u0430 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:09:45]POST & json_proto [00:09:45]process_json_proto [00:09:45]json parsed OK: [00:09:45]protocol is kg_v1.0 [00:09:45]action value=x_report [00:09:45]process_action x_report [00:09:45]cmd_x_report [00:09:45]MH_GetDate [00:09:45]Write to MH i2c: F0 00 00 70 0F 6E [00:09:45]Write i2c OK [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: F0 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: F0 09 00 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: F0 09 00 70 0F 00 CB 27 20 67 0E CB 1F 67 4F [00:09:45]GetLastDocTimeStamp 1730160547 [00:09:45]current date 1730160587 [00:09:45]FM_GetShiftState [00:09:45]SAM_PROTO_GetShiftState [00:09:45]wFMCommunicate request_size=4 [00:09:45]MH_SAM_APDU [00:09:45]CAPDU: 80 13 01 00 [00:09:45]Write to MH i2c: E2 08 00 71 0F 80 13 01 00 00 00 00 00 FD [00:09:45]Write i2c OK [00:09:45]MH_I2C_Read... [00:09:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:45]Read from MH i2c: E2 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 0E 00 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 0E 00 71 0F 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 F8 [00:09:45]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [00:09:45]wFMCommunicate OK [00:09:45]SAM_PROTO_GetShiftState done [00:09:45]FM_GetShiftState done [00:09:45]KKMCreateXReportDocument [00:09:45]Load OK [00:09:45]Malloc new data [00:09:45]MH_GetDate [00:09:45]Write to MH i2c: F0 00 00 72 0F 70 [00:09:45]Write i2c OK [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: F0 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: F0 09 00 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: F0 09 00 72 0F 00 CB 27 20 67 0E CB 1F 67 51 [00:09:45]Malloc new data [00:09:45]Malloc new data [00:09:45]wFMCommunicate request_size=4 [00:09:45]MH_SAM_APDU [00:09:45]CAPDU: 80 11 00 00 [00:09:45]Write to MH i2c: E2 08 00 73 0F 80 11 00 00 00 00 00 00 FC [00:09:45]Write i2c OK [00:09:45]MH_I2C_Read... [00:09:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:09:45]Read from MH i2c: E2 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 17 00 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 17 00 73 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 53 [00:09:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:09:45]wFMCommunicate OK [00:09:45]SAM_PROTO_GetFieldsCounters [00:09:45]wFMCommunicate request_size=4 [00:09:45]MH_SAM_APDU [00:09:45]CAPDU: 80 13 00 00 [00:09:45]Write to MH i2c: E2 08 00 74 0F 80 13 00 00 00 00 00 00 FF [00:09:45]Write i2c OK [00:09:45]MH_I2C_Read... [00:09:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:09:45]Read from MH i2c: E2 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 62 00 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 62 00 74 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B3 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B5 00 00 00 19 04 04 00 00 00 00 00 90 00 29 [00:09:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B3 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B5 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:09:46]wFMCommunicate OK [00:09:46]SAM_PROTO_GetFieldsCounters done [00:09:46]Malloc new data [00:09:46]Malloc new data [00:09:46]Malloc new data [00:09:46]KKMCreateXReportDocument OK [00:09:46]KKMSetXReportData OK [00:09:46]KKMPrepareXReportFMData [00:09:46]SAM_PROTO_GetShiftData [00:09:46]wFMCommunicate request_size=4 [00:09:46]MH_SAM_APDU [00:09:46]CAPDU: 80 13 02 00 [00:09:46]Write to MH i2c: E2 08 00 75 0F 80 13 02 00 00 00 00 00 02 [00:09:46]Write i2c OK [00:09:46]MH_I2C_Read... [00:09:46]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:09:46]Read from MH i2c: E2 [00:09:46]MH_I2C_Read... [00:09:46]Read from MH i2c: E2 FD 00 [00:09:46]MH_I2C_Read... [00:09:46]Read from MH i2c: E2 FD 00 75 0F 00 B0 04 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 18 [00:09:46]RAPDU: B0 04 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:46]wFMCommunicate OK [00:09:46]wFMCommunicate request_size=4 [00:09:46]MH_SAM_APDU [00:09:46]CAPDU: 80 17 00 00 [00:09:46]Write to MH i2c: E2 08 00 76 0F 80 17 00 00 00 00 00 00 05 [00:09:46]Write i2c OK [00:09:46]MH_I2C_Read... [00:09:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:47]Read from MH i2c: E2 [00:09:47]MH_I2C_Read... [00:09:47]Read from MH i2c: E2 FD 00 [00:09:47]MH_I2C_Read... [00:09:47]Read from MH i2c: E2 FD 00 76 0F 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1F [00:09:47]RAPDU: 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:47]wFMCommunicate OK [00:09:47]wFMCommunicate request_size=4 [00:09:47]MH_SAM_APDU [00:09:47]CAPDU: 80 17 00 00 [00:09:47]Write to MH i2c: E2 08 00 77 0F 80 17 00 00 00 00 00 00 06 [00:09:47]Write i2c OK [00:09:47]MH_I2C_Read... [00:09:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:47]Read from MH i2c: E2 [00:09:47]MH_I2C_Read... [00:09:47]Read from MH i2c: E2 FD 00 [00:09:47]MH_I2C_Read... [00:09:47]Read from MH i2c: E2 FD 00 77 0F 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C3 [00:09:47]RAPDU: 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:47]wFMCommunicate OK [00:09:47]wFMCommunicate request_size=4 [00:09:47]MH_SAM_APDU [00:09:47]CAPDU: 80 17 00 00 [00:09:47]Write to MH i2c: E2 08 00 78 0F 80 17 00 00 00 00 00 00 07 [00:09:47]Write i2c OK [00:09:47]MH_I2C_Read... [00:09:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:47]Read from MH i2c: E2 [00:09:47]MH_I2C_Read... [00:09:47]Read from MH i2c: E2 FD 00 [00:09:47]MH_I2C_Read... [00:09:47]Read from MH i2c: E2 FD 00 78 0F 00 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 90 00 7A [00:09:47]RAPDU: 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 90 00 [00:09:48]wFMCommunicate OK [00:09:48]wFMCommunicate request_size=4 [00:09:48]MH_SAM_APDU [00:09:48]CAPDU: 80 17 00 00 [00:09:48]Write to MH i2c: E2 08 00 79 0F 80 17 00 00 00 00 00 00 08 [00:09:48]Write i2c OK [00:09:48]MH_I2C_Read... [00:09:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 202! [00:09:48]Read from MH i2c: E2 [00:09:48]MH_I2C_Read... [00:09:48]Read from MH i2c: E2 CD 00 [00:09:48]MH_I2C_Read... [00:09:48]Read from MH i2c: E2 CD 00 79 0F 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EC [00:09:48]RAPDU: 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:09:48]wFMCommunicate OK [00:09:48]SAM_PROTO_GetShiftData done [00:09:48]1194 (1196) - счетчики итогов смены [00:09:48] 1134 (4) - 180 - количество чеков со всеми признаками расчетов [00:09:48] 1129 (157) - счетчики операций «приход» [00:09:48] 1135 (4) - 180 - количество чеков по признаку расчетов [00:09:48] 1201 (4) - 189040.68 - общая итоговая сумма в чеках [00:09:48] 1136 (3) - 121306.00 - итоговая сумма в чеках наличными [00:09:48] 1138 (3) - 67734.68 - итоговая сумма в чеках безналичными [00:09:48] 1024 (123) - суммы налогов [00:09:48] 1006 (9) - суммы НДС [00:09:48] 1010 (1) - 0% - код ставки НДС [00:09:48] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:48] 1006 (12) - суммы НДС [00:09:48] 1010 (1) - 12% - код ставки НДС [00:09:48] 1011 (3) - 20077.69 - сумма НДС по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 0% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (12) - суммы НСП [00:09:48] 1014 (1) - 1% - код ставки НСП [00:09:48] 1015 (3) - 1672.99 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 2% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 3% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 5% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 0,50% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 1,50% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1130 (141) - счетчики операций «возврат прихода» [00:09:48] 1135 (4) - 0 - количество чеков по признаку расчетов [00:09:48] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:09:48] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:09:48] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:09:48] 1024 (117) - суммы налогов [00:09:48] 1006 (9) - суммы НДС [00:09:48] 1010 (1) - 0% - код ставки НДС [00:09:48] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:48] 1006 (9) - суммы НДС [00:09:48] 1010 (1) - 12% - код ставки НДС [00:09:48] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 0% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 1% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 2% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 3% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 5% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 0,50% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 1,50% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1131 (141) - счетчики операций «расход» [00:09:48] 1135 (4) - 0 - количество чеков по признаку расчетов [00:09:48] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:09:48] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:09:48] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:09:48] 1024 (117) - суммы налогов [00:09:48] 1006 (9) - суммы НДС [00:09:48] 1010 (1) - 0% - код ставки НДС [00:09:48] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:48] 1006 (9) - суммы НДС [00:09:48] 1010 (1) - 12% - код ставки НДС [00:09:48] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 0% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 1% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 2% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 3% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 5% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 0,50% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 1,50% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1132 (141) - счетчики операций «возврат расхода» [00:09:48] 1135 (4) - 0 - количество чеков по признаку расчетов [00:09:48] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:09:48] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:09:48] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:09:48] 1024 (117) - суммы налогов [00:09:48] 1006 (9) - суммы НДС [00:09:48] 1010 (1) - 0% - код ставки НДС [00:09:48] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:48] 1006 (9) - суммы НДС [00:09:48] 1010 (1) - 12% - код ставки НДС [00:09:48] 1011 (0) - 0.00 - сумма НДС по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 0% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 1% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 2% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 3% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 5% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 0,50% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1007 (9) - суммы НСП [00:09:48] 1014 (1) - 1,50% - код ставки НСП [00:09:48] 1015 (0) - 0.00 - сумма НСП по ставке [00:09:48] 1133 (588) - - счетчики коррекции - не используются [00:09:48]SetTLVBufToDocument [00:09:48]Processing tag 1194 (04AA) [00:09:48]Load OK [00:09:48]SetTLVBufToDocument [00:09:48]Processing tag 1134 (046E) [00:09:48]Malloc new data [00:09:48]Processing tag 1129 (0469) [00:09:48]Load OK [00:09:48]SetTLVBufToDocument [00:09:48]Processing tag 1135 (046F) [00:09:48]Malloc new data [00:09:49]Processing tag 1201 (04B1) [00:09:49]Malloc new data [00:09:49]Processing tag 1136 (0470) [00:09:49]Malloc new data [00:09:49]Processing tag 1138 (0472) [00:09:49]Malloc new data [00:09:49]Processing tag 1024 (0400) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1006 (03EE) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1010 (03F2) [00:09:49]Malloc new data [00:09:49]Processing tag 1011 (03F3) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1006 (03EE) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1010 (03F2) [00:09:49]Malloc new data [00:09:49]Processing tag 1011 (03F3) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]SetTLVBufToDocument err=0 [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1130 (046A) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1135 (046F) [00:09:49]Malloc new data [00:09:49]Processing tag 1201 (04B1) [00:09:49]Malloc new data [00:09:49]Processing tag 1136 (0470) [00:09:49]Malloc new data [00:09:49]Processing tag 1138 (0472) [00:09:49]Malloc new data [00:09:49]Processing tag 1024 (0400) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1006 (03EE) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1010 (03F2) [00:09:49]Malloc new data [00:09:49]Processing tag 1011 (03F3) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1006 (03EE) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1010 (03F2) [00:09:49]Malloc new data [00:09:49]Processing tag 1011 (03F3) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]OFD Sender: No OFD packet to send [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]SetTLVBufToDocument err=0 [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1131 (046B) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1135 (046F) [00:09:49]Malloc new data [00:09:49]Processing tag 1201 (04B1) [00:09:49]Malloc new data [00:09:49]Processing tag 1136 (0470) [00:09:49]Malloc new data [00:09:49]Processing tag 1138 (0472) [00:09:49]Malloc new data [00:09:49]Processing tag 1024 (0400) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1006 (03EE) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1010 (03F2) [00:09:49]Malloc new data [00:09:49]Processing tag 1011 (03F3) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1006 (03EE) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1010 (03F2) [00:09:49]Malloc new data [00:09:49]Processing tag 1011 (03F3) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]SetTLVBufToDocument err=0 [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1132 (046C) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1135 (046F) [00:09:49]Malloc new data [00:09:49]Processing tag 1201 (04B1) [00:09:49]Malloc new data [00:09:49]Processing tag 1136 (0470) [00:09:49]Malloc new data [00:09:49]Processing tag 1138 (0472) [00:09:49]Malloc new data [00:09:49]Processing tag 1024 (0400) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1006 (03EE) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1010 (03F2) [00:09:49]Malloc new data [00:09:49]Processing tag 1011 (03F3) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1006 (03EE) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1010 (03F2) [00:09:49]Malloc new data [00:09:49]Processing tag 1011 (03F3) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1007 (03EF) [00:09:49]Load OK [00:09:49]SetTLVBufToDocument [00:09:49]Processing tag 1014 (03F6) [00:09:49]Malloc new data [00:09:49]Processing tag 1015 (03F7) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]SetTLVBufToDocument err=0 [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Processing tag 1133 (046D) [00:09:49]Malloc new data [00:09:49]SetTLVBufToDocument err=0 [00:09:49]SetTLVBufToDocument err=0 [00:09:49]Malloc new data [00:09:49]SAM_PROTO_GetFMData [00:09:49]wFMCommunicate request_size=4 [00:09:49]MH_SAM_APDU [00:09:49]CAPDU: 80 13 03 00 [00:09:49]Write to MH i2c: E2 08 00 7A 0F 80 13 03 00 00 00 00 00 08 [00:09:49]Write i2c OK [00:09:49]MH_I2C_Read... [00:09:50]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:09:50]Read from MH i2c: E2 [00:09:50]MH_I2C_Read... [00:09:50]Read from MH i2c: E2 FD 00 [00:09:50]MH_I2C_Read... [00:09:50]Read from MH i2c: E2 FD 00 7A 0F 00 C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 C9 [00:09:50]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 [00:09:50]wFMCommunicate OK [00:09:50]wFMCommunicate request_size=4 [00:09:50]MH_SAM_APDU [00:09:50]CAPDU: 80 17 00 00 [00:09:50]Write to MH i2c: E2 08 00 7B 0F 80 17 00 00 00 00 00 00 0A [00:09:50]Write i2c OK [00:09:50]MH_I2C_Read... [00:09:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:50]Read from MH i2c: E2 [00:09:50]MH_I2C_Read... [00:09:50]Read from MH i2c: E2 FD 00 [00:09:50]MH_I2C_Read... [00:09:50]Read from MH i2c: E2 FD 00 7B 0F 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1C [00:09:50]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:50]wFMCommunicate OK [00:09:50]wFMCommunicate request_size=4 [00:09:50]MH_SAM_APDU [00:09:50]CAPDU: 80 17 00 00 [00:09:50]Write to MH i2c: E2 08 00 7C 0F 80 17 00 00 00 00 00 00 0B [00:09:50]Write i2c OK [00:09:50]MH_I2C_Read... [00:09:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:51]Read from MH i2c: E2 [00:09:51]MH_I2C_Read... [00:09:51]Read from MH i2c: E2 FD 00 [00:09:51]MH_I2C_Read... [00:09:51]Read from MH i2c: E2 FD 00 7C 0F 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E3 [00:09:51]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:51]wFMCommunicate OK [00:09:51]wFMCommunicate request_size=4 [00:09:51]MH_SAM_APDU [00:09:51]CAPDU: 80 17 00 00 [00:09:51]Write to MH i2c: E2 08 00 7D 0F 80 17 00 00 00 00 00 00 0C [00:09:51]Write i2c OK [00:09:51]MH_I2C_Read... [00:09:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:09:51]Read from MH i2c: E2 [00:09:51]MH_I2C_Read... [00:09:51]Read from MH i2c: E2 FD 00 [00:09:51]MH_I2C_Read... [00:09:51]Read from MH i2c: E2 FD 00 7D 0F 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 87 [00:09:51]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:09:52]wFMCommunicate OK [00:09:52]wFMCommunicate request_size=4 [00:09:52]MH_SAM_APDU [00:09:52]CAPDU: 80 17 00 00 [00:09:52]Write to MH i2c: E2 08 00 7E 0F 80 17 00 00 00 00 00 00 0D [00:09:52]Write i2c OK [00:09:52]MH_I2C_Read... [00:09:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [00:09:52]Read from MH i2c: E2 [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: E2 E4 00 [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: E2 E4 00 7E 0F 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 ED [00:09:52]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:09:52]wFMCommunicate OK [00:09:52]SAM_PROTO_GetFMData done [00:09:52]FM_GetFMData:85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:09:53]oper:6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 [00:09:53]total:CE 8A 85 61 02 [00:09:53]Malloc new data [00:09:53]oper:6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:09:53]total:A8 87 FD 04 [00:09:53]Malloc new data [00:09:53]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:09:53]total: [00:09:53]Malloc new data [00:09:53]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:09:53]total: [00:09:53]Malloc new data [00:09:53]KKMPrepareXReportFMData err=0 [00:09:53]Х отчет ИНН: 02508201610067 Кассир: Медеткулова А. 29.10.2024 00:09 Смена: 522 РНМ: 0000000000091759 ЗНМ: 0300000093 СНО: Общий режим Всего чеков: 180 ИТОГИ ПРИХОД Чеков: 180 Общий итог: 189040.68 Итого наличными: 121306.00 Итого безнал.: 67734.68 НДС 0% : 0.00 НДС 12% : 20077.69 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 1672.99 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 121306.00 НС Приход: 102260763.66 НС Возвр.Прихода: 837242.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000871758 [00:09:53]StoreToDocumentArchive [00:09:53]MH_GetDate [00:09:53]Write to MH i2c: F0 00 00 7F 0F 7D [00:09:53]Write i2c OK [00:09:53]MH_I2C_Read... [00:09:53]Read from MH i2c: F0 [00:09:53]MH_I2C_Read... [00:09:53]Read from MH i2c: F0 09 00 [00:09:53]MH_I2C_Read... [00:09:53]Read from MH i2c: F0 09 00 7F 0F 00 D2 27 20 67 0E CB 1F 67 65 [00:09:53]shift 522 fd 1730160594 [00:09:53]Create dir for shift 0522 [00:09:53]save to /storage/0522/doc_1730160594 [00:09:53]save last doc name /storage/0522/doc_1730160594 to /storage/kkm_last_doc_name [00:09:53]save OK [00:09:53]Clear old archive folders... [00:09:53]NVStorageSaveData kkm_last_timestamp [00:09:53]File name is /storage/kkm_last_timestamp [00:09:53]Write 4 bytes [00:09:53]NVStorageSaveData done [00:09:53]ExternCall_PrintAddStr [00:09:53]wPrintStart [00:09:53]Write to MH i2c: 01 00 00 80 0F 8F [00:09:53]Write i2c OK [00:09:53]MH_I2C_Read... [00:09:53]Read from MH i2c: 01 [00:09:53]MH_I2C_Read... [00:09:53]Read from MH i2c: 01 07 00 [00:09:53]MH_I2C_Read... [00:09:53]Read from MH i2c: 01 07 00 80 0F 00 00 00 00 00 FF 0F A4 [00:09:53]RasterBufferAndPrint [00:09:53]line Х отчет [00:09:53]line ИНН: 02508201610067 [00:09:53]line Кассир: Медеткулова А. [00:09:53]line 29.10.2024 00:09 [00:09:53]line Смена: 522 [00:09:53]line РНМ: 0000000000091759 [00:09:53]line ЗНМ: 0300000093 [00:09:53]line СНО: Общий режим [00:09:53]line Всего чеков: 180 [00:09:53]line ИТОГИ ПРИХОД [00:09:53]line Чеков: 180 [00:09:53]line Общий итог: 189040.68 [00:09:53]line Итого наличными: 121306.00 [00:09:53]line Итого безнал.: 67734.68 [00:09:53]line НДС 0% : 0.00 [00:09:53]line НДС 12% : 20077.69 [00:09:53]line НСП 0% : 0.00 [00:09:53]line НСП 1,50% : 0.00 [00:09:53]line НСП 0,50% : 0.00 [00:09:53]line НСП 5% : 0.00 [00:09:53]line НСП 3% : 0.00 [00:09:53]line НСП 2% : 0.00 [00:09:53]line НСП 1% : 1672.99 [00:09:53]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:09:53]line Чеков: 0 [00:09:53]line Общий итог: 0.00 [00:09:53]line Итого наличными: 0.00 [00:09:53]line Итого безнал.: 0.00 [00:09:53]line НДС 0% : 0.00 [00:09:53]line НДС 12% : 0.00 [00:09:53]line НСП 0% : 0.00 [00:09:53]line НСП 1,50% : 0.00 [00:09:53]line НСП 0,50% : 0.00 [00:09:53]line НСП 5% : 0.00 [00:09:53]line НСП 3% : 0.00 [00:09:53]line НСП 2% : 0.00 [00:09:53]line НСП 1% : 0.00 [00:09:53]line ИТОГИ РАСХОД [00:09:53]line Чеков: 0 [00:09:53]line Общий итог: 0.00 [00:09:53]line Итого наличными: 0.00 [00:09:53]line Итого безнал.: 0.00 [00:09:53]line НДС 0% : 0.00 [00:09:53]line НДС 12% : 0.00 [00:09:53]line НСП 0% : 0.00 [00:09:53]line НСП 1,50% : 0.00 [00:09:53]line НСП 0,50% : 0.00 [00:09:53]line НСП 5% : 0.00 [00:09:53]line НСП 3% : 0.00 [00:09:53]line НСП 2% : 0.00 [00:09:53]line НСП 1% : 0.00 [00:09:53]line ИТОГИ ВОЗВРАТ РАСХОДА [00:09:53]line Чеков: 0 [00:09:53]line Общий итог: 0.00 [00:09:53]line Итого наличными: 0.00 [00:09:53]line Итого безнал.: 0.00 [00:09:53]line НДС 0% : 0.00 [00:09:53]line НДС 12% : 0.00 [00:09:53]line НСП 0% : 0.00 [00:09:53]line НСП 1,50% : 0.00 [00:09:53]line НСП 0,50% : 0.00 [00:09:53]line НСП 5% : 0.00 [00:09:53]line НСП 3% : 0.00 [00:09:53]line НСП 2% : 0.00 [00:09:53]line НСП 1% : 0.00 [00:09:53]line Сумма внесений: 0.00 [00:09:53]line Сумма выплат: 0.00 [00:09:53]line Нал. в кассе: 121306.00 [00:09:53]line НС Приход: 102260763.66 [00:09:53]line НС Возвр.Прихода: 837242.00 [00:09:53]line НС Расход: 0.00 [00:09:53]line НС Возвр.Расхода: 0.00 [00:09:53]line ФМ: 0000000000871758 [00:09:53]written 0, free lines is 4095 [00:09:54]Write to MH i2c: 01 00 00 CB 0F DA [00:09:54]Write i2c OK [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: 01 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: 01 07 00 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: 01 07 00 CB 0F 00 00 00 00 00 79 0A 64 [00:09:54]RasterBufferAndPrint [00:09:54]line [00:09:54]line [00:09:54]line [00:09:54]line [00:09:54]line [00:09:54]OFD Sender: No OFD packet to send [00:09:54]written 0, free lines is 2724 [00:09:54]MH_Cut [00:09:54]Write to MH i2c: D1 01 00 D2 0F 01 B3 [00:09:54]Write i2c OK [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: D1 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: D1 01 00 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: D1 01 00 D2 0F 00 B2 [00:09:54]Write to MH i2c: 01 00 00 D3 0F E2 [00:09:54]Write i2c OK [00:09:54]MH_I2C_Read... [00:09:55]*** Cut start [00:09:55]*** Partial cut [00:09:55]*** CUTSNS_PIN = 1 [00:09:55]*** CUTSNS_PIN = 0 [00:09:55]*** Brake cut motor [00:09:56]Read from MH i2c: 01 [00:09:56]MH_I2C_Read... [00:09:56]*** Stop cut motor [00:09:56]*** Cut end [00:09:56]Read from MH i2c: 01 07 00 [00:09:56]MH_I2C_Read... [00:09:56]Read from MH i2c: 01 07 00 D3 0F 00 00 00 00 00 FF 0F F7 [00:09:56]process_action x_report done [00:09:56]requested_data is exist [00:09:56]produce_requested_data [00:09:56]requested_item fd.num is exist - process it [00:09:56]SAM_PROTO_GetFieldsCounters [00:09:56]wFMCommunicate request_size=4 [00:09:56]MH_SAM_APDU [00:09:56]CAPDU: 80 13 00 00 [00:09:56]Write to MH i2c: E2 08 00 D4 0F 80 13 00 00 00 00 00 00 5F [00:09:56]Write i2c OK [00:09:56]MH_I2C_Read... [00:09:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:09:56]Read from MH i2c: E2 [00:09:56]MH_I2C_Read... [00:09:56]Read from MH i2c: E2 62 00 [00:09:56]MH_I2C_Read... [00:09:56]Read from MH i2c: E2 62 00 D4 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B3 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B5 00 00 00 19 04 04 00 00 00 00 00 90 00 89 [00:09:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B3 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B5 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:09:56]wFMCommunicate OK [00:09:56]SAM_PROTO_GetFieldsCounters done [00:09:56]requested_item shift.num is exist - process it [00:09:56]requested_item shift.opened is exist - process it [00:09:56]req_shift_opened [00:09:56]FM_GetShiftState [00:09:56]SAM_PROTO_GetShiftState [00:09:56]wFMCommunicate request_size=4 [00:09:56]MH_SAM_APDU [00:09:56]CAPDU: 80 13 01 00 [00:09:56]Write to MH i2c: E2 08 00 D5 0F 80 13 01 00 00 00 00 00 61 [00:09:56]Write i2c OK [00:09:56]MH_I2C_Read... [00:09:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:56]Read from MH i2c: E2 [00:09:56]MH_I2C_Read... [00:09:56]Read from MH i2c: E2 0E 00 [00:09:56]MH_I2C_Read... [00:09:56]Read from MH i2c: E2 0E 00 D5 0F 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 5C [00:09:56]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [00:09:56]wFMCommunicate OK [00:09:56]SAM_PROTO_GetShiftState done [00:09:56]FM_GetShiftState done [00:09:56]req_shift_opened done [00:09:56]requested_item shift.open_date is exist - process it [00:09:56]req_shift_open_date [00:09:56]req_shift_open_date done [00:09:56]produce_requested_data done [00:09:56]produce_requested_data return {"fd.num":68275,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [00:09:56]process_action_free x_report [00:09:56]json_value_free [00:09:56]json_value_free done [00:09:56]process_json_proto returns [00:09:56]Send response to host [00:09:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":68275,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [00:09:56]free response buf [00:09:56]execute_script done [00:09:56]execute_script returns [00:09:56]free content buf [00:09:56]Sock 10.Close socket [00:09:56]Sock 10.Thread stoped [00:09:59]OFD Sender: No OFD packet to send [00:10:04]OFD Sender: No OFD packet to send [00:10:09]OFD Sender: No OFD packet to send [00:10:14]OFD Sender: No OFD packet to send [00:10:19]OFD Sender: No OFD packet to send [00:10:24]OFD Sender: No OFD packet to send [00:10:29]OFD Sender: No OFD packet to send [00:10:34]OFD Sender: No OFD packet to send [00:10:39]OFD Sender: No OFD packet to send [00:10:44]OFD Sender: No OFD packet to send [00:10:49]OFD Sender: No OFD packet to send [00:10:54]OFD Sender: No OFD packet to send [00:10:59]OFD Sender: No OFD packet to send [00:11:04]OFD Sender: No OFD packet to send [00:11:09]OFD Sender: No OFD packet to send [00:11:14]OFD Sender: No OFD packet to send [00:11:19]OFD Sender: No OFD packet to send [00:11:24]OFD Sender: No OFD packet to send [00:11:25]accept exits with 7 [00:11:25]New connection [00:11:25]New thread 3067497828 created [00:11:25]Thread 3067354468 joined [00:11:25]Waiting for new connection... [00:11:25] Sock 7.Parse request [00:11:25]Sock 7.Check first char [00:11:25]Sock 7.First char is OK [00:11:25]request: POST /json_proto HTTP/1.0 [00:11:25]Method: POST [00:11:25]URL: /json_proto [00:11:25]Method is POST - this is cgi request [00:11:25]url: /json_proto [00:11:25]query_string will be loaded in cgi processing [00:11:25]execute_cgi json_proto POST (null) [00:11:25]execute_cgi path=json_proto method=POST [00:11:25]POST find Content-Length [00:11:25]Host: 172.17.42.3:8080 [00:11:25]Content-Length: 215 [00:11:25]Content-Type: application/json [00:11:25] [00:11:25]POST finish read [00:11:25]Found Content-Length = 215 [00:11:25]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:11:25]execute_script... [00:11:25]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:11:25]POST & json_proto [00:11:25]process_json_proto [00:11:25]json parsed OK: [00:11:25]protocol is kg_v1.0 [00:11:25]action value=get_value [00:11:25]process_action get_value [00:11:25]cmd_get_value [00:11:25]process_action get_value done [00:11:25]requested_data is exist [00:11:25]produce_requested_data [00:11:25]requested_item kkm.sn is exist - process it [00:11:25]requested_item kkm.ver is exist - process it [00:11:25]requested_item fm.sn is exist - process it [00:11:25]wFMCommunicate request_size=4 [00:11:25]MH_SAM_APDU [00:11:25]CAPDU: 80 11 00 00 [00:11:25]Write to MH i2c: E2 08 00 D6 0F 80 11 00 00 00 00 00 00 5F [00:11:25]Write i2c OK [00:11:25]MH_I2C_Read... [00:11:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:11:25]Read from MH i2c: E2 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: E2 17 00 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: E2 17 00 D6 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 B6 [00:11:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:11:25]wFMCommunicate OK [00:11:25]requested_item fd.num is exist - process it [00:11:25]SAM_PROTO_GetFieldsCounters [00:11:25]wFMCommunicate request_size=4 [00:11:25]MH_SAM_APDU [00:11:25]CAPDU: 80 13 00 00 [00:11:25]Write to MH i2c: E2 08 00 D7 0F 80 13 00 00 00 00 00 00 62 [00:11:25]Write i2c OK [00:11:25]MH_I2C_Read... [00:11:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:11:25]Read from MH i2c: E2 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: E2 62 00 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: E2 62 00 D7 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B3 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B5 00 00 00 19 04 04 00 00 00 00 00 90 00 8C [00:11:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B3 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B5 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:11:25]wFMCommunicate OK [00:11:25]SAM_PROTO_GetFieldsCounters done [00:11:25]requested_item shift.num is exist - process it [00:11:25]requested_item shift.opened is exist - process it [00:11:25]req_shift_opened [00:11:25]FM_GetShiftState [00:11:25]SAM_PROTO_GetShiftState [00:11:25]wFMCommunicate request_size=4 [00:11:25]MH_SAM_APDU [00:11:25]CAPDU: 80 13 01 00 [00:11:25]Write to MH i2c: E2 08 00 D8 0F 80 13 01 00 00 00 00 00 64 [00:11:25]Write i2c OK [00:11:25]MH_I2C_Read... [00:11:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:25]Read from MH i2c: E2 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: E2 0E 00 [00:11:25]MH_I2C_Read... [00:11:25]Read from MH i2c: E2 0E 00 D8 0F 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 5F [00:11:25]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [00:11:25]wFMCommunicate OK [00:11:25]SAM_PROTO_GetShiftState done [00:11:25]FM_GetShiftState done [00:11:25]req_shift_opened done [00:11:25]requested_item shift.open_date is exist - process it [00:11:25]req_shift_open_date [00:11:25]req_shift_open_date done [00:11:25]produce_requested_data done [00:11:25]produce_requested_data return {"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68275,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [00:11:25]process_action_free get_value [00:11:25]json_value_free [00:11:25]json_value_free done [00:11:25]process_json_proto returns [00:11:25]Send response to host [00:11:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68275,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [00:11:25]free response buf [00:11:25]execute_script done [00:11:25]execute_script returns [00:11:25]free content buf [00:11:25]Sock 7.Close socket [00:11:25]Sock 7.Thread stoped [00:11:25]accept exits with 9 [00:11:25]New connection [00:11:25]New thread 3067354468 created [00:11:25]Thread 3067497828 joined [00:11:25]Waiting for new connection... [00:11:25] Sock 9.Parse request [00:11:25]Sock 9.Check first char [00:11:25]Sock 9.First char is OK [00:11:25]request: POST /json_proto HTTP/1.0 [00:11:25]Method: POST [00:11:25]URL: /json_proto [00:11:25]Method is POST - this is cgi request [00:11:25]url: /json_proto [00:11:25]query_string will be loaded in cgi processing [00:11:25]execute_cgi json_proto POST (null) [00:11:25]execute_cgi path=json_proto method=POST [00:11:25]POST find Content-Length [00:11:25]Host: 172.17.42.3:8080 [00:11:25]Content-Length: 331 [00:11:25]Content-Type: application/json [00:11:25] [00:11:25]POST finish read [00:11:25]Found Content-Length = 331 [00:11:25]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:11:25]execute_script... [00:11:25]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:11:25]POST & json_proto [00:11:25]process_json_proto [00:11:25]json parsed OK: [00:11:25]protocol is kg_v1.0 [00:11:25]action value=get_value [00:11:25]process_action get_value [00:11:25]cmd_get_value [00:11:25]process_action get_value done [00:11:25]requested_data is exist [00:11:25]produce_requested_data [00:11:25]requested_item fm.sale.total is exist - process it [00:11:25]SAM_PROTO_GetFMData [00:11:25]wFMCommunicate request_size=4 [00:11:25]MH_SAM_APDU [00:11:25]CAPDU: 80 13 03 00 [00:11:25]Write to MH i2c: E2 08 00 D9 0F 80 13 03 00 00 00 00 00 67 [00:11:25]Write i2c OK [00:11:25]MH_I2C_Read... [00:11:26]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:11:26]Read from MH i2c: E2 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 FD 00 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 FD 00 D9 0F 00 C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 28 [00:11:26]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 [00:11:26]wFMCommunicate OK [00:11:26]wFMCommunicate request_size=4 [00:11:26]MH_SAM_APDU [00:11:26]CAPDU: 80 17 00 00 [00:11:26]Write to MH i2c: E2 08 00 DA 0F 80 17 00 00 00 00 00 00 69 [00:11:26]Write i2c OK [00:11:26]MH_I2C_Read... [00:11:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:26]Read from MH i2c: E2 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 FD 00 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 FD 00 DA 0F 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7B [00:11:26]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:26]wFMCommunicate OK [00:11:26]wFMCommunicate request_size=4 [00:11:26]MH_SAM_APDU [00:11:26]CAPDU: 80 17 00 00 [00:11:26]Write to MH i2c: E2 08 00 DB 0F 80 17 00 00 00 00 00 00 6A [00:11:26]Write i2c OK [00:11:26]MH_I2C_Read... [00:11:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:26]Read from MH i2c: E2 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 FD 00 [00:11:26]MH_I2C_Read... [00:11:26]Read from MH i2c: E2 FD 00 DB 0F 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 42 [00:11:26]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:26]wFMCommunicate OK [00:11:26]wFMCommunicate request_size=4 [00:11:26]MH_SAM_APDU [00:11:26]CAPDU: 80 17 00 00 [00:11:26]Write to MH i2c: E2 08 00 DC 0F 80 17 00 00 00 00 00 00 6B [00:11:26]Write i2c OK [00:11:26]MH_I2C_Read... [00:11:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:27]Read from MH i2c: E2 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 FD 00 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 FD 00 DC 0F 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E6 [00:11:27]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:27]wFMCommunicate OK [00:11:27]wFMCommunicate request_size=4 [00:11:27]MH_SAM_APDU [00:11:27]CAPDU: 80 17 00 00 [00:11:27]Write to MH i2c: E2 08 00 DD 0F 80 17 00 00 00 00 00 00 6C [00:11:27]Write i2c OK [00:11:27]MH_I2C_Read... [00:11:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [00:11:27]Read from MH i2c: E2 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 E4 00 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 E4 00 DD 0F 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 4C [00:11:27]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:11:27]wFMCommunicate OK [00:11:27]SAM_PROTO_GetFMData done [00:11:27]requested_item fm.sale_refund.total is exist - process it [00:11:27]requested_item fm.buy.total is exist - process it [00:11:27]requested_item shift.sale.total is exist - process it [00:11:27]SAM_PROTO_GetShiftData [00:11:27]wFMCommunicate request_size=4 [00:11:27]MH_SAM_APDU [00:11:27]CAPDU: 80 13 02 00 [00:11:27]Write to MH i2c: E2 08 00 DE 0F 80 13 02 00 00 00 00 00 6B [00:11:27]Write i2c OK [00:11:27]MH_I2C_Read... [00:11:27]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:11:27]Read from MH i2c: E2 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 FD 00 [00:11:27]MH_I2C_Read... [00:11:27]Read from MH i2c: E2 FD 00 DE 0F 00 B0 04 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 81 [00:11:27]RAPDU: B0 04 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:27]wFMCommunicate OK [00:11:27]wFMCommunicate request_size=4 [00:11:27]MH_SAM_APDU [00:11:27]CAPDU: 80 17 00 00 [00:11:27]Write to MH i2c: E2 08 00 DF 0F 80 17 00 00 00 00 00 00 6E [00:11:27]Write i2c OK [00:11:27]MH_I2C_Read... [00:11:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:28]Read from MH i2c: E2 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 FD 00 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 FD 00 DF 0F 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 88 [00:11:28]RAPDU: 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:28]wFMCommunicate OK [00:11:28]wFMCommunicate request_size=4 [00:11:28]MH_SAM_APDU [00:11:28]CAPDU: 80 17 00 00 [00:11:28]Write to MH i2c: E2 08 00 E0 0F 80 17 00 00 00 00 00 00 6F [00:11:28]Write i2c OK [00:11:28]MH_I2C_Read... [00:11:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:28]Read from MH i2c: E2 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 FD 00 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 FD 00 E0 0F 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2C [00:11:28]RAPDU: 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:28]wFMCommunicate OK [00:11:28]wFMCommunicate request_size=4 [00:11:28]MH_SAM_APDU [00:11:28]CAPDU: 80 17 00 00 [00:11:28]Write to MH i2c: E2 08 00 E1 0F 80 17 00 00 00 00 00 00 70 [00:11:28]Write i2c OK [00:11:28]MH_I2C_Read... [00:11:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:28]Read from MH i2c: E2 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 FD 00 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 FD 00 E1 0F 00 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 90 00 E3 [00:11:28]RAPDU: 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 90 00 [00:11:28]wFMCommunicate OK [00:11:28]wFMCommunicate request_size=4 [00:11:28]MH_SAM_APDU [00:11:28]CAPDU: 80 17 00 00 [00:11:28]Write to MH i2c: E2 08 00 E2 0F 80 17 00 00 00 00 00 00 71 [00:11:28]Write i2c OK [00:11:28]MH_I2C_Read... [00:11:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 202! [00:11:28]Read from MH i2c: E2 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 CD 00 [00:11:28]MH_I2C_Read... [00:11:28]Read from MH i2c: E2 CD 00 E2 0F 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 55 [00:11:28]RAPDU: 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:11:29]wFMCommunicate OK [00:11:29]SAM_PROTO_GetShiftData done [00:11:29]requested_item shift.sale.total_cash is exist - process it [00:11:29]requested_item shift.sale_refund.total is exist - process it [00:11:29]requested_item shift.sale_refund.total_cash is exist - process it [00:11:29]requested_item shift.buy.total is exist - process it [00:11:29]requested_item shift.buy.total_cash is exist - process it [00:11:29]produce_requested_data done [00:11:29]produce_requested_data return {"fm.sale.total":102260763.66,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":189040.68,"shift.sale.total_cash":121306.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:11:29]process_action_free get_value [00:11:29]json_value_free [00:11:29]json_value_free done [00:11:29]process_json_proto returns [00:11:29]Send response to host [00:11:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":102260763.66,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":189040.68,"shift.sale.total_cash":121306.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:11:29]free response buf [00:11:29]execute_script done [00:11:29]execute_script returns [00:11:29]free content buf [00:11:29]Sock 9.Close socket [00:11:29]Sock 9.Thread stoped [00:11:29]accept exits with 7 [00:11:29]New connection [00:11:29]New thread 3067497828 created [00:11:29]Thread 3067354468 joined [00:11:29]Waiting for new connection... [00:11:29] Sock 7.Parse request [00:11:29]Sock 7.Check first char [00:11:29]Sock 7.First char is OK [00:11:29]request: POST /json_proto HTTP/1.0 [00:11:29]Method: POST [00:11:29]URL: /json_proto [00:11:29]Method is POST - this is cgi request [00:11:29]url: /json_proto [00:11:29]query_string will be loaded in cgi processing [00:11:29]execute_cgi json_proto POST (null) [00:11:29]execute_cgi path=json_proto method=POST [00:11:29]POST find Content-Length [00:11:29]Host: 172.17.42.3:8080 [00:11:29]Content-Length: 331 [00:11:29]Content-Type: application/json [00:11:29] [00:11:29]POST finish read [00:11:29]Found Content-Length = 331 [00:11:29]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:11:29]execute_script... [00:11:29]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:11:29]POST & json_proto [00:11:29]process_json_proto [00:11:29]json parsed OK: [00:11:29]protocol is kg_v1.0 [00:11:29]action value=get_value [00:11:29]process_action get_value [00:11:29]cmd_get_value [00:11:29]process_action get_value done [00:11:29]requested_data is exist [00:11:29]produce_requested_data [00:11:29]requested_item fm.sale.total is exist - process it [00:11:29]SAM_PROTO_GetFMData [00:11:29]wFMCommunicate request_size=4 [00:11:29]MH_SAM_APDU [00:11:29]CAPDU: 80 13 03 00 [00:11:29]Write to MH i2c: E2 08 00 E3 0F 80 13 03 00 00 00 00 00 71 [00:11:29]Write i2c OK [00:11:29]MH_I2C_Read... [00:11:29]OFD Sender: No OFD packet to send [00:11:29]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:11:29]Read from MH i2c: E2 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 FD 00 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 FD 00 E3 0F 00 C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 32 [00:11:29]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 [00:11:29]wFMCommunicate OK [00:11:29]wFMCommunicate request_size=4 [00:11:29]MH_SAM_APDU [00:11:29]CAPDU: 80 17 00 00 [00:11:29]Write to MH i2c: E2 08 00 E4 0F 80 17 00 00 00 00 00 00 73 [00:11:29]Write i2c OK [00:11:29]MH_I2C_Read... [00:11:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:29]Read from MH i2c: E2 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 FD 00 [00:11:29]MH_I2C_Read... [00:11:29]Read from MH i2c: E2 FD 00 E4 0F 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 85 [00:11:29]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:29]wFMCommunicate OK [00:11:29]wFMCommunicate request_size=4 [00:11:29]MH_SAM_APDU [00:11:29]CAPDU: 80 17 00 00 [00:11:29]Write to MH i2c: E2 08 00 E5 0F 80 17 00 00 00 00 00 00 74 [00:11:29]Write i2c OK [00:11:29]MH_I2C_Read... [00:11:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:30]Read from MH i2c: E2 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 FD 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 FD 00 E5 0F 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4C [00:11:30]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:30]wFMCommunicate OK [00:11:30]wFMCommunicate request_size=4 [00:11:30]MH_SAM_APDU [00:11:30]CAPDU: 80 17 00 00 [00:11:30]Write to MH i2c: E2 08 00 E6 0F 80 17 00 00 00 00 00 00 75 [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:30]Read from MH i2c: E2 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 FD 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 FD 00 E6 0F 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F0 [00:11:30]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:30]wFMCommunicate OK [00:11:30]wFMCommunicate request_size=4 [00:11:30]MH_SAM_APDU [00:11:30]CAPDU: 80 17 00 00 [00:11:30]Write to MH i2c: E2 08 00 E7 0F 80 17 00 00 00 00 00 00 76 [00:11:30]Write i2c OK [00:11:30]MH_I2C_Read... [00:11:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [00:11:30]Read from MH i2c: E2 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 E4 00 [00:11:30]MH_I2C_Read... [00:11:30]Read from MH i2c: E2 E4 00 E7 0F 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 56 [00:11:31]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:11:31]wFMCommunicate OK [00:11:31]SAM_PROTO_GetFMData done [00:11:31]requested_item fm.sale_refund.total is exist - process it [00:11:31]requested_item fm.buy.total is exist - process it [00:11:31]requested_item shift.sale.total is exist - process it [00:11:31]SAM_PROTO_GetShiftData [00:11:31]wFMCommunicate request_size=4 [00:11:31]MH_SAM_APDU [00:11:31]CAPDU: 80 13 02 00 [00:11:31]Write to MH i2c: E2 08 00 E8 0F 80 13 02 00 00 00 00 00 75 [00:11:31]Write i2c OK [00:11:31]MH_I2C_Read... [00:11:31]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:11:31]Read from MH i2c: E2 [00:11:31]MH_I2C_Read... [00:11:31]Read from MH i2c: E2 FD 00 [00:11:31]MH_I2C_Read... [00:11:31]Read from MH i2c: E2 FD 00 E8 0F 00 B0 04 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8B [00:11:31]RAPDU: B0 04 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:31]wFMCommunicate OK [00:11:31]wFMCommunicate request_size=4 [00:11:31]MH_SAM_APDU [00:11:31]CAPDU: 80 17 00 00 [00:11:31]Write to MH i2c: E2 08 00 E9 0F 80 17 00 00 00 00 00 00 78 [00:11:31]Write i2c OK [00:11:31]MH_I2C_Read... [00:11:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:31]Read from MH i2c: E2 [00:11:31]MH_I2C_Read... [00:11:31]Read from MH i2c: E2 FD 00 [00:11:31]MH_I2C_Read... [00:11:31]Read from MH i2c: E2 FD 00 E9 0F 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 92 [00:11:32]RAPDU: 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:32]wFMCommunicate OK [00:11:32]wFMCommunicate request_size=4 [00:11:32]MH_SAM_APDU [00:11:32]CAPDU: 80 17 00 00 [00:11:32]Write to MH i2c: E2 08 00 EA 0F 80 17 00 00 00 00 00 00 79 [00:11:32]Write i2c OK [00:11:32]MH_I2C_Read... [00:11:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:32]Read from MH i2c: E2 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 FD 00 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 FD 00 EA 0F 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 36 [00:11:32]RAPDU: 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:32]wFMCommunicate OK [00:11:32]wFMCommunicate request_size=4 [00:11:32]MH_SAM_APDU [00:11:32]CAPDU: 80 17 00 00 [00:11:32]Write to MH i2c: E2 08 00 EB 0F 80 17 00 00 00 00 00 00 7A [00:11:32]Write i2c OK [00:11:32]MH_I2C_Read... [00:11:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:32]Read from MH i2c: E2 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 FD 00 [00:11:32]MH_I2C_Read... [00:11:32]Read from MH i2c: E2 FD 00 EB 0F 00 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 90 00 ED [00:11:32]RAPDU: 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 90 00 [00:11:32]wFMCommunicate OK [00:11:32]wFMCommunicate request_size=4 [00:11:32]MH_SAM_APDU [00:11:32]CAPDU: 80 17 00 00 [00:11:32]Write to MH i2c: E2 08 00 EC 0F 80 17 00 00 00 00 00 00 7B [00:11:32]Write i2c OK [00:11:32]MH_I2C_Read... [00:11:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 202! [00:11:33]Read from MH i2c: E2 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: E2 CD 00 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: E2 CD 00 EC 0F 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5F [00:11:33]RAPDU: 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:11:33]wFMCommunicate OK [00:11:33]SAM_PROTO_GetShiftData done [00:11:33]requested_item shift.sale.total_cash is exist - process it [00:11:33]requested_item shift.sale_refund.total is exist - process it [00:11:33]requested_item shift.sale_refund.total_cash is exist - process it [00:11:33]requested_item shift.buy.total is exist - process it [00:11:33]requested_item shift.buy.total_cash is exist - process it [00:11:33]produce_requested_data done [00:11:33]produce_requested_data return {"fm.sale.total":102260763.66,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":189040.68,"shift.sale.total_cash":121306.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:11:33]process_action_free get_value [00:11:33]json_value_free [00:11:33]json_value_free done [00:11:33]process_json_proto returns [00:11:33]Send response to host [00:11:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":102260763.66,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":189040.68,"shift.sale.total_cash":121306.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:11:33]free response buf [00:11:33]execute_script done [00:11:33]execute_script returns [00:11:33]free content buf [00:11:33]Sock 7.Close socket [00:11:33]Sock 7.Thread stoped [00:11:33]accept exits with 9 [00:11:33]New connection [00:11:33]New thread 3067354468 created [00:11:33]Thread 3067497828 joined [00:11:33]Waiting for new connection... [00:11:33] Sock 9.Parse request [00:11:33]Sock 9.Check first char [00:11:33]Sock 9.First char is OK [00:11:33]request: POST /json_proto HTTP/1.0 [00:11:33]Method: POST [00:11:33]URL: /json_proto [00:11:33]Method is POST - this is cgi request [00:11:33]url: /json_proto [00:11:33]query_string will be loaded in cgi processing [00:11:33]execute_cgi json_proto POST (null) [00:11:33]execute_cgi path=json_proto method=POST [00:11:33]POST find Content-Length [00:11:33]Host: 172.17.42.3:8080 [00:11:33]Content-Length: 275 [00:11:33]Content-Type: application/json [00:11:33] [00:11:33]POST finish read [00:11:33]Found Content-Length = 275 [00:11:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0435\u0434\u0435\u0442\u043A\u0443\u043B\u043E\u0432\u0430 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:11:33]execute_script... [00:11:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0435\u0434\u0435\u0442\u043A\u0443\u043B\u043E\u0432\u0430 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:11:33]POST & json_proto [00:11:33]process_json_proto [00:11:33]json parsed OK: [00:11:33]protocol is kg_v1.0 [00:11:33]action value=x_report [00:11:33]process_action x_report [00:11:33]cmd_x_report [00:11:33]MH_GetDate [00:11:33]Write to MH i2c: F0 00 00 ED 0F EB [00:11:33]Write i2c OK [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: F0 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: F0 09 00 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: F0 09 00 ED 0F 00 36 28 20 67 0E CB 1F 67 38 [00:11:33]GetLastDocTimeStamp 1730160587 [00:11:33]current date 1730160694 [00:11:33]FM_GetShiftState [00:11:33]SAM_PROTO_GetShiftState [00:11:33]wFMCommunicate request_size=4 [00:11:33]MH_SAM_APDU [00:11:33]CAPDU: 80 13 01 00 [00:11:33]Write to MH i2c: E2 08 00 EE 0F 80 13 01 00 00 00 00 00 7A [00:11:33]Write i2c OK [00:11:33]MH_I2C_Read... [00:11:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:33]Read from MH i2c: E2 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: E2 0E 00 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: E2 0E 00 EE 0F 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 75 [00:11:33]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [00:11:33]wFMCommunicate OK [00:11:33]SAM_PROTO_GetShiftState done [00:11:33]FM_GetShiftState done [00:11:33]KKMCreateXReportDocument [00:11:33]Load OK [00:11:33]Malloc new data [00:11:33]MH_GetDate [00:11:33]Write to MH i2c: F0 00 00 EF 0F ED [00:11:33]Write i2c OK [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: F0 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: F0 09 00 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: F0 09 00 EF 0F 00 36 28 20 67 0E CB 1F 67 3A [00:11:33]Malloc new data [00:11:33]Malloc new data [00:11:33]wFMCommunicate request_size=4 [00:11:33]MH_SAM_APDU [00:11:33]CAPDU: 80 11 00 00 [00:11:33]Write to MH i2c: E2 08 00 F0 0F 80 11 00 00 00 00 00 00 79 [00:11:33]Write i2c OK [00:11:33]MH_I2C_Read... [00:11:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:11:33]Read from MH i2c: E2 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: E2 17 00 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: E2 17 00 F0 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 D0 [00:11:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:11:33]wFMCommunicate OK [00:11:33]SAM_PROTO_GetFieldsCounters [00:11:33]wFMCommunicate request_size=4 [00:11:33]MH_SAM_APDU [00:11:33]CAPDU: 80 13 00 00 [00:11:33]Write to MH i2c: E2 08 00 F1 0F 80 13 00 00 00 00 00 00 7C [00:11:33]Write i2c OK [00:11:33]MH_I2C_Read... [00:11:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:11:33]Read from MH i2c: E2 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: E2 62 00 [00:11:33]MH_I2C_Read... [00:11:33]Read from MH i2c: E2 62 00 F1 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B3 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B5 00 00 00 19 04 04 00 00 00 00 00 90 00 A6 [00:11:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B3 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B5 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:11:33]wFMCommunicate OK [00:11:33]SAM_PROTO_GetFieldsCounters done [00:11:33]Malloc new data [00:11:33]Malloc new data [00:11:33]Malloc new data [00:11:33]KKMCreateXReportDocument OK [00:11:33]KKMSetXReportData OK [00:11:33]KKMPrepareXReportFMData [00:11:33]SAM_PROTO_GetShiftData [00:11:33]wFMCommunicate request_size=4 [00:11:33]MH_SAM_APDU [00:11:33]CAPDU: 80 13 02 00 [00:11:33]Write to MH i2c: E2 08 00 F2 0F 80 13 02 00 00 00 00 00 7F [00:11:33]Write i2c OK [00:11:33]MH_I2C_Read... [00:11:34]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:11:34]Read from MH i2c: E2 [00:11:34]MH_I2C_Read... [00:11:34]Read from MH i2c: E2 FD 00 [00:11:34]MH_I2C_Read... [00:11:34]Read from MH i2c: E2 FD 00 F2 0F 00 B0 04 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 95 [00:11:34]RAPDU: B0 04 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:34]wFMCommunicate OK [00:11:34]wFMCommunicate request_size=4 [00:11:34]MH_SAM_APDU [00:11:34]CAPDU: 80 17 00 00 [00:11:34]Write to MH i2c: E2 08 00 F3 0F 80 17 00 00 00 00 00 00 82 [00:11:34]Write i2c OK [00:11:34]MH_I2C_Read... [00:11:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:34]Read from MH i2c: E2 [00:11:34]MH_I2C_Read... [00:11:34]OFD Sender: No OFD packet to send [00:11:34]Read from MH i2c: E2 FD 00 [00:11:34]MH_I2C_Read... [00:11:34]Read from MH i2c: E2 FD 00 F3 0F 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9C [00:11:34]RAPDU: 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:34]wFMCommunicate OK [00:11:34]wFMCommunicate request_size=4 [00:11:34]MH_SAM_APDU [00:11:34]CAPDU: 80 17 00 00 [00:11:34]Write to MH i2c: E2 08 00 F4 0F 80 17 00 00 00 00 00 00 83 [00:11:34]Write i2c OK [00:11:34]MH_I2C_Read... [00:11:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:34]Read from MH i2c: E2 [00:11:34]MH_I2C_Read... [00:11:34]Read from MH i2c: E2 FD 00 [00:11:34]MH_I2C_Read... [00:11:35]Read from MH i2c: E2 FD 00 F4 0F 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 40 [00:11:35]RAPDU: 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:35]wFMCommunicate OK [00:11:35]wFMCommunicate request_size=4 [00:11:35]MH_SAM_APDU [00:11:35]CAPDU: 80 17 00 00 [00:11:35]Write to MH i2c: E2 08 00 F5 0F 80 17 00 00 00 00 00 00 84 [00:11:35]Write i2c OK [00:11:35]MH_I2C_Read... [00:11:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:35]Read from MH i2c: E2 [00:11:35]MH_I2C_Read... [00:11:35]Read from MH i2c: E2 FD 00 [00:11:35]MH_I2C_Read... [00:11:35]Read from MH i2c: E2 FD 00 F5 0F 00 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 90 00 F7 [00:11:35]RAPDU: 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 90 00 [00:11:35]wFMCommunicate OK [00:11:35]wFMCommunicate request_size=4 [00:11:35]MH_SAM_APDU [00:11:35]CAPDU: 80 17 00 00 [00:11:35]Write to MH i2c: E2 08 00 F6 0F 80 17 00 00 00 00 00 00 85 [00:11:35]Write i2c OK [00:11:35]MH_I2C_Read... [00:11:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 202! [00:11:35]Read from MH i2c: E2 [00:11:35]MH_I2C_Read... [00:11:35]Read from MH i2c: E2 CD 00 [00:11:35]MH_I2C_Read... [00:11:35]Read from MH i2c: E2 CD 00 F6 0F 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 69 [00:11:35]RAPDU: 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:11:36]wFMCommunicate OK [00:11:36]SAM_PROTO_GetShiftData done [00:11:36]1194 (1196) - счетчики итогов смены [00:11:36] 1134 (4) - 180 - количество чеков со всеми признаками расчетов [00:11:36] 1129 (157) - счетчики операций «приход» [00:11:36] 1135 (4) - 180 - количество чеков по признаку расчетов [00:11:36] 1201 (4) - 189040.68 - общая итоговая сумма в чеках [00:11:36] 1136 (3) - 121306.00 - итоговая сумма в чеках наличными [00:11:36] 1138 (3) - 67734.68 - итоговая сумма в чеках безналичными [00:11:36] 1024 (123) - суммы налогов [00:11:36] 1006 (9) - суммы НДС [00:11:36] 1010 (1) - 0% - код ставки НДС [00:11:36] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:36] 1006 (12) - суммы НДС [00:11:36] 1010 (1) - 12% - код ставки НДС [00:11:36] 1011 (3) - 20077.69 - сумма НДС по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 0% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (12) - суммы НСП [00:11:36] 1014 (1) - 1% - код ставки НСП [00:11:36] 1015 (3) - 1672.99 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 2% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 3% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 5% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 0,50% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 1,50% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1130 (141) - счетчики операций «возврат прихода» [00:11:36] 1135 (4) - 0 - количество чеков по признаку расчетов [00:11:36] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:11:36] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:11:36] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:11:36] 1024 (117) - суммы налогов [00:11:36] 1006 (9) - суммы НДС [00:11:36] 1010 (1) - 0% - код ставки НДС [00:11:36] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:36] 1006 (9) - суммы НДС [00:11:36] 1010 (1) - 12% - код ставки НДС [00:11:36] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 0% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 1% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 2% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 3% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 5% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 0,50% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 1,50% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1131 (141) - счетчики операций «расход» [00:11:36] 1135 (4) - 0 - количество чеков по признаку расчетов [00:11:36] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:11:36] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:11:36] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:11:36] 1024 (117) - суммы налогов [00:11:36] 1006 (9) - суммы НДС [00:11:36] 1010 (1) - 0% - код ставки НДС [00:11:36] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:36] 1006 (9) - суммы НДС [00:11:36] 1010 (1) - 12% - код ставки НДС [00:11:36] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 0% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 1% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 2% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 3% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 5% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 0,50% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 1,50% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1132 (141) - счетчики операций «возврат расхода» [00:11:36] 1135 (4) - 0 - количество чеков по признаку расчетов [00:11:36] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:11:36] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:11:36] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:11:36] 1024 (117) - суммы налогов [00:11:36] 1006 (9) - суммы НДС [00:11:36] 1010 (1) - 0% - код ставки НДС [00:11:36] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:36] 1006 (9) - суммы НДС [00:11:36] 1010 (1) - 12% - код ставки НДС [00:11:36] 1011 (0) - 0.00 - сумма НДС по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 0% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 1% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 2% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 3% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 5% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 0,50% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1007 (9) - суммы НСП [00:11:36] 1014 (1) - 1,50% - код ставки НСП [00:11:36] 1015 (0) - 0.00 - сумма НСП по ставке [00:11:36] 1133 (588) - - счетчики коррекции - не используются [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1194 (04AA) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1134 (046E) [00:11:36]Malloc new data [00:11:36]Processing tag 1129 (0469) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1135 (046F) [00:11:36]Malloc new data [00:11:36]Processing tag 1201 (04B1) [00:11:36]Malloc new data [00:11:36]Processing tag 1136 (0470) [00:11:36]Malloc new data [00:11:36]Processing tag 1138 (0472) [00:11:36]Malloc new data [00:11:36]Processing tag 1024 (0400) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1006 (03EE) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1010 (03F2) [00:11:36]Malloc new data [00:11:36]Processing tag 1011 (03F3) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1006 (03EE) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1010 (03F2) [00:11:36]Malloc new data [00:11:36]Processing tag 1011 (03F3) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:36]Processing tag 1015 (03F7) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:36]Processing tag 1015 (03F7) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:36]Processing tag 1015 (03F7) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:36]Processing tag 1015 (03F7) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:36]Processing tag 1015 (03F7) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:36]Processing tag 1015 (03F7) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:36]Processing tag 1015 (03F7) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]SetTLVBufToDocument err=0 [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1130 (046A) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1135 (046F) [00:11:36]Malloc new data [00:11:36]Processing tag 1201 (04B1) [00:11:36]Malloc new data [00:11:36]Processing tag 1136 (0470) [00:11:36]Malloc new data [00:11:36]Processing tag 1138 (0472) [00:11:36]Malloc new data [00:11:36]Processing tag 1024 (0400) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1006 (03EE) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1010 (03F2) [00:11:36]Malloc new data [00:11:36]Processing tag 1011 (03F3) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1006 (03EE) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1010 (03F2) [00:11:36]Malloc new data [00:11:36]Processing tag 1011 (03F3) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:36]Processing tag 1015 (03F7) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:36]Processing tag 1015 (03F7) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:36]Processing tag 1015 (03F7) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:36]Processing tag 1015 (03F7) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:36]Processing tag 1015 (03F7) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:36]Processing tag 1015 (03F7) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:36]Processing tag 1015 (03F7) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]SetTLVBufToDocument err=0 [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1131 (046B) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1135 (046F) [00:11:36]Malloc new data [00:11:36]Processing tag 1201 (04B1) [00:11:36]Malloc new data [00:11:36]Processing tag 1136 (0470) [00:11:36]Malloc new data [00:11:36]Processing tag 1138 (0472) [00:11:36]Malloc new data [00:11:36]Processing tag 1024 (0400) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1006 (03EE) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1010 (03F2) [00:11:36]Malloc new data [00:11:36]Processing tag 1011 (03F3) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1006 (03EE) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1010 (03F2) [00:11:36]Malloc new data [00:11:36]Processing tag 1011 (03F3) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:36]Processing tag 1015 (03F7) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:36]Processing tag 1015 (03F7) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:36]Processing tag 1015 (03F7) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:36]Processing tag 1015 (03F7) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:36]Processing tag 1015 (03F7) [00:11:36]Malloc new data [00:11:36]SetTLVBufToDocument err=0 [00:11:36]Processing tag 1007 (03EF) [00:11:36]Load OK [00:11:36]SetTLVBufToDocument [00:11:36]Processing tag 1014 (03F6) [00:11:36]Malloc new data [00:11:37]Processing tag 1015 (03F7) [00:11:37]Malloc new data [00:11:37]SetTLVBufToDocument err=0 [00:11:37]Processing tag 1007 (03EF) [00:11:37]Load OK [00:11:37]SetTLVBufToDocument [00:11:37]Processing tag 1014 (03F6) [00:11:37]Malloc new data [00:11:37]Processing tag 1015 (03F7) [00:11:37]Malloc new data [00:11:37]SetTLVBufToDocument err=0 [00:11:37]SetTLVBufToDocument err=0 [00:11:37]SetTLVBufToDocument err=0 [00:11:37]Processing tag 1132 (046C) [00:11:37]Load OK [00:11:37]SetTLVBufToDocument [00:11:37]Processing tag 1135 (046F) [00:11:37]Malloc new data [00:11:37]Processing tag 1201 (04B1) [00:11:37]Malloc new data [00:11:37]Processing tag 1136 (0470) [00:11:37]Malloc new data [00:11:37]Processing tag 1138 (0472) [00:11:37]Malloc new data [00:11:37]Processing tag 1024 (0400) [00:11:37]Load OK [00:11:37]SetTLVBufToDocument [00:11:37]Processing tag 1006 (03EE) [00:11:37]Load OK [00:11:37]SetTLVBufToDocument [00:11:37]Processing tag 1010 (03F2) [00:11:37]Malloc new data [00:11:37]Processing tag 1011 (03F3) [00:11:37]Malloc new data [00:11:37]SetTLVBufToDocument err=0 [00:11:37]Processing tag 1006 (03EE) [00:11:37]Load OK [00:11:37]SetTLVBufToDocument [00:11:37]Processing tag 1010 (03F2) [00:11:37]Malloc new data [00:11:37]Processing tag 1011 (03F3) [00:11:37]Malloc new data [00:11:37]SetTLVBufToDocument err=0 [00:11:37]Processing tag 1007 (03EF) [00:11:37]Load OK [00:11:37]SetTLVBufToDocument [00:11:37]Processing tag 1014 (03F6) [00:11:37]Malloc new data [00:11:37]Processing tag 1015 (03F7) [00:11:37]Malloc new data [00:11:37]SetTLVBufToDocument err=0 [00:11:37]Processing tag 1007 (03EF) [00:11:37]Load OK [00:11:37]SetTLVBufToDocument [00:11:37]Processing tag 1014 (03F6) [00:11:37]Malloc new data [00:11:37]Processing tag 1015 (03F7) [00:11:37]Malloc new data [00:11:37]SetTLVBufToDocument err=0 [00:11:37]Processing tag 1007 (03EF) [00:11:37]Load OK [00:11:37]SetTLVBufToDocument [00:11:37]Processing tag 1014 (03F6) [00:11:37]Malloc new data [00:11:37]Processing tag 1015 (03F7) [00:11:37]Malloc new data [00:11:37]SetTLVBufToDocument err=0 [00:11:37]Processing tag 1007 (03EF) [00:11:37]Load OK [00:11:37]SetTLVBufToDocument [00:11:37]Processing tag 1014 (03F6) [00:11:37]Malloc new data [00:11:37]Processing tag 1015 (03F7) [00:11:37]Malloc new data [00:11:37]SetTLVBufToDocument err=0 [00:11:37]Processing tag 1007 (03EF) [00:11:37]Load OK [00:11:37]SetTLVBufToDocument [00:11:37]Processing tag 1014 (03F6) [00:11:37]Malloc new data [00:11:37]Processing tag 1015 (03F7) [00:11:37]Malloc new data [00:11:37]SetTLVBufToDocument err=0 [00:11:37]Processing tag 1007 (03EF) [00:11:37]Load OK [00:11:37]SetTLVBufToDocument [00:11:37]Processing tag 1014 (03F6) [00:11:37]Malloc new data [00:11:37]Processing tag 1015 (03F7) [00:11:37]Malloc new data [00:11:37]SetTLVBufToDocument err=0 [00:11:37]Processing tag 1007 (03EF) [00:11:37]Load OK [00:11:37]SetTLVBufToDocument [00:11:37]Processing tag 1014 (03F6) [00:11:37]Malloc new data [00:11:37]Processing tag 1015 (03F7) [00:11:37]Malloc new data [00:11:37]SetTLVBufToDocument err=0 [00:11:37]SetTLVBufToDocument err=0 [00:11:37]SetTLVBufToDocument err=0 [00:11:37]Processing tag 1133 (046D) [00:11:37]Malloc new data [00:11:37]SetTLVBufToDocument err=0 [00:11:37]SetTLVBufToDocument err=0 [00:11:37]Malloc new data [00:11:37]SAM_PROTO_GetFMData [00:11:37]wFMCommunicate request_size=4 [00:11:37]MH_SAM_APDU [00:11:37]CAPDU: 80 13 03 00 [00:11:37]Write to MH i2c: E2 08 00 F7 0F 80 13 03 00 00 00 00 00 85 [00:11:37]Write i2c OK [00:11:37]MH_I2C_Read... [00:11:37]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:11:37]Read from MH i2c: E2 [00:11:37]MH_I2C_Read... [00:11:37]Read from MH i2c: E2 FD 00 [00:11:37]MH_I2C_Read... [00:11:37]Read from MH i2c: E2 FD 00 F7 0F 00 C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 46 [00:11:37]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 [00:11:37]wFMCommunicate OK [00:11:37]wFMCommunicate request_size=4 [00:11:37]MH_SAM_APDU [00:11:37]CAPDU: 80 17 00 00 [00:11:37]Write to MH i2c: E2 08 00 F8 0F 80 17 00 00 00 00 00 00 87 [00:11:37]Write i2c OK [00:11:37]MH_I2C_Read... [00:11:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:38]Read from MH i2c: E2 [00:11:38]MH_I2C_Read... [00:11:38]Read from MH i2c: E2 FD 00 [00:11:38]MH_I2C_Read... [00:11:38]Read from MH i2c: E2 FD 00 F8 0F 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 99 [00:11:38]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:38]wFMCommunicate OK [00:11:38]wFMCommunicate request_size=4 [00:11:38]MH_SAM_APDU [00:11:38]CAPDU: 80 17 00 00 [00:11:38]Write to MH i2c: E2 08 00 F9 0F 80 17 00 00 00 00 00 00 88 [00:11:38]Write i2c OK [00:11:38]MH_I2C_Read... [00:11:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:38]Read from MH i2c: E2 [00:11:38]MH_I2C_Read... [00:11:38]Read from MH i2c: E2 FD 00 [00:11:38]MH_I2C_Read... [00:11:38]Read from MH i2c: E2 FD 00 F9 0F 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 60 [00:11:38]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:38]wFMCommunicate OK [00:11:38]wFMCommunicate request_size=4 [00:11:38]MH_SAM_APDU [00:11:38]CAPDU: 80 17 00 00 [00:11:38]Write to MH i2c: E2 08 00 FA 0F 80 17 00 00 00 00 00 00 89 [00:11:38]Write i2c OK [00:11:38]MH_I2C_Read... [00:11:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:39]Read from MH i2c: E2 [00:11:39]MH_I2C_Read... [00:11:39]Read from MH i2c: E2 FD 00 [00:11:39]MH_I2C_Read... [00:11:39]Read from MH i2c: E2 FD 00 FA 0F 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 04 [00:11:39]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:39]wFMCommunicate OK [00:11:39]wFMCommunicate request_size=4 [00:11:39]MH_SAM_APDU [00:11:39]CAPDU: 80 17 00 00 [00:11:39]Write to MH i2c: E2 08 00 FB 0F 80 17 00 00 00 00 00 00 8A [00:11:39]Write i2c OK [00:11:39]MH_I2C_Read... [00:11:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [00:11:39]Read from MH i2c: E2 [00:11:39]MH_I2C_Read... [00:11:39]Read from MH i2c: E2 E4 00 [00:11:39]MH_I2C_Read... [00:11:39]Read from MH i2c: E2 E4 00 FB 0F 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 6A [00:11:39]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF OFD Sender: No OFD packet to send [00:11:39]03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:11:39]wFMCommunicate OK [00:11:39]SAM_PROTO_GetFMData done [00:11:39]FM_GetFMData:85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:11:40]oper:6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 [00:11:40]total:CE 8A 85 61 02 [00:11:40]Malloc new data [00:11:40]oper:6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:11:40]total:A8 87 FD 04 [00:11:40]Malloc new data [00:11:40]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:11:40]total: [00:11:40]Malloc new data [00:11:40]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:11:40]total: [00:11:40]Malloc new data [00:11:40]KKMPrepareXReportFMData err=0 [00:11:40]Х отчет ИНН: 02508201610067 Кассир: Медеткулова А. 29.10.2024 00:11 Смена: 522 РНМ: 0000000000091759 ЗНМ: 0300000093 СНО: Общий режим Всего чеков: 180 ИТОГИ ПРИХОД Чеков: 180 Общий итог: 189040.68 Итого наличными: 121306.00 Итого безнал.: 67734.68 НДС 0% : 0.00 НДС 12% : 20077.69 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 1672.99 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 121306.00 НС Приход: 102260763.66 НС Возвр.Прихода: 837242.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000871758 [00:11:40]StoreToDocumentArchive [00:11:40]MH_GetDate [00:11:40]Write to MH i2c: F0 00 00 FC 0F FA [00:11:40]Write i2c OK [00:11:40]MH_I2C_Read... [00:11:40]Read from MH i2c: F0 [00:11:40]MH_I2C_Read... [00:11:40]Read from MH i2c: F0 09 00 [00:11:40]MH_I2C_Read... [00:11:40]Read from MH i2c: F0 09 00 FC 0F 00 3E 28 20 67 0E CB 1F 67 4F [00:11:40]shift 522 fd 1730160702 [00:11:40]save to /storage/0522/doc_1730160702 [00:11:40]save last doc name /storage/0522/doc_1730160702 to /storage/kkm_last_doc_name [00:11:40]save OK [00:11:40]Clear old archive folders... [00:11:40]NVStorageSaveData kkm_last_timestamp [00:11:40]File name is /storage/kkm_last_timestamp [00:11:40]Write 4 bytes [00:11:40]NVStorageSaveData done [00:11:40]ExternCall_PrintAddStr [00:11:40]wPrintStart [00:11:40]Write to MH i2c: 01 00 00 FD 0F 0C [00:11:40]Write i2c OK [00:11:40]MH_I2C_Read... [00:11:40]Read from MH i2c: 01 [00:11:40]MH_I2C_Read... [00:11:40]Read from MH i2c: 01 07 00 [00:11:40]MH_I2C_Read... [00:11:40]Read from MH i2c: 01 07 00 FD 0F 00 00 00 00 00 FF 0F 21 [00:11:40]RasterBufferAndPrint [00:11:40]line Х отчет [00:11:40]line ИНН: 02508201610067 [00:11:40]line Кассир: Медеткулова А. [00:11:40]line 29.10.2024 00:11 [00:11:40]line Смена: 522 [00:11:40]line РНМ: 0000000000091759 [00:11:40]line ЗНМ: 0300000093 [00:11:40]line СНО: Общий режим [00:11:40]line Всего чеков: 180 [00:11:40]line ИТОГИ ПРИХОД [00:11:40]line Чеков: 180 [00:11:40]line Общий итог: 189040.68 [00:11:40]line Итого наличными: 121306.00 [00:11:40]line Итого безнал.: 67734.68 [00:11:40]line НДС 0% : 0.00 [00:11:40]line НДС 12% : 20077.69 [00:11:40]line НСП 0% : 0.00 [00:11:40]line НСП 1,50% : 0.00 [00:11:40]line НСП 0,50% : 0.00 [00:11:40]line НСП 5% : 0.00 [00:11:40]line НСП 3% : 0.00 [00:11:40]line НСП 2% : 0.00 [00:11:40]line НСП 1% : 1672.99 [00:11:40]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:11:40]line Чеков: 0 [00:11:40]line Общий итог: 0.00 [00:11:40]line Итого наличными: 0.00 [00:11:40]line Итого безнал.: 0.00 [00:11:40]line НДС 0% : 0.00 [00:11:40]line НДС 12% : 0.00 [00:11:40]line НСП 0% : 0.00 [00:11:40]line НСП 1,50% : 0.00 [00:11:40]line НСП 0,50% : 0.00 [00:11:40]line НСП 5% : 0.00 [00:11:40]line НСП 3% : 0.00 [00:11:40]line НСП 2% : 0.00 [00:11:40]line НСП 1% : 0.00 [00:11:40]line ИТОГИ РАСХОД [00:11:40]line Чеков: 0 [00:11:40]line Общий итог: 0.00 [00:11:40]line Итого наличными: 0.00 [00:11:40]line Итого безнал.: 0.00 [00:11:40]line НДС 0% : 0.00 [00:11:40]line НДС 12% : 0.00 [00:11:40]line НСП 0% : 0.00 [00:11:40]line НСП 1,50% : 0.00 [00:11:40]line НСП 0,50% : 0.00 [00:11:40]line НСП 5% : 0.00 [00:11:40]line НСП 3% : 0.00 [00:11:40]line НСП 2% : 0.00 [00:11:40]line НСП 1% : 0.00 [00:11:40]line ИТОГИ ВОЗВРАТ РАСХОДА [00:11:40]line Чеков: 0 [00:11:40]line Общий итог: 0.00 [00:11:40]line Итого наличными: 0.00 [00:11:40]line Итого безнал.: 0.00 [00:11:40]line НДС 0% : 0.00 [00:11:40]line НДС 12% : 0.00 [00:11:40]line НСП 0% : 0.00 [00:11:40]line НСП 1,50% : 0.00 [00:11:40]line НСП 0,50% : 0.00 [00:11:40]line НСП 5% : 0.00 [00:11:40]line НСП 3% : 0.00 [00:11:40]line НСП 2% : 0.00 [00:11:40]line НСП 1% : 0.00 [00:11:40]line Сумма внесений: 0.00 [00:11:40]line Сумма выплат: 0.00 [00:11:40]line Нал. в кассе: 121306.00 [00:11:40]line НС Приход: 102260763.66 [00:11:40]line НС Возвр.Прихода: 837242.00 [00:11:40]line НС Расход: 0.00 [00:11:40]line НС Возвр.Расхода: 0.00 [00:11:40]line ФМ: 0000000000871758 [00:11:41]written 0, free lines is 4095 [00:11:41]Write to MH i2c: 01 00 00 48 10 58 [00:11:41]Write i2c OK [00:11:41]MH_I2C_Read... [00:11:41]Read from MH i2c: 01 [00:11:41]MH_I2C_Read... [00:11:41]Read from MH i2c: 01 07 00 [00:11:41]MH_I2C_Read... [00:11:41]Read from MH i2c: 01 07 00 48 10 00 00 00 00 00 83 0A EC [00:11:41]RasterBufferAndPrint [00:11:41]line [00:11:41]line [00:11:41]line [00:11:41]line [00:11:41]line [00:11:41]written 0, free lines is 2720 [00:11:41]MH_Cut [00:11:41]Write to MH i2c: D1 01 00 4F 10 01 31 [00:11:41]Write i2c OK [00:11:41]MH_I2C_Read... [00:11:41]Read from MH i2c: D1 [00:11:41]MH_I2C_Read... [00:11:41]Read from MH i2c: D1 01 00 [00:11:41]MH_I2C_Read... [00:11:41]Read from MH i2c: D1 01 00 4F 10 00 30 [00:11:41]Write to MH i2c: 01 00 00 50 10 60 [00:11:41]Write i2c OK [00:11:41]MH_I2C_Read... [00:11:42]*** Cut start [00:11:42]*** Partial cut [00:11:42]*** CUTSNS_PIN = 1 [00:11:42]*** CUTSNS_PIN = 0 [00:11:43]*** Brake cut motor [00:11:43]Read from MH i2c: 01 [00:11:43]MH_I2C_Read... [00:11:43]*** Stop cut motor [00:11:43]*** Cut end [00:11:43]Read from MH i2c: 01 07 00 [00:11:43]MH_I2C_Read... [00:11:43]Read from MH i2c: 01 07 00 50 10 00 00 00 00 00 FF 0F 75 [00:11:43]process_action x_report done [00:11:43]requested_data is exist [00:11:43]produce_requested_data [00:11:43]requested_item fd.num is exist - process it [00:11:43]SAM_PROTO_GetFieldsCounters [00:11:43]wFMCommunicate request_size=4 [00:11:43]MH_SAM_APDU [00:11:43]CAPDU: 80 13 00 00 [00:11:43]Write to MH i2c: E2 08 00 51 10 80 13 00 00 00 00 00 00 DD [00:11:43]Write i2c OK [00:11:43]MH_I2C_Read... [00:11:43]Read from MH i2c: E2 [00:11:43]MH_I2C_Read... [00:11:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:11:43]Read from MH i2c: E2 62 00 [00:11:43]MH_I2C_Read... [00:11:43]Read from MH i2c: E2 62 00 51 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B3 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B5 00 00 00 19 04 04 00 00 00 00 00 90 00 07 [00:11:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B3 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B5 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:11:43]wFMCommunicate OK [00:11:43]SAM_PROTO_GetFieldsCounters done [00:11:43]requested_item shift.num is exist - process it [00:11:43]requested_item shift.opened is exist - process it [00:11:43]req_shift_opened [00:11:43]FM_GetShiftState [00:11:43]SAM_PROTO_GetShiftState [00:11:43]wFMCommunicate request_size=4 [00:11:43]MH_SAM_APDU [00:11:43]CAPDU: 80 13 01 00 [00:11:43]Write to MH i2c: E2 08 00 52 10 80 13 01 00 00 00 00 00 DF [00:11:43]Write i2c OK [00:11:43]MH_I2C_Read... [00:11:43]Read from MH i2c: E2 [00:11:43]MH_I2C_Read... [00:11:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:43]Read from MH i2c: E2 0E 00 [00:11:43]MH_I2C_Read... [00:11:43]Read from MH i2c: E2 0E 00 52 10 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 DA [00:11:43]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [00:11:43]wFMCommunicate OK [00:11:43]SAM_PROTO_GetShiftState done [00:11:43]FM_GetShiftState done [00:11:43]req_shift_opened done [00:11:43]requested_item shift.open_date is exist - process it [00:11:43]req_shift_open_date [00:11:43]req_shift_open_date done [00:11:43]produce_requested_data done [00:11:43]produce_requested_data return {"fd.num":68275,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [00:11:43]process_action_free x_report [00:11:43]json_value_free [00:11:43]json_value_free done [00:11:43]process_json_proto returns [00:11:43]Send response to host [00:11:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":68275,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [00:11:43]free response buf [00:11:43]execute_script done [00:11:43]execute_script returns [00:11:43]free content buf [00:11:43]Sock 9.Close socket [00:11:43]Sock 9.Thread stoped [00:11:44]OFD Sender: No OFD packet to send [00:11:49]accept exits with 7 [00:11:49]New connection [00:11:49]New thread 3067497828 created [00:11:49]Thread 3067354468 joined [00:11:49]Waiting for new connection... [00:11:49] Sock 7.Parse request [00:11:49]Sock 7.Check first char [00:11:49]Sock 7.First char is OK [00:11:49]request: POST /json_proto HTTP/1.0 [00:11:49]Method: POST [00:11:49]URL: /json_proto [00:11:49]Method is POST - this is cgi request [00:11:49]url: /json_proto [00:11:49]query_string will be loaded in cgi processing [00:11:49]execute_cgi json_proto POST (null) [00:11:49]execute_cgi path=json_proto method=POST [00:11:49]POST find Content-Length [00:11:49]Host: 172.17.42.3:8080 [00:11:49]Content-Length: 215 [00:11:49]Content-Type: application/json [00:11:49] [00:11:49]POST finish read [00:11:49]Found Content-Length = 215 [00:11:49]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:11:49]execute_script... [00:11:49]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:11:49]POST & json_proto [00:11:49]process_json_proto [00:11:49]json parsed OK: [00:11:49]protocol is kg_v1.0 [00:11:49]action value=get_value [00:11:49]process_action get_value [00:11:49]cmd_get_value [00:11:49]process_action get_value done [00:11:49]requested_data is exist [00:11:49]produce_requested_data [00:11:49]requested_item kkm.sn is exist - process it [00:11:49]requested_item kkm.ver is exist - process it [00:11:49]requested_item fm.sn is exist - process it [00:11:49]wFMCommunicate request_size=4 [00:11:49]MH_SAM_APDU [00:11:49]CAPDU: 80 11 00 00 [00:11:49]Write to MH i2c: E2 08 00 53 10 80 11 00 00 00 00 00 00 DD [00:11:49]Write i2c OK [00:11:49]MH_I2C_Read... [00:11:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:11:49]Read from MH i2c: E2 [00:11:49]MH_I2C_Read... [00:11:49]Read from MH i2c: E2 17 00 [00:11:49]MH_I2C_Read... [00:11:49]Read from MH i2c: E2 17 00 53 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 34 [00:11:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:11:49]wFMCommunicate OK [00:11:49]requested_item fd.num is exist - process it [00:11:49]SAM_PROTO_GetFieldsCounters [00:11:49]wFMCommunicate request_size=4 [00:11:49]MH_SAM_APDU [00:11:49]CAPDU: 80 13 00 00 [00:11:49]Write to MH i2c: E2 08 00 54 10 80 13 00 00 00 00 00 00 E0 [00:11:49]Write i2c OK [00:11:49]MH_I2C_Read... [00:11:49]OFD Sender: No OFD packet to send [00:11:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:11:49]Read from MH i2c: E2 [00:11:49]MH_I2C_Read... [00:11:49]Read from MH i2c: E2 62 00 [00:11:49]MH_I2C_Read... [00:11:49]Read from MH i2c: E2 62 00 54 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B3 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B5 00 00 00 19 04 04 00 00 00 00 00 90 00 0A [00:11:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B3 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B5 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:11:49]wFMCommunicate OK [00:11:49]SAM_PROTO_GetFieldsCounters done [00:11:49]requested_item shift.num is exist - process it [00:11:49]requested_item shift.opened is exist - process it [00:11:49]req_shift_opened [00:11:49]FM_GetShiftState [00:11:49]SAM_PROTO_GetShiftState [00:11:49]wFMCommunicate request_size=4 [00:11:49]MH_SAM_APDU [00:11:49]CAPDU: 80 13 01 00 [00:11:49]Write to MH i2c: E2 08 00 55 10 80 13 01 00 00 00 00 00 E2 [00:11:49]Write i2c OK [00:11:49]MH_I2C_Read... [00:11:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:50]Read from MH i2c: E2 [00:11:50]MH_I2C_Read... [00:11:50]Read from MH i2c: E2 0E 00 [00:11:50]MH_I2C_Read... [00:11:50]Read from MH i2c: E2 0E 00 55 10 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 DD [00:11:50]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [00:11:50]wFMCommunicate OK [00:11:50]SAM_PROTO_GetShiftState done [00:11:50]FM_GetShiftState done [00:11:50]req_shift_opened done [00:11:50]requested_item shift.open_date is exist - process it [00:11:50]req_shift_open_date [00:11:50]req_shift_open_date done [00:11:50]produce_requested_data done [00:11:50]produce_requested_data return {"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68275,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770} [00:11:50]process_action_free get_value [00:11:50]json_value_free [00:11:50]json_value_free done [00:11:50]process_json_proto returns [00:11:50]Send response to host [00:11:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68275,"shift.num":547,"shift.opened":1,"shift.open_date":1730074770}}} [00:11:50]free response buf [00:11:50]execute_script done [00:11:50]execute_script returns [00:11:50]free content buf [00:11:50]Sock 7.Close socket [00:11:50]Sock 7.Thread stoped [00:11:50]accept exits with 9 [00:11:50]New connection [00:11:50]New thread 3067354468 created [00:11:50]Thread 3067497828 joined [00:11:50]Waiting for new connection... [00:11:50] Sock 9.Parse request [00:11:50]Sock 9.Check first char [00:11:50]Sock 9.First char is OK [00:11:50]request: POST /json_proto HTTP/1.0 [00:11:50]Method: POST [00:11:50]URL: /json_proto [00:11:50]Method is POST - this is cgi request [00:11:50]url: /json_proto [00:11:50]query_string will be loaded in cgi processing [00:11:50]execute_cgi json_proto POST (null) [00:11:50]execute_cgi path=json_proto method=POST [00:11:50]POST find Content-Length [00:11:50]Host: 172.17.42.3:8080 [00:11:50]Content-Length: 331 [00:11:50]Content-Type: application/json [00:11:50] [00:11:50]POST finish read [00:11:50]Found Content-Length = 331 [00:11:50]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:11:50]execute_script... [00:11:50]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:11:50]POST & json_proto [00:11:50]process_json_proto [00:11:50]json parsed OK: [00:11:50]protocol is kg_v1.0 [00:11:50]action value=get_value [00:11:50]process_action get_value [00:11:50]cmd_get_value [00:11:50]process_action get_value done [00:11:50]requested_data is exist [00:11:50]produce_requested_data [00:11:50]requested_item fm.sale.total is exist - process it [00:11:50]SAM_PROTO_GetFMData [00:11:50]wFMCommunicate request_size=4 [00:11:50]MH_SAM_APDU [00:11:50]CAPDU: 80 13 03 00 [00:11:50]Write to MH i2c: E2 08 00 56 10 80 13 03 00 00 00 00 00 E5 [00:11:50]Write i2c OK [00:11:50]MH_I2C_Read... [00:11:50]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:11:50]Read from MH i2c: E2 [00:11:50]MH_I2C_Read... [00:11:50]Read from MH i2c: E2 FD 00 [00:11:50]MH_I2C_Read... [00:11:50]Read from MH i2c: E2 FD 00 56 10 00 C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 A6 [00:11:50]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 [00:11:50]wFMCommunicate OK [00:11:50]wFMCommunicate request_size=4 [00:11:50]MH_SAM_APDU [00:11:50]CAPDU: 80 17 00 00 [00:11:50]Write to MH i2c: E2 08 00 57 10 80 17 00 00 00 00 00 00 E7 [00:11:50]Write i2c OK [00:11:50]MH_I2C_Read... [00:11:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:51]Read from MH i2c: E2 [00:11:51]MH_I2C_Read... [00:11:51]Read from MH i2c: E2 FD 00 [00:11:51]MH_I2C_Read... [00:11:51]Read from MH i2c: E2 FD 00 57 10 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F9 [00:11:51]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:51]wFMCommunicate OK [00:11:51]wFMCommunicate request_size=4 [00:11:51]MH_SAM_APDU [00:11:51]CAPDU: 80 17 00 00 [00:11:51]Write to MH i2c: E2 08 00 58 10 80 17 00 00 00 00 00 00 E8 [00:11:51]Write i2c OK [00:11:51]MH_I2C_Read... [00:11:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:51]Read from MH i2c: E2 [00:11:51]MH_I2C_Read... [00:11:51]Read from MH i2c: E2 FD 00 [00:11:51]MH_I2C_Read... [00:11:51]Read from MH i2c: E2 FD 00 58 10 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C0 [00:11:51]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:51]wFMCommunicate OK [00:11:51]wFMCommunicate request_size=4 [00:11:51]MH_SAM_APDU [00:11:51]CAPDU: 80 17 00 00 [00:11:51]Write to MH i2c: E2 08 00 59 10 80 17 00 00 00 00 00 00 E9 [00:11:51]Write i2c OK [00:11:51]MH_I2C_Read... [00:11:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:52]Read from MH i2c: E2 [00:11:52]MH_I2C_Read... [00:11:52]Read from MH i2c: E2 FD 00 [00:11:52]MH_I2C_Read... [00:11:52]Read from MH i2c: E2 FD 00 59 10 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 64 [00:11:52]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:52]wFMCommunicate OK [00:11:52]wFMCommunicate request_size=4 [00:11:52]MH_SAM_APDU [00:11:52]CAPDU: 80 17 00 00 [00:11:52]Write to MH i2c: E2 08 00 5A 10 80 17 00 00 00 00 00 00 EA [00:11:52]Write i2c OK [00:11:52]MH_I2C_Read... [00:11:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [00:11:52]Read from MH i2c: E2 [00:11:52]MH_I2C_Read... [00:11:52]Read from MH i2c: E2 E4 00 [00:11:52]MH_I2C_Read... [00:11:52]Read from MH i2c: E2 E4 00 5A 10 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CA [00:11:52]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:11:52]wFMCommunicate OK [00:11:52]SAM_PROTO_GetFMData done [00:11:52]requested_item fm.sale_refund.total is exist - process it [00:11:52]requested_item fm.buy.total is exist - process it [00:11:52]requested_item shift.sale.total is exist - process it [00:11:52]SAM_PROTO_GetShiftData [00:11:52]wFMCommunicate request_size=4 [00:11:52]MH_SAM_APDU [00:11:52]CAPDU: 80 13 02 00 [00:11:52]Write to MH i2c: E2 08 00 5B 10 80 13 02 00 00 00 00 00 E9 [00:11:52]Write i2c OK [00:11:52]MH_I2C_Read... [00:11:53]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:11:53]Read from MH i2c: E2 [00:11:53]MH_I2C_Read... [00:11:53]Read from MH i2c: E2 FD 00 [00:11:53]MH_I2C_Read... [00:11:53]Read from MH i2c: E2 FD 00 5B 10 00 B0 04 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FF [00:11:53]RAPDU: B0 04 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:53]wFMCommunicate OK [00:11:53]wFMCommunicate request_size=4 [00:11:53]MH_SAM_APDU [00:11:53]CAPDU: 80 17 00 00 [00:11:53]Write to MH i2c: E2 08 00 5C 10 80 17 00 00 00 00 00 00 EC [00:11:53]Write i2c OK [00:11:53]MH_I2C_Read... [00:11:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:53]Read from MH i2c: E2 [00:11:53]MH_I2C_Read... [00:11:53]Read from MH i2c: E2 FD 00 [00:11:53]MH_I2C_Read... [00:11:53]Read from MH i2c: E2 FD 00 5C 10 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 06 [00:11:53]RAPDU: 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:54]wFMCommunicate OK [00:11:54]wFMCommunicate request_size=4 [00:11:54]MH_SAM_APDU [00:11:54]CAPDU: 80 17 00 00 [00:11:54]Write to MH i2c: E2 08 00 5D 10 80 17 00 00 00 00 00 00 ED [00:11:54]Write i2c OK [00:11:54]MH_I2C_Read... [00:11:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:54]Read from MH i2c: E2 [00:11:54]MH_I2C_Read... [00:11:54]Read from MH i2c: E2 FD 00 [00:11:54]MH_I2C_Read... [00:11:54]Read from MH i2c: E2 FD 00 5D 10 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AA [00:11:54]RAPDU: 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:54]wFMCommunicate OK [00:11:54]wFMCommunicate request_size=4 [00:11:54]MH_SAM_APDU [00:11:54]CAPDU: 80 17 00 00 [00:11:54]Write to MH i2c: E2 08 00 5E 10 80 17 00 00 00 00 00 00 EE [00:11:54]Write i2c OK [00:11:54]MH_I2C_Read... [00:11:54]OFD Sender: No OFD packet to send [00:11:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:54]Read from MH i2c: E2 [00:11:54]MH_I2C_Read... [00:11:54]Read from MH i2c: E2 FD 00 [00:11:54]MH_I2C_Read... [00:11:54]Read from MH i2c: E2 FD 00 5E 10 00 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 90 00 61 [00:11:55]RAPDU: 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 90 00 [00:11:55]wFMCommunicate OK [00:11:55]wFMCommunicate request_size=4 [00:11:55]MH_SAM_APDU [00:11:55]CAPDU: 80 17 00 00 [00:11:55]Write to MH i2c: E2 08 00 5F 10 80 17 00 00 00 00 00 00 EF [00:11:55]Write i2c OK [00:11:55]MH_I2C_Read... [00:11:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 202! [00:11:55]Read from MH i2c: E2 [00:11:55]MH_I2C_Read... [00:11:55]Read from MH i2c: E2 CD 00 [00:11:55]MH_I2C_Read... [00:11:55]Read from MH i2c: E2 CD 00 5F 10 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D3 [00:11:55]RAPDU: 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:11:55]wFMCommunicate OK [00:11:55]SAM_PROTO_GetShiftData done [00:11:55]requested_item shift.sale.total_cash is exist - process it [00:11:55]requested_item shift.sale_refund.total is exist - process it [00:11:55]requested_item shift.sale_refund.total_cash is exist - process it [00:11:55]requested_item shift.buy.total is exist - process it [00:11:55]requested_item shift.buy.total_cash is exist - process it [00:11:55]produce_requested_data done [00:11:55]produce_requested_data return {"fm.sale.total":102260763.66,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":189040.68,"shift.sale.total_cash":121306.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:11:55]process_action_free get_value [00:11:55]json_value_free [00:11:55]json_value_free done [00:11:55]process_json_proto returns [00:11:55]Send response to host [00:11:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":102260763.66,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":189040.68,"shift.sale.total_cash":121306.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:11:55]free response buf [00:11:55]execute_script done [00:11:55]execute_script returns [00:11:55]free content buf [00:11:55]Sock 9.Close socket [00:11:55]Sock 9.Thread stoped [00:11:55]accept exits with 7 [00:11:55]New connection [00:11:55]New thread 3067497828 created [00:11:55]Thread 3067354468 joined [00:11:55]Waiting for new connection... [00:11:55] Sock 7.Parse request [00:11:55]Sock 7.Check first char [00:11:55]Sock 7.First char is OK [00:11:55]request: POST /json_proto HTTP/1.0 [00:11:55]Method: POST [00:11:55]URL: /json_proto [00:11:55]Method is POST - this is cgi request [00:11:55]url: /json_proto [00:11:55]query_string will be loaded in cgi processing [00:11:55]execute_cgi json_proto POST (null) [00:11:55]execute_cgi path=json_proto method=POST [00:11:55]POST find Content-Length [00:11:55]Host: 172.17.42.3:8080 [00:11:55]Content-Length: 331 [00:11:55]Content-Type: application/json [00:11:55] [00:11:55]POST finish read [00:11:55]Found Content-Length = 331 [00:11:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:11:55]execute_script... [00:11:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:11:55]POST & json_proto [00:11:55]process_json_proto [00:11:55]json parsed OK: [00:11:55]protocol is kg_v1.0 [00:11:55]action value=get_value [00:11:55]process_action get_value [00:11:55]cmd_get_value [00:11:55]process_action get_value done [00:11:55]requested_data is exist [00:11:55]produce_requested_data [00:11:55]requested_item fm.sale.total is exist - process it [00:11:55]SAM_PROTO_GetFMData [00:11:55]wFMCommunicate request_size=4 [00:11:55]MH_SAM_APDU [00:11:55]CAPDU: 80 13 03 00 [00:11:55]Write to MH i2c: E2 08 00 60 10 80 13 03 00 00 00 00 00 EF [00:11:55]Write i2c OK [00:11:55]MH_I2C_Read... [00:11:56]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:11:56]Read from MH i2c: E2 [00:11:56]MH_I2C_Read... [00:11:56]Read from MH i2c: E2 FD 00 [00:11:56]MH_I2C_Read... [00:11:56]Read from MH i2c: E2 FD 00 60 10 00 C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 B0 [00:11:56]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 [00:11:56]wFMCommunicate OK [00:11:56]wFMCommunicate request_size=4 [00:11:56]MH_SAM_APDU [00:11:56]CAPDU: 80 17 00 00 [00:11:56]Write to MH i2c: E2 08 00 61 10 80 17 00 00 00 00 00 00 F1 [00:11:56]Write i2c OK [00:11:56]MH_I2C_Read... [00:11:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:56]Read from MH i2c: E2 [00:11:56]MH_I2C_Read... [00:11:56]Read from MH i2c: E2 FD 00 [00:11:56]MH_I2C_Read... [00:11:56]Read from MH i2c: E2 FD 00 61 10 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 03 [00:11:57]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:57]wFMCommunicate OK [00:11:57]wFMCommunicate request_size=4 [00:11:57]MH_SAM_APDU [00:11:57]CAPDU: 80 17 00 00 [00:11:57]Write to MH i2c: E2 08 00 62 10 80 17 00 00 00 00 00 00 F2 [00:11:57]Write i2c OK [00:11:57]MH_I2C_Read... [00:11:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:57]Read from MH i2c: E2 [00:11:57]MH_I2C_Read... [00:11:57]Read from MH i2c: E2 FD 00 [00:11:57]MH_I2C_Read... [00:11:57]Read from MH i2c: E2 FD 00 62 10 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CA [00:11:57]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:57]wFMCommunicate OK [00:11:57]wFMCommunicate request_size=4 [00:11:57]MH_SAM_APDU [00:11:57]CAPDU: 80 17 00 00 [00:11:57]Write to MH i2c: E2 08 00 63 10 80 17 00 00 00 00 00 00 F3 [00:11:57]Write i2c OK [00:11:57]MH_I2C_Read... [00:11:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:11:58]Read from MH i2c: E2 [00:11:58]MH_I2C_Read... [00:11:58]Read from MH i2c: E2 FD 00 [00:11:58]MH_I2C_Read... [00:11:58]Read from MH i2c: E2 FD 00 63 10 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6E [00:11:58]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:58]wFMCommunicate OK [00:11:58]wFMCommunicate request_size=4 [00:11:58]MH_SAM_APDU [00:11:58]CAPDU: 80 17 00 00 [00:11:58]Write to MH i2c: E2 08 00 64 10 80 17 00 00 00 00 00 00 F4 [00:11:58]Write i2c OK [00:11:58]MH_I2C_Read... [00:11:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [00:11:58]Read from MH i2c: E2 [00:11:58]MH_I2C_Read... [00:11:58]Read from MH i2c: E2 E4 00 [00:11:58]MH_I2C_Read... [00:11:58]Read from MH i2c: E2 E4 00 64 10 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D4 [00:11:58]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:11:58]wFMCommunicate OK [00:11:58]SAM_PROTO_GetFMData done [00:11:58]requested_item fm.sale_refund.total is exist - process it [00:11:58]requested_item fm.buy.total is exist - process it [00:11:58]requested_item shift.sale.total is exist - process it [00:11:58]SAM_PROTO_GetShiftData [00:11:58]wFMCommunicate request_size=4 [00:11:58]MH_SAM_APDU [00:11:58]CAPDU: 80 13 02 00 [00:11:58]Write to MH i2c: E2 08 00 65 10 80 13 02 00 00 00 00 00 F3 [00:11:58]Write i2c OK [00:11:58]MH_I2C_Read... [00:11:59]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:11:59]Read from MH i2c: E2 [00:11:59]MH_I2C_Read... [00:11:59]Read from MH i2c: E2 FD 00 [00:11:59]MH_I2C_Read... [00:11:59]Read from MH i2c: E2 FD 00 65 10 00 B0 04 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 09 [00:11:59]RAPDU: B0 04 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:11:59]wFMCommunicate OK [00:11:59]wFMCommunicate request_size=4 [00:11:59]MH_SAM_APDU [00:11:59]CAPDU: 80 17 00 00 [00:11:59]Write to MH i2c: E2 08 00 66 10 80 17 00 00 00 00 00 00 F6 [00:11:59]Write i2c OK [00:11:59]MH_I2C_Read... [00:11:59]OFD Sender: No OFD packet to send [00:12:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:00]Read from MH i2c: E2 [00:12:00]MH_I2C_Read... [00:12:00]Read from MH i2c: E2 FD 00 [00:12:00]MH_I2C_Read... [00:12:00]Read from MH i2c: E2 FD 00 66 10 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 10 [00:12:00]RAPDU: 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:00]wFMCommunicate OK [00:12:00]wFMCommunicate request_size=4 [00:12:00]MH_SAM_APDU [00:12:00]CAPDU: 80 17 00 00 [00:12:00]Write to MH i2c: E2 08 00 67 10 80 17 00 00 00 00 00 00 F7 [00:12:00]Write i2c OK [00:12:00]MH_I2C_Read... [00:12:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:00]Read from MH i2c: E2 [00:12:00]MH_I2C_Read... [00:12:00]Read from MH i2c: E2 FD 00 [00:12:00]MH_I2C_Read... [00:12:00]Read from MH i2c: E2 FD 00 67 10 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B4 [00:12:00]RAPDU: 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:00]wFMCommunicate OK [00:12:00]wFMCommunicate request_size=4 [00:12:00]MH_SAM_APDU [00:12:00]CAPDU: 80 17 00 00 [00:12:00]Write to MH i2c: E2 08 00 68 10 80 17 00 00 00 00 00 00 F8 [00:12:00]Write i2c OK [00:12:00]MH_I2C_Read... [00:12:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:01]Read from MH i2c: E2 [00:12:01]MH_I2C_Read... [00:12:01]Read from MH i2c: E2 FD 00 [00:12:01]MH_I2C_Read... [00:12:01]Read from MH i2c: E2 FD 00 68 10 00 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 90 00 6B [00:12:01]RAPDU: 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 90 00 [00:12:01]wFMCommunicate OK [00:12:01]wFMCommunicate request_size=4 [00:12:01]MH_SAM_APDU [00:12:01]CAPDU: 80 17 00 00 [00:12:01]Write to MH i2c: E2 08 00 69 10 80 17 00 00 00 00 00 00 F9 [00:12:01]Write i2c OK [00:12:01]MH_I2C_Read... [00:12:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 202! [00:12:01]Read from MH i2c: E2 [00:12:01]MH_I2C_Read... [00:12:01]Read from MH i2c: E2 CD 00 [00:12:01]MH_I2C_Read... [00:12:01]Read from MH i2c: E2 CD 00 69 10 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DD [00:12:01]RAPDU: 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:02]wFMCommunicate OK [00:12:02]SAM_PROTO_GetShiftData done [00:12:02]requested_item shift.sale.total_cash is exist - process it [00:12:02]requested_item shift.sale_refund.total is exist - process it [00:12:02]requested_item shift.sale_refund.total_cash is exist - process it [00:12:02]requested_item shift.buy.total is exist - process it [00:12:02]requested_item shift.buy.total_cash is exist - process it [00:12:02]produce_requested_data done [00:12:02]produce_requested_data return {"fm.sale.total":102260763.66,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":189040.68,"shift.sale.total_cash":121306.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:02]process_action_free get_value [00:12:02]json_value_free [00:12:02]json_value_free done [00:12:02]process_json_proto returns [00:12:02]Send response to host [00:12:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":102260763.66,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":189040.68,"shift.sale.total_cash":121306.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:02]free response buf [00:12:02]execute_script done [00:12:02]execute_script returns [00:12:02]free content buf [00:12:02]Sock 7.Close socket [00:12:02]Sock 7.Thread stoped [00:12:02]accept exits with 9 [00:12:02]New connection [00:12:02]New thread 3067354468 created [00:12:02]Thread 3067497828 joined [00:12:02]Waiting for new connection... [00:12:02] Sock 9.Parse request [00:12:02]Sock 9.Check first char [00:12:02]Sock 9.First char is OK [00:12:02]request: POST /json_proto HTTP/1.0 [00:12:02]Method: POST [00:12:02]URL: /json_proto [00:12:02]Method is POST - this is cgi request [00:12:02]url: /json_proto [00:12:02]query_string will be loaded in cgi processing [00:12:02]execute_cgi json_proto POST (null) [00:12:02]execute_cgi path=json_proto method=POST [00:12:02]POST find Content-Length [00:12:02]Host: 172.17.42.3:8080 [00:12:02]Content-Length: 278 [00:12:02]Content-Type: application/json [00:12:02] [00:12:02]POST finish read [00:12:02]Found Content-Length = 278 [00:12:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041C\u0435\u0434\u0435\u0442\u043A\u0443\u043B\u043E\u0432\u0430 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:12:02]execute_script... [00:12:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041C\u0435\u0434\u0435\u0442\u043A\u0443\u043B\u043E\u0432\u0430 \u0410. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:12:02]POST & json_proto [00:12:02]process_json_proto [00:12:02]json parsed OK: [00:12:02]protocol is kg_v1.0 [00:12:02]action value=close_shift [00:12:02]process_action close_shift [00:12:02]cmd_close_shift [00:12:02]MH_GetDate [00:12:02]Write to MH i2c: F0 00 00 6A 10 69 [00:12:02]Write i2c OK [00:12:02]MH_I2C_Read... [00:12:02]Read from MH i2c: F0 [00:12:02]MH_I2C_Read... [00:12:02]Read from MH i2c: F0 09 00 [00:12:02]MH_I2C_Read... [00:12:02]Read from MH i2c: F0 09 00 6A 10 00 53 28 20 67 0E CB 1F 67 D3 [00:12:02]GetLastDocTimeStamp 1730160694 [00:12:02]current date 1730160723 [00:12:02]FM_GetShiftState [00:12:02]SAM_PROTO_GetShiftState [00:12:02]wFMCommunicate request_size=4 [00:12:02]MH_SAM_APDU [00:12:02]CAPDU: 80 13 01 00 [00:12:02]Write to MH i2c: E2 08 00 6B 10 80 13 01 00 00 00 00 00 F8 [00:12:02]Write i2c OK [00:12:02]MH_I2C_Read... [00:12:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:12:02]Read from MH i2c: E2 [00:12:02]MH_I2C_Read... [00:12:02]Read from MH i2c: E2 0E 00 [00:12:02]MH_I2C_Read... [00:12:02]Read from MH i2c: E2 0E 00 6B 10 00 09 00 01 92 D8 1E 67 00 00 00 00 90 00 F3 [00:12:02]RAPDU: 09 00 01 92 D8 1E 67 00 00 00 00 90 00 [00:12:02]wFMCommunicate OK [00:12:02]SAM_PROTO_GetShiftState done [00:12:02]FM_GetShiftState done [00:12:02]KKMCreateCloseShiftDocument [00:12:02]Load OK [00:12:02]Malloc new data [00:12:02]MH_GetDate [00:12:02]Write to MH i2c: F0 00 00 6C 10 6B [00:12:02]Write i2c OK [00:12:02]MH_I2C_Read... [00:12:02]Read from MH i2c: F0 [00:12:02]MH_I2C_Read... [00:12:02]Read from MH i2c: F0 09 00 [00:12:02]MH_I2C_Read... [00:12:02]Read from MH i2c: F0 09 00 6C 10 00 53 28 20 67 0E CB 1F 67 D5 [00:12:02]Malloc new data [00:12:02]Malloc new data [00:12:02]Malloc new data [00:12:02]Malloc new data [00:12:02]KKMCreateCloseShiftDocument OK [00:12:02]KKMSetCloseShiftData OK [00:12:02]ProcessDocumentItem done err = 0, tmpTLVsize=77 [00:12:02]tlvbuf is 00681EA0 [00:12:02]KKMLoadAndSignCloseShiftData [00:12:02]SAM_PROTO_ProcessDocument [00:12:02]wFMCommunicate request_size=9 [00:12:02]MH_SAM_APDU [00:12:02]CAPDU: 80 15 01 00 04 05 00 4D 00 [00:12:02]Write to MH i2c: E2 0C 00 6D 10 80 15 01 00 04 00 05 00 4D 00 00 00 56 [00:12:02]Write i2c OK [00:12:02]MH_I2C_Read... [00:12:02]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:12:02]Read from MH i2c: E2 [00:12:02]MH_I2C_Read... [00:12:02]Read from MH i2c: E2 03 00 [00:12:02]MH_I2C_Read... [00:12:02]Read from MH i2c: E2 03 00 6D 10 00 90 00 F1 [00:12:02]RAPDU: 90 00 [00:12:02]wFMCommunicate OK [00:12:02]wFMCommunicate request_size=23 [00:12:02]MH_SAM_APDU [00:12:02]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:02]Write to MH i2c: E2 1A 00 6E 10 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 F3 [00:12:02]Write i2c OK [00:12:02]MH_I2C_Read... [00:12:02]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:12:02]Read from MH i2c: E2 [00:12:02]MH_I2C_Read... [00:12:02]Read from MH i2c: E2 03 00 [00:12:02]MH_I2C_Read... [00:12:02]Read from MH i2c: E2 03 00 6E 10 00 90 00 F2 [00:12:02]RAPDU: 90 00 [00:12:02]wFMCommunicate OK [00:12:02]wFMCommunicate request_size=36 [00:12:02]MH_SAM_APDU [00:12:02]CAPDU: 80 15 02 00 1F FD 03 1B 00 D0 9C D0 B5 D0 B4 D0 B5 D1 82 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 90 2E 20 [00:12:02]Write to MH i2c: E2 27 00 6F 10 80 15 02 00 1F 00 FD 03 1B 00 D0 9C D0 B5 D0 B4 D0 B5 D1 82 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 90 2E 20 00 00 6C [00:12:02]Write i2c OK [00:12:02]MH_I2C_Read... [00:12:02]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:12:02]Read from MH i2c: E2 [00:12:02]MH_I2C_Read... [00:12:02]Read from MH i2c: E2 03 00 [00:12:02]MH_I2C_Read... [00:12:02]Read from MH i2c: E2 03 00 6F 10 00 90 00 F3 [00:12:02]RAPDU: 90 00 [00:12:02]wFMCommunicate OK [00:12:02]wFMCommunicate request_size=13 [00:12:02]MH_SAM_APDU [00:12:02]CAPDU: 80 15 02 00 08 F4 03 04 00 53 28 20 67 [00:12:02]Write to MH i2c: E2 10 00 70 10 80 15 02 00 08 00 F4 03 04 00 53 28 20 67 00 00 0D [00:12:02]Write i2c OK [00:12:02]MH_I2C_Read... [00:12:02]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:12:02]Read from MH i2c: E2 [00:12:02]MH_I2C_Read... [00:12:02]Read from MH i2c: E2 03 00 [00:12:02]MH_I2C_Read... [00:12:02]Read from MH i2c: E2 03 00 70 10 00 90 00 F4 [00:12:02]RAPDU: 90 00 [00:12:02]wFMCommunicate OK [00:12:02]wFMCommunicate request_size=25 [00:12:02]MH_SAM_APDU [00:12:02]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 [00:12:02]Write to MH i2c: E2 1C 00 71 10 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 00 00 69 [00:12:02]Write i2c OK [00:12:02]MH_I2C_Read... [00:12:02]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:12:02]Read from MH i2c: E2 [00:12:02]MH_I2C_Read... [00:12:02]Read from MH i2c: E2 03 00 [00:12:02]MH_I2C_Read... [00:12:02]Read from MH i2c: E2 03 00 71 10 00 90 00 F5 [00:12:02]RAPDU: 90 00 [00:12:02]wFMCommunicate OK [00:12:02]wFMCommunicate request_size=4 [00:12:02]MH_SAM_APDU [00:12:02]CAPDU: 80 15 03 00 [00:12:02]Write to MH i2c: E2 08 00 72 10 80 15 03 00 00 00 00 00 03 [00:12:02]Write i2c OK [00:12:02]MH_I2C_Read... [00:12:03]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:12:03]Read from MH i2c: E2 [00:12:03]MH_I2C_Read... [00:12:03]Read from MH i2c: E2 FD 00 [00:12:03]MH_I2C_Read... [00:12:03]Read from MH i2c: E2 FD 00 72 10 00 F3 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B4 0A 01 00 0E 04 04 00 23 02 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B6 00 00 00 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 02 [00:12:03]RAPDU: F3 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B4 0A 01 00 0E 04 04 00 23 02 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B6 00 00 00 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:03]wFMCommunicate OK [00:12:03]SAM_PROTO_ProcessDocument answer len = 1267 [00:12:03]SAM_PROTO_ProcessDocument remain to read = 1019 [00:12:03]wFMCommunicate request_size=4 [00:12:03]MH_SAM_APDU [00:12:03]CAPDU: 80 17 00 00 [00:12:03]Write to MH i2c: E2 08 00 73 10 80 17 00 00 00 00 00 00 03 [00:12:03]Write i2c OK [00:12:03]MH_I2C_Read... [00:12:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:04]Read from MH i2c: E2 [00:12:04]MH_I2C_Read... [00:12:04]Read from MH i2c: E2 FD 00 [00:12:04]MH_I2C_Read... [00:12:04]Read from MH i2c: E2 FD 00 73 10 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 53 [00:12:04]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:04]wFMCommunicate OK [00:12:04]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:12:04]SAM_PROTO_ProcessDocument remain to read = 769 [00:12:04]wFMCommunicate request_size=4 [00:12:04]MH_SAM_APDU [00:12:04]CAPDU: 80 17 00 00 [00:12:04]Write to MH i2c: E2 08 00 74 10 80 17 00 00 00 00 00 00 04 [00:12:04]Write i2c OK [00:12:04]MH_I2C_Read... [00:12:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:04]Read from MH i2c: E2 [00:12:04]MH_I2C_Read... [00:12:04]Read from MH i2c: E2 FD 00 [00:12:04]MH_I2C_Read... [00:12:04]Read from MH i2c: E2 FD 00 74 10 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 90 00 66 [00:12:04]RAPDU: 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 OFD Sender: No OFD packet to send [00:12:05]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 90 00 [00:12:05]wFMCommunicate OK [00:12:05]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:12:05]SAM_PROTO_ProcessDocument remain to read = 519 [00:12:05]wFMCommunicate request_size=4 [00:12:05]MH_SAM_APDU [00:12:05]CAPDU: 80 17 00 00 [00:12:05]Write to MH i2c: E2 08 00 75 10 80 17 00 00 00 00 00 00 05 [00:12:05]Write i2c OK [00:12:05]MH_I2C_Read... [00:12:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:05]Read from MH i2c: E2 [00:12:05]MH_I2C_Read... [00:12:05]Read from MH i2c: E2 FD 00 [00:12:05]MH_I2C_Read... [00:12:05]Read from MH i2c: E2 FD 00 75 10 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 96 [00:12:05]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:05]wFMCommunicate OK [00:12:05]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:12:05]SAM_PROTO_ProcessDocument remain to read = 269 [00:12:05]wFMCommunicate request_size=4 [00:12:05]MH_SAM_APDU [00:12:05]CAPDU: 80 17 00 00 [00:12:05]Write to MH i2c: E2 08 00 76 10 80 17 00 00 00 00 00 00 06 [00:12:05]Write i2c OK [00:12:05]MH_I2C_Read... [00:12:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:06]Read from MH i2c: E2 [00:12:06]MH_I2C_Read... [00:12:06]Read from MH i2c: E2 FD 00 [00:12:06]MH_I2C_Read... [00:12:06]Read from MH i2c: E2 FD 00 76 10 00 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C7 [00:12:06]RAPDU: 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:06]wFMCommunicate OK [00:12:06]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:12:06]SAM_PROTO_ProcessDocument remain to read = 19 [00:12:06]wFMCommunicate request_size=4 [00:12:06]MH_SAM_APDU [00:12:06]CAPDU: 80 17 00 00 [00:12:06]Write to MH i2c: E2 08 00 77 10 80 17 00 00 00 00 00 00 07 [00:12:06]Write i2c OK [00:12:06]MH_I2C_Read... [00:12:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 19! [00:12:06]Read from MH i2c: E2 [00:12:06]MH_I2C_Read... [00:12:06]Read from MH i2c: E2 16 00 [00:12:06]MH_I2C_Read... [00:12:06]Read from MH i2c: E2 16 00 77 10 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 6D 89 F2 E1 41 5F 90 00 B0 [00:12:06]RAPDU: F6 03 01 00 06 F7 03 00 00 35 04 06 00 6D 89 F2 E1 41 5F 90 00 [00:12:06]wFMCommunicate OK [00:12:06]SAM_PROTO_ProcessDocument received (without SW) 19 bytes [00:12:06]SAM_PROTO_ProcessDocument done [00:12:06]1209 (1) - 1.0 - номер версии ФФД [00:12:06]1041 (16) - 0000000000871758 - номер ФМ [00:12:06]1040 (4) - 68276 - номер ФД [00:12:06]1038 (4) - 547 - номер смены [00:12:06]1118 (4) - 180 - количество кассовых чеков за смену [00:12:06]1111 (4) - 182 - общее количество ФД за смену [00:12:06]1194 (1196) - счетчики итогов смены [00:12:06] 1134 (4) - 180 - количество чеков со всеми признаками расчетов [00:12:06] 1129 (157) - счетчики операций «приход» [00:12:06] 1135 (4) - 180 - количество чеков по признаку расчетов [00:12:06] 1201 (4) - 189040.68 - общая итоговая сумма в чеках [00:12:06] 1136 (3) - 121306.00 - итоговая сумма в чеках наличными [00:12:06] 1138 (3) - 67734.68 - итоговая сумма в чеках безналичными [00:12:06] 1024 (123) - суммы налогов [00:12:06] 1006 (9) - суммы НДС [00:12:06] 1010 (1) - 0% - код ставки НДС [00:12:06] 1011 (0) - 0.00 - сумма НДС по ставке [00:12:06] 1006 (12) - суммы НДС [00:12:06] 1010 (1) - 12% - код ставки НДС [00:12:06] 1011 (3) - 20077.69 - сумма НДС по ставке [00:12:06] 1007 (9) - суммы НСП [00:12:06] 1014 (1) - 0% - код ставки НСП [00:12:06] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:06] 1007 (12) - суммы НСП [00:12:06] 1014 (1) - 1% - код ставки НСП [00:12:06] 1015 (3) - 1672.99 - сумма НСП по ставке [00:12:06] 1007 (9) - суммы НСП [00:12:06] 1014 (1) - 2% - код ставки НСП [00:12:06] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:06] 1007 (9) - суммы НСП [00:12:06] 1014 (1) - 3% - код ставки НСП [00:12:06] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:06] 1007 (9) - суммы НСП [00:12:06] 1014 (1) - 5% - код ставки НСП [00:12:06] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:06] 1007 (9) - суммы НСП [00:12:06] 1014 (1) - 0,50% - код ставки НСП [00:12:06] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:06] 1007 (9) - суммы НСП [00:12:06] 1014 (1) - 1,50% - код ставки НСП [00:12:06] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:06] 1130 (141) - счетчики операций «возврат прихода» [00:12:06] 1135 (4) - 0 - количество чеков по признаку расчетов [00:12:06] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:12:06] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:12:06] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:12:06] 1024 (117) - суммы налогов [00:12:06] 1006 (9) - суммы НДС [00:12:06] 1010 (1) - 0% - код ставки НДС [00:12:06] 1011 (0) - 0.00 - сумма НДС по ставке [00:12:06] 1006 (9) - суммы НДС [00:12:06] 1010 (1) - 12% - код ставки НДС [00:12:06] 1011 (0) - 0.00 - сумма НДС по ставке [00:12:06] 1007 (9) - суммы НСП [00:12:06] 1014 (1) - 0% - код ставки НСП [00:12:06] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:06] 1007 (9) - суммы НСП [00:12:06] 1014 (1) - 1% - код ставки НСП [00:12:06] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:06] 1007 (9) - суммы НСП [00:12:06] 1014 (1) - 2% - код ставки НСП [00:12:06] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:07] 1007 (9) - суммы НСП [00:12:07] 1014 (1) - 3% - код ставки НСП [00:12:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:07] 1007 (9) - суммы НСП [00:12:07] 1014 (1) - 5% - код ставки НСП [00:12:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:07] 1007 (9) - суммы НСП [00:12:07] 1014 (1) - 0,50% - код ставки НСП [00:12:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:07] 1007 (9) - суммы НСП [00:12:07] 1014 (1) - 1,50% - код ставки НСП [00:12:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:07] 1131 (141) - счетчики операций «расход» [00:12:07] 1135 (4) - 0 - количество чеков по признаку расчетов [00:12:07] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:12:07] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:12:07] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:12:07] 1024 (117) - суммы налогов [00:12:07] 1006 (9) - суммы НДС [00:12:07] 1010 (1) - 0% - код ставки НДС [00:12:07] 1011 (0) - 0.00 - сумма НДС по ставке [00:12:07] 1006 (9) - суммы НДС [00:12:07] 1010 (1) - 12% - код ставки НДС [00:12:07] 1011 (0) - 0.00 - сумма НДС по ставке [00:12:07] 1007 (9) - суммы НСП [00:12:07] 1014 (1) - 0% - код ставки НСП [00:12:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:07] 1007 (9) - суммы НСП [00:12:07] 1014 (1) - 1% - код ставки НСП [00:12:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:07] 1007 (9) - суммы НСП [00:12:07] 1014 (1) - 2% - код ставки НСП [00:12:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:07] 1007 (9) - суммы НСП [00:12:07] 1014 (1) - 3% - код ставки НСП [00:12:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:07] 1007 (9) - суммы НСП [00:12:07] 1014 (1) - 5% - код ставки НСП [00:12:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:07] 1007 (9) - суммы НСП [00:12:07] 1014 (1) - 0,50% - код ставки НСП [00:12:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:07] 1007 (9) - суммы НСП [00:12:07] 1014 (1) - 1,50% - код ставки НСП [00:12:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:07] 1132 (141) - счетчики операций «возврат расхода» [00:12:07] 1135 (4) - 0 - количество чеков по признаку расчетов [00:12:07] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:12:07] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:12:07] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:12:07] 1024 (117) - суммы налогов [00:12:07] 1006 (9) - суммы НДС [00:12:07] 1010 (1) - 0% - код ставки НДС [00:12:07] 1011 (0) - 0.00 - сумма НДС по ставке [00:12:07] 1006 (9) - суммы НДС [00:12:07] 1010 (1) - 12% - код ставки НДС [00:12:07] 1011 (0) - 0.00 - сумма НДС по ставке [00:12:07] 1007 (9) - суммы НСП [00:12:07] 1014 (1) - 0% - код ставки НСП [00:12:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:07] 1007 (9) - суммы НСП [00:12:07] 1014 (1) - 1% - код ставки НСП [00:12:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:07] 1007 (9) - суммы НСП [00:12:07] 1014 (1) - 2% - код ставки НСП [00:12:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:07] 1007 (9) - суммы НСП [00:12:07] 1014 (1) - 3% - код ставки НСП [00:12:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:07] 1007 (9) - суммы НСП [00:12:07] 1014 (1) - 5% - код ставки НСП [00:12:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:07] 1007 (9) - суммы НСП [00:12:07] 1014 (1) - 0,50% - код ставки НСП [00:12:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:07] 1007 (9) - суммы НСП [00:12:07] 1014 (1) - 1,50% - код ставки НСП [00:12:07] 1015 (0) - 0.00 - сумма НСП по ставке [00:12:07] 1133 (588) - - счетчики коррекции - не используются [00:12:07]1077 (6) - 120439252795743 - ФПД [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1209 (04B9) [00:12:07]Malloc new data [00:12:07]Processing tag 1041 (0411) [00:12:07]Processing tag 1040 (0410) [00:12:07]Malloc new data [00:12:07]Processing tag 1038 (040E) [00:12:07]Malloc new data [00:12:07]Processing tag 1118 (045E) [00:12:07]Malloc new data [00:12:07]Processing tag 1111 (0457) [00:12:07]Malloc new data [00:12:07]Processing tag 1194 (04AA) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1134 (046E) [00:12:07]Malloc new data [00:12:07]Processing tag 1129 (0469) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1135 (046F) [00:12:07]Malloc new data [00:12:07]Processing tag 1201 (04B1) [00:12:07]Malloc new data [00:12:07]Processing tag 1136 (0470) [00:12:07]Malloc new data [00:12:07]Processing tag 1138 (0472) [00:12:07]Malloc new data [00:12:07]Processing tag 1024 (0400) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1006 (03EE) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1010 (03F2) [00:12:07]Malloc new data [00:12:07]Processing tag 1011 (03F3) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1006 (03EE) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1010 (03F2) [00:12:07]Malloc new data [00:12:07]Processing tag 1011 (03F3) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]SetTLVBufToDocument err=0 [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1130 (046A) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1135 (046F) [00:12:07]Malloc new data [00:12:07]Processing tag 1201 (04B1) [00:12:07]Malloc new data [00:12:07]Processing tag 1136 (0470) [00:12:07]Malloc new data [00:12:07]Processing tag 1138 (0472) [00:12:07]Malloc new data [00:12:07]Processing tag 1024 (0400) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1006 (03EE) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1010 (03F2) [00:12:07]Malloc new data [00:12:07]Processing tag 1011 (03F3) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1006 (03EE) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1010 (03F2) [00:12:07]Malloc new data [00:12:07]Processing tag 1011 (03F3) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]SetTLVBufToDocument err=0 [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1131 (046B) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1135 (046F) [00:12:07]Malloc new data [00:12:07]Processing tag 1201 (04B1) [00:12:07]Malloc new data [00:12:07]Processing tag 1136 (0470) [00:12:07]Malloc new data [00:12:07]Processing tag 1138 (0472) [00:12:07]Malloc new data [00:12:07]Processing tag 1024 (0400) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1006 (03EE) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1010 (03F2) [00:12:07]Malloc new data [00:12:07]Processing tag 1011 (03F3) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1006 (03EE) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1010 (03F2) [00:12:07]Malloc new data [00:12:07]Processing tag 1011 (03F3) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]SetTLVBufToDocument err=0 [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1132 (046C) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1135 (046F) [00:12:07]Malloc new data [00:12:07]Processing tag 1201 (04B1) [00:12:07]Malloc new data [00:12:07]Processing tag 1136 (0470) [00:12:07]Malloc new data [00:12:07]Processing tag 1138 (0472) [00:12:07]Malloc new data [00:12:07]Processing tag 1024 (0400) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1006 (03EE) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1010 (03F2) [00:12:07]Malloc new data [00:12:07]Processing tag 1011 (03F3) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1006 (03EE) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1010 (03F2) [00:12:07]Malloc new data [00:12:07]Processing tag 1011 (03F3) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:07]Processing tag 1007 (03EF) [00:12:07]Load OK [00:12:07]SetTLVBufToDocument [00:12:07]Processing tag 1014 (03F6) [00:12:07]Malloc new data [00:12:07]Processing tag 1015 (03F7) [00:12:07]Malloc new data [00:12:07]SetTLVBufToDocument err=0 [00:12:08]Processing tag 1007 (03EF) [00:12:08]Load OK [00:12:08]SetTLVBufToDocument [00:12:08]Processing tag 1014 (03F6) [00:12:08]Malloc new data [00:12:08]Processing tag 1015 (03F7) [00:12:08]Malloc new data [00:12:08]SetTLVBufToDocument err=0 [00:12:08]Processing tag 1007 (03EF) [00:12:08]Load OK [00:12:08]SetTLVBufToDocument [00:12:08]Processing tag 1014 (03F6) [00:12:08]Malloc new data [00:12:08]Processing tag 1015 (03F7) [00:12:08]Malloc new data [00:12:08]SetTLVBufToDocument err=0 [00:12:08]Processing tag 1007 (03EF) [00:12:08]Load OK [00:12:08]SetTLVBufToDocument [00:12:08]Processing tag 1014 (03F6) [00:12:08]Malloc new data [00:12:08]Processing tag 1015 (03F7) [00:12:08]Malloc new data [00:12:08]SetTLVBufToDocument err=0 [00:12:08]SetTLVBufToDocument err=0 [00:12:08]SetTLVBufToDocument err=0 [00:12:08]Processing tag 1133 (046D) [00:12:08]Malloc new data [00:12:08]SetTLVBufToDocument err=0 [00:12:08]Processing tag 1077 (0435) [00:12:08]Malloc new data [00:12:08]SetTLVBufToDocument err=0 [00:12:08]Malloc new data [00:12:08]SAM_PROTO_GetFMData [00:12:08]wFMCommunicate request_size=4 [00:12:08]MH_SAM_APDU [00:12:08]CAPDU: 80 13 03 00 [00:12:08]Write to MH i2c: E2 08 00 78 10 80 13 03 00 00 00 00 00 07 [00:12:08]Write i2c OK [00:12:08]MH_I2C_Read... [00:12:08]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:12:08]Read from MH i2c: E2 [00:12:08]MH_I2C_Read... [00:12:08]Read from MH i2c: E2 FD 00 [00:12:08]MH_I2C_Read... [00:12:08]Read from MH i2c: E2 FD 00 78 10 00 C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 C8 [00:12:08]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 [00:12:08]wFMCommunicate OK [00:12:08]wFMCommunicate request_size=4 [00:12:08]MH_SAM_APDU [00:12:08]CAPDU: 80 17 00 00 [00:12:08]Write to MH i2c: E2 08 00 79 10 80 17 00 00 00 00 00 00 09 [00:12:08]Write i2c OK [00:12:08]MH_I2C_Read... [00:12:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:09]Read from MH i2c: E2 [00:12:09]MH_I2C_Read... [00:12:09]Read from MH i2c: E2 FD 00 [00:12:09]MH_I2C_Read... [00:12:09]Read from MH i2c: E2 FD 00 79 10 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1B [00:12:09]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:09]wFMCommunicate OK [00:12:09]wFMCommunicate request_size=4 [00:12:09]MH_SAM_APDU [00:12:09]CAPDU: 80 17 00 00 [00:12:09]Write to MH i2c: E2 08 00 7A 10 80 17 00 00 00 00 00 00 0A [00:12:09]Write i2c OK [00:12:09]MH_I2C_Read... [00:12:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:09]Read from MH i2c: E2 [00:12:09]MH_I2C_Read... [00:12:09]Read from MH i2c: E2 FD 00 [00:12:09]MH_I2C_Read... [00:12:09]Read from MH i2c: E2 FD 00 7A 10 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E2 [00:12:10]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 OFD Sender: No OFD packet to send [00:12:10]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 90 00 [00:12:10]wFMCommunicate OK [00:12:10]wFMCommunicate request_size=4 [00:12:10]MH_SAM_APDU [00:12:10]CAPDU: 80 17 00 00 [00:12:10]Write to MH i2c: E2 08 00 7B 10 80 17 00 00 00 00 00 00 0B [00:12:10]Write i2c OK [00:12:10]MH_I2C_Read... [00:12:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:10]Read from MH i2c: E2 [00:12:10]MH_I2C_Read... [00:12:10]Read from MH i2c: E2 FD 00 [00:12:10]MH_I2C_Read... [00:12:10]Read from MH i2c: E2 FD 00 7B 10 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 86 [00:12:11]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:11]wFMCommunicate OK [00:12:11]wFMCommunicate request_size=4 [00:12:11]MH_SAM_APDU [00:12:11]CAPDU: 80 17 00 00 [00:12:11]Write to MH i2c: E2 08 00 7C 10 80 17 00 00 00 00 00 00 0C [00:12:11]Write i2c OK [00:12:11]MH_I2C_Read... [00:12:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [00:12:11]Read from MH i2c: E2 [00:12:11]MH_I2C_Read... [00:12:11]Read from MH i2c: E2 E4 00 [00:12:11]MH_I2C_Read... [00:12:11]Read from MH i2c: E2 E4 00 7C 10 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EC [00:12:11]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:12]wFMCommunicate OK [00:12:12]SAM_PROTO_GetFMData done [00:12:12]Malloc new data [00:12:12]Malloc new data [00:12:12]Malloc new data [00:12:12]Malloc new data [00:12:12]KKMLoadAndSignCloseShiftData err=0 [00:12:12]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Медеткулова А. 29.10.2024 00:12 Смена: 547 РНМ: 0000000000091759 ЗНМ: 0300000093 СНО: Общий режим Чеков за смену: 180 ФД за смену: 182 Всего чеков: 180 ИТОГИ ПРИХОД Чеков: 180 Общий итог: 189040.68 Итого наличными: 121306.00 Итого безнал.: 67734.68 НДС 0% : 0.00 НДС 12% : 20077.69 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 1672.99 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 121306.00 НС Приход: 102260763.66 НС Возвр.Прихода: 837242.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 68276 ФМ: 0000000000871758 ФПД: 120439252795743 [00:12:12]StoreToDocumentArchive [00:12:12]shift 547 fd 68276 [00:12:12]save to /storage/0547/doc_00068276 [00:12:12]save last doc name /storage/0547/doc_00068276 to /storage/kkm_last_doc_name [00:12:12]save OK [00:12:12]Clear old archive folders... [00:12:12]Remove dir /storage/0522 [00:12:12]opendir ok [00:12:12]file . [00:12:12]file .. [00:12:12]file doc_1730160594 [00:12:12]remove file /storage/0522/doc_1730160594 [00:12:12]file doc_1730160702 [00:12:12]remove file /storage/0522/doc_1730160702 [00:12:12]remove dir /storage/0522 [00:12:12]NVStorageSaveData kkm_registers [00:12:12]File name is /storage/kkm_registers [00:12:12]Write 24 bytes [00:12:12]NVStorageSaveData done [00:12:12]NVStorageSaveData kkm_registers [00:12:12]File name is /storage/kkm_registers [00:12:12]Write 24 bytes [00:12:12]NVStorageSaveData done [00:12:12]ProcessDocumentItem done err = 0, tmpTLVsize=1387 [00:12:12]tlvbuf is 006D1310 [00:12:12]SAM_PROTO_ClearQueue [00:12:12]wFMCommunicate request_size=4 [00:12:12]MH_SAM_APDU [00:12:12]CAPDU: 80 09 00 00 [00:12:12]Write to MH i2c: E2 08 00 7D 10 80 09 00 00 00 00 00 00 FF [00:12:12]Write i2c OK [00:12:12]MH_I2C_Read... [00:12:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:12:12]Read from MH i2c: E2 [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: E2 03 00 [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: E2 03 00 7D 10 00 90 00 01 [00:12:12]RAPDU: 90 00 [00:12:12]wFMCommunicate OK [00:12:12]SAM_PROTO_ClearQueue done [00:12:12]KKMCreateOFDPacket [00:12:12]OFDProtocolAddRootSTLVToBuf [00:12:12]FM_MakeSignedData [00:12:12]FM_MakeSignedData [00:12:12]SAM_PROTO_SignData [00:12:12]wFMCommunicate request_size=4 [00:12:12]MH_SAM_APDU [00:12:12]CAPDU: 80 0D 01 02 [00:12:12]Write to MH i2c: E2 08 00 7E 10 80 0D 01 02 00 00 00 00 07 [00:12:12]Write i2c OK [00:12:12]MH_I2C_Read... [00:12:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:12:12]Read from MH i2c: E2 [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: E2 03 00 [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: E2 03 00 7E 10 00 90 00 02 [00:12:12]RAPDU: 90 00 [00:12:12]wFMCommunicate OK [00:12:12]wFMCommunicate request_size=255 [00:12:12]MH_SAM_APDU [00:12:12]CAPDU: 80 0D 02 02 FA 05 00 6B 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9C D0 B5 D0 B4 D0 B5 D1 82 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 90 2E 20 F4 03 04 00 53 28 20 67 0E 04 04 00 23 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 5E 04 04 00 B4 00 00 00 57 04 04 00 B6 00 00 00 AA 04 D7 04 6E 04 04 00 B4 00 00 00 69 04 A4 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 00 04 82 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 D9 A2 1E 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 [00:12:12]Write to MH i2c: E2 02 01 7F 10 80 0D 02 02 FA 00 05 00 6B 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9C D0 B5 D0 B4 D0 B5 D1 82 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 90 2E 20 F4 03 04 00 53 28 20 67 0E 04 04 00 23 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 5E 04 04 00 B4 00 00 00 57 04 04 00 B6 00 00 00 AA 04 D7 04 6E 04 04 00 B4 00 00 00 69 04 A4 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 00 04 82 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 D9 A2 1E 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 00 00 64 [00:12:12]Write i2c OK [00:12:12]MH_I2C_Read... [00:12:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:12:13]Read from MH i2c: E2 [00:12:13]MH_I2C_Read... [00:12:13]Read from MH i2c: E2 03 00 [00:12:13]MH_I2C_Read... [00:12:13]Read from MH i2c: E2 03 00 7F 10 00 90 00 03 [00:12:13]RAPDU: 90 00 [00:12:13]wFMCommunicate OK [00:12:13]wFMCommunicate request_size=255 [00:12:13]MH_SAM_APDU [00:12:13]CAPDU: 80 0D 02 02 FA 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 0C 00 F6 03 01 00 01 F7 03 03 00 83 8D 02 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 [00:12:13]Write to MH i2c: E2 02 01 80 10 80 0D 02 02 FA 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 0C 00 F6 03 01 00 01 F7 03 03 00 83 8D 02 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 00 00 8D [00:12:13]Write i2c OK [00:12:13]MH_I2C_Read... [00:12:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:12:13]Read from MH i2c: E2 [00:12:13]MH_I2C_Read... [00:12:13]Read from MH i2c: E2 03 00 [00:12:13]MH_I2C_Read... [00:12:13]Read from MH i2c: E2 03 00 80 10 00 90 00 04 [00:12:13]RAPDU: 90 00 [00:12:13]wFMCommunicate OK [00:12:13]wFMCommunicate request_size=255 [00:12:13]MH_SAM_APDU [00:12:13]CAPDU: 80 0D 02 02 FA 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:12:14]Write to MH i2c: E2 02 01 81 10 80 0D 02 02 FA 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 00 CF [00:12:14]Write i2c OK [00:12:14]MH_I2C_Read... [00:12:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:12:14]Read from MH i2c: E2 [00:12:14]MH_I2C_Read... [00:12:14]Read from MH i2c: E2 03 00 [00:12:14]MH_I2C_Read... [00:12:14]Read from MH i2c: E2 03 00 81 10 00 90 00 05 [00:12:14]RAPDU: 90 00 [00:12:14]wFMCommunicate OK [00:12:14]wFMCommunicate request_size=255 [00:12:14]MH_SAM_APDU [00:12:14]CAPDU: 80 0D 02 02 FA 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 [00:12:14]Write to MH i2c: E2 02 01 82 10 80 0D 02 02 FA 00 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 00 00 C8 [00:12:15]Write i2c OK [00:12:15]MH_I2C_Read... [00:12:15]OFD Sender: No OFD packet to send [00:12:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:12:15]Read from MH i2c: E2 [00:12:15]MH_I2C_Read... [00:12:15]Read from MH i2c: E2 03 00 [00:12:15]MH_I2C_Read... [00:12:15]Read from MH i2c: E2 03 00 82 10 00 90 00 06 [00:12:15]RAPDU: 90 00 [00:12:15]wFMCommunicate OK [00:12:15]wFMCommunicate request_size=255 [00:12:15]MH_SAM_APDU [00:12:15]CAPDU: 80 0D 02 02 FA 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [00:12:15]Write to MH i2c: E2 02 01 83 10 80 0D 02 02 FA 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 00 00 99 [00:12:16]Write i2c OK [00:12:16]MH_I2C_Read... [00:12:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:12:16]Read from MH i2c: E2 [00:12:16]MH_I2C_Read... [00:12:16]Read from MH i2c: E2 03 00 [00:12:16]MH_I2C_Read... [00:12:16]Read from MH i2c: E2 03 00 83 10 00 90 00 07 [00:12:16]RAPDU: 90 00 [00:12:16]wFMCommunicate OK [00:12:16]wFMCommunicate request_size=146 [00:12:16]MH_SAM_APDU [00:12:16]CAPDU: 80 0D 02 02 8D 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B4 0A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 35 04 06 00 6D 89 F2 E1 41 5F [00:12:16]Write to MH i2c: E2 95 00 84 10 80 0D 02 02 8D 00 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B4 0A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 35 04 06 00 6D 89 F2 E1 41 5F 00 00 87 [00:12:16]Write i2c OK [00:12:16]MH_I2C_Read... [00:12:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:12:16]Read from MH i2c: E2 [00:12:16]MH_I2C_Read... [00:12:16]Read from MH i2c: E2 03 00 [00:12:16]MH_I2C_Read... [00:12:16]Read from MH i2c: E2 03 00 84 10 00 90 00 08 [00:12:16]RAPDU: 90 00 [00:12:16]wFMCommunicate OK [00:12:16]wFMCommunicate request_size=4 [00:12:16]MH_SAM_APDU [00:12:16]CAPDU: 80 0D 03 02 [00:12:16]Write to MH i2c: E2 08 00 85 10 80 0D 03 02 00 00 00 00 10 [00:12:16]Write i2c OK [00:12:16]MH_I2C_Read... [00:12:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:12:16]Read from MH i2c: E2 [00:12:16]MH_I2C_Read... [00:12:16]Read from MH i2c: E2 0B 00 [00:12:16]MH_I2C_Read... [00:12:16]Read from MH i2c: E2 0B 00 85 10 00 32 13 06 1F DA 79 C0 ED 90 00 7B [00:12:16]RAPDU: 32 13 06 1F DA 79 C0 ED 90 00 [00:12:16]wFMCommunicate OK [00:12:16]SAM_PROTO_SignData done [00:12:16]FM_MakeSignedData done [00:12:16]CreateOFDProtocolMessage [00:12:16]wFMCommunicate request_size=4 [00:12:16]MH_SAM_APDU [00:12:16]CAPDU: 80 11 00 00 [00:12:16]Write to MH i2c: E2 08 00 86 10 80 11 00 00 00 00 00 00 10 [00:12:16]Write i2c OK [00:12:16]MH_I2C_Read... [00:12:16]Read from MH i2c: E2 [00:12:16]MH_I2C_Read... [00:12:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:12:16]Read from MH i2c: E2 17 00 [00:12:16]MH_I2C_Read... [00:12:16]Read from MH i2c: E2 17 00 86 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 67 [00:12:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:12:17]wFMCommunicate OK [00:12:17]CreateOFDProtocolMessage done [00:12:17]OFDSenderStorePacket 68276 [00:12:17]StoreOFDPacket docnum=68276 [00:12:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 7F 05 00 00 7A 6A 77 05 B2 D6 5A 05 01 00 05 00 6B 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9C D0 B5 D0 B4 D0 B5 D1 82 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 90 2E 20 F4 03 04 00 53 28 20 67 0E 04 04 00 23 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 5E 04 04 00 B4 00 00 00 57 04 04 00 B6 00 00 00 AA 04 D7 04 6E 04 04 00 B4 00 00 00 69 04 A4 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 00 04 82 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 D9 A2 1E 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 0C 00 F6 03 01 00 01 F7 03 03 00 83 8D 02 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 B4 0A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 35 04 06 00 6D 89 F2 E1 41 5F 32 13 06 1F DA 79 C0 ED [00:12:17]CheckFolder [00:12:17]dirname=/storage/ofd_packets [00:12:17]CheckFolder done [00:12:17]ProducePacketName [00:12:17]name=ofd_packets/00068276 [00:12:17]NVStorageSaveData ofd_packets/00068276 [00:12:17]File name is /storage/ofd_packets/00068276 [00:12:17]Write 1437 bytes [00:12:17]NVStorageSaveData done [00:12:17]OFDSenderStorePacket done [00:12:17]KKMCreateOFDPacket done [00:12:17]NVStorageSaveData kkm_last_timestamp [00:12:17]File name is /storage/kkm_last_timestamp [00:12:17]Write 4 bytes [00:12:17]NVStorageSaveData done [00:12:17]ExternCall_PrintAddStr [00:12:17]wPrintStart [00:12:17]Write to MH i2c: 01 00 00 87 10 97 [00:12:17]Write i2c OK [00:12:17]MH_I2C_Read... [00:12:17]Read from MH i2c: 01 [00:12:17]MH_I2C_Read... [00:12:17]Read from MH i2c: 01 07 00 [00:12:17]MH_I2C_Read... [00:12:17]Read from MH i2c: 01 07 00 87 10 00 00 00 00 00 FF 0F AC [00:12:17]RasterBufferAndPrint [00:12:17]line Отчет о закрытии смены [00:12:17]line ФФД: 1.0 [00:12:17]line ИНН: 02508201610067 [00:12:17]line Кассир: Медеткулова А. [00:12:17]line 29.10.2024 00:12 [00:12:17]line Смена: 547 [00:12:17]line РНМ: 0000000000091759 [00:12:17]line ЗНМ: 0300000093 [00:12:17]line СНО: Общий режим [00:12:17]line Чеков за смену: 180 [00:12:17]line ФД за смену: 182 [00:12:17]line Всего чеков: 180 [00:12:17]line ИТОГИ ПРИХОД [00:12:17]line Чеков: 180 [00:12:17]line Общий итог: 189040.68 [00:12:17]line Итого наличными: 121306.00 [00:12:17]line Итого безнал.: 67734.68 [00:12:17]line НДС 0% : 0.00 [00:12:17]line НДС 12% : 20077.69 [00:12:17]line НСП 0% : 0.00 [00:12:17]line НСП 1,50% : 0.00 [00:12:17]line НСП 0,50% : 0.00 [00:12:17]line НСП 5% : 0.00 [00:12:17]line НСП 3% : 0.00 [00:12:17]line НСП 2% : 0.00 [00:12:17]line НСП 1% : 1672.99 [00:12:17]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:12:17]line Чеков: 0 [00:12:17]line Общий итог: 0.00 [00:12:17]line Итого наличными: 0.00 [00:12:17]line Итого безнал.: 0.00 [00:12:17]line НДС 0% : 0.00 [00:12:17]line НДС 12% : 0.00 [00:12:17]line НСП 0% : 0.00 [00:12:17]line НСП 1,50% : 0.00 [00:12:17]line НСП 0,50% : 0.00 [00:12:17]line НСП 5% : 0.00 [00:12:17]line НСП 3% : 0.00 [00:12:17]line НСП 2% : 0.00 [00:12:17]line НСП 1% : 0.00 [00:12:17]line ИТОГИ РАСХОД [00:12:17]line Чеков: 0 [00:12:17]line Общий итог: 0.00 [00:12:17]line Итого наличными: 0.00 [00:12:17]line Итого безнал.: 0.00 [00:12:17]line НДС 0% : 0.00 [00:12:17]line НДС 12% : 0.00 [00:12:17]line НСП 0% : 0.00 [00:12:17]line НСП 1,50% : 0.00 [00:12:17]line НСП 0,50% : 0.00 [00:12:17]line НСП 5% : 0.00 [00:12:17]line НСП 3% : 0.00 [00:12:17]line НСП 2% : 0.00 [00:12:17]line НСП 1% : 0.00 [00:12:17]line ИТОГИ ВОЗВРАТ РАСХОДА [00:12:17]line Чеков: 0 [00:12:17]line Общий итог: 0.00 [00:12:17]line Итого наличными: 0.00 [00:12:17]line Итого безнал.: 0.00 [00:12:17]line НДС 0% : 0.00 [00:12:17]line НДС 12% : 0.00 [00:12:17]line НСП 0% : 0.00 [00:12:17]line НСП 1,50% : 0.00 [00:12:17]line НСП 0,50% : 0.00 [00:12:17]line НСП 5% : 0.00 [00:12:17]line НСП 3% : 0.00 [00:12:17]line НСП 2% : 0.00 [00:12:17]line НСП 1% : 0.00 [00:12:17]line Сумма внесений: 0.00 [00:12:17]line Сумма выплат: 0.00 [00:12:17]line Нал. в кассе: 121306.00 [00:12:17]line НС Приход: 102260763.66 [00:12:17]line НС Возвр.Прихода: 837242.00 [00:12:17]line НС Расход: 0.00 [00:12:17]line НС Возвр.Расхода: 0.00 [00:12:17]line ФД: 68276 [00:12:17]line ФМ: 0000000000871758 [00:12:17]line ФПД: 120439252795743 [00:12:17]OFD Sender: Processing packet 68276 [packets to send 27, broken 26] [00:12:17]ProducePacketName [00:12:17]name=ofd_packets/00068276 [00:12:17]OFD Sender: To server: pG, [00:12:17]CommunicateWithHost lk.salyk.kg:30040 [00:12:17]ConnectInit lk.salyk.kg [00:12:17]written 0, free lines is 4095 [00:12:17]Connected sock=10 [00:12:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 7F 05 00 00 7A 6A 77 05 B2 D6 5A 05 01 00 05 00 6B 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 9C D0 B5 D0 B4 D0 B5 D1 82 D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 90 2E 20 F4 03 04 00 53 28 20 67 0E 04 04 00 23 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 5E 04 04 00 B4 00 00 00 57 04 04 00 B6 00 00 00 AA 04 D7 04 6E 04 04 00 B4 00 00 00 69 04 A4 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 00 04 82 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 D9 A2 1E 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 0C 00 F6 03 01 00 01 F7 03 03 00 83 8D 02 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 Write to MH i2c: 04 01 01 00 00 00 00 D7 10 70 04 01 00 00 72 04 01 00 00 E7 00 [00:12:18]04 Write i2c OK [00:12:18]7E MH_I2C_Read... [00:12:18]00 EE 03 0A 00 F2 03 01 00 00 F3 03 Read from MH i2c: 01 01 00 [00:12:18]00 MH_I2C_Read... [00:12:18]EE Read from MH i2c: 03 01 0A 07 00 00 F2 [00:12:18]03 MH_I2C_Read... [00:12:18]01 00 01 F3 03 01 00 00 EF 03 0A Read from MH i2c: 00 01 F6 07 03 00 01 D7 00 10 00 00 F7 00 03 00 01 00 00 00 00 91 EF 0B 03 8A 0A [00:12:18]00 RasterBufferAndPrint [00:12:18]F6 line [00:12:18]line [00:12:18]03 line [00:12:18]01 line [00:12:18]00 line [00:12:18]06 F7 03 01 00 00 EF 03 0A written 0, free lines is 3152 [00:12:18]00 F6 03 01 00 05 F7 03 01 00 MH_Cut [00:12:18]00 Write to MH i2c: EF D1 03 01 0A 00 00 DE F6 10 03 01 01 C0 [00:12:18]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 Write i2c OK [00:12:19]03 MH_I2C_Read... [00:12:19]01 Read from MH i2c: 00 D1 01 [00:12:19]F3 MH_I2C_Read... [00:12:19]03 00 00 EF 03 09 00 F6 03 01 00 Read from MH i2c: 00 D1 F7 01 03 00 00 [00:12:19]00 EF 03 09 00 F6 03 01 00 01 F7 MH_I2C_Read... [00:12:19]03 Read from MH i2c: 00 D1 00 01 EF 00 03 DE 09 10 00 00 F6 BF 03 [00:12:19]01 Write to MH i2c: 00 01 02 00 F7 00 03 DF 00 10 00 EF EF [00:12:19]03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 Write i2c OK [00:12:19]09 MH_I2C_Read... [00:12:19]00 F6 03 01 00 04 F7 03 00 00 EF 03 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 *** Cut start [00:12:19]00 *** Partial cut [00:12:19]EF 03 09 00 F6 *** CUTSNS_PIN = 1 [00:12:19]03 *** CUTSNS_PIN = 0 [00:12:19]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 *** Brake cut motor [00:12:19]00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B4 0A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 *** Stop cut motor [00:12:20]38 *** Cut end [00:12:20]35 04 06 00 6D 89 F2 E1 41 5F 32 13 06 1F DA 79 C0 ED [00:12:20]Read from MH i2c: 01 [00:12:20]MH_I2C_Read... [00:12:20]Read from MH i2c: 01 07 00 [00:12:20]MH_I2C_Read... [00:12:20]Read from MH i2c: 01 07 00 DF 10 00 00 00 00 00 FF 0F 04 [00:12:20]process_action close_shift done [00:12:20]requested_data is exist [00:12:20]produce_requested_data [00:12:20]requested_item fd.num is exist - process it [00:12:20]SAM_PROTO_GetFieldsCounters [00:12:20]wFMCommunicate request_size=4 [00:12:20]MH_SAM_APDU [00:12:20]CAPDU: 80 13 00 00 [00:12:20]Write to MH i2c: E2 08 00 E0 10 80 13 00 00 00 00 00 00 6C [00:12:20]Write i2c OK [00:12:20]MH_I2C_Read... [00:12:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 *** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:12:20]30 30 38 37 31 37 35 38 4F 00 00 00 F5 45 47 00 2D 82 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B4 0A 01 00 F4 03 04 00 43 D4 1F 67 B6 04 01 00 00 AE 04 81 61 77 88 67 D0 [00:12:20]CommunicateWithHost err = 0 [00:12:20]CheckOFDResponse [00:12:20]1017 (14) - 77093643461234 [00:12:20]1041 (16) - 0000000000871758 [00:12:20]1040 (4) - 68276 [00:12:20]1012 (4) - 28.10.2024 18:13 [00:12:20]1206 (1) - 0 [00:12:20]OFD Sender: Remove packet 68276 [00:12:20]ProducePacketName [00:12:20]name=ofd_packets/00068276 [00:12:20]NVStorageDeleteData [00:12:20]Read from MH i2c: E2 [00:12:20]MH_I2C_Read... [00:12:20]Read from MH i2c: E2 62 00 [00:12:20]MH_I2C_Read... [00:12:20]Read from MH i2c: E2 62 00 E0 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B4 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B6 00 00 00 19 04 04 00 00 00 00 00 90 00 98 [00:12:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B4 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B6 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:12:20]wFMCommunicate OK [00:12:20]SAM_PROTO_GetFieldsCounters done [00:12:20]requested_item shift.num is exist - process it [00:12:20]requested_item shift.opened is exist - process it [00:12:20]req_shift_opened [00:12:20]FM_GetShiftState [00:12:20]SAM_PROTO_GetShiftState [00:12:20]wFMCommunicate request_size=4 [00:12:20]MH_SAM_APDU [00:12:20]CAPDU: 80 13 01 00 [00:12:20]Write to MH i2c: E2 08 00 E1 10 80 13 01 00 00 00 00 00 6E [00:12:20]Write i2c OK [00:12:20]MH_I2C_Read... [00:12:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:12:20]Read from MH i2c: E2 [00:12:20]MH_I2C_Read... [00:12:20]Read from MH i2c: E2 0E 00 [00:12:20]MH_I2C_Read... [00:12:20]Read from MH i2c: E2 0E 00 E1 10 00 09 00 00 00 00 00 00 00 00 00 00 90 00 79 [00:12:20]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:12:20]wFMCommunicate OK [00:12:20]SAM_PROTO_GetShiftState done [00:12:20]FM_GetShiftState done [00:12:20]req_shift_opened done [00:12:20]requested_item shift.open_date is exist - process it [00:12:20]req_shift_open_date [00:12:20]FM_GetShiftState [00:12:20]SAM_PROTO_GetShiftState [00:12:20]wFMCommunicate request_size=4 [00:12:20]MH_SAM_APDU [00:12:20]CAPDU: 80 13 01 00 [00:12:20]Write to MH i2c: E2 08 00 E2 10 80 13 01 00 00 00 00 00 6F [00:12:20]Write i2c OK [00:12:20]MH_I2C_Read... [00:12:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:12:21]Read from MH i2c: E2 [00:12:21]MH_I2C_Read... [00:12:21]Read from MH i2c: E2 0E 00 [00:12:21]MH_I2C_Read... [00:12:21]Read from MH i2c: E2 0E 00 E2 10 00 09 00 00 00 00 00 00 00 00 00 00 90 00 7A [00:12:21]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:12:21]wFMCommunicate OK [00:12:21]SAM_PROTO_GetShiftState done [00:12:21]FM_GetShiftState done [00:12:21]req_shift_open_date done [00:12:21]produce_requested_data done [00:12:21]produce_requested_data return {"fd.num":68276,"shift.num":547,"shift.opened":0,"shift.open_date":0} [00:12:21]process_action_free close_shift [00:12:21]json_value_free [00:12:21]json_value_free done [00:12:21]process_json_proto returns [00:12:21]Send response to host [00:12:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":68276,"shift.num":547,"shift.opened":0,"shift.open_date":0}}} [00:12:21]free response buf [00:12:21]execute_script done [00:12:21]execute_script returns [00:12:21]free content buf [00:12:21]Sock 9.Close socket [00:12:21]Sock 9.Thread stoped [00:12:21]OFD Sender: No OFD packet to send [00:12:26]OFD Sender: No OFD packet to send [00:12:31]OFD Sender: No OFD packet to send [00:12:36]OFD Sender: No OFD packet to send [00:12:41]OFD Sender: No OFD packet to send [00:12:46]OFD Sender: No OFD packet to send [00:12:49]int [00:12:49]Write to MH i2c: 01 00 00 E3 10 F3 [00:12:49]*** FLAG_PRN_KEY set [00:12:49]Write i2c OK [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: 01 [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: 01 07 00 [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: 01 07 00 E3 10 00 08 00 00 00 FF 0F 10 [00:12:49]state=0 [00:12:49]Key pressed [00:12:49]Feed [00:12:49]Write to MH i2c: D8 00 00 E4 10 CB [00:12:49]Write i2c OK [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: D8 [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: D8 01 00 [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: D8 01 00 E4 10 00 CC [00:12:49]int line is 0 - check status [00:12:49]Write to MH i2c: 01 00 00 E5 10 F5 [00:12:49]Write i2c OK [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: 01 [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: 01 07 00 [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: 01 07 00 E5 10 00 48 00 00 00 3C 00 80 [00:12:49]state=2 [00:12:49]Key pressed [00:12:49]int [00:12:49]Write to MH i2c: 01 00 00 E6 10 F6 [00:12:49]Write i2c OK [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: 01 [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: 01 07 00 [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: 01 07 00 E6 10 00 48 00 00 00 3C 00 81 [00:12:49]state=2 [00:12:49]Key pressed [00:12:49]int [00:12:49]Write to MH i2c: 01 00 00 E7 10 F7 [00:12:49]*** FLAG_PRN_KEY reset [00:12:49]Write i2c OK [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: 01 [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: 01 07 00 [00:12:49]MH_I2C_Read... [00:12:49]Read from MH i2c: 01 07 00 E7 10 00 00 00 00 00 FE 0F 0B [00:12:49]state=2 [00:12:49]Stop feed [00:12:51]OFD Sender: No OFD packet to send [00:12:56]OFD Sender: No OFD packet to send [00:13:01]OFD Sender: No OFD packet to send [00:13:06]OFD Sender: No OFD packet to send [00:13:11]OFD Sender: No OFD packet to send [00:13:16]OFD Sender: No OFD packet to send [00:13:21]OFD Sender: No OFD packet to send [00:13:26]OFD Sender: No OFD packet to send [00:13:31]OFD Sender: No OFD packet to send [00:13:36]OFD Sender: No OFD packet to send [00:13:41]OFD Sender: No OFD packet to send [00:13:46]OFD Sender: No OFD packet to send [00:13:51]OFD Sender: No OFD packet to send [00:13:56]OFD Sender: No OFD packet to send [00:14:01]OFD Sender: No OFD packet to send [00:14:06]OFD Sender: No OFD packet to send [00:14:11]OFD Sender: No OFD packet to send [00:14:16]OFD Sender: No OFD packet to send [00:14:21]OFD Sender: No OFD packet to send [00:14:26]OFD Sender: No OFD packet to send [00:14:31]OFD Sender: No OFD packet to send [00:14:36]OFD Sender: No OFD packet to send [00:14:40]accept exits with 7 [00:14:40]New connection [00:14:40]New thread 3067497828 created [00:14:40]Thread 3067354468 joined [00:14:40]Waiting for new connection... [00:14:40] Sock 7.Parse request [00:14:40]Sock 7.Check first char [00:14:40]Sock 7.First char is OK [00:14:40]request: POST /json_proto HTTP/1.0 [00:14:40]Method: POST [00:14:40]URL: /json_proto [00:14:40]Method is POST - this is cgi request [00:14:40]url: /json_proto [00:14:40]query_string will be loaded in cgi processing [00:14:40]execute_cgi json_proto POST (null) [00:14:40]execute_cgi path=json_proto method=POST [00:14:40]POST find Content-Length [00:14:40]Host: 172.17.42.3:8080 [00:14:40]Content-Length: 215 [00:14:40]Content-Type: application/json [00:14:40] [00:14:40]POST finish read [00:14:40]Found Content-Length = 215 [00:14:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:40]execute_script... [00:14:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:40]POST & json_proto [00:14:40]process_json_proto [00:14:40]json parsed OK: [00:14:40]protocol is kg_v1.0 [00:14:40]action value=get_value [00:14:40]process_action get_value [00:14:40]cmd_get_value [00:14:40]process_action get_value done [00:14:40]requested_data is exist [00:14:40]produce_requested_data [00:14:40]requested_item kkm.sn is exist - process it [00:14:40]requested_item kkm.ver is exist - process it [00:14:40]requested_item fm.sn is exist - process it [00:14:40]wFMCommunicate request_size=4 [00:14:40]MH_SAM_APDU [00:14:40]CAPDU: 80 11 00 00 [00:14:40]Write to MH i2c: E2 08 00 E8 10 80 11 00 00 00 00 00 00 72 [00:14:40]Write i2c OK [00:14:40]MH_I2C_Read... [00:14:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:14:40]Read from MH i2c: E2 [00:14:40]MH_I2C_Read... [00:14:40]Read from MH i2c: E2 17 00 [00:14:40]MH_I2C_Read... [00:14:40]Read from MH i2c: E2 17 00 E8 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 C9 [00:14:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:14:40]wFMCommunicate OK [00:14:40]requested_item fd.num is exist - process it [00:14:40]SAM_PROTO_GetFieldsCounters [00:14:40]wFMCommunicate request_size=4 [00:14:40]MH_SAM_APDU [00:14:40]CAPDU: 80 13 00 00 [00:14:40]Write to MH i2c: E2 08 00 E9 10 80 13 00 00 00 00 00 00 75 [00:14:40]Write i2c OK [00:14:40]MH_I2C_Read... [00:14:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:14:40]Read from MH i2c: E2 [00:14:40]MH_I2C_Read... [00:14:40]Read from MH i2c: E2 62 00 [00:14:40]MH_I2C_Read... [00:14:40]Read from MH i2c: E2 62 00 E9 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B4 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B6 00 00 00 19 04 04 00 00 00 00 00 90 00 A1 [00:14:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B4 0A 01 00 0E 04 04 00 23 02 00 00 12 04 04 00 B4 00 00 00 5E 04 04 00 B4 00 00 00 57 04 04 00 B6 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:14:40]wFMCommunicate OK [00:14:40]SAM_PROTO_GetFieldsCounters done [00:14:40]requested_item shift.num is exist - process it [00:14:40]requested_item shift.opened is exist - process it [00:14:40]req_shift_opened [00:14:40]FM_GetShiftState [00:14:40]SAM_PROTO_GetShiftState [00:14:40]wFMCommunicate request_size=4 [00:14:40]MH_SAM_APDU [00:14:40]CAPDU: 80 13 01 00 [00:14:40]Write to MH i2c: E2 08 00 EA 10 80 13 01 00 00 00 00 00 77 [00:14:40]Write i2c OK [00:14:40]MH_I2C_Read... [00:14:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:40]Read from MH i2c: E2 [00:14:40]MH_I2C_Read... [00:14:40]Read from MH i2c: E2 0E 00 [00:14:40]MH_I2C_Read... [00:14:40]Read from MH i2c: E2 0E 00 EA 10 00 09 00 00 00 00 00 00 00 00 00 00 90 00 82 [00:14:40]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:14:40]wFMCommunicate OK [00:14:40]SAM_PROTO_GetShiftState done [00:14:40]FM_GetShiftState done [00:14:40]req_shift_opened done [00:14:40]requested_item shift.open_date is exist - process it [00:14:40]req_shift_open_date [00:14:40]FM_GetShiftState [00:14:40]SAM_PROTO_GetShiftState [00:14:40]wFMCommunicate request_size=4 [00:14:40]MH_SAM_APDU [00:14:40]CAPDU: 80 13 01 00 [00:14:40]Write to MH i2c: E2 08 00 EB 10 80 13 01 00 00 00 00 00 78 [00:14:40]Write i2c OK [00:14:40]MH_I2C_Read... [00:14:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:40]Read from MH i2c: E2 [00:14:40]MH_I2C_Read... [00:14:40]Read from MH i2c: E2 0E 00 [00:14:40]MH_I2C_Read... [00:14:40]Read from MH i2c: E2 0E 00 EB 10 00 09 00 00 00 00 00 00 00 00 00 00 90 00 83 [00:14:40]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:14:40]wFMCommunicate OK [00:14:40]SAM_PROTO_GetShiftState done [00:14:40]FM_GetShiftState done [00:14:40]req_shift_open_date done [00:14:40]produce_requested_data done [00:14:40]produce_requested_data return {"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68276,"shift.num":547,"shift.opened":0,"shift.open_date":0} [00:14:40]process_action_free get_value [00:14:40]json_value_free [00:14:40]json_value_free done [00:14:40]process_json_proto returns [00:14:40]Send response to host [00:14:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000093","kkm.ver":"001","fm.sn":"0000000000871758","fd.num":68276,"shift.num":547,"shift.opened":0,"shift.open_date":0}}} [00:14:40]free response buf [00:14:40]execute_script done [00:14:40]execute_script returns [00:14:40]free content buf [00:14:40]Sock 7.Close socket [00:14:40]Sock 7.Thread stoped [00:14:40]accept exits with 9 [00:14:40]New connection [00:14:40]New thread 3067354468 created [00:14:40]Thread 3067497828 joined [00:14:40]Waiting for new connection... [00:14:40] Sock 9.Parse request [00:14:40]Sock 9.Check first char [00:14:40]Sock 9.First char is OK [00:14:40]request: POST /json_proto HTTP/1.0 [00:14:40]Method: POST [00:14:40]URL: /json_proto [00:14:40]Method is POST - this is cgi request [00:14:40]url: /json_proto [00:14:40]query_string will be loaded in cgi processing [00:14:40]execute_cgi json_proto POST (null) [00:14:40]execute_cgi path=json_proto method=POST [00:14:40]POST find Content-Length [00:14:40]Host: 172.17.42.3:8080 [00:14:40]Content-Length: 331 [00:14:40]Content-Type: application/json [00:14:40] [00:14:40]POST finish read [00:14:40]Found Content-Length = 331 [00:14:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:40]execute_script... [00:14:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:40]POST & json_proto [00:14:40]process_json_proto [00:14:40]json parsed OK: [00:14:40]protocol is kg_v1.0 [00:14:40]action value=get_value [00:14:40]process_action get_value [00:14:40]cmd_get_value [00:14:40]process_action get_value done [00:14:40]requested_data is exist [00:14:40]produce_requested_data [00:14:40]requested_item fm.sale.total is exist - process it [00:14:40]SAM_PROTO_GetFMData [00:14:40]wFMCommunicate request_size=4 [00:14:40]MH_SAM_APDU [00:14:40]CAPDU: 80 13 03 00 [00:14:40]Write to MH i2c: E2 08 00 EC 10 80 13 03 00 00 00 00 00 7B [00:14:40]Write i2c OK [00:14:40]MH_I2C_Read... [00:14:41]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:14:41]Read from MH i2c: E2 [00:14:41]MH_I2C_Read... [00:14:41]Read from MH i2c: E2 FD 00 [00:14:41]MH_I2C_Read... [00:14:41]OFD Sender: No OFD packet to send [00:14:41]Read from MH i2c: E2 FD 00 EC 10 00 C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 3C [00:14:41]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 [00:14:41]wFMCommunicate OK [00:14:41]wFMCommunicate request_size=4 [00:14:41]MH_SAM_APDU [00:14:41]CAPDU: 80 17 00 00 [00:14:41]Write to MH i2c: E2 08 00 ED 10 80 17 00 00 00 00 00 00 7D [00:14:41]Write i2c OK [00:14:41]MH_I2C_Read... [00:14:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:41]Read from MH i2c: E2 [00:14:41]MH_I2C_Read... [00:14:41]Read from MH i2c: E2 FD 00 [00:14:41]MH_I2C_Read... [00:14:41]Read from MH i2c: E2 FD 00 ED 10 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8F [00:14:41]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:14:41]wFMCommunicate OK [00:14:41]wFMCommunicate request_size=4 [00:14:41]MH_SAM_APDU [00:14:41]CAPDU: 80 17 00 00 [00:14:41]Write to MH i2c: E2 08 00 EE 10 80 17 00 00 00 00 00 00 7E [00:14:41]Write i2c OK [00:14:41]MH_I2C_Read... [00:14:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:41]Read from MH i2c: E2 [00:14:41]MH_I2C_Read... [00:14:41]Read from MH i2c: E2 FD 00 [00:14:41]MH_I2C_Read... [00:14:41]Read from MH i2c: E2 FD 00 EE 10 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 56 [00:14:41]RAPDU: B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:14:41]wFMCommunicate OK [00:14:41]wFMCommunicate request_size=4 [00:14:41]MH_SAM_APDU [00:14:41]CAPDU: 80 17 00 00 [00:14:41]Write to MH i2c: E2 08 00 EF 10 80 17 00 00 00 00 00 00 7F [00:14:41]Write i2c OK [00:14:41]MH_I2C_Read... [00:14:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:42]Read from MH i2c: E2 [00:14:42]MH_I2C_Read... [00:14:42]Read from MH i2c: E2 FD 00 [00:14:42]MH_I2C_Read... [00:14:42]Read from MH i2c: E2 FD 00 EF 10 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FA [00:14:42]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:14:42]wFMCommunicate OK [00:14:42]wFMCommunicate request_size=4 [00:14:42]MH_SAM_APDU [00:14:42]CAPDU: 80 17 00 00 [00:14:42]Write to MH i2c: E2 08 00 F0 10 80 17 00 00 00 00 00 00 80 [00:14:42]Write i2c OK [00:14:42]MH_I2C_Read... [00:14:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [00:14:42]Read from MH i2c: E2 [00:14:42]MH_I2C_Read... [00:14:42]Read from MH i2c: E2 E4 00 [00:14:42]MH_I2C_Read... [00:14:42]Read from MH i2c: E2 E4 00 F0 10 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 60 [00:14:42]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:14:42]wFMCommunicate OK [00:14:42]SAM_PROTO_GetFMData done [00:14:42]requested_item fm.sale_refund.total is exist - process it [00:14:42]requested_item fm.buy.total is exist - process it [00:14:42]requested_item shift.sale.total is exist - process it [00:14:42]SAM_PROTO_GetShiftData [00:14:42]wFMCommunicate request_size=4 [00:14:42]MH_SAM_APDU [00:14:42]CAPDU: 80 13 02 00 [00:14:42]Write to MH i2c: E2 08 00 F1 10 80 13 02 00 00 00 00 00 7F [00:14:42]Write i2c OK [00:14:42]MH_I2C_Read... [00:14:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:14:42]Read from MH i2c: E2 [00:14:42]MH_I2C_Read... [00:14:42]Read from MH i2c: E2 FD 00 [00:14:42]MH_I2C_Read... [00:14:42]Read from MH i2c: E2 FD 00 F1 10 00 B0 04 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 95 [00:14:42]RAPDU: B0 04 AA 04 AC 04 6E 04 04 00 B4 00 00 00 69 04 9D 00 6F 04 04 00 B4 00 00 00 B1 04 04 00 04 74 20 01 70 04 03 00 28 19 B9 72 04 03 00 DC 5A 67 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 D9 A2 1E 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 83 8D 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:14:42]wFMCommunicate OK [00:14:42]wFMCommunicate request_size=4 [00:14:42]MH_SAM_APDU [00:14:42]CAPDU: 80 17 00 00 [00:14:42]Write to MH i2c: E2 08 00 F2 10 80 17 00 00 00 00 00 00 82 [00:14:42]Write i2c OK [00:14:42]MH_I2C_Read... [00:14:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:43]Read from MH i2c: E2 [00:14:43]MH_I2C_Read... [00:14:43]Read from MH i2c: E2 FD 00 [00:14:43]MH_I2C_Read... [00:14:43]Read from MH i2c: E2 FD 00 F2 10 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9C [00:14:43]RAPDU: 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:14:43]wFMCommunicate OK [00:14:43]wFMCommunicate request_size=4 [00:14:43]MH_SAM_APDU [00:14:43]CAPDU: 80 17 00 00 [00:14:43]Write to MH i2c: E2 08 00 F3 10 80 17 00 00 00 00 00 00 83 [00:14:43]Write i2c OK [00:14:43]MH_I2C_Read... [00:14:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:43]Read from MH i2c: E2 [00:14:43]MH_I2C_Read... [00:14:43]Read from MH i2c: E2 FD 00 [00:14:43]MH_I2C_Read... [00:14:43]Read from MH i2c: E2 FD 00 F3 10 00 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 40 [00:14:43]RAPDU: 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:14:43]wFMCommunicate OK [00:14:43]wFMCommunicate request_size=4 [00:14:43]MH_SAM_APDU [00:14:43]CAPDU: 80 17 00 00 [00:14:43]Write to MH i2c: E2 08 00 F4 10 80 17 00 00 00 00 00 00 84 [00:14:43]Write i2c OK [00:14:43]MH_I2C_Read... [00:14:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:43]Read from MH i2c: E2 [00:14:43]MH_I2C_Read... [00:14:43]Read from MH i2c: E2 FD 00 [00:14:43]MH_I2C_Read... [00:14:43]Read from MH i2c: E2 FD 00 F4 10 00 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 90 00 F7 [00:14:43]RAPDU: 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 90 00 [00:14:43]wFMCommunicate OK [00:14:43]wFMCommunicate request_size=4 [00:14:43]MH_SAM_APDU [00:14:43]CAPDU: 80 17 00 00 [00:14:43]Write to MH i2c: E2 08 00 F5 10 80 17 00 00 00 00 00 00 85 [00:14:43]Write i2c OK [00:14:43]MH_I2C_Read... [00:14:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 202! [00:14:43]Read from MH i2c: E2 [00:14:43]MH_I2C_Read... [00:14:43]Read from MH i2c: E2 CD 00 [00:14:43]MH_I2C_Read... [00:14:43]Read from MH i2c: E2 CD 00 F5 10 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 69 [00:14:43]RAPDU: 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:14:43]wFMCommunicate OK [00:14:43]SAM_PROTO_GetShiftData done [00:14:43]requested_item shift.sale.total_cash is exist - process it [00:14:43]requested_item shift.sale_refund.total is exist - process it [00:14:43]requested_item shift.sale_refund.total_cash is exist - process it [00:14:43]requested_item shift.buy.total is exist - process it [00:14:43]requested_item shift.buy.total_cash is exist - process it [00:14:43]produce_requested_data done [00:14:43]produce_requested_data return {"fm.sale.total":102260763.66,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":189040.68,"shift.sale.total_cash":121306.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:14:43]process_action_free get_value [00:14:43]json_value_free [00:14:43]json_value_free done [00:14:43]process_json_proto returns [00:14:43]Send response to host [00:14:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":102260763.66,"fm.sale_refund.total":837242.00,"fm.buy.total":0.00,"shift.sale.total":189040.68,"shift.sale.total_cash":121306.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:14:43]free response buf [00:14:43]execute_script done [00:14:43]execute_script returns [00:14:43]free content buf [00:14:43]Sock 9.Close socket [00:14:43]Sock 9.Thread stoped [00:14:44]accept exits with 7 [00:14:44]New connection [00:14:44]New thread 3067497828 created [00:14:44]Thread 3067354468 joined [00:14:44]Waiting for new connection... [00:14:44] Sock 7.Parse request [00:14:44]Sock 7.Check first char [00:14:44]Sock 7.First char is OK [00:14:44]request: POST /json_proto HTTP/1.0 [00:14:44]Method: POST [00:14:44]URL: /json_proto [00:14:44]Method is POST - this is cgi request [00:14:44]url: /json_proto [00:14:44]query_string will be loaded in cgi processing [00:14:44]execute_cgi json_proto POST (null) [00:14:44]execute_cgi path=json_proto method=POST [00:14:44]POST find Content-Length [00:14:44]Host: 172.17.42.3:8080 [00:14:44]Content-Length: 265 [00:14:44]Content-Type: application/json [00:14:44] [00:14:44]POST finish read [00:14:44]Found Content-Length = 265 [00:14:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0418\u043C\u0430\u043D\u0431\u0430\u0435\u0432\u0430 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:44]execute_script... [00:14:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0418\u043C\u0430\u043D\u0431\u0430\u0435\u0432\u0430 \u0411. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:44]POST & json_proto [00:14:44]process_json_proto [00:14:44]json parsed OK: [00:14:44]protocol is kg_v1.0 [00:14:44]action value=open_shift [00:14:44]process_action open_shift [00:14:44]cmd_open_shift [00:14:44]MH_GetDate [00:14:44]Write to MH i2c: F0 00 00 F6 10 F5 [00:14:44]Write i2c OK [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: F0 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: F0 09 00 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: F0 09 00 F6 10 00 F5 28 20 67 0E CB 1F 67 01 [00:14:44]GetLastDocTimeStamp 1730160723 [00:14:44]current date 1730160885 [00:14:44]FM_GetShiftState [00:14:44]SAM_PROTO_GetShiftState [00:14:44]wFMCommunicate request_size=4 [00:14:44]MH_SAM_APDU [00:14:44]CAPDU: 80 13 01 00 [00:14:44]Write to MH i2c: E2 08 00 F7 10 80 13 01 00 00 00 00 00 84 [00:14:44]Write i2c OK [00:14:44]MH_I2C_Read... [00:14:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:44]Read from MH i2c: E2 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 0E 00 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 0E 00 F7 10 00 09 00 00 00 00 00 00 00 00 00 00 90 00 8F [00:14:44]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:14:44]wFMCommunicate OK [00:14:44]SAM_PROTO_GetShiftState done [00:14:44]FM_GetShiftState done [00:14:44]KKMCreateOpenShiftDocument [00:14:44]Load OK [00:14:44]Malloc new data [00:14:44]MH_GetDate [00:14:44]Write to MH i2c: F0 00 00 F8 10 F7 [00:14:44]Write i2c OK [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: F0 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: F0 09 00 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: F0 09 00 F8 10 00 F5 28 20 67 0E CB 1F 67 03 [00:14:44]Malloc new data [00:14:44]KKMCreateOpenShiftDocument OK [00:14:44]KKMSetOpenShiftData OK [00:14:44]ProcessDocumentItem done err = 0, tmpTLVsize=165 [00:14:44]tlvbuf is 006809A0 [00:14:44]KKMLoadAndSignOpenShiftData [00:14:44]SAM_PROTO_ProcessDocument [00:14:44]wFMCommunicate request_size=9 [00:14:44]MH_SAM_APDU [00:14:44]CAPDU: 80 15 01 00 04 02 00 A5 00 [00:14:44]Write to MH i2c: E2 0C 00 F9 10 80 15 01 00 04 00 02 00 A5 00 00 00 37 [00:14:44]Write i2c OK [00:14:44]MH_I2C_Read... [00:14:44]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:14:44]Read from MH i2c: E2 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 F9 10 00 90 00 7D [00:14:44]RAPDU: 90 00 [00:14:44]wFMCommunicate OK [00:14:44]wFMCommunicate request_size=23 [00:14:44]MH_SAM_APDU [00:14:44]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:14:44]Write to MH i2c: E2 1A 00 FA 10 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 7F [00:14:44]Write i2c OK [00:14:44]MH_I2C_Read... [00:14:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:44]Read from MH i2c: E2 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 FA 10 00 90 00 7E [00:14:44]RAPDU: 90 00 [00:14:44]wFMCommunicate OK [00:14:44]wFMCommunicate request_size=32 [00:14:44]MH_SAM_APDU [00:14:44]CAPDU: 80 15 02 00 1B FD 03 17 00 D0 98 D0 BC D0 B0 D0 BD D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 91 2E 20 [00:14:44]Write to MH i2c: E2 23 00 FB 10 80 15 02 00 1B 00 FD 03 17 00 D0 98 D0 BC D0 B0 D0 BD D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 91 2E 20 00 00 30 [00:14:44]Write i2c OK [00:14:44]MH_I2C_Read... [00:14:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:44]Read from MH i2c: E2 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 FB 10 00 90 00 7F [00:14:44]RAPDU: 90 00 [00:14:44]wFMCommunicate OK [00:14:44]wFMCommunicate request_size=51 [00:14:44]MH_SAM_APDU [00:14:44]CAPDU: 80 15 02 00 2E F1 03 2A 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 90 D1 80 D0 B0 D0 BB 2C 20 34 31 2E 39 32 39 32 31 39 2C 20 37 32 2E 38 38 38 32 32 35 [00:14:44]Write to MH i2c: E2 36 00 FC 10 80 15 02 00 2E 00 F1 03 2A 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 90 D1 80 D0 B0 D0 BB 2C 20 34 31 2E 39 32 39 32 31 39 2C 20 37 32 2E 38 38 38 32 32 35 00 00 1B [00:14:44]Write i2c OK [00:14:44]MH_I2C_Read... [00:14:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:44]Read from MH i2c: E2 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 FC 10 00 90 00 80 [00:14:44]RAPDU: 90 00 [00:14:44]wFMCommunicate OK [00:14:44]wFMCommunicate request_size=51 [00:14:44]MH_SAM_APDU [00:14:44]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 30 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:14:44]Write to MH i2c: E2 36 00 FD 10 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 30 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 36 [00:14:44]Write i2c OK [00:14:44]MH_I2C_Read... [00:14:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:44]Read from MH i2c: E2 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 FD 10 00 90 00 81 [00:14:44]RAPDU: 90 00 [00:14:44]wFMCommunicate OK [00:14:44]wFMCommunicate request_size=13 [00:14:44]MH_SAM_APDU [00:14:44]CAPDU: 80 15 02 00 08 F4 03 04 00 F5 28 20 67 [00:14:44]Write to MH i2c: E2 10 00 FE 10 80 15 02 00 08 00 F4 03 04 00 F5 28 20 67 00 00 3D [00:14:44]Write i2c OK [00:14:44]MH_I2C_Read... [00:14:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:44]Read from MH i2c: E2 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 FE 10 00 90 00 82 [00:14:44]RAPDU: 90 00 [00:14:44]wFMCommunicate OK [00:14:44]wFMCommunicate request_size=25 [00:14:44]MH_SAM_APDU [00:14:44]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 [00:14:44]Write to MH i2c: E2 1C 00 FF 10 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 00 00 F7 [00:14:44]Write i2c OK [00:14:44]MH_I2C_Read... [00:14:44]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:14:44]Read from MH i2c: E2 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 03 00 FF 10 00 90 00 83 [00:14:44]RAPDU: 90 00 [00:14:44]wFMCommunicate OK [00:14:44]wFMCommunicate request_size=4 [00:14:44]MH_SAM_APDU [00:14:44]CAPDU: 80 15 03 00 [00:14:44]Write to MH i2c: E2 08 00 00 11 80 15 03 00 00 00 00 00 92 [00:14:44]Write i2c OK [00:14:44]MH_I2C_Read... [00:14:44]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:14:44]Read from MH i2c: E2 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 38 00 [00:14:44]MH_I2C_Read... [00:14:44]Read from MH i2c: E2 38 00 00 11 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B5 0A 01 00 0E 04 04 00 24 02 00 00 35 04 06 00 B1 4F C1 B9 C2 A3 90 00 27 [00:14:44]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B5 0A 01 00 0E 04 04 00 24 02 00 00 35 04 06 00 B1 4F C1 B9 C2 A3 90 00 [00:14:44]wFMCommunicate OK [00:14:44]SAM_PROTO_ProcessDocument answer len = 51 [00:14:44]SAM_PROTO_ProcessDocument done [00:14:44]SetTLVBufToDocument [00:14:44]Processing tag 1209 (04B9) [00:14:44]Malloc new data [00:14:44]Processing tag 1041 (0411) [00:14:44]Processing tag 1040 (0410) [00:14:44]Malloc new data [00:14:44]Processing tag 1038 (040E) [00:14:44]Malloc new data [00:14:44]Processing tag 1077 (0435) [00:14:44]Malloc new data [00:14:44]SetTLVBufToDocument err=0 [00:14:44]KKMLoadAndSignOpenShiftData store KKM data [00:14:44]KKMLoadAndSignOpenShiftData err=0 [00:14:44]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Иманбаева Б. Адрес: 720001, с. Арал, 41.929219, 72.888225 Место: АЗС № 160 "Партнер Нефть" 29.10.2024 00:14 Смена: 548 РНМ: 0000000000091759 ЗНМ: 0300000093 ФД: 68277 ФМ: 0000000000871758 ФПД: 194956110709411 [00:14:44]StoreToDocumentArchive [00:14:44]shift 548 fd 68277 [00:14:44]Create dir for shift 0548 [00:14:44]save to /storage/0548/doc_00068277 [00:14:44]save last doc name /storage/0548/doc_00068277 to /storage/kkm_last_doc_name [00:14:44]save OK [00:14:44]Clear old archive folders... [00:14:44]Remove dir /storage/0547 [00:14:44]opendir ok [00:14:44]file . [00:14:44]file .. [00:14:44]file doc_00068095 [00:14:44]remove file /storage/0547/doc_00068095 [00:14:44]file doc_00068096 [00:14:44]remove file /storage/0547/doc_00068096 [00:14:44]file doc_00068097 [00:14:44]remove file /storage/0547/doc_00068097 [00:14:44]file doc_00068098 [00:14:44]remove file /storage/0547/doc_00068098 [00:14:44]file doc_00068099 [00:14:44]remove file /storage/0547/doc_00068099 [00:14:44]file doc_00068100 [00:14:44]remove file /storage/0547/doc_00068100 [00:14:45]file doc_00068101 [00:14:45]remove file /storage/0547/doc_00068101 [00:14:45]file doc_00068102 [00:14:45]remove file /storage/0547/doc_00068102 [00:14:45]file doc_00068103 [00:14:45]remove file /storage/0547/doc_00068103 [00:14:45]file doc_00068104 [00:14:45]remove file /storage/0547/doc_00068104 [00:14:45]file doc_00068105 [00:14:45]remove file /storage/0547/doc_00068105 [00:14:45]file doc_00068106 [00:14:45]remove file /storage/0547/doc_00068106 [00:14:45]file doc_00068107 [00:14:45]remove file /storage/0547/doc_00068107 [00:14:45]file doc_00068108 [00:14:45]remove file /storage/0547/doc_00068108 [00:14:45]file doc_00068109 [00:14:45]remove file /storage/0547/doc_00068109 [00:14:45]file doc_00068110 [00:14:45]remove file /storage/0547/doc_00068110 [00:14:45]file doc_00068111 [00:14:45]remove file /storage/0547/doc_00068111 [00:14:45]file doc_00068112 [00:14:45]remove file /storage/0547/doc_00068112 [00:14:45]file doc_00068113 [00:14:45]remove file /storage/0547/doc_00068113 [00:14:45]file doc_00068114 [00:14:45]remove file /storage/0547/doc_00068114 [00:14:45]file doc_00068115 [00:14:45]remove file /storage/0547/doc_00068115 [00:14:45]file doc_00068116 [00:14:45]remove file /storage/0547/doc_00068116 [00:14:45]file doc_00068117 [00:14:45]remove file /storage/0547/doc_00068117 [00:14:45]file doc_00068118 [00:14:45]remove file /storage/0547/doc_00068118 [00:14:45]file doc_00068119 [00:14:45]remove file /storage/0547/doc_00068119 [00:14:45]file doc_00068120 [00:14:45]remove file /storage/0547/doc_00068120 [00:14:45]file doc_00068121 [00:14:45]remove file /storage/0547/doc_00068121 [00:14:45]file doc_00068122 [00:14:45]remove file /storage/0547/doc_00068122 [00:14:45]file doc_00068123 [00:14:45]remove file /storage/0547/doc_00068123 [00:14:45]file doc_00068124 [00:14:45]remove file /storage/0547/doc_00068124 [00:14:45]file doc_00068125 [00:14:45]remove file /storage/0547/doc_00068125 [00:14:45]file doc_00068126 [00:14:45]remove file /storage/0547/doc_00068126 [00:14:45]file doc_00068127 [00:14:45]remove file /storage/0547/doc_00068127 [00:14:45]file doc_00068128 [00:14:45]remove file /storage/0547/doc_00068128 [00:14:45]file doc_00068129 [00:14:45]remove file /storage/0547/doc_00068129 [00:14:45]file doc_00068130 [00:14:45]remove file /storage/0547/doc_00068130 [00:14:45]file doc_00068131 [00:14:45]remove file /storage/0547/doc_00068131 [00:14:45]file doc_00068132 [00:14:45]remove file /storage/0547/doc_00068132 [00:14:45]file doc_00068133 [00:14:45]remove file /storage/0547/doc_00068133 [00:14:45]file doc_00068134 [00:14:45]remove file /storage/0547/doc_00068134 [00:14:45]file doc_00068135 [00:14:45]remove file /storage/0547/doc_00068135 [00:14:45]file doc_00068136 [00:14:45]remove file /storage/0547/doc_00068136 [00:14:45]file doc_00068137 [00:14:45]remove file /storage/0547/doc_00068137 [00:14:45]file doc_00068138 [00:14:45]remove file /storage/0547/doc_00068138 [00:14:45]file doc_00068139 [00:14:45]remove file /storage/0547/doc_00068139 [00:14:45]file doc_00068140 [00:14:45]remove file /storage/0547/doc_00068140 [00:14:45]file doc_00068141 [00:14:45]remove file /storage/0547/doc_00068141 [00:14:45]file doc_00068142 [00:14:45]remove file /storage/0547/doc_00068142 [00:14:45]file doc_00068143 [00:14:45]remove file /storage/0547/doc_00068143 [00:14:45]file doc_00068144 [00:14:45]remove file /storage/0547/doc_00068144 [00:14:45]file doc_00068145 [00:14:45]remove file /storage/0547/doc_00068145 [00:14:45]file doc_00068146 [00:14:45]remove file /storage/0547/doc_00068146 [00:14:45]file doc_00068147 [00:14:45]remove file /storage/0547/doc_00068147 [00:14:45]file doc_00068148 [00:14:45]remove file /storage/0547/doc_00068148 [00:14:45]file doc_00068149 [00:14:45]remove file /storage/0547/doc_00068149 [00:14:45]file doc_00068150 [00:14:45]remove file /storage/0547/doc_00068150 [00:14:45]file doc_00068151 [00:14:45]remove file /storage/0547/doc_00068151 [00:14:45]file doc_00068152 [00:14:45]remove file /storage/0547/doc_00068152 [00:14:45]file doc_00068153 [00:14:45]remove file /storage/0547/doc_00068153 [00:14:45]file doc_00068154 [00:14:45]remove file /storage/0547/doc_00068154 [00:14:45]file doc_00068155 [00:14:45]remove file /storage/0547/doc_00068155 [00:14:45]file doc_00068156 [00:14:45]remove file /storage/0547/doc_00068156 [00:14:45]file doc_00068157 [00:14:45]remove file /storage/0547/doc_00068157 [00:14:45]file doc_00068158 [00:14:45]remove file /storage/0547/doc_00068158 [00:14:45]file doc_00068159 [00:14:45]remove file /storage/0547/doc_00068159 [00:14:45]file doc_00068160 [00:14:45]remove file /storage/0547/doc_00068160 [00:14:45]file doc_00068161 [00:14:45]remove file /storage/0547/doc_00068161 [00:14:45]file doc_00068162 [00:14:45]remove file /storage/0547/doc_00068162 [00:14:45]file doc_00068163 [00:14:45]remove file /storage/0547/doc_00068163 [00:14:45]file doc_00068164 [00:14:45]remove file /storage/0547/doc_00068164 [00:14:45]file doc_00068165 [00:14:45]remove file /storage/0547/doc_00068165 [00:14:45]file doc_00068166 [00:14:45]remove file /storage/0547/doc_00068166 [00:14:45]file doc_00068167 [00:14:45]remove file /storage/0547/doc_00068167 [00:14:45]file doc_00068168 [00:14:45]remove file /storage/0547/doc_00068168 [00:14:45]file doc_00068169 [00:14:45]remove file /storage/0547/doc_00068169 [00:14:45]file doc_00068170 [00:14:45]remove file /storage/0547/doc_00068170 [00:14:45]file doc_00068171 [00:14:45]remove file /storage/0547/doc_00068171 [00:14:45]file doc_00068172 [00:14:45]remove file /storage/0547/doc_00068172 [00:14:45]file doc_00068173 [00:14:45]remove file /storage/0547/doc_00068173 [00:14:45]file doc_00068174 [00:14:45]remove file /storage/0547/doc_00068174 [00:14:45]file doc_00068175 [00:14:45]remove file /storage/0547/doc_00068175 [00:14:45]file doc_00068176 [00:14:45]remove file /storage/0547/doc_00068176 [00:14:45]file doc_00068177 [00:14:45]remove file /storage/0547/doc_00068177 [00:14:45]file doc_00068178 [00:14:45]remove file /storage/0547/doc_00068178 [00:14:45]file doc_00068179 [00:14:45]remove file /storage/0547/doc_00068179 [00:14:45]file doc_00068180 [00:14:45]remove file /storage/0547/doc_00068180 [00:14:45]file doc_00068181 [00:14:45]remove file /storage/0547/doc_00068181 [00:14:45]file doc_00068182 [00:14:45]remove file /storage/0547/doc_00068182 [00:14:45]file doc_00068183 [00:14:45]remove file /storage/0547/doc_00068183 [00:14:45]file doc_00068184 [00:14:45]remove file /storage/0547/doc_00068184 [00:14:45]file doc_00068185 [00:14:45]remove file /storage/0547/doc_00068185 [00:14:45]file doc_00068186 [00:14:45]remove file /storage/0547/doc_00068186 [00:14:45]file doc_00068187 [00:14:45]remove file /storage/0547/doc_00068187 [00:14:45]file doc_00068188 [00:14:45]remove file /storage/0547/doc_00068188 [00:14:45]file doc_00068189 [00:14:45]remove file /storage/0547/doc_00068189 [00:14:45]file doc_00068190 [00:14:45]remove file /storage/0547/doc_00068190 [00:14:45]file doc_00068191 [00:14:45]remove file /storage/0547/doc_00068191 [00:14:45]file doc_00068192 [00:14:45]remove file /storage/0547/doc_00068192 [00:14:45]file doc_00068193 [00:14:45]remove file /storage/0547/doc_00068193 [00:14:45]file doc_00068194 [00:14:45]remove file /storage/0547/doc_00068194 [00:14:45]file doc_00068195 [00:14:45]remove file /storage/0547/doc_00068195 [00:14:45]file doc_00068196 [00:14:45]remove file /storage/0547/doc_00068196 [00:14:45]file doc_00068197 [00:14:45]remove file /storage/0547/doc_00068197 [00:14:45]file doc_00068198 [00:14:45]remove file /storage/0547/doc_00068198 [00:14:45]file doc_00068199 [00:14:45]remove file /storage/0547/doc_00068199 [00:14:45]file doc_00068200 [00:14:45]remove file /storage/0547/doc_00068200 [00:14:45]file doc_00068201 [00:14:45]remove file /storage/0547/doc_00068201 [00:14:45]file doc_00068202 [00:14:45]remove file /storage/0547/doc_00068202 [00:14:45]file doc_00068203 [00:14:45]remove file /storage/0547/doc_00068203 [00:14:45]file doc_00068204 [00:14:45]remove file /storage/0547/doc_00068204 [00:14:45]file doc_00068205 [00:14:45]remove file /storage/0547/doc_00068205 [00:14:45]file doc_00068206 [00:14:45]remove file /storage/0547/doc_00068206 [00:14:45]file doc_00068207 [00:14:45]remove file /storage/0547/doc_00068207 [00:14:45]file doc_00068208 [00:14:45]remove file /storage/0547/doc_00068208 [00:14:45]file doc_00068209 [00:14:45]remove file /storage/0547/doc_00068209 [00:14:45]file doc_00068210 [00:14:45]remove file /storage/0547/doc_00068210 [00:14:45]file doc_00068211 [00:14:45]remove file /storage/0547/doc_00068211 [00:14:45]file doc_00068212 [00:14:45]remove file /storage/0547/doc_00068212 [00:14:45]file doc_00068213 [00:14:45]remove file /storage/0547/doc_00068213 [00:14:45]file doc_00068214 [00:14:45]remove file /storage/0547/doc_00068214 [00:14:45]file doc_00068215 [00:14:45]remove file /storage/0547/doc_00068215 [00:14:45]file doc_00068216 [00:14:45]remove file /storage/0547/doc_00068216 [00:14:45]file doc_00068217 [00:14:45]remove file /storage/0547/doc_00068217 [00:14:45]file doc_00068218 [00:14:45]remove file /storage/0547/doc_00068218 [00:14:45]file doc_00068219 [00:14:45]remove file /storage/0547/doc_00068219 [00:14:45]file doc_00068220 [00:14:45]remove file /storage/0547/doc_00068220 [00:14:45]file doc_00068221 [00:14:45]remove file /storage/0547/doc_00068221 [00:14:45]file doc_00068222 [00:14:45]remove file /storage/0547/doc_00068222 [00:14:45]file doc_00068223 [00:14:45]remove file /storage/0547/doc_00068223 [00:14:45]file doc_00068224 [00:14:45]remove file /storage/0547/doc_00068224 [00:14:45]file doc_00068225 [00:14:45]remove file /storage/0547/doc_00068225 [00:14:45]file doc_00068226 [00:14:45]remove file /storage/0547/doc_00068226 [00:14:45]file doc_00068227 [00:14:45]remove file /storage/0547/doc_00068227 [00:14:45]file doc_00068228 [00:14:45]remove file /storage/0547/doc_00068228 [00:14:45]file doc_00068229 [00:14:45]remove file /storage/0547/doc_00068229 [00:14:45]file doc_00068230 [00:14:45]remove file /storage/0547/doc_00068230 [00:14:45]file doc_00068231 [00:14:45]remove file /storage/0547/doc_00068231 [00:14:45]file doc_00068232 [00:14:45]remove file /storage/0547/doc_00068232 [00:14:45]file doc_00068233 [00:14:45]remove file /storage/0547/doc_00068233 [00:14:45]file doc_00068234 [00:14:45]remove file /storage/0547/doc_00068234 [00:14:45]file doc_00068235 [00:14:45]remove file /storage/0547/doc_00068235 [00:14:45]file doc_00068236 [00:14:45]remove file /storage/0547/doc_00068236 [00:14:45]file doc_00068237 [00:14:45]remove file /storage/0547/doc_00068237 [00:14:45]file doc_00068238 [00:14:45]remove file /storage/0547/doc_00068238 [00:14:45]file doc_00068239 [00:14:45]remove file /storage/0547/doc_00068239 [00:14:45]file doc_00068240 [00:14:45]remove file /storage/0547/doc_00068240 [00:14:45]file doc_00068241 [00:14:45]remove file /storage/0547/doc_00068241 [00:14:45]file doc_00068242 [00:14:45]remove file /storage/0547/doc_00068242 [00:14:45]file doc_00068243 [00:14:45]remove file /storage/0547/doc_00068243 [00:14:45]file doc_00068244 [00:14:45]remove file /storage/0547/doc_00068244 [00:14:45]file doc_00068245 [00:14:45]remove file /storage/0547/doc_00068245 [00:14:45]file doc_00068246 [00:14:45]remove file /storage/0547/doc_00068246 [00:14:45]file doc_00068247 [00:14:45]remove file /storage/0547/doc_00068247 [00:14:45]file doc_00068248 [00:14:45]remove file /storage/0547/doc_00068248 [00:14:45]file doc_00068249 [00:14:45]remove file /storage/0547/doc_00068249 [00:14:45]file doc_00068250 [00:14:45]remove file /storage/0547/doc_00068250 [00:14:45]file doc_00068251 [00:14:45]remove file /storage/0547/doc_00068251 [00:14:45]file doc_00068252 [00:14:45]remove file /storage/0547/doc_00068252 [00:14:45]file doc_00068253 [00:14:45]remove file /storage/0547/doc_00068253 [00:14:45]file doc_00068254 [00:14:45]remove file /storage/0547/doc_00068254 [00:14:45]file doc_00068255 [00:14:45]remove file /storage/0547/doc_00068255 [00:14:45]file doc_00068256 [00:14:45]remove file /storage/0547/doc_00068256 [00:14:45]file doc_00068257 [00:14:45]remove file /storage/0547/doc_00068257 [00:14:45]file doc_00068258 [00:14:45]remove file /storage/0547/doc_00068258 [00:14:45]file doc_00068259 [00:14:45]remove file /storage/0547/doc_00068259 [00:14:45]file doc_00068260 [00:14:45]remove file /storage/0547/doc_00068260 [00:14:45]file doc_00068261 [00:14:45]remove file /storage/0547/doc_00068261 [00:14:45]file doc_00068262 [00:14:45]remove file /storage/0547/doc_00068262 [00:14:45]file doc_00068263 [00:14:45]remove file /storage/0547/doc_00068263 [00:14:45]file doc_00068264 [00:14:45]remove file /storage/0547/doc_00068264 [00:14:45]file doc_00068265 [00:14:45]remove file /storage/0547/doc_00068265 [00:14:45]file doc_00068266 [00:14:45]remove file /storage/0547/doc_00068266 [00:14:45]file doc_00068267 [00:14:45]remove file /storage/0547/doc_00068267 [00:14:45]file doc_00068268 [00:14:45]remove file /storage/0547/doc_00068268 [00:14:45]file doc_00068269 [00:14:45]remove file /storage/0547/doc_00068269 [00:14:45]file doc_00068270 [00:14:45]remove file /storage/0547/doc_00068270 [00:14:45]file doc_00068271 [00:14:45]remove file /storage/0547/doc_00068271 [00:14:45]file doc_00068272 [00:14:45]remove file /storage/0547/doc_00068272 [00:14:45]file doc_00068273 [00:14:45]remove file /storage/0547/doc_00068273 [00:14:45]file doc_00068274 [00:14:45]remove file /storage/0547/doc_00068274 [00:14:45]file doc_00068275 [00:14:45]remove file /storage/0547/doc_00068275 [00:14:45]file doc_00068276 [00:14:45]remove file /storage/0547/doc_00068276 [00:14:45]remove dir /storage/0547 [00:14:45]ProcessDocumentItem done err = 0, tmpTLVsize=216 [00:14:45]tlvbuf is 006D3AE0 [00:14:45]SAM_PROTO_ClearQueue [00:14:45]wFMCommunicate request_size=4 [00:14:45]MH_SAM_APDU [00:14:45]CAPDU: 80 09 00 00 [00:14:45]Write to MH i2c: E2 08 00 01 11 80 09 00 00 00 00 00 00 84 [00:14:45]Write i2c OK [00:14:45]MH_I2C_Read... [00:14:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:14:45]Read from MH i2c: E2 [00:14:45]MH_I2C_Read... [00:14:45]Read from MH i2c: E2 03 00 [00:14:45]MH_I2C_Read... [00:14:45]Read from MH i2c: E2 03 00 01 11 00 90 00 86 [00:14:45]RAPDU: 90 00 [00:14:45]wFMCommunicate OK [00:14:46]SAM_PROTO_ClearQueue done [00:14:46]KKMCreateOFDPacket [00:14:46]OFDProtocolAddRootSTLVToBuf [00:14:46]FM_MakeSignedData [00:14:46]FM_MakeSignedData [00:14:46]SAM_PROTO_SignData [00:14:46]wFMCommunicate request_size=4 [00:14:46]MH_SAM_APDU [00:14:46]CAPDU: 80 0D 01 02 [00:14:46]Write to MH i2c: E2 08 00 02 11 80 0D 01 02 00 00 00 00 8C [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:14:46]Read from MH i2c: E2 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 03 00 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 03 00 02 11 00 90 00 87 [00:14:46]RAPDU: 90 00 [00:14:46]wFMCommunicate OK [00:14:46]wFMCommunicate request_size=225 [00:14:46]MH_SAM_APDU [00:14:46]CAPDU: 80 0D 02 02 DC 02 00 D8 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 98 D0 BC D0 B0 D0 BD D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 91 2E 20 F1 03 2A 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 90 D1 80 D0 B0 D0 BB 2C 20 34 31 2E 39 32 39 32 31 39 2C 20 37 32 2E 38 38 38 32 32 35 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 30 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 F5 28 20 67 0E 04 04 00 24 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B5 0A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 35 04 06 00 B1 4F C1 B9 C2 A3 [00:14:46]Write to MH i2c: E2 E4 00 03 11 80 0D 02 02 DC 00 02 00 D8 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 98 D0 BC D0 B0 D0 BD D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 91 2E 20 F1 03 2A 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 90 D1 80 D0 B0 D0 BB 2C 20 34 31 2E 39 32 39 32 31 39 2C 20 37 32 2E 38 38 38 32 32 35 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 30 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 F5 28 20 67 0E 04 04 00 24 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B5 0A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 35 04 06 00 B1 4F C1 B9 C2 A3 00 00 F9 [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]OFD Sender: No OFD packet to send [00:14:46]Read from MH i2c: E2 [00:14:46]MH_I2C_Read... [00:14:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:14:46]Read from MH i2c: E2 03 00 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 03 00 03 11 00 90 00 88 [00:14:46]RAPDU: 90 00 [00:14:46]wFMCommunicate OK [00:14:46]wFMCommunicate request_size=4 [00:14:46]MH_SAM_APDU [00:14:46]CAPDU: 80 0D 03 02 [00:14:46]Write to MH i2c: E2 08 00 04 11 80 0D 03 02 00 00 00 00 90 [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:14:46]Read from MH i2c: E2 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 0B 00 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 0B 00 04 11 00 42 54 0B 52 33 A2 B6 B4 90 00 C3 [00:14:46]RAPDU: 42 54 0B 52 33 A2 B6 B4 90 00 [00:14:46]wFMCommunicate OK [00:14:46]SAM_PROTO_SignData done [00:14:46]FM_MakeSignedData done [00:14:46]CreateOFDProtocolMessage [00:14:46]wFMCommunicate request_size=4 [00:14:46]MH_SAM_APDU [00:14:46]CAPDU: 80 11 00 00 [00:14:46]Write to MH i2c: E2 08 00 05 11 80 11 00 00 00 00 00 00 90 [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:14:46]Read from MH i2c: E2 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 17 00 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: E2 17 00 05 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 E7 [00:14:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:14:46]wFMCommunicate OK [00:14:46]CreateOFDProtocolMessage done [00:14:46]OFDSenderStorePacket 68277 [00:14:46]StoreOFDPacket docnum=68277 [00:14:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 EC 00 00 00 24 C2 E4 00 26 7B 5A 02 01 00 02 00 D8 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 98 D0 BC D0 B0 D0 BD D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 91 2E 20 F1 03 2A 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 90 D1 80 D0 B0 D0 BB 2C 20 34 31 2E 39 32 39 32 31 39 2C 20 37 32 2E 38 38 38 32 32 35 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 30 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 F5 28 20 67 0E 04 04 00 24 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B5 0A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 35 04 06 00 B1 4F C1 B9 C2 A3 42 54 0B 52 33 A2 B6 B4 [00:14:46]CheckFolder [00:14:46]dirname=/storage/ofd_packets [00:14:46]CheckFolder done [00:14:46]ProducePacketName [00:14:46]name=ofd_packets/00068277 [00:14:46]NVStorageSaveData ofd_packets/00068277 [00:14:46]File name is /storage/ofd_packets/00068277 [00:14:46]Write 266 bytes [00:14:46]NVStorageSaveData done [00:14:46]OFDSenderStorePacket done [00:14:46]KKMCreateOFDPacket done [00:14:46]NVStorageSaveData kkm_last_timestamp [00:14:46]File name is /storage/kkm_last_timestamp [00:14:46]Write 4 bytes [00:14:46]NVStorageSaveData done [00:14:46]ExternCall_PrintAddStr [00:14:46]wPrintStart [00:14:46]Write to MH i2c: 01 00 00 06 11 17 [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: 01 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: 01 07 00 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: 01 07 00 06 11 00 00 00 00 00 FF 0F 2C [00:14:46]RasterBufferAndPrint [00:14:46]line Отчет об открытии смены [00:14:46]line ФФД: 1.0 [00:14:46]line ИНН: 02508201610067 [00:14:46]line Кассир: Иманбаева Б. [00:14:46]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [00:14:46]line Место: АЗС № 160 "Партнер Нефть" [00:14:46]line 29.10.2024 00:14 [00:14:46]line Смена: 548 [00:14:46]line РНМ: 0000000000091759 [00:14:46]line ЗНМ: 0300000093 [00:14:46]line ФД: 68277 [00:14:46]line ФМ: 0000000000871758 [00:14:46]line ФПД: 194956110709411 [00:14:46]written 0, free lines is 4095 [00:14:46]OFD Sender: Processing packet 68277 [packets to send 27, broken 26] [00:14:46]ProducePacketName [00:14:46]name=ofd_packets/00068277 [00:14:46]OFD Sender: To server: pG, [00:14:46]CommunicateWithHost lk.salyk.kg:30040 [00:14:46]ConnectInit lk.salyk.kg [00:14:46]Connected sock=10 [00:14:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 EC 00 00 00 24 C2 E4 00 26 7B 5A 02 01 00 02 00 D8 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 98 D0 BC D0 B0 D0 BD D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 91 2E 20 F1 03 2A 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 90 D1 80 D0 B0 D0 BB 2C 20 34 31 2E 39 32 39 32 31 39 2C 20 37 32 2E 38 38 38 32 32 35 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 30 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 F5 28 20 67 0E 04 04 00 24 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B5 0A 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 35 04 06 00 B1 4F C1 B9 C2 A3 42 54 0B 52 33 A2 B6 B4 [00:14:46]Write to MH i2c: 01 00 00 17 11 28 [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: 01 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: 01 07 00 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: 01 07 00 17 11 00 00 00 00 00 9C 0E D9 [00:14:46]RasterBufferAndPrint [00:14:46]line [00:14:46]line [00:14:46]line [00:14:46]line [00:14:46]line [00:14:46]written 0, free lines is 3756 [00:14:46]MH_Cut [00:14:46]Write to MH i2c: D1 01 00 1E 11 01 01 [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: D1 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: D1 01 00 [00:14:46]MH_I2C_Read... [00:14:46]Read from MH i2c: D1 01 00 1E 11 00 00 [00:14:46]Write to MH i2c: 01 00 00 1F 11 30 [00:14:46]Write i2c OK [00:14:46]MH_I2C_Read... [00:14:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 8A 78 47 00 55 02 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B5 0A 01 00 F4 03 04 00 D5 D4 1F 67 B6 04 01 00 00 8F FA DF F8 8B D0 13 74 [00:14:47]CommunicateWithHost err = 0 [00:14:47]CheckOFDResponse [00:14:47]1017 (14) - 77093643461234 [00:14:47]1041 (16) - 0000000000871758 [00:14:47]1040 (4) - 68277 [00:14:47]1012 (4) - 28.10.2024 18:15 [00:14:47]1206 (1) - 0 [00:14:47]OFD Sender: Remove packet 68277 [00:14:47]ProducePacketName [00:14:47]name=ofd_packets/00068277 [00:14:47]NVStorageDeleteData [00:14:47]*** Cut start [00:14:47]*** Partial cut [00:14:47]*** CUTSNS_PIN = 1 [00:14:47]*** CUTSNS_PIN = 0 [00:14:47]OFD Sender: No OFD packet to send [00:14:47]*** Brake cut motor [00:14:47]Read from MH i2c: 01 [00:14:47]MH_I2C_Read... [00:14:47]*** Stop cut motor [00:14:47]*** Cut end [00:14:47]Read from MH i2c: 01 07 00 [00:14:47]MH_I2C_Read... [00:14:47]Read from MH i2c: 01 07 00 1F 11 00 00 00 00 00 FF 0F 45 [00:14:47]process_action open_shift done [00:14:47]requested_data is exist [00:14:47]produce_requested_data [00:14:47]requested_item fd.num is exist - process it [00:14:47]SAM_PROTO_GetFieldsCounters [00:14:47]wFMCommunicate request_size=4 [00:14:47]MH_SAM_APDU [00:14:47]CAPDU: 80 13 00 00 [00:14:47]Write to MH i2c: E2 08 00 20 11 80 13 00 00 00 00 00 00 AD [00:14:47]Write i2c OK [00:14:47]MH_I2C_Read... [00:14:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:14:48]Read from MH i2c: E2 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 62 00 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 62 00 20 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B5 0A 01 00 0E 04 04 00 24 02 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 BE [00:14:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B5 0A 01 00 0E 04 04 00 24 02 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:14:48]wFMCommunicate OK [00:14:48]SAM_PROTO_GetFieldsCounters done [00:14:48]requested_item shift.num is exist - process it [00:14:48]requested_item shift.opened is exist - process it [00:14:48]req_shift_opened [00:14:48]FM_GetShiftState [00:14:48]SAM_PROTO_GetShiftState [00:14:48]wFMCommunicate request_size=4 [00:14:48]MH_SAM_APDU [00:14:48]CAPDU: 80 13 01 00 [00:14:48]Write to MH i2c: E2 08 00 21 11 80 13 01 00 00 00 00 00 AF [00:14:48]Write i2c OK [00:14:48]MH_I2C_Read... [00:14:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:48]Read from MH i2c: E2 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 0E 00 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 0E 00 21 11 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 5F [00:14:48]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [00:14:48]wFMCommunicate OK [00:14:48]SAM_PROTO_GetShiftState done [00:14:48]FM_GetShiftState done [00:14:48]req_shift_opened done [00:14:48]requested_item shift.open_date is exist - process it [00:14:48]req_shift_open_date [00:14:48]req_shift_open_date done [00:14:48]produce_requested_data done [00:14:48]produce_requested_data return {"fd.num":68277,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [00:14:48]process_action_free open_shift [00:14:48]json_value_free [00:14:48]json_value_free done [00:14:48]process_json_proto returns [00:14:48]Send response to host [00:14:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":68277,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [00:14:48]free response buf [00:14:48]execute_script done [00:14:48]execute_script returns [00:14:48]free content buf [00:14:48]Sock 7.Close socket [00:14:48]Sock 7.Thread stoped [00:14:48]accept exits with 9 [00:14:48]New connection [00:14:48]New thread 3067354468 created [00:14:48]Thread 3067497828 joined [00:14:48]Waiting for new connection... [00:14:48] Sock 9.Parse request [00:14:48]Sock 9.Check first char [00:14:48]Sock 9.First char is OK [00:14:48]request: POST /json_proto HTTP/1.0 [00:14:48]Method: POST [00:14:48]URL: /json_proto [00:14:48]Method is POST - this is cgi request [00:14:48]url: /json_proto [00:14:48]query_string will be loaded in cgi processing [00:14:48]execute_cgi json_proto POST (null) [00:14:48]execute_cgi path=json_proto method=POST [00:14:48]POST find Content-Length [00:14:48]Host: 172.17.42.3:8080 [00:14:48]Content-Length: 331 [00:14:48]Content-Type: application/json [00:14:48] [00:14:48]POST finish read [00:14:48]Found Content-Length = 331 [00:14:48]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:14:48]execute_script... [00:14:48]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:14:48]POST & json_proto [00:14:48]process_json_proto [00:14:48]json parsed OK: [00:14:48]protocol is kg_v1.0 [00:14:48]action value=get_value [00:14:48]process_action get_value [00:14:48]cmd_get_value [00:14:48]process_action get_value done [00:14:48]requested_data is exist [00:14:48]produce_requested_data [00:14:48]requested_item fm.sale.total is exist - process it [00:14:48]SAM_PROTO_GetFMData [00:14:48]wFMCommunicate request_size=4 [00:14:48]MH_SAM_APDU [00:14:48]CAPDU: 80 13 03 00 [00:14:48]Write to MH i2c: E2 08 00 22 11 80 13 03 00 00 00 00 00 B2 [00:14:48]Write i2c OK [00:14:48]MH_I2C_Read... [00:14:48]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:14:48]Read from MH i2c: E2 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 FD 00 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 FD 00 22 11 00 C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 73 [00:14:48]RAPDU: C7 04 85 04 C3 04 6E 04 04 00 6D 06 01 00 69 04 A3 00 6F 04 04 00 6E 05 01 00 B1 04 05 00 CE 8A 85 61 02 70 04 05 00 24 FF 36 D1 01 72 04 04 00 AA 8B 4E 90 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1B 1E BD 40 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 5D 05 65 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 9E 00 6F 04 04 00 FF 00 00 00 B1 04 04 00 A8 87 FD 04 70 04 04 00 28 81 FC 04 72 04 03 00 80 06 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 A6 AF 87 EF 90 00 [00:14:48]wFMCommunicate OK [00:14:48]wFMCommunicate request_size=4 [00:14:48]MH_SAM_APDU [00:14:48]CAPDU: 80 17 00 00 [00:14:48]Write to MH i2c: E2 08 00 23 11 80 17 00 00 00 00 00 00 B4 [00:14:48]Write i2c OK [00:14:48]MH_I2C_Read... [00:14:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:48]int [00:14:48]*** FLAG_PRN_KEY set [00:14:48]Read from MH i2c: E2 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 FD 00 [00:14:48]MH_I2C_Read... [00:14:48]Read from MH i2c: E2 FD 00 23 11 00 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C6 [00:14:49]RAPDU: 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 AC 4E 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 *** FLAG_PRN_KEY reset [00:14:49]00 *** FLAG_PRN_KEY set [00:14:49]02 *** FLAG_PRN_KEY reset [00:14:49]F7 *** FLAG_PRN_KEY set [00:14:49]03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 Write to MH i2c: 00 01 [00:14:49]00 wFMCommunicate OK [00:14:49]00 wFMCommunicate request_size=4 [00:14:49]24 MH_SAM_APDU [00:14:49]11 CAPDU: 35 80 [00:14:49]17 00 00 [00:14:49]Write i2c OK [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: 01 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: 01 07 00 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: 01 07 00 24 11 00 08 00 00 00 FF 0F 52 [00:14:49]Write to MH i2c: state=0 [00:14:49]E2 Key pressed [00:14:49]08 Feed [00:14:49]00 25 11 80 17 00 00 00 00 00 00 B6 [00:14:49]Write i2c OK [00:14:49]MH_I2C_Read... [00:14:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:49]*** FLAG_PRN_KEY reset [00:14:49]Read from MH i2c: E2 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: E2 FD 00 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: E2 FD 00 25 11 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8E [00:14:49]Write to MH i2c: RAPDU: D8 B1 00 04 00 00 26 00 11 70 0E 04 [00:14:49]00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 Write i2c OK [00:14:49]01 MH_I2C_Read... [00:14:49]00 Read from MH i2c: 00 D8 F7 [00:14:49]03 MH_I2C_Read... [00:14:49]00 Read from MH i2c: 00 D8 EF 01 03 00 09 [00:14:49]00 MH_I2C_Read... [00:14:49]F6 03 01 00 01 F7 03 00 00 EF 03 09 00 Read from MH i2c: F6 D8 03 01 01 00 00 26 02 11 F7 00 03 0F 00 [00:14:49]00 int line is 0 - check status [00:14:49]EF Write to MH i2c: 03 01 09 00 00 00 F6 27 03 11 01 38 00 [00:14:49]03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:14:49]wFMCommunicate OK [00:14:49]wFMCommunicate request_size=4 [00:14:49]MH_SAM_APDU [00:14:49]CAPDU: 80 17 00 00 [00:14:49]Write i2c OK [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: 01 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: 01 07 00 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: 01 07 00 27 11 00 00 00 00 00 F5 0F 43 [00:14:49]state=2 [00:14:49]Stop feed [00:14:49]Write to MH i2c: E2 08 00 28 11 80 17 00 00 00 00 00 00 B9 [00:14:49]int [00:14:49]Write i2c OK [00:14:49]MH_I2C_Read... [00:14:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:49]Read from MH i2c: E2 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: E2 FD 00 [00:14:49]MH_I2C_Read... [00:14:49]Read from MH i2c: E2 FD 00 28 11 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 34 [00:14:50]RAPDU: 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:14:50]wFMCommunicate OK [00:14:50]wFMCommunicate request_size=4 [00:14:50]MH_SAM_APDU [00:14:50]CAPDU: 80 17 00 00 [00:14:50]Write to MH i2c: 01 00 00 29 11 3A [00:14:50]Write i2c OK [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: 01 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: 01 07 00 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: 01 07 00 29 11 00 00 00 00 00 FF 0F 4F [00:14:50]state=0 [00:14:50]Write to MH i2c: E2 08 00 2A 11 80 17 00 00 00 00 00 00 BB [00:14:50]Write i2c OK [00:14:50]MH_I2C_Read... [00:14:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 225! [00:14:50]Read from MH i2c: E2 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: E2 E4 00 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: E2 E4 00 2A 11 00 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B [00:14:50]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 int [00:14:50]72 Write to MH i2c: 04 01 00 00 00 00 00 2B 04 11 75 3C *** FLAG_PRN_KEY set [00:14:50] [00:14:50]00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 Write i2c OK [00:14:50]03 MH_I2C_Read... [00:14:50]01 Read from MH i2c: 00 01 01 [00:14:50]F7 MH_I2C_Read... [00:14:50]03 Read from MH i2c: 00 01 00 07 EF 00 03 [00:14:50]09 MH_I2C_Read... [00:14:50]00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 Read from MH i2c: 00 01 EF 07 03 00 09 2B 00 11 F6 00 03 08 01 00 00 00 00 05 FF F7 0F 03 59 00 [00:14:50]00 state=0 [00:14:50]EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:14:50]wFMCommunicate OK [00:14:50]SAM_PROTO_GetFMData done [00:14:50]requested_item fm.sale_refund.total is exist - process it [00:14:50]requested_item fm.buy.total is exist - process it [00:14:50]requested_item shift.sale.total is exist - process it [00:14:50]SAM_PROTO_GetShiftData [00:14:50]wFMCommunicate request_size=4 [00:14:50]MH_SAM_APDU [00:14:50]CAPDU: 80 13 Key pressed [00:14:50]02 Feed [00:14:50]00 Write to MH i2c: [00:14:50]D8 00 00 2C 11 14 [00:14:50]Write i2c OK [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: D8 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: D8 01 00 [00:14:50]MH_I2C_Read... [00:14:50]Read from MH i2c: D8 01 00 2C 11 00 15 [00:14:50]Write to MH i2c: int line is 0 - check status [00:14:50]E2 08 00 2D 11 80 13 02 00 00 00 00 00 BC [00:14:50]Write i2c OK [00:14:50]MH_I2C_Read... [00:14:51]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:14:51]*** FLAG_PRN_KEY reset [00:14:51]Read from MH i2c: E2 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 FD 00 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 FD 00 2D 11 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 2F [00:14:51]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 Write to MH i2c: 70 01 04 00 00 00 00 2E 72 11 04 3F 00 [00:14:51]00 00 04 Write i2c OK [00:14:51]75 MH_I2C_Read... [00:14:51]00 Read from MH i2c: EE 01 03 [00:14:51]09 MH_I2C_Read... [00:14:51]00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 Read from MH i2c: 00 01 00 07 EF 00 03 [00:14:51]09 MH_I2C_Read... [00:14:51]00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 Read from MH i2c: 02 01 F7 03 07 90 00 00 2E [00:14:51]11 wFMCommunicate OK [00:14:51]00 wFMCommunicate request_size=4 [00:14:51]00 MH_SAM_APDU [00:14:51]00 CAPDU: 00 80 00 17 FF 00 0F 00 54 [00:14:51] [00:14:51]Write to MH i2c: state=2 [00:14:51]E2 Stop feed [00:14:51]08 00 2F 11 80 17 00 00 00 00 00 00 C0 [00:14:51]int [00:14:51]Write i2c OK [00:14:51]MH_I2C_Read... [00:14:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:51]Read from MH i2c: E2 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 FD 00 [00:14:51]MH_I2C_Read... [00:14:51]Read from MH i2c: E2 FD 00 2F 11 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 C8 [00:14:52]Write to MH i2c: RAPDU: 01 00 00 00 00 30 11 41 [00:14:52]EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 Write i2c OK [00:14:52]00 MH_I2C_Read... [00:14:52]00 Read from MH i2c: EE 01 03 [00:14:52]09 MH_I2C_Read... [00:14:52]00 Read from MH i2c: F2 01 03 07 01 00 00 [00:14:52]01 MH_I2C_Read... [00:14:52]F3 90 00 [00:14:52]wFMCommunicate OK [00:14:52]wFMCommunicate request_size=4 [00:14:52]MH_SAM_APDU [00:14:52]CAPDU: 80 17 00 00 [00:14:52]Read from MH i2c: 01 07 00 30 11 00 00 00 00 00 FF 0F 56 [00:14:52]state=0 [00:14:52]Write to MH i2c: E2 08 00 31 11 80 17 00 00 00 00 00 00 C2 [00:14:52]Write i2c OK [00:14:52]MH_I2C_Read... [00:14:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:52]Read from MH i2c: E2 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 FD 00 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 FD 00 31 11 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 94 [00:14:52]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:14:52]wFMCommunicate OK [00:14:52]wFMCommunicate request_size=4 [00:14:52]MH_SAM_APDU [00:14:52]CAPDU: 80 17 00 00 [00:14:52]Write to MH i2c: E2 08 00 32 11 80 17 00 00 00 00 00 00 C3 [00:14:52]OFD Sender: No OFD packet to send [00:14:52]Write i2c OK [00:14:52]MH_I2C_Read... [00:14:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:52]Read from MH i2c: E2 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 FD 00 [00:14:52]MH_I2C_Read... [00:14:52]Read from MH i2c: E2 FD 00 32 11 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 35 [00:14:53]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:14:53]wFMCommunicate OK [00:14:53]wFMCommunicate request_size=4 [00:14:53]MH_SAM_APDU [00:14:53]CAPDU: 80 17 00 00 [00:14:53]Write to MH i2c: E2 08 00 33 11 80 17 00 00 00 00 00 00 C4 [00:14:53]Write i2c OK [00:14:53]MH_I2C_Read... [00:14:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:14:53]Read from MH i2c: E2 [00:14:53]MH_I2C_Read... [00:14:53]Read from MH i2c: E2 BD 00 [00:14:53]MH_I2C_Read... [00:14:53]Read from MH i2c: E2 BD 00 33 11 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 AA [00:14:53]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:14:53]wFMCommunicate OK [00:14:53]SAM_PROTO_GetShiftData done [00:14:53]requested_item shift.sale.total_cash is exist - process it [00:14:53]requested_item shift.sale_refund.total is exist - process it [00:14:53]requested_item shift.sale_refund.total_cash is exist - process it [00:14:53]requested_item shift.buy.total is exist - process it [00:14:53]requested_item shift.buy.total_cash is exist - process it [00:14:53]produce_requested_data done [00:14:53]produce_requested_data return {"fm.sale.total":102260763.66,"fm.sale_refund.total":837242.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:14:53]process_action_free get_value [00:14:53]json_value_free [00:14:53]json_value_free done [00:14:53]process_json_proto returns [00:14:53]Send response to host [00:14:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":102260763.66,"fm.sale_refund.total":837242.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:14:53]free response buf [00:14:53]execute_script done [00:14:53]execute_script returns [00:14:53]free content buf [00:14:53]Sock 9.Close socket [00:14:53]Sock 9.Thread stoped [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]accept exits with 7 [00:18:37]New connection [00:18:37]New thread 3067497828 created [00:18:37]Thread 3067354468 joined [00:18:37]Waiting for new connection... [00:18:37] Sock 7.Parse request [00:18:37]Sock 7.Check first char [00:18:37]Sock 7.First char is OK [00:18:37]request: POST /json_proto HTTP/1.0 [00:18:37]Method: POST [00:18:37]URL: /json_proto [00:18:37]Method is POST - this is cgi request [00:18:37]url: /json_proto [00:18:37]query_string will be loaded in cgi processing [00:18:37]execute_cgi json_proto POST (null) [00:18:37]execute_cgi path=json_proto method=POST [00:18:37]POST find Content-Length [00:18:37]Host: 172.17.42.3:8080 [00:18:37]Content-Length: 765 [00:18:37]Content-Type: application/json [00:18:37] [00:18:37]POST finish read [00:18:37]Found Content-Length = 765 [00:18:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46301", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 52.500, "sum" : 4000.50, "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: Mbank", "payments": [ { "type": 1, "sum" : 4000.50 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:18:37]execute_script... [00:18: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 : (1)46301", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 52.500, "sum" : 4000.50, "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: Mbank", "payments": [ { "type": 1, "sum" : 4000.50 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:18:37]POST & json_proto [00:18:37]process_json_proto [00:18:37]json parsed OK: [00:18:37]protocol is kg_v1.0 [00:18:37]action value=close_receipt [00:18:37]process_action close_receipt [00:18:37]cmd_close_receipt [00:18:37]MH_GetDate [00:18:37]Write to MH i2c: F0 00 00 34 11 34 [00:18:37]Write i2c OK [00:18:37]MH_I2C_Read... [00:18:37]Read from MH i2c: F0 [00:18:37]MH_I2C_Read... [00:18:37]Read from MH i2c: F0 09 00 [00:18:37]MH_I2C_Read... [00:18:37]Read from MH i2c: F0 09 00 34 11 00 DE 29 20 67 0E CB 1F 67 2A [00:18:37]GetLastDocTimeStamp 1730160885 [00:18:37]current date 1730161118 [00:18:37]FM_GetShiftState [00:18:37]SAM_PROTO_GetShiftState [00:18:37]wFMCommunicate request_size=4 [00:18:37]MH_SAM_APDU [00:18:37]CAPDU: 80 13 01 00 [00:18:37]Write to MH i2c: E2 08 00 35 11 80 13 01 00 00 00 00 00 C3 [00:18:37]Write i2c OK [00:18:37]MH_I2C_Read... [00:18:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:18:37]Read from MH i2c: E2 [00:18:37]MH_I2C_Read... [00:18:37]Read from MH i2c: E2 0E 00 [00:18:37]MH_I2C_Read... [00:18:37]Read from MH i2c: E2 0E 00 35 11 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 73 [00:18:37]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [00:18:37]wFMCommunicate OK [00:18:37]SAM_PROTO_GetShiftState done [00:18:37]FM_GetShiftState done [00:18:37]opened in 1730160885 [00:18:37]opened+sec_in_day 1730247285 [00:18:37]quantity*price = 400050 [00:18:37]sum+1 = 400051 [00:18:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 4000.50 НСП 1% : 35.40 НДС 12% : 424.83 Наличными: 0.00 Безнал.: 4000.50 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 1 29.10.2024 00:18 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68278 ФПД: 22356541246656 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T001838&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68278&fm=22356541246656&tin=02508201610067®Number=0000000000091759&sum=400050 [00:18:38]StoreToDocumentArchive [00:18:38]shift 548 fd 68278 [00:18:38]save to /storage/0548/doc_00068278 [00:18:38]save last doc name /storage/0548/doc_00068278 to /storage/kkm_last_doc_name [00:18:38]save OK [00:18:38]Clear old archive folders... [00:18:38]ProcessDocumentItem done err = 0, tmpTLVsize=248 [00:18:38]tlvbuf is 005E1B70 [00:18:38]SAM_PROTO_ClearQueue [00:18:38]wFMCommunicate request_size=4 [00:18:38]MH_SAM_APDU [00:18:38]CAPDU: 80 09 00 00 [00:18:38]Write to MH i2c: E2 08 00 42 11 80 09 00 00 00 00 00 00 C5 [00:18:38]Write i2c OK [00:18:38]MH_I2C_Read... [00:18:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:18:38]Read from MH i2c: E2 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 03 00 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 03 00 42 11 00 90 00 C7 [00:18:38]RAPDU: 90 00 [00:18:38]wFMCommunicate OK [00:18:38]SAM_PROTO_ClearQueue done [00:18:38]KKMCreateOFDPacket [00:18:38]OFDProtocolAddRootSTLVToBuf [00:18:38]FM_MakeSignedData [00:18:38]FM_MakeSignedData [00:18:38]SAM_PROTO_SignData [00:18:38]wFMCommunicate request_size=4 [00:18:38]MH_SAM_APDU [00:18:38]CAPDU: 80 0D 01 02 [00:18:38]Write to MH i2c: E2 08 00 43 11 80 0D 01 02 00 00 00 00 CD [00:18:38]Write i2c OK [00:18:38]MH_I2C_Read... [00:18:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:18:38]Read from MH i2c: E2 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 03 00 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 03 00 43 11 00 90 00 C8 [00:18:38]RAPDU: 90 00 [00:18:38]wFMCommunicate OK [00:18:38]wFMCommunicate request_size=255 [00:18:38]MH_SAM_APDU [00:18:38]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 14 CD 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 B2 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B2 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 A5 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B2 1A 06 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 DE 29 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B6 0A 01 00 35 04 06 00 14 55 49 B3 [00:18:38]Write to MH i2c: E2 02 01 44 11 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 14 CD 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 B2 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B2 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 A5 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B2 1A 06 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 DE 29 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B6 0A 01 00 35 04 06 00 14 55 49 B3 00 00 C0 [00:18:38]Write i2c OK [00:18:38]MH_I2C_Read... [00:18:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:18:38]Read from MH i2c: E2 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 03 00 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 03 00 44 11 00 90 00 C9 [00:18:38]RAPDU: 90 00 [00:18:38]wFMCommunicate OK [00:18:38]wFMCommunicate request_size=7 [00:18:38]MH_SAM_APDU [00:18:38]CAPDU: 80 0D 02 02 02 0C C0 [00:18:38]Write to MH i2c: E2 0A 00 45 11 80 0D 02 02 02 00 0C C0 00 00 A0 [00:18:38]Write i2c OK [00:18:38]MH_I2C_Read... [00:18:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:18:38]Read from MH i2c: E2 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 03 00 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 03 00 45 11 00 90 00 CA [00:18:38]RAPDU: 90 00 [00:18:38]wFMCommunicate OK [00:18:38]wFMCommunicate request_size=4 [00:18:38]MH_SAM_APDU [00:18:38]CAPDU: 80 0D 03 02 [00:18:38]Write to MH i2c: E2 08 00 46 11 80 0D 03 02 00 00 00 00 D2 [00:18:38]Write i2c OK [00:18:38]MH_I2C_Read... [00:18:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:18:38]Read from MH i2c: E2 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 0B 00 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 0B 00 46 11 00 7E CF 05 A4 CA 37 84 0E 90 00 5C [00:18:38]RAPDU: 7E CF 05 A4 CA 37 84 0E 90 00 [00:18:38]wFMCommunicate OK [00:18:38]SAM_PROTO_SignData done [00:18:38]FM_MakeSignedData done [00:18:38]CreateOFDProtocolMessage [00:18:38]wFMCommunicate request_size=4 [00:18:38]MH_SAM_APDU [00:18:38]CAPDU: 80 11 00 00 [00:18:38]Write to MH i2c: E2 08 00 47 11 80 11 00 00 00 00 00 00 D2 [00:18:38]Write i2c OK [00:18:38]MH_I2C_Read... [00:18:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:18:38]Read from MH i2c: E2 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 17 00 [00:18:38]MH_I2C_Read... [00:18:38]Read from MH i2c: E2 17 00 47 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 29 [00:18:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:18:38]wFMCommunicate OK [00:18:38]CreateOFDProtocolMessage done [00:18:38]OFDSenderStorePacket 68278 [00:18:38]StoreOFDPacket docnum=68278 [00:18:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 16 03 04 01 DA BB 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 14 CD 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 B2 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B2 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 A5 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B2 1A 06 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 DE 29 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B6 0A 01 00 35 04 06 00 14 55 49 B3 0C C0 7E CF 05 A4 CA 37 84 0E [00:18:38]CheckFolder [00:18:38]dirname=/storage/ofd_packets [00:18:38]CheckFolder done [00:18:38]ProducePacketName [00:18:38]name=ofd_packets/00068278 [00:18:38]NVStorageSaveData ofd_packets/00068278 [00:18:38]File name is /storage/ofd_packets/00068278 [00:18:38]Write 298 bytes [00:18:38]NVStorageSaveData done [00:18:38]OFDSenderStorePacket done [00:18:38]KKMCreateOFDPacket done [00:18:38]NVStorageSaveData kkm_last_timestamp [00:18:38]File name is /storage/kkm_last_timestamp [00:18:39]Write 4 bytes [00:18:39]NVStorageSaveData done [00:18:39]ExternCall_PrintAddStr [00:18:39]wPrintStart [00:18:39]Write to MH i2c: 01 00 00 48 11 59 [00:18:39]Write i2c OK [00:18:39]MH_I2C_Read... [00:18:39]Read from MH i2c: 01 [00:18:39]MH_I2C_Read... [00:18:39]Read from MH i2c: 01 07 00 [00:18:39]MH_I2C_Read... [00:18:39]Read from MH i2c: 01 07 00 48 11 00 00 00 00 00 FF 0F 6E [00:18:39]RasterBufferAndPrint [00:18:39]line Счет N : (1)46301 [00:18:39]line ИНН: 02508201610067 [00:18:39]line Контрольно-Кассовый Чек [00:18:39]line ПРОДАЖА [00:18:39]line ТРК (МРК, ГНК) : 21 [00:18:39]line Товар: 2710194210 [00:18:39]line ДТ-К-5 [00:18:39]line 52.500 * 76.20 [00:18:39]line = 4000.50 [00:18:39]line НДС 12% НСП 1% [00:18:39]line > о реализуемом товаре [00:18:39]line ИТОГО: 4000.50 [00:18:39]line НСП 1% : 35.40 [00:18:39]line НДС 12% : 424.83 [00:18:39]line Наличными: 0.00 [00:18:39]line Безнал.: 4000.50 [00:18:39]line Место: АЗС № 160 "Партнер Нефть" [00:18:39]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [00:18:39]line СНО: Общий режим [00:18:39]line Чек 1 29.10.2024 00:18 [00:18:39]line Смена: 548 ФФД: 1.0 [00:18:39]line ЗНМ: 0300000093 [00:18:39]line РНМ: 0000000000091759 [00:18:39]line Версия ККМ: 001 [00:18:39]line Платежная система: Mbank [00:18:39]line ФМ: 0000000000871758 [00:18:39]line ФД: 68278 [00:18:39]line ФПД: 22356541246656 [00:18:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T001838&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68278&fm=22356541246656&tin=02508201610067®Number=0000000000091759&sum=400050 [00:18:39]OFD Sender: Processing packet 68278 [packets to send 27, broken 26] [00:18:39]ProducePacketName [00:18:39]name=ofd_packets/00068278 [00:18:39]OFD Sender: To server: pG, [00:18:39]CommunicateWithHost lk.salyk.kg:30040 [00:18:39]ConnectInit lk.salyk.kg [00:18:39]written 0, free lines is 4095 [00:18:39]Connected sock=10 [00:18:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 16 03 04 01 DA BB 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 14 CD 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 B2 1A 06 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B2 1A 06 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D4 0D 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F3 A5 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B2 1A 06 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 DE 29 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B6 0A 01 00 35 04 06 00 14 55 49 B3 0C C0 7E CF 05 A4 CA 37 84 0E [00:18:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 9E 69 47 00 1C D4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B6 0A 01 00 F4 03 04 00 BE D5 1F 67 B6 04 01 00 00 FA B6 51 64 E3 75 14 87 [00:18:39]CommunicateWithHost err = 0 [00:18:39]CheckOFDResponse [00:18:39]1017 (14) - 77093643461234 [00:18:39]1041 (16) - 0000000000871758 [00:18:39]1040 (4) - 68278 [00:18:39]1012 (4) - 28.10.2024 18:19 [00:18:39]1206 (1) - 0 [00:18:39]OFD Sender: Remove packet 68278 [00:18:39]ProducePacketName [00:18:39]name=ofd_packets/00068278 [00:18:39]NVStorageDeleteData [00:18:39]Write to MH i2c: 01 00 00 70 11 81 [00:18:39]Write i2c OK [00:18:39]MH_I2C_Read... [00:18:39]Read from MH i2c: 01 [00:18:39]MH_I2C_Read... [00:18:39]Read from MH i2c: 01 07 00 [00:18:39]MH_I2C_Read... [00:18:39]Read from MH i2c: 01 07 00 70 11 00 00 00 00 00 DC 0C 70 [00:18:39]RasterBufferAndPrint [00:18:39]line [00:18:39]line [00:18:39]line [00:18:39]line [00:18:39]line [00:18:39]written 0, free lines is 3296 [00:18:39]MH_Cut [00:18:39]Write to MH i2c: D1 01 00 77 11 01 5A [00:18:39]Write i2c OK [00:18:39]MH_I2C_Read... [00:18:39]Read from MH i2c: D1 [00:18:39]MH_I2C_Read... [00:18:39]Read from MH i2c: D1 01 00 [00:18:39]MH_I2C_Read... [00:18:39]Read from MH i2c: D1 01 00 77 11 00 59 [00:18:39]Write to MH i2c: 01 00 00 78 11 89 [00:18:39]Write i2c OK [00:18:39]MH_I2C_Read... [00:18:40]OFD Sender: No OFD packet to send [00:18:40]*** Cut start [00:18:40]*** Partial cut [00:18:40]*** CUTSNS_PIN = 1 [00:18:40]*** CUTSNS_PIN = 0 [00:18:40]*** Brake cut motor [00:18:41]Read from MH i2c: 01 [00:18:41]MH_I2C_Read... [00:18:41]*** Stop cut motor [00:18:41]*** Cut end [00:18:41]Read from MH i2c: 01 07 00 [00:18:41]MH_I2C_Read... [00:18:41]Read from MH i2c: 01 07 00 78 11 00 00 00 00 00 FF 0F 9E [00:18:41]process_action close_receipt done [00:18:41]requested_data is exist [00:18:41]produce_requested_data [00:18:41]requested_item fm.sn is exist - process it [00:18:41]wFMCommunicate request_size=4 [00:18:41]MH_SAM_APDU [00:18:41]CAPDU: 80 11 00 00 [00:18:41]Write to MH i2c: E2 08 00 79 11 80 11 00 00 00 00 00 00 04 [00:18:41]Write i2c OK [00:18:41]MH_I2C_Read... [00:18:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:18:41]Read from MH i2c: E2 [00:18:41]MH_I2C_Read... [00:18:41]Read from MH i2c: E2 17 00 [00:18:41]MH_I2C_Read... [00:18:41]Read from MH i2c: E2 17 00 79 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 5B [00:18:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:18:41]wFMCommunicate OK [00:18:41]requested_item fd.num is exist - process it [00:18:41]SAM_PROTO_GetFieldsCounters [00:18:41]wFMCommunicate request_size=4 [00:18:41]MH_SAM_APDU [00:18:41]CAPDU: 80 13 00 00 [00:18:41]Write to MH i2c: E2 08 00 7A 11 80 13 00 00 00 00 00 00 07 [00:18:41]Write i2c OK [00:18:41]MH_I2C_Read... [00:18:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:18:41]Read from MH i2c: E2 [00:18:41]MH_I2C_Read... [00:18:41]Read from MH i2c: E2 62 00 [00:18:41]MH_I2C_Read... [00:18:41]Read from MH i2c: E2 62 00 7A 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B6 0A 01 00 0E 04 04 00 24 02 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 1C [00:18:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B6 0A 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:18:41]wFMCommunicate OK [00:18:41]SAM_PROTO_GetFieldsCounters done [00:18:41]requested_item shift.num is exist - process it [00:18:41]requested_item shift.opened is exist - process it [00:18:41]req_shift_opened [00:18:41]FM_GetShiftState [00:18:41]SAM_PROTO_GetShiftState [00:18:41]wFMCommunicate request_size=4 [00:18:41]MH_SAM_APDU [00:18:41]CAPDU: 80 13 01 00 [00:18:41]Write to MH i2c: E2 08 00 7B 11 80 13 01 00 00 00 00 00 09 [00:18:41]Write i2c OK [00:18:41]MH_I2C_Read... [00:18:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:18:41]Read from MH i2c: E2 [00:18:41]MH_I2C_Read... [00:18:41]Read from MH i2c: E2 0E 00 [00:18:41]MH_I2C_Read... [00:18:41]Read from MH i2c: E2 0E 00 7B 11 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 B9 [00:18:41]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [00:18:41]wFMCommunicate OK [00:18:41]SAM_PROTO_GetShiftState done [00:18:41]FM_GetShiftState done [00:18:41]req_shift_opened done [00:18:41]requested_item shift.open_date is exist - process it [00:18:41]req_shift_open_date [00:18:41]req_shift_open_date done [00:18:41]produce_requested_data done [00:18:41]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68278,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [00:18:41]process_action_free close_receipt [00:18:41]json_value_free [00:18:41]json_value_free done [00:18:41]process_json_proto returns [00:18:41]Send response to host [00:18:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68278,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [00:18:41]free response buf [00:18:41]execute_script done [00:18:41]execute_script returns [00:18:41]free content buf [00:18:41]Sock 7.Close socket [00:18:41]Sock 7.Thread stoped [00:18:45]OFD Sender: No OFD packet to send [00:18:50]OFD Sender: No OFD packet to send [00:18:55]OFD Sender: No OFD packet to send [00:19:00]OFD Sender: No OFD packet to send [00:19:05]OFD Sender: No OFD packet to send [00:19:10]OFD Sender: No OFD packet to send [00:19:15]OFD Sender: No OFD packet to send [00:19:20]OFD Sender: No OFD packet to send [00:19:25]OFD Sender: No OFD packet to send [00:19:30]OFD Sender: No OFD packet to send [00:19:35]OFD Sender: No OFD packet to send [00:19:40]OFD Sender: No OFD packet to send [00:19:45]OFD Sender: No OFD packet to send [00:19:50]OFD Sender: No OFD packet to send [00:19:55]OFD Sender: No OFD packet to send [00:20:00]OFD Sender: No OFD packet to send [00:20:05]OFD Sender: No OFD packet to send [00:20:10]OFD Sender: No OFD packet to send [00:20:15]OFD Sender: No OFD packet to send [00:20:20]OFD Sender: No OFD packet to send [00:20:25]OFD Sender: No OFD packet to send [00:20:30]OFD Sender: No OFD packet to send [00:20:35]OFD Sender: No OFD packet to send [00:20:40]OFD Sender: No OFD packet to send [00:20:45]OFD Sender: No OFD packet to send [00:20:50]OFD Sender: No OFD packet to send [00:20:55]OFD Sender: No OFD packet to send [00:21:00]OFD Sender: No OFD packet to send [00:21:05]OFD Sender: No OFD packet to send [00:21:10]OFD Sender: No OFD packet to send [00:21:15]OFD Sender: No OFD packet to send [00:21:20]OFD Sender: No OFD packet to send [00:21:25]OFD Sender: No OFD packet to send [00:21:30]OFD Sender: No OFD packet to send [00:21:35]OFD Sender: No OFD packet to send [00:21:40]OFD Sender: No OFD packet to send [00:21:45]OFD Sender: No OFD packet to send [00:21:50]OFD Sender: No OFD packet to send [00:21:55]OFD Sender: No OFD packet to send [00:22:00]OFD Sender: No OFD packet to send [00:22:05]OFD Sender: No OFD packet to send [00:22:10]OFD Sender: No OFD packet to send [00:22:15]OFD Sender: No OFD packet to send [00:22:20]OFD Sender: No OFD packet to send [00:22:25]OFD Sender: No OFD packet to send [00:22:30]OFD Sender: No OFD packet to send [00:22:35]OFD Sender: No OFD packet to send [00:22:40]OFD Sender: No OFD packet to send [00:22:45]OFD Sender: No OFD packet to send [00:22:50]OFD Sender: No OFD packet to send [00:22:55]OFD Sender: No OFD packet to send [00:23:00]OFD Sender: No OFD packet to send [00:23:05]OFD Sender: No OFD packet to send [00:23:10]OFD Sender: No OFD packet to send [00:23:15]OFD Sender: No OFD packet to send [00:23:20]OFD Sender: No OFD packet to send [00:23:25]OFD Sender: No OFD packet to send [00:23:30]OFD Sender: No OFD packet to send [00:23:35]OFD Sender: No OFD packet to send [00:23:40]OFD Sender: No OFD packet to send [00:23:45]OFD Sender: No OFD packet to send [00:23:50]OFD Sender: No OFD packet to send [00:23:55]OFD Sender: No OFD packet to send [00:24:00]OFD Sender: No OFD packet to send [00:24:05]OFD Sender: No OFD packet to send [00:24:10]OFD Sender: No OFD packet to send [00:24:15]OFD Sender: No OFD packet to send [00:24:20]OFD Sender: No OFD packet to send [00:24:25]OFD Sender: No OFD packet to send [00:24:30]OFD Sender: No OFD packet to send [00:24:35]OFD Sender: No OFD packet to send [00:24:40]OFD Sender: No OFD packet to send [00:24:45]OFD Sender: No OFD packet to send [00:24:50]OFD Sender: No OFD packet to send [00:24:55]OFD Sender: No OFD packet to send [00:25:00]OFD Sender: No OFD packet to send [00:25:05]OFD Sender: No OFD packet to send [00:25:10]OFD Sender: No OFD packet to send [00:25:15]OFD Sender: No OFD packet to send [00:25:20]OFD Sender: No OFD packet to send [00:25:25]OFD Sender: No OFD packet to send [00:25:30]OFD Sender: No OFD packet to send [00:25:35]OFD Sender: No OFD packet to send [00:25:40]OFD Sender: No OFD packet to send [00:25:45]OFD Sender: No OFD packet to send [00:25:50]OFD Sender: No OFD packet to send [00:25:55]OFD Sender: No OFD packet to send [00:26:00]OFD Sender: No OFD packet to send [00:26:05]OFD Sender: No OFD packet to send [00:26:10]OFD Sender: No OFD packet to send [00:26:15]OFD Sender: No OFD packet to send [00:26:20]OFD Sender: No OFD packet to send [00:26:25]OFD Sender: No OFD packet to send [00:26:30]OFD Sender: No OFD packet to send [00:26:35]OFD Sender: No OFD packet to send [00:26:40]OFD Sender: No OFD packet to send [00:26:45]OFD Sender: No OFD packet to send [00:26:50]OFD Sender: No OFD packet to send [00:26:55]OFD Sender: No OFD packet to send [00:27:00]OFD Sender: No OFD packet to send [00:27:05]OFD Sender: No OFD packet to send [00:27:10]OFD Sender: No OFD packet to send [00:27:15]OFD Sender: No OFD packet to send [00:27:20]OFD Sender: No OFD packet to send [00:27:25]OFD Sender: No OFD packet to send [00:27:30]OFD Sender: No OFD packet to send [00:27:35]OFD Sender: No OFD packet to send [00:27:40]OFD Sender: No OFD packet to send [00:27:45]OFD Sender: No OFD packet to send [00:27:50]OFD Sender: No OFD packet to send [00:27:55]OFD Sender: No OFD packet to send [00:28:00]OFD Sender: No OFD packet to send [00:28:05]OFD Sender: No OFD packet to send [00:28:10]OFD Sender: No OFD packet to send [00:28:15]OFD Sender: No OFD packet to send [00:28:20]OFD Sender: No OFD packet to send [00:28:25]OFD Sender: No OFD packet to send [00:28:30]OFD Sender: No OFD packet to send [00:28:35]OFD Sender: No OFD packet to send [00:28:40]OFD Sender: No OFD packet to send [00:28:45]OFD Sender: No OFD packet to send [00:28:50]OFD Sender: No OFD packet to send [00:28:55]OFD Sender: No OFD packet to send [00:29:00]OFD Sender: No OFD packet to send [00:29:05]OFD Sender: No OFD packet to send [00:29:10]OFD Sender: No OFD packet to send [00:29:15]OFD Sender: No OFD packet to send [00:29:20]OFD Sender: No OFD packet to send [00:29:25]OFD Sender: No OFD packet to send [00:29:30]OFD Sender: No OFD packet to send [00:29:35]OFD Sender: No OFD packet to send [00:29:40]OFD Sender: No OFD packet to send [00:29:45]OFD Sender: No OFD packet to send [00:29:50]OFD Sender: No OFD packet to send [00:29:55]OFD Sender: No OFD packet to send [00:30:00]OFD Sender: No OFD packet to send [00:30:05]OFD Sender: No OFD packet to send [00:30:10]OFD Sender: No OFD packet to send [00:30:15]OFD Sender: No OFD packet to send [00:30:20]OFD Sender: No OFD packet to send [00:30:25]OFD Sender: No OFD packet to send [00:30:30]OFD Sender: No OFD packet to send [00:30:35]OFD Sender: No OFD packet to send [00:30:40]OFD Sender: No OFD packet to send [00:30:45]OFD Sender: No OFD packet to send [00:30:50]OFD Sender: No OFD packet to send [00:30:55]OFD Sender: No OFD packet to send [00:31:00]OFD Sender: No OFD packet to send [00:31:05]OFD Sender: No OFD packet to send [00:31:10]OFD Sender: No OFD packet to send [00:31:14]accept exits with 9 [00:31:14]New connection [00:31:14]New thread 3067354468 created [00:31:14]Thread 3067497828 joined [00:31:14]Waiting for new connection... [00:31:14] Sock 9.Parse request [00:31:14]Sock 9.Check first char [00:31:14]Sock 9.First char is OK [00:31:14]request: POST /json_proto HTTP/1.0 [00:31:14]Method: POST [00:31:14]URL: /json_proto [00:31:14]Method is POST - this is cgi request [00:31:14]url: /json_proto [00:31:14]query_string will be loaded in cgi processing [00:31:14]execute_cgi json_proto POST (null) [00:31:14]execute_cgi path=json_proto method=POST [00:31:14]POST find Content-Length [00:31:14]Host: 172.17.42.3:8080 [00:31:14]Content-Length: 924 [00:31:14]Content-Type: application/json [00:31:14] [00:31:14]POST finish read [00:31:14]Found Content-Length = 924 [00:31:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)17215", "tax_sys" : 0, "items" : [ { "code": "4607084351361", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 4\u0448\u0442", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:31:14]execute_script... [00:31: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)17215", "tax_sys" : 0, "items" : [ { "code": "4607084351361", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 4\u0448\u0442", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:31:14]POST & json_proto [00:31:14]process_json_proto [00:31:14]json parsed OK: [00:31:14]protocol is kg_v1.0 [00:31:14]action value=close_receipt [00:31:14]process_action close_receipt [00:31:14]cmd_close_receipt [00:31:14]MH_GetDate [00:31:14]Write to MH i2c: F0 00 00 7C 11 7C [00:31:14]Write i2c OK [00:31:14]MH_I2C_Read... [00:31:14]Read from MH i2c: F0 [00:31:14]MH_I2C_Read... [00:31:14]Read from MH i2c: F0 09 00 [00:31:14]MH_I2C_Read... [00:31:14]Read from MH i2c: F0 09 00 7C 11 00 D3 2C 20 67 0E CB 1F 67 6A [00:31:14]GetLastDocTimeStamp 1730161118 [00:31:14]current date 1730161875 [00:31:14]FM_GetShiftState [00:31:14]SAM_PROTO_GetShiftState [00:31:14]wFMCommunicate request_size=4 [00:31:14]MH_SAM_APDU [00:31:14]CAPDU: 80 13 01 00 [00:31:14]Write to MH i2c: E2 08 00 7D 11 80 13 01 00 00 00 00 00 0B [00:31:14]Write i2c OK [00:31:14]MH_I2C_Read... [00:31:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:31:14]Read from MH i2c: E2 [00:31:14]MH_I2C_Read... [00:31:14]Read from MH i2c: E2 0E 00 [00:31:14]MH_I2C_Read... [00:31:14]Read from MH i2c: E2 0E 00 7D 11 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 BB [00:31:14]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [00:31:14]wFMCommunicate OK [00:31:14]SAM_PROTO_GetShiftState done [00:31:14]FM_GetShiftState done [00:31:14]opened in 1730160885 [00:31:14]opened+sec_in_day 1730247285 [00:31:14]quantity*price = 13000 [00:31:14]sum+1 = 13001 [00:31:14]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870112002775 Шок батончик ALBENI BITES 80гр 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 205.00 НСП 1% : 1.81 НДС 12% : 21.76 Наличными: 205.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 2 29.10.2024 00:31 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68279 ФПД: 233259054143044 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T003115&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68279&fm=233259054143044&tin=02508201610067®Number=0000000000091759&sum=20500 0 [00:31:15]StoreToDocumentArchive [00:31:15]shift 548 fd 68279 [00:31:15]save to /storage/0548/doc_00068279 [00:31:15]save last doc name /storage/0548/doc_00068279 to /storage/kkm_last_doc_name [00:31:15]save OK [00:31:15]Clear old archive folders... [00:31:15]ProcessDocumentItem done err = 0, tmpTLVsize=393 [00:31:15]tlvbuf is 005E17E0 [00:31:15]SAM_PROTO_ClearQueue [00:31:15]wFMCommunicate request_size=4 [00:31:15]MH_SAM_APDU [00:31:15]CAPDU: 80 09 00 00 [00:31:15]Write to MH i2c: E2 08 00 8A 11 80 09 00 00 00 00 00 00 0D [00:31:15]Write i2c OK [00:31:15]MH_I2C_Read... [00:31:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:31:15]Read from MH i2c: E2 [00:31:15]MH_I2C_Read... [00:31:15]Read from MH i2c: E2 03 00 [00:31:15]MH_I2C_Read... [00:31:15]Read from MH i2c: E2 03 00 8A 11 00 90 00 0F [00:31:15]RAPDU: 90 00 [00:31:15]wFMCommunicate OK [00:31:15]SAM_PROTO_ClearQueue done [00:31:15]KKMCreateOFDPacket [00:31:15]OFDProtocolAddRootSTLVToBuf [00:31:15]FM_MakeSignedData [00:31:15]FM_MakeSignedData [00:31:15]SAM_PROTO_SignData [00:31:15]wFMCommunicate request_size=4 [00:31:15]MH_SAM_APDU [00:31:15]CAPDU: 80 0D 01 02 [00:31:15]Write to MH i2c: E2 08 00 8B 11 80 0D 01 02 00 00 00 00 15 [00:31:15]Write i2c OK [00:31:15]MH_I2C_Read... [00:31:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:31:15]Read from MH i2c: E2 [00:31:15]MH_I2C_Read... [00:31:15]Read from MH i2c: E2 03 00 [00:31:15]MH_I2C_Read... [00:31:15]Read from MH i2c: E2 03 00 8B 11 00 90 00 10 [00:31:15]RAPDU: 90 00 [00:31:15]wFMCommunicate OK [00:31:15]wFMCommunicate request_size=255 [00:31:15]MH_SAM_APDU [00:31:15]CAPDU: 80 0D 02 02 FA 03 00 89 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 [00:31:15]Write to MH i2c: E2 02 01 8C 11 80 0D 02 02 FA 00 03 00 89 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 00 6D [00:31:15]Write i2c OK [00:31:15]MH_I2C_Read... [00:31:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:31:15]Read from MH i2c: E2 [00:31:15]MH_I2C_Read... [00:31:15]Read from MH i2c: E2 03 00 [00:31:15]MH_I2C_Read... [00:31:15]Read from MH i2c: E2 03 00 8C 11 00 90 00 11 [00:31:15]RAPDU: 90 00 [00:31:15]wFMCommunicate OK [00:31:15]wFMCommunicate request_size=152 [00:31:15]MH_SAM_APDU [00:31:15]CAPDU: 80 0D 02 02 93 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 D3 2C 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B7 0A 01 00 35 04 06 00 D4 25 DB 10 16 44 [00:31:15]Write to MH i2c: E2 9B 00 8D 11 80 0D 02 02 93 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 D3 2C 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B7 0A 01 00 35 04 06 00 D4 25 DB 10 16 44 00 00 BF [00:31:15]Write i2c OK [00:31:15]MH_I2C_Read... [00:31:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:31:15]Read from MH i2c: E2 [00:31:15]MH_I2C_Read... [00:31:15]Read from MH i2c: E2 03 00 [00:31:15]MH_I2C_Read... [00:31:15]Read from MH i2c: E2 03 00 8D 11 00 90 00 12 [00:31:15]RAPDU: 90 00 [00:31:15]wFMCommunicate OK [00:31:15]wFMCommunicate request_size=4 [00:31:15]MH_SAM_APDU [00:31:15]CAPDU: 80 0D 03 02 [00:31:15]Write to MH i2c: E2 08 00 8E 11 80 0D 03 02 00 00 00 00 1A [00:31:15]Write i2c OK [00:31:15]MH_I2C_Read... [00:31:15]OFD Sender: No OFD packet to send [00:31:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:31:15]Read from MH i2c: E2 [00:31:15]MH_I2C_Read... [00:31:15]Read from MH i2c: E2 0B 00 [00:31:15]MH_I2C_Read... [00:31:15]Read from MH i2c: E2 0B 00 8E 11 00 35 8F 76 C4 8F 0E 37 FA 90 00 E7 [00:31:15]RAPDU: 35 8F 76 C4 8F 0E 37 FA 90 00 [00:31:15]wFMCommunicate OK [00:31:15]SAM_PROTO_SignData done [00:31:15]FM_MakeSignedData done [00:31:15]CreateOFDProtocolMessage [00:31:15]wFMCommunicate request_size=4 [00:31:15]MH_SAM_APDU [00:31:15]CAPDU: 80 11 00 00 [00:31:15]Write to MH i2c: E2 08 00 8F 11 80 11 00 00 00 00 00 00 1A [00:31:15]Write i2c OK [00:31:15]MH_I2C_Read... [00:31:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:31:15]Read from MH i2c: E2 [00:31:15]MH_I2C_Read... [00:31:15]Read from MH i2c: E2 17 00 [00:31:15]MH_I2C_Read... [00:31:15]Read from MH i2c: E2 17 00 8F 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 71 [00:31:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:31:15]wFMCommunicate OK [00:31:15]CreateOFDProtocolMessage done [00:31:15]OFDSenderStorePacket 68279 [00:31:15]StoreOFDPacket docnum=68279 [00:31:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 9D 01 00 00 3D 15 95 01 32 CD 5A 03 01 00 03 00 89 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 D3 2C 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B7 0A 01 00 35 04 06 00 D4 25 DB 10 16 44 35 8F 76 C4 8F 0E 37 FA [00:31:15]CheckFolder [00:31:15]dirname=/storage/ofd_packets [00:31:15]CheckFolder done [00:31:15]ProducePacketName [00:31:15]name=ofd_packets/00068279 [00:31:15]NVStorageSaveData ofd_packets/00068279 [00:31:15]File name is /storage/ofd_packets/00068279 [00:31:15]Write 443 bytes [00:31:15]NVStorageSaveData done [00:31:15]OFDSenderStorePacket done [00:31:15]KKMCreateOFDPacket done [00:31:15]NVStorageSaveData kkm_last_timestamp [00:31:15]File name is /storage/kkm_last_timestamp [00:31:15]Write 4 bytes [00:31:15]NVStorageSaveData done [00:31:15]ExternCall_PrintAddStr [00:31:15]wPrintStart [00:31:15]Write to MH i2c: 01 00 00 90 11 A1 [00:31:15]Write i2c OK [00:31:15]MH_I2C_Read... [00:31:15]Read from MH i2c: 01 [00:31:15]MH_I2C_Read... [00:31:15]Read from MH i2c: 01 07 00 [00:31:15]MH_I2C_Read... [00:31:15]Read from MH i2c: 01 07 00 90 11 00 00 00 00 00 FF 0F B6 [00:31:15]RasterBufferAndPrint [00:31:15]line Счет N : (3)17215 [00:31:15]line ИНН: 02508201610067 [00:31:15]line Контрольно-Кассовый Чек [00:31:15]line ПРОДАЖА [00:31:15]line Товар: 4607084351361 [00:31:15]line Бисквит Чоко пай 4шт [00:31:15]line 1.000 * 130.00 [00:31:15]line = 130.00 [00:31:15]line НДС 12% НСП 1% [00:31:16]line > о реализуемом товаре [00:31:16]line Товар: 4870112002775 [00:31:16]line Шок батончик ALBENI BITES 80гр [00:31:16]line 1.000 * 75.00 [00:31:16]line = 75.00 [00:31:16]line НДС 12% НСП 1% [00:31:16]line > о реализуемом товаре [00:31:16]line ИТОГО: 205.00 [00:31:16]line НСП 1% : 1.81 [00:31:16]line НДС 12% : 21.76 [00:31:16]line Наличными: 205.00 [00:31:16]line Безнал.: 0.00 [00:31:16]line Место: АЗС № 160 "Партнер Нефть" [00:31:16]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [00:31:16]line СНО: Общий режим [00:31:16]line Чек 2 29.10.2024 00:31 [00:31:16]line Смена: 548 ФФД: 1.0 [00:31:16]line ЗНМ: 0300000093 [00:31:16]line РНМ: 0000000000091759 [00:31:16]line Версия ККМ: 001 [00:31:16]line ФМ: 0000000000871758 [00:31:16]line ФД: 68279 [00:31:16]line ФПД: 233259054143044 [00:31:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T003115&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68279&fm=233259054143044&tin=02508201610067®Number=0000000000091759&sum=20500 [00:31:16]line 0 [00:31:16]OFD Sender: Processing packet 68279 [packets to send 27, broken 26] [00:31:16]ProducePacketName [00:31:16]name=ofd_packets/00068279 [00:31:16]OFD Sender: To server: pG, [00:31:16]CommunicateWithHost lk.salyk.kg:30040 [00:31:16]ConnectInit lk.salyk.kg [00:31:16]written 0, free lines is 4095 [00:31:16]Connected sock=10 [00:31:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 9D 01 00 00 3D 15 95 01 32 CD 5A 03 01 00 03 00 89 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 36 31 06 04 24 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 34 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 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 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 D3 2C 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B7 0A 01 00 35 04 06 00 D4 25 DB 10 16 44 35 8F 76 C4 8F 0E 37 FA [00:31:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 34 6F 47 00 EB E4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B7 0A 01 00 F4 03 04 00 B3 D8 1F 67 B6 04 01 00 00 8E C3 66 D6 DF BC 94 34 [00:31:16]CommunicateWithHost err = 0 [00:31:16]CheckOFDResponse [00:31:16]1017 (14) - 77093643461234 [00:31:16]1041 (16) - 0000000000871758 [00:31:16]1040 (4) - 68279 [00:31:16]1012 (4) - 28.10.2024 18:32 [00:31:16]1206 (1) - 0 [00:31:16]OFD Sender: Remove packet 68279 [00:31:16]ProducePacketName [00:31:16]name=ofd_packets/00068279 [00:31:16]NVStorageDeleteData [00:31:16]Write to MH i2c: 01 00 00 BE 11 CF [00:31:16]Write i2c OK [00:31:16]MH_I2C_Read... [00:31:16]Read from MH i2c: 01 [00:31:16]MH_I2C_Read... [00:31:16]Read from MH i2c: 01 07 00 [00:31:16]MH_I2C_Read... [00:31:16]Read from MH i2c: 01 07 00 BE 11 00 00 00 00 00 61 0C 43 [00:31:16]RasterBufferAndPrint [00:31:16]line [00:31:16]line [00:31:16]line [00:31:16]line [00:31:16]line [00:31:16]written 0, free lines is 3175 [00:31:16]MH_Cut [00:31:16]Write to MH i2c: D1 01 00 C5 11 01 A8 [00:31:16]Write i2c OK [00:31:16]MH_I2C_Read... [00:31:16]Read from MH i2c: D1 [00:31:16]MH_I2C_Read... [00:31:16]Read from MH i2c: D1 01 00 [00:31:16]MH_I2C_Read... [00:31:16]Read from MH i2c: D1 01 00 C5 11 00 A7 [00:31:16]Write to MH i2c: 01 00 00 C6 11 D7 [00:31:16]Write i2c OK [00:31:16]MH_I2C_Read... [00:31:17]OFD Sender: No OFD packet to send [00:31:17]*** Cut start [00:31:17]*** Partial cut [00:31:17]*** CUTSNS_PIN = 1 [00:31:17]*** CUTSNS_PIN = 0 [00:31:17]*** Brake cut motor [00:31:18]Read from MH i2c: 01 [00:31:18]MH_I2C_Read... [00:31:18]*** Stop cut motor [00:31:18]*** Cut end [00:31:18]Read from MH i2c: 01 07 00 [00:31:18]MH_I2C_Read... [00:31:18]Read from MH i2c: 01 07 00 C6 11 00 00 00 00 00 FF 0F EC [00:31:18]process_action close_receipt done [00:31:18]requested_data is exist [00:31:18]produce_requested_data [00:31:18]requested_item fm.sn is exist - process it [00:31:18]wFMCommunicate request_size=4 [00:31:18]MH_SAM_APDU [00:31:18]CAPDU: 80 11 00 00 [00:31:18]Write to MH i2c: E2 08 00 C7 11 80 11 00 00 00 00 00 00 52 [00:31:18]Write i2c OK [00:31:18]MH_I2C_Read... [00:31:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:31:18]Read from MH i2c: E2 [00:31:18]MH_I2C_Read... [00:31:18]Read from MH i2c: E2 17 00 [00:31:18]MH_I2C_Read... [00:31:18]Read from MH i2c: E2 17 00 C7 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 A9 [00:31:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [00:31:18]wFMCommunicate OK [00:31:18]requested_item fd.num is exist - process it [00:31:18]SAM_PROTO_GetFieldsCounters [00:31:18]wFMCommunicate request_size=4 [00:31:18]MH_SAM_APDU [00:31:18]CAPDU: 80 13 00 00 [00:31:18]Write to MH i2c: E2 08 00 C8 11 80 13 00 00 00 00 00 00 55 [00:31:18]Write i2c OK [00:31:18]MH_I2C_Read... [00:31:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:31:18]Read from MH i2c: E2 [00:31:18]MH_I2C_Read... [00:31:18]Read from MH i2c: E2 62 00 [00:31:18]MH_I2C_Read... [00:31:18]Read from MH i2c: E2 62 00 C8 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B7 0A 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 6E [00:31:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B7 0A 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:31:18]wFMCommunicate OK [00:31:18]SAM_PROTO_GetFieldsCounters done [00:31:18]requested_item shift.num is exist - process it [00:31:18]requested_item shift.opened is exist - process it [00:31:18]req_shift_opened [00:31:18]FM_GetShiftState [00:31:18]SAM_PROTO_GetShiftState [00:31:18]wFMCommunicate request_size=4 [00:31:18]MH_SAM_APDU [00:31:18]CAPDU: 80 13 01 00 [00:31:18]Write to MH i2c: E2 08 00 C9 11 80 13 01 00 00 00 00 00 57 [00:31:18]Write i2c OK [00:31:18]MH_I2C_Read... [00:31:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:31:18]Read from MH i2c: E2 [00:31:18]MH_I2C_Read... [00:31:18]Read from MH i2c: E2 0E 00 [00:31:18]MH_I2C_Read... [00:31:18]Read from MH i2c: E2 0E 00 C9 11 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 07 [00:31:18]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [00:31:18]wFMCommunicate OK [00:31:18]SAM_PROTO_GetShiftState done [00:31:18]FM_GetShiftState done [00:31:18]req_shift_opened done [00:31:18]requested_item shift.open_date is exist - process it [00:31:18]req_shift_open_date [00:31:18]req_shift_open_date done [00:31:18]produce_requested_data done [00:31:18]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68279,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [00:31:18]process_action_free close_receipt [00:31:18]json_value_free [00:31:18]json_value_free done [00:31:18]process_json_proto returns [00:31:18]Send response to host [00:31:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68279,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [00:31:18]free response buf [00:31:18]execute_script done [00:31:18]execute_script returns [00:31:18]free content buf [00:31:18]Sock 9.Close socket [00:31:18]Sock 9.Thread stoped [00:31:22]OFD Sender: No OFD packet to send [00:31:27]OFD Sender: No OFD packet to send [00:31:32]OFD Sender: No OFD packet to send [00:31:37]OFD Sender: No OFD packet to send [00:31:42]OFD Sender: No OFD packet to send [00:31:47]OFD Sender: No OFD packet to send [00:31:52]OFD Sender: No OFD packet to send [00:31:57]OFD Sender: No OFD packet to send [00:32:02]OFD Sender: No OFD packet to send [00:32:07]OFD Sender: No OFD packet to send [00:32:12]OFD Sender: No OFD packet to send [00:32:17]OFD Sender: No OFD packet to send [00:32:22]OFD Sender: No OFD packet to send [00:32:27]OFD Sender: No OFD packet to send [00:32:32]OFD Sender: No OFD packet to send [00:32:37]OFD Sender: No OFD packet to send [00:32:42]OFD Sender: No OFD packet to send [00:32:47]OFD Sender: No OFD packet to send [00:32:52]OFD Sender: No OFD packet to send [00:32:57]OFD Sender: No OFD packet to send [00:33:02]OFD Sender: No OFD packet to send [00:33:07]OFD Sender: No OFD packet to send [00:33:12]OFD Sender: No OFD packet to send [00:33:17]OFD Sender: No OFD packet to send [00:33:22]OFD Sender: No OFD packet to send [00:33:27]OFD Sender: No OFD packet to send [00:33:32]OFD Sender: No OFD packet to send [00:33:37]OFD Sender: No OFD packet to send [00:33:42]OFD Sender: No OFD packet to send [00:33:47]OFD Sender: No OFD packet to send [00:33:52]OFD Sender: No OFD packet to send [00:33:57]OFD Sender: No OFD packet to send [00:34:02]OFD Sender: No OFD packet to send [00:34:07]OFD Sender: No OFD packet to send [00:34:12]OFD Sender: No OFD packet to send [00:34:17]OFD Sender: No OFD packet to send [00:34:22]OFD Sender: No OFD packet to send [00:34:27]OFD Sender: No OFD packet to send [00:34:32]OFD Sender: No OFD packet to send [00:34:37]OFD Sender: No OFD packet to send [00:34:42]OFD Sender: No OFD packet to send [00:34:47]OFD Sender: No OFD packet to send [00:34:52]OFD Sender: No OFD packet to send [00:34:57]OFD Sender: No OFD packet to send [00:35:02]OFD Sender: No OFD packet to send [00:35:07]OFD Sender: No OFD packet to send [00:35:12]OFD Sender: No OFD packet to send [00:35:17]OFD Sender: No OFD packet to send [00:35:22]OFD Sender: No OFD packet to send [00:35:27]OFD Sender: No OFD packet to send [00:35:32]OFD Sender: No OFD packet to send [00:35:37]OFD Sender: No OFD packet to send [00:35:42]OFD Sender: No OFD packet to send [00:35:47]OFD Sender: No OFD packet to send [00:35:52]OFD Sender: No OFD packet to send [00:35:57]OFD Sender: No OFD packet to send [00:36:02]OFD Sender: No OFD packet to send [00:36:07]OFD Sender: No OFD packet to send [00:36:12]OFD Sender: No OFD packet to send [00:36:17]OFD Sender: No OFD packet to send [00:36:22]OFD Sender: No OFD packet to send [00:36:27]OFD Sender: No OFD packet to send [00:36:32]OFD Sender: No OFD packet to send [00:36:37]OFD Sender: No OFD packet to send [00:36:42]OFD Sender: No OFD packet to send [00:36:47]OFD Sender: No OFD packet to send [00:36:52]OFD Sender: No OFD packet to send [00:36:57]OFD Sender: No OFD packet to send [00:37:02]OFD Sender: No OFD packet to send [00:37:07]OFD Sender: No OFD packet to send [00:37:12]OFD Sender: No OFD packet to send [00:37:17]OFD Sender: No OFD packet to send [00:37:22]OFD Sender: No OFD packet to send [00:37:27]OFD Sender: No OFD packet to send [00:37:32]OFD Sender: No OFD packet to send [00:37:37]OFD Sender: No OFD packet to send [00:37:42]OFD Sender: No OFD packet to send [00:37:47]OFD Sender: No OFD packet to send [00:37:52]OFD Sender: No OFD packet to send [00:37:57]OFD Sender: No OFD packet to send [00:38:02]OFD Sender: No OFD packet to send [00:38:07]OFD Sender: No OFD packet to send [00:38:12]OFD Sender: No OFD packet to send [00:38:17]OFD Sender: No OFD packet to send [00:38:22]OFD Sender: No OFD packet to send [00:38:27]OFD Sender: No OFD packet to send [00:38:32]OFD Sender: No OFD packet to send [00:38:37]OFD Sender: No OFD packet to send [00:38:42]OFD Sender: No OFD packet to send [00:38:47]OFD Sender: No OFD packet to send [00:38:52]OFD Sender: No OFD packet to send [00:38:57]OFD Sender: No OFD packet to send [00:39:02]OFD Sender: No OFD packet to send [00:39:07]OFD Sender: No OFD packet to send [00:39:12]OFD Sender: No OFD packet to send [00:39:17]OFD Sender: No OFD packet to send [00:39:22]OFD Sender: No OFD packet to send [00:39:27]OFD Sender: No OFD packet to send [00:39:32]OFD Sender: No OFD packet to send [00:39:37]OFD Sender: No OFD packet to send [00:39:42]OFD Sender: No OFD packet to send [00:39:47]OFD Sender: No OFD packet to send [00:39:52]OFD Sender: No OFD packet to send [00:39:57]OFD Sender: No OFD packet to send [00:40:02]OFD Sender: No OFD packet to send [00:40:07]OFD Sender: No OFD packet to send [00:40:12]OFD Sender: No OFD packet to send [00:40:17]OFD Sender: No OFD packet to send [00:40:22]OFD Sender: No OFD packet to send [00:40:27]OFD Sender: No OFD packet to send [00:40:32]OFD Sender: No OFD packet to send [00:40:37]OFD Sender: No OFD packet to send [00:40:42]OFD Sender: No OFD packet to send [00:40:47]OFD Sender: No OFD packet to send [00:40:52]OFD Sender: No OFD packet to send [00:40:57]OFD Sender: No OFD packet to send [00:41:02]OFD Sender: No OFD packet to send [00:41:07]OFD Sender: No OFD packet to send [00:41:12]OFD Sender: No OFD packet to send [00:41:17]OFD Sender: No OFD packet to send [00:41:22]OFD Sender: No OFD packet to send [00:41:27]OFD Sender: No OFD packet to send [00:41:32]OFD Sender: No OFD packet to send [00:41:37]OFD Sender: No OFD packet to send [00:41:42]OFD Sender: No OFD packet to send [00:41:47]OFD Sender: No OFD packet to send [00:41:52]OFD Sender: No OFD packet to send [00:41:57]OFD Sender: No OFD packet to send [00:42:02]OFD Sender: No OFD packet to send [00:42:07]OFD Sender: No OFD packet to send [00:42:12]OFD Sender: No OFD packet to send [00:42:17]OFD Sender: No OFD packet to send [00:42:22]OFD Sender: No OFD packet to send [00:42:27]OFD Sender: No OFD packet to send [00:42:32]OFD Sender: No OFD packet to send [00:42:37]OFD Sender: No OFD packet to send [00:42:42]OFD Sender: No OFD packet to send [00:42:47]OFD Sender: No OFD packet to send [00:42:52]OFD Sender: No OFD packet to send [00:42:57]OFD Sender: No OFD packet to send [00:43:02]OFD Sender: No OFD packet to send [00:43:07]OFD Sender: No OFD packet to send [00:43:12]OFD Sender: No OFD packet to send [00:43:17]OFD Sender: No OFD packet to send [00:43:22]OFD Sender: No OFD packet to send [00:43:27]OFD Sender: No OFD packet to send [00:43:32]OFD Sender: No OFD packet to send [00:43:37]OFD Sender: No OFD packet to send [00:43:42]OFD Sender: No OFD packet to send [00:43:47]OFD Sender: No OFD packet to send [00:43:52]OFD Sender: No OFD packet to send [00:43:57]OFD Sender: No OFD packet to send [00:44:02]OFD Sender: No OFD packet to send [00:44:07]OFD Sender: No OFD packet to send [00:44:12]OFD Sender: No OFD packet to send [00:44:17]OFD Sender: No OFD packet to send [00:44:22]OFD Sender: No OFD packet to send [00:44:27]OFD Sender: No OFD packet to send [00:44:32]OFD Sender: No OFD packet to send [00:44:37]OFD Sender: No OFD packet to send [00:44:42]OFD Sender: No OFD packet to send [00:44:47]OFD Sender: No OFD packet to send [00:44:52]OFD Sender: No OFD packet to send [00:44:57]OFD Sender: No OFD packet to send [00:45:02]OFD Sender: No OFD packet to send [00:45:07]OFD Sender: No OFD packet to send [00:45:12]OFD Sender: No OFD packet to send [00:45:17]OFD Sender: No OFD packet to send [00:45:22]OFD Sender: No OFD packet to send [00:45:27]OFD Sender: No OFD packet to send [00:45:32]OFD Sender: No OFD packet to send [00:45:37]OFD Sender: No OFD packet to send [00:45:42]OFD Sender: No OFD packet to send [00:45:47]OFD Sender: No OFD packet to send [00:45:52]OFD Sender: No OFD packet to send [00:45:57]OFD Sender: No OFD packet to send [00:46:02]OFD Sender: No OFD packet to send [00:46:07]OFD Sender: No OFD packet to send [00:46:12]OFD Sender: No OFD packet to send [00:46:17]OFD Sender: No OFD packet to send [00:46:22]OFD Sender: No OFD packet to send [00:46:27]OFD Sender: No OFD packet to send [00:46:32]OFD Sender: No OFD packet to send [00:46:37]OFD Sender: No OFD packet to send [00:46:42]OFD Sender: No OFD packet to send [00:46:47]OFD Sender: No OFD packet to send [00:46:52]OFD Sender: No OFD packet to send [00:46:57]OFD Sender: No OFD packet to send [00:47:02]OFD Sender: No OFD packet to send [00:47:07]OFD Sender: No OFD packet to send [00:47:12]OFD Sender: No OFD packet to send [00:47:17]OFD Sender: No OFD packet to send [00:47:22]OFD Sender: No OFD packet to send [00:47:27]OFD Sender: No OFD packet to send [00:47:32]OFD Sender: No OFD packet to send [00:47:37]OFD Sender: No OFD packet to send [00:47:42]OFD Sender: No OFD packet to send [00:47:47]OFD Sender: No OFD packet to send [00:47:52]OFD Sender: No OFD packet to send [00:47:57]OFD Sender: No OFD packet to send [00:48:02]OFD Sender: No OFD packet to send [00:48:07]OFD Sender: No OFD packet to send [00:48:12]OFD Sender: No OFD packet to send [00:48:17]OFD Sender: No OFD packet to send [00:48:22]OFD Sender: No OFD packet to send [00:48:27]OFD Sender: No OFD packet to send [00:48:32]OFD Sender: No OFD packet to send [00:48:37]OFD Sender: No OFD packet to send [00:48:42]OFD Sender: No OFD packet to send [00:48:47]OFD Sender: No OFD packet to send [00:48:52]OFD Sender: No OFD packet to send [00:48:57]OFD Sender: No OFD packet to send [00:49:02]OFD Sender: No OFD packet to send [00:49:07]OFD Sender: No OFD packet to send [00:49:12]OFD Sender: No OFD packet to send [00:49:17]OFD Sender: No OFD packet to send [00:49:22]OFD Sender: No OFD packet to send [00:49:27]OFD Sender: No OFD packet to send [00:49:32]OFD Sender: No OFD packet to send [00:49:37]OFD Sender: No OFD packet to send [00:49:42]OFD Sender: No OFD packet to send [00:49:47]OFD Sender: No OFD packet to send [00:49:52]OFD Sender: No OFD packet to send [00:49:57]OFD Sender: No OFD packet to send [00:50:02]OFD Sender: No OFD packet to send [00:50:07]OFD Sender: No OFD packet to send [00:50:12]OFD Sender: No OFD packet to send [00:50:17]OFD Sender: No OFD packet to send [00:50:22]OFD Sender: No OFD packet to send [00:50:27]OFD Sender: No OFD packet to send [00:50:32]OFD Sender: No OFD packet to send [00:50: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:23]OFD Sender: No OFD packet to send [00:57:28]OFD Sender: No OFD packet to send [00:57:33]OFD Sender: No OFD packet to send [00:57:38]OFD Sender: No OFD packet to send [00:57:43]OFD Sender: No OFD packet to send [00:57:48]OFD Sender: No OFD packet to send [00:57:53]OFD Sender: No OFD packet to send [00:57:58]OFD Sender: No OFD packet to send [00:58:03]OFD Sender: No OFD packet to send [00:58:08]OFD Sender: No OFD packet to send [00:58:13]OFD Sender: No OFD packet to send [00:58:18]OFD Sender: No OFD packet to send [00:58:23]OFD Sender: No OFD packet to send [00:58:28]OFD Sender: No OFD packet to send [00:58:33]OFD Sender: No OFD packet to send [00:58:38]OFD Sender: No OFD packet to send [00:58:43]OFD Sender: No OFD packet to send [00:58:48]OFD Sender: No OFD packet to send [00:58:53]OFD Sender: No OFD packet to send [00:58:58]OFD Sender: No OFD packet to send [00:59:03]OFD Sender: No OFD packet to send [00:59:08]OFD Sender: No OFD packet to send [00:59:13]OFD Sender: No OFD packet to send [00:59:18]OFD Sender: No OFD packet to send [00:59:23]OFD Sender: No OFD packet to send [00:59:28]OFD Sender: No OFD packet to send [00:59:33]OFD Sender: No OFD packet to send [00:59:38]OFD Sender: No OFD packet to send [00:59:43]OFD Sender: No OFD packet to send [00:59:48]OFD Sender: No OFD packet to send [00:59:53]OFD Sender: No OFD packet to send [00:59:58]OFD Sender: No OFD packet to send [01:00:03]OFD Sender: No OFD packet to send [01:00:08]OFD Sender: No OFD packet to send [01:00:13]OFD Sender: No OFD packet to send [01:00:18]OFD Sender: No OFD packet to send [01:00:23]OFD Sender: No OFD packet to send [01:00:28]OFD Sender: No OFD packet to send [01:00:33]OFD Sender: No OFD packet to send [01:00:38]OFD Sender: No OFD packet to send [01:00:43]OFD Sender: No OFD packet to send [01:00:48]OFD Sender: No OFD packet to send [01:00:53]OFD Sender: No OFD packet to send [01:00:58]OFD Sender: No OFD packet to send [01:01:03]OFD Sender: No OFD packet to send [01:01:08]OFD Sender: No OFD packet to send [01:01:13]OFD Sender: No OFD packet to send [01:01:18]OFD Sender: No OFD packet to send [01:01:23]OFD Sender: No OFD packet to send [01:01:28]OFD Sender: No OFD packet to send [01:01:33]OFD Sender: No OFD packet to send [01:01:38]OFD Sender: No OFD packet to send [01:01:43]OFD Sender: No OFD packet to send [01:01:48]OFD Sender: No OFD packet to send [01:01:53]OFD Sender: No OFD packet to send [01:01:58]OFD Sender: No OFD packet to send [01:02:03]OFD Sender: No OFD packet to send [01:02:08]OFD Sender: No OFD packet to send [01:02:13]OFD Sender: No OFD packet to send [01:02:18]OFD Sender: No OFD packet to send [01:02:23]OFD Sender: No OFD packet to send [01:02:28]OFD Sender: No OFD packet to send [01:02:33]OFD Sender: No OFD packet to send [01:02:38]OFD Sender: No OFD packet to send [01:02:43]OFD Sender: No OFD packet to send [01:02:48]OFD Sender: No OFD packet to send [01:02:53]OFD Sender: No OFD packet to send [01:02:58]OFD Sender: No OFD packet to send [01:03:03]OFD Sender: No OFD packet to send [01:03:08]OFD Sender: No OFD packet to send [01:03:13]OFD Sender: No OFD packet to send [01:03:18]OFD Sender: No OFD packet to send [01:03:23]OFD Sender: No OFD packet to send [01:03:28]OFD Sender: No OFD packet to send [01:03:33]OFD Sender: No OFD packet to send [01:03:38]OFD Sender: No OFD packet to send [01:03:43]OFD Sender: No OFD packet to send [01:03:48]OFD Sender: No OFD packet to send [01:03:53]OFD Sender: No OFD packet to send [01:03:58]OFD Sender: No OFD packet to send [01:04:03]OFD Sender: No OFD packet to send [01:04:08]OFD Sender: No OFD packet to send [01:04:13]OFD Sender: No OFD packet to send [01:04:18]OFD Sender: No OFD packet to send [01:04:23]OFD Sender: No OFD packet to send [01:04:28]OFD Sender: No OFD packet to send [01:04:33]OFD Sender: No OFD packet to send [01:04:38]OFD Sender: No OFD packet to send [01:04:43]OFD Sender: No OFD packet to send [01:04:48]OFD Sender: No OFD packet to send [01:04:53]OFD Sender: No OFD packet to send [01:04:58]OFD Sender: No OFD packet to send [01:05:03]OFD Sender: No OFD packet to send [01:05:08]OFD Sender: No OFD packet to send [01:05:13]OFD Sender: No OFD packet to send [01:05:18]OFD Sender: No OFD packet to send [01:05:23]OFD Sender: No OFD packet to send [01:05:28]OFD Sender: No OFD packet to send [01:05:33]OFD Sender: No OFD packet to send [01:05:38]OFD Sender: No OFD packet to send [01:05:43]OFD Sender: No OFD packet to send [01:05:48]OFD Sender: No OFD packet to send [01:05:53]OFD Sender: No OFD packet to send [01:05:58]OFD Sender: No OFD packet to send [01:06:03]OFD Sender: No OFD packet to send [01:06:08]OFD Sender: No OFD packet to send [01:06:13]OFD Sender: No OFD packet to send [01:06:18]OFD Sender: No OFD packet to send [01:06:23]OFD Sender: No OFD packet to send [01:06:28]OFD Sender: No OFD packet to send [01:06:33]OFD Sender: No OFD packet to send [01:06:38]OFD Sender: No OFD packet to send [01:06:43]OFD Sender: No OFD packet to send [01:06:48]OFD Sender: No OFD packet to send [01:06:53]OFD Sender: No OFD packet to send [01:06:58]OFD Sender: No OFD packet to send [01:07:03]OFD Sender: No OFD packet to send [01:07:08]OFD Sender: No OFD packet to send [01:07:11]accept exits with 7 [01:07:11]New connection [01:07:11]New thread 3067497828 created [01:07:11]Thread 3067354468 joined [01:07:11]Waiting for new connection... [01:07:11] Sock 7.Parse request [01:07:11]Sock 7.Check first char [01:07:11]Sock 7.First char is OK [01:07:11]request: POST /json_proto HTTP/1.0 [01:07:11]Method: POST [01:07:11]URL: /json_proto [01:07:11]Method is POST - this is cgi request [01:07:11]url: /json_proto [01:07:11]query_string will be loaded in cgi processing [01:07:11]execute_cgi json_proto POST (null) [01:07:11]execute_cgi path=json_proto method=POST [01:07:11]POST find Content-Length [01:07:11]Host: 172.17.42.3:8080 [01:07:11]Content-Length: 815 [01:07:11]Content-Type: application/json [01:07:11] [01:07:11]POST finish read [01:07:11]Found Content-Length = 815 [01:07:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46302", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "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" : 1000.51 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:07:11]execute_script... [01:07:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46302", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "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" : 1000.51 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:07:11]POST & json_proto [01:07:11]process_json_proto [01:07:11]json parsed OK: [01:07:11]protocol is kg_v1.0 [01:07:11]action value=close_receipt [01:07:11]process_action close_receipt [01:07:11]cmd_close_receipt [01:07:11]MH_GetDate [01:07:11]Write to MH i2c: F0 00 00 CA 11 CA [01:07:11]Write i2c OK [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: F0 [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: F0 09 00 [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: F0 09 00 CA 11 00 41 35 20 67 0E CB 1F 67 2F [01:07:11]GetLastDocTimeStamp 1730161875 [01:07:11]current date 1730164033 [01:07:11]FM_GetShiftState [01:07:11]SAM_PROTO_GetShiftState [01:07:11]wFMCommunicate request_size=4 [01:07:11]MH_SAM_APDU [01:07:11]CAPDU: 80 13 01 00 [01:07:11]Write to MH i2c: E2 08 00 CB 11 80 13 01 00 00 00 00 00 59 [01:07:11]Write i2c OK [01:07:11]MH_I2C_Read... [01:07:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:07:11]Read from MH i2c: E2 [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: E2 0E 00 [01:07:11]MH_I2C_Read... [01:07:11]Read from MH i2c: E2 0E 00 CB 11 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 09 [01:07:11]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [01:07:11]wFMCommunicate OK [01:07:11]SAM_PROTO_GetShiftState done [01:07:11]FM_GetShiftState done [01:07:11]opened in 1730160885 [01:07:11]opened+sec_in_day 1730247285 [01:07:11]quantity*price = 100050 [01:07:11]sum+1 = 100052 [01:07:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.51 НСП 1% : 8.85 НДС 12% : 106.25 Наличными: 0.00 Безнал.: 1000.51 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 3 29.10.2024 01:07 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000871758 ФД: 68280 ФПД: 201224096445852 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T010713&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68280&fm=201224096445852&tin=02508201610067®Number=0000000000091759&sum=100051 [01:07:13]StoreToDocumentArchive [01:07:13]shift 548 fd 68280 [01:07:13]save to /storage/0548/doc_00068280 [01:07:13]save last doc name /storage/0548/doc_00068280 to /storage/kkm_last_doc_name [01:07:13]save OK [01:07:13]Clear old archive folders... [01:07:13]ProcessDocumentItem done err = 0, tmpTLVsize=248 [01:07:13]tlvbuf is 005E2350 [01:07:13]SAM_PROTO_ClearQueue [01:07:13]wFMCommunicate request_size=4 [01:07:13]MH_SAM_APDU [01:07:13]CAPDU: 80 09 00 00 [01:07:13]Write to MH i2c: E2 08 00 D8 11 80 09 00 00 00 00 00 00 5B [01:07:13]Write i2c OK [01:07:13]MH_I2C_Read... [01:07:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:07:13]Read from MH i2c: E2 [01:07:13]MH_I2C_Read... [01:07:13]Read from MH i2c: E2 03 00 [01:07:13]MH_I2C_Read... [01:07:13]Read from MH i2c: E2 03 00 D8 11 00 90 00 5D [01:07:13]RAPDU: 90 00 [01:07:13]wFMCommunicate OK [01:07:13]SAM_PROTO_ClearQueue done [01:07:13]KKMCreateOFDPacket [01:07:13]OFDProtocolAddRootSTLVToBuf [01:07:13]FM_MakeSignedData [01:07:13]FM_MakeSignedData [01:07:13]SAM_PROTO_SignData [01:07:13]wFMCommunicate request_size=4 [01:07:13]MH_SAM_APDU [01:07:13]CAPDU: 80 0D 01 02 [01:07:13]Write to MH i2c: E2 08 00 D9 11 80 0D 01 02 00 00 00 00 63 [01:07:13]Write i2c OK [01:07:13]MH_I2C_Read... [01:07:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:07:13]Read from MH i2c: E2 [01:07:13]MH_I2C_Read... [01:07:13]Read from MH i2c: E2 03 00 [01:07:13]MH_I2C_Read... [01:07:13]Read from MH i2c: E2 03 00 D9 11 00 90 00 5E [01:07:13]RAPDU: 90 00 [01:07:13]wFMCommunicate OK [01:07:13]wFMCommunicate request_size=255 [01:07:13]MH_SAM_APDU [01:07:13]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D3 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D3 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 41 35 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B8 0A 01 00 35 04 06 00 B7 03 22 C9 [01:07:13]Write to MH i2c: E2 02 01 DA 11 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D3 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D3 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 41 35 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B8 0A 01 00 35 04 06 00 B7 03 22 C9 00 00 E6 [01:07:13]Write i2c OK [01:07:13]MH_I2C_Read... [01:07:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:07:13]Read from MH i2c: E2 [01:07:13]MH_I2C_Read... [01:07:13]Read from MH i2c: E2 03 00 [01:07:13]MH_I2C_Read... [01:07:13]Read from MH i2c: E2 03 00 DA 11 00 90 00 5F [01:07:13]RAPDU: 90 00 [01:07:13]wFMCommunicate OK [01:07:13]wFMCommunicate request_size=7 [01:07:13]MH_SAM_APDU [01:07:13]CAPDU: 80 0D 02 02 02 F5 9C [01:07:13]Write to MH i2c: E2 0A 00 DB 11 80 0D 02 02 02 00 F5 9C 00 00 FB [01:07:13]Write i2c OK [01:07:13]MH_I2C_Read... [01:07:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:07:13]Read from MH i2c: E2 [01:07:13]MH_I2C_Read... [01:07:13]Read from MH i2c: E2 03 00 [01:07:13]MH_I2C_Read... [01:07:13]Read from MH i2c: E2 03 00 DB 11 00 90 00 60 [01:07:13]RAPDU: 90 00 [01:07:13]wFMCommunicate OK [01:07:13]wFMCommunicate request_size=4 [01:07:13]MH_SAM_APDU [01:07:13]CAPDU: 80 0D 03 02 [01:07:13]Write to MH i2c: E2 08 00 DC 11 80 0D 03 02 00 00 00 00 68 [01:07:13]Write i2c OK [01:07:13]MH_I2C_Read... [01:07:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:07:13]Read from MH i2c: E2 [01:07:13]MH_I2C_Read... [01:07:13]Read from MH i2c: E2 0B 00 [01:07:13]MH_I2C_Read... [01:07:13]Read from MH i2c: E2 0B 00 DC 11 00 56 94 E5 D5 88 BA C0 B7 90 00 C6 [01:07:13]RAPDU: 56 94 E5 D5 88 BA C0 B7 90 00 [01:07:13]wFMCommunicate OK [01:07:13]SAM_PROTO_SignData done [01:07:13]FM_MakeSignedData done [01:07:13]CreateOFDProtocolMessage [01:07:13]wFMCommunicate request_size=4 [01:07:13]MH_SAM_APDU [01:07:13]CAPDU: 80 11 00 00 [01:07:13]Write to MH i2c: E2 08 00 DD 11 80 11 00 00 00 00 00 00 68 [01:07:13]Write i2c OK [01:07:13]MH_I2C_Read... [01:07:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:07:13]Read from MH i2c: E2 [01:07:13]MH_I2C_Read... [01:07:13]Read from MH i2c: E2 17 00 [01:07:13]MH_I2C_Read... [01:07:13]Read from MH i2c: E2 17 00 DD 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 BF [01:07:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [01:07:13]wFMCommunicate OK [01:07:13]CreateOFDProtocolMessage done [01:07:13]OFDSenderStorePacket 68280 [01:07:13]StoreOFDPacket docnum=68280 [01:07:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 86 7E 04 01 81 35 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D3 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D3 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 41 35 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B8 0A 01 00 35 04 06 00 B7 03 22 C9 F5 9C 56 94 E5 D5 88 BA C0 B7 [01:07:13]CheckFolder [01:07:13]dirname=/storage/ofd_packets [01:07:13]CheckFolder done [01:07:13]ProducePacketName [01:07:13]name=ofd_packets/00068280 [01:07:13]NVStorageSaveData ofd_packets/00068280 [01:07:13]File name is /storage/ofd_packets/00068280 [01:07:13]Write 298 bytes [01:07:13]NVStorageSaveData done [01:07:13]OFDSenderStorePacket done [01:07:13]KKMCreateOFDPacket done [01:07:13]NVStorageSaveData kkm_last_timestamp [01:07:13]File name is /storage/kkm_last_timestamp [01:07:13]Write 4 bytes [01:07:13]NVStorageSaveData done [01:07:13]ExternCall_PrintAddStr [01:07:13]wPrintStart [01:07:13]Write to MH i2c: 01 00 00 DE 11 EF [01:07:13]Write i2c OK [01:07:13]MH_I2C_Read... [01:07:13]Read from MH i2c: 01 [01:07:13]MH_I2C_Read... [01:07:13]Read from MH i2c: 01 07 00 [01:07:13]MH_I2C_Read... [01:07:13]Read from MH i2c: 01 07 00 DE 11 00 00 00 00 00 FF 0F 04 [01:07:13]RasterBufferAndPrint [01:07:13]line Счет N : (1)46302 [01:07:13]line ИНН: 02508201610067 [01:07:13]line Контрольно-Кассовый Чек [01:07:13]line ПРОДАЖА [01:07:13]line ТРК (МРК, ГНК) : 21 [01:07:13]line Товар: 2710194210 [01:07:13]line ДТ-К-5 [01:07:13]line 13.130 * 76.20 [01:07:13]line = 1000.51 [01:07:13]line НДС 12% НСП 1% [01:07:13]line > о реализуемом товаре [01:07:13]line ИТОГО: 1000.51 [01:07:13]line НСП 1% : 8.85 [01:07:13]line НДС 12% : 106.25 [01:07:13]line Наличными: 0.00 [01:07:13]line Безнал.: 1000.51 [01:07:13]line Место: АЗС № 160 "Партнер Нефть" [01:07:13]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [01:07:13]line СНО: Общий режим [01:07:13]line Чек 3 29.10.2024 01:07 [01:07:13]line Смена: 548 ФФД: 1.0 [01:07:13]line ЗНМ: 0300000093 [01:07:13]line РНМ: 0000000000091759 [01:07:13]line Версия ККМ: 001 [01:07:13]line Платежная система: Бакай Банк [01:07:13]line ФМ: 0000000000871758 [01:07:13]line ФД: 68280 [01:07:13]line ФПД: 201224096445852 [01:07:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T010713&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68280&fm=201224096445852&tin=02508201610067®Number=0000000000091759&sum=100051 [01:07:13]OFD Sender: Processing packet 68280 [packets to send 27, broken 26] [01:07:13]ProducePacketName [01:07:13]name=ofd_packets/00068280 [01:07:13]OFD Sender: To server: pG, [01:07:13]CommunicateWithHost lk.salyk.kg:30040 [01:07:13]ConnectInit lk.salyk.kg [01:07:13]written 0, free lines is 4095 [01:07:14]Connected sock=10 [01:07:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 86 7E 04 01 81 35 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D3 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D3 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 41 35 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B8 0A 01 00 35 04 06 00 B7 03 22 C9 F5 9C 56 94 E5 D5 88 BA C0 B7 [01:07:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 BB 4F 47 00 BF 17 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B8 0A 01 00 F4 03 04 00 20 E1 1F 67 B6 04 01 00 00 DC 6F 84 A4 13 9E C6 A0 [01:07:14]CommunicateWithHost err = 0 [01:07:14]CheckOFDResponse [01:07:14]1017 (14) - 77093643461234 [01:07:14]1041 (16) - 0000000000871758 [01:07:14]1040 (4) - 68280 [01:07:14]1012 (4) - 28.10.2024 19:08 [01:07:14]1206 (1) - 0 [01:07:14]OFD Sender: Remove packet 68280 [01:07:14]ProducePacketName [01:07:14]name=ofd_packets/00068280 [01:07:14]NVStorageDeleteData [01:07:14]Write to MH i2c: 01 00 00 07 12 19 [01:07:14]Write i2c OK [01:07:14]MH_I2C_Read... [01:07:14]Read from MH i2c: 01 [01:07:14]MH_I2C_Read... [01:07:14]Read from MH i2c: 01 07 00 [01:07:14]MH_I2C_Read... [01:07:14]Read from MH i2c: 01 07 00 07 12 00 00 00 00 00 C0 0C EC [01:07:14]RasterBufferAndPrint [01:07:14]line [01:07:14]line [01:07:14]line [01:07:14]line [01:07:14]line [01:07:14]written 0, free lines is 3268 [01:07:14]MH_Cut [01:07:14]Write to MH i2c: D1 01 00 0E 12 01 F2 [01:07:14]Write i2c OK [01:07:14]MH_I2C_Read... [01:07:14]Read from MH i2c: D1 [01:07:14]MH_I2C_Read... [01:07:14]Read from MH i2c: D1 01 00 [01:07:14]MH_I2C_Read... [01:07:14]Read from MH i2c: D1 01 00 0E 12 00 F1 [01:07:14]Write to MH i2c: 01 00 00 0F 12 21 [01:07:14]Write i2c OK [01:07:14]MH_I2C_Read... [01:07:14]OFD Sender: No OFD packet to send [01:07:15]*** Cut start [01:07:15]*** Partial cut [01:07:15]*** CUTSNS_PIN = 1 [01:07:15]*** CUTSNS_PIN = 0 [01:07:15]*** Brake cut motor [01:07:15]Read from MH i2c: 01 [01:07:15]MH_I2C_Read... [01:07:15]*** Stop cut motor [01:07:15]*** Cut end [01:07:15]Read from MH i2c: 01 07 00 [01:07:15]MH_I2C_Read... [01:07:15]Read from MH i2c: 01 07 00 0F 12 00 00 00 00 00 FF 0F 36 [01:07:15]process_action close_receipt done [01:07:15]requested_data is exist [01:07:15]produce_requested_data [01:07:15]requested_item fm.sn is exist - process it [01:07:15]wFMCommunicate request_size=4 [01:07:15]MH_SAM_APDU [01:07:15]CAPDU: 80 11 00 00 [01:07:15]Write to MH i2c: E2 08 00 10 12 80 11 00 00 00 00 00 00 9C [01:07:15]Write i2c OK [01:07:15]MH_I2C_Read... [01:07:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:07:15]Read from MH i2c: E2 [01:07:15]MH_I2C_Read... [01:07:15]Read from MH i2c: E2 17 00 [01:07:15]MH_I2C_Read... [01:07:15]Read from MH i2c: E2 17 00 10 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 F3 [01:07:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [01:07:15]wFMCommunicate OK [01:07:15]requested_item fd.num is exist - process it [01:07:15]SAM_PROTO_GetFieldsCounters [01:07:15]wFMCommunicate request_size=4 [01:07:15]MH_SAM_APDU [01:07:15]CAPDU: 80 13 00 00 [01:07:15]Write to MH i2c: E2 08 00 11 12 80 13 00 00 00 00 00 00 9F [01:07:15]Write i2c OK [01:07:15]MH_I2C_Read... [01:07:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:07:15]Read from MH i2c: E2 [01:07:15]MH_I2C_Read... [01:07:15]Read from MH i2c: E2 62 00 [01:07:15]MH_I2C_Read... [01:07:15]Read from MH i2c: E2 62 00 11 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B8 0A 01 00 0E 04 04 00 24 02 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 BC [01:07:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B8 0A 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:07:16]wFMCommunicate OK [01:07:16]SAM_PROTO_GetFieldsCounters done [01:07:16]requested_item shift.num is exist - process it [01:07:16]requested_item shift.opened is exist - process it [01:07:16]req_shift_opened [01:07:16]FM_GetShiftState [01:07:16]SAM_PROTO_GetShiftState [01:07:16]wFMCommunicate request_size=4 [01:07:16]MH_SAM_APDU [01:07:16]CAPDU: 80 13 01 00 [01:07:16]Write to MH i2c: E2 08 00 12 12 80 13 01 00 00 00 00 00 A1 [01:07:16]Write i2c OK [01:07:16]MH_I2C_Read... [01:07:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:07:16]Read from MH i2c: E2 [01:07:16]MH_I2C_Read... [01:07:16]Read from MH i2c: E2 0E 00 [01:07:16]MH_I2C_Read... [01:07:16]Read from MH i2c: E2 0E 00 12 12 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 51 [01:07:16]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [01:07:16]wFMCommunicate OK [01:07:16]SAM_PROTO_GetShiftState done [01:07:16]FM_GetShiftState done [01:07:16]req_shift_opened done [01:07:16]requested_item shift.open_date is exist - process it [01:07:16]req_shift_open_date [01:07:16]req_shift_open_date done [01:07:16]produce_requested_data done [01:07:16]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68280,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [01:07:16]process_action_free close_receipt [01:07:16]json_value_free [01:07:16]json_value_free done [01:07:16]process_json_proto returns [01:07:16]Send response to host [01:07:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68280,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [01:07:16]free response buf [01:07:16]execute_script done [01:07:16]execute_script returns [01:07:16]free content buf [01:07:16]Sock 7.Close socket [01:07:16]Sock 7.Thread stoped [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:47]accept exits with 9 [01:07:47]New connection [01:07:47]New thread 3067354468 created [01:07:47]Thread 3067497828 joined [01:07:47]Waiting for new connection... [01:07:47] Sock 9.Parse request [01:07:47]Sock 9.Check first char [01:07:47]Sock 9.First char is OK [01:07:47]request: POST /json_proto HTTP/1.0 [01:07:47]Method: POST [01:07:47]URL: /json_proto [01:07:47]Method is POST - this is cgi request [01:07:47]url: /json_proto [01:07:47]query_string will be loaded in cgi processing [01:07:47]execute_cgi json_proto POST (null) [01:07:47]execute_cgi path=json_proto method=POST [01:07:47]POST find Content-Length [01:07:47]Host: 172.17.42.3:8080 [01:07:47]Content-Length: 678 [01:07:47]Content-Type: application/json [01:07:47] [01:07:47]POST finish read [01:07:47]Found Content-Length = 678 [01:07:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46303", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:07:47]execute_script... [01:07:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46303", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:07:47]POST & json_proto [01:07:47]process_json_proto [01:07:47]json parsed OK: [01:07:47]protocol is kg_v1.0 [01:07:47]action value=close_receipt [01:07:47]process_action close_receipt [01:07:47]cmd_close_receipt [01:07:47]MH_GetDate [01:07:47]Write to MH i2c: F0 00 00 13 12 14 [01:07:47]Write i2c OK [01:07:47]MH_I2C_Read... [01:07:47]Read from MH i2c: F0 [01:07:47]MH_I2C_Read... [01:07:47]Read from MH i2c: F0 09 00 [01:07:47]MH_I2C_Read... [01:07:47]Read from MH i2c: F0 09 00 13 12 00 65 35 20 67 0E CB 1F 67 9D [01:07:47]GetLastDocTimeStamp 1730164033 [01:07:47]current date 1730164069 [01:07:47]FM_GetShiftState [01:07:47]SAM_PROTO_GetShiftState [01:07:47]wFMCommunicate request_size=4 [01:07:47]MH_SAM_APDU [01:07:47]CAPDU: 80 13 01 00 [01:07:47]Write to MH i2c: E2 08 00 14 12 80 13 01 00 00 00 00 00 A3 [01:07:47]Write i2c OK [01:07:47]MH_I2C_Read... [01:07:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:07:47]Read from MH i2c: E2 [01:07:47]MH_I2C_Read... [01:07:47]Read from MH i2c: E2 0E 00 [01:07:47]MH_I2C_Read... [01:07:47]Read from MH i2c: E2 0E 00 14 12 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 53 [01:07:47]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [01:07:47]wFMCommunicate OK [01:07:47]SAM_PROTO_GetShiftState done [01:07:47]FM_GetShiftState done [01:07:47]opened in 1730160885 [01:07:47]opened+sec_in_day 1730247285 [01:07:47]quantity*price = 100050 [01:07:47]sum+1 = 100052 [01:07:47]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.51 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.25 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 4 29.10.2024 01:07 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68281 ФПД: 233365302197451 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T010749&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68281&fm=233365302197451&tin=02508201610067®Number=0000000000091759&sum=100000 [01:07:48]StoreToDocumentArchive [01:07:48]shift 548 fd 68281 [01:07:48]save to /storage/0548/doc_00068281 [01:07:48]save last doc name /storage/0548/doc_00068281 to /storage/kkm_last_doc_name [01:07:48]save OK [01:07:48]Clear old archive folders... [01:07:48]ProcessDocumentItem done err = 0, tmpTLVsize=248 [01:07:48]tlvbuf is B6F2DB20 [01:07:48]SAM_PROTO_ClearQueue [01:07:48]wFMCommunicate request_size=4 [01:07:48]MH_SAM_APDU [01:07:48]CAPDU: 80 09 00 00 [01:07:48]Write to MH i2c: E2 08 00 21 12 80 09 00 00 00 00 00 00 A5 [01:07:48]Write i2c OK [01:07:48]MH_I2C_Read... [01:07:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:07:48]Read from MH i2c: E2 [01:07:48]MH_I2C_Read... [01:07:48]Read from MH i2c: E2 03 00 [01:07:48]MH_I2C_Read... [01:07:48]Read from MH i2c: E2 03 00 21 12 00 90 00 A7 [01:07:48]RAPDU: 90 00 [01:07:48]wFMCommunicate OK [01:07:48]SAM_PROTO_ClearQueue done [01:07:48]KKMCreateOFDPacket [01:07:48]OFDProtocolAddRootSTLVToBuf [01:07:48]FM_MakeSignedData [01:07:48]FM_MakeSignedData [01:07:48]SAM_PROTO_SignData [01:07:48]wFMCommunicate request_size=4 [01:07:48]MH_SAM_APDU [01:07:48]CAPDU: 80 0D 01 02 [01:07:48]Write to MH i2c: E2 08 00 22 12 80 0D 01 02 00 00 00 00 AD [01:07:48]Write i2c OK [01:07:48]MH_I2C_Read... [01:07:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:07:48]Read from MH i2c: E2 [01:07:48]MH_I2C_Read... [01:07:48]Read from MH i2c: E2 03 00 [01:07:48]MH_I2C_Read... [01:07:48]Read from MH i2c: E2 03 00 22 12 00 90 00 A8 [01:07:48]RAPDU: 90 00 [01:07:48]wFMCommunicate OK [01:07:48]wFMCommunicate request_size=255 [01:07:48]MH_SAM_APDU [01:07:48]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 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 65 35 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B9 0A 01 00 35 04 06 00 D4 3E 97 F0 [01:07:48]Write to MH i2c: E2 02 01 23 12 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 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 65 35 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B9 0A 01 00 35 04 06 00 D4 3E 97 F0 00 00 E4 [01:07:48]Write i2c OK [01:07:48]MH_I2C_Read... [01:07:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:07:48]Read from MH i2c: E2 [01:07:48]MH_I2C_Read... [01:07:48]Read from MH i2c: E2 03 00 [01:07:48]MH_I2C_Read... [01:07:48]Read from MH i2c: E2 03 00 23 12 00 90 00 A9 [01:07:48]RAPDU: 90 00 [01:07:48]wFMCommunicate OK [01:07:48]wFMCommunicate request_size=7 [01:07:48]MH_SAM_APDU [01:07:48]CAPDU: 80 0D 02 02 02 BC CB [01:07:48]Write to MH i2c: E2 0A 00 24 12 80 0D 02 02 02 00 BC CB 00 00 3B [01:07:48]Write i2c OK [01:07:48]MH_I2C_Read... [01:07:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:07:48]Read from MH i2c: E2 [01:07:48]MH_I2C_Read... [01:07:48]Read from MH i2c: E2 03 00 [01:07:48]MH_I2C_Read... [01:07:48]Read from MH i2c: E2 03 00 24 12 00 90 00 AA [01:07:48]RAPDU: 90 00 [01:07:48]wFMCommunicate OK [01:07:48]wFMCommunicate request_size=4 [01:07:48]MH_SAM_APDU [01:07:48]CAPDU: 80 0D 03 02 [01:07:48]Write to MH i2c: E2 08 00 25 12 80 0D 03 02 00 00 00 00 B2 [01:07:48]Write i2c OK [01:07:48]MH_I2C_Read... [01:07:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:07:49]Read from MH i2c: E2 [01:07:49]MH_I2C_Read... [01:07:49]Read from MH i2c: E2 0B 00 [01:07:49]MH_I2C_Read... [01:07:49]Read from MH i2c: E2 0B 00 25 12 00 88 7F 58 1A FB 65 90 6B 90 00 87 [01:07:49]RAPDU: 88 7F 58 1A FB 65 90 6B 90 00 [01:07:49]wFMCommunicate OK [01:07:49]SAM_PROTO_SignData done [01:07:49]FM_MakeSignedData done [01:07:49]CreateOFDProtocolMessage [01:07:49]wFMCommunicate request_size=4 [01:07:49]MH_SAM_APDU [01:07:49]CAPDU: 80 11 00 00 [01:07:49]Write to MH i2c: E2 08 00 26 12 80 11 00 00 00 00 00 00 B2 [01:07:49]Write i2c OK [01:07:49]MH_I2C_Read... [01:07:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:07:49]Read from MH i2c: E2 [01:07:49]MH_I2C_Read... [01:07:49]Read from MH i2c: E2 17 00 [01:07:49]MH_I2C_Read... [01:07:49]Read from MH i2c: E2 17 00 26 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 09 [01:07:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [01:07:49]wFMCommunicate OK [01:07:49]CreateOFDProtocolMessage done [01:07:49]OFDSenderStorePacket 68281 [01:07:49]StoreOFDPacket docnum=68281 [01:07:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 26 F6 04 01 0F 01 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 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 65 35 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B9 0A 01 00 35 04 06 00 D4 3E 97 F0 BC CB 88 7F 58 1A FB 65 90 6B [01:07:49]CheckFolder [01:07:49]dirname=/storage/ofd_packets [01:07:49]CheckFolder done [01:07:49]ProducePacketName [01:07:49]name=ofd_packets/00068281 [01:07:49]NVStorageSaveData ofd_packets/00068281 [01:07:49]File name is /storage/ofd_packets/00068281 [01:07:49]Write 298 bytes [01:07:49]NVStorageSaveData done [01:07:49]OFDSenderStorePacket done [01:07:49]KKMCreateOFDPacket done [01:07:49]NVStorageSaveData kkm_last_timestamp [01:07:49]File name is /storage/kkm_last_timestamp [01:07:49]Write 4 bytes [01:07:49]NVStorageSaveData done [01:07:49]ExternCall_PrintAddStr [01:07:49]wPrintStart [01:07:49]Write to MH i2c: 01 00 00 27 12 39 [01:07:49]Write i2c OK [01:07:49]MH_I2C_Read... [01:07:49]Read from MH i2c: 01 [01:07:49]MH_I2C_Read... [01:07:49]Read from MH i2c: 01 07 00 [01:07:49]MH_I2C_Read... [01:07:49]Read from MH i2c: 01 07 00 27 12 00 00 00 00 00 FF 0F 4E [01:07:49]RasterBufferAndPrint [01:07:49]line Счет N : (1)46303 [01:07:49]line ИНН: 02508201610067 [01:07:49]line Контрольно-Кассовый Чек [01:07:49]line ПРОДАЖА [01:07:49]line ТРК (МРК, ГНК) : 21 [01:07:49]line Товар: 2710194210 [01:07:49]line ДТ-К-5 [01:07:49]line 13.130 * 76.20 [01:07:49]line = 1000.51 [01:07:49]line НДС 12% НСП 1% [01:07:49]line > о реализуемом товаре [01:07:49]line ОКРУГЛЕНИЕ: -0.51 [01:07:49]line ИТОГО: 1000.00 [01:07:49]line Внесено: 1000.00 [01:07:49]line СДАЧА: 0.00 [01:07:49]line НСП 1% : 8.85 [01:07:49]line НДС 12% : 106.25 [01:07:49]line Наличными: 1000.00 [01:07:49]line Безнал.: 0.00 [01:07:49]line Место: АЗС № 160 "Партнер Нефть" [01:07:49]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [01:07:49]line СНО: Общий режим [01:07:49]line Чек 4 29.10.2024 01:07 [01:07:49]line Смена: 548 ФФД: 1.0 [01:07:49]line ЗНМ: 0300000093 [01:07:49]line РНМ: 0000000000091759 [01:07:49]line Версия ККМ: 001 [01:07:49]line ФМ: 0000000000871758 [01:07:49]line ФД: 68281 [01:07:49]line ФПД: 233365302197451 [01:07:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T010749&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68281&fm=233365302197451&tin=02508201610067®Number=0000000000091759&sum=100000 [01:07:49]OFD Sender: Processing packet 68281 [packets to send 27, broken 26] [01:07:49]ProducePacketName [01:07:49]name=ofd_packets/00068281 [01:07:49]OFD Sender: To server: pG, [01:07:49]CommunicateWithHost lk.salyk.kg:30040 [01:07:49]ConnectInit lk.salyk.kg [01:07:49]written 0, free lines is 4095 [01:07:49]Connected sock=10 [01:07:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 26 F6 04 01 0F 01 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 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 65 35 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B9 0A 01 00 35 04 06 00 D4 3E 97 F0 BC CB 88 7F 58 1A FB 65 90 6B [01:07:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 6D 77 47 00 05 3B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 B9 0A 01 00 F4 03 04 00 44 E1 1F 67 B6 04 01 00 00 F0 FE 9A A6 38 9C EC 2C [01:07:49]CommunicateWithHost err = 0 [01:07:49]CheckOFDResponse [01:07:49]1017 (14) - 77093643461234 [01:07:49]1041 (16) - 0000000000871758 [01:07:49]1040 (4) - 68281 [01:07:49]1012 (4) - 28.10.2024 19:08 [01:07:49]1206 (1) - 0 [01:07:49]OFD Sender: Remove packet 68281 [01:07:49]ProducePacketName [01:07:49]name=ofd_packets/00068281 [01:07:49]NVStorageDeleteData [01:07:49]Write to MH i2c: 01 00 00 51 12 63 [01:07:49]Write i2c OK [01:07:49]MH_I2C_Read... [01:07:49]Read from MH i2c: 01 [01:07:49]MH_I2C_Read... [01:07:49]Read from MH i2c: 01 07 00 [01:07:49]MH_I2C_Read... [01:07:49]Read from MH i2c: 01 07 00 51 12 00 00 00 00 00 B1 0C 27 [01:07:49]RasterBufferAndPrint [01:07:49]line [01:07:49]line [01:07:49]line [01:07:49]line [01:07:49]line [01:07:49]written 0, free lines is 3255 [01:07:49]MH_Cut [01:07:49]Write to MH i2c: D1 01 00 58 12 01 3C [01:07:49]Write i2c OK [01:07:49]MH_I2C_Read... [01:07:49]Read from MH i2c: D1 [01:07:49]MH_I2C_Read... [01:07:49]Read from MH i2c: D1 01 00 [01:07:49]MH_I2C_Read... [01:07:49]Read from MH i2c: D1 01 00 58 12 00 3B [01:07:49]Write to MH i2c: 01 00 00 59 12 6B [01:07:49]Write i2c OK [01:07:49]MH_I2C_Read... [01:07:50]OFD Sender: No OFD packet to send [01:07:50]*** Cut start [01:07:50]*** Partial cut [01:07:50]*** CUTSNS_PIN = 1 [01:07:50]*** CUTSNS_PIN = 0 [01:07:50]*** Brake cut motor [01:07:51]Read from MH i2c: 01 [01:07:51]MH_I2C_Read... [01:07:51]*** Stop cut motor [01:07:51]*** Cut end [01:07:51]Read from MH i2c: 01 07 00 [01:07:51]MH_I2C_Read... [01:07:51]Read from MH i2c: 01 07 00 59 12 00 00 00 00 00 FF 0F 80 [01:07:51]process_action close_receipt done [01:07:51]requested_data is exist [01:07:51]produce_requested_data [01:07:51]requested_item fm.sn is exist - process it [01:07:51]wFMCommunicate request_size=4 [01:07:51]MH_SAM_APDU [01:07:51]CAPDU: 80 11 00 00 [01:07:51]Write to MH i2c: E2 08 00 5A 12 80 11 00 00 00 00 00 00 E6 [01:07:51]Write i2c OK [01:07:51]MH_I2C_Read... [01:07:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:07:51]Read from MH i2c: E2 [01:07:51]MH_I2C_Read... [01:07:51]Read from MH i2c: E2 17 00 [01:07:51]MH_I2C_Read... [01:07:51]Read from MH i2c: E2 17 00 5A 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 3D [01:07:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [01:07:51]wFMCommunicate OK [01:07:51]requested_item fd.num is exist - process it [01:07:51]SAM_PROTO_GetFieldsCounters [01:07:51]wFMCommunicate request_size=4 [01:07:51]MH_SAM_APDU [01:07:51]CAPDU: 80 13 00 00 [01:07:51]Write to MH i2c: E2 08 00 5B 12 80 13 00 00 00 00 00 00 E9 [01:07:51]Write i2c OK [01:07:51]MH_I2C_Read... [01:07:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:07:51]Read from MH i2c: E2 [01:07:51]MH_I2C_Read... [01:07:51]Read from MH i2c: E2 62 00 [01:07:51]MH_I2C_Read... [01:07:51]Read from MH i2c: E2 62 00 5B 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B9 0A 01 00 0E 04 04 00 24 02 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 0A [01:07:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 B9 0A 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:07:51]wFMCommunicate OK [01:07:51]SAM_PROTO_GetFieldsCounters done [01:07:51]requested_item shift.num is exist - process it [01:07:51]requested_item shift.opened is exist - process it [01:07:51]req_shift_opened [01:07:51]FM_GetShiftState [01:07:51]SAM_PROTO_GetShiftState [01:07:51]wFMCommunicate request_size=4 [01:07:51]MH_SAM_APDU [01:07:51]CAPDU: 80 13 01 00 [01:07:51]Write to MH i2c: E2 08 00 5C 12 80 13 01 00 00 00 00 00 EB [01:07:51]Write i2c OK [01:07:51]MH_I2C_Read... [01:07:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:07:51]Read from MH i2c: E2 [01:07:51]MH_I2C_Read... [01:07:51]Read from MH i2c: E2 0E 00 [01:07:51]MH_I2C_Read... [01:07:51]Read from MH i2c: E2 0E 00 5C 12 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 9B [01:07:51]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [01:07:51]wFMCommunicate OK [01:07:51]SAM_PROTO_GetShiftState done [01:07:51]FM_GetShiftState done [01:07:51]req_shift_opened done [01:07:51]requested_item shift.open_date is exist - process it [01:07:51]req_shift_open_date [01:07:51]req_shift_open_date done [01:07:51]produce_requested_data done [01:07:51]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68281,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [01:07:51]process_action_free close_receipt [01:07:51]json_value_free [01:07:51]json_value_free done [01:07:51]process_json_proto returns [01:07:51]Send response to host [01:07:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68281,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [01:07:51]free response buf [01:07:51]execute_script done [01:07:51]execute_script returns [01:07:51]free content buf [01:07:51]Sock 9.Close socket [01:07:51]Sock 9.Thread stoped [01:07:55]OFD Sender: No OFD packet to send [01:08:00]OFD Sender: No OFD packet to send [01:08:05]OFD Sender: No OFD packet to send [01:08:10]OFD Sender: No OFD packet to send [01:08:15]OFD Sender: No OFD packet to send [01:08:20]OFD Sender: No OFD packet to send [01:08:25]OFD Sender: No OFD packet to send [01:08:30]OFD Sender: No OFD packet to send [01:08:35]OFD Sender: No OFD packet to send [01:08:40]OFD Sender: No OFD packet to send [01:08:45]OFD Sender: No OFD packet to send [01:08:50]OFD Sender: No OFD packet to send [01:08:55]OFD Sender: No OFD packet to send [01:09:00]OFD Sender: No OFD packet to send [01:09:05]OFD Sender: No OFD packet to send [01:09:10]OFD Sender: No OFD packet to send [01:09:15]OFD Sender: No OFD packet to send [01:09:20]OFD Sender: No OFD packet to send [01:09:25]OFD Sender: No OFD packet to send [01:09:30]OFD Sender: No OFD packet to send [01:09:35]OFD Sender: No OFD packet to send [01:09:40]OFD Sender: No OFD packet to send [01:09:45]OFD Sender: No OFD packet to send [01:09:50]OFD Sender: No OFD packet to send [01:09:55]OFD Sender: No OFD packet to send [01:10:00]OFD Sender: No OFD packet to send [01:10:05]OFD Sender: No OFD packet to send [01:10:10]OFD Sender: No OFD packet to send [01:10:15]OFD Sender: No OFD packet to send [01:10:20]OFD Sender: No OFD packet to send [01:10:25]OFD Sender: No OFD packet to send [01:10:30]OFD Sender: No OFD packet to send [01:10:35]OFD Sender: No OFD packet to send [01:10:40]OFD Sender: No OFD packet to send [01:10:45]OFD Sender: No OFD packet to send [01:10:50]OFD Sender: No OFD packet to send [01:10:55]OFD Sender: No OFD packet to send [01:11:00]OFD Sender: No OFD packet to send [01:11:05]OFD Sender: No OFD packet to send [01:11:10]OFD Sender: No OFD packet to send [01:11:15]OFD Sender: No OFD packet to send [01:11:20]OFD Sender: No OFD packet to send [01:11:25]OFD Sender: No OFD packet to send [01:11:30]OFD Sender: No OFD packet to send [01:11:35]OFD Sender: No OFD packet to send [01:11:40]OFD Sender: No OFD packet to send [01:11:45]OFD Sender: No OFD packet to send [01:11:50]OFD Sender: No OFD packet to send [01:11:55]OFD Sender: No OFD packet to send [01:12:00]OFD Sender: No OFD packet to send [01:12:05]OFD Sender: No OFD packet to send [01:12:10]OFD Sender: No OFD packet to send [01:12:15]OFD Sender: No OFD packet to send [01:12:20]OFD Sender: No OFD packet to send [01:12:25]OFD Sender: No OFD packet to send [01:12:30]OFD Sender: No OFD packet to send [01:12:35]OFD Sender: No OFD packet to send [01:12:40]OFD Sender: No OFD packet to send [01:12:45]OFD Sender: No OFD packet to send [01:12:50]OFD Sender: No OFD packet to send [01:12:55]OFD Sender: No OFD packet to send [01:13:00]OFD Sender: No OFD packet to send [01:13:05]OFD Sender: No OFD packet to send [01:13:10]OFD Sender: No OFD packet to send [01:13:15]OFD Sender: No OFD packet to send [01:13:20]OFD Sender: No OFD packet to send [01:13:25]OFD Sender: No OFD packet to send [01:13:30]OFD Sender: No OFD packet to send [01:13:35]OFD Sender: No OFD packet to send [01:13:40]OFD Sender: No OFD packet to send [01:13:45]OFD Sender: No OFD packet to send [01:13:50]OFD Sender: No OFD packet to send [01:13:55]OFD Sender: No OFD packet to send [01:14:00]OFD Sender: No OFD packet to send [01:14:05]OFD Sender: No OFD packet to send [01:14:10]OFD Sender: No OFD packet to send [01:14:15]OFD Sender: No OFD packet to send [01:14:20]OFD Sender: No OFD packet to send [01:14:25]OFD Sender: No OFD packet to send [01:14:30]OFD Sender: No OFD packet to send [01:14:35]OFD Sender: No OFD packet to send [01:14:40]OFD Sender: No OFD packet to send [01:14:45]OFD Sender: No OFD packet to send [01:14:50]OFD Sender: No OFD packet to send [01:14:55]OFD Sender: No OFD packet to send [01:15:00]OFD Sender: No OFD packet to send [01:15:05]OFD Sender: No OFD packet to send [01:15:10]OFD Sender: No OFD packet to send [01:15:15]OFD Sender: No OFD packet to send [01:15:20]OFD Sender: No OFD packet to send [01:15:25]OFD Sender: No OFD packet to send [01:15:30]OFD Sender: No OFD packet to send [01:15:35]OFD Sender: No OFD packet to send [01:15:40]OFD Sender: No OFD packet to send [01:15:45]OFD Sender: No OFD packet to send [01:15:50]OFD Sender: No OFD packet to send [01:15:55]OFD Sender: No OFD packet to send [01:16:00]OFD Sender: No OFD packet to send [01:16:05]OFD Sender: No OFD packet to send [01:16:10]OFD Sender: No OFD packet to send [01:16:15]OFD Sender: No OFD packet to send [01:16:20]OFD Sender: No OFD packet to send [01:16:25]OFD Sender: No OFD packet to send [01:16:30]OFD Sender: No OFD packet to send [01:16:35]OFD Sender: No OFD packet to send [01:16:40]OFD Sender: No OFD packet to send [01:16:45]OFD Sender: No OFD packet to send [01:16:50]OFD Sender: No OFD packet to send [01:16:55]OFD Sender: No OFD packet to send [01:17:00]OFD Sender: No OFD packet to send [01:17:05]OFD Sender: No OFD packet to send [01:17:10]OFD Sender: No OFD packet to send [01:17:15]OFD Sender: No OFD packet to send [01:17:20]OFD Sender: No OFD packet to send [01:17:25]OFD Sender: No OFD packet to send [01:17:30]OFD Sender: No OFD packet to send [01:17:35]OFD Sender: No OFD packet to send [01:17:40]OFD Sender: No OFD packet to send [01:17:45]OFD Sender: No OFD packet to send [01:17:50]OFD Sender: No OFD packet to send [01:17:55]OFD Sender: No OFD packet to send [01:18:00]OFD Sender: No OFD packet to send [01:18:05]OFD Sender: No OFD packet to send [01:18:10]OFD Sender: No OFD packet to send [01:18:15]OFD Sender: No OFD packet to send [01:18:20]OFD Sender: No OFD packet to send [01:18:25]OFD Sender: No OFD packet to send [01:18:30]OFD Sender: No OFD packet to send [01:18:35]OFD Sender: No OFD packet to send [01:18:40]OFD Sender: No OFD packet to send [01:18:45]OFD Sender: No OFD packet to send [01:18:50]OFD Sender: No OFD packet to send [01:18:55]OFD Sender: No OFD packet to send [01:19:00]OFD Sender: No OFD packet to send [01:19:05]OFD Sender: No OFD packet to send [01:19:10]OFD Sender: No OFD packet to send [01:19:15]OFD Sender: No OFD packet to send [01:19:20]OFD Sender: No OFD packet to send [01:19:25]OFD Sender: No OFD packet to send [01:19:30]OFD Sender: No OFD packet to send [01:19:35]OFD Sender: No OFD packet to send [01:19:40]OFD Sender: No OFD packet to send [01:19:45]OFD Sender: No OFD packet to send [01:19:50]OFD Sender: No OFD packet to send [01:19:55]OFD Sender: No OFD packet to send [01:20:00]OFD Sender: No OFD packet to send [01:20:05]OFD Sender: No OFD packet to send [01:20:10]OFD Sender: No OFD packet to send [01:20:15]OFD Sender: No OFD packet to send [01:20:20]OFD Sender: No OFD packet to send [01:20:25]OFD Sender: No OFD packet to send [01:20:30]OFD Sender: No OFD packet to send [01:20:35]OFD Sender: No OFD packet to send [01:20:40]OFD Sender: No OFD packet to send [01:20:45]OFD Sender: No OFD packet to send [01:20:50]OFD Sender: No OFD packet to send [01:20:55]OFD Sender: No OFD packet to send [01:21:00]OFD Sender: No OFD packet to send [01:21:05]OFD Sender: No OFD packet to send [01:21:10]OFD Sender: No OFD packet to send [01:21:15]OFD Sender: No OFD packet to send [01:21:20]OFD Sender: No OFD packet to send [01:21:25]OFD Sender: No OFD packet to send [01:21:30]OFD Sender: No OFD packet to send [01:21:35]OFD Sender: No OFD packet to send [01:21:40]OFD Sender: No OFD packet to send [01:21:45]OFD Sender: No OFD packet to send [01:21:50]OFD Sender: No OFD packet to send [01:21:55]OFD Sender: No OFD packet to send [01:22:00]OFD Sender: No OFD packet to send [01:22:05]OFD Sender: No OFD packet to send [01:22:10]OFD Sender: No OFD packet to send [01:22:15]OFD Sender: No OFD packet to send [01:22:20]OFD Sender: No OFD packet to send [01:22:25]OFD Sender: No OFD packet to send [01:22:30]OFD Sender: No OFD packet to send [01:22:35]OFD Sender: No OFD packet to send [01:22:40]OFD Sender: No OFD packet to send [01:22:45]OFD Sender: No OFD packet to send [01:22:50]OFD Sender: No OFD packet to send [01:22:55]OFD Sender: No OFD packet to send [01:23:00]OFD Sender: No OFD packet to send [01:23:05]OFD Sender: No OFD packet to send [01:23:10]OFD Sender: No OFD packet to send [01:23:15]OFD Sender: No OFD packet to send [01:23:20]OFD Sender: No OFD packet to send [01:23:25]OFD Sender: No OFD packet to send [01:23:30]OFD Sender: No OFD packet to send [01:23:36]OFD Sender: No OFD packet to send [01:23:41]OFD Sender: No OFD packet to send [01:23:46]OFD Sender: No OFD packet to send [01:23:51]OFD Sender: No OFD packet to send [01:23:56]OFD Sender: No OFD packet to send [01:24:01]OFD Sender: No OFD packet to send [01:24:06]OFD Sender: No OFD packet to send [01:24:11]OFD Sender: No OFD packet to send [01:24:16]OFD Sender: No OFD packet to send [01:24:21]OFD Sender: No OFD packet to send [01:24:26]OFD Sender: No OFD packet to send [01:24:31]OFD Sender: No OFD packet to send [01:24:36]OFD Sender: No OFD packet to send [01:24:41]OFD Sender: No OFD packet to send [01:24:46]OFD Sender: No OFD packet to send [01:24:51]OFD Sender: No OFD packet to send [01:24:56]OFD Sender: No OFD packet to send [01:25:01]OFD Sender: No OFD packet to send [01:25:06]OFD Sender: No OFD packet to send [01:25:11]OFD Sender: No OFD packet to send [01:25:16]OFD Sender: No OFD packet to send [01:25:21]OFD Sender: No OFD packet to send [01:25:26]OFD Sender: No OFD packet to send [01:25:31]OFD Sender: No OFD packet to send [01:25:36]OFD Sender: No OFD packet to send [01:25:41]OFD Sender: No OFD packet to send [01:25:46]OFD Sender: No OFD packet to send [01:25:51]OFD Sender: No OFD packet to send [01:25:56]OFD Sender: No OFD packet to send [01:26:01]OFD Sender: No OFD packet to send [01:26:06]OFD Sender: No OFD packet to send [01:26:11]OFD Sender: No OFD packet to send [01:26:16]OFD Sender: No OFD packet to send [01:26:21]OFD Sender: No OFD packet to send [01:26:26]OFD Sender: No OFD packet to send [01:26:31]OFD Sender: No OFD packet to send [01:26:36]OFD Sender: No OFD packet to send [01:26:41]OFD Sender: No OFD packet to send [01:26:46]OFD Sender: No OFD packet to send [01:26:51]OFD Sender: No OFD packet to send [01:26:56]OFD Sender: No OFD packet to send [01:27:01]OFD Sender: No OFD packet to send [01:27:06]OFD Sender: No OFD packet to send [01:27:11]OFD Sender: No OFD packet to send [01:27:16]OFD Sender: No OFD packet to send [01:27:21]OFD Sender: No OFD packet to send [01:27:26]OFD Sender: No OFD packet to send [01:27:31]OFD Sender: No OFD packet to send [01:27:36]OFD Sender: No OFD packet to send [01:27:41]OFD Sender: No OFD packet to send [01:27:46]OFD Sender: No OFD packet to send [01:27:51]OFD Sender: No OFD packet to send [01:27:56]OFD Sender: No OFD packet to send [01:28:01]OFD Sender: No OFD packet to send [01:28:06]OFD Sender: No OFD packet to send [01:28:11]OFD Sender: No OFD packet to send [01:28:16]OFD Sender: No OFD packet to send [01:28:21]OFD Sender: No OFD packet to send [01:28:26]OFD Sender: No OFD packet to send [01:28:31]OFD Sender: No OFD packet to send [01:28:36]OFD Sender: No OFD packet to send [01:28:41]OFD Sender: No OFD packet to send [01:28:46]OFD Sender: No OFD packet to send [01:28:51]OFD Sender: No OFD packet to send [01:28:56]OFD Sender: No OFD packet to send [01:29:01]OFD Sender: No OFD packet to send [01:29:06]OFD Sender: No OFD packet to send [01:29:11]OFD Sender: No OFD packet to send [01:29:16]OFD Sender: No OFD packet to send [01:29:21]OFD Sender: No OFD packet to send [01:29:26]OFD Sender: No OFD packet to send [01:29:31]OFD Sender: No OFD packet to send [01:29:36]OFD Sender: No OFD packet to send [01:29:41]OFD Sender: No OFD packet to send [01:29:46]OFD Sender: No OFD packet to send [01:29:51]OFD Sender: No OFD packet to send [01:29:56]OFD Sender: No OFD packet to send [01:30:01]OFD Sender: No OFD packet to send [01:30:06]OFD Sender: No OFD packet to send [01:30:11]OFD Sender: No OFD packet to send [01:30:16]OFD Sender: No OFD packet to send [01:30:21]OFD Sender: No OFD packet to send [01:30:26]OFD Sender: No OFD packet to send [01:30:31]OFD Sender: No OFD packet to send [01:30:36]OFD Sender: No OFD packet to send [01:30:38]accept exits with 7 [01:30:38]New connection [01:30:38]New thread 3067497828 created [01:30:38]Thread 3067354468 joined [01:30:38]Waiting for new connection... [01:30:38] Sock 7.Parse request [01:30:38]Sock 7.Check first char [01:30:38]Sock 7.First char is OK [01:30:38]request: POST /json_proto HTTP/1.0 [01:30:38]Method: POST [01:30:38]URL: /json_proto [01:30:38]Method is POST - this is cgi request [01:30:38]url: /json_proto [01:30:38]query_string will be loaded in cgi processing [01:30:38]execute_cgi json_proto POST (null) [01:30:38]execute_cgi path=json_proto method=POST [01:30:38]POST find Content-Length [01:30:38]Host: 172.17.42.3:8080 [01:30:38]Content-Length: 676 [01:30:38]Content-Type: application/json [01:30:38] [01:30:38]POST finish read [01:30:38]Found Content-Length = 676 [01:30:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46304", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:30:38]execute_script... [01:30:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46304", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:30:38]POST & json_proto [01:30:38]process_json_proto [01:30:38]json parsed OK: [01:30:38]protocol is kg_v1.0 [01:30:38]action value=close_receipt [01:30:38]process_action close_receipt [01:30:38]cmd_close_receipt [01:30:38]MH_GetDate [01:30:38]Write to MH i2c: F0 00 00 5D 12 5E [01:30:38]Write i2c OK [01:30:38]MH_I2C_Read... [01:30:38]Read from MH i2c: F0 [01:30:38]MH_I2C_Read... [01:30:38]Read from MH i2c: F0 09 00 [01:30:38]MH_I2C_Read... [01:30:38]Read from MH i2c: F0 09 00 5D 12 00 C0 3A 20 67 0E CB 1F 67 47 [01:30:38]GetLastDocTimeStamp 1730164069 [01:30:38]current date 1730165440 [01:30:38]FM_GetShiftState [01:30:38]SAM_PROTO_GetShiftState [01:30:38]wFMCommunicate request_size=4 [01:30:38]MH_SAM_APDU [01:30:38]CAPDU: 80 13 01 00 [01:30:38]Write to MH i2c: E2 08 00 5E 12 80 13 01 00 00 00 00 00 ED [01:30:38]Write i2c OK [01:30:38]MH_I2C_Read... [01:30:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:30:38]Read from MH i2c: E2 [01:30:38]MH_I2C_Read... [01:30:38]Read from MH i2c: E2 0E 00 [01:30:38]MH_I2C_Read... [01:30:38]Read from MH i2c: E2 0E 00 5E 12 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 9D [01:30:38]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [01:30:38]wFMCommunicate OK [01:30:38]SAM_PROTO_GetShiftState done [01:30:38]FM_GetShiftState done [01:30:38]opened in 1730160885 [01:30:38]opened+sec_in_day 1730247285 [01:30:38]quantity*price = 30038 [01:30:38]sum+1 = 30039 [01:30:38]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.38 ИТОГО: 300.00 Внесено: 300.00 СДАЧА: 0.00 НСП 1% : 2.66 НДС 12% : 31.90 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 5 29.10.2024 01:30 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68282 ФПД: 81778011138211 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T013040&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68282&fm=81778011138211&tin=02508201610067®Number=0000000000091759&sum=30000 [01:30:39]StoreToDocumentArchive [01:30:39]shift 548 fd 68282 [01:30:39]save to /storage/0548/doc_00068282 [01:30:39]save last doc name /storage/0548/doc_00068282 to /storage/kkm_last_doc_name [01:30:39]save OK [01:30:39]Clear old archive folders... [01:30:39]ProcessDocumentItem done err = 0, tmpTLVsize=251 [01:30:39]tlvbuf is B6E2D780 [01:30:39]SAM_PROTO_ClearQueue [01:30:39]wFMCommunicate request_size=4 [01:30:39]MH_SAM_APDU [01:30:39]CAPDU: 80 09 00 00 [01:30:39]Write to MH i2c: E2 08 00 6B 12 80 09 00 00 00 00 00 00 EF [01:30:39]Write i2c OK [01:30:39]MH_I2C_Read... [01:30:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:30:39]Read from MH i2c: E2 [01:30:39]MH_I2C_Read... [01:30:39]Read from MH i2c: E2 03 00 [01:30:39]MH_I2C_Read... [01:30:39]Read from MH i2c: E2 03 00 6B 12 00 90 00 F1 [01:30:39]RAPDU: 90 00 [01:30:39]wFMCommunicate OK [01:30:39]SAM_PROTO_ClearQueue done [01:30:39]KKMCreateOFDPacket [01:30:39]OFDProtocolAddRootSTLVToBuf [01:30:39]FM_MakeSignedData [01:30:39]FM_MakeSignedData [01:30:39]SAM_PROTO_SignData [01:30:39]wFMCommunicate request_size=4 [01:30:39]MH_SAM_APDU [01:30:39]CAPDU: 80 0D 01 02 [01:30:39]Write to MH i2c: E2 08 00 6C 12 80 0D 01 02 00 00 00 00 F7 [01:30:39]Write i2c OK [01:30:39]MH_I2C_Read... [01:30:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:30:39]Read from MH i2c: E2 [01:30:39]MH_I2C_Read... [01:30:39]Read from MH i2c: E2 03 00 [01:30:39]MH_I2C_Read... [01:30:39]Read from MH i2c: E2 03 00 6C 12 00 90 00 F2 [01:30:39]RAPDU: 90 00 [01:30:39]wFMCommunicate OK [01:30:39]wFMCommunicate request_size=255 [01:30:39]MH_SAM_APDU [01:30:39]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 C0 3A 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BA 0A 01 00 35 04 06 00 4A [01:30:39]Write to MH i2c: E2 02 01 6D 12 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 C0 3A 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BA 0A 01 00 35 04 06 00 4A 00 00 3F [01:30:39]Write i2c OK [01:30:39]MH_I2C_Read... [01:30:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:30:40]Read from MH i2c: E2 [01:30:40]MH_I2C_Read... [01:30:40]Read from MH i2c: E2 03 00 [01:30:40]MH_I2C_Read... [01:30:40]Read from MH i2c: E2 03 00 6D 12 00 90 00 F3 [01:30:40]RAPDU: 90 00 [01:30:40]wFMCommunicate OK [01:30:40]wFMCommunicate request_size=10 [01:30:40]MH_SAM_APDU [01:30:40]CAPDU: 80 0D 02 02 05 60 6D 4D E8 A3 [01:30:40]Write to MH i2c: E2 0D 00 6E 12 80 0D 02 02 05 00 60 6D 4D E8 A3 00 00 A9 [01:30:40]Write i2c OK [01:30:40]MH_I2C_Read... [01:30:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:30:40]Read from MH i2c: E2 [01:30:40]MH_I2C_Read... [01:30:40]Read from MH i2c: E2 03 00 [01:30:40]MH_I2C_Read... [01:30:40]Read from MH i2c: E2 03 00 6E 12 00 90 00 F4 [01:30:40]RAPDU: 90 00 [01:30:40]wFMCommunicate OK [01:30:40]wFMCommunicate request_size=4 [01:30:40]MH_SAM_APDU [01:30:40]CAPDU: 80 0D 03 02 [01:30:40]Write to MH i2c: E2 08 00 6F 12 80 0D 03 02 00 00 00 00 FC [01:30:40]Write i2c OK [01:30:40]MH_I2C_Read... [01:30:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:30:40]Read from MH i2c: E2 [01:30:40]MH_I2C_Read... [01:30:40]Read from MH i2c: E2 0B 00 [01:30:40]MH_I2C_Read... [01:30:40]Read from MH i2c: E2 0B 00 6F 12 00 D7 93 F4 12 4A 89 7F B8 90 00 77 [01:30:40]RAPDU: D7 93 F4 12 4A 89 7F B8 90 00 [01:30:40]wFMCommunicate OK [01:30:40]SAM_PROTO_SignData done [01:30:40]FM_MakeSignedData done [01:30:40]CreateOFDProtocolMessage [01:30:40]wFMCommunicate request_size=4 [01:30:40]MH_SAM_APDU [01:30:40]CAPDU: 80 11 00 00 [01:30:40]Write to MH i2c: E2 08 00 70 12 80 11 00 00 00 00 00 00 FC [01:30:40]Write i2c OK [01:30:40]MH_I2C_Read... [01:30:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:30:40]Read from MH i2c: E2 [01:30:40]MH_I2C_Read... [01:30:40]Read from MH i2c: E2 17 00 [01:30:40]MH_I2C_Read... [01:30:40]Read from MH i2c: E2 17 00 70 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 53 [01:30:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [01:30:40]wFMCommunicate OK [01:30:40]CreateOFDProtocolMessage done [01:30:40]OFDSenderStorePacket 68282 [01:30:40]StoreOFDPacket docnum=68282 [01:30:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 A4 59 07 01 68 1B 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 C0 3A 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BA 0A 01 00 35 04 06 00 4A 60 6D 4D E8 A3 D7 93 F4 12 4A 89 7F B8 [01:30:40]CheckFolder [01:30:40]dirname=/storage/ofd_packets [01:30:40]CheckFolder done [01:30:40]ProducePacketName [01:30:40]name=ofd_packets/00068282 [01:30:40]NVStorageSaveData ofd_packets/00068282 [01:30:40]File name is /storage/ofd_packets/00068282 [01:30:40]Write 301 bytes [01:30:40]NVStorageSaveData done [01:30:40]OFDSenderStorePacket done [01:30:40]KKMCreateOFDPacket done [01:30:40]NVStorageSaveData kkm_last_timestamp [01:30:40]File name is /storage/kkm_last_timestamp [01:30:40]Write 4 bytes [01:30:40]NVStorageSaveData done [01:30:40]ExternCall_PrintAddStr [01:30:40]wPrintStart [01:30:40]Write to MH i2c: 01 00 00 71 12 83 [01:30:40]Write i2c OK [01:30:40]MH_I2C_Read... [01:30:40]Read from MH i2c: 01 [01:30:40]MH_I2C_Read... [01:30:40]Read from MH i2c: 01 07 00 [01:30:40]MH_I2C_Read... [01:30:40]Read from MH i2c: 01 07 00 71 12 00 00 00 00 00 FF 0F 98 [01:30:40]RasterBufferAndPrint [01:30:40]line Счет N : (1)46304 [01:30:40]line ИНН: 02508201610067 [01:30:40]line Контрольно-Кассовый Чек [01:30:40]line ПРОДАЖА [01:30:40]line ТРК (МРК, ГНК) : 23 [01:30:40]line Товар: 2710124130 [01:30:40]line Аи-92-К-5 [01:30:40]line 4.490 * 66.90 [01:30:40]line = 300.38 [01:30:40]line НДС 12% НСП 1% [01:30:40]line > о реализуемом товаре [01:30:40]line ОКРУГЛЕНИЕ: -0.38 [01:30:40]line ИТОГО: 300.00 [01:30:40]line Внесено: 300.00 [01:30:40]line СДАЧА: 0.00 [01:30:40]line НСП 1% : 2.66 [01:30:40]line НДС 12% : 31.90 [01:30:40]line Наличными: 300.00 [01:30:40]line Безнал.: 0.00 [01:30:40]line Место: АЗС № 160 "Партнер Нефть" [01:30:40]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [01:30:40]line СНО: Общий режим [01:30:40]line Чек 5 29.10.2024 01:30 [01:30:40]line Смена: 548 ФФД: 1.0 [01:30:40]line ЗНМ: 0300000093 [01:30:40]line РНМ: 0000000000091759 [01:30:40]line Версия ККМ: 001 [01:30:40]line ФМ: 0000000000871758 [01:30:40]line ФД: 68282 [01:30:40]line ФПД: 81778011138211 [01:30:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T013040&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68282&fm=81778011138211&tin=02508201610067®Number=0000000000091759&sum=30000 [01:30:40]OFD Sender: Processing packet 68282 [packets to send 27, broken 26] [01:30:40]ProducePacketName [01:30:40]name=ofd_packets/00068282 [01:30:40]OFD Sender: To server: pG, [01:30:40]CommunicateWithHost lk.salyk.kg:30040 [01:30:40]ConnectInit lk.salyk.kg [01:30:40]written 0, free lines is 4095 [01:30:40]Connected sock=10 [01:30:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 A4 59 07 01 68 1B 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 C0 3A 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BA 0A 01 00 35 04 06 00 4A 60 6D 4D E8 A3 D7 93 F4 12 4A 89 7F B8 [01:30:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 9E 06 47 00 4E 63 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BA 0A 01 00 F4 03 04 00 9F E6 1F 67 B6 04 01 00 00 7B 49 F6 93 F6 FC B1 16 [01:30:40]CommunicateWithHost err = 0 [01:30:40]CheckOFDResponse [01:30:40]1017 (14) - 77093643461234 [01:30:40]1041 (16) - 0000000000871758 [01:30:40]1040 (4) - 68282 [01:30:40]1012 (4) - 28.10.2024 19:31 [01:30:40]1206 (1) - 0 [01:30:40]OFD Sender: Remove packet 68282 [01:30:40]ProducePacketName [01:30:40]name=ofd_packets/00068282 [01:30:40]NVStorageDeleteData [01:30:40]Write to MH i2c: 01 00 00 9B 12 AD [01:30:40]Write i2c OK [01:30:40]MH_I2C_Read... [01:30:40]Read from MH i2c: 01 [01:30:40]MH_I2C_Read... [01:30:40]Read from MH i2c: 01 07 00 [01:30:40]MH_I2C_Read... [01:30:40]Read from MH i2c: 01 07 00 9B 12 00 00 00 00 00 C1 0C 81 [01:30:40]RasterBufferAndPrint [01:30:40]line [01:30:40]line [01:30:40]line [01:30:40]line [01:30:40]line [01:30:40]written 0, free lines is 3271 [01:30:40]MH_Cut [01:30:40]Write to MH i2c: D1 01 00 A2 12 01 86 [01:30:40]Write i2c OK [01:30:40]MH_I2C_Read... [01:30:40]Read from MH i2c: D1 [01:30:40]MH_I2C_Read... [01:30:40]Read from MH i2c: D1 01 00 [01:30:40]MH_I2C_Read... [01:30:40]Read from MH i2c: D1 01 00 A2 12 00 85 [01:30:40]Write to MH i2c: 01 00 00 A3 12 B5 [01:30:40]Write i2c OK [01:30:40]MH_I2C_Read... [01:30:41]OFD Sender: No OFD packet to send [01:30:41]*** Cut start [01:30:41]*** Partial cut [01:30:41]*** CUTSNS_PIN = 1 [01:30:41]*** CUTSNS_PIN = 0 [01:30:42]*** Brake cut motor [01:30:42]Read from MH i2c: 01 [01:30:42]MH_I2C_Read... [01:30:42]*** Stop cut motor [01:30:42]*** Cut end [01:30:42]Read from MH i2c: 01 07 00 [01:30:42]MH_I2C_Read... [01:30:42]Read from MH i2c: 01 07 00 A3 12 00 00 00 00 00 FF 0F CA [01:30:42]process_action close_receipt done [01:30:42]requested_data is exist [01:30:42]produce_requested_data [01:30:42]requested_item fm.sn is exist - process it [01:30:42]wFMCommunicate request_size=4 [01:30:42]MH_SAM_APDU [01:30:42]CAPDU: 80 11 00 00 [01:30:42]Write to MH i2c: E2 08 00 A4 12 80 11 00 00 00 00 00 00 30 [01:30:42]Write i2c OK [01:30:42]MH_I2C_Read... [01:30:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:30:42]Read from MH i2c: E2 [01:30:42]MH_I2C_Read... [01:30:42]Read from MH i2c: E2 17 00 [01:30:42]MH_I2C_Read... [01:30:42]Read from MH i2c: E2 17 00 A4 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 87 [01:30:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [01:30:42]wFMCommunicate OK [01:30:42]requested_item fd.num is exist - process it [01:30:42]SAM_PROTO_GetFieldsCounters [01:30:42]wFMCommunicate request_size=4 [01:30:42]MH_SAM_APDU [01:30:42]CAPDU: 80 13 00 00 [01:30:42]Write to MH i2c: E2 08 00 A5 12 80 13 00 00 00 00 00 00 33 [01:30:42]Write i2c OK [01:30:42]MH_I2C_Read... [01:30:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:30:42]Read from MH i2c: E2 [01:30:42]MH_I2C_Read... [01:30:42]Read from MH i2c: E2 62 00 [01:30:42]MH_I2C_Read... [01:30:42]Read from MH i2c: E2 62 00 A5 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 BA 0A 01 00 0E 04 04 00 24 02 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 58 [01:30:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 BA 0A 01 00 0E 04 04 00 24 02 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 [01:30:42]wFMCommunicate OK [01:30:42]SAM_PROTO_GetFieldsCounters done [01:30:42]requested_item shift.num is exist - process it [01:30:42]requested_item shift.opened is exist - process it [01:30:42]req_shift_opened [01:30:42]FM_GetShiftState [01:30:42]SAM_PROTO_GetShiftState [01:30:42]wFMCommunicate request_size=4 [01:30:42]MH_SAM_APDU [01:30:42]CAPDU: 80 13 01 00 [01:30:42]Write to MH i2c: E2 08 00 A6 12 80 13 01 00 00 00 00 00 35 [01:30:42]Write i2c OK [01:30:42]MH_I2C_Read... [01:30:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:30:42]Read from MH i2c: E2 [01:30:42]MH_I2C_Read... [01:30:42]Read from MH i2c: E2 0E 00 [01:30:42]MH_I2C_Read... [01:30:42]Read from MH i2c: E2 0E 00 A6 12 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 E5 [01:30:42]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [01:30:42]wFMCommunicate OK [01:30:42]SAM_PROTO_GetShiftState done [01:30:42]FM_GetShiftState done [01:30:42]req_shift_opened done [01:30:42]requested_item shift.open_date is exist - process it [01:30:42]req_shift_open_date [01:30:42]req_shift_open_date done [01:30:42]produce_requested_data done [01:30:42]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68282,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [01:30:42]process_action_free close_receipt [01:30:42]json_value_free [01:30:42]json_value_free done [01:30:42]process_json_proto returns [01:30:42]Send response to host [01:30:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68282,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [01:30:42]free response buf [01:30:42]execute_script done [01:30:42]execute_script returns [01:30:42]free content buf [01:30:42]Sock 7.Close socket [01:30:42]Sock 7.Thread stoped [01:30:46]OFD Sender: No OFD packet to send [01:30:51]OFD Sender: No OFD packet to send [01:30:56]OFD Sender: No OFD packet to send [01:31:01]OFD Sender: No OFD packet to send [01:31:06]OFD Sender: No OFD packet to send [01:31:11]OFD Sender: No OFD packet to send [01:31:16]OFD Sender: No OFD packet to send [01:31:21]OFD Sender: No OFD packet to send [01:31:26]OFD Sender: No OFD packet to send [01:31:31]OFD Sender: No OFD packet to send [01:31:36]OFD Sender: No OFD packet to send [01:31:41]OFD Sender: No OFD packet to send [01:31:46]OFD Sender: No OFD packet to send [01:31:51]OFD Sender: No OFD packet to send [01:31:56]OFD Sender: No OFD packet to send [01:32:01]OFD Sender: No OFD packet to send [01:32:06]OFD Sender: No OFD packet to send [01:32:11]OFD Sender: No OFD packet to send [01:32:16]OFD Sender: No OFD packet to send [01:32:21]OFD Sender: No OFD packet to send [01:32:26]OFD Sender: No OFD packet to send [01:32:31]OFD Sender: No OFD packet to send [01:32:36]OFD Sender: No OFD packet to send [01:32:41]OFD Sender: No OFD packet to send [01:32:46]OFD Sender: No OFD packet to send [01:32:51]OFD Sender: No OFD packet to send [01:32:56]OFD Sender: No OFD packet to send [01:33:01]OFD Sender: No OFD packet to send [01:33:06]OFD Sender: No OFD packet to send [01:33:11]OFD Sender: No OFD packet to send [01:33:16]OFD Sender: No OFD packet to send [01:33:21]OFD Sender: No OFD packet to send [01:33:26]OFD Sender: No OFD packet to send [01:33:31]OFD Sender: No OFD packet to send [01:33:36]OFD Sender: No OFD packet to send [01:33:41]OFD Sender: No OFD packet to send [01:33:46]OFD Sender: No OFD packet to send [01:33:51]OFD Sender: No OFD packet to send [01:33:56]OFD Sender: No OFD packet to send [01:34:01]OFD Sender: No OFD packet to send [01:34:06]OFD Sender: No OFD packet to send [01:34:11]OFD Sender: No OFD packet to send [01:34:16]OFD Sender: No OFD packet to send [01:34:21]OFD Sender: No OFD packet to send [01:34:26]OFD Sender: No OFD packet to send [01:34:31]OFD Sender: No OFD packet to send [01:34:36]OFD Sender: No OFD packet to send [01:34:41]OFD Sender: No OFD packet to send [01:34:46]OFD Sender: No OFD packet to send [01:34:51]OFD Sender: No OFD packet to send [01:34:56]OFD Sender: No OFD packet to send [01:35:01]OFD Sender: No OFD packet to send [01:35:06]OFD Sender: No OFD packet to send [01:35:11]OFD Sender: No OFD packet to send [01:35:16]OFD Sender: No OFD packet to send [01:35:21]OFD Sender: No OFD packet to send [01:35:26]OFD Sender: No OFD packet to send [01:35:31]OFD Sender: No OFD packet to send [01:35:36]OFD Sender: No OFD packet to send [01:35:41]OFD Sender: No OFD packet to send [01:35:46]OFD Sender: No OFD packet to send [01:35:51]OFD Sender: No OFD packet to send [01:35:56]OFD Sender: No OFD packet to send [01:36:01]OFD Sender: No OFD packet to send [01:36:06]OFD Sender: No OFD packet to send [01:36:11]OFD Sender: No OFD packet to send [01:36:16]OFD Sender: No OFD packet to send [01:36:21]OFD Sender: No OFD packet to send [01:36:26]OFD Sender: No OFD packet to send [01:36:31]OFD Sender: No OFD packet to send [01:36:36]OFD Sender: No OFD packet to send [01:36:41]OFD Sender: No OFD packet to send [01:36:46]OFD Sender: No OFD packet to send [01:36:51]OFD Sender: No OFD packet to send [01:36:56]OFD Sender: No OFD packet to send [01:37:01]OFD Sender: No OFD packet to send [01:37:06]OFD Sender: No OFD packet to send [01:37:11]OFD Sender: No OFD packet to send [01:37:16]OFD Sender: No OFD packet to send [01:37:21]OFD Sender: No OFD packet to send [01:37:26]OFD Sender: No OFD packet to send [01:37:31]OFD Sender: No OFD packet to send [01:37:36]OFD Sender: No OFD packet to send [01:37:41]OFD Sender: No OFD packet to send [01:37:46]OFD Sender: No OFD packet to send [01:37:51]OFD Sender: No OFD packet to send [01:37:56]OFD Sender: No OFD packet to send [01:38:01]OFD Sender: No OFD packet to send [01:38:06]OFD Sender: No OFD packet to send [01:38:11]OFD Sender: No OFD packet to send [01:38:16]OFD Sender: No OFD packet to send [01:38:21]OFD Sender: No OFD packet to send [01:38:26]OFD Sender: No OFD packet to send [01:38:31]OFD Sender: No OFD packet to send [01:38:36]OFD Sender: No OFD packet to send [01:38:41]OFD Sender: No OFD packet to send [01:38:46]OFD Sender: No OFD packet to send [01:38:51]OFD Sender: No OFD packet to send [01:38:56]OFD Sender: No OFD packet to send [01:39:01]OFD Sender: No OFD packet to send [01:39:06]OFD Sender: No OFD packet to send [01:39:11]OFD Sender: No OFD packet to send [01:39:16]OFD Sender: No OFD packet to send [01:39:21]OFD Sender: No OFD packet to send [01:39:26]OFD Sender: No OFD packet to send [01:39:31]OFD Sender: No OFD packet to send [01:39:36]OFD Sender: No OFD packet to send [01:39:41]OFD Sender: No OFD packet to send [01:39:46]OFD Sender: No OFD packet to send [01:39:51]OFD Sender: No OFD packet to send [01:39:56]OFD Sender: No OFD packet to send [01:40:01]OFD Sender: No OFD packet to send [01:40:06]OFD Sender: No OFD packet to send [01:40:11]OFD Sender: No OFD packet to send [01:40:16]OFD Sender: No OFD packet to send [01:40:21]OFD Sender: No OFD packet to send [01:40:26]OFD Sender: No OFD packet to send [01:40:31]OFD Sender: No OFD packet to send [01:40:36]OFD Sender: No OFD packet to send [01:40:41]OFD Sender: No OFD packet to send [01:40:46]OFD Sender: No OFD packet to send [01:40:51]OFD Sender: No OFD packet to send [01:40:56]OFD Sender: No OFD packet to send [01:41:01]OFD Sender: No OFD packet to send [01:41:06]OFD Sender: No OFD packet to send [01:41:11]OFD Sender: No OFD packet to send [01:41:16]OFD Sender: No OFD packet to send [01:41:21]OFD Sender: No OFD packet to send [01:41:26]OFD Sender: No OFD packet to send [01:41:31]OFD Sender: No OFD packet to send [01:41:36]OFD Sender: No OFD packet to send [01:41:41]OFD Sender: No OFD packet to send [01:41:46]OFD Sender: No OFD packet to send [01:41:51]OFD Sender: No OFD packet to send [01:41:56]OFD Sender: No OFD packet to send [01:42:01]OFD Sender: No OFD packet to send [01:42:06]OFD Sender: No OFD packet to send [01:42:11]OFD Sender: No OFD packet to send [01:42:16]OFD Sender: No OFD packet to send [01:42:21]OFD Sender: No OFD packet to send [01:42:26]OFD Sender: No OFD packet to send [01:42:31]OFD Sender: No OFD packet to send [01:42:36]OFD Sender: No OFD packet to send [01:42:41]OFD Sender: No OFD packet to send [01:42:46]OFD Sender: No OFD packet to send [01:42:51]OFD Sender: No OFD packet to send [01:42:56]OFD Sender: No OFD packet to send [01:43:01]OFD Sender: No OFD packet to send [01:43:06]OFD Sender: No OFD packet to send [01:43:11]OFD Sender: No OFD packet to send [01:43:16]OFD Sender: No OFD packet to send [01:43:21]OFD Sender: No OFD packet to send [01:43:26]OFD Sender: No OFD packet to send [01:43:31]OFD Sender: No OFD packet to send [01:43:36]OFD Sender: No OFD packet to send [01:43:41]OFD Sender: No OFD packet to send [01:43:46]OFD Sender: No OFD packet to send [01:43:51]OFD Sender: No OFD packet to send [01:43:56]OFD Sender: No OFD packet to send [01:44:01]OFD Sender: No OFD packet to send [01:44:06]OFD Sender: No OFD packet to send [01:44:11]OFD Sender: No OFD packet to send [01:44:16]OFD Sender: No OFD packet to send [01:44:22]OFD Sender: No OFD packet to send [01:44:27]OFD Sender: No OFD packet to send [01:44:32]OFD Sender: No OFD packet to send [01:44:37]OFD Sender: No OFD packet to send [01:44:42]OFD Sender: No OFD packet to send [01:44:47]OFD Sender: No OFD packet to send [01:44:52]OFD Sender: No OFD packet to send [01:44:57]OFD Sender: No OFD packet to send [01:45:02]OFD Sender: No OFD packet to send [01:45:07]OFD Sender: No OFD packet to send [01:45:12]OFD Sender: No OFD packet to send [01:45:17]OFD Sender: No OFD packet to send [01:45:22]OFD Sender: No OFD packet to send [01:45:27]OFD Sender: No OFD packet to send [01:45:32]OFD Sender: No OFD packet to send [01:45:37]OFD Sender: No OFD packet to send [01:45:42]OFD Sender: No OFD packet to send [01:45:47]OFD Sender: No OFD packet to send [01:45:52]OFD Sender: No OFD packet to send [01:45:57]OFD Sender: No OFD packet to send [01:46:02]OFD Sender: No OFD packet to send [01:46:07]OFD Sender: No OFD packet to send [01:46:12]OFD Sender: No OFD packet to send [01:46:17]OFD Sender: No OFD packet to send [01:46:22]OFD Sender: No OFD packet to send [01:46:27]OFD Sender: No OFD packet to send [01:46:32]OFD Sender: No OFD packet to send [01:46:37]OFD Sender: No OFD packet to send [01:46:42]OFD Sender: No OFD packet to send [01:46:47]OFD Sender: No OFD packet to send [01:46:52]OFD Sender: No OFD packet to send [01:46:57]OFD Sender: No OFD packet to send [01:47:02]OFD Sender: No OFD packet to send [01:47:07]OFD Sender: No OFD packet to send [01:47:12]OFD Sender: No OFD packet to send [01:47:17]OFD Sender: No OFD packet to send [01:47:22]OFD Sender: No OFD packet to send [01:47:27]OFD Sender: No OFD packet to send [01:47:32]OFD Sender: No OFD packet to send [01:47:37]OFD Sender: No OFD packet to send [01:47:42]OFD Sender: No OFD packet to send [01:47:47]OFD Sender: No OFD packet to send [01:47:52]OFD Sender: No OFD packet to send [01:47:57]OFD Sender: No OFD packet to send [01:48:02]OFD Sender: No OFD packet to send [01:48:07]OFD Sender: No OFD packet to send [01:48:12]OFD Sender: No OFD packet to send [01:48:17]OFD Sender: No OFD packet to send [01:48:22]OFD Sender: No OFD packet to send [01:48:27]OFD Sender: No OFD packet to send [01:48:32]OFD Sender: No OFD packet to send [01:48:37]OFD Sender: No OFD packet to send [01:48:42]OFD Sender: No OFD packet to send [01:48:47]OFD Sender: No OFD packet to send [01:48:52]OFD Sender: No OFD packet to send [01:48:57]OFD Sender: No OFD packet to send [01:49:02]OFD Sender: No OFD packet to send [01:49:07]OFD Sender: No OFD packet to send [01:49:12]OFD Sender: No OFD packet to send [01:49:17]OFD Sender: No OFD packet to send [01:49:22]OFD Sender: No OFD packet to send [01:49:27]OFD Sender: No OFD packet to send [01:49:32]OFD Sender: No OFD packet to send [01:49:37]OFD Sender: No OFD packet to send [01:49:42]OFD Sender: No OFD packet to send [01:49:47]OFD Sender: No OFD packet to send [01:49:52]OFD Sender: No OFD packet to send [01:49:57]OFD Sender: No OFD packet to send [01:50:02]OFD Sender: No OFD packet to send [01:50:07]OFD Sender: No OFD packet to send [01:50:12]OFD Sender: No OFD packet to send [01:50:17]OFD Sender: No OFD packet to send [01:50:22]OFD Sender: No OFD packet to send [01:50:27]OFD Sender: No OFD packet to send [01:50:32]OFD Sender: No OFD packet to send [01:50:37]OFD Sender: No OFD packet to send [01:50:42]OFD Sender: No OFD packet to send [01:50:47]OFD Sender: No OFD packet to send [01:50:52]OFD Sender: No OFD packet to send [01:50:57]OFD Sender: No OFD packet to send [01:51:02]OFD Sender: No OFD packet to send [01:51:07]OFD Sender: No OFD packet to send [01:51:12]OFD Sender: No OFD packet to send [01:51:17]OFD Sender: No OFD packet to send [01:51:22]OFD Sender: No OFD packet to send [01:51:27]OFD Sender: No OFD packet to send [01:51:32]OFD Sender: No OFD packet to send [01:51:37]OFD Sender: No OFD packet to send [01:51:42]OFD Sender: No OFD packet to send [01:51:47]OFD Sender: No OFD packet to send [01:51:52]OFD Sender: No OFD packet to send [01:51:57]OFD Sender: No OFD packet to send [01:52:02]OFD Sender: No OFD packet to send [01:52:07]OFD Sender: No OFD packet to send [01:52:12]OFD Sender: No OFD packet to send [01:52:17]OFD Sender: No OFD packet to send [01:52:22]OFD Sender: No OFD packet to send [01:52:27]OFD Sender: No OFD packet to send [01:52:32]OFD Sender: No OFD packet to send [01:52:37]OFD Sender: No OFD packet to send [01:52:42]OFD Sender: No OFD packet to send [01:52:47]OFD Sender: No OFD packet to send [01:52:52]OFD Sender: No OFD packet to send [01:52:57]OFD Sender: No OFD packet to send [01:53:02]OFD Sender: No OFD packet to send [01:53:07]OFD Sender: No OFD packet to send [01:53:12]OFD Sender: No OFD packet to send [01:53:17]OFD Sender: No OFD packet to send [01:53:22]OFD Sender: No OFD packet to send [01:53:27]OFD Sender: No OFD packet to send [01:53:32]OFD Sender: No OFD packet to send [01:53:37]OFD Sender: No OFD packet to send [01:53:42]OFD Sender: No OFD packet to send [01:53:47]OFD Sender: No OFD packet to send [01:53:52]OFD Sender: No OFD packet to send [01:53:57]OFD Sender: No OFD packet to send [01:54:02]OFD Sender: No OFD packet to send [01:54:07]OFD Sender: No OFD packet to send [01:54:12]OFD Sender: No OFD packet to send [01:54:17]OFD Sender: No OFD packet to send [01:54:22]OFD Sender: No OFD packet to send [01:54:27]OFD Sender: No OFD packet to send [01:54:32]OFD Sender: No OFD packet to send [01:54:37]OFD Sender: No OFD packet to send [01:54:42]OFD Sender: No OFD packet to send [01:54:47]OFD Sender: No OFD packet to send [01:54:52]OFD Sender: No OFD packet to send [01:54:57]OFD Sender: No OFD packet to send [01:55:02]OFD Sender: No OFD packet to send [01:55:07]OFD Sender: No OFD packet to send [01:55:12]OFD Sender: No OFD packet to send [01:55:17]OFD Sender: No OFD packet to send [01:55:22]OFD Sender: No OFD packet to send [01:55:27]OFD Sender: No OFD packet to send [01:55:32]OFD Sender: No OFD packet to send [01:55:37]OFD Sender: No OFD packet to send [01:55:42]OFD Sender: No OFD packet to send [01:55:47]OFD Sender: No OFD packet to send [01:55:52]OFD Sender: No OFD packet to send [01:55:57]OFD Sender: No OFD packet to send [01:56:02]OFD Sender: No OFD packet to send [01:56:07]OFD Sender: No OFD packet to send [01:56:12]OFD Sender: No OFD packet to send [01:56:17]OFD Sender: No OFD packet to send [01:56:22]OFD Sender: No OFD packet to send [01:56:27]OFD Sender: No OFD packet to send [01:56:32]OFD Sender: No OFD packet to send [01:56:37]OFD Sender: No OFD packet to send [01:56:42]OFD Sender: No OFD packet to send [01:56:47]OFD Sender: No OFD packet to send [01:56:52]OFD Sender: No OFD packet to send [01:56:57]OFD Sender: No OFD packet to send [01:57:02]OFD Sender: No OFD packet to send [01:57:07]OFD Sender: No OFD packet to send [01:57:12]OFD Sender: No OFD packet to send [01:57:17]OFD Sender: No OFD packet to send [01:57:22]OFD Sender: No OFD packet to send [01:57:27]OFD Sender: No OFD packet to send [01:57:32]OFD Sender: No OFD packet to send [01:57:37]OFD Sender: No OFD packet to send [01:57:42]OFD Sender: No OFD packet to send [01:57:47]OFD Sender: No OFD packet to send [01:57:52]OFD Sender: No OFD packet to send [01:57:57]OFD Sender: No OFD packet to send [01:58:02]OFD Sender: No OFD packet to send [01:58:07]OFD Sender: No OFD packet to send [01:58:12]OFD Sender: No OFD packet to send [01:58:17]OFD Sender: No OFD packet to send [01:58:22]OFD Sender: No OFD packet to send [01:58:27]OFD Sender: No OFD packet to send [01:58:32]OFD Sender: No OFD packet to send [01:58:37]OFD Sender: No OFD packet to send [01:58:42]OFD Sender: No OFD packet to send [01:58:47]OFD Sender: No OFD packet to send [01:58:52]OFD Sender: No OFD packet to send [01:58:57]OFD Sender: No OFD packet to send [01:59:02]OFD Sender: No OFD packet to send [01:59:07]OFD Sender: No OFD packet to send [01:59:12]OFD Sender: No OFD packet to send [01:59:17]OFD Sender: No OFD packet to send [01:59:22]OFD Sender: No OFD packet to send [01:59:27]OFD Sender: No OFD packet to send [01:59:32]OFD Sender: No OFD packet to send [01:59:37]OFD Sender: No OFD packet to send [01:59:42]OFD Sender: No OFD packet to send [01:59:47]OFD Sender: No OFD packet to send [01:59:52]OFD Sender: No OFD packet to send [01:59:57]OFD Sender: No OFD packet to send [02:00:02]OFD Sender: No OFD packet to send [02:00:07]OFD Sender: No OFD packet to send [02:00:12]OFD Sender: No OFD packet to send [02:00:17]OFD Sender: No OFD packet to send [02:00:22]OFD Sender: No OFD packet to send [02:00:27]OFD Sender: No OFD packet to send [02:00:32]OFD Sender: No OFD packet to send [02:00:37]OFD Sender: No OFD packet to send [02:00:42]OFD Sender: No OFD packet to send [02:00:47]OFD Sender: No OFD packet to send [02:00:52]OFD Sender: No OFD packet to send [02:00:57]OFD Sender: No OFD packet to send [02:01:02]OFD Sender: No OFD packet to send [02:01:07]OFD Sender: No OFD packet to send [02:01:12]OFD Sender: No OFD packet to send [02:01:17]OFD Sender: No OFD packet to send [02:01:22]OFD Sender: No OFD packet to send [02:01:27]OFD Sender: No OFD packet to send [02:01:32]OFD Sender: No OFD packet to send [02:01:37]OFD Sender: No OFD packet to send [02:01:42]OFD Sender: No OFD packet to send [02:01:47]OFD Sender: No OFD packet to send [02:01:52]OFD Sender: No OFD packet to send [02:01:57]OFD Sender: No OFD packet to send [02:02:02]OFD Sender: No OFD packet to send [02:02:07]OFD Sender: No OFD packet to send [02:02:12]OFD Sender: No OFD packet to send [02:02:17]OFD Sender: No OFD packet to send [02:02:22]OFD Sender: No OFD packet to send [02:02:27]OFD Sender: No OFD packet to send [02:02:32]OFD Sender: No OFD packet to send [02:02:37]OFD Sender: No OFD packet to send [02:02:42]OFD Sender: No OFD packet to send [02:02:47]OFD Sender: No OFD packet to send [02:02:52]OFD Sender: No OFD packet to send [02:02:57]OFD Sender: No OFD packet to send [02:03:02]OFD Sender: No OFD packet to send [02:03:07]OFD Sender: No OFD packet to send [02:03:12]OFD Sender: No OFD packet to send [02:03:17]OFD Sender: No OFD packet to send [02:03:22]OFD Sender: No OFD packet to send [02:03:27]OFD Sender: No OFD packet to send [02:03:32]OFD Sender: No OFD packet to send [02:03:37]OFD Sender: No OFD packet to send [02:03:42]OFD Sender: No OFD packet to send [02:03:47]OFD Sender: No OFD packet to send [02:03:52]OFD Sender: No OFD packet to send [02:03:57]OFD Sender: No OFD packet to send [02:04:02]OFD Sender: No OFD packet to send [02:04:08]OFD Sender: No OFD packet to send [02:04:13]OFD Sender: No OFD packet to send [02:04:18]OFD Sender: No OFD packet to send [02:04:23]OFD Sender: No OFD packet to send [02:04:28]OFD Sender: No OFD packet to send [02:04:33]OFD Sender: No OFD packet to send [02:04:38]OFD Sender: No OFD packet to send [02:04:43]OFD Sender: No OFD packet to send [02:04:48]OFD Sender: No OFD packet to send [02:04:53]OFD Sender: No OFD packet to send [02:04:58]OFD Sender: No OFD packet to send [02:05:03]OFD Sender: No OFD packet to send [02:05:08]OFD Sender: No OFD packet to send [02:05:13]OFD Sender: No OFD packet to send [02:05:18]OFD Sender: No OFD packet to send [02:05:23]OFD Sender: No OFD packet to send [02:05:28]OFD Sender: No OFD packet to send [02:05:33]OFD Sender: No OFD packet to send [02:05:38]OFD Sender: No OFD packet to send [02:05:43]OFD Sender: No OFD packet to send [02:05:48]OFD Sender: No OFD packet to send [02:05:53]OFD Sender: No OFD packet to send [02:05:58]OFD Sender: No OFD packet to send [02:06:03]OFD Sender: No OFD packet to send [02:06:08]OFD Sender: No OFD packet to send [02:06:13]OFD Sender: No OFD packet to send [02:06:18]OFD Sender: No OFD packet to send [02:06:23]OFD Sender: No OFD packet to send [02:06:28]OFD Sender: No OFD packet to send [02:06:33]OFD Sender: No OFD packet to send [02:06:38]OFD Sender: No OFD packet to send [02:06:43]OFD Sender: No OFD packet to send [02:06:48]OFD Sender: No OFD packet to send [02:06:53]OFD Sender: No OFD packet to send [02:06:58]OFD Sender: No OFD packet to send [02:07:03]OFD Sender: No OFD packet to send [02:07:08]OFD Sender: No OFD packet to send [02:07:13]OFD Sender: No OFD packet to send [02:07:18]OFD Sender: No OFD packet to send [02:07:23]OFD Sender: No OFD packet to send [02:07:28]OFD Sender: No OFD packet to send [02:07:33]OFD Sender: No OFD packet to send [02:07:38]OFD Sender: No OFD packet to send [02:07:43]OFD Sender: No OFD packet to send [02:07:48]OFD Sender: No OFD packet to send [02:07:53]OFD Sender: No OFD packet to send [02:07:58]OFD Sender: No OFD packet to send [02:08:03]OFD Sender: No OFD packet to send [02:08:08]OFD Sender: No OFD packet to send [02:08:13]OFD Sender: No OFD packet to send [02:08:18]OFD Sender: No OFD packet to send [02:08:23]OFD Sender: No OFD packet to send [02:08:28]OFD Sender: No OFD packet to send [02:08:33]OFD Sender: No OFD packet to send [02:08:38]OFD Sender: No OFD packet to send [02:08:43]OFD Sender: No OFD packet to send [02:08:48]OFD Sender: No OFD packet to send [02:08:53]OFD Sender: No OFD packet to send [02:08:58]OFD Sender: No OFD packet to send [02:09:03]OFD Sender: No OFD packet to send [02:09:08]OFD Sender: No OFD packet to send [02:09:13]OFD Sender: No OFD packet to send [02:09:18]OFD Sender: No OFD packet to send [02:09:23]OFD Sender: No OFD packet to send [02:09:28]OFD Sender: No OFD packet to send [02:09:33]OFD Sender: No OFD packet to send [02:09:38]OFD Sender: No OFD packet to send [02:09:43]OFD Sender: No OFD packet to send [02:09:48]OFD Sender: No OFD packet to send [02:09:53]OFD Sender: No OFD packet to send [02:09:58]OFD Sender: No OFD packet to send [02:10:03]OFD Sender: No OFD packet to send [02:10:08]OFD Sender: No OFD packet to send [02:10:13]OFD Sender: No OFD packet to send [02:10:18]OFD Sender: No OFD packet to send [02:10:23]OFD Sender: No OFD packet to send [02:10:28]OFD Sender: No OFD packet to send [02:10:33]OFD Sender: No OFD packet to send [02:10:38]OFD Sender: No OFD packet to send [02:10:43]OFD Sender: No OFD packet to send [02:10:48]OFD Sender: No OFD packet to send [02:10:53]OFD Sender: No OFD packet to send [02:10:58]OFD Sender: No OFD packet to send [02:11:03]OFD Sender: No OFD packet to send [02:11:08]OFD Sender: No OFD packet to send [02:11:13]OFD Sender: No OFD packet to send [02:11:18]OFD Sender: No OFD packet to send [02:11:23]OFD Sender: No OFD packet to send [02:11:28]OFD Sender: No OFD packet to send [02:11:33]OFD Sender: No OFD packet to send [02:11:38]OFD Sender: No OFD packet to send [02:11:43]OFD Sender: No OFD packet to send [02:11:48]OFD Sender: No OFD packet to send [02:11:53]OFD Sender: No OFD packet to send [02:11:58]OFD Sender: No OFD packet to send [02:12:03]OFD Sender: No OFD packet to send [02:12:08]OFD Sender: No OFD packet to send [02:12:13]OFD Sender: No OFD packet to send [02:12:18]OFD Sender: No OFD packet to send [02:12:23]OFD Sender: No OFD packet to send [02:12:28]OFD Sender: No OFD packet to send [02:12:33]OFD Sender: No OFD packet to send [02:12:38]OFD Sender: No OFD packet to send [02:12:43]OFD Sender: No OFD packet to send [02:12:48]OFD Sender: No OFD packet to send [02:12:53]OFD Sender: No OFD packet to send [02:12:58]OFD Sender: No OFD packet to send [02:13:03]OFD Sender: No OFD packet to send [02:13:08]OFD Sender: No OFD packet to send [02:13:13]OFD Sender: No OFD packet to send [02:13:18]OFD Sender: No OFD packet to send [02:13:23]OFD Sender: No OFD packet to send [02:13:28]OFD Sender: No OFD packet to send [02:13:33]OFD Sender: No OFD packet to send [02:13:38]OFD Sender: No OFD packet to send [02:13:43]OFD Sender: No OFD packet to send [02:13:48]OFD Sender: No OFD packet to send [02:13:53]OFD Sender: No OFD packet to send [02:13:58]OFD Sender: No OFD packet to send [02:14:03]OFD Sender: No OFD packet to send [02:14:08]OFD Sender: No OFD packet to send [02:14:13]OFD Sender: No OFD packet to send [02:14:18]OFD Sender: No OFD packet to send [02:14:23]OFD Sender: No OFD packet to send [02:14:28]OFD Sender: No OFD packet to send [02:14:33]OFD Sender: No OFD packet to send [02:14:38]OFD Sender: No OFD packet to send [02:14:43]OFD Sender: No OFD packet to send [02:14:48]OFD Sender: No OFD packet to send [02:14:53]OFD Sender: No OFD packet to send [02:14:58]OFD Sender: No OFD packet to send [02:15:03]OFD Sender: No OFD packet to send [02:15:08]OFD Sender: No OFD packet to send [02:15:13]OFD Sender: No OFD packet to send [02:15:18]OFD Sender: No OFD packet to send [02:15:23]OFD Sender: No OFD packet to send [02:15:28]OFD Sender: No OFD packet to send [02:15:33]OFD Sender: No OFD packet to send [02:15:38]OFD Sender: No OFD packet to send [02:15:43]OFD Sender: No OFD packet to send [02:15:48]OFD Sender: No OFD packet to send [02:15:53]OFD Sender: No OFD packet to send [02:15:58]OFD Sender: No OFD packet to send [02:16:03]OFD Sender: No OFD packet to send [02:16:08]OFD Sender: No OFD packet to send [02:16:13]OFD Sender: No OFD packet to send [02:16:18]OFD Sender: No OFD packet to send [02:16:23]OFD Sender: No OFD packet to send [02:16:28]OFD Sender: No OFD packet to send [02:16:33]OFD Sender: No OFD packet to send [02:16:38]OFD Sender: No OFD packet to send [02:16:43]OFD Sender: No OFD packet to send [02:16:48]OFD Sender: No OFD packet to send [02:16:53]OFD Sender: No OFD packet to send [02:16:58]OFD Sender: No OFD packet to send [02:17:03]OFD Sender: No OFD packet to send [02:17:08]OFD Sender: No OFD packet to send [02:17:13]OFD Sender: No OFD packet to send [02:17:18]OFD Sender: No OFD packet to send [02:17:23]OFD Sender: No OFD packet to send [02:17:28]OFD Sender: No OFD packet to send [02:17:33]OFD Sender: No OFD packet to send [02:17:38]OFD Sender: No OFD packet to send [02:17:43]OFD Sender: No OFD packet to send [02:17:48]OFD Sender: No OFD packet to send [02:17:53]OFD Sender: No OFD packet to send [02:17:58]OFD Sender: No OFD packet to send [02:18:03]OFD Sender: No OFD packet to send [02:18:08]OFD Sender: No OFD packet to send [02:18:13]OFD Sender: No OFD packet to send [02:18:18]OFD Sender: No OFD packet to send [02:18:23]OFD Sender: No OFD packet to send [02:18:28]OFD Sender: No OFD packet to send [02:18:33]OFD Sender: No OFD packet to send [02:18:38]OFD Sender: No OFD packet to send [02:18:43]OFD Sender: No OFD packet to send [02:18:48]OFD Sender: No OFD packet to send [02:18:53]OFD Sender: No OFD packet to send [02:18:58]OFD Sender: No OFD packet to send [02:19:03]OFD Sender: No OFD packet to send [02:19:08]OFD Sender: No OFD packet to send [02:19:13]OFD Sender: No OFD packet to send [02:19:18]OFD Sender: No OFD packet to send [02:19:23]OFD Sender: No OFD packet to send [02:19:28]OFD Sender: No OFD packet to send [02:19:33]OFD Sender: No OFD packet to send [02:19:38]OFD Sender: No OFD packet to send [02:19:43]OFD Sender: No OFD packet to send [02:19:48]OFD Sender: No OFD packet to send [02:19:53]OFD Sender: No OFD packet to send [02:19:58]OFD Sender: No OFD packet to send [02:20:03]OFD Sender: No OFD packet to send [02:20:08]OFD Sender: No OFD packet to send [02:20:13]OFD Sender: No OFD packet to send [02:20:18]OFD Sender: No OFD packet to send [02:20:23]OFD Sender: No OFD packet to send [02:20:28]OFD Sender: No OFD packet to send [02:20:33]OFD Sender: No OFD packet to send [02:20:38]OFD Sender: No OFD packet to send [02:20:43]OFD Sender: No OFD packet to send [02:20:48]OFD Sender: No OFD packet to send [02:20:53]OFD Sender: No OFD packet to send [02:20:58]OFD Sender: No OFD packet to send [02:21:03]OFD Sender: No OFD packet to send [02:21:08]OFD Sender: No OFD packet to send [02:21:13]OFD Sender: No OFD packet to send [02:21:18]OFD Sender: No OFD packet to send [02:21:23]OFD Sender: No OFD packet to send [02:21:28]OFD Sender: No OFD packet to send [02:21:33]OFD Sender: No OFD packet to send [02:21:38]OFD Sender: No OFD packet to send [02:21:43]OFD Sender: No OFD packet to send [02:21:48]OFD Sender: No OFD packet to send [02:21:53]OFD Sender: No OFD packet to send [02:21:58]OFD Sender: No OFD packet to send [02:22:03]OFD Sender: No OFD packet to send [02:22:08]OFD Sender: No OFD packet to send [02:22:13]OFD Sender: No OFD packet to send [02:22:18]OFD Sender: No OFD packet to send [02:22:23]OFD Sender: No OFD packet to send [02:22:28]OFD Sender: No OFD packet to send [02:22:33]OFD Sender: No OFD packet to send [02:22:38]OFD Sender: No OFD packet to send [02:22:40]accept exits with 9 [02:22:40]New connection [02:22:40]New thread 3067354468 created [02:22:40]Thread 3067497828 joined [02:22:40]Waiting for new connection... [02:22:40] Sock 9.Parse request [02:22:40]Sock 9.Check first char [02:22:40]Sock 9.First char is OK [02:22:40]request: POST /json_proto HTTP/1.0 [02:22:40]Method: POST [02:22:40]URL: /json_proto [02:22:40]Method is POST - this is cgi request [02:22:40]url: /json_proto [02:22:40]query_string will be loaded in cgi processing [02:22:40]execute_cgi json_proto POST (null) [02:22:40]execute_cgi path=json_proto method=POST [02:22:40]POST find Content-Length [02:22:40]Host: 172.17.42.3:8080 [02:22:40]Content-Length: 678 [02:22:40]Content-Type: application/json [02:22:40] [02:22:40]POST finish read [02:22:40]Found Content-Length = 678 [02:22:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46305", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 26.240, "sum" : 1999.49, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 1999.00, "payments": [ { "type": 0, "sum" : 1999.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:22:40]execute_script... [02:22:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46305", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 26.240, "sum" : 1999.49, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 1999.00, "payments": [ { "type": 0, "sum" : 1999.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:22:40]POST & json_proto [02:22:40]process_json_proto [02:22:40]json parsed OK: [02:22:40]protocol is kg_v1.0 [02:22:40]action value=close_receipt [02:22:40]process_action close_receipt [02:22:40]cmd_close_receipt [02:22:40]MH_GetDate [02:22:40]Write to MH i2c: F0 00 00 A7 12 A8 [02:22:40]Write i2c OK [02:22:40]MH_I2C_Read... [02:22:40]Read from MH i2c: F0 [02:22:40]MH_I2C_Read... [02:22:40]Read from MH i2c: F0 09 00 [02:22:40]MH_I2C_Read... [02:22:40]Read from MH i2c: F0 09 00 A7 12 00 F2 46 20 67 0E CB 1F 67 CF [02:22:40]GetLastDocTimeStamp 1730165440 [02:22:40]current date 1730168562 [02:22:40]FM_GetShiftState [02:22:40]SAM_PROTO_GetShiftState [02:22:40]wFMCommunicate request_size=4 [02:22:40]MH_SAM_APDU [02:22:40]CAPDU: 80 13 01 00 [02:22:40]Write to MH i2c: E2 08 00 A8 12 80 13 01 00 00 00 00 00 37 [02:22:40]Write i2c OK [02:22:40]MH_I2C_Read... [02:22:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:22:40]Read from MH i2c: E2 [02:22:40]MH_I2C_Read... [02:22:40]Read from MH i2c: E2 0E 00 [02:22:40]MH_I2C_Read... [02:22:40]Read from MH i2c: E2 0E 00 A8 12 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 E7 [02:22:40]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [02:22:40]wFMCommunicate OK [02:22:40]SAM_PROTO_GetShiftState done [02:22:40]FM_GetShiftState done [02:22:40]opened in 1730160885 [02:22:40]opened+sec_in_day 1730247285 [02:22:40]quantity*price = 199948 [02:22:40]sum+1 = 199950 [02:22:40]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.49 ИТОГО: 1999.00 Внесено: 2000.00 СДАЧА: 1.00 НСП 1% : 17.69 НДС 12% : 212.33 Наличными: 1999.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 6 29.10.2024 02:22 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68283 ФПД: 48684512974900 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T022242&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68283&fm=48684512974900&tin=02508201610067®Number=0000000000091759&sum=199900 [02:22:41]StoreToDocumentArchive [02:22:41]shift 548 fd 68283 [02:22:41]save to /storage/0548/doc_00068283 [02:22:41]save last doc name /storage/0548/doc_00068283 to /storage/kkm_last_doc_name [02:22:41]save OK [02:22:41]Clear old archive folders... [02:22:41]ProcessDocumentItem done err = 0, tmpTLVsize=248 [02:22:41]tlvbuf is 005CD2F0 [02:22:41]SAM_PROTO_ClearQueue [02:22:41]wFMCommunicate request_size=4 [02:22:41]MH_SAM_APDU [02:22:41]CAPDU: 80 09 00 00 [02:22:41]Write to MH i2c: E2 08 00 B5 12 80 09 00 00 00 00 00 00 39 [02:22:41]Write i2c OK [02:22:41]MH_I2C_Read... [02:22:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:22:41]Read from MH i2c: E2 [02:22:41]MH_I2C_Read... [02:22:41]Read from MH i2c: E2 03 00 [02:22:41]MH_I2C_Read... [02:22:41]Read from MH i2c: E2 03 00 B5 12 00 90 00 3B [02:22:41]RAPDU: 90 00 [02:22:41]wFMCommunicate OK [02:22:41]SAM_PROTO_ClearQueue done [02:22:41]KKMCreateOFDPacket [02:22:41]OFDProtocolAddRootSTLVToBuf [02:22:41]FM_MakeSignedData [02:22:41]FM_MakeSignedData [02:22:41]SAM_PROTO_SignData [02:22:41]wFMCommunicate request_size=4 [02:22:41]MH_SAM_APDU [02:22:41]CAPDU: 80 0D 01 02 [02:22:41]Write to MH i2c: E2 08 00 B6 12 80 0D 01 02 00 00 00 00 41 [02:22:41]Write i2c OK [02:22:41]MH_I2C_Read... [02:22:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:22:41]Read from MH i2c: E2 [02:22:41]MH_I2C_Read... [02:22:41]Read from MH i2c: E2 03 00 [02:22:41]MH_I2C_Read... [02:22:41]Read from MH i2c: E2 03 00 B6 12 00 90 00 3C [02:22:41]RAPDU: 90 00 [02:22:41]wFMCommunicate OK [02:22:41]wFMCommunicate request_size=255 [02:22:41]MH_SAM_APDU [02:22:41]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 80 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 0D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 0C 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 52 00 00 00 00 07 04 06 00 DC 0C 03 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 F2 46 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BB 0A 01 00 35 04 06 00 2C 47 3F 1A [02:22:41]Write to MH i2c: E2 02 01 B7 12 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 80 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 0D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 0C 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 52 00 00 00 00 07 04 06 00 DC 0C 03 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 F2 46 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BB 0A 01 00 35 04 06 00 2C 47 3F 1A 00 00 11 [02:22:41]Write i2c OK [02:22:41]MH_I2C_Read... [02:22:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:22:41]Read from MH i2c: E2 [02:22:41]MH_I2C_Read... [02:22:41]Read from MH i2c: E2 03 00 [02:22:41]MH_I2C_Read... [02:22:41]Read from MH i2c: E2 03 00 B7 12 00 90 00 3D [02:22:41]RAPDU: 90 00 [02:22:41]wFMCommunicate OK [02:22:41]wFMCommunicate request_size=7 [02:22:41]MH_SAM_APDU [02:22:41]CAPDU: 80 0D 02 02 02 18 34 [02:22:41]Write to MH i2c: E2 0A 00 B8 12 80 0D 02 02 02 00 18 34 00 00 94 [02:22:41]Write i2c OK [02:22:41]MH_I2C_Read... [02:22:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:22:41]Read from MH i2c: E2 [02:22:41]MH_I2C_Read... [02:22:41]Read from MH i2c: E2 03 00 [02:22:41]MH_I2C_Read... [02:22:41]Read from MH i2c: E2 03 00 B8 12 00 90 00 3E [02:22:41]RAPDU: 90 00 [02:22:41]wFMCommunicate OK [02:22:41]wFMCommunicate request_size=4 [02:22:41]MH_SAM_APDU [02:22:41]CAPDU: 80 0D 03 02 [02:22:41]Write to MH i2c: E2 08 00 B9 12 80 0D 03 02 00 00 00 00 46 [02:22:41]Write i2c OK [02:22:41]MH_I2C_Read... [02:22:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:22:41]Read from MH i2c: E2 [02:22:41]MH_I2C_Read... [02:22:41]Read from MH i2c: E2 0B 00 [02:22:41]MH_I2C_Read... [02:22:41]Read from MH i2c: E2 0B 00 B9 12 00 4A 5C 47 D9 B9 BE 9A 63 90 00 81 [02:22:41]RAPDU: 4A 5C 47 D9 B9 BE 9A 63 90 00 [02:22:41]wFMCommunicate OK [02:22:41]SAM_PROTO_SignData done [02:22:41]FM_MakeSignedData done [02:22:41]CreateOFDProtocolMessage [02:22:41]wFMCommunicate request_size=4 [02:22:41]MH_SAM_APDU [02:22:41]CAPDU: 80 11 00 00 [02:22:41]Write to MH i2c: E2 08 00 BA 12 80 11 00 00 00 00 00 00 46 [02:22:41]Write i2c OK [02:22:41]MH_I2C_Read... [02:22:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:22:41]Read from MH i2c: E2 [02:22:41]MH_I2C_Read... [02:22:41]Read from MH i2c: E2 17 00 [02:22:41]MH_I2C_Read... [02:22:41]Read from MH i2c: E2 17 00 BA 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 9D [02:22:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [02:22:41]wFMCommunicate OK [02:22:41]CreateOFDProtocolMessage done [02:22:41]OFDSenderStorePacket 68283 [02:22:41]StoreOFDPacket docnum=68283 [02:22:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 BC 77 04 01 BF 57 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 80 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 0D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 0C 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 52 00 00 00 00 07 04 06 00 DC 0C 03 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 F2 46 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BB 0A 01 00 35 04 06 00 2C 47 3F 1A 18 34 4A 5C 47 D9 B9 BE 9A 63 [02:22:41]CheckFolder [02:22:41]dirname=/storage/ofd_packets [02:22:41]CheckFolder done [02:22:41]ProducePacketName [02:22:41]name=ofd_packets/00068283 [02:22:41]NVStorageSaveData ofd_packets/00068283 [02:22:41]File name is /storage/ofd_packets/00068283 [02:22:41]Write 298 bytes [02:22:41]NVStorageSaveData done [02:22:41]OFDSenderStorePacket done [02:22:41]KKMCreateOFDPacket done [02:22:41]NVStorageSaveData kkm_last_timestamp [02:22:41]File name is /storage/kkm_last_timestamp [02:22:41]Write 4 bytes [02:22:41]NVStorageSaveData done [02:22:41]ExternCall_PrintAddStr [02:22:41]wPrintStart [02:22:41]Write to MH i2c: 01 00 00 BB 12 CD [02:22:41]Write i2c OK [02:22:41]MH_I2C_Read... [02:22:41]Read from MH i2c: 01 [02:22:41]MH_I2C_Read... [02:22:41]Read from MH i2c: 01 07 00 [02:22:41]MH_I2C_Read... [02:22:41]Read from MH i2c: 01 07 00 BB 12 00 00 00 00 00 FF 0F E2 [02:22:41]RasterBufferAndPrint [02:22:41]line Счет N : (1)46305 [02:22:41]line ИНН: 02508201610067 [02:22:41]line Контрольно-Кассовый Чек [02:22:41]line ПРОДАЖА [02:22:41]line ТРК (МРК, ГНК) : 21 [02:22:41]line Товар: 2710194210 [02:22:41]line ДТ-К-5 [02:22:41]line 26.240 * 76.20 [02:22:41]line = 1999.49 [02:22:41]line НДС 12% НСП 1% [02:22:41]line > о реализуемом товаре [02:22:41]line ОКРУГЛЕНИЕ: -0.49 [02:22:41]line ИТОГО: 1999.00 [02:22:41]line Внесено: 2000.00 [02:22:41]line СДАЧА: 1.00 [02:22:41]line НСП 1% : 17.69 [02:22:41]line НДС 12% : 212.33 [02:22:41]line Наличными: 1999.00 [02:22:41]line Безнал.: 0.00 [02:22:41]line Место: АЗС № 160 "Партнер Нефть" [02:22:41]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [02:22:41]line СНО: Общий режим [02:22:41]line Чек 6 29.10.2024 02:22 [02:22:41]line Смена: 548 ФФД: 1.0 [02:22:41]line ЗНМ: 0300000093 [02:22:41]line РНМ: 0000000000091759 [02:22:41]line Версия ККМ: 001 [02:22:41]line ФМ: 0000000000871758 [02:22:41]line ФД: 68283 [02:22:41]line ФПД: 48684512974900 [02:22:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T022242&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68283&fm=48684512974900&tin=02508201610067®Number=0000000000091759&sum=199900 [02:22:42]OFD Sender: Processing packet 68283 [packets to send 27, broken 26] [02:22:42]ProducePacketName [02:22:42]name=ofd_packets/00068283 [02:22:42]OFD Sender: To server: pG, [02:22:42]CommunicateWithHost lk.salyk.kg:30040 [02:22:42]ConnectInit lk.salyk.kg [02:22:42]written 0, free lines is 4095 [02:22:42]Connected sock=10 [02:22:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0C 01 00 00 BC 77 04 01 BF 57 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 80 66 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 0D 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 0C 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 52 00 00 00 00 07 04 06 00 DC 0C 03 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 F2 46 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BB 0A 01 00 35 04 06 00 2C 47 3F 1A 18 34 4A 5C 47 D9 B9 BE 9A 63 [02:22:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 53 61 47 00 C1 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BB 0A 01 00 F4 03 04 00 D1 F2 1F 67 B6 04 01 00 00 62 20 73 1F 81 78 CC 7D [02:22:42]CommunicateWithHost err = 0 [02:22:42]CheckOFDResponse [02:22:42]1017 (14) - 77093643461234 [02:22:42]1041 (16) - 0000000000871758 [02:22:42]1040 (4) - 68283 [02:22:42]1012 (4) - 28.10.2024 20:23 [02:22:42]1206 (1) - 0 [02:22:42]OFD Sender: Remove packet 68283 [02:22:42]ProducePacketName [02:22:42]name=ofd_packets/00068283 [02:22:42]NVStorageDeleteData [02:22:42]Write to MH i2c: 01 00 00 E5 12 F7 [02:22:42]Write i2c OK [02:22:42]MH_I2C_Read... [02:22:42]Read from MH i2c: 01 [02:22:42]MH_I2C_Read... [02:22:42]Read from MH i2c: 01 07 00 [02:22:42]MH_I2C_Read... [02:22:42]Read from MH i2c: 01 07 00 E5 12 00 00 00 00 00 AF 0C B9 [02:22:42]RasterBufferAndPrint [02:22:42]line [02:22:42]line [02:22:42]line [02:22:42]line [02:22:42]line [02:22:42]written 0, free lines is 3253 [02:22:42]MH_Cut [02:22:42]Write to MH i2c: D1 01 00 EC 12 01 D0 [02:22:42]Write i2c OK [02:22:42]MH_I2C_Read... [02:22:42]Read from MH i2c: D1 [02:22:42]MH_I2C_Read... [02:22:42]Read from MH i2c: D1 01 00 [02:22:42]MH_I2C_Read... [02:22:42]Read from MH i2c: D1 01 00 EC 12 00 CF [02:22:42]Write to MH i2c: 01 00 00 ED 12 FF [02:22:42]Write i2c OK [02:22:42]MH_I2C_Read... [02:22:43]OFD Sender: No OFD packet to send [02:22:43]*** Cut start [02:22:43]*** Partial cut [02:22:43]*** CUTSNS_PIN = 1 [02:22:43]*** CUTSNS_PIN = 0 [02:22:43]*** Brake cut motor [02:22:44]Read from MH i2c: 01 [02:22:44]MH_I2C_Read... [02:22:44]Read from MH i2c: 01 07 00 [02:22:44]MH_I2C_Read... [02:22:44]*** Stop cut motor [02:22:44]*** Cut end [02:22:44]Read from MH i2c: 01 07 00 ED 12 00 00 00 00 00 FF 0F 14 [02:22:44]process_action close_receipt done [02:22:44]requested_data is exist [02:22:44]produce_requested_data [02:22:44]requested_item fm.sn is exist - process it [02:22:44]wFMCommunicate request_size=4 [02:22:44]MH_SAM_APDU [02:22:44]CAPDU: 80 11 00 00 [02:22:44]Write to MH i2c: E2 08 00 EE 12 80 11 00 00 00 00 00 00 7A [02:22:44]Write i2c OK [02:22:44]MH_I2C_Read... [02:22:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:22:44]Read from MH i2c: E2 [02:22:44]MH_I2C_Read... [02:22:44]Read from MH i2c: E2 17 00 [02:22:44]MH_I2C_Read... [02:22:44]Read from MH i2c: E2 17 00 EE 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 D1 [02:22:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [02:22:44]wFMCommunicate OK [02:22:44]requested_item fd.num is exist - process it [02:22:44]SAM_PROTO_GetFieldsCounters [02:22:44]wFMCommunicate request_size=4 [02:22:44]MH_SAM_APDU [02:22:44]CAPDU: 80 13 00 00 [02:22:44]Write to MH i2c: E2 08 00 EF 12 80 13 00 00 00 00 00 00 7D [02:22:44]Write i2c OK [02:22:44]MH_I2C_Read... [02:22:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:22:44]Read from MH i2c: E2 [02:22:44]MH_I2C_Read... [02:22:44]Read from MH i2c: E2 62 00 [02:22:44]MH_I2C_Read... [02:22:44]Read from MH i2c: E2 62 00 EF 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 BB 0A 01 00 0E 04 04 00 24 02 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 A6 [02:22:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 BB 0A 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:22:44]wFMCommunicate OK [02:22:44]SAM_PROTO_GetFieldsCounters done [02:22:44]requested_item shift.num is exist - process it [02:22:44]requested_item shift.opened is exist - process it [02:22:44]req_shift_opened [02:22:44]FM_GetShiftState [02:22:44]SAM_PROTO_GetShiftState [02:22:44]wFMCommunicate request_size=4 [02:22:44]MH_SAM_APDU [02:22:44]CAPDU: 80 13 01 00 [02:22:44]Write to MH i2c: E2 08 00 F0 12 80 13 01 00 00 00 00 00 7F [02:22:44]Write i2c OK [02:22:44]MH_I2C_Read... [02:22:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:22:44]Read from MH i2c: E2 [02:22:44]MH_I2C_Read... [02:22:44]Read from MH i2c: E2 0E 00 [02:22:44]MH_I2C_Read... [02:22:44]Read from MH i2c: E2 0E 00 F0 12 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 2F [02:22:44]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [02:22:44]wFMCommunicate OK [02:22:44]SAM_PROTO_GetShiftState done [02:22:44]FM_GetShiftState done [02:22:44]req_shift_opened done [02:22:44]requested_item shift.open_date is exist - process it [02:22:44]req_shift_open_date [02:22:44]req_shift_open_date done [02:22:44]produce_requested_data done [02:22:44]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68283,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [02:22:44]process_action_free close_receipt [02:22:44]json_value_free [02:22:44]json_value_free done [02:22:44]process_json_proto returns [02:22:44]Send response to host [02:22:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68283,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [02:22:44]free response buf [02:22:44]execute_script done [02:22:44]execute_script returns [02:22:44]free content buf [02:22:44]Sock 9.Close socket [02:22:44]Sock 9.Thread stoped [02:22:48]OFD Sender: No OFD packet to send [02:22:53]OFD Sender: No OFD packet to send [02:22:58]OFD Sender: No OFD packet to send [02:23:03]OFD Sender: No OFD packet to send [02:23:08]OFD Sender: No OFD packet to send [02:23:13]OFD Sender: No OFD packet to send [02:23:18]OFD Sender: No OFD packet to send [02:23:23]OFD Sender: No OFD packet to send [02:23:28]OFD Sender: No OFD packet to send [02:23:33]OFD Sender: No OFD packet to send [02:23:38]OFD Sender: No OFD packet to send [02:23:43]OFD Sender: No OFD packet to send [02:23:48]OFD Sender: No OFD packet to send [02:23:53]OFD Sender: No OFD packet to send [02:23:58]OFD Sender: No OFD packet to send [02:24:03]OFD Sender: No OFD packet to send [02:24:08]OFD Sender: No OFD packet to send [02:24:13]OFD Sender: No OFD packet to send [02:24:18]OFD Sender: No OFD packet to send [02:24:23]OFD Sender: No OFD packet to send [02:24:28]OFD Sender: No OFD packet to send [02:24:33]OFD Sender: No OFD packet to send [02:24:38]OFD Sender: No OFD packet to send [02:24:43]OFD Sender: No OFD packet to send [02:24:48]OFD Sender: No OFD packet to send [02:24:53]OFD Sender: No OFD packet to send [02:24:58]OFD Sender: No OFD packet to send [02:25:03]OFD Sender: No OFD packet to send [02:25:08]OFD Sender: No OFD packet to send [02:25:13]OFD Sender: No OFD packet to send [02:25:18]OFD Sender: No OFD packet to send [02:25:23]OFD Sender: No OFD packet to send [02:25:28]OFD Sender: No OFD packet to send [02:25:33]OFD Sender: No OFD packet to send [02:25:38]OFD Sender: No OFD packet to send [02:25:43]OFD Sender: No OFD packet to send [02:25:48]OFD Sender: No OFD packet to send [02:25:53]OFD Sender: No OFD packet to send [02:25:58]OFD Sender: No OFD packet to send [02:26:03]OFD Sender: No OFD packet to send [02:26:08]OFD Sender: No OFD packet to send [02:26:13]OFD Sender: No OFD packet to send [02:26:18]OFD Sender: No OFD packet to send [02:26:23]OFD Sender: No OFD packet to send [02:26:28]OFD Sender: No OFD packet to send [02:26:33]OFD Sender: No OFD packet to send [02:26:38]OFD Sender: No OFD packet to send [02:26:43]OFD Sender: No OFD packet to send [02:26:48]OFD Sender: No OFD packet to send [02:26:53]OFD Sender: No OFD packet to send [02:26:58]OFD Sender: No OFD packet to send [02:27:03]OFD Sender: No OFD packet to send [02:27:08]OFD Sender: No OFD packet to send [02:27:13]OFD Sender: No OFD packet to send [02:27:18]OFD Sender: No OFD packet to send [02:27:23]OFD Sender: No OFD packet to send [02:27:28]OFD Sender: No OFD packet to send [02:27:33]OFD Sender: No OFD packet to send [02:27:38]OFD Sender: No OFD packet to send [02:27:43]OFD Sender: No OFD packet to send [02:27:48]OFD Sender: No OFD packet to send [02:27:53]OFD Sender: No OFD packet to send [02:27:58]OFD Sender: No OFD packet to send [02:28:03]OFD Sender: No OFD packet to send [02:28:08]OFD Sender: No OFD packet to send [02:28:13]OFD Sender: No OFD packet to send [02:28:18]OFD Sender: No OFD packet to send [02:28:23]OFD Sender: No OFD packet to send [02:28:28]OFD Sender: No OFD packet to send [02:28:33]OFD Sender: No OFD packet to send [02:28:38]OFD Sender: No OFD packet to send [02:28:43]OFD Sender: No OFD packet to send [02:28:48]OFD Sender: No OFD packet to send [02:28:53]OFD Sender: No OFD packet to send [02:28:58]OFD Sender: No OFD packet to send [02:29:03]OFD Sender: No OFD packet to send [02:29:08]OFD Sender: No OFD packet to send [02:29:13]OFD Sender: No OFD packet to send [02:29:18]OFD Sender: No OFD packet to send [02:29:23]OFD Sender: No OFD packet to send [02:29:28]OFD Sender: No OFD packet to send [02:29:33]OFD Sender: No OFD packet to send [02:29:38]OFD Sender: No OFD packet to send [02:29:43]OFD Sender: No OFD packet to send [02:29:48]OFD Sender: No OFD packet to send [02:29:53]OFD Sender: No OFD packet to send [02:29:58]OFD Sender: No OFD packet to send [02:30:03]OFD Sender: No OFD packet to send [02:30:08]OFD Sender: No OFD packet to send [02:30:13]OFD Sender: No OFD packet to send [02:30:18]OFD Sender: No OFD packet to send [02:30:23]OFD Sender: No OFD packet to send [02:30:28]OFD Sender: No OFD packet to send [02:30:33]OFD Sender: No OFD packet to send [02:30:38]OFD Sender: No OFD packet to send [02:30:43]OFD Sender: No OFD packet to send [02:30:48]OFD Sender: No OFD packet to send [02:30:53]OFD Sender: No OFD packet to send [02:30:58]OFD Sender: No OFD packet to send [02:31:03]OFD Sender: No OFD packet to send [02:31:08]OFD Sender: No OFD packet to send [02:31:13]OFD Sender: No OFD packet to send [02:31:18]OFD Sender: No OFD packet to send [02:31:23]OFD Sender: No OFD packet to send [02:31:28]OFD Sender: No OFD packet to send [02:31:33]OFD Sender: No OFD packet to send [02:31:38]OFD Sender: No OFD packet to send [02:31:43]OFD Sender: No OFD packet to send [02:31:48]OFD Sender: No OFD packet to send [02:31:53]OFD Sender: No OFD packet to send [02:31:58]OFD Sender: No OFD packet to send [02:32:03]OFD Sender: No OFD packet to send [02:32:08]OFD Sender: No OFD packet to send [02:32:13]OFD Sender: No OFD packet to send [02:32:18]OFD Sender: No OFD packet to send [02:32:23]OFD Sender: No OFD packet to send [02:32:28]OFD Sender: No OFD packet to send [02:32:33]OFD Sender: No OFD packet to send [02:32:38]OFD Sender: No OFD packet to send [02:32:43]OFD Sender: No OFD packet to send [02:32:48]OFD Sender: No OFD packet to send [02:32:53]OFD Sender: No OFD packet to send [02:32:58]OFD Sender: No OFD packet to send [02:33:03]OFD Sender: No OFD packet to send [02:33:08]OFD Sender: No OFD packet to send [02:33:13]OFD Sender: No OFD packet to send [02:33:18]OFD Sender: No OFD packet to send [02:33:23]OFD Sender: No OFD packet to send [02:33:28]OFD Sender: No OFD packet to send [02:33:33]OFD Sender: No OFD packet to send [02:33:38]OFD Sender: No OFD packet to send [02:33:43]OFD Sender: No OFD packet to send [02:33:48]OFD Sender: No OFD packet to send [02:33:53]OFD Sender: No OFD packet to send [02:33:58]OFD Sender: No OFD packet to send [02:34:03]OFD Sender: No OFD packet to send [02:34:08]OFD Sender: No OFD packet to send [02:34:13]OFD Sender: No OFD packet to send [02:34:18]OFD Sender: No OFD packet to send [02:34:23]OFD Sender: No OFD packet to send [02:34:28]OFD Sender: No OFD packet to send [02:34:33]OFD Sender: No OFD packet to send [02:34:38]OFD Sender: No OFD packet to send [02:34:43]OFD Sender: No OFD packet to send [02:34:48]OFD Sender: No OFD packet to send [02:34:53]OFD Sender: No OFD packet to send [02:34:58]OFD Sender: No OFD packet to send [02:35:03]OFD Sender: No OFD packet to send [02:35:08]OFD Sender: No OFD packet to send [02:35:13]OFD Sender: No OFD packet to send [02:35:18]OFD Sender: No OFD packet to send [02:35:23]OFD Sender: No OFD packet to send [02:35:28]OFD Sender: No OFD packet to send [02:35:33]OFD Sender: No OFD packet to send [02:35:38]OFD Sender: No OFD packet to send [02:35:43]OFD Sender: No OFD packet to send [02:35:48]OFD Sender: No OFD packet to send [02:35:53]OFD Sender: No OFD packet to send [02:35:58]OFD Sender: No OFD packet to send [02:36:03]OFD Sender: No OFD packet to send [02:36:08]OFD Sender: No OFD packet to send [02:36:13]OFD Sender: No OFD packet to send [02:36:18]OFD Sender: No OFD packet to send [02:36:23]OFD Sender: No OFD packet to send [02:36:28]OFD Sender: No OFD packet to send [02:36:33]OFD Sender: No OFD packet to send [02:36:38]OFD Sender: No OFD packet to send [02:36:43]OFD Sender: No OFD packet to send [02:36:48]OFD Sender: No OFD packet to send [02:36:53]OFD Sender: No OFD packet to send [02:36:58]OFD Sender: No OFD packet to send [02:37:03]OFD Sender: No OFD packet to send [02:37:08]OFD Sender: No OFD packet to send [02:37:13]OFD Sender: No OFD packet to send [02:37:18]OFD Sender: No OFD packet to send [02:37:23]OFD Sender: No OFD packet to send [02:37:28]OFD Sender: No OFD packet to send [02:37:33]OFD Sender: No OFD packet to send [02:37:38]OFD Sender: No OFD packet to send [02:37:43]OFD Sender: No OFD packet to send [02:37:48]OFD Sender: No OFD packet to send [02:37:53]OFD Sender: No OFD packet to send [02:37:58]OFD Sender: No OFD packet to send [02:38:03]OFD Sender: No OFD packet to send [02:38:08]OFD Sender: No OFD packet to send [02:38:13]OFD Sender: No OFD packet to send [02:38:18]OFD Sender: No OFD packet to send [02:38:23]OFD Sender: No OFD packet to send [02:38:28]OFD Sender: No OFD packet to send [02:38:33]OFD Sender: No OFD packet to send [02:38:38]OFD Sender: No OFD packet to send [02:38:43]OFD Sender: No OFD packet to send [02:38:48]OFD Sender: No OFD packet to send [02:38:53]OFD Sender: No OFD packet to send [02:38:58]OFD Sender: No OFD packet to send [02:39:03]OFD Sender: No OFD packet to send [02:39:08]OFD Sender: No OFD packet to send [02:39:13]OFD Sender: No OFD packet to send [02:39:18]OFD Sender: No OFD packet to send [02:39:23]OFD Sender: No OFD packet to send [02:39:28]OFD Sender: No OFD packet to send [02:39:33]OFD Sender: No OFD packet to send [02:39:38]OFD Sender: No OFD packet to send [02:39:43]OFD Sender: No OFD packet to send [02:39:48]OFD Sender: No OFD packet to send [02:39:53]OFD Sender: No OFD packet to send [02:39:58]OFD Sender: No OFD packet to send [02:40:03]OFD Sender: No OFD packet to send [02:40:08]OFD Sender: No OFD packet to send [02:40:13]OFD Sender: No OFD packet to send [02:40:18]OFD Sender: No OFD packet to send [02:40:23]OFD Sender: No OFD packet to send [02:40:28]OFD Sender: No OFD packet to send [02:40:33]OFD Sender: No OFD packet to send [02:40:38]OFD Sender: No OFD packet to send [02:40:44]OFD Sender: No OFD packet to send [02:40:49]OFD Sender: No OFD packet to send [02:40:54]OFD Sender: No OFD packet to send [02:40:59]OFD Sender: No OFD packet to send [02:41:04]OFD Sender: No OFD packet to send [02:41:09]OFD Sender: No OFD packet to send [02:41:14]OFD Sender: No OFD packet to send [02:41:19]OFD Sender: No OFD packet to send [02:41:24]OFD Sender: No OFD packet to send [02:41:29]OFD Sender: No OFD packet to send [02:41:34]OFD Sender: No OFD packet to send [02:41:39]OFD Sender: No OFD packet to send [02:41:44]OFD Sender: No OFD packet to send [02:41:49]OFD Sender: No OFD packet to send [02:41:54]OFD Sender: No OFD packet to send [02:41:59]OFD Sender: No OFD packet to send [02:42:04]OFD Sender: No OFD packet to send [02:42:09]OFD Sender: No OFD packet to send [02:42:14]OFD Sender: No OFD packet to send [02:42:15]accept exits with 7 [02:42:15]New connection [02:42:15]New thread 3067497828 created [02:42:15]Thread 3067354468 joined [02:42:15]Waiting for new connection... [02:42:15] Sock 7.Parse request [02:42:15]Sock 7.Check first char [02:42:15]Sock 7.First char is OK [02:42:15]request: POST /json_proto HTTP/1.0 [02:42:15]Method: POST [02:42:15]URL: /json_proto [02:42:15]Method is POST - this is cgi request [02:42:15]url: /json_proto [02:42:15]query_string will be loaded in cgi processing [02:42:15]execute_cgi json_proto POST (null) [02:42:15]execute_cgi path=json_proto method=POST [02:42:15]POST find Content-Length [02:42:15]Host: 172.17.42.3:8080 [02:42:15]Content-Length: 765 [02:42:15]Content-Type: application/json [02:42:15] [02:42:15]POST finish read [02:42:15]Found Content-Length = 765 [02:42:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46306", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.940, "sum" : 330.49, "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: Mbank", "payments": [ { "type": 1, "sum" : 330.49 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:42:15]execute_script... [02:42: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 : (1)46306", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.940, "sum" : 330.49, "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: Mbank", "payments": [ { "type": 1, "sum" : 330.49 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:42:15]POST & json_proto [02:42:15]process_json_proto [02:42:15]json parsed OK: [02:42:15]protocol is kg_v1.0 [02:42:15]action value=close_receipt [02:42:15]process_action close_receipt [02:42:15]cmd_close_receipt [02:42:15]MH_GetDate [02:42:15]Write to MH i2c: F0 00 00 F1 12 F2 [02:42:15]Write i2c OK [02:42:15]MH_I2C_Read... [02:42:15]Read from MH i2c: F0 [02:42:15]MH_I2C_Read... [02:42:15]Read from MH i2c: F0 09 00 [02:42:15]MH_I2C_Read... [02:42:15]Read from MH i2c: F0 09 00 F1 12 00 89 4B 20 67 0E CB 1F 67 B5 [02:42:15]GetLastDocTimeStamp 1730168562 [02:42:15]current date 1730169737 [02:42:15]FM_GetShiftState [02:42:15]SAM_PROTO_GetShiftState [02:42:15]wFMCommunicate request_size=4 [02:42:15]MH_SAM_APDU [02:42:15]CAPDU: 80 13 01 00 [02:42:15]Write to MH i2c: E2 08 00 F2 12 80 13 01 00 00 00 00 00 81 [02:42:15]Write i2c OK [02:42:15]MH_I2C_Read... [02:42:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:42:15]Read from MH i2c: E2 [02:42:15]MH_I2C_Read... [02:42:15]Read from MH i2c: E2 0E 00 [02:42:15]MH_I2C_Read... [02:42:15]Read from MH i2c: E2 0E 00 F2 12 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 31 [02:42:15]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [02:42:15]wFMCommunicate OK [02:42:15]SAM_PROTO_GetShiftState done [02:42:15]FM_GetShiftState done [02:42:15]opened in 1730160885 [02:42:15]opened+sec_in_day 1730247285 [02:42:15]quantity*price = 33048 [02:42:15]sum+1 = 33050 [02:42:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 330.49 НСП 1% : 2.92 НДС 12% : 35.10 Наличными: 0.00 Безнал.: 330.49 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 7 29.10.2024 02:42 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871758 ФД: 68284 ФПД: 242454173791641 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T024217&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68284&fm=242454173791641&tin=02508201610067®Number=0000000000091759&sum=33049 [02:42:16]StoreToDocumentArchive [02:42:16]shift 548 fd 68284 [02:42:16]save to /storage/0548/doc_00068284 [02:42:16]save last doc name /storage/0548/doc_00068284 to /storage/kkm_last_doc_name [02:42:16]save OK [02:42:16]Clear old archive folders... [02:42:16]ProcessDocumentItem done err = 0, tmpTLVsize=251 [02:42:16]tlvbuf is 006315E0 [02:42:16]SAM_PROTO_ClearQueue [02:42:16]wFMCommunicate request_size=4 [02:42:16]MH_SAM_APDU [02:42:16]CAPDU: 80 09 00 00 [02:42:16]Write to MH i2c: E2 08 00 FF 12 80 09 00 00 00 00 00 00 83 [02:42:16]Write i2c OK [02:42:16]MH_I2C_Read... [02:42:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:42:16]Read from MH i2c: E2 [02:42:16]MH_I2C_Read... [02:42:16]Read from MH i2c: E2 03 00 [02:42:16]MH_I2C_Read... [02:42:16]Read from MH i2c: E2 03 00 FF 12 00 90 00 85 [02:42:16]RAPDU: 90 00 [02:42:16]wFMCommunicate OK [02:42:16]SAM_PROTO_ClearQueue done [02:42:16]KKMCreateOFDPacket [02:42:16]OFDProtocolAddRootSTLVToBuf [02:42:16]FM_MakeSignedData [02:42:16]FM_MakeSignedData [02:42:16]SAM_PROTO_SignData [02:42:16]wFMCommunicate request_size=4 [02:42:16]MH_SAM_APDU [02:42:16]CAPDU: 80 0D 01 02 [02:42:16]Write to MH i2c: E2 08 00 00 13 80 0D 01 02 00 00 00 00 8C [02:42:16]Write i2c OK [02:42:16]MH_I2C_Read... [02:42:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:42:16]Read from MH i2c: E2 [02:42:16]MH_I2C_Read... [02:42:16]Read from MH i2c: E2 03 00 [02:42:16]MH_I2C_Read... [02:42:16]Read from MH i2c: E2 03 00 00 13 00 90 00 87 [02:42:16]RAPDU: 90 00 [02:42:16]wFMCommunicate OK [02:42:16]wFMCommunicate request_size=255 [02:42:16]MH_SAM_APDU [02:42:16]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 13 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 19 81 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 19 81 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 19 81 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 89 4B 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BC 0A 01 00 35 04 06 00 DC [02:42:16]Write to MH i2c: E2 02 01 01 13 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 13 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 19 81 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 19 81 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 19 81 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 89 4B 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BC 0A 01 00 35 04 06 00 DC 00 00 1C [02:42:16]Write i2c OK [02:42:16]MH_I2C_Read... [02:42:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:42:17]Read from MH i2c: E2 [02:42:17]MH_I2C_Read... [02:42:17]Read from MH i2c: E2 03 00 [02:42:17]MH_I2C_Read... [02:42:17]Read from MH i2c: E2 03 00 01 13 00 90 00 88 [02:42:17]RAPDU: 90 00 [02:42:17]wFMCommunicate OK [02:42:17]wFMCommunicate request_size=10 [02:42:17]MH_SAM_APDU [02:42:17]CAPDU: 80 0D 02 02 05 82 C2 E7 35 99 [02:42:17]Write to MH i2c: E2 0D 00 02 13 80 0D 02 02 05 00 82 C2 E7 35 99 00 00 92 [02:42:17]Write i2c OK [02:42:17]MH_I2C_Read... [02:42:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:42:17]Read from MH i2c: E2 [02:42:17]MH_I2C_Read... [02:42:17]Read from MH i2c: E2 03 00 [02:42:17]MH_I2C_Read... [02:42:17]Read from MH i2c: E2 03 00 02 13 00 90 00 89 [02:42:17]RAPDU: 90 00 [02:42:17]wFMCommunicate OK [02:42:17]wFMCommunicate request_size=4 [02:42:17]MH_SAM_APDU [02:42:17]CAPDU: 80 0D 03 02 [02:42:17]Write to MH i2c: E2 08 00 03 13 80 0D 03 02 00 00 00 00 91 [02:42:17]Write i2c OK [02:42:17]MH_I2C_Read... [02:42:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:42:17]Read from MH i2c: E2 [02:42:17]MH_I2C_Read... [02:42:17]Read from MH i2c: E2 0B 00 [02:42:17]MH_I2C_Read... [02:42:17]Read from MH i2c: E2 0B 00 03 13 00 7E 68 47 0F E1 DA 56 1C 90 00 FB [02:42:17]RAPDU: 7E 68 47 0F E1 DA 56 1C 90 00 [02:42:17]wFMCommunicate OK [02:42:17]SAM_PROTO_SignData done [02:42:17]FM_MakeSignedData done [02:42:17]CreateOFDProtocolMessage [02:42:17]wFMCommunicate request_size=4 [02:42:17]MH_SAM_APDU [02:42:17]CAPDU: 80 11 00 00 [02:42:17]Write to MH i2c: E2 08 00 04 13 80 11 00 00 00 00 00 00 91 [02:42:17]Write i2c OK [02:42:17]MH_I2C_Read... [02:42:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:42:17]Read from MH i2c: E2 [02:42:17]MH_I2C_Read... [02:42:17]Read from MH i2c: E2 17 00 [02:42:17]MH_I2C_Read... [02:42:17]Read from MH i2c: E2 17 00 04 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 E8 [02:42:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [02:42:17]wFMCommunicate OK [02:42:17]CreateOFDProtocolMessage done [02:42:17]OFDSenderStorePacket 68284 [02:42:17]StoreOFDPacket docnum=68284 [02:42:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 EF 09 07 01 34 0E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 13 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 19 81 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 19 81 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 19 81 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 89 4B 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BC 0A 01 00 35 04 06 00 DC 82 C2 E7 35 99 7E 68 47 0F E1 DA 56 1C [02:42:17]CheckFolder [02:42:17]dirname=/storage/ofd_packets [02:42:17]CheckFolder done [02:42:17]ProducePacketName [02:42:17]name=ofd_packets/00068284 [02:42:17]NVStorageSaveData ofd_packets/00068284 [02:42:17]File name is /storage/ofd_packets/00068284 [02:42:17]Write 301 bytes [02:42:17]NVStorageSaveData done [02:42:17]OFDSenderStorePacket done [02:42:17]KKMCreateOFDPacket done [02:42:17]NVStorageSaveData kkm_last_timestamp [02:42:17]File name is /storage/kkm_last_timestamp [02:42:17]Write 4 bytes [02:42:17]NVStorageSaveData done [02:42:17]ExternCall_PrintAddStr [02:42:17]wPrintStart [02:42:17]Write to MH i2c: 01 00 00 05 13 18 [02:42:17]Write i2c OK [02:42:17]MH_I2C_Read... [02:42:17]Read from MH i2c: 01 [02:42:17]MH_I2C_Read... [02:42:17]Read from MH i2c: 01 07 00 [02:42:17]MH_I2C_Read... [02:42:17]Read from MH i2c: 01 07 00 05 13 00 00 00 00 00 FF 0F 2D [02:42:17]RasterBufferAndPrint [02:42:17]line Счет N : (1)46306 [02:42:17]line ИНН: 02508201610067 [02:42:17]line Контрольно-Кассовый Чек [02:42:17]line ПРОДАЖА [02:42:17]line ТРК (МРК, ГНК) : 13 [02:42:17]line Товар: 2710124130 [02:42:17]line Аи-92-К-5 [02:42:17]line 4.940 * 66.90 [02:42:17]line = 330.49 [02:42:17]line НДС 12% НСП 1% [02:42:17]line > о реализуемом товаре [02:42:17]line ИТОГО: 330.49 [02:42:17]line НСП 1% : 2.92 [02:42:17]line НДС 12% : 35.10 [02:42:17]line Наличными: 0.00 [02:42:17]line Безнал.: 330.49 [02:42:17]line Место: АЗС № 160 "Партнер Нефть" [02:42:17]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [02:42:17]line СНО: Общий режим [02:42:17]line Чек 7 29.10.2024 02:42 [02:42:17]line Смена: 548 ФФД: 1.0 [02:42:17]line ЗНМ: 0300000093 [02:42:17]line РНМ: 0000000000091759 [02:42:17]line Версия ККМ: 001 [02:42:17]line Платежная система: Mbank [02:42:17]line ФМ: 0000000000871758 [02:42:17]line ФД: 68284 [02:42:17]line ФПД: 242454173791641 [02:42:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T024217&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68284&fm=242454173791641&tin=02508201610067®Number=0000000000091759&sum=33049 [02:42:17]written 0, free lines is 4095 [02:42:17]OFD Sender: Processing packet 68284 [packets to send 27, broken 26] [02:42:17]ProducePacketName [02:42:17]name=ofd_packets/00068284 [02:42:17]OFD Sender: To server: pG, [02:42:17]CommunicateWithHost lk.salyk.kg:30040 [02:42:17]ConnectInit lk.salyk.kg [02:42:17]Write to MH i2c: 01 00 00 2D 13 40 [02:42:17]Connected sock=10 [02:42:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 EF 09 07 01 34 0E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 4C 13 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 19 81 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 19 81 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 19 81 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 89 4B 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BC 0A 01 00 35 04 06 00 DC 82 C2 E7 35 99 7E 68 47 0F E1 DA 56 1C [02:42:17]Write i2c OK [02:42:17]MH_I2C_Read... [02:42:17]Read from MH i2c: 01 [02:42:17]MH_I2C_Read... [02:42:17]Read from MH i2c: 01 07 00 [02:42:17]MH_I2C_Read... [02:42:17]Read from MH i2c: 01 07 00 2D 13 00 00 00 00 00 DA 0C 2D [02:42:17]RasterBufferAndPrint [02:42:17]line [02:42:17]line [02:42:17]line [02:42:17]line [02:42:17]line [02:42:17]written 0, free lines is 3313 [02:42:17]MH_Cut [02:42:17]Write to MH i2c: D1 01 00 34 13 01 19 [02:42:17]Write i2c OK [02:42:17]MH_I2C_Read... [02:42:17]Read from MH i2c: D1 [02:42:17]MH_I2C_Read... [02:42:17]Read from MH i2c: D1 01 00 [02:42:17]MH_I2C_Read... [02:42:17]Read from MH i2c: D1 01 00 34 13 00 18 [02:42:17]Write to MH i2c: 01 00 00 35 13 48 [02:42:17]Write i2c OK [02:42:17]MH_I2C_Read... [02:42:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 8F 4D 47 00 C9 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 38 37 31 37 35 38 10 04 04 00 BC 0A 01 00 F4 03 04 00 68 F7 1F 67 B6 04 01 00 00 05 39 2E D7 75 DE 9E 19 [02:42:18]CommunicateWithHost err = 0 [02:42:18]CheckOFDResponse [02:42:18]1017 (14) - 77093643461234 [02:42:18]1041 (16) - 0000000000871758 [02:42:18]1040 (4) - 68284 [02:42:18]1012 (4) - 28.10.2024 20:43 [02:42:18]1206 (1) - 0 [02:42:18]OFD Sender: Remove packet 68284 [02:42:18]ProducePacketName [02:42:18]name=ofd_packets/00068284 [02:42:18]NVStorageDeleteData [02:42:18]OFD Sender: No OFD packet to send [02:42:18]*** Cut start [02:42:18]*** Partial cut [02:42:18]*** CUTSNS_PIN = 1 [02:42:18]*** CUTSNS_PIN = 0 [02:42:18]*** Brake cut motor [02:42:19]*** Stop cut motor [02:42:19]*** Cut end [02:42:19]Read from MH i2c: 01 [02:42:19]MH_I2C_Read... [02:42:19]Read from MH i2c: 01 07 00 [02:42:19]MH_I2C_Read... [02:42:19]Read from MH i2c: 01 07 00 35 13 00 00 00 00 00 FF 0F 5D [02:42:19]process_action close_receipt done [02:42:19]requested_data is exist [02:42:19]produce_requested_data [02:42:19]requested_item fm.sn is exist - process it [02:42:19]wFMCommunicate request_size=4 [02:42:19]MH_SAM_APDU [02:42:19]CAPDU: 80 11 00 00 [02:42:19]Write to MH i2c: E2 08 00 36 13 80 11 00 00 00 00 00 00 C3 [02:42:19]Write i2c OK [02:42:19]MH_I2C_Read... [02:42:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:42:19]Read from MH i2c: E2 [02:42:19]MH_I2C_Read... [02:42:19]Read from MH i2c: E2 17 00 [02:42:19]MH_I2C_Read... [02:42:19]Read from MH i2c: E2 17 00 36 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 1A [02:42:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [02:42:19]wFMCommunicate OK [02:42:19]requested_item fd.num is exist - process it [02:42:19]SAM_PROTO_GetFieldsCounters [02:42:19]wFMCommunicate request_size=4 [02:42:19]MH_SAM_APDU [02:42:19]CAPDU: 80 13 00 00 [02:42:19]Write to MH i2c: E2 08 00 37 13 80 13 00 00 00 00 00 00 C6 [02:42:19]Write i2c OK [02:42:19]MH_I2C_Read... [02:42:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:42:19]Read from MH i2c: E2 [02:42:19]MH_I2C_Read... [02:42:19]Read from MH i2c: E2 62 00 [02:42:19]MH_I2C_Read... [02:42:19]Read from MH i2c: E2 62 00 37 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 BC 0A 01 00 0E 04 04 00 24 02 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 F3 [02:42:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 BC 0A 01 00 0E 04 04 00 24 02 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 [02:42:19]wFMCommunicate OK [02:42:19]SAM_PROTO_GetFieldsCounters done [02:42:19]requested_item shift.num is exist - process it [02:42:19]requested_item shift.opened is exist - process it [02:42:19]req_shift_opened [02:42:19]FM_GetShiftState [02:42:19]SAM_PROTO_GetShiftState [02:42:19]wFMCommunicate request_size=4 [02:42:19]MH_SAM_APDU [02:42:19]CAPDU: 80 13 01 00 [02:42:19]Write to MH i2c: E2 08 00 38 13 80 13 01 00 00 00 00 00 C8 [02:42:19]Write i2c OK [02:42:19]MH_I2C_Read... [02:42:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:42:19]Read from MH i2c: E2 [02:42:19]MH_I2C_Read... [02:42:19]Read from MH i2c: E2 0E 00 [02:42:19]MH_I2C_Read... [02:42:19]Read from MH i2c: E2 0E 00 38 13 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 78 [02:42:19]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [02:42:19]wFMCommunicate OK [02:42:19]SAM_PROTO_GetShiftState done [02:42:19]FM_GetShiftState done [02:42:19]req_shift_opened done [02:42:19]requested_item shift.open_date is exist - process it [02:42:19]req_shift_open_date [02:42:19]req_shift_open_date done [02:42:19]produce_requested_data done [02:42:19]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68284,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [02:42:19]process_action_free close_receipt [02:42:19]json_value_free [02:42:19]json_value_free done [02:42:19]process_json_proto returns [02:42:19]Send response to host [02:42:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68284,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [02:42:19]free response buf [02:42:19]execute_script done [02:42:19]execute_script returns [02:42:19]free content buf [02:42:19]Sock 7.Close socket [02:42:19]Sock 7.Thread stoped [02:42:23]OFD Sender: No OFD packet to send [02:42:28]OFD Sender: No OFD packet to send [02:42:33]OFD Sender: No OFD packet to send [02:42:38]OFD Sender: No OFD packet to send [02:42:43]OFD Sender: No OFD packet to send [02:42:48]OFD Sender: No OFD packet to send [02:42:50]accept exits with 9 [02:42:50]New connection [02:42:50]New thread 3067354468 created [02:42:50]Thread 3067497828 joined [02:42:50]Waiting for new connection... [02:42:50] Sock 9.Parse request [02:42:50]Sock 9.Check first char [02:42:50]Sock 9.First char is OK [02:42:50]request: POST /json_proto HTTP/1.0 [02:42:50]Method: POST [02:42:50]URL: /json_proto [02:42:50]Method is POST - this is cgi request [02:42:50]url: /json_proto [02:42:50]query_string will be loaded in cgi processing [02:42:50]execute_cgi json_proto POST (null) [02:42:50]execute_cgi path=json_proto method=POST [02:42:50]POST find Content-Length [02:42:50]Host: 172.17.42.3:8080 [02:42:50]Content-Length: 676 [02:42:50]Content-Type: application/json [02:42:50] [02:42:50]POST finish read [02:42:50]Found Content-Length = 676 [02:42:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)46307", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.530, "sum" : 369.96, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 370.00, "total" : 369.00, "payments": [ { "type": 0, "sum" : 369.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:42:50]execute_script... [02:42: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 : (1)46307", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 13", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 5.530, "sum" : 369.96, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 370.00, "total" : 369.00, "payments": [ { "type": 0, "sum" : 369.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:42:50]POST & json_proto [02:42:50]process_json_proto [02:42:50]json parsed OK: [02:42:50]protocol is kg_v1.0 [02:42:50]action value=close_receipt [02:42:50]process_action close_receipt [02:42:50]cmd_close_receipt [02:42:50]MH_GetDate [02:42:50]Write to MH i2c: F0 00 00 39 13 3B [02:42:50]Write i2c OK [02:42:50]MH_I2C_Read... [02:42:50]Read from MH i2c: F0 [02:42:50]MH_I2C_Read... [02:42:50]Read from MH i2c: F0 09 00 [02:42:50]MH_I2C_Read... [02:42:50]Read from MH i2c: F0 09 00 39 13 00 AC 4B 20 67 0E CB 1F 67 21 [02:42:50]GetLastDocTimeStamp 1730169737 [02:42:50]current date 1730169772 [02:42:50]FM_GetShiftState [02:42:50]SAM_PROTO_GetShiftState [02:42:50]wFMCommunicate request_size=4 [02:42:50]MH_SAM_APDU [02:42:50]CAPDU: 80 13 01 00 [02:42:50]Write to MH i2c: E2 08 00 3A 13 80 13 01 00 00 00 00 00 CA [02:42:50]Write i2c OK [02:42:50]MH_I2C_Read... [02:42:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:42:50]Read from MH i2c: E2 [02:42:50]MH_I2C_Read... [02:42:50]Read from MH i2c: E2 0E 00 [02:42:50]MH_I2C_Read... [02:42:50]Read from MH i2c: E2 0E 00 3A 13 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 7A [02:42:50]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [02:42:50]wFMCommunicate OK [02:42:50]SAM_PROTO_GetShiftState done [02:42:50]FM_GetShiftState done [02:42:50]opened in 1730160885 [02:42:50]opened+sec_in_day 1730247285 [02:42:50]quantity*price = 36995 [02:42:50]sum+1 = 36997 [02:42:50]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.96 ИТОГО: 369.00 Внесено: 370.00 СДАЧА: 1.00 НСП 1% : 3.27 НДС 12% : 39.29 Наличными: 369.00 Безнал.: 0.00 Место: АЗС № 160 "Партнер Нефть" Адрес: 720001, с. Арал, 41.929219, 72.888225 СНО: Общий режим Чек 8 29.10.2024 02:42 Смена: 548 ФФД: 1.0 ЗНМ: 0300000093 РНМ: 0000000000091759 Версия ККМ: 001 ФМ: 0000000000871758 ФД: 68285 ФПД: 112252796102868 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T024252&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68285&fm=112252796102868&tin=02508201610067®Number=0000000000091759&sum=36900 [02:42:51]StoreToDocumentArchive [02:42:51]shift 548 fd 68285 [02:42:51]save to /storage/0548/doc_00068285 [02:42:51]save last doc name /storage/0548/doc_00068285 to /storage/kkm_last_doc_name [02:42:51]save OK [02:42:51]Clear old archive folders... [02:42:51]ProcessDocumentItem done err = 0, tmpTLVsize=251 [02:42:51]tlvbuf is 005BE120 [02:42:51]SAM_PROTO_ClearQueue [02:42:51]wFMCommunicate request_size=4 [02:42:51]MH_SAM_APDU [02:42:51]CAPDU: 80 09 00 00 [02:42:51]Write to MH i2c: E2 08 00 47 13 80 09 00 00 00 00 00 00 CC [02:42:51]Write i2c OK [02:42:51]MH_I2C_Read... [02:42:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:42:51]Read from MH i2c: E2 [02:42:51]MH_I2C_Read... [02:42:51]Read from MH i2c: E2 03 00 [02:42:51]MH_I2C_Read... [02:42:51]Read from MH i2c: E2 03 00 47 13 00 90 00 CE [02:42:51]RAPDU: 90 00 [02:42:51]wFMCommunicate OK [02:42:51]SAM_PROTO_ClearQueue done [02:42:51]KKMCreateOFDPacket [02:42:51]OFDProtocolAddRootSTLVToBuf [02:42:51]FM_MakeSignedData [02:42:51]FM_MakeSignedData [02:42:51]SAM_PROTO_SignData [02:42:51]wFMCommunicate request_size=4 [02:42:51]MH_SAM_APDU [02:42:51]CAPDU: 80 0D 01 02 [02:42:51]Write to MH i2c: E2 08 00 48 13 80 0D 01 02 00 00 00 00 D4 [02:42:51]Write i2c OK [02:42:51]MH_I2C_Read... [02:42:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:42:52]Read from MH i2c: E2 [02:42:52]MH_I2C_Read... [02:42:52]Read from MH i2c: E2 03 00 [02:42:52]MH_I2C_Read... [02:42:52]Read from MH i2c: E2 03 00 48 13 00 90 00 CF [02:42:52]RAPDU: 90 00 [02:42:52]wFMCommunicate OK [02:42:52]wFMCommunicate request_size=255 [02:42:52]MH_SAM_APDU [02:42:52]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9A 15 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 84 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 0F 00 00 00 00 07 04 06 00 24 90 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 AC 4B 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BD 0A 01 00 35 04 06 00 66 [02:42:52]Write to MH i2c: E2 02 01 49 13 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9A 15 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 84 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 0F 00 00 00 00 07 04 06 00 24 90 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 AC 4B 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BD 0A 01 00 35 04 06 00 66 00 00 D9 [02:42:52]Write i2c OK [02:42:52]MH_I2C_Read... [02:42:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:42:52]Read from MH i2c: E2 [02:42:52]MH_I2C_Read... [02:42:52]Read from MH i2c: E2 03 00 [02:42:52]MH_I2C_Read... [02:42:52]Read from MH i2c: E2 03 00 49 13 00 90 00 D0 [02:42:52]RAPDU: 90 00 [02:42:52]wFMCommunicate OK [02:42:52]wFMCommunicate request_size=10 [02:42:52]MH_SAM_APDU [02:42:52]CAPDU: 80 0D 02 02 05 17 E4 09 68 D4 [02:42:52]Write to MH i2c: E2 0D 00 4A 13 80 0D 02 02 05 00 17 E4 09 68 D4 00 00 21 [02:42:52]Write i2c OK [02:42:52]MH_I2C_Read... [02:42:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:42:52]Read from MH i2c: E2 [02:42:52]MH_I2C_Read... [02:42:52]Read from MH i2c: E2 03 00 [02:42:52]MH_I2C_Read... [02:42:52]Read from MH i2c: E2 03 00 4A 13 00 90 00 D1 [02:42:52]RAPDU: 90 00 [02:42:52]wFMCommunicate OK [02:42:52]wFMCommunicate request_size=4 [02:42:52]MH_SAM_APDU [02:42:52]CAPDU: 80 0D 03 02 [02:42:52]Write to MH i2c: E2 08 00 4B 13 80 0D 03 02 00 00 00 00 D9 [02:42:52]Write i2c OK [02:42:52]MH_I2C_Read... [02:42:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:42:52]Read from MH i2c: E2 [02:42:52]MH_I2C_Read... [02:42:52]Read from MH i2c: E2 0B 00 [02:42:52]MH_I2C_Read... [02:42:52]Read from MH i2c: E2 0B 00 4B 13 00 73 B7 D2 05 5A B5 7A 2E 90 00 92 [02:42:52]RAPDU: 73 B7 D2 05 5A B5 7A 2E 90 00 [02:42:52]wFMCommunicate OK [02:42:52]SAM_PROTO_SignData done [02:42:52]FM_MakeSignedData done [02:42:52]CreateOFDProtocolMessage [02:42:52]wFMCommunicate request_size=4 [02:42:52]MH_SAM_APDU [02:42:52]CAPDU: 80 11 00 00 [02:42:52]Write to MH i2c: E2 08 00 4C 13 80 11 00 00 00 00 00 00 D9 [02:42:52]Write i2c OK [02:42:52]MH_I2C_Read... [02:42:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:42:52]Read from MH i2c: E2 [02:42:52]MH_I2C_Read... [02:42:52]Read from MH i2c: E2 17 00 [02:42:52]MH_I2C_Read... [02:42:52]Read from MH i2c: E2 17 00 4C 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 30 [02:42:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [02:42:52]wFMCommunicate OK [02:42:52]CreateOFDProtocolMessage done [02:42:52]OFDSenderStorePacket 68285 [02:42:52]StoreOFDPacket docnum=68285 [02:42:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 9A 46 07 01 05 43 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9A 15 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 84 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 0F 00 00 00 00 07 04 06 00 24 90 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 AC 4B 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BD 0A 01 00 35 04 06 00 66 17 E4 09 68 D4 73 B7 D2 05 5A B5 7A 2E [02:42:52]CheckFolder [02:42:52]dirname=/storage/ofd_packets [02:42:52]CheckFolder done [02:42:52]ProducePacketName [02:42:52]name=ofd_packets/00068285 [02:42:52]NVStorageSaveData ofd_packets/00068285 [02:42:52]File name is /storage/ofd_packets/00068285 [02:42:52]Write 301 bytes [02:42:52]NVStorageSaveData done [02:42:52]OFDSenderStorePacket done [02:42:52]KKMCreateOFDPacket done [02:42:52]NVStorageSaveData kkm_last_timestamp [02:42:52]File name is /storage/kkm_last_timestamp [02:42:52]Write 4 bytes [02:42:52]NVStorageSaveData done [02:42:52]ExternCall_PrintAddStr [02:42:52]wPrintStart [02:42:52]Write to MH i2c: 01 00 00 4D 13 60 [02:42:52]Write i2c OK [02:42:52]MH_I2C_Read... [02:42:52]Read from MH i2c: 01 [02:42:52]MH_I2C_Read... [02:42:52]Read from MH i2c: 01 07 00 [02:42:52]MH_I2C_Read... [02:42:52]Read from MH i2c: 01 07 00 4D 13 00 00 00 00 00 FF 0F 75 [02:42:52]RasterBufferAndPrint [02:42:52]line Счет N : (1)46307 [02:42:52]line ИНН: 02508201610067 [02:42:52]line Контрольно-Кассовый Чек [02:42:52]line ПРОДАЖА [02:42:52]line ТРК (МРК, ГНК) : 13 [02:42:52]line Товар: 2710124130 [02:42:52]line Аи-92-К-5 [02:42:52]line 5.530 * 66.90 [02:42:52]line = 369.96 [02:42:52]line НДС 12% НСП 1% [02:42:52]line > о реализуемом товаре [02:42:52]line ОКРУГЛЕНИЕ: -0.96 [02:42:52]line ИТОГО: 369.00 [02:42:52]line Внесено: 370.00 [02:42:52]line СДАЧА: 1.00 [02:42:52]line НСП 1% : 3.27 [02:42:52]line НДС 12% : 39.29 [02:42:52]line Наличными: 369.00 [02:42:52]line Безнал.: 0.00 [02:42:52]line Место: АЗС № 160 "Партнер Нефть" [02:42:52]line Адрес: 720001, с. Арал, 41.929219, 72.888225 [02:42:52]line СНО: Общий режим [02:42:52]line Чек 8 29.10.2024 02:42 [02:42:52]line Смена: 548 ФФД: 1.0 [02:42:52]line ЗНМ: 0300000093 [02:42:52]line РНМ: 0000000000091759 [02:42:52]line Версия ККМ: 001 [02:42:52]line ФМ: 0000000000871758 [02:42:52]line ФД: 68285 [02:42:52]line ФПД: 112252796102868 [02:42:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T024252&type=1&operation_type=1&fn_number=0000000000871758&fd_number=68285&fm=112252796102868&tin=02508201610067®Number=0000000000091759&sum=36900 [02:42:52]written 0, free lines is 4095 [02:42:52]OFD Sender: Processing packet 68285 [packets to send 27, broken 26] [02:42:52]ProducePacketName [02:42:52]name=ofd_packets/00068285 [02:42:52]OFD Sender: To server: pG, [02:42:52]CommunicateWithHost lk.salyk.kg:30040 [02:42:52]ConnectInit lk.salyk.kg [02:42:52]Connected sock=10 [02:42:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0F 01 00 00 9A 46 07 01 05 43 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9A 15 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 84 90 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 90 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 0F 00 00 00 00 07 04 06 00 24 90 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 AC 4B 20 67 0E 04 04 00 24 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BD 0A 01 00 35 04 06 00 66 17 E4 09 68 D4 73 B7 D2 05 5A B5 7A 2E [02:42:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 4F 00 00 00 56 38 47 00 FB F7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 10 04 04 00 BD 0A 01 00 F4 03 04 00 8B F7 1F 67 B6 04 01 00 00 2B 51 D6 6B D8 0D 25 55 [02:42:52]CommunicateWithHost err = 0 [02:42:52]CheckOFDResponse [02:42:52]1017 (14) - 77093643461234 [02:42:52]1041 (16) - 0000000000871758 [02:42:52]1040 (4) - 68285 [02:42:52]1012 (4) - 28.10.2024 20:43 [02:42:52]1206 (1) - 0 [02:42:52]OFD Sender: Remove packet 68285 [02:42:52]ProducePacketName [02:42:52]name=ofd_packets/00068285 [02:42:52]NVStorageDeleteData [02:42:52]Write to MH i2c: 01 00 00 77 13 8A [02:42:52]Write i2c OK [02:42:52]MH_I2C_Read... [02:42:52]Read from MH i2c: 01 [02:42:52]MH_I2C_Read... [02:42:52]Read from MH i2c: 01 07 00 [02:42:52]MH_I2C_Read... [02:42:52]Read from MH i2c: 01 07 00 77 13 00 00 00 00 00 C3 0C 60 [02:42:52]RasterBufferAndPrint [02:42:52]line [02:42:52]line [02:42:52]line [02:42:52]line [02:42:52]line [02:42:52]written 0, free lines is 3273 [02:42:52]MH_Cut [02:42:52]Write to MH i2c: D1 01 00 7E 13 01 63 [02:42:52]Write i2c OK [02:42:52]MH_I2C_Read... [02:42:52]Read from MH i2c: D1 [02:42:52]MH_I2C_Read... [02:42:52]Read from MH i2c: D1 01 00 [02:42:52]MH_I2C_Read... [02:42:52]Read from MH i2c: D1 01 00 7E 13 00 62 [02:42:52]Write to MH i2c: 01 00 00 7F 13 92 [02:42:52]Write i2c OK [02:42:52]MH_I2C_Read... [02:42:53]OFD Sender: No OFD packet to send [02:42:53]*** Cut start [02:42:53]*** Partial cut [02:42:53]*** CUTSNS_PIN = 1 [02:42:53]*** CUTSNS_PIN = 0 [02:42:54]*** Brake cut motor [02:42:54]Read from MH i2c: 01 [02:42:54]MH_I2C_Read... [02:42:54]*** Stop cut motor [02:42:54]*** Cut end [02:42:54]Read from MH i2c: 01 07 00 [02:42:54]MH_I2C_Read... [02:42:54]Read from MH i2c: 01 07 00 7F 13 00 00 00 00 00 FF 0F A7 [02:42:54]process_action close_receipt done [02:42:54]requested_data is exist [02:42:54]produce_requested_data [02:42:54]requested_item fm.sn is exist - process it [02:42:54]wFMCommunicate request_size=4 [02:42:54]MH_SAM_APDU [02:42:54]CAPDU: 80 11 00 00 [02:42:54]Write to MH i2c: E2 08 00 80 13 80 11 00 00 00 00 00 00 0D [02:42:54]Write i2c OK [02:42:54]MH_I2C_Read... [02:42:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:42:54]Read from MH i2c: E2 [02:42:54]MH_I2C_Read... [02:42:54]Read from MH i2c: E2 17 00 [02:42:54]MH_I2C_Read... [02:42:54]Read from MH i2c: E2 17 00 80 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 64 [02:42:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 90 00 [02:42:54]wFMCommunicate OK [02:42:54]requested_item fd.num is exist - process it [02:42:54]SAM_PROTO_GetFieldsCounters [02:42:54]wFMCommunicate request_size=4 [02:42:54]MH_SAM_APDU [02:42:54]CAPDU: 80 13 00 00 [02:42:54]Write to MH i2c: E2 08 00 81 13 80 13 00 00 00 00 00 00 10 [02:42:54]Write i2c OK [02:42:54]MH_I2C_Read... [02:42:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:42:54]Read from MH i2c: E2 [02:42:54]MH_I2C_Read... [02:42:54]Read from MH i2c: E2 62 00 [02:42:54]MH_I2C_Read... [02:42:54]Read from MH i2c: E2 62 00 81 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 BD 0A 01 00 0E 04 04 00 24 02 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 41 [02:42:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 37 35 38 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 37 35 39 10 04 04 00 BD 0A 01 00 0E 04 04 00 24 02 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:42:54]wFMCommunicate OK [02:42:54]SAM_PROTO_GetFieldsCounters done [02:42:54]requested_item shift.num is exist - process it [02:42:54]requested_item shift.opened is exist - process it [02:42:54]req_shift_opened [02:42:54]FM_GetShiftState [02:42:54]SAM_PROTO_GetShiftState [02:42:54]wFMCommunicate request_size=4 [02:42:54]MH_SAM_APDU [02:42:54]CAPDU: 80 13 01 00 [02:42:54]Write to MH i2c: E2 08 00 82 13 80 13 01 00 00 00 00 00 12 [02:42:54]Write i2c OK [02:42:54]MH_I2C_Read... [02:42:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:42:54]Read from MH i2c: E2 [02:42:54]MH_I2C_Read... [02:42:54]Read from MH i2c: E2 0E 00 [02:42:54]MH_I2C_Read... [02:42:54]Read from MH i2c: E2 0E 00 82 13 00 09 00 01 F5 28 20 67 00 00 00 00 90 00 C2 [02:42:54]RAPDU: 09 00 01 F5 28 20 67 00 00 00 00 90 00 [02:42:54]wFMCommunicate OK [02:42:54]SAM_PROTO_GetShiftState done [02:42:54]FM_GetShiftState done [02:42:54]req_shift_opened done [02:42:54]requested_item shift.open_date is exist - process it [02:42:54]req_shift_open_date [02:42:54]req_shift_open_date done [02:42:54]produce_requested_data done [02:42:54]produce_requested_data return {"fm.sn":"0000000000871758","fd.num":68285,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885} [02:42:54]process_action_free close_receipt [02:42:54]json_value_free [02:42:54]json_value_free done [02:42:54]process_json_proto returns [02:42:54]Send response to host [02:42:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871758","fd.num":68285,"shift.num":548,"shift.opened":1,"shift.open_date":1730160885}}} [02:42:54]free response buf [02:42:54]execute_script done [02:42:54]execute_script returns [02:42:54]free content buf [02:42:54]Sock 9.Close socket [02:42:54]Sock 9.Thread stoped [02:42:58]OFD Sender: No OFD packet to send [02:43:03]OFD Sender: No OFD packet to send [02:43:08]OFD Sender: No OFD packet to send [02:43:13]OFD Sender: No OFD packet to send [02:43:18]OFD Sender: No OFD packet to send [02:43:23]OFD Sender: No OFD packet to send [02:43:28]OFD Sender: No OFD packet to send [02:43:33]OFD Sender: No OFD packet to send [02:43:38]OFD Sender: No OFD packet to send [02:43:43]OFD Sender: No OFD packet to send [02:43:48]OFD Sender: No OFD packet to send [02:43:53]OFD Sender: No OFD packet to send [02:43:58]OFD Sender: No OFD packet to send [02:44:03]OFD Sender: No OFD packet to send [02:44:08]OFD Sender: No OFD packet to send [02:44:13]OFD Sender: No OFD packet to send [02:44:18]OFD Sender: No OFD packet to send [02:44:23]OFD Sender: No OFD packet to send [02:44:28]OFD Sender: No OFD packet to send [02:44:33]OFD Sender: No OFD packet to send [02:44:38]OFD Sender: No OFD packet to send [02:44:43]OFD Sender: No OFD packet to send [02:44:48]OFD Sender: No OFD packet to send [02:44:53]OFD Sender: No OFD packet to send [02:44:58]OFD Sender: No OFD packet to send [02:45:03]OFD Sender: No OFD packet to send [02:45:08]OFD Sender: No OFD packet to send [02:45:13]OFD Sender: No OFD packet to send [02:45:18]OFD Sender: No OFD packet to send [02:45:23]OFD Sender: No OFD packet to send [02:45:28]OFD Sender: No OFD packet to send [02:45:33]OFD Sender: No OFD packet to send [02:45:38]OFD Sender: No OFD packet to send [02:45:43]OFD Sender: No OFD packet to send [02:45:48]OFD Sender: No OFD packet to send [02:45:53]OFD Sender: No OFD packet to send [02:45:58]OFD Sender: No OFD packet to send [02:46:03]OFD Sender: No OFD packet to send [02:46:08]OFD Sender: No OFD packet to send [02:46:13]OFD Sender: No OFD packet to send [02:46:18]OFD Sender: No OFD packet to send [02:46:23]OFD Sender: No OFD packet to send [02:46:28]OFD Sender: No OFD packet to send [02:46:33]OFD Sender: No OFD packet to send [02:46:38]OFD Sender: No OFD packet to send [02:46:43]OFD Sender: No OFD packet to send [02:46:48]OFD Sender: No OFD packet to send [02:46:53]OFD Sender: No OFD packet to send [02:46:58]OFD Sender: No OFD packet to send [02:47:03]OFD Sender: No OFD packet to send [02:47:08]OFD Sender: No OFD packet to send [02:47:13]OFD Sender: No OFD packet to send [02:47:18]OFD Sender: No OFD packet to send [02:47:23]OFD Sender: No OFD packet to send [02:47:28]OFD Sender: No OFD packet to send [02:47:33]OFD Sender: No OFD packet to send [02:47:38]OFD Sender: No OFD packet to send [02:47:43]OFD Sender: No OFD packet to send [02:47:48]OFD Sender: No OFD packet to send [02:47:53]OFD Sender: No OFD packet to send [02:47:58]OFD Sender: No OFD packet to send [02:48:03]OFD Sender: No OFD packet to send [02:48:08]OFD Sender: No OFD packet to send [02:48:13]OFD Sender: No OFD packet to send [02:48:18]OFD Sender: No OFD packet to send [02:48:23]OFD Sender: No OFD packet to send [02:48:28]OFD Sender: No OFD packet to send [02:48:33]OFD Sender: No OFD packet to send [02:48:38]OFD Sender: No OFD packet to send [02:48:43]OFD Sender: No OFD packet to send [02:48:48]OFD Sender: No OFD packet to send [02:48:53]OFD Sender: No OFD packet to send [02:48:58]OFD Sender: No OFD packet to send [02:49:03]OFD Sender: No OFD packet to send [02:49:08]OFD Sender: No OFD packet to send [02:49:13]OFD Sender: No OFD packet to send [02:49:18]OFD Sender: No OFD packet to send [02:49:23]OFD Sender: No OFD packet to send [02:49:28]OFD Sender: No OFD packet to send [02:49:33]OFD Sender: No OFD packet to send [02:49:38]OFD Sender: No OFD packet to send [02:49:43]OFD Sender: No OFD packet to send [02:49:48]OFD Sender: No OFD packet to send [02:49:53]OFD Sender: No OFD packet to send [02:49:58]OFD Sender: No OFD packet to send [02:50:03]OFD Sender: No OFD packet to send [02:50:08]OFD Sender: No OFD packet to send [02:50:13]OFD Sender: No OFD packet to send [02:50:18]OFD Sender: No OFD packet to send [02:50:23]OFD Sender: No OFD packet to send [02:50:28]OFD Sender: No OFD packet to send [02:50:33]OFD Sender: No OFD packet to send [02:50:38]OFD Sender: No OFD packet to send [02:50:43]OFD Sender: No OFD packet to send [02:50:48]OFD Sender: No OFD packet to send [02:50:53]OFD Sender: No OFD packet to send [02:50:58]OFD Sender: No OFD packet to send [02:51:03]OFD Sender: No OFD packet to send [02:51:08]OFD Sender: No OFD packet to send [02:51:13]OFD Sender: No OFD packet to send [02:51:18]OFD Sender: No OFD packet to send [02:51:23]OFD Sender: No OFD packet to send [02:51:28]OFD Sender: No OFD packet to send [02:51:33]OFD Sender: No OFD packet to send [02:51:38]OFD Sender: No OFD packet to send [02:51:43]OFD Sender: No OFD packet to send [02:51:48]OFD Sender: No OFD packet to send [02:51:53]OFD Sender: No OFD packet to send [02:51:58]OFD Sender: No OFD packet to send [02:52:03]OFD Sender: No OFD packet to send [02:52:08]OFD Sender: No OFD packet to send [02:52:13]OFD Sender: No OFD packet to send [02:52:18]OFD Sender: No OFD packet to send [02:52:23]OFD Sender: No OFD packet to send [02:52:28]OFD Sender: No OFD packet to send [02:52:33]OFD Sender: No OFD packet to send [02:52:38]OFD Sender: No OFD packet to send [02:52:43]OFD Sender: No OFD packet to send [02:52:48]OFD Sender: No OFD packet to send [02:52:53]OFD Sender: No OFD packet to send [02:52:58]OFD Sender: No OFD packet to send [02:53:03]OFD Sender: No OFD packet to send [02:53:08]OFD Sender: No OFD packet to send [02:53:13]OFD Sender: No OFD packet to send [02:53:18]OFD Sender: No OFD packet to send [02:53:23]OFD Sender: No OFD packet to send [02:53:28]OFD Sender: No OFD packet to send [02:53:33]OFD Sender: No OFD packet to send [02:53:38]OFD Sender: No OFD packet to send [02:53:43]OFD Sender: No OFD packet to send [02:53:48]OFD Sender: No OFD packet to send [02:53:53]OFD Sender: No OFD packet to send [02:53:58]OFD Sender: No OFD packet to send [02:54:03]OFD Sender: No OFD packet to send [02:54:08]OFD Sender: No OFD packet to send [02:54:13]OFD Sender: No OFD packet to send [02:54:18]OFD Sender: No OFD packet to send [02:54:23]OFD Sender: No OFD packet to send [02:54:28]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:49]OFD Sender: No OFD packet to send [02:56:54]OFD Sender: No OFD packet to send [02:56:59]OFD Sender: No OFD packet to send [02:57:04]OFD Sender: No OFD packet to send [02:57:09]OFD Sender: No OFD packet to send [02:57:14]OFD Sender: No OFD packet to send [02:57:19]OFD Sender: No OFD packet to send [02:57:24]OFD Sender: No OFD packet to send [02:57:29]OFD Sender: No OFD packet to send [02:57:34]OFD Sender: No OFD packet to send [02:57:39]OFD Sender: No OFD packet to send [02:57:44]OFD Sender: No OFD packet to send [02:57:49]OFD Sender: No OFD packet to send [02:57:54]OFD Sender: No OFD packet to send [02:57:59]OFD Sender: No OFD packet to send [02:58:04]OFD Sender: No OFD packet to send [02:58:09]OFD Sender: No OFD packet to send [02:58:14]OFD Sender: No OFD packet to send [02:58:19]OFD Sender: No OFD packet to send [02:58:24]OFD Sender: No OFD packet to send [02:58:29]OFD Sender: No OFD packet to send [02:58:34]OFD Sender: No OFD packet to send [02:58:39]OFD Sender: No OFD packet to send [02:58:44]OFD Sender: No OFD packet to send [02:58:49]OFD Sender: No OFD packet to send