[03:17:06]OFD Sender: No OFD packet to send [03:17:11]OFD Sender: No OFD packet to send [03:17:16]OFD Sender: No OFD packet to send [03:17:21]OFD Sender: No OFD packet to send [03:17:26]OFD Sender: No OFD packet to send [03:17:31]OFD Sender: No OFD packet to send [03:17:36]OFD Sender: No OFD packet to send [03:17:41]OFD Sender: No OFD packet to send [03:17:46]OFD Sender: No OFD packet to send [03:17:51]OFD Sender: No OFD packet to send [03:17:56]OFD Sender: No OFD packet to send [03:18:01]OFD Sender: No OFD packet to send [03:18:06]OFD Sender: No OFD packet to send [03:18:11]OFD Sender: No OFD packet to send [03:18:16]OFD Sender: No OFD packet to send [03:18:21]OFD Sender: No OFD packet to send [03:18:26]OFD Sender: No OFD packet to send [03:18:31]OFD Sender: No OFD packet to send [03:18:36]OFD Sender: No OFD packet to send [03:18:41]OFD Sender: No OFD packet to send [03:18:46]OFD Sender: No OFD packet to send [03:18:51]OFD Sender: No OFD packet to send [03:18:56]OFD Sender: No OFD packet to send [03:19:01]OFD Sender: No OFD packet to send [03:19:06]OFD Sender: No OFD packet to send [03:19:11]OFD Sender: No OFD packet to send [03:19:16]OFD Sender: No OFD packet to send [03:19:21]OFD Sender: No OFD packet to send [03:19:26]OFD Sender: No OFD packet to send [03:19:31]OFD Sender: No OFD packet to send [03:19:36]OFD Sender: No OFD packet to send [03:19:41]OFD Sender: No OFD packet to send [03:19:46]OFD Sender: No OFD packet to send [03:19:51]OFD Sender: No OFD packet to send [03:19:56]OFD Sender: No OFD packet to send [03:20:01]OFD Sender: No OFD packet to send [03:20:06]OFD Sender: No OFD packet to send [03:20:11]OFD Sender: No OFD packet to send [03:20:16]OFD Sender: No OFD packet to send [03:20:21]OFD Sender: No OFD packet to send [03:20:26]OFD Sender: No OFD packet to send [03:20:31]OFD Sender: No OFD packet to send [03:20:36]OFD Sender: No OFD packet to send [03:20:41]OFD Sender: No OFD packet to send [03:20:46]OFD Sender: No OFD packet to send [03:20:51]OFD Sender: No OFD packet to send [03:20:56]OFD Sender: No OFD packet to send [03:21:01]OFD Sender: No OFD packet to send [03:21:06]OFD Sender: No OFD packet to send [03:21:11]OFD Sender: No OFD packet to send [03:21:16]OFD Sender: No OFD packet to send [03:21:21]OFD Sender: No OFD packet to send [03:21:26]OFD Sender: No OFD packet to send [03:21:31]OFD Sender: No OFD packet to send [03:21:36]OFD Sender: No OFD packet to send [03:21:41]OFD Sender: No OFD packet to send [03:21:46]OFD Sender: No OFD packet to send [03:21:51]OFD Sender: No OFD packet to send [03:21:56]OFD Sender: No OFD packet to send [03:22:01]OFD Sender: No OFD packet to send [03:22:06]OFD Sender: No OFD packet to send [03:22:11]OFD Sender: No OFD packet to send [03:22:16]OFD Sender: No OFD packet to send [03:22:21]OFD Sender: No OFD packet to send [03:22:26]OFD Sender: No OFD packet to send [03:22:31]OFD Sender: No OFD packet to send [03:22:36]OFD Sender: No OFD packet to send [03:22:41]OFD Sender: No OFD packet to send [03:22:46]OFD Sender: No OFD packet to send [03:22:51]OFD Sender: No OFD packet to send [03:22:56]OFD Sender: No OFD packet to send [03:23:01]OFD Sender: No OFD packet to send [03:23:06]OFD Sender: No OFD packet to send [03:23:11]OFD Sender: No OFD packet to send [03:23:16]OFD Sender: No OFD packet to send [03:23:21]OFD Sender: No OFD packet to send [03:23:26]OFD Sender: No OFD packet to send [03:23:31]OFD Sender: No OFD packet to send [03:23:36]OFD Sender: No OFD packet to send [03:23:41]OFD Sender: No OFD packet to send [03:23:46]OFD Sender: No OFD packet to send [03:23:51]OFD Sender: No OFD packet to send [03:23:56]OFD Sender: No OFD packet to send [03:24:01]OFD Sender: No OFD packet to send [03:24:06]OFD Sender: No OFD packet to send [03:24:11]OFD Sender: No OFD packet to send [03:24:16]OFD Sender: No OFD packet to send [03:24:21]OFD Sender: No OFD packet to send [03:24:26]OFD Sender: No OFD packet to send [03:24:31]OFD Sender: No OFD packet to send [03:24:36]OFD Sender: No OFD packet to send [03:24:41]OFD Sender: No OFD packet to send [03:24:46]OFD Sender: No OFD packet to send [03:24:51]OFD Sender: No OFD packet to send [03:24:56]OFD Sender: No OFD packet to send [03:25:01]OFD Sender: No OFD packet to send [03:25:06]OFD Sender: No OFD packet to send [03:25:11]OFD Sender: No OFD packet to send [03:25:16]OFD Sender: No OFD packet to send [03:25:21]OFD Sender: No OFD packet to send [03:25:26]OFD Sender: No OFD packet to send [03:25:31]OFD Sender: No OFD packet to send [03:25:36]OFD Sender: No OFD packet to send [03:25:41]OFD Sender: No OFD packet to send [03:25:46]OFD Sender: No OFD packet to send [03:25:51]OFD Sender: No OFD packet to send [03:25:56]OFD Sender: No OFD packet to send [03:26:01]OFD Sender: No OFD packet to send [03:26:06]OFD Sender: No OFD packet to send [03:26:11]OFD Sender: No OFD packet to send [03:26:16]OFD Sender: No OFD packet to send [03:26:21]OFD Sender: No OFD packet to send [03:26:26]OFD Sender: No OFD packet to send [03:26:31]OFD Sender: No OFD packet to send [03:26:36]OFD Sender: No OFD packet to send [03:26:41]OFD Sender: No OFD packet to send [03:26:46]OFD Sender: No OFD packet to send [03:26:51]OFD Sender: No OFD packet to send [03:26:56]OFD Sender: No OFD packet to send [03:27:01]OFD Sender: No OFD packet to send [03:27:06]OFD Sender: No OFD packet to send [03:27:11]OFD Sender: No OFD packet to send [03:27:16]OFD Sender: No OFD packet to send [03:27:21]OFD Sender: No OFD packet to send [03:27:26]OFD Sender: No OFD packet to send [03:27:31]OFD Sender: No OFD packet to send [03:27:36]OFD Sender: No OFD packet to send [03:27:41]OFD Sender: No OFD packet to send [03:27:46]OFD Sender: No OFD packet to send [03:27:51]OFD Sender: No OFD packet to send [03:27:56]OFD Sender: No OFD packet to send [03:28:01]OFD Sender: No OFD packet to send [03:28:06]OFD Sender: No OFD packet to send [03:28:11]OFD Sender: No OFD packet to send [03:28:16]OFD Sender: No OFD packet to send [03:28:21]OFD Sender: No OFD packet to send [03:28:26]OFD Sender: No OFD packet to send [03:28:31]OFD Sender: No OFD packet to send [03:28:36]OFD Sender: No OFD packet to send [03:28:41]OFD Sender: No OFD packet to send [03:28:46]OFD Sender: No OFD packet to send [03:28:51]OFD Sender: No OFD packet to send [03:28:56]OFD Sender: No OFD packet to send [03:29:01]OFD Sender: No OFD packet to send [03:29:06]OFD Sender: No OFD packet to send [03:29:11]OFD Sender: No OFD packet to send [03:29:16]OFD Sender: No OFD packet to send [03:29:21]OFD Sender: No OFD packet to send [03:29:26]OFD Sender: No OFD packet to send [03:29:31]OFD Sender: No OFD packet to send [03:29:36]OFD Sender: No OFD packet to send [03:29:41]OFD Sender: No OFD packet to send [03:29:46]OFD Sender: No OFD packet to send [03:29:51]OFD Sender: No OFD packet to send [03:29:56]OFD Sender: No OFD packet to send [03:30:01]OFD Sender: No OFD packet to send [03:30:06]OFD Sender: No OFD packet to send [03:30:11]OFD Sender: No OFD packet to send [03:30:16]OFD Sender: No OFD packet to send [03:30:21]OFD Sender: No OFD packet to send [03:30:26]OFD Sender: No OFD packet to send [03:30:31]OFD Sender: No OFD packet to send [03:30:36]OFD Sender: No OFD packet to send [03:30:41]OFD Sender: No OFD packet to send [03:30:46]OFD Sender: No OFD packet to send [03:30:51]OFD Sender: No OFD packet to send [03:30:56]OFD Sender: No OFD packet to send [03:31:01]OFD Sender: No OFD packet to send [03:31:06]OFD Sender: No OFD packet to send [03:31:11]OFD Sender: No OFD packet to send [03:31:16]OFD Sender: No OFD packet to send [03:31:21]OFD Sender: No OFD packet to send [03:31:26]OFD Sender: No OFD packet to send [03:31:31]OFD Sender: No OFD packet to send [03:31:36]OFD Sender: No OFD packet to send [03:31:41]OFD Sender: No OFD packet to send [03:31:46]OFD Sender: No OFD packet to send [03:31:51]OFD Sender: No OFD packet to send [03:31:56]OFD Sender: No OFD packet to send [03:32:01]OFD Sender: No OFD packet to send [03:32:06]OFD Sender: No OFD packet to send [03:32:11]OFD Sender: No OFD packet to send [03:32:16]OFD Sender: No OFD packet to send [03:32:21]OFD Sender: No OFD packet to send [03:32:26]OFD Sender: No OFD packet to send [03:32:31]OFD Sender: No OFD packet to send [03:32:36]OFD Sender: No OFD packet to send [03:32:41]OFD Sender: No OFD packet to send [03:32:46]OFD Sender: No OFD packet to send [03:32:51]OFD Sender: No OFD packet to send [03:32:56]OFD Sender: No OFD packet to send [03:33:01]OFD Sender: No OFD packet to send [03:33:06]OFD Sender: No OFD packet to send [03:33:11]OFD Sender: No OFD packet to send [03:33:16]OFD Sender: No OFD packet to send [03:33:21]OFD Sender: No OFD packet to send [03:33:26]OFD Sender: No OFD packet to send [03:33:31]OFD Sender: No OFD packet to send [03:33:36]OFD Sender: No OFD packet to send [03:33:41]OFD Sender: No OFD packet to send [03:33:46]OFD Sender: No OFD packet to send [03:33:51]OFD Sender: No OFD packet to send [03:33:56]OFD Sender: No OFD packet to send [03:34:01]OFD Sender: No OFD packet to send [03:34:06]OFD Sender: No OFD packet to send [03:34:11]OFD Sender: No OFD packet to send [03:34:16]OFD Sender: No OFD packet to send [03:34:21]OFD Sender: No OFD packet to send [03:34:26]OFD Sender: No OFD packet to send [03:34:31]OFD Sender: No OFD packet to send [03:34:36]OFD Sender: No OFD packet to send [03:34:41]OFD Sender: No OFD packet to send [03:34:46]OFD Sender: No OFD packet to send [03:34:52]OFD Sender: No OFD packet to send [03:34:57]OFD Sender: No OFD packet to send [03:35:02]OFD Sender: No OFD packet to send [03:35:07]OFD Sender: No OFD packet to send [03:35:12]OFD Sender: No OFD packet to send [03:35:17]OFD Sender: No OFD packet to send [03:35:22]OFD Sender: No OFD packet to send [03:35:27]OFD Sender: No OFD packet to send [03:35:32]OFD Sender: No OFD packet to send [03:35:37]OFD Sender: No OFD packet to send [03:35:42]OFD Sender: No OFD packet to send [03:35:47]OFD Sender: No OFD packet to send [03:35:52]OFD Sender: No OFD packet to send [03:35:57]OFD Sender: No OFD packet to send [03:36:02]OFD Sender: No OFD packet to send [03:36:07]OFD Sender: No OFD packet to send [03:36:12]OFD Sender: No OFD packet to send [03:36:17]OFD Sender: No OFD packet to send [03:36:22]OFD Sender: No OFD packet to send [03:36:27]OFD Sender: No OFD packet to send [03:36:32]OFD Sender: No OFD packet to send [03:36:37]OFD Sender: No OFD packet to send [03:36:42]OFD Sender: No OFD packet to send [03:36:47]OFD Sender: No OFD packet to send [03:36:52]OFD Sender: No OFD packet to send [03:36:57]OFD Sender: No OFD packet to send [03:37:02]OFD Sender: No OFD packet to send [03:37:07]OFD Sender: No OFD packet to send [03:37:12]OFD Sender: No OFD packet to send [03:37:17]OFD Sender: No OFD packet to send [03:37:22]OFD Sender: No OFD packet to send [03:37:27]OFD Sender: No OFD packet to send [03:37:32]OFD Sender: No OFD packet to send [03:37:37]OFD Sender: No OFD packet to send [03:37:42]OFD Sender: No OFD packet to send [03:37:47]OFD Sender: No OFD packet to send [03:37:52]OFD Sender: No OFD packet to send [03:37:57]OFD Sender: No OFD packet to send [03:38:02]OFD Sender: No OFD packet to send [03:38:07]OFD Sender: No OFD packet to send [03:38:12]OFD Sender: No OFD packet to send [03:38:17]OFD Sender: No OFD packet to send [03:38:22]OFD Sender: No OFD packet to send [03:38:27]OFD Sender: No OFD packet to send [03:38:32]OFD Sender: No OFD packet to send [03:38:37]OFD Sender: No OFD packet to send [03:38:42]OFD Sender: No OFD packet to send [03:38:47]OFD Sender: No OFD packet to send [03:38:52]OFD Sender: No OFD packet to send [03:38:57]OFD Sender: No OFD packet to send [03:39:02]OFD Sender: No OFD packet to send [03:39:07]OFD Sender: No OFD packet to send [03:39:12]OFD Sender: No OFD packet to send [03:39:17]OFD Sender: No OFD packet to send [03:39:22]OFD Sender: No OFD packet to send [03:39:27]OFD Sender: No OFD packet to send [03:39:32]OFD Sender: No OFD packet to send [03:39:37]OFD Sender: No OFD packet to send [03:39:42]OFD Sender: No OFD packet to send [03:39:47]OFD Sender: No OFD packet to send [03:39:52]OFD Sender: No OFD packet to send [03:39:57]OFD Sender: No OFD packet to send [03:39:59]accept exits with 9 [03:39:59]New connection [03:39:59]New thread 3067395428 created [03:39:59]Thread 3067252068 joined [03:39:59]Waiting for new connection... [03:39:59] Sock 9.Parse request [03:39:59]Sock 9.Check first char [03:39:59]Sock 9.First char is OK [03:39:59]request: POST /json_proto HTTP/1.0 [03:39:59]Method: POST [03:39:59]URL: /json_proto [03:39:59]Method is POST - this is cgi request [03:39:59]url: /json_proto [03:39:59]query_string will be loaded in cgi processing [03:39:59]execute_cgi json_proto POST (null) [03:39:59]execute_cgi path=json_proto method=POST [03:39:59]POST find Content-Length [03:39:59]Host: 172.17.60.7:8080 [03:39:59]Content-Length: 951 [03:39:59]Content-Type: application/json [03:39:59] [03:39:59]POST finish read [03:39:59]Found Content-Length = 951 [03:39:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122727", "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" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600721026691", "name": "\u041F\u0438\u0432\u043E ESSA \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D,\u0432\u0438\u0448\u043D\u044F 6,5% \u0441\u0442 0,45\u043B", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 401.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:39:59]execute_script... [03:39: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)122727", "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" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600721026691", "name": "\u041F\u0438\u0432\u043E ESSA \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D,\u0432\u0438\u0448\u043D\u044F 6,5% \u0441\u0442 0,45\u043B", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 401.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:39:59]POST & json_proto [03:39:59]process_json_proto [03:39:59]json parsed OK: [03:39:59]protocol is kg_v1.0 [03:39:59]action value=close_receipt [03:39:59]process_action close_receipt [03:39:59]cmd_close_receipt [03:39:59]MH_GetDate [03:39:59]Write to MH i2c: F0 00 00 A3 0B 9D [03:39:59]Write i2c OK [03:39:59]MH_I2C_Read... [03:39:59]Read from MH i2c: F0 [03:39:59]MH_I2C_Read... [03:39:59]Read from MH i2c: F0 09 00 [03:39:59]MH_I2C_Read... [03:39:59]Read from MH i2c: F0 09 00 A3 0B 00 91 32 B8 66 63 9B 67 64 50 [03:39:59]GetLastDocTimeStamp 1723345429 [03:39:59]current date 1723347601 [03:39:59]FM_GetShiftState [03:39:59]SAM_PROTO_GetShiftState [03:39:59]wFMCommunicate request_size=4 [03:39:59]MH_SAM_APDU [03:39:59]CAPDU: 80 13 01 00 [03:39:59]Write to MH i2c: E2 08 00 A4 0B 80 13 01 00 00 00 00 00 2C [03:39:59]Write i2c OK [03:39:59]MH_I2C_Read... [03:39:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:39:59]Read from MH i2c: E2 [03:39:59]MH_I2C_Read... [03:39:59]Read from MH i2c: E2 0E 00 [03:39:59]MH_I2C_Read... [03:39:59]Read from MH i2c: E2 0E 00 A4 0B 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 55 [03:39:59]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [03:39:59]wFMCommunicate OK [03:39:59]SAM_PROTO_GetShiftState done [03:39:59]FM_GetShiftState done [03:39:59]opened in 1723336186 [03:39:59]opened+sec_in_day 1723422586 [03:39:59]quantity*price = 12500 [03:39:59]sum+1 = 12501 [03:39:59]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600721026691 Пиво ESSA апельсин,вишня 6,5% ст 0,45л 2.000 * 138.00 = 276.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 401.00 НСП 1% : 3.55 НДС 12% : 42.58 Наличными: 401.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 7 11.08.2024 03:40 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52596 ФПД: 265420177769545 /tax-web-control/client/api/v1/ticket?date=20240811T034001&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52596&fm=265420177769545&tin=02508201610067®Number=0000000000090834&sum=40100 0 [03:40:00]StoreToDocumentArchive [03:40:00]shift 446 fd 52596 [03:40:00]save to /storage/0446/doc_00052596 [03:40:00]save last doc name /storage/0446/doc_00052596 to /storage/kkm_last_doc_name [03:40:00]save OK [03:40:00]Clear old archive folders... [03:40:00]ProcessDocumentItem done err = 0, tmpTLVsize=401 [03:40:00]tlvbuf is 0109B1F0 [03:40:00]SAM_PROTO_ClearQueue [03:40:00]wFMCommunicate request_size=4 [03:40:00]MH_SAM_APDU [03:40:00]CAPDU: 80 09 00 00 [03:40:00]Write to MH i2c: E2 08 00 B1 0B 80 09 00 00 00 00 00 00 2E [03:40:00]Write i2c OK [03:40:00]MH_I2C_Read... [03:40:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:40:00]Read from MH i2c: E2 [03:40:00]MH_I2C_Read... [03:40:00]Read from MH i2c: E2 03 00 [03:40:00]MH_I2C_Read... [03:40:00]Read from MH i2c: E2 03 00 B1 0B 00 90 00 30 [03:40:00]RAPDU: 90 00 [03:40:00]wFMCommunicate OK [03:40:00]SAM_PROTO_ClearQueue done [03:40:00]KKMCreateOFDPacket [03:40:00]OFDProtocolAddRootSTLVToBuf [03:40:00]FM_MakeSignedData [03:40:00]FM_MakeSignedData [03:40:00]SAM_PROTO_SignData [03:40:00]wFMCommunicate request_size=4 [03:40:00]MH_SAM_APDU [03:40:00]CAPDU: 80 0D 01 02 [03:40:00]Write to MH i2c: E2 08 00 B2 0B 80 0D 01 02 00 00 00 00 36 [03:40:00]Write i2c OK [03:40:00]MH_I2C_Read... [03:40:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:40:00]Read from MH i2c: E2 [03:40:00]MH_I2C_Read... [03:40:00]Read from MH i2c: E2 03 00 [03:40:00]MH_I2C_Read... [03:40:00]Read from MH i2c: E2 03 00 B2 0B 00 90 00 31 [03:40:00]RAPDU: 90 00 [03:40:00]wFMCommunicate OK [03:40:00]wFMCommunicate request_size=255 [03:40:00]MH_SAM_APDU [03:40:00]CAPDU: 80 0D 02 02 FA 03 00 91 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 7E 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 36 36 39 31 06 04 3A 00 D0 9F D0 B8 D0 B2 D0 BE 20 45 53 53 41 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 2C D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 36 2C 35 25 20 D1 81 D1 82 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 9C 00 00 00 00 [03:40:00]Write to MH i2c: E2 02 01 B3 0B 80 0D 02 02 FA 00 03 00 91 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 7E 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 36 36 39 31 06 04 3A 00 D0 9F D0 B8 D0 B2 D0 BE 20 45 53 53 41 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 2C D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 36 2C 35 25 20 D1 81 D1 82 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 9C 00 00 00 00 00 00 2D [03:40:00]Write i2c OK [03:40:00]MH_I2C_Read... [03:40:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:40:00]Read from MH i2c: E2 [03:40:00]MH_I2C_Read... [03:40:00]Read from MH i2c: E2 03 00 [03:40:00]MH_I2C_Read... [03:40:00]Read from MH i2c: E2 03 00 B3 0B 00 90 00 32 [03:40:00]RAPDU: 90 00 [03:40:00]wFMCommunicate OK [03:40:00]wFMCommunicate request_size=160 [03:40:00]MH_SAM_APDU [03:40:00]CAPDU: 80 0D 02 02 9B EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 10 00 00 00 00 07 04 06 00 A4 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 91 32 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 74 CD 00 00 35 04 06 00 F1 65 F3 69 84 49 [03:40:00]Write to MH i2c: E2 A3 00 B4 0B 80 0D 02 02 9B 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 10 00 00 00 00 07 04 06 00 A4 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 91 32 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 74 CD 00 00 35 04 06 00 F1 65 F3 69 84 49 00 00 68 [03:40:00]Write i2c OK [03:40:00]MH_I2C_Read... [03:40:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:40:01]Read from MH i2c: E2 [03:40:01]MH_I2C_Read... [03:40:01]Read from MH i2c: E2 03 00 [03:40:01]MH_I2C_Read... [03:40:01]Read from MH i2c: E2 03 00 B4 0B 00 90 00 33 [03:40:01]RAPDU: 90 00 [03:40:01]wFMCommunicate OK [03:40:01]wFMCommunicate request_size=4 [03:40:01]MH_SAM_APDU [03:40:01]CAPDU: 80 0D 03 02 [03:40:01]Write to MH i2c: E2 08 00 B5 0B 80 0D 03 02 00 00 00 00 3B [03:40:01]Write i2c OK [03:40:01]MH_I2C_Read... [03:40:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:40:01]Read from MH i2c: E2 [03:40:01]MH_I2C_Read... [03:40:01]Read from MH i2c: E2 0B 00 [03:40:01]MH_I2C_Read... [03:40:01]Read from MH i2c: E2 0B 00 B5 0B 00 EB 3A 42 61 CA 89 5D 79 90 00 2D [03:40:01]RAPDU: EB 3A 42 61 CA 89 5D 79 90 00 [03:40:01]wFMCommunicate OK [03:40:01]SAM_PROTO_SignData done [03:40:01]FM_MakeSignedData done [03:40:01]CreateOFDProtocolMessage [03:40:01]wFMCommunicate request_size=4 [03:40:01]MH_SAM_APDU [03:40:01]CAPDU: 80 11 00 00 [03:40:01]Write to MH i2c: E2 08 00 B6 0B 80 11 00 00 00 00 00 00 3B [03:40:01]Write i2c OK [03:40:01]MH_I2C_Read... [03:40:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:40:01]Read from MH i2c: E2 [03:40:01]MH_I2C_Read... [03:40:01]Read from MH i2c: E2 17 00 [03:40:01]MH_I2C_Read... [03:40:01]Read from MH i2c: E2 17 00 B6 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 8E [03:40:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [03:40:01]wFMCommunicate OK [03:40:01]CreateOFDProtocolMessage done [03:40:01]OFDSenderStorePacket 52596 [03:40:01]StoreOFDPacket docnum=52596 [03:40:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 A5 01 00 00 96 57 9D 01 FD FF 5A 03 01 00 03 00 91 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 7E 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 36 36 39 31 06 04 3A 00 D0 9F D0 B8 D0 B2 D0 BE 20 45 53 53 41 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 2C D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 36 2C 35 25 20 D1 81 D1 82 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 10 00 00 00 00 07 04 06 00 A4 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 91 32 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 74 CD 00 00 35 04 06 00 F1 65 F3 69 84 49 EB 3A 42 61 CA 89 5D 79 [03:40:01]CheckFolder [03:40:01]dirname=/storage/ofd_packets [03:40:01]CheckFolder done [03:40:01]ProducePacketName [03:40:01]name=ofd_packets/00052596 [03:40:01]NVStorageSaveData ofd_packets/00052596 [03:40:01]File name is /storage/ofd_packets/00052596 [03:40:01]Write 451 bytes [03:40:01]NVStorageSaveData done [03:40:01]OFDSenderStorePacket done [03:40:01]KKMCreateOFDPacket done [03:40:01]NVStorageSaveData kkm_last_timestamp [03:40:01]File name is /storage/kkm_last_timestamp [03:40:01]OFD Sender: Processing packet 52596 [packets to send 55, broken 54] [03:40:01]ProducePacketName [03:40:01]name=ofd_packets/00052596 [03:40:01]OFD Sender: To server: pG, [03:40:01]CommunicateWithHost lk.salyk.kg:30040 [03:40:01]ConnectInit lk.salyk.kg [03:40:01]Write 4 bytes [03:40:01]NVStorageSaveData done [03:40:01]ExternCall_PrintAddStr [03:40:01]wPrintStart [03:40:01]Write to MH i2c: 01 00 00 B7 0B C2 [03:40:01]Write i2c OK [03:40:01]MH_I2C_Read... [03:40:01]Read from MH i2c: 01 [03:40:01]MH_I2C_Read... [03:40:01]Read from MH i2c: 01 07 00 [03:40:01]MH_I2C_Read... [03:40:01]Read from MH i2c: 01 07 00 B7 0B 00 00 00 00 00 FF 0F D7 [03:40:01]RasterBufferAndPrint [03:40:01]line Счет N : (3)122727 [03:40:01]line ИНН: 02508201610067 [03:40:01]line Контрольно-Кассовый Чек [03:40:01]line ПРОДАЖА [03:40:01]line Товар: 5449000006271 [03:40:01]line Напиток Фанта 1л [03:40:01]line 1.000 * 125.00 [03:40:01]line = 125.00 [03:40:01]line НДС 12% НСП 1% [03:40:01]line > о реализуемом товаре [03:40:01]line Товар: 4600721026691 [03:40:01]line Пиво ESSA апельсин,вишня 6,5% ст 0,45л [03:40:01]line 2.000 * 138.00 [03:40:01]line = 276.00 [03:40:01]line НДС 12% НСП 1% [03:40:01]line > о реализуемом товаре [03:40:01]line ИТОГО: 401.00 [03:40:01]line НСП 1% : 3.55 [03:40:01]line НДС 12% : 42.58 [03:40:01]line Наличными: 401.00 [03:40:01]line Безнал.: 0.00 [03:40:01]line Место: АЗС № 54 "Партнер Нефть" [03:40:01]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [03:40:01]line СНО: Общий режим [03:40:01]line Чек 7 11.08.2024 03:40 [03:40:01]line Смена: 446 ФФД: 1.0 [03:40:01]line ЗНМ: 0300000007 [03:40:01]line РНМ: 0000000000090834 [03:40:01]line Версия ККМ: 001 [03:40:01]line ФМ: 0000000000874715 [03:40:01]line ФД: 52596 [03:40:01]line ФПД: 265420177769545 [03:40:01]line /tax-web-control/client/api/v1/ticket?date=20240811T034001&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52596&fm=265420177769545&tin=02508201610067®Number=0000000000090834&sum=40100 [03:40:01]line 0 [03:40:01]written 0, free lines is 4095 [03:40:01]Connected sock=10 [03:40:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 A5 01 00 00 96 57 9D 01 FD FF 5A 03 01 00 03 00 91 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 7E 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 36 36 39 31 06 04 3A 00 D0 9F D0 B8 D0 B2 D0 BE 20 45 53 53 41 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 2C D0 B2 D0 B8 D1 88 D0 BD D1 8F 20 36 2C 35 25 20 D1 81 D1 82 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A2 10 00 00 00 00 07 04 06 00 A4 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 91 32 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 74 CD 00 00 35 04 06 00 F1 65 F3 69 84 49 EB 3A 42 61 CA 89 5D 79 [03:40:01]Write to MH i2c: 01 00 00 E5 0B F0 [03:40:01]Write i2c OK [03:40:01]MH_I2C_Read... [03:40:01]Read from MH i2c: 01 [03:40:01]MH_I2C_Read... [03:40:01]Read from MH i2c: 01 07 00 [03:40:01]MH_I2C_Read... [03:40:01]Read from MH i2c: 01 07 00 E5 0B 00 00 00 00 00 66 0C 69 [03:40:01]RasterBufferAndPrint [03:40:01]line [03:40:01]line [03:40:01]line [03:40:01]line [03:40:01]line [03:40:01]written 0, free lines is 3180 [03:40:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 3C 80 47 00 9E AE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 74 CD 00 00 F4 03 04 00 2D DA B7 66 B6 04 01 00 00 A2 95 09 54 5E DD C2 3E [03:40:01]CommunicateWithHost err = 0 [03:40:01]CheckOFDResponse [03:40:01]1017 (14) - 77093643461234 [03:40:01]1041 (16) - 0000000000874715 [03:40:01]1040 (4) - 52596 [03:40:01]1012 (4) - 10.08.2024 21:22 [03:40:01]1206 (1) - 0 [03:40:01]OFD Sender: Remove packet 52596 [03:40:01]ProducePacketName [03:40:01]name=ofd_packets/00052596 [03:40:01]NVStorageDeleteData [03:40:01]MH_Cut [03:40:01]Write to MH i2c: D1 01 00 EC 0B 01 C9 [03:40:01]Write i2c OK [03:40:01]MH_I2C_Read... [03:40:01]Read from MH i2c: D1 [03:40:01]MH_I2C_Read... [03:40:01]Read from MH i2c: D1 01 00 [03:40:01]MH_I2C_Read... [03:40:01]Read from MH i2c: D1 01 00 EC 0B 00 C8 [03:40:01]Write to MH i2c: 01 00 00 ED 0B F8 [03:40:01]Write i2c OK [03:40:01]MH_I2C_Read... [03:40:02]OFD Sender: No OFD packet to send [03:40:02]*** Cut start [03:40:02]*** Purtial cut [03:40:02]*** Stage 1: CUTSNS_PIN = 1 [03:40:02]Read from MH i2c: 01 [03:40:02]MH_I2C_Read... [03:40:02]*** Stop cut motor [03:40:02]*** Cut end [03:40:02]Read from MH i2c: 01 07 00 [03:40:02]MH_I2C_Read... [03:40:02]Read from MH i2c: 01 07 00 ED 0B 00 00 00 00 00 FF 0F 0D [03:40:02]process_action close_receipt done [03:40:02]requested_data is exist [03:40:02]produce_requested_data [03:40:02]requested_item fm.sn is exist - process it [03:40:02]wFMCommunicate request_size=4 [03:40:02]MH_SAM_APDU [03:40:02]CAPDU: 80 11 00 00 [03:40:02]Write to MH i2c: E2 08 00 EE 0B 80 11 00 00 00 00 00 00 73 [03:40:02]Write i2c OK [03:40:02]MH_I2C_Read... [03:40:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:40:02]Read from MH i2c: E2 [03:40:02]MH_I2C_Read... [03:40:02]Read from MH i2c: E2 17 00 [03:40:02]MH_I2C_Read... [03:40:02]Read from MH i2c: E2 17 00 EE 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 C6 [03:40:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [03:40:02]wFMCommunicate OK [03:40:02]requested_item fd.num is exist - process it [03:40:02]SAM_PROTO_GetFieldsCounters [03:40:02]wFMCommunicate request_size=4 [03:40:02]MH_SAM_APDU [03:40:02]CAPDU: 80 13 00 00 [03:40:02]Write to MH i2c: E2 08 00 EF 0B 80 13 00 00 00 00 00 00 76 [03:40:02]Write i2c OK [03:40:02]MH_I2C_Read... [03:40:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:40:03]Read from MH i2c: E2 [03:40:03]MH_I2C_Read... [03:40:03]Read from MH i2c: E2 62 00 [03:40:03]MH_I2C_Read... [03:40:03]Read from MH i2c: E2 62 00 EF 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 74 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 AB [03:40:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 74 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:40:03]wFMCommunicate OK [03:40:03]SAM_PROTO_GetFieldsCounters done [03:40:03]requested_item shift.num is exist - process it [03:40:03]requested_item shift.opened is exist - process it [03:40:03]req_shift_opened [03:40:03]FM_GetShiftState [03:40:03]SAM_PROTO_GetShiftState [03:40:03]wFMCommunicate request_size=4 [03:40:03]MH_SAM_APDU [03:40:03]CAPDU: 80 13 01 00 [03:40:03]Write to MH i2c: E2 08 00 F0 0B 80 13 01 00 00 00 00 00 78 [03:40:03]Write i2c OK [03:40:03]MH_I2C_Read... [03:40:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:40:03]Read from MH i2c: E2 [03:40:03]MH_I2C_Read... [03:40:03]Read from MH i2c: E2 0E 00 [03:40:03]MH_I2C_Read... [03:40:03]Read from MH i2c: E2 0E 00 F0 0B 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 A1 [03:40:03]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [03:40:03]wFMCommunicate OK [03:40:03]SAM_PROTO_GetShiftState done [03:40:03]FM_GetShiftState done [03:40:03]req_shift_opened done [03:40:03]requested_item shift.open_date is exist - process it [03:40:03]req_shift_open_date [03:40:03]req_shift_open_date done [03:40:03]produce_requested_data done [03:40:03]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52596,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [03:40:03]process_action_free close_receipt [03:40:03]json_value_free [03:40:03]json_value_free done [03:40:03]process_json_proto returns [03:40:03]Send response to host [03:40:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52596,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [03:40:03]free response buf [03:40:03]execute_script done [03:40:03]execute_script returns [03:40:03]free content buf [03:40:03]Sock 9.Close socket [03:40:03]Sock 9.Thread stoped [03:40:07]OFD Sender: No OFD packet to send [03:40:12]OFD Sender: No OFD packet to send [03:40:17]OFD Sender: No OFD packet to send [03:40:22]OFD Sender: No OFD packet to send [03:40:27]OFD Sender: No OFD packet to send [03:40:32]OFD Sender: No OFD packet to send [03:40:37]OFD Sender: No OFD packet to send [03:40:42]OFD Sender: No OFD packet to send [03:40:47]OFD Sender: No OFD packet to send [03:40:52]OFD Sender: No OFD packet to send [03:40:57]OFD Sender: No OFD packet to send [03:41:02]OFD Sender: No OFD packet to send [03:41:07]OFD Sender: No OFD packet to send [03:41:12]OFD Sender: No OFD packet to send [03:41:17]OFD Sender: No OFD packet to send [03:41:22]OFD Sender: No OFD packet to send [03:41:27]OFD Sender: No OFD packet to send [03:41:32]OFD Sender: No OFD packet to send [03:41:37]OFD Sender: No OFD packet to send [03:41:42]OFD Sender: No OFD packet to send [03:41:47]OFD Sender: No OFD packet to send [03:41:52]OFD Sender: No OFD packet to send [03:41:57]OFD Sender: No OFD packet to send [03:42:02]OFD Sender: No OFD packet to send [03:42:07]OFD Sender: No OFD packet to send [03:42:12]OFD Sender: No OFD packet to send [03:42:17]OFD Sender: No OFD packet to send [03:42:22]OFD Sender: No OFD packet to send [03:42:27]OFD Sender: No OFD packet to send [03:42:32]OFD Sender: No OFD packet to send [03:42:37]OFD Sender: No OFD packet to send [03:42:42]OFD Sender: No OFD packet to send [03:42:47]OFD Sender: No OFD packet to send [03:42:52]OFD Sender: No OFD packet to send [03:42:57]OFD Sender: No OFD packet to send [03:43:02]OFD Sender: No OFD packet to send [03:43:07]OFD Sender: No OFD packet to send [03:43:12]OFD Sender: No OFD packet to send [03:43:17]OFD Sender: No OFD packet to send [03:43:22]OFD Sender: No OFD packet to send [03:43:27]OFD Sender: No OFD packet to send [03:43:32]OFD Sender: No OFD packet to send [03:43:37]OFD Sender: No OFD packet to send [03:43:42]OFD Sender: No OFD packet to send [03:43:47]OFD Sender: No OFD packet to send [03:43:52]OFD Sender: No OFD packet to send [03:43:57]OFD Sender: No OFD packet to send [03:44:02]OFD Sender: No OFD packet to send [03:44:07]OFD Sender: No OFD packet to send [03:44:12]OFD Sender: No OFD packet to send [03:44:17]OFD Sender: No OFD packet to send [03:44:22]OFD Sender: No OFD packet to send [03:44:27]OFD Sender: No OFD packet to send [03:44:32]OFD Sender: No OFD packet to send [03:44:37]OFD Sender: No OFD packet to send [03:44:42]OFD Sender: No OFD packet to send [03:44:47]OFD Sender: No OFD packet to send [03:44:52]OFD Sender: No OFD packet to send [03:44:57]OFD Sender: No OFD packet to send [03:45:02]OFD Sender: No OFD packet to send [03:45:07]OFD Sender: No OFD packet to send [03:45:12]OFD Sender: No OFD packet to send [03:45:17]OFD Sender: No OFD packet to send [03:45:22]OFD Sender: No OFD packet to send [03:45:27]OFD Sender: No OFD packet to send [03:45:32]OFD Sender: No OFD packet to send [03:45:37]OFD Sender: No OFD packet to send [03:45:42]OFD Sender: No OFD packet to send [03:45:47]OFD Sender: No OFD packet to send [03:45:52]OFD Sender: No OFD packet to send [03:45:57]OFD Sender: No OFD packet to send [03:46:02]OFD Sender: No OFD packet to send [03:46:07]OFD Sender: No OFD packet to send [03:46:12]OFD Sender: No OFD packet to send [03:46:17]OFD Sender: No OFD packet to send [03:46:22]OFD Sender: No OFD packet to send [03:46:27]OFD Sender: No OFD packet to send [03:46:32]OFD Sender: No OFD packet to send [03:46:37]OFD Sender: No OFD packet to send [03:46:42]OFD Sender: No OFD packet to send [03:46:47]OFD Sender: No OFD packet to send [03:46:52]OFD Sender: No OFD packet to send [03:46:57]OFD Sender: No OFD packet to send [03:47:02]OFD Sender: No OFD packet to send [03:47:07]OFD Sender: No OFD packet to send [03:47:12]OFD Sender: No OFD packet to send [03:47:17]OFD Sender: No OFD packet to send [03:47:22]OFD Sender: No OFD packet to send [03:47:27]OFD Sender: No OFD packet to send [03:47:32]OFD Sender: No OFD packet to send [03:47:37]OFD Sender: No OFD packet to send [03:47:42]OFD Sender: No OFD packet to send [03:47:47]OFD Sender: No OFD packet to send [03:47:52]OFD Sender: No OFD packet to send [03:47:57]OFD Sender: No OFD packet to send [03:48:02]OFD Sender: No OFD packet to send [03:48:07]OFD Sender: No OFD packet to send [03:48:12]OFD Sender: No OFD packet to send [03:48:17]OFD Sender: No OFD packet to send [03:48:22]OFD Sender: No OFD packet to send [03:48:27]OFD Sender: No OFD packet to send [03:48:32]OFD Sender: No OFD packet to send [03:48:37]OFD Sender: No OFD packet to send [03:48:42]OFD Sender: No OFD packet to send [03:48:47]OFD Sender: No OFD packet to send [03:48:52]OFD Sender: No OFD packet to send [03:48:57]OFD Sender: No OFD packet to send [03:49:02]OFD Sender: No OFD packet to send [03:49:07]OFD Sender: No OFD packet to send [03:49:12]OFD Sender: No OFD packet to send [03:49:17]OFD Sender: No OFD packet to send [03:49:22]OFD Sender: No OFD packet to send [03:49:27]OFD Sender: No OFD packet to send [03:49:32]OFD Sender: No OFD packet to send [03:49:37]OFD Sender: No OFD packet to send [03:49:42]OFD Sender: No OFD packet to send [03:49:47]OFD Sender: No OFD packet to send [03:49:52]OFD Sender: No OFD packet to send [03:49:57]OFD Sender: No OFD packet to send [03:50:02]OFD Sender: No OFD packet to send [03:50:07]OFD Sender: No OFD packet to send [03:50:12]OFD Sender: No OFD packet to send [03:50:17]OFD Sender: No OFD packet to send [03:50:22]OFD Sender: No OFD packet to send [03:50:27]OFD Sender: No OFD packet to send [03:50:32]OFD Sender: No OFD packet to send [03:50:37]OFD Sender: No OFD packet to send [03:50:42]OFD Sender: No OFD packet to send [03:50:47]OFD Sender: No OFD packet to send [03:50:52]OFD Sender: No OFD packet to send [03:50:57]OFD Sender: No OFD packet to send [03:51:02]OFD Sender: No OFD packet to send [03:51:07]OFD Sender: No OFD packet to send [03:51:12]OFD Sender: No OFD packet to send [03:51:17]OFD Sender: No OFD packet to send [03:51:22]OFD Sender: No OFD packet to send [03:51:27]OFD Sender: No OFD packet to send [03:51:32]OFD Sender: No OFD packet to send [03:51:37]OFD Sender: No OFD packet to send [03:51:42]OFD Sender: No OFD packet to send [03:51:47]OFD Sender: No OFD packet to send [03:51:52]OFD Sender: No OFD packet to send [03:51:57]OFD Sender: No OFD packet to send [03:52:02]OFD Sender: No OFD packet to send [03:52:07]OFD Sender: No OFD packet to send [03:52:12]OFD Sender: No OFD packet to send [03:52:17]OFD Sender: No OFD packet to send [03:52:22]OFD Sender: No OFD packet to send [03:52:27]OFD Sender: No OFD packet to send [03:52:32]OFD Sender: No OFD packet to send [03:52:37]OFD Sender: No OFD packet to send [03:52:42]OFD Sender: No OFD packet to send [03:52:47]OFD Sender: No OFD packet to send [03:52:52]OFD Sender: No OFD packet to send [03:52:57]OFD Sender: No OFD packet to send [03:53:02]OFD Sender: No OFD packet to send [03:53:07]OFD Sender: No OFD packet to send [03:53:12]OFD Sender: No OFD packet to send [03:53:17]OFD Sender: No OFD packet to send [03:53:22]OFD Sender: No OFD packet to send [03:53:27]OFD Sender: No OFD packet to send [03:53:32]OFD Sender: No OFD packet to send [03:53:37]OFD Sender: No OFD packet to send [03:53:42]OFD Sender: No OFD packet to send [03:53:47]OFD Sender: No OFD packet to send [03:53:52]OFD Sender: No OFD packet to send [03:53:57]OFD Sender: No OFD packet to send [03:54:02]OFD Sender: No OFD packet to send [03:54:07]OFD Sender: No OFD packet to send [03:54:12]OFD Sender: No OFD packet to send [03:54:17]OFD Sender: No OFD packet to send [03:54:22]OFD Sender: No OFD packet to send [03:54:27]OFD Sender: No OFD packet to send [03:54:32]OFD Sender: No OFD packet to send [03:54:37]OFD Sender: No OFD packet to send [03:54:42]OFD Sender: No OFD packet to send [03:54:47]OFD Sender: No OFD packet to send [03:54:53]OFD Sender: No OFD packet to send [03:54:58]OFD Sender: No OFD packet to send [03:55:03]OFD Sender: No OFD packet to send [03:55:08]OFD Sender: No OFD packet to send [03:55:13]OFD Sender: No OFD packet to send [03:55:18]OFD Sender: No OFD packet to send [03:55:23]OFD Sender: No OFD packet to send [03:55:28]OFD Sender: No OFD packet to send [03:55:33]OFD Sender: No OFD packet to send [03:55:38]OFD Sender: No OFD packet to send [03:55:43]OFD Sender: No OFD packet to send [03:55:48]OFD Sender: No OFD packet to send [03:55:53]OFD Sender: No OFD packet to send [03:55:58]OFD Sender: No OFD packet to send [03:56:03]OFD Sender: No OFD packet to send [03:56:08]OFD Sender: No OFD packet to send [03:56:13]OFD Sender: No OFD packet to send [03:56:18]OFD Sender: No OFD packet to send [03:56:23]OFD Sender: No OFD packet to send [03:56:28]OFD Sender: No OFD packet to send [03:56:33]OFD Sender: No OFD packet to send [03:56:38]OFD Sender: No OFD packet to send [03:56:43]OFD Sender: No OFD packet to send [03:56:48]OFD Sender: No OFD packet to send [03:56:53]OFD Sender: No OFD packet to send [03:56:58]OFD Sender: No OFD packet to send [03:57:03]OFD Sender: No OFD packet to send [03:57:08]OFD Sender: No OFD packet to send [03:57:13]OFD Sender: No OFD packet to send [03:57:18]OFD Sender: No OFD packet to send [03:57:23]OFD Sender: No OFD packet to send [03:57:28]OFD Sender: No OFD packet to send [03:57:33]OFD Sender: No OFD packet to send [03:57:38]OFD Sender: No OFD packet to send [03:57:43]OFD Sender: No OFD packet to send [03:57:48]OFD Sender: No OFD packet to send [03:57:53]OFD Sender: No OFD packet to send [03:57:58]OFD Sender: No OFD packet to send [03:58:03]OFD Sender: No OFD packet to send [03:58:08]OFD Sender: No OFD packet to send [03:58:13]OFD Sender: No OFD packet to send [03:58:18]OFD Sender: No OFD packet to send [03:58:23]OFD Sender: No OFD packet to send [03:58:28]OFD Sender: No OFD packet to send [03:58:33]OFD Sender: No OFD packet to send [03:58:38]OFD Sender: No OFD packet to send [03:58:43]OFD Sender: No OFD packet to send [03:58:48]OFD Sender: No OFD packet to send [03:58:53]OFD Sender: No OFD packet to send [03:58:58]OFD Sender: No OFD packet to send [03:59:03]OFD Sender: No OFD packet to send [03:59:08]OFD Sender: No OFD packet to send [03:59:13]OFD Sender: No OFD packet to send [03:59:18]OFD Sender: No OFD packet to send [03:59:23]OFD Sender: No OFD packet to send [03:59:28]OFD Sender: No OFD packet to send [03:59:33]OFD Sender: No OFD packet to send [03:59:38]OFD Sender: No OFD packet to send [03:59:43]OFD Sender: No OFD packet to send [03:59:48]OFD Sender: No OFD packet to send [03:59:53]OFD Sender: No OFD packet to send [03:59:58]OFD Sender: No OFD packet to send [04:00:03]OFD Sender: No OFD packet to send [04:00:08]OFD Sender: No OFD packet to send [04:00:13]OFD Sender: No OFD packet to send [04:00:18]OFD Sender: No OFD packet to send [04:00:23]OFD Sender: No OFD packet to send [04:00:28]OFD Sender: No OFD packet to send [04:00:33]OFD Sender: No OFD packet to send [04:00:38]OFD Sender: No OFD packet to send [04:00:43]OFD Sender: No OFD packet to send [04:00:48]OFD Sender: No OFD packet to send [04:00:53]OFD Sender: No OFD packet to send [04:00:58]OFD Sender: No OFD packet to send [04:01:03]OFD Sender: No OFD packet to send [04:01:08]OFD Sender: No OFD packet to send [04:01:13]OFD Sender: No OFD packet to send [04:01:18]OFD Sender: No OFD packet to send [04:01:23]OFD Sender: No OFD packet to send [04:01:28]OFD Sender: No OFD packet to send [04:01:33]OFD Sender: No OFD packet to send [04:01:38]OFD Sender: No OFD packet to send [04:01:43]OFD Sender: No OFD packet to send [04:01:48]OFD Sender: No OFD packet to send [04:01:53]OFD Sender: No OFD packet to send [04:01:58]OFD Sender: No OFD packet to send [04:02:03]OFD Sender: No OFD packet to send [04:02:08]OFD Sender: No OFD packet to send [04:02:13]OFD Sender: No OFD packet to send [04:02:18]OFD Sender: No OFD packet to send [04:02:23]OFD Sender: No OFD packet to send [04:02:28]OFD Sender: No OFD packet to send [04:02:33]OFD Sender: No OFD packet to send [04:02:38]OFD Sender: No OFD packet to send [04:02:43]OFD Sender: No OFD packet to send [04:02:48]OFD Sender: No OFD packet to send [04:02:53]OFD Sender: No OFD packet to send [04:02:58]OFD Sender: No OFD packet to send [04:03:03]OFD Sender: No OFD packet to send [04:03:08]OFD Sender: No OFD packet to send [04:03:13]OFD Sender: No OFD packet to send [04:03:18]OFD Sender: No OFD packet to send [04:03:23]OFD Sender: No OFD packet to send [04:03:28]OFD Sender: No OFD packet to send [04:03:33]OFD Sender: No OFD packet to send [04:03:38]OFD Sender: No OFD packet to send [04:03:43]OFD Sender: No OFD packet to send [04:03:48]OFD Sender: No OFD packet to send [04:03:53]OFD Sender: No OFD packet to send [04:03:58]OFD Sender: No OFD packet to send [04:04:03]OFD Sender: No OFD packet to send [04:04:08]OFD Sender: No OFD packet to send [04:04:13]OFD Sender: No OFD packet to send [04:04:18]OFD Sender: No OFD packet to send [04:04:23]OFD Sender: No OFD packet to send [04:04:28]OFD Sender: No OFD packet to send [04:04:33]OFD Sender: No OFD packet to send [04:04:38]OFD Sender: No OFD packet to send [04:04:43]OFD Sender: No OFD packet to send [04:04:48]OFD Sender: No OFD packet to send [04:04:53]OFD Sender: No OFD packet to send [04:04:58]OFD Sender: No OFD packet to send [04:05:03]OFD Sender: No OFD packet to send [04:05:08]OFD Sender: No OFD packet to send [04:05:13]OFD Sender: No OFD packet to send [04:05:18]OFD Sender: No OFD packet to send [04:05:23]OFD Sender: No OFD packet to send [04:05:28]OFD Sender: No OFD packet to send [04:05:33]OFD Sender: No OFD packet to send [04:05:38]OFD Sender: No OFD packet to send [04:05:43]OFD Sender: No OFD packet to send [04:05:48]OFD Sender: No OFD packet to send [04:05:53]OFD Sender: No OFD packet to send [04:05:58]OFD Sender: No OFD packet to send [04:06:03]OFD Sender: No OFD packet to send [04:06:08]OFD Sender: No OFD packet to send [04:06:13]OFD Sender: No OFD packet to send [04:06:18]OFD Sender: No OFD packet to send [04:06:23]OFD Sender: No OFD packet to send [04:06:28]OFD Sender: No OFD packet to send [04:06:33]OFD Sender: No OFD packet to send [04:06:38]OFD Sender: No OFD packet to send [04:06:43]OFD Sender: No OFD packet to send [04:06:48]OFD Sender: No OFD packet to send [04:06:53]OFD Sender: No OFD packet to send [04:06:58]OFD Sender: No OFD packet to send [04:07:03]OFD Sender: No OFD packet to send [04:07:08]OFD Sender: No OFD packet to send [04:07:13]OFD Sender: No OFD packet to send [04:07:18]OFD Sender: No OFD packet to send [04:07:23]OFD Sender: No OFD packet to send [04:07:28]OFD Sender: No OFD packet to send [04:07:33]OFD Sender: No OFD packet to send [04:07:38]OFD Sender: No OFD packet to send [04:07:43]OFD Sender: No OFD packet to send [04:07:48]OFD Sender: No OFD packet to send [04:07:53]OFD Sender: No OFD packet to send [04:07:58]OFD Sender: No OFD packet to send [04:08:03]OFD Sender: No OFD packet to send [04:08:08]OFD Sender: No OFD packet to send [04:08:13]OFD Sender: No OFD packet to send [04:08:18]OFD Sender: No OFD packet to send [04:08:23]OFD Sender: No OFD packet to send [04:08:28]OFD Sender: No OFD packet to send [04:08:33]OFD Sender: No OFD packet to send [04:08:38]OFD Sender: No OFD packet to send [04:08:43]OFD Sender: No OFD packet to send [04:08:48]OFD Sender: No OFD packet to send [04:08:53]OFD Sender: No OFD packet to send [04:08:58]OFD Sender: No OFD packet to send [04:09:03]OFD Sender: No OFD packet to send [04:09:08]OFD Sender: No OFD packet to send [04:09:13]OFD Sender: No OFD packet to send [04:09:18]OFD Sender: No OFD packet to send [04:09:23]OFD Sender: No OFD packet to send [04:09:28]OFD Sender: No OFD packet to send [04:09:33]OFD Sender: No OFD packet to send [04:09:38]OFD Sender: No OFD packet to send [04:09:43]OFD Sender: No OFD packet to send [04:09:48]OFD Sender: No OFD packet to send [04:09:53]OFD Sender: No OFD packet to send [04:09:58]OFD Sender: No OFD packet to send [04:10:03]OFD Sender: No OFD packet to send [04:10:08]OFD Sender: No OFD packet to send [04:10:13]OFD Sender: No OFD packet to send [04:10:18]OFD Sender: No OFD packet to send [04:10:23]OFD Sender: No OFD packet to send [04:10:28]OFD Sender: No OFD packet to send [04:10:33]OFD Sender: No OFD packet to send [04:10:38]OFD Sender: No OFD packet to send [04:10:43]OFD Sender: No OFD packet to send [04:10:48]OFD Sender: No OFD packet to send [04:10:53]OFD Sender: No OFD packet to send [04:10:58]OFD Sender: No OFD packet to send [04:11:03]OFD Sender: No OFD packet to send [04:11:08]OFD Sender: No OFD packet to send [04:11:13]OFD Sender: No OFD packet to send [04:11:18]OFD Sender: No OFD packet to send [04:11:23]OFD Sender: No OFD packet to send [04:11:28]OFD Sender: No OFD packet to send [04:11:33]OFD Sender: No OFD packet to send [04:11:38]OFD Sender: No OFD packet to send [04:11:43]OFD Sender: No OFD packet to send [04:11:48]OFD Sender: No OFD packet to send [04:11:53]OFD Sender: No OFD packet to send [04:11:58]OFD Sender: No OFD packet to send [04:12:03]OFD Sender: No OFD packet to send [04:12:08]OFD Sender: No OFD packet to send [04:12:13]OFD Sender: No OFD packet to send [04:12:18]OFD Sender: No OFD packet to send [04:12:23]OFD Sender: No OFD packet to send [04:12:28]OFD Sender: No OFD packet to send [04:12:33]OFD Sender: No OFD packet to send [04:12:38]OFD Sender: No OFD packet to send [04:12:43]OFD Sender: No OFD packet to send [04:12:49]OFD Sender: No OFD packet to send [04:12:54]OFD Sender: No OFD packet to send [04:12:59]OFD Sender: No OFD packet to send [04:13:04]OFD Sender: No OFD packet to send [04:13:09]OFD Sender: No OFD packet to send [04:13:14]OFD Sender: No OFD packet to send [04:13:19]OFD Sender: No OFD packet to send [04:13:24]OFD Sender: No OFD packet to send [04:13:29]OFD Sender: No OFD packet to send [04:13:34]OFD Sender: No OFD packet to send [04:13:39]OFD Sender: No OFD packet to send [04:13:44]OFD Sender: No OFD packet to send [04:13:49]OFD Sender: No OFD packet to send [04:13:54]OFD Sender: No OFD packet to send [04:13:59]OFD Sender: No OFD packet to send [04:14:04]OFD Sender: No OFD packet to send [04:14:09]OFD Sender: No OFD packet to send [04:14:14]OFD Sender: No OFD packet to send [04:14:19]OFD Sender: No OFD packet to send [04:14:24]OFD Sender: No OFD packet to send [04:14:29]OFD Sender: No OFD packet to send [04:14:34]OFD Sender: No OFD packet to send [04:14:39]OFD Sender: No OFD packet to send [04:14:44]OFD Sender: No OFD packet to send [04:14:49]OFD Sender: No OFD packet to send [04:14:54]OFD Sender: No OFD packet to send [04:14:59]OFD Sender: No OFD packet to send [04:15:04]OFD Sender: No OFD packet to send [04:15:09]OFD Sender: No OFD packet to send [04:15:14]OFD Sender: No OFD packet to send [04:15:19]OFD Sender: No OFD packet to send [04:15:24]OFD Sender: No OFD packet to send [04:15:29]OFD Sender: No OFD packet to send [04:15:34]OFD Sender: No OFD packet to send [04:15:39]OFD Sender: No OFD packet to send [04:15:44]OFD Sender: No OFD packet to send [04:15:49]OFD Sender: No OFD packet to send [04:15:54]OFD Sender: No OFD packet to send [04:15:59]OFD Sender: No OFD packet to send [04:16:04]OFD Sender: No OFD packet to send [04:16:09]OFD Sender: No OFD packet to send [04:16:14]OFD Sender: No OFD packet to send [04:16:19]OFD Sender: No OFD packet to send [04:16:24]OFD Sender: No OFD packet to send [04:16:29]OFD Sender: No OFD packet to send [04:16:34]OFD Sender: No OFD packet to send [04:16:39]OFD Sender: No OFD packet to send [04:16:44]OFD Sender: No OFD packet to send [04:16:49]OFD Sender: No OFD packet to send [04:16:54]OFD Sender: No OFD packet to send [04:16:59]OFD Sender: No OFD packet to send [04:17:04]OFD Sender: No OFD packet to send [04:17:09]OFD Sender: No OFD packet to send [04:17:14]OFD Sender: No OFD packet to send [04:17:19]OFD Sender: No OFD packet to send [04:17:24]OFD Sender: No OFD packet to send [04:17:29]OFD Sender: No OFD packet to send [04:17:34]OFD Sender: No OFD packet to send [04:17:39]OFD Sender: No OFD packet to send [04:17:44]OFD Sender: No OFD packet to send [04:17:49]OFD Sender: No OFD packet to send [04:17:54]OFD Sender: No OFD packet to send [04:17:59]OFD Sender: No OFD packet to send [04:18:04]OFD Sender: No OFD packet to send [04:18:09]OFD Sender: No OFD packet to send [04:18:14]OFD Sender: No OFD packet to send [04:18:19]OFD Sender: No OFD packet to send [04:18:24]OFD Sender: No OFD packet to send [04:18:29]OFD Sender: No OFD packet to send [04:18:34]OFD Sender: No OFD packet to send [04:18:39]OFD Sender: No OFD packet to send [04:18:44]OFD Sender: No OFD packet to send [04:18:49]OFD Sender: No OFD packet to send [04:18:54]OFD Sender: No OFD packet to send [04:18:59]OFD Sender: No OFD packet to send [04:19:04]OFD Sender: No OFD packet to send [04:19:09]OFD Sender: No OFD packet to send [04:19:14]OFD Sender: No OFD packet to send [04:19:19]OFD Sender: No OFD packet to send [04:19:24]OFD Sender: No OFD packet to send [04:19:29]OFD Sender: No OFD packet to send [04:19:34]OFD Sender: No OFD packet to send [04:19:39]OFD Sender: No OFD packet to send [04:19:44]OFD Sender: No OFD packet to send [04:19:49]OFD Sender: No OFD packet to send [04:19:54]OFD Sender: No OFD packet to send [04:19:59]OFD Sender: No OFD packet to send [04:20:04]OFD Sender: No OFD packet to send [04:20:09]OFD Sender: No OFD packet to send [04:20:14]OFD Sender: No OFD packet to send [04:20:19]OFD Sender: No OFD packet to send [04:20:24]OFD Sender: No OFD packet to send [04:20:29]OFD Sender: No OFD packet to send [04:20:34]OFD Sender: No OFD packet to send [04:20:39]OFD Sender: No OFD packet to send [04:20:44]OFD Sender: No OFD packet to send [04:20:49]OFD Sender: No OFD packet to send [04:20:54]OFD Sender: No OFD packet to send [04:20:59]OFD Sender: No OFD packet to send [04:21:04]OFD Sender: No OFD packet to send [04:21:09]OFD Sender: No OFD packet to send [04:21:14]OFD Sender: No OFD packet to send [04:21:19]OFD Sender: No OFD packet to send [04:21:24]OFD Sender: No OFD packet to send [04:21:29]OFD Sender: No OFD packet to send [04:21:34]OFD Sender: No OFD packet to send [04:21:39]OFD Sender: No OFD packet to send [04:21:44]OFD Sender: No OFD packet to send [04:21:49]OFD Sender: No OFD packet to send [04:21:54]OFD Sender: No OFD packet to send [04:21:59]OFD Sender: No OFD packet to send [04:22:04]OFD Sender: No OFD packet to send [04:22:09]OFD Sender: No OFD packet to send [04:22:14]OFD Sender: No OFD packet to send [04:22:19]OFD Sender: No OFD packet to send [04:22:24]OFD Sender: No OFD packet to send [04:22:29]OFD Sender: No OFD packet to send [04:22:34]OFD Sender: No OFD packet to send [04:22:39]OFD Sender: No OFD packet to send [04:22:44]OFD Sender: No OFD packet to send [04:22:49]OFD Sender: No OFD packet to send [04:22:54]OFD Sender: No OFD packet to send [04:22:59]OFD Sender: No OFD packet to send [04:23:04]OFD Sender: No OFD packet to send [04:23:09]OFD Sender: No OFD packet to send [04:23:14]OFD Sender: No OFD packet to send [04:23:19]OFD Sender: No OFD packet to send [04:23:24]OFD Sender: No OFD packet to send [04:23:29]OFD Sender: No OFD packet to send [04:23:34]OFD Sender: No OFD packet to send [04:23:39]OFD Sender: No OFD packet to send [04:23:44]OFD Sender: No OFD packet to send [04:23:49]OFD Sender: No OFD packet to send [04:23:54]OFD Sender: No OFD packet to send [04:23:59]OFD Sender: No OFD packet to send [04:24:04]OFD Sender: No OFD packet to send [04:24:09]OFD Sender: No OFD packet to send [04:24:14]OFD Sender: No OFD packet to send [04:24:19]OFD Sender: No OFD packet to send [04:24:24]OFD Sender: No OFD packet to send [04:24:29]OFD Sender: No OFD packet to send [04:24:34]OFD Sender: No OFD packet to send [04:24:39]OFD Sender: No OFD packet to send [04:24:44]OFD Sender: No OFD packet to send [04:24:49]OFD Sender: No OFD packet to send [04:24:54]OFD Sender: No OFD packet to send [04:24:59]OFD Sender: No OFD packet to send [04:25:04]OFD Sender: No OFD packet to send [04:25:09]OFD Sender: No OFD packet to send [04:25:14]OFD Sender: No OFD packet to send [04:25:19]OFD Sender: No OFD packet to send [04:25:24]OFD Sender: No OFD packet to send [04:25:29]OFD Sender: No OFD packet to send [04:25:34]OFD Sender: No OFD packet to send [04:25:39]OFD Sender: No OFD packet to send [04:25:44]OFD Sender: No OFD packet to send [04:25:49]OFD Sender: No OFD packet to send [04:25:54]OFD Sender: No OFD packet to send [04:25:59]OFD Sender: No OFD packet to send [04:26:04]OFD Sender: No OFD packet to send [04:26:09]OFD Sender: No OFD packet to send [04:26:14]OFD Sender: No OFD packet to send [04:26:19]OFD Sender: No OFD packet to send [04:26:24]OFD Sender: No OFD packet to send [04:26:29]OFD Sender: No OFD packet to send [04:26:34]OFD Sender: No OFD packet to send [04:26:39]OFD Sender: No OFD packet to send [04:26:44]OFD Sender: No OFD packet to send [04:26:49]OFD Sender: No OFD packet to send [04:26:54]OFD Sender: No OFD packet to send [04:26:59]OFD Sender: No OFD packet to send [04:27:04]OFD Sender: No OFD packet to send [04:27:09]OFD Sender: No OFD packet to send [04:27:14]OFD Sender: No OFD packet to send [04:27:19]OFD Sender: No OFD packet to send [04:27:24]OFD Sender: No OFD packet to send [04:27:29]OFD Sender: No OFD packet to send [04:27:34]OFD Sender: No OFD packet to send [04:27:39]OFD Sender: No OFD packet to send [04:27:44]OFD Sender: No OFD packet to send [04:27:49]OFD Sender: No OFD packet to send [04:27:54]OFD Sender: No OFD packet to send [04:27:59]OFD Sender: No OFD packet to send [04:28:04]OFD Sender: No OFD packet to send [04:28:09]OFD Sender: No OFD packet to send [04:28:14]OFD Sender: No OFD packet to send [04:28:19]OFD Sender: No OFD packet to send [04:28:24]OFD Sender: No OFD packet to send [04:28:29]OFD Sender: No OFD packet to send [04:28:34]OFD Sender: No OFD packet to send [04:28:39]OFD Sender: No OFD packet to send [04:28:44]OFD Sender: No OFD packet to send [04:28:49]OFD Sender: No OFD packet to send [04:28:54]OFD Sender: No OFD packet to send [04:28:59]OFD Sender: No OFD packet to send [04:29:04]OFD Sender: No OFD packet to send [04:29:09]OFD Sender: No OFD packet to send [04:29:14]OFD Sender: No OFD packet to send [04:29:19]OFD Sender: No OFD packet to send [04:29:24]OFD Sender: No OFD packet to send [04:29:29]OFD Sender: No OFD packet to send [04:29:34]OFD Sender: No OFD packet to send [04:29:39]OFD Sender: No OFD packet to send [04:29:44]OFD Sender: No OFD packet to send [04:29:49]OFD Sender: No OFD packet to send [04:29:54]OFD Sender: No OFD packet to send [04:29:59]OFD Sender: No OFD packet to send [04:30:04]OFD Sender: No OFD packet to send [04:30:09]OFD Sender: No OFD packet to send [04:30:14]OFD Sender: No OFD packet to send [04:30:19]OFD Sender: No OFD packet to send [04:30:24]OFD Sender: No OFD packet to send [04:30:29]OFD Sender: No OFD packet to send [04:30:34]OFD Sender: No OFD packet to send [04:30:39]OFD Sender: No OFD packet to send [04:30:45]OFD Sender: No OFD packet to send [04:30:50]OFD Sender: No OFD packet to send [04:30:55]OFD Sender: No OFD packet to send [04:31:00]OFD Sender: No OFD packet to send [04:31:05]OFD Sender: No OFD packet to send [04:31:10]OFD Sender: No OFD packet to send [04:31:15]OFD Sender: No OFD packet to send [04:31:20]OFD Sender: No OFD packet to send [04:31:25]OFD Sender: No OFD packet to send [04:31:30]OFD Sender: No OFD packet to send [04:31:35]OFD Sender: No OFD packet to send [04:31:40]OFD Sender: No OFD packet to send [04:31:45]OFD Sender: No OFD packet to send [04:31:50]OFD Sender: No OFD packet to send [04:31:55]OFD Sender: No OFD packet to send [04:32:00]OFD Sender: No OFD packet to send [04:32:05]OFD Sender: No OFD packet to send [04:32:10]OFD Sender: No OFD packet to send [04:32:15]OFD Sender: No OFD packet to send [04:32:20]OFD Sender: No OFD packet to send [04:32:25]OFD Sender: No OFD packet to send [04:32:30]OFD Sender: No OFD packet to send [04:32:35]OFD Sender: No OFD packet to send [04:32:40]OFD Sender: No OFD packet to send [04:32:45]OFD Sender: No OFD packet to send [04:32:50]OFD Sender: No OFD packet to send [04:32:55]OFD Sender: No OFD packet to send [04:33:00]OFD Sender: No OFD packet to send [04:33:05]OFD Sender: No OFD packet to send [04:33:10]OFD Sender: No OFD packet to send [04:33:15]OFD Sender: No OFD packet to send [04:33:20]OFD Sender: No OFD packet to send [04:33:25]OFD Sender: No OFD packet to send [04:33:30]OFD Sender: No OFD packet to send [04:33:35]OFD Sender: No OFD packet to send [04:33:40]OFD Sender: No OFD packet to send [04:33:45]OFD Sender: No OFD packet to send [04:33:50]OFD Sender: No OFD packet to send [04:33:55]OFD Sender: No OFD packet to send [04:34:00]OFD Sender: No OFD packet to send [04:34:05]OFD Sender: No OFD packet to send [04:34:10]OFD Sender: No OFD packet to send [04:34:15]OFD Sender: No OFD packet to send [04:34:20]OFD Sender: No OFD packet to send [04:34:25]OFD Sender: No OFD packet to send [04:34:30]OFD Sender: No OFD packet to send [04:34:35]OFD Sender: No OFD packet to send [04:34:40]OFD Sender: No OFD packet to send [04:34:45]OFD Sender: No OFD packet to send [04:34:50]OFD Sender: No OFD packet to send [04:34:55]OFD Sender: No OFD packet to send [04:35:00]OFD Sender: No OFD packet to send [04:35:05]OFD Sender: No OFD packet to send [04:35:10]OFD Sender: No OFD packet to send [04:35:15]OFD Sender: No OFD packet to send [04:35:20]OFD Sender: No OFD packet to send [04:35:25]OFD Sender: No OFD packet to send [04:35:30]OFD Sender: No OFD packet to send [04:35:35]OFD Sender: No OFD packet to send [04:35:40]OFD Sender: No OFD packet to send [04:35:45]OFD Sender: No OFD packet to send [04:35:50]OFD Sender: No OFD packet to send [04:35:55]OFD Sender: No OFD packet to send [04:36:00]OFD Sender: No OFD packet to send [04:36:05]OFD Sender: No OFD packet to send [04:36:10]OFD Sender: No OFD packet to send [04:36:15]OFD Sender: No OFD packet to send [04:36:20]OFD Sender: No OFD packet to send [04:36:25]OFD Sender: No OFD packet to send [04:36:30]OFD Sender: No OFD packet to send [04:36:35]OFD Sender: No OFD packet to send [04:36:40]OFD Sender: No OFD packet to send [04:36:45]OFD Sender: No OFD packet to send [04:36:50]OFD Sender: No OFD packet to send [04:36:55]OFD Sender: No OFD packet to send [04:37:00]OFD Sender: No OFD packet to send [04:37:05]OFD Sender: No OFD packet to send [04:37:10]OFD Sender: No OFD packet to send [04:37:15]OFD Sender: No OFD packet to send [04:37:20]OFD Sender: No OFD packet to send [04:37:25]OFD Sender: No OFD packet to send [04:37:30]OFD Sender: No OFD packet to send [04:37:35]OFD Sender: No OFD packet to send [04:37:40]OFD Sender: No OFD packet to send [04:37:45]OFD Sender: No OFD packet to send [04:37:50]OFD Sender: No OFD packet to send [04:37:55]OFD Sender: No OFD packet to send [04:38:00]OFD Sender: No OFD packet to send [04:38:05]OFD Sender: No OFD packet to send [04:38:10]OFD Sender: No OFD packet to send [04:38:15]OFD Sender: No OFD packet to send [04:38:20]OFD Sender: No OFD packet to send [04:38:25]OFD Sender: No OFD packet to send [04:38:30]OFD Sender: No OFD packet to send [04:38:35]OFD Sender: No OFD packet to send [04:38:40]OFD Sender: No OFD packet to send [04:38:45]OFD Sender: No OFD packet to send [04:38:50]OFD Sender: No OFD packet to send [04:38:55]OFD Sender: No OFD packet to send [04:39:00]OFD Sender: No OFD packet to send [04:39:05]OFD Sender: No OFD packet to send [04:39:10]OFD Sender: No OFD packet to send [04:39:15]OFD Sender: No OFD packet to send [04:39:20]OFD Sender: No OFD packet to send [04:39:25]OFD Sender: No OFD packet to send [04:39:30]OFD Sender: No OFD packet to send [04:39:35]OFD Sender: No OFD packet to send [04:39:40]OFD Sender: No OFD packet to send [04:39:45]OFD Sender: No OFD packet to send [04:39:50]OFD Sender: No OFD packet to send [04:39:55]OFD Sender: No OFD packet to send [04:40:00]OFD Sender: No OFD packet to send [04:40:05]OFD Sender: No OFD packet to send [04:40:10]OFD Sender: No OFD packet to send [04:40:15]OFD Sender: No OFD packet to send [04:40:20]OFD Sender: No OFD packet to send [04:40:25]OFD Sender: No OFD packet to send [04:40:30]OFD Sender: No OFD packet to send [04:40:35]OFD Sender: No OFD packet to send [04:40:40]OFD Sender: No OFD packet to send [04:40:45]OFD Sender: No OFD packet to send [04:40:50]OFD Sender: No OFD packet to send [04:40:55]OFD Sender: No OFD packet to send [04:41:00]OFD Sender: No OFD packet to send [04:41:05]OFD Sender: No OFD packet to send [04:41:10]OFD Sender: No OFD packet to send [04:41:15]OFD Sender: No OFD packet to send [04:41:20]OFD Sender: No OFD packet to send [04:41:25]OFD Sender: No OFD packet to send [04:41:30]OFD Sender: No OFD packet to send [04:41:35]OFD Sender: No OFD packet to send [04:41:40]OFD Sender: No OFD packet to send [04:41:45]OFD Sender: No OFD packet to send [04:41:50]OFD Sender: No OFD packet to send [04:41:55]OFD Sender: No OFD packet to send [04:42:00]OFD Sender: No OFD packet to send [04:42:05]OFD Sender: No OFD packet to send [04:42:10]OFD Sender: No OFD packet to send [04:42:15]OFD Sender: No OFD packet to send [04:42:20]OFD Sender: No OFD packet to send [04:42:25]OFD Sender: No OFD packet to send [04:42:30]OFD Sender: No OFD packet to send [04:42:35]OFD Sender: No OFD packet to send [04:42:40]OFD Sender: No OFD packet to send [04:42:45]OFD Sender: No OFD packet to send [04:42:50]OFD Sender: No OFD packet to send [04:42:55]OFD Sender: No OFD packet to send [04:43:00]OFD Sender: No OFD packet to send [04:43:05]OFD Sender: No OFD packet to send [04:43:10]OFD Sender: No OFD packet to send [04:43:15]OFD Sender: No OFD packet to send [04:43:20]OFD Sender: No OFD packet to send [04:43:25]OFD Sender: No OFD packet to send [04:43:30]OFD Sender: No OFD packet to send [04:43:35]OFD Sender: No OFD packet to send [04:43:40]OFD Sender: No OFD packet to send [04:43:45]OFD Sender: No OFD packet to send [04:43:50]OFD Sender: No OFD packet to send [04:43:55]OFD Sender: No OFD packet to send [04:44:00]OFD Sender: No OFD packet to send [04:44:05]OFD Sender: No OFD packet to send [04:44:10]OFD Sender: No OFD packet to send [04:44:15]OFD Sender: No OFD packet to send [04:44:20]OFD Sender: No OFD packet to send [04:44:25]OFD Sender: No OFD packet to send [04:44:30]OFD Sender: No OFD packet to send [04:44:35]OFD Sender: No OFD packet to send [04:44:40]OFD Sender: No OFD packet to send [04:44:45]OFD Sender: No OFD packet to send [04:44:50]OFD Sender: No OFD packet to send [04:44:55]OFD Sender: No OFD packet to send [04:45:00]OFD Sender: No OFD packet to send [04:45:05]OFD Sender: No OFD packet to send [04:45:10]OFD Sender: No OFD packet to send [04:45:15]OFD Sender: No OFD packet to send [04:45:20]OFD Sender: No OFD packet to send [04:45:25]OFD Sender: No OFD packet to send [04:45:30]OFD Sender: No OFD packet to send [04:45:35]OFD Sender: No OFD packet to send [04:45:40]OFD Sender: No OFD packet to send [04:45:45]OFD Sender: No OFD packet to send [04:45:50]OFD Sender: No OFD packet to send [04:45:55]OFD Sender: No OFD packet to send [04:46:00]OFD Sender: No OFD packet to send [04:46:05]OFD Sender: No OFD packet to send [04:46:10]OFD Sender: No OFD packet to send [04:46:15]OFD Sender: No OFD packet to send [04:46:20]OFD Sender: No OFD packet to send [04:46:25]OFD Sender: No OFD packet to send [04:46:30]OFD Sender: No OFD packet to send [04:46:35]OFD Sender: No OFD packet to send [04:46:40]OFD Sender: No OFD packet to send [04:46:45]OFD Sender: No OFD packet to send [04:46:50]OFD Sender: No OFD packet to send [04:46:55]OFD Sender: No OFD packet to send [04:47:00]OFD Sender: No OFD packet to send [04:47:05]OFD Sender: No OFD packet to send [04:47:10]OFD Sender: No OFD packet to send [04:47:15]OFD Sender: No OFD packet to send [04:47:20]OFD Sender: No OFD packet to send [04:47:25]OFD Sender: No OFD packet to send [04:47:30]OFD Sender: No OFD packet to send [04:47:35]OFD Sender: No OFD packet to send [04:47:40]OFD Sender: No OFD packet to send [04:47:45]OFD Sender: No OFD packet to send [04:47:50]OFD Sender: No OFD packet to send [04:47:55]OFD Sender: No OFD packet to send [04:48:00]OFD Sender: No OFD packet to send [04:48:05]OFD Sender: No OFD packet to send [04:48:10]OFD Sender: No OFD packet to send [04:48:15]OFD Sender: No OFD packet to send [04:48:20]OFD Sender: No OFD packet to send [04:48:25]OFD Sender: No OFD packet to send [04:48:30]OFD Sender: No OFD packet to send [04:48:35]OFD Sender: No OFD packet to send [04:48:41]OFD Sender: No OFD packet to send [04:48:46]OFD Sender: No OFD packet to send [04:48:51]OFD Sender: No OFD packet to send [04:48:56]OFD Sender: No OFD packet to send [04:49:01]OFD Sender: No OFD packet to send [04:49:06]OFD Sender: No OFD packet to send [04:49:11]OFD Sender: No OFD packet to send [04:49:16]OFD Sender: No OFD packet to send [04:49:21]OFD Sender: No OFD packet to send [04:49:26]OFD Sender: No OFD packet to send [04:49:31]OFD Sender: No OFD packet to send [04:49:36]OFD Sender: No OFD packet to send [04:49:41]OFD Sender: No OFD packet to send [04:49:46]OFD Sender: No OFD packet to send [04:49:51]OFD Sender: No OFD packet to send [04:49:56]OFD Sender: No OFD packet to send [04:50:01]OFD Sender: No OFD packet to send [04:50:06]OFD Sender: No OFD packet to send [04:50:11]OFD Sender: No OFD packet to send [04:50:16]OFD Sender: No OFD packet to send [04:50:21]OFD Sender: No OFD packet to send [04:50:26]OFD Sender: No OFD packet to send [04:50:31]OFD Sender: No OFD packet to send [04:50:36]OFD Sender: No OFD packet to send [04:50:41]OFD Sender: No OFD packet to send [04:50:46]OFD Sender: No OFD packet to send [04:50:51]OFD Sender: No OFD packet to send [04:50:56]OFD Sender: No OFD packet to send [04:51:01]OFD Sender: No OFD packet to send [04:51:06]OFD Sender: No OFD packet to send [04:51:11]OFD Sender: No OFD packet to send [04:51:16]OFD Sender: No OFD packet to send [04:51:21]OFD Sender: No OFD packet to send [04:51:26]OFD Sender: No OFD packet to send [04:51:31]OFD Sender: No OFD packet to send [04:51:36]OFD Sender: No OFD packet to send [04:51:41]OFD Sender: No OFD packet to send [04:51:46]OFD Sender: No OFD packet to send [04:51:51]OFD Sender: No OFD packet to send [04:51:56]OFD Sender: No OFD packet to send [04:52:01]OFD Sender: No OFD packet to send [04:52:06]OFD Sender: No OFD packet to send [04:52:11]OFD Sender: No OFD packet to send [04:52:16]OFD Sender: No OFD packet to send [04:52:21]OFD Sender: No OFD packet to send [04:52:26]OFD Sender: No OFD packet to send [04:52:31]OFD Sender: No OFD packet to send [04:52:36]OFD Sender: No OFD packet to send [04:52:41]OFD Sender: No OFD packet to send [04:52:46]OFD Sender: No OFD packet to send [04:52:51]OFD Sender: No OFD packet to send [04:52:56]OFD Sender: No OFD packet to send [04:53:01]OFD Sender: No OFD packet to send [04:53:06]OFD Sender: No OFD packet to send [04:53:11]OFD Sender: No OFD packet to send [04:53:16]OFD Sender: No OFD packet to send [04:53:21]OFD Sender: No OFD packet to send [04:53:26]OFD Sender: No OFD packet to send [04:53:31]OFD Sender: No OFD packet to send [04:53:36]OFD Sender: No OFD packet to send [04:53:41]OFD Sender: No OFD packet to send [04:53:46]OFD Sender: No OFD packet to send [04:53:51]OFD Sender: No OFD packet to send [04:53:56]OFD Sender: No OFD packet to send [04:54:01]OFD Sender: No OFD packet to send [04:54:06]OFD Sender: No OFD packet to send [04:54:11]OFD Sender: No OFD packet to send [04:54:16]OFD Sender: No OFD packet to send [04:54:21]OFD Sender: No OFD packet to send [04:54:26]OFD Sender: No OFD packet to send [04:54:31]OFD Sender: No OFD packet to send [04:54:36]OFD Sender: No OFD packet to send [04:54:41]OFD Sender: No OFD packet to send [04:54:46]OFD Sender: No OFD packet to send [04:54:51]OFD Sender: No OFD packet to send [04:54:56]OFD Sender: No OFD packet to send [04:55:01]OFD Sender: No OFD packet to send [04:55:06]OFD Sender: No OFD packet to send [04:55:11]OFD Sender: No OFD packet to send [04:55:16]OFD Sender: No OFD packet to send [04:55:21]OFD Sender: No OFD packet to send [04:55:26]OFD Sender: No OFD packet to send [04:55:31]OFD Sender: No OFD packet to send [04:55:36]OFD Sender: No OFD packet to send [04:55:41]OFD Sender: No OFD packet to send [04:55:46]OFD Sender: No OFD packet to send [04:55:51]OFD Sender: No OFD packet to send [04:55:56]OFD Sender: No OFD packet to send [04:56:01]OFD Sender: No OFD packet to send [04:56:06]OFD Sender: No OFD packet to send [04:56:11]OFD Sender: No OFD packet to send [04:56:16]OFD Sender: No OFD packet to send [04:56:21]OFD Sender: No OFD packet to send [04:56:26]OFD Sender: No OFD packet to send [04:56:31]OFD Sender: No OFD packet to send [04:56:36]OFD Sender: No OFD packet to send [04:56:41]OFD Sender: No OFD packet to send [04:56:46]OFD Sender: No OFD packet to send [04:56:51]OFD Sender: No OFD packet to send [04:56:56]OFD Sender: No OFD packet to send [04:57:01]OFD Sender: No OFD packet to send [04:57:06]OFD Sender: No OFD packet to send [04:57:11]OFD Sender: No OFD packet to send [04:57:16]OFD Sender: No OFD packet to send [04:57:21]OFD Sender: No OFD packet to send [04:57:26]OFD Sender: No OFD packet to send [04:57:31]OFD Sender: No OFD packet to send [04:57:36]OFD Sender: No OFD packet to send [04:57:41]OFD Sender: No OFD packet to send [04:57:46]OFD Sender: No OFD packet to send [04:57:51]OFD Sender: No OFD packet to send [04:57:56]OFD Sender: No OFD packet to send [04:58:01]OFD Sender: No OFD packet to send [04:58:06]OFD Sender: No OFD packet to send [04:58:11]OFD Sender: No OFD packet to send [04:58:16]OFD Sender: No OFD packet to send [04:58:21]OFD Sender: No OFD packet to send [04:58:26]OFD Sender: No OFD packet to send [04:58:31]OFD Sender: No OFD packet to send [04:58:36]OFD Sender: No OFD packet to send [04:58:41]OFD Sender: No OFD packet to send [04:58:46]OFD Sender: No OFD packet to send [04:58:51]OFD Sender: No OFD packet to send [04:58:56]OFD Sender: No OFD packet to send [04:59:01]OFD Sender: No OFD packet to send [04:59:06]OFD Sender: No OFD packet to send [04:59:11]OFD Sender: No OFD packet to send [04:59:16]OFD Sender: No OFD packet to send [04:59:21]OFD Sender: No OFD packet to send [04:59:26]OFD Sender: No OFD packet to send [04:59:31]OFD Sender: No OFD packet to send [04:59:36]OFD Sender: No OFD packet to send [04:59:41]OFD Sender: No OFD packet to send [04:59:46]OFD Sender: No OFD packet to send [04:59:51]OFD Sender: No OFD packet to send [04:59:56]OFD Sender: No OFD packet to send [05:00:01]OFD Sender: No OFD packet to send [05:00:06]OFD Sender: No OFD packet to send [05:00:11]OFD Sender: No OFD packet to send [05:00:16]OFD Sender: No OFD packet to send [05:00:21]OFD Sender: No OFD packet to send [05:00:26]OFD Sender: No OFD packet to send [05:00:31]OFD Sender: No OFD packet to send [05:00:36]OFD Sender: No OFD packet to send [05:00:41]OFD Sender: No OFD packet to send [05:00:46]OFD Sender: No OFD packet to send [05:00:51]OFD Sender: No OFD packet to send [05:00:56]OFD Sender: No OFD packet to send [05:01:01]OFD Sender: No OFD packet to send [05:01:06]OFD Sender: No OFD packet to send [05:01:11]OFD Sender: No OFD packet to send [05:01:16]OFD Sender: No OFD packet to send [05:01:21]OFD Sender: No OFD packet to send [05:01:26]OFD Sender: No OFD packet to send [05:01:31]OFD Sender: No OFD packet to send [05:01:36]OFD Sender: No OFD packet to send [05:01:41]OFD Sender: No OFD packet to send [05:01:46]OFD Sender: No OFD packet to send [05:01:51]OFD Sender: No OFD packet to send [05:01:56]OFD Sender: No OFD packet to send [05:02:01]OFD Sender: No OFD packet to send [05:02:06]OFD Sender: No OFD packet to send [05:02:11]OFD Sender: No OFD packet to send [05:02:16]OFD Sender: No OFD packet to send [05:02:21]OFD Sender: No OFD packet to send [05:02:26]OFD Sender: No OFD packet to send [05:02:31]OFD Sender: No OFD packet to send [05:02:36]OFD Sender: No OFD packet to send [05:02:41]OFD Sender: No OFD packet to send [05:02:46]OFD Sender: No OFD packet to send [05:02:51]OFD Sender: No OFD packet to send [05:02:56]OFD Sender: No OFD packet to send [05:03:01]OFD Sender: No OFD packet to send [05:03:06]OFD Sender: No OFD packet to send [05:03:11]OFD Sender: No OFD packet to send [05:03:16]OFD Sender: No OFD packet to send [05:03:21]OFD Sender: No OFD packet to send [05:03:26]OFD Sender: No OFD packet to send [05:03:31]OFD Sender: No OFD packet to send [05:03:36]OFD Sender: No OFD packet to send [05:03:41]OFD Sender: No OFD packet to send [05:03:46]OFD Sender: No OFD packet to send [05:03:51]OFD Sender: No OFD packet to send [05:03:56]OFD Sender: No OFD packet to send [05:04:01]OFD Sender: No OFD packet to send [05:04:06]OFD Sender: No OFD packet to send [05:04:11]OFD Sender: No OFD packet to send [05:04:16]OFD Sender: No OFD packet to send [05:04:21]OFD Sender: No OFD packet to send [05:04:26]OFD Sender: No OFD packet to send [05:04:31]OFD Sender: No OFD packet to send [05:04:36]OFD Sender: No OFD packet to send [05:04:41]OFD Sender: No OFD packet to send [05:04:46]OFD Sender: No OFD packet to send [05:04:51]OFD Sender: No OFD packet to send [05:04:56]OFD Sender: No OFD packet to send [05:05:01]OFD Sender: No OFD packet to send [05:05:06]OFD Sender: No OFD packet to send [05:05:11]OFD Sender: No OFD packet to send [05:05:16]OFD Sender: No OFD packet to send [05:05:21]OFD Sender: No OFD packet to send [05:05:26]OFD Sender: No OFD packet to send [05:05:31]OFD Sender: No OFD packet to send [05:05:36]OFD Sender: No OFD packet to send [05:05:41]OFD Sender: No OFD packet to send [05:05:46]OFD Sender: No OFD packet to send [05:05:51]OFD Sender: No OFD packet to send [05:05:56]OFD Sender: No OFD packet to send [05:06:01]OFD Sender: No OFD packet to send [05:06:06]OFD Sender: No OFD packet to send [05:06:11]OFD Sender: No OFD packet to send [05:06:16]OFD Sender: No OFD packet to send [05:06:21]OFD Sender: No OFD packet to send [05:06:27]OFD Sender: No OFD packet to send [05:06:32]OFD Sender: No OFD packet to send [05:06:37]OFD Sender: No OFD packet to send [05:06:42]OFD Sender: No OFD packet to send [05:06:47]OFD Sender: No OFD packet to send [05:06:52]OFD Sender: No OFD packet to send [05:06:57]OFD Sender: No OFD packet to send [05:07:02]OFD Sender: No OFD packet to send [05:07:07]OFD Sender: No OFD packet to send [05:07:12]OFD Sender: No OFD packet to send [05:07:17]OFD Sender: No OFD packet to send [05:07:22]OFD Sender: No OFD packet to send [05:07:27]OFD Sender: No OFD packet to send [05:07:32]OFD Sender: No OFD packet to send [05:07:37]OFD Sender: No OFD packet to send [05:07:42]OFD Sender: No OFD packet to send [05:07:47]OFD Sender: No OFD packet to send [05:07:52]OFD Sender: No OFD packet to send [05:07:57]OFD Sender: No OFD packet to send [05:08:02]OFD Sender: No OFD packet to send [05:08:07]OFD Sender: No OFD packet to send [05:08:12]OFD Sender: No OFD packet to send [05:08:17]OFD Sender: No OFD packet to send [05:08:22]OFD Sender: No OFD packet to send [05:08:27]OFD Sender: No OFD packet to send [05:08:32]OFD Sender: No OFD packet to send [05:08:37]OFD Sender: No OFD packet to send [05:08:42]OFD Sender: No OFD packet to send [05:08:47]OFD Sender: No OFD packet to send [05:08:52]OFD Sender: No OFD packet to send [05:08:57]OFD Sender: No OFD packet to send [05:09:02]OFD Sender: No OFD packet to send [05:09:07]OFD Sender: No OFD packet to send [05:09:12]OFD Sender: No OFD packet to send [05:09:17]OFD Sender: No OFD packet to send [05:09:22]OFD Sender: No OFD packet to send [05:09:27]OFD Sender: No OFD packet to send [05:09:32]OFD Sender: No OFD packet to send [05:09:37]OFD Sender: No OFD packet to send [05:09:42]OFD Sender: No OFD packet to send [05:09:47]OFD Sender: No OFD packet to send [05:09:52]OFD Sender: No OFD packet to send [05:09:57]OFD Sender: No OFD packet to send [05:10:02]OFD Sender: No OFD packet to send [05:10:07]OFD Sender: No OFD packet to send [05:10:12]OFD Sender: No OFD packet to send [05:10:17]OFD Sender: No OFD packet to send [05:10:22]OFD Sender: No OFD packet to send [05:10:27]OFD Sender: No OFD packet to send [05:10:32]OFD Sender: No OFD packet to send [05:10:37]OFD Sender: No OFD packet to send [05:10:42]OFD Sender: No OFD packet to send [05:10:47]OFD Sender: No OFD packet to send [05:10:52]OFD Sender: No OFD packet to send [05:10:57]OFD Sender: No OFD packet to send [05:11:02]OFD Sender: No OFD packet to send [05:11:07]OFD Sender: No OFD packet to send [05:11:12]OFD Sender: No OFD packet to send [05:11:17]OFD Sender: No OFD packet to send [05:11:22]OFD Sender: No OFD packet to send [05:11:27]OFD Sender: No OFD packet to send [05:11:32]OFD Sender: No OFD packet to send [05:11:37]OFD Sender: No OFD packet to send [05:11:42]OFD Sender: No OFD packet to send [05:11:47]OFD Sender: No OFD packet to send [05:11:52]OFD Sender: No OFD packet to send [05:11:57]OFD Sender: No OFD packet to send [05:12:02]OFD Sender: No OFD packet to send [05:12:07]OFD Sender: No OFD packet to send [05:12:12]OFD Sender: No OFD packet to send [05:12:17]OFD Sender: No OFD packet to send [05:12:22]OFD Sender: No OFD packet to send [05:12:27]OFD Sender: No OFD packet to send [05:12:32]OFD Sender: No OFD packet to send [05:12:37]OFD Sender: No OFD packet to send [05:12:42]OFD Sender: No OFD packet to send [05:12:47]OFD Sender: No OFD packet to send [05:12:52]OFD Sender: No OFD packet to send [05:12:57]OFD Sender: No OFD packet to send [05:13:02]OFD Sender: No OFD packet to send [05:13:07]OFD Sender: No OFD packet to send [05:13:12]OFD Sender: No OFD packet to send [05:13:17]OFD Sender: No OFD packet to send [05:13:22]OFD Sender: No OFD packet to send [05:13:27]OFD Sender: No OFD packet to send [05:13:32]OFD Sender: No OFD packet to send [05:13:37]OFD Sender: No OFD packet to send [05:13:42]OFD Sender: No OFD packet to send [05:13:47]OFD Sender: No OFD packet to send [05:13:52]OFD Sender: No OFD packet to send [05:13:57]OFD Sender: No OFD packet to send [05:14:02]OFD Sender: No OFD packet to send [05:14:07]OFD Sender: No OFD packet to send [05:14:12]OFD Sender: No OFD packet to send [05:14:17]OFD Sender: No OFD packet to send [05:14:22]OFD Sender: No OFD packet to send [05:14:27]OFD Sender: No OFD packet to send [05:14:32]OFD Sender: No OFD packet to send [05:14:37]OFD Sender: No OFD packet to send [05:14:42]OFD Sender: No OFD packet to send [05:14:47]OFD Sender: No OFD packet to send [05:14:52]OFD Sender: No OFD packet to send [05:14:57]OFD Sender: No OFD packet to send [05:15:02]OFD Sender: No OFD packet to send [05:15:07]OFD Sender: No OFD packet to send [05:15:12]OFD Sender: No OFD packet to send [05:15:17]OFD Sender: No OFD packet to send [05:15:22]OFD Sender: No OFD packet to send [05:15:27]OFD Sender: No OFD packet to send [05:15:32]OFD Sender: No OFD packet to send [05:15:37]OFD Sender: No OFD packet to send [05:15:42]OFD Sender: No OFD packet to send [05:15:47]OFD Sender: No OFD packet to send [05:15:52]OFD Sender: No OFD packet to send [05:15:57]OFD Sender: No OFD packet to send [05:16:02]OFD Sender: No OFD packet to send [05:16:07]OFD Sender: No OFD packet to send [05:16:12]OFD Sender: No OFD packet to send [05:16:17]OFD Sender: No OFD packet to send [05:16:22]OFD Sender: No OFD packet to send [05:16:27]OFD Sender: No OFD packet to send [05:16:32]OFD Sender: No OFD packet to send [05:16:37]OFD Sender: No OFD packet to send [05:16:42]OFD Sender: No OFD packet to send [05:16:47]OFD Sender: No OFD packet to send [05:16:52]OFD Sender: No OFD packet to send [05:16:57]OFD Sender: No OFD packet to send [05:17:02]OFD Sender: No OFD packet to send [05:17:07]OFD Sender: No OFD packet to send [05:17:12]OFD Sender: No OFD packet to send [05:17:17]OFD Sender: No OFD packet to send [05:17:22]OFD Sender: No OFD packet to send [05:17:27]OFD Sender: No OFD packet to send [05:17:32]OFD Sender: No OFD packet to send [05:17:37]OFD Sender: No OFD packet to send [05:17:42]OFD Sender: No OFD packet to send [05:17:47]OFD Sender: No OFD packet to send [05:17:52]OFD Sender: No OFD packet to send [05:17:57]OFD Sender: No OFD packet to send [05:18:02]OFD Sender: No OFD packet to send [05:18:07]OFD Sender: No OFD packet to send [05:18:12]OFD Sender: No OFD packet to send [05:18:17]OFD Sender: No OFD packet to send [05:18:22]OFD Sender: No OFD packet to send [05:18:27]OFD Sender: No OFD packet to send [05:18:32]OFD Sender: No OFD packet to send [05:18:37]OFD Sender: No OFD packet to send [05:18:42]OFD Sender: No OFD packet to send [05:18:47]OFD Sender: No OFD packet to send [05:18:52]OFD Sender: No OFD packet to send [05:18:57]OFD Sender: No OFD packet to send [05:19:02]OFD Sender: No OFD packet to send [05:19:07]OFD Sender: No OFD packet to send [05:19:12]OFD Sender: No OFD packet to send [05:19:17]OFD Sender: No OFD packet to send [05:19:22]OFD Sender: No OFD packet to send [05:19:27]OFD Sender: No OFD packet to send [05:19:32]OFD Sender: No OFD packet to send [05:19:37]OFD Sender: No OFD packet to send [05:19:42]OFD Sender: No OFD packet to send [05:19:47]OFD Sender: No OFD packet to send [05:19:52]OFD Sender: No OFD packet to send [05:19:57]OFD Sender: No OFD packet to send [05:20:02]OFD Sender: No OFD packet to send [05:20:07]OFD Sender: No OFD packet to send [05:20:12]OFD Sender: No OFD packet to send [05:20:17]OFD Sender: No OFD packet to send [05:20:22]OFD Sender: No OFD packet to send [05:20:27]OFD Sender: No OFD packet to send [05:20:32]OFD Sender: No OFD packet to send [05:20:37]OFD Sender: No OFD packet to send [05:20:42]OFD Sender: No OFD packet to send [05:20:47]OFD Sender: No OFD packet to send [05:20:52]OFD Sender: No OFD packet to send [05:20:57]OFD Sender: No OFD packet to send [05:21:02]OFD Sender: No OFD packet to send [05:21:07]OFD Sender: No OFD packet to send [05:21:12]OFD Sender: No OFD packet to send [05:21:17]OFD Sender: No OFD packet to send [05:21:22]OFD Sender: No OFD packet to send [05:21:27]OFD Sender: No OFD packet to send [05:21:32]OFD Sender: No OFD packet to send [05:21:37]OFD Sender: No OFD packet to send [05:21:42]OFD Sender: No OFD packet to send [05:21:47]OFD Sender: No OFD packet to send [05:21:52]OFD Sender: No OFD packet to send [05:21:57]OFD Sender: No OFD packet to send [05:22:02]OFD Sender: No OFD packet to send [05:22:07]OFD Sender: No OFD packet to send [05:22:12]OFD Sender: No OFD packet to send [05:22:17]OFD Sender: No OFD packet to send [05:22:22]OFD Sender: No OFD packet to send [05:22:27]OFD Sender: No OFD packet to send [05:22:32]OFD Sender: No OFD packet to send [05:22:37]OFD Sender: No OFD packet to send [05:22:42]OFD Sender: No OFD packet to send [05:22:47]OFD Sender: No OFD packet to send [05:22:52]OFD Sender: No OFD packet to send [05:22:57]OFD Sender: No OFD packet to send [05:23:02]OFD Sender: No OFD packet to send [05:23:07]OFD Sender: No OFD packet to send [05:23:12]OFD Sender: No OFD packet to send [05:23:17]OFD Sender: No OFD packet to send [05:23:22]OFD Sender: No OFD packet to send [05:23:27]OFD Sender: No OFD packet to send [05:23:32]OFD Sender: No OFD packet to send [05:23:37]OFD Sender: No OFD packet to send [05:23:42]OFD Sender: No OFD packet to send [05:23:47]OFD Sender: No OFD packet to send [05:23:52]OFD Sender: No OFD packet to send [05:23:57]OFD Sender: No OFD packet to send [05:24:02]OFD Sender: No OFD packet to send [05:24:07]OFD Sender: No OFD packet to send [05:24:12]OFD Sender: No OFD packet to send [05:24:18]OFD Sender: No OFD packet to send [05:24:23]OFD Sender: No OFD packet to send [05:24:28]OFD Sender: No OFD packet to send [05:24:33]OFD Sender: No OFD packet to send [05:24:36]accept exits with 8 [05:24:36]New connection [05:24:36]New thread 3067252068 created [05:24:36]Thread 3067395428 joined [05:24:36]Waiting for new connection... [05:24:36] Sock 8.Parse request [05:24:36]Sock 8.Check first char [05:24:36]Sock 8.First char is OK [05:24:36]request: POST /json_proto HTTP/1.0 [05:24:36]Method: POST [05:24:36]URL: /json_proto [05:24:36]Method is POST - this is cgi request [05:24:36]url: /json_proto [05:24:36]query_string will be loaded in cgi processing [05:24:36]execute_cgi json_proto POST (null) [05:24:36]execute_cgi path=json_proto method=POST [05:24:36]POST find Content-Length [05:24:36]Host: 172.17.60.7:8080 [05:24:36]Content-Length: 1143 [05:24:36]Content-Type: application/json [05:24:36] [05:24:36]POST finish read [05:24:36]Found Content-Length = 1143 [05:24:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122728", "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": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 325.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:24:36]execute_script... [05:24:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122728", "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": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 325.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:24:36]POST & json_proto [05:24:36]process_json_proto [05:24:36]json parsed OK: [05:24:36]protocol is kg_v1.0 [05:24:36]action value=close_receipt [05:24:36]process_action close_receipt [05:24:36]cmd_close_receipt [05:24:36]MH_GetDate [05:24:36]Write to MH i2c: F0 00 00 F1 0B EB [05:24:36]Write i2c OK [05:24:36]MH_I2C_Read... [05:24:36]Read from MH i2c: F0 [05:24:36]MH_I2C_Read... [05:24:36]Read from MH i2c: F0 09 00 [05:24:36]MH_I2C_Read... [05:24:36]Read from MH i2c: F0 09 00 F1 0B 00 17 4B B8 66 63 9B 67 64 3D [05:24:36]GetLastDocTimeStamp 1723347601 [05:24:36]current date 1723353879 [05:24:36]FM_GetShiftState [05:24:36]SAM_PROTO_GetShiftState [05:24:36]wFMCommunicate request_size=4 [05:24:36]MH_SAM_APDU [05:24:36]CAPDU: 80 13 01 00 [05:24:36]Write to MH i2c: E2 08 00 F2 0B 80 13 01 00 00 00 00 00 7A [05:24:36]Write i2c OK [05:24:36]MH_I2C_Read... [05:24:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:24:36]Read from MH i2c: E2 [05:24:36]MH_I2C_Read... [05:24:36]Read from MH i2c: E2 0E 00 [05:24:36]MH_I2C_Read... [05:24:36]Read from MH i2c: E2 0E 00 F2 0B 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 A3 [05:24:36]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [05:24:36]wFMCommunicate OK [05:24:36]SAM_PROTO_GetShiftState done [05:24:36]FM_GetShiftState done [05:24:36]opened in 1723336186 [05:24:36]opened+sec_in_day 1723422586 [05:24:36]quantity*price = 12500 [05:24:36]sum+1 = 12501 [05:24:36]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46230614 Сигареты Richmond Red Edition 1.000 * 150.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 325.00 НСП 1% : 2.88 НДС 12% : 34.51 Наличными: 325.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 8 11.08.2024 05:24 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52597 ФПД: 177743739976779 /tax-web-control/client/api/v1/ticket?date=20240811T052439&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52597&fm=177743739976779&tin=02508201610067®Number=0000000000090834&sum=32500 0 [05:24:37]StoreToDocumentArchive [05:24:37]shift 446 fd 52597 [05:24:37]save to /storage/0446/doc_00052597 [05:24:37]save last doc name /storage/0446/doc_00052597 to /storage/kkm_last_doc_name [05:24:37]save OK [05:24:37]Clear old archive folders... [05:24:37]ProcessDocumentItem done err = 0, tmpTLVsize=481 [05:24:37]tlvbuf is 01094190 [05:24:37]SAM_PROTO_ClearQueue [05:24:37]wFMCommunicate request_size=4 [05:24:37]MH_SAM_APDU [05:24:37]CAPDU: 80 09 00 00 [05:24:37]Write to MH i2c: E2 08 00 FF 0B 80 09 00 00 00 00 00 00 7C [05:24:37]Write i2c OK [05:24:37]MH_I2C_Read... [05:24:37]Read from MH i2c: E2 [05:24:37]MH_I2C_Read... [05:24:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:24:37]Read from MH i2c: E2 03 00 [05:24:37]MH_I2C_Read... [05:24:37]Read from MH i2c: E2 03 00 FF 0B 00 90 00 7E [05:24:37]RAPDU: 90 00 [05:24:37]wFMCommunicate OK [05:24:37]SAM_PROTO_ClearQueue done [05:24:37]KKMCreateOFDPacket [05:24:37]OFDProtocolAddRootSTLVToBuf [05:24:37]FM_MakeSignedData [05:24:37]FM_MakeSignedData [05:24:37]SAM_PROTO_SignData [05:24:37]wFMCommunicate request_size=4 [05:24:37]MH_SAM_APDU [05:24:37]CAPDU: 80 0D 01 02 [05:24:37]Write to MH i2c: E2 08 00 00 0C 80 0D 01 02 00 00 00 00 85 [05:24:37]Write i2c OK [05:24:37]MH_I2C_Read... [05:24:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:24:37]Read from MH i2c: E2 [05:24:37]MH_I2C_Read... [05:24:37]Read from MH i2c: E2 03 00 [05:24:37]MH_I2C_Read... [05:24:37]Read from MH i2c: E2 03 00 00 0C 00 90 00 80 [05:24:37]RAPDU: 90 00 [05:24:37]wFMCommunicate OK [05:24:37]wFMCommunicate request_size=255 [05:24:37]MH_SAM_APDU [05:24:37]CAPDU: 80 0D 02 02 FA 03 00 E1 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 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 [05:24:37]Write to MH i2c: E2 02 01 01 0C 80 0D 02 02 FA 00 03 00 E1 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 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 00 00 C6 [05:24:38]OFD Sender: No OFD packet to send [05:24:38]Write i2c OK [05:24:38]MH_I2C_Read... [05:24:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:24:38]Read from MH i2c: E2 [05:24:38]MH_I2C_Read... [05:24:38]Read from MH i2c: E2 03 00 [05:24:38]MH_I2C_Read... [05:24:38]Read from MH i2c: E2 03 00 01 0C 00 90 00 81 [05:24:38]RAPDU: 90 00 [05:24:38]wFMCommunicate OK [05:24:38]wFMCommunicate request_size=240 [05:24:38]MH_SAM_APDU [05:24:38]CAPDU: 80 0D 02 02 EB D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 17 4B B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 75 CD 00 00 35 04 06 00 A1 A8 30 7B 7C 4B [05:24:38]Write to MH i2c: E2 F3 00 02 0C 80 0D 02 02 EB 00 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 17 4B B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 75 CD 00 00 35 04 06 00 A1 A8 30 7B 7C 4B 00 00 F5 [05:24:38]Write i2c OK [05:24:38]MH_I2C_Read... [05:24:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:24:38]Read from MH i2c: E2 [05:24:38]MH_I2C_Read... [05:24:38]Read from MH i2c: E2 03 00 [05:24:38]MH_I2C_Read... [05:24:38]Read from MH i2c: E2 03 00 02 0C 00 90 00 82 [05:24:38]RAPDU: 90 00 [05:24:38]wFMCommunicate OK [05:24:38]wFMCommunicate request_size=4 [05:24:38]MH_SAM_APDU [05:24:38]CAPDU: 80 0D 03 02 [05:24:38]Write to MH i2c: E2 08 00 03 0C 80 0D 03 02 00 00 00 00 8A [05:24:38]Write i2c OK [05:24:38]MH_I2C_Read... [05:24:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:24:38]Read from MH i2c: E2 [05:24:38]MH_I2C_Read... [05:24:38]Read from MH i2c: E2 0B 00 [05:24:38]MH_I2C_Read... [05:24:38]Read from MH i2c: E2 0B 00 03 0C 00 29 D7 64 2A 7F 6E D6 56 90 00 32 [05:24:38]RAPDU: 29 D7 64 2A 7F 6E D6 56 90 00 [05:24:38]wFMCommunicate OK [05:24:38]SAM_PROTO_SignData done [05:24:38]FM_MakeSignedData done [05:24:38]CreateOFDProtocolMessage [05:24:38]wFMCommunicate request_size=4 [05:24:38]MH_SAM_APDU [05:24:38]CAPDU: 80 11 00 00 [05:24:38]Write to MH i2c: E2 08 00 04 0C 80 11 00 00 00 00 00 00 8A [05:24:38]Write i2c OK [05:24:38]MH_I2C_Read... [05:24:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:24:38]Read from MH i2c: E2 [05:24:38]MH_I2C_Read... [05:24:38]Read from MH i2c: E2 17 00 [05:24:38]MH_I2C_Read... [05:24:38]Read from MH i2c: E2 17 00 04 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 DD [05:24:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [05:24:38]wFMCommunicate OK [05:24:38]CreateOFDProtocolMessage done [05:24:38]OFDSenderStorePacket 52597 [05:24:38]StoreOFDPacket docnum=52597 [05:24:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 F5 01 00 00 52 21 ED 01 E6 C6 5A 03 01 00 03 00 E1 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 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 17 4B B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 75 CD 00 00 35 04 06 00 A1 A8 30 7B 7C 4B 29 D7 64 2A 7F 6E D6 56 [05:24:38]CheckFolder [05:24:38]dirname=/storage/ofd_packets [05:24:38]CheckFolder done [05:24:38]ProducePacketName [05:24:38]name=ofd_packets/00052597 [05:24:38]NVStorageSaveData ofd_packets/00052597 [05:24:38]File name is /storage/ofd_packets/00052597 [05:24:38]Write 531 bytes [05:24:38]NVStorageSaveData done [05:24:38]OFDSenderStorePacket done [05:24:38]KKMCreateOFDPacket done [05:24:38]NVStorageSaveData kkm_last_timestamp [05:24:38]File name is /storage/kkm_last_timestamp [05:24:38]Write 4 bytes [05:24:38]NVStorageSaveData done [05:24:38]ExternCall_PrintAddStr [05:24:38]wPrintStart [05:24:38]Write to MH i2c: 01 00 00 05 0C 11 [05:24:38]Write i2c OK [05:24:38]MH_I2C_Read... [05:24:38]Read from MH i2c: 01 [05:24:38]MH_I2C_Read... [05:24:38]Read from MH i2c: 01 07 00 [05:24:38]MH_I2C_Read... [05:24:38]Read from MH i2c: 01 07 00 05 0C 00 00 00 00 00 FF 0F 26 [05:24:38]RasterBufferAndPrint [05:24:38]line Счет N : (3)122728 [05:24:38]line ИНН: 02508201610067 [05:24:38]line Контрольно-Кассовый Чек [05:24:38]line ПРОДАЖА [05:24:38]line Товар: 5449000054227 [05:24:38]line Напиток Кока-Кола 1л [05:24:38]line 1.000 * 125.00 [05:24:38]line = 125.00 [05:24:38]line НДС 12% НСП 1% [05:24:38]line > о реализуемом товаре [05:24:38]line Товар: 4700000160358 [05:24:38]line Вода Легенда 1л [05:24:38]line 1.000 * 50.00 [05:24:38]line = 50.00 [05:24:38]line НДС 12% НСП 1% [05:24:38]line > о реализуемом товаре [05:24:38]line Товар: 46230614 [05:24:38]line Сигареты Richmond Red Edition [05:24:38]line 1.000 * 150.00 [05:24:38]line = 150.00 [05:24:38]line НДС 12% НСП 1% [05:24:38]line > о реализуемом товаре [05:24:38]line ИТОГО: 325.00 [05:24:38]line НСП 1% : 2.88 [05:24:38]line НДС 12% : 34.51 [05:24:38]line Наличными: 325.00 [05:24:38]line Безнал.: 0.00 [05:24:38]line Место: АЗС № 54 "Партнер Нефть" [05:24:38]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [05:24:38]line СНО: Общий режим [05:24:38]line Чек 8 11.08.2024 05:24 [05:24:38]line Смена: 446 ФФД: 1.0 [05:24:38]line ЗНМ: 0300000007 [05:24:38]line РНМ: 0000000000090834 [05:24:38]line Версия ККМ: 001 [05:24:38]line ФМ: 0000000000874715 [05:24:38]line ФД: 52597 [05:24:38]line ФПД: 177743739976779 [05:24:38]line /tax-web-control/client/api/v1/ticket?date=20240811T052439&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52597&fm=177743739976779&tin=02508201610067®Number=0000000000090834&sum=32500 [05:24:38]line 0 [05:24:38]written 0, free lines is 4095 [05:24:38]OFD Sender: Processing packet 52597 [packets to send 55, broken 54] [05:24:38]ProducePacketName [05:24:38]name=ofd_packets/00052597 [05:24:38]OFD Sender: To server: pG, [05:24:38]CommunicateWithHost lk.salyk.kg:30040 [05:24:38]ConnectInit lk.salyk.kg [05:24:38]Connected sock=10 [05:24:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 F5 01 00 00 52 21 ED 01 E6 C6 5A 03 01 00 03 00 E1 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 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 17 4B B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 75 CD 00 00 35 04 06 00 A1 A8 30 7B 7C 4B 29 D7 64 2A 7F 6E D6 56 [05:24:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 88 E3 47 00 69 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 34 37 31 35 10 04 04 00 75 CD 00 00 F4 03 04 00 B3 F2 B7 66 B6 04 01 00 00 AE 65 15 53 72 0C 04 2E [05:24:39]CommunicateWithHost err = 0 [05:24:39]CheckOFDResponse [05:24:39]1017 (14) - 77093643461234 [05:24:39]1041 (16) - 0000000000874715 [05:24:39]1040 (4) - 52597 [05:24:39]1012 (4) - 10.08.2024 23:07 [05:24:39]1206 (1) - 0 [05:24:39]OFD Sender: Remove packet 52597 [05:24:39]ProducePacketName [05:24:39]name=ofd_packets/00052597 [05:24:39]NVStorageDeleteData [05:24:39]Write to MH i2c: 01 00 00 39 0C 45 [05:24:39]Write i2c OK [05:24:39]MH_I2C_Read... [05:24:39]Read from MH i2c: 01 [05:24:39]MH_I2C_Read... [05:24:39]Read from MH i2c: 01 07 00 [05:24:39]MH_I2C_Read... [05:24:39]Read from MH i2c: 01 07 00 39 0C 00 00 00 00 00 04 0C 5C [05:24:39]RasterBufferAndPrint [05:24:39]line [05:24:39]line [05:24:39]line [05:24:39]line [05:24:39]line [05:24:39]written 0, free lines is 3082 [05:24:39]MH_Cut [05:24:39]Write to MH i2c: D1 01 00 40 0C 01 1E [05:24:39]Write i2c OK [05:24:39]MH_I2C_Read... [05:24:39]Read from MH i2c: D1 [05:24:39]MH_I2C_Read... [05:24:39]Read from MH i2c: D1 01 00 [05:24:39]MH_I2C_Read... [05:24:39]Read from MH i2c: D1 01 00 40 0C 00 1D [05:24:39]Write to MH i2c: 01 00 00 41 0C 4D [05:24:39]Write i2c OK [05:24:39]MH_I2C_Read... [05:24:39]OFD Sender: No OFD packet to send [05:24:40]*** Cut start [05:24:40]*** Purtial cut [05:24:40]*** Stage 1: CUTSNS_PIN = 1 [05:24:40]Read from MH i2c: 01 [05:24:40]MH_I2C_Read... [05:24:40]*** Stop cut motor [05:24:40]*** Cut end [05:24:40]Read from MH i2c: 01 07 00 [05:24:40]MH_I2C_Read... [05:24:40]Read from MH i2c: 01 07 00 41 0C 00 00 00 00 00 FF 0F 62 [05:24:40]process_action close_receipt done [05:24:40]requested_data is exist [05:24:40]produce_requested_data [05:24:40]requested_item fm.sn is exist - process it [05:24:40]wFMCommunicate request_size=4 [05:24:40]MH_SAM_APDU [05:24:40]CAPDU: 80 11 00 00 [05:24:40]Write to MH i2c: E2 08 00 42 0C 80 11 00 00 00 00 00 00 C8 [05:24:40]Write i2c OK [05:24:40]MH_I2C_Read... [05:24:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:24:40]Read from MH i2c: E2 [05:24:40]MH_I2C_Read... [05:24:40]Read from MH i2c: E2 17 00 [05:24:40]MH_I2C_Read... [05:24:40]Read from MH i2c: E2 17 00 42 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 1B [05:24:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [05:24:40]wFMCommunicate OK [05:24:40]requested_item fd.num is exist - process it [05:24:40]SAM_PROTO_GetFieldsCounters [05:24:40]wFMCommunicate request_size=4 [05:24:40]MH_SAM_APDU [05:24:40]CAPDU: 80 13 00 00 [05:24:40]Write to MH i2c: E2 08 00 43 0C 80 13 00 00 00 00 00 00 CB [05:24:40]Write i2c OK [05:24:40]MH_I2C_Read... [05:24:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:24:40]Read from MH i2c: E2 [05:24:40]MH_I2C_Read... [05:24:40]Read from MH i2c: E2 62 00 [05:24:40]MH_I2C_Read... [05:24:40]Read from MH i2c: E2 62 00 43 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 75 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 04 [05:24: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 75 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [05:24:40]wFMCommunicate OK [05:24:40]SAM_PROTO_GetFieldsCounters done [05:24:40]requested_item shift.num is exist - process it [05:24:40]requested_item shift.opened is exist - process it [05:24:40]req_shift_opened [05:24:40]FM_GetShiftState [05:24:40]SAM_PROTO_GetShiftState [05:24:40]wFMCommunicate request_size=4 [05:24:40]MH_SAM_APDU [05:24:40]CAPDU: 80 13 01 00 [05:24:40]Write to MH i2c: E2 08 00 44 0C 80 13 01 00 00 00 00 00 CD [05:24:40]Write i2c OK [05:24:40]MH_I2C_Read... [05:24:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:24:40]Read from MH i2c: E2 [05:24:40]MH_I2C_Read... [05:24:40]Read from MH i2c: E2 0E 00 [05:24:40]MH_I2C_Read... [05:24:40]Read from MH i2c: E2 0E 00 44 0C 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 F6 [05:24:40]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [05:24:40]wFMCommunicate OK [05:24:40]SAM_PROTO_GetShiftState done [05:24:40]FM_GetShiftState done [05:24:40]req_shift_opened done [05:24:40]requested_item shift.open_date is exist - process it [05:24:40]req_shift_open_date [05:24:40]req_shift_open_date done [05:24:40]produce_requested_data done [05:24:40]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52597,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [05:24:40]process_action_free close_receipt [05:24:40]json_value_free [05:24:40]json_value_free done [05:24:40]process_json_proto returns [05:24:40]Send response to host [05:24:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52597,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [05:24:40]free response buf [05:24:40]execute_script done [05:24:40]execute_script returns [05:24:40]free content buf [05:24:40]Sock 8.Close socket [05:24:40]Sock 8.Thread stoped [05:24:44]OFD Sender: No OFD packet to send [05:24:49]OFD Sender: No OFD packet to send [05:24:54]OFD Sender: No OFD packet to send [05:24:59]OFD Sender: No OFD packet to send [05:25:04]OFD Sender: No OFD packet to send [05:25:09]OFD Sender: No OFD packet to send [05:25:14]OFD Sender: No OFD packet to send [05:25:19]OFD Sender: No OFD packet to send [05:25:24]OFD Sender: No OFD packet to send [05:25:29]OFD Sender: No OFD packet to send [05:25:34]OFD Sender: No OFD packet to send [05:25:39]OFD Sender: No OFD packet to send [05:25:44]OFD Sender: No OFD packet to send [05:25:49]OFD Sender: No OFD packet to send [05:25:54]OFD Sender: No OFD packet to send [05:25:59]OFD Sender: No OFD packet to send [05:26:04]OFD Sender: No OFD packet to send [05:26:09]OFD Sender: No OFD packet to send [05:26:14]OFD Sender: No OFD packet to send [05:26:19]OFD Sender: No OFD packet to send [05:26:24]OFD Sender: No OFD packet to send [05:26:29]OFD Sender: No OFD packet to send [05:26:34]OFD Sender: No OFD packet to send [05:26:39]OFD Sender: No OFD packet to send [05:26:44]OFD Sender: No OFD packet to send [05:26:49]OFD Sender: No OFD packet to send [05:26:54]OFD Sender: No OFD packet to send [05:26:59]OFD Sender: No OFD packet to send [05:27:04]OFD Sender: No OFD packet to send [05:27:09]OFD Sender: No OFD packet to send [05:27:14]OFD Sender: No OFD packet to send [05:27:19]OFD Sender: No OFD packet to send [05:27:24]OFD Sender: No OFD packet to send [05:27:29]OFD Sender: No OFD packet to send [05:27:34]OFD Sender: No OFD packet to send [05:27:39]OFD Sender: No OFD packet to send [05:27:44]OFD Sender: No OFD packet to send [05:27:49]OFD Sender: No OFD packet to send [05:27:54]OFD Sender: No OFD packet to send [05:27:59]OFD Sender: No OFD packet to send [05:28:04]OFD Sender: No OFD packet to send [05:28:09]OFD Sender: No OFD packet to send [05:28:14]OFD Sender: No OFD packet to send [05:28:19]OFD Sender: No OFD packet to send [05:28:24]OFD Sender: No OFD packet to send [05:28:29]OFD Sender: No OFD packet to send [05:28:34]OFD Sender: No OFD packet to send [05:28:39]OFD Sender: No OFD packet to send [05:28:44]OFD Sender: No OFD packet to send [05:28:49]OFD Sender: No OFD packet to send [05:28:54]OFD Sender: No OFD packet to send [05:28:59]OFD Sender: No OFD packet to send [05:29:04]OFD Sender: No OFD packet to send [05:29:09]OFD Sender: No OFD packet to send [05:29:14]OFD Sender: No OFD packet to send [05:29:20]OFD Sender: No OFD packet to send [05:29:25]OFD Sender: No OFD packet to send [05:29:30]OFD Sender: No OFD packet to send [05:29:35]OFD Sender: No OFD packet to send [05:29:40]OFD Sender: No OFD packet to send [05:29:45]OFD Sender: No OFD packet to send [05:29:50]OFD Sender: No OFD packet to send [05:29:55]OFD Sender: No OFD packet to send [05:30:00]OFD Sender: No OFD packet to send [05:30:05]OFD Sender: No OFD packet to send [05:30:10]OFD Sender: No OFD packet to send [05:30:15]OFD Sender: No OFD packet to send [05:30:20]OFD Sender: No OFD packet to send [05:30:25]OFD Sender: No OFD packet to send [05:30:30]OFD Sender: No OFD packet to send [05:30:35]OFD Sender: No OFD packet to send [05:30:40]OFD Sender: No OFD packet to send [05:30:45]OFD Sender: No OFD packet to send [05:30:50]OFD Sender: No OFD packet to send [05:30:55]OFD Sender: No OFD packet to send [05:31:00]OFD Sender: No OFD packet to send [05:31:05]OFD Sender: No OFD packet to send [05:31:10]OFD Sender: No OFD packet to send [05:31:15]OFD Sender: No OFD packet to send [05:31:20]OFD Sender: No OFD packet to send [05:31:25]OFD Sender: No OFD packet to send [05:31:30]OFD Sender: No OFD packet to send [05:31:35]OFD Sender: No OFD packet to send [05:31:40]OFD Sender: No OFD packet to send [05:31:45]OFD Sender: No OFD packet to send [05:31:50]OFD Sender: No OFD packet to send [05:31:55]OFD Sender: No OFD packet to send [05:32:00]OFD Sender: No OFD packet to send [05:32:05]OFD Sender: No OFD packet to send [05:32:10]OFD Sender: No OFD packet to send [05:32:15]OFD Sender: No OFD packet to send [05:32:20]OFD Sender: No OFD packet to send [05:32:25]OFD Sender: No OFD packet to send [05:32:30]OFD Sender: No OFD packet to send [05:32:35]OFD Sender: No OFD packet to send [05:32:40]OFD Sender: No OFD packet to send [05:32:45]OFD Sender: No OFD packet to send [05:32:50]OFD Sender: No OFD packet to send [05:32:55]OFD Sender: No OFD packet to send [05:33:00]OFD Sender: No OFD packet to send [05:33:05]OFD Sender: No OFD packet to send [05:33:10]OFD Sender: No OFD packet to send [05:33:15]OFD Sender: No OFD packet to send [05:33:20]OFD Sender: No OFD packet to send [05:33:25]OFD Sender: No OFD packet to send [05:33:30]OFD Sender: No OFD packet to send [05:33:35]OFD Sender: No OFD packet to send [05:33:40]OFD Sender: No OFD packet to send [05:33:45]OFD Sender: No OFD packet to send [05:33:50]OFD Sender: No OFD packet to send [05:33:55]OFD Sender: No OFD packet to send [05:34:00]OFD Sender: No OFD packet to send [05:34:05]OFD Sender: No OFD packet to send [05:34:10]OFD Sender: No OFD packet to send [05:34:15]OFD Sender: No OFD packet to send [05:34:20]OFD Sender: No OFD packet to send [05:34:25]OFD Sender: No OFD packet to send [05:34:30]OFD Sender: No OFD packet to send [05:34:35]OFD Sender: No OFD packet to send [05:34:40]OFD Sender: No OFD packet to send [05:34:45]OFD Sender: No OFD packet to send [05:34:50]OFD Sender: No OFD packet to send [05:34:55]OFD Sender: No OFD packet to send [05:35:00]OFD Sender: No OFD packet to send [05:35:05]OFD Sender: No OFD packet to send [05:35:10]OFD Sender: No OFD packet to send [05:35:15]OFD Sender: No OFD packet to send [05:35:20]OFD Sender: No OFD packet to send [05:35:25]OFD Sender: No OFD packet to send [05:35:30]OFD Sender: No OFD packet to send [05:35:35]OFD Sender: No OFD packet to send [05:35:40]OFD Sender: No OFD packet to send [05:35:45]OFD Sender: No OFD packet to send [05:35:50]OFD Sender: No OFD packet to send [05:35:55]OFD Sender: No OFD packet to send [05:36:00]OFD Sender: No OFD packet to send [05:36:05]OFD Sender: No OFD packet to send [05:36:10]OFD Sender: No OFD packet to send [05:36:15]OFD Sender: No OFD packet to send [05:36:20]OFD Sender: No OFD packet to send [05:36:25]OFD Sender: No OFD packet to send [05:36:30]OFD Sender: No OFD packet to send [05:36:35]OFD Sender: No OFD packet to send [05:36:40]OFD Sender: No OFD packet to send [05:36:45]OFD Sender: No OFD packet to send [05:36:50]OFD Sender: No OFD packet to send [05:36:55]OFD Sender: No OFD packet to send [05:37:00]OFD Sender: No OFD packet to send [05:37:05]OFD Sender: No OFD packet to send [05:37:10]OFD Sender: No OFD packet to send [05:37:15]OFD Sender: No OFD packet to send [05:37:20]OFD Sender: No OFD packet to send [05:37:25]OFD Sender: No OFD packet to send [05:37:30]OFD Sender: No OFD packet to send [05:37:35]OFD Sender: No OFD packet to send [05:37:40]OFD Sender: No OFD packet to send [05:37:45]OFD Sender: No OFD packet to send [05:37:50]OFD Sender: No OFD packet to send [05:37:55]OFD Sender: No OFD packet to send [05:38:00]OFD Sender: No OFD packet to send [05:38:05]OFD Sender: No OFD packet to send [05:38:10]OFD Sender: No OFD packet to send [05:38:15]OFD Sender: No OFD packet to send [05:38:20]OFD Sender: No OFD packet to send [05:38:25]OFD Sender: No OFD packet to send [05:38:30]OFD Sender: No OFD packet to send [05:38:35]OFD Sender: No OFD packet to send [05:38:40]OFD Sender: No OFD packet to send [05:38:45]OFD Sender: No OFD packet to send [05:38:50]OFD Sender: No OFD packet to send [05:38:55]OFD Sender: No OFD packet to send [05:39:00]OFD Sender: No OFD packet to send [05:39:05]OFD Sender: No OFD packet to send [05:39:10]OFD Sender: No OFD packet to send [05:39:15]OFD Sender: No OFD packet to send [05:39:20]OFD Sender: No OFD packet to send [05:39:25]OFD Sender: No OFD packet to send [05:39:30]OFD Sender: No OFD packet to send [05:39:35]OFD Sender: No OFD packet to send [05:39:40]OFD Sender: No OFD packet to send [05:39:45]OFD Sender: No OFD packet to send [05:39:50]OFD Sender: No OFD packet to send [05:39:55]OFD Sender: No OFD packet to send [05:40:00]OFD Sender: No OFD packet to send [05:40:05]OFD Sender: No OFD packet to send [05:40:10]OFD Sender: No OFD packet to send [05:40:15]OFD Sender: No OFD packet to send [05:40:20]OFD Sender: No OFD packet to send [05:40:25]OFD Sender: No OFD packet to send [05:40:30]OFD Sender: No OFD packet to send [05:40:35]OFD Sender: No OFD packet to send [05:40:40]OFD Sender: No OFD packet to send [05:40:45]OFD Sender: No OFD packet to send [05:40:50]OFD Sender: No OFD packet to send [05:40:55]OFD Sender: No OFD packet to send [05:41:00]OFD Sender: No OFD packet to send [05:41:05]OFD Sender: No OFD packet to send [05:41:10]OFD Sender: No OFD packet to send [05:41:15]OFD Sender: No OFD packet to send [05:41:20]OFD Sender: No OFD packet to send [05:41:25]OFD Sender: No OFD packet to send [05:41:30]OFD Sender: No OFD packet to send [05:41:35]OFD Sender: No OFD packet to send [05:41:40]OFD Sender: No OFD packet to send [05:41:45]OFD Sender: No OFD packet to send [05:41:50]OFD Sender: No OFD packet to send [05:41:55]OFD Sender: No OFD packet to send [05:42:00]OFD Sender: No OFD packet to send [05:42:05]OFD Sender: No OFD packet to send [05:42:10]OFD Sender: No OFD packet to send [05:42:15]OFD Sender: No OFD packet to send [05:42:20]OFD Sender: No OFD packet to send [05:42:25]OFD Sender: No OFD packet to send [05:42:30]OFD Sender: No OFD packet to send [05:42:35]OFD Sender: No OFD packet to send [05:42:40]OFD Sender: No OFD packet to send [05:42:45]OFD Sender: No OFD packet to send [05:42:50]OFD Sender: No OFD packet to send [05:42:55]OFD Sender: No OFD packet to send [05:43:00]OFD Sender: No OFD packet to send [05:43:05]OFD Sender: No OFD packet to send [05:43:10]OFD Sender: No OFD packet to send [05:43:15]OFD Sender: No OFD packet to send [05:43:20]OFD Sender: No OFD packet to send [05:43:25]OFD Sender: No OFD packet to send [05:43:30]OFD Sender: No OFD packet to send [05:43:35]OFD Sender: No OFD packet to send [05:43:40]OFD Sender: No OFD packet to send [05:43:45]OFD Sender: No OFD packet to send [05:43:50]OFD Sender: No OFD packet to send [05:43:55]OFD Sender: No OFD packet to send [05:44:00]OFD Sender: No OFD packet to send [05:44:05]OFD Sender: No OFD packet to send [05:44:10]OFD Sender: No OFD packet to send [05:44:15]OFD Sender: No OFD packet to send [05:44:20]OFD Sender: No OFD packet to send [05:44:25]OFD Sender: No OFD packet to send [05:44:30]OFD Sender: No OFD packet to send [05:44:35]OFD Sender: No OFD packet to send [05:44:40]OFD Sender: No OFD packet to send [05:44:45]OFD Sender: No OFD packet to send [05:44:50]OFD Sender: No OFD packet to send [05:44:55]OFD Sender: No OFD packet to send [05:45:00]OFD Sender: No OFD packet to send [05:45:05]OFD Sender: No OFD packet to send [05:45:10]OFD Sender: No OFD packet to send [05:45:15]OFD Sender: No OFD packet to send [05:45:20]OFD Sender: No OFD packet to send [05:45:25]OFD Sender: No OFD packet to send [05:45:30]OFD Sender: No OFD packet to send [05:45:35]OFD Sender: No OFD packet to send [05:45:40]OFD Sender: No OFD packet to send [05:45:45]OFD Sender: No OFD packet to send [05:45:50]OFD Sender: No OFD packet to send [05:45:55]OFD Sender: No OFD packet to send [05:46:00]OFD Sender: No OFD packet to send [05:46:05]OFD Sender: No OFD packet to send [05:46:10]OFD Sender: No OFD packet to send [05:46:15]OFD Sender: No OFD packet to send [05:46:20]OFD Sender: No OFD packet to send [05:46:25]OFD Sender: No OFD packet to send [05:46:30]OFD Sender: No OFD packet to send [05:46:35]OFD Sender: No OFD packet to send [05:46:40]OFD Sender: No OFD packet to send [05:46:45]OFD Sender: No OFD packet to send [05:46:50]OFD Sender: No OFD packet to send [05:46:55]OFD Sender: No OFD packet to send [05:47:00]OFD Sender: No OFD packet to send [05:47:05]OFD Sender: No OFD packet to send [05:47:10]OFD Sender: No OFD packet to send [05:47:16]OFD Sender: No OFD packet to send [05:47:21]OFD Sender: No OFD packet to send [05:47:26]OFD Sender: No OFD packet to send [05:47:31]OFD Sender: No OFD packet to send [05:47:36]OFD Sender: No OFD packet to send [05:47:41]OFD Sender: No OFD packet to send [05:47:46]OFD Sender: No OFD packet to send [05:47:51]OFD Sender: No OFD packet to send [05:47:56]OFD Sender: No OFD packet to send [05:48:01]OFD Sender: No OFD packet to send [05:48:06]OFD Sender: No OFD packet to send [05:48:11]OFD Sender: No OFD packet to send [05:48:16]OFD Sender: No OFD packet to send [05:48:21]OFD Sender: No OFD packet to send [05:48:26]OFD Sender: No OFD packet to send [05:48:31]OFD Sender: No OFD packet to send [05:48:36]OFD Sender: No OFD packet to send [05:48:41]OFD Sender: No OFD packet to send [05:48:46]OFD Sender: No OFD packet to send [05:48:51]OFD Sender: No OFD packet to send [05:48:56]OFD Sender: No OFD packet to send [05:49:01]OFD Sender: No OFD packet to send [05:49:06]OFD Sender: No OFD packet to send [05:49:11]OFD Sender: No OFD packet to send [05:49:16]OFD Sender: No OFD packet to send [05:49:21]OFD Sender: No OFD packet to send [05:49:26]OFD Sender: No OFD packet to send [05:49:31]OFD Sender: No OFD packet to send [05:49:36]OFD Sender: No OFD packet to send [05:49:41]OFD Sender: No OFD packet to send [05:49:46]OFD Sender: No OFD packet to send [05:49:51]OFD Sender: No OFD packet to send [05:49:56]OFD Sender: No OFD packet to send [05:50:01]OFD Sender: No OFD packet to send [05:50:06]OFD Sender: No OFD packet to send [05:50:11]OFD Sender: No OFD packet to send [05:50:16]OFD Sender: No OFD packet to send [05:50:21]OFD Sender: No OFD packet to send [05:50:26]OFD Sender: No OFD packet to send [05:50:31]OFD Sender: No OFD packet to send [05:50:36]OFD Sender: No OFD packet to send [05:50:41]OFD Sender: No OFD packet to send [05:50:46]OFD Sender: No OFD packet to send [05:50:51]OFD Sender: No OFD packet to send [05:50:56]OFD Sender: No OFD packet to send [05:51:01]OFD Sender: No OFD packet to send [05:51:06]OFD Sender: No OFD packet to send [05:51:11]OFD Sender: No OFD packet to send [05:51:16]OFD Sender: No OFD packet to send [05:51:21]OFD Sender: No OFD packet to send [05:51:26]OFD Sender: No OFD packet to send [05:51:31]OFD Sender: No OFD packet to send [05:51:36]OFD Sender: No OFD packet to send [05:51:41]OFD Sender: No OFD packet to send [05:51:46]OFD Sender: No OFD packet to send [05:51:51]OFD Sender: No OFD packet to send [05:51:56]OFD Sender: No OFD packet to send [05:52:01]OFD Sender: No OFD packet to send [05:52:06]OFD Sender: No OFD packet to send [05:52:11]OFD Sender: No OFD packet to send [05:52:16]OFD Sender: No OFD packet to send [05:52:21]OFD Sender: No OFD packet to send [05:52:26]OFD Sender: No OFD packet to send [05:52:31]OFD Sender: No OFD packet to send [05:52:36]OFD Sender: No OFD packet to send [05:52:41]OFD Sender: No OFD packet to send [05:52:46]OFD Sender: No OFD packet to send [05:52:51]OFD Sender: No OFD packet to send [05:52:56]OFD Sender: No OFD packet to send [05:53:01]OFD Sender: No OFD packet to send [05:53:06]OFD Sender: No OFD packet to send [05:53:11]OFD Sender: No OFD packet to send [05:53:16]OFD Sender: No OFD packet to send [05:53:21]OFD Sender: No OFD packet to send [05:53:26]OFD Sender: No OFD packet to send [05:53:31]OFD Sender: No OFD packet to send [05:53:36]OFD Sender: No OFD packet to send [05:53:41]OFD Sender: No OFD packet to send [05:53:46]OFD Sender: No OFD packet to send [05:53:51]OFD Sender: No OFD packet to send [05:53:56]OFD Sender: No OFD packet to send [05:54:01]OFD Sender: No OFD packet to send [05:54:06]OFD Sender: No OFD packet to send [05:54:11]OFD Sender: No OFD packet to send [05:54:16]OFD Sender: No OFD packet to send [05:54:21]OFD Sender: No OFD packet to send [05:54:26]OFD Sender: No OFD packet to send [05:54:31]OFD Sender: No OFD packet to send [05:54:36]OFD Sender: No OFD packet to send [05:54:41]OFD Sender: No OFD packet to send [05:54:46]OFD Sender: No OFD packet to send [05:54:51]OFD Sender: No OFD packet to send [05:54:56]OFD Sender: No OFD packet to send [05:55:01]OFD Sender: No OFD packet to send [05:55:06]OFD Sender: No OFD packet to send [05:55:11]OFD Sender: No OFD packet to send [05:55:16]OFD Sender: No OFD packet to send [05:55:21]OFD Sender: No OFD packet to send [05:55:26]OFD Sender: No OFD packet to send [05:55:31]OFD Sender: No OFD packet to send [05:55:36]OFD Sender: No OFD packet to send [05:55:41]OFD Sender: No OFD packet to send [05:55:46]OFD Sender: No OFD packet to send [05:55:51]OFD Sender: No OFD packet to send [05:55:56]OFD Sender: No OFD packet to send [05:56:01]OFD Sender: No OFD packet to send [05:56:06]OFD Sender: No OFD packet to send [05:56:11]OFD Sender: No OFD packet to send [05:56:16]OFD Sender: No OFD packet to send [05:56:21]OFD Sender: No OFD packet to send [05:56:26]OFD Sender: No OFD packet to send [05:56:31]OFD Sender: No OFD packet to send [05:56:36]OFD Sender: No OFD packet to send [05:56:41]OFD Sender: No OFD packet to send [05:56:46]OFD Sender: No OFD packet to send [05:56:51]OFD Sender: No OFD packet to send [05:56:56]OFD Sender: No OFD packet to send [05:57:01]OFD Sender: No OFD packet to send [05:57:06]OFD Sender: No OFD packet to send [05:57:11]OFD Sender: No OFD packet to send [05:57:16]OFD Sender: No OFD packet to send [05:57:21]OFD Sender: No OFD packet to send [05:57:26]OFD Sender: No OFD packet to send [05:57:31]OFD Sender: No OFD packet to send [05:57:36]OFD Sender: No OFD packet to send [05:57:41]OFD Sender: No OFD packet to send [05:57:46]OFD Sender: No OFD packet to send [05:57:51]OFD Sender: No OFD packet to send [05:57:56]OFD Sender: No OFD packet to send [05:58:01]OFD Sender: No OFD packet to send [05:58:06]OFD Sender: No OFD packet to send [05:58:11]OFD Sender: No OFD packet to send [05:58:16]OFD Sender: No OFD packet to send [05:58:21]OFD Sender: No OFD packet to send [05:58:26]OFD Sender: No OFD packet to send [05:58:31]OFD Sender: No OFD packet to send [05:58:36]OFD Sender: No OFD packet to send [05:58:41]OFD Sender: No OFD packet to send [05:58:46]OFD Sender: No OFD packet to send [05:58:51]OFD Sender: No OFD packet to send [05:58:56]OFD Sender: No OFD packet to send [05:59:01]OFD Sender: No OFD packet to send [05:59:06]OFD Sender: No OFD packet to send [05:59:11]OFD Sender: No OFD packet to send [05:59:16]OFD Sender: No OFD packet to send [05:59:21]OFD Sender: No OFD packet to send [05:59:26]OFD Sender: No OFD packet to send [05:59:31]OFD Sender: No OFD packet to send [05:59:36]OFD Sender: No OFD packet to send [05:59:41]OFD Sender: No OFD packet to send [05:59:46]OFD Sender: No OFD packet to send [05:59:51]OFD Sender: No OFD packet to send [05:59:56]OFD Sender: No OFD packet to send [06:00:01]OFD Sender: No OFD packet to send [06:00:06]OFD Sender: No OFD packet to send [06:00:11]OFD Sender: No OFD packet to send [06:00:16]OFD Sender: No OFD packet to send [06:00:21]OFD Sender: No OFD packet to send [06:00:26]OFD Sender: No OFD packet to send [06:00:31]OFD Sender: No OFD packet to send [06:00:36]OFD Sender: No OFD packet to send [06:00:41]OFD Sender: No OFD packet to send [06:00:46]OFD Sender: No OFD packet to send [06:00:51]OFD Sender: No OFD packet to send [06:00:56]OFD Sender: No OFD packet to send [06:01:01]OFD Sender: No OFD packet to send [06:01:06]OFD Sender: No OFD packet to send [06:01:11]OFD Sender: No OFD packet to send [06:01:16]OFD Sender: No OFD packet to send [06:01:21]OFD Sender: No OFD packet to send [06:01:26]OFD Sender: No OFD packet to send [06:01:31]OFD Sender: No OFD packet to send [06:01:36]OFD Sender: No OFD packet to send [06:01:41]OFD Sender: No OFD packet to send [06:01:46]OFD Sender: No OFD packet to send [06:01:51]OFD Sender: No OFD packet to send [06:01:56]OFD Sender: No OFD packet to send [06:02:01]OFD Sender: No OFD packet to send [06:02:06]OFD Sender: No OFD packet to send [06:02:11]OFD Sender: No OFD packet to send [06:02:16]OFD Sender: No OFD packet to send [06:02:21]OFD Sender: No OFD packet to send [06:02:26]OFD Sender: No OFD packet to send [06:02:31]OFD Sender: No OFD packet to send [06:02:36]OFD Sender: No OFD packet to send [06:02:41]OFD Sender: No OFD packet to send [06:02:46]OFD Sender: No OFD packet to send [06:02:51]OFD Sender: No OFD packet to send [06:02:56]OFD Sender: No OFD packet to send [06:03:01]OFD Sender: No OFD packet to send [06:03:06]OFD Sender: No OFD packet to send [06:03:11]OFD Sender: No OFD packet to send [06:03:16]OFD Sender: No OFD packet to send [06:03:21]OFD Sender: No OFD packet to send [06:03:26]OFD Sender: No OFD packet to send [06:03:31]OFD Sender: No OFD packet to send [06:03:36]OFD Sender: No OFD packet to send [06:03:41]OFD Sender: No OFD packet to send [06:03:46]OFD Sender: No OFD packet to send [06:03:51]OFD Sender: No OFD packet to send [06:03:56]OFD Sender: No OFD packet to send [06:04:01]OFD Sender: No OFD packet to send [06:04:06]OFD Sender: No OFD packet to send [06:04:11]OFD Sender: No OFD packet to send [06:04:16]OFD Sender: No OFD packet to send [06:04:21]OFD Sender: No OFD packet to send [06:04:26]OFD Sender: No OFD packet to send [06:04:31]OFD Sender: No OFD packet to send [06:04:36]OFD Sender: No OFD packet to send [06:04:41]OFD Sender: No OFD packet to send [06:04:46]OFD Sender: No OFD packet to send [06:04:51]OFD Sender: No OFD packet to send [06:04:56]OFD Sender: No OFD packet to send [06:05:01]OFD Sender: No OFD packet to send [06:05:06]OFD Sender: No OFD packet to send [06:05:12]OFD Sender: No OFD packet to send [06:05:17]OFD Sender: No OFD packet to send [06:05:22]OFD Sender: No OFD packet to send [06:05:27]OFD Sender: No OFD packet to send [06:05:32]OFD Sender: No OFD packet to send [06:05:37]OFD Sender: No OFD packet to send [06:05:42]OFD Sender: No OFD packet to send [06:05:47]OFD Sender: No OFD packet to send [06:05:52]OFD Sender: No OFD packet to send [06:05:57]OFD Sender: No OFD packet to send [06:06:02]OFD Sender: No OFD packet to send [06:06:07]OFD Sender: No OFD packet to send [06:06:12]OFD Sender: No OFD packet to send [06:06:17]OFD Sender: No OFD packet to send [06:06:22]OFD Sender: No OFD packet to send [06:06:27]OFD Sender: No OFD packet to send [06:06:32]OFD Sender: No OFD packet to send [06:06:37]OFD Sender: No OFD packet to send [06:06:42]OFD Sender: No OFD packet to send [06:06:47]OFD Sender: No OFD packet to send [06:06:52]OFD Sender: No OFD packet to send [06:06:57]OFD Sender: No OFD packet to send [06:07:02]OFD Sender: No OFD packet to send [06:07:07]OFD Sender: No OFD packet to send [06:07:12]OFD Sender: No OFD packet to send [06:07:17]OFD Sender: No OFD packet to send [06:07:22]OFD Sender: No OFD packet to send [06:07:27]OFD Sender: No OFD packet to send [06:07:32]OFD Sender: No OFD packet to send [06:07:37]OFD Sender: No OFD packet to send [06:07:42]OFD Sender: No OFD packet to send [06:07:47]OFD Sender: No OFD packet to send [06:07:52]OFD Sender: No OFD packet to send [06:07:57]OFD Sender: No OFD packet to send [06:08:02]OFD Sender: No OFD packet to send [06:08:07]OFD Sender: No OFD packet to send [06:08:12]OFD Sender: No OFD packet to send [06:08:17]OFD Sender: No OFD packet to send [06:08:22]OFD Sender: No OFD packet to send [06:08:27]OFD Sender: No OFD packet to send [06:08:32]OFD Sender: No OFD packet to send [06:08:37]OFD Sender: No OFD packet to send [06:08:42]OFD Sender: No OFD packet to send [06:08:47]OFD Sender: No OFD packet to send [06:08:52]OFD Sender: No OFD packet to send [06:08:57]OFD Sender: No OFD packet to send [06:09:02]OFD Sender: No OFD packet to send [06:09:07]OFD Sender: No OFD packet to send [06:09:12]OFD Sender: No OFD packet to send [06:09:17]OFD Sender: No OFD packet to send [06:09:22]OFD Sender: No OFD packet to send [06:09:27]OFD Sender: No OFD packet to send [06:09:32]OFD Sender: No OFD packet to send [06:09:37]OFD Sender: No OFD packet to send [06:09:42]OFD Sender: No OFD packet to send [06:09:47]OFD Sender: No OFD packet to send [06:09:52]OFD Sender: No OFD packet to send [06:09:57]OFD Sender: No OFD packet to send [06:10:02]OFD Sender: No OFD packet to send [06:10:07]OFD Sender: No OFD packet to send [06:10:12]OFD Sender: No OFD packet to send [06:10:17]OFD Sender: No OFD packet to send [06:10:22]OFD Sender: No OFD packet to send [06:10:27]OFD Sender: No OFD packet to send [06:10:32]OFD Sender: No OFD packet to send [06:10:37]OFD Sender: No OFD packet to send [06:10:42]OFD Sender: No OFD packet to send [06:10:47]OFD Sender: No OFD packet to send [06:10:52]OFD Sender: No OFD packet to send [06:10:57]OFD Sender: No OFD packet to send [06:11:02]OFD Sender: No OFD packet to send [06:11:07]OFD Sender: No OFD packet to send [06:11:12]OFD Sender: No OFD packet to send [06:11:17]OFD Sender: No OFD packet to send [06:11:22]OFD Sender: No OFD packet to send [06:11:27]OFD Sender: No OFD packet to send [06:11:32]OFD Sender: No OFD packet to send [06:11:37]OFD Sender: No OFD packet to send [06:11:42]OFD Sender: No OFD packet to send [06:11:47]OFD Sender: No OFD packet to send [06:11:52]OFD Sender: No OFD packet to send [06:11:57]OFD Sender: No OFD packet to send [06:12:02]OFD Sender: No OFD packet to send [06:12:07]OFD Sender: No OFD packet to send [06:12:12]OFD Sender: No OFD packet to send [06:12:17]OFD Sender: No OFD packet to send [06:12:22]OFD Sender: No OFD packet to send [06:12:27]OFD Sender: No OFD packet to send [06:12:32]OFD Sender: No OFD packet to send [06:12:37]OFD Sender: No OFD packet to send [06:12:42]OFD Sender: No OFD packet to send [06:12:47]OFD Sender: No OFD packet to send [06:12:52]OFD Sender: No OFD packet to send [06:12:57]OFD Sender: No OFD packet to send [06:13:02]OFD Sender: No OFD packet to send [06:13:07]OFD Sender: No OFD packet to send [06:13:12]OFD Sender: No OFD packet to send [06:13:17]OFD Sender: No OFD packet to send [06:13:22]OFD Sender: No OFD packet to send [06:13:27]OFD Sender: No OFD packet to send [06:13:32]OFD Sender: No OFD packet to send [06:13:37]OFD Sender: No OFD packet to send [06:13:42]OFD Sender: No OFD packet to send [06:13:47]OFD Sender: No OFD packet to send [06:13:52]OFD Sender: No OFD packet to send [06:13:57]OFD Sender: No OFD packet to send [06:14:02]OFD Sender: No OFD packet to send [06:14:07]OFD Sender: No OFD packet to send [06:14:12]OFD Sender: No OFD packet to send [06:14:17]OFD Sender: No OFD packet to send [06:14:22]OFD Sender: No OFD packet to send [06:14:27]OFD Sender: No OFD packet to send [06:14:32]OFD Sender: No OFD packet to send [06:14:37]OFD Sender: No OFD packet to send [06:14:42]OFD Sender: No OFD packet to send [06:14:47]OFD Sender: No OFD packet to send [06:14:52]OFD Sender: No OFD packet to send [06:14:57]OFD Sender: No OFD packet to send [06:15:02]OFD Sender: No OFD packet to send [06:15:07]OFD Sender: No OFD packet to send [06:15:12]OFD Sender: No OFD packet to send [06:15:17]OFD Sender: No OFD packet to send [06:15:22]OFD Sender: No OFD packet to send [06:15:27]OFD Sender: No OFD packet to send [06:15:32]OFD Sender: No OFD packet to send [06:15:37]OFD Sender: No OFD packet to send [06:15:42]OFD Sender: No OFD packet to send [06:15:47]OFD Sender: No OFD packet to send [06:15:52]OFD Sender: No OFD packet to send [06:15:57]OFD Sender: No OFD packet to send [06:16:02]OFD Sender: No OFD packet to send [06:16:07]OFD Sender: No OFD packet to send [06:16:12]OFD Sender: No OFD packet to send [06:16:17]OFD Sender: No OFD packet to send [06:16:22]OFD Sender: No OFD packet to send [06:16:27]OFD Sender: No OFD packet to send [06:16:32]OFD Sender: No OFD packet to send [06:16:37]OFD Sender: No OFD packet to send [06:16:42]OFD Sender: No OFD packet to send [06:16:47]OFD Sender: No OFD packet to send [06:16:52]OFD Sender: No OFD packet to send [06:16:57]OFD Sender: No OFD packet to send [06:17:02]OFD Sender: No OFD packet to send [06:17:07]OFD Sender: No OFD packet to send [06:17:12]OFD Sender: No OFD packet to send [06:17:17]OFD Sender: No OFD packet to send [06:17:22]OFD Sender: No OFD packet to send [06:17:27]OFD Sender: No OFD packet to send [06:17:32]OFD Sender: No OFD packet to send [06:17:37]OFD Sender: No OFD packet to send [06:17:42]OFD Sender: No OFD packet to send [06:17:47]OFD Sender: No OFD packet to send [06:17:52]OFD Sender: No OFD packet to send [06:17:57]OFD Sender: No OFD packet to send [06:18:02]OFD Sender: No OFD packet to send [06:18:07]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:08]OFD Sender: No OFD packet to send [06:23:13]OFD Sender: No OFD packet to send [06:23:18]OFD Sender: No OFD packet to send [06:23:23]OFD Sender: No OFD packet to send [06:23:28]OFD Sender: No OFD packet to send [06:23:33]OFD Sender: No OFD packet to send [06:23:38]OFD Sender: No OFD packet to send [06:23:43]OFD Sender: No OFD packet to send [06:23:48]OFD Sender: No OFD packet to send [06:23:53]OFD Sender: No OFD packet to send [06:23:58]OFD Sender: No OFD packet to send [06:24:03]OFD Sender: No OFD packet to send [06:24:08]OFD Sender: No OFD packet to send [06:24:13]OFD Sender: No OFD packet to send [06:24:18]OFD Sender: No OFD packet to send [06:24:23]OFD Sender: No OFD packet to send [06:24:28]OFD Sender: No OFD packet to send [06:24:33]OFD Sender: No OFD packet to send [06:24:38]OFD Sender: No OFD packet to send [06:24:43]OFD Sender: No OFD packet to send [06:24:48]OFD Sender: No OFD packet to send [06:24:53]OFD Sender: No OFD packet to send [06:24:58]OFD Sender: No OFD packet to send [06:25:03]OFD Sender: No OFD packet to send [06:25:08]OFD Sender: No OFD packet to send [06:25:13]OFD Sender: No OFD packet to send [06:25:18]OFD Sender: No OFD packet to send [06:25:23]OFD Sender: No OFD packet to send [06:25:28]OFD Sender: No OFD packet to send [06:25:33]OFD Sender: No OFD packet to send [06:25:38]OFD Sender: No OFD packet to send [06:25:43]OFD Sender: No OFD packet to send [06:25:48]OFD Sender: No OFD packet to send [06:25:53]OFD Sender: No OFD packet to send [06:25:58]OFD Sender: No OFD packet to send [06:26:03]OFD Sender: No OFD packet to send [06:26:08]OFD Sender: No OFD packet to send [06:26:13]OFD Sender: No OFD packet to send [06:26:18]OFD Sender: No OFD packet to send [06:26:23]OFD Sender: No OFD packet to send [06:26:28]OFD Sender: No OFD packet to send [06:26:33]OFD Sender: No OFD packet to send [06:26:38]OFD Sender: No OFD packet to send [06:26:43]OFD Sender: No OFD packet to send [06:26:48]OFD Sender: No OFD packet to send [06:26:53]OFD Sender: No OFD packet to send [06:26:58]OFD Sender: No OFD packet to send [06:27:03]OFD Sender: No OFD packet to send [06:27:08]OFD Sender: No OFD packet to send [06:27:13]OFD Sender: No OFD packet to send [06:27:18]OFD Sender: No OFD packet to send [06:27:23]OFD Sender: No OFD packet to send [06:27:28]OFD Sender: No OFD packet to send [06:27:33]OFD Sender: No OFD packet to send [06:27:38]OFD Sender: No OFD packet to send [06:27:43]OFD Sender: No OFD packet to send [06:27:48]OFD Sender: No OFD packet to send [06:27:53]OFD Sender: No OFD packet to send [06:27:58]OFD Sender: No OFD packet to send [06:28:03]OFD Sender: No OFD packet to send [06:28:08]OFD Sender: No OFD packet to send [06:28:13]OFD Sender: No OFD packet to send [06:28:18]OFD Sender: No OFD packet to send [06:28:23]OFD Sender: No OFD packet to send [06:28:28]OFD Sender: No OFD packet to send [06:28:33]OFD Sender: No OFD packet to send [06:28:38]OFD Sender: No OFD packet to send [06:28:43]OFD Sender: No OFD packet to send [06:28:48]OFD Sender: No OFD packet to send [06:28:53]OFD Sender: No OFD packet to send [06:28:58]OFD Sender: No OFD packet to send [06:29:03]OFD Sender: No OFD packet to send [06:29:08]OFD Sender: No OFD packet to send [06:29:13]OFD Sender: No OFD packet to send [06:29:18]OFD Sender: No OFD packet to send [06:29:23]OFD Sender: No OFD packet to send [06:29:28]OFD Sender: No OFD packet to send [06:29:33]OFD Sender: No OFD packet to send [06:29:38]OFD Sender: No OFD packet to send [06:29:43]OFD Sender: No OFD packet to send [06:29:48]OFD Sender: No OFD packet to send [06:29:53]OFD Sender: No OFD packet to send [06:29:58]OFD Sender: No OFD packet to send [06:30:03]OFD Sender: No OFD packet to send [06:30:08]OFD Sender: No OFD packet to send [06:30:13]OFD Sender: No OFD packet to send [06:30:18]OFD Sender: No OFD packet to send [06:30:23]OFD Sender: No OFD packet to send [06:30:28]OFD Sender: No OFD packet to send [06:30:33]OFD Sender: No OFD packet to send [06:30:38]OFD Sender: No OFD packet to send [06:30:43]OFD Sender: No OFD packet to send [06:30:48]OFD Sender: No OFD packet to send [06:30:53]OFD Sender: No OFD packet to send [06:30:58]OFD Sender: No OFD packet to send [06:31:03]OFD Sender: No OFD packet to send [06:31:08]OFD Sender: No OFD packet to send [06:31:13]OFD Sender: No OFD packet to send [06:31:18]OFD Sender: No OFD packet to send [06:31:23]OFD Sender: No OFD packet to send [06:31:28]OFD Sender: No OFD packet to send [06:31:33]OFD Sender: No OFD packet to send [06:31:38]OFD Sender: No OFD packet to send [06:31:43]OFD Sender: No OFD packet to send [06:31:48]OFD Sender: No OFD packet to send [06:31:53]OFD Sender: No OFD packet to send [06:31:58]OFD Sender: No OFD packet to send [06:32:03]OFD Sender: No OFD packet to send [06:32:08]OFD Sender: No OFD packet to send [06:32:13]OFD Sender: No OFD packet to send [06:32:18]OFD Sender: No OFD packet to send [06:32:23]OFD Sender: No OFD packet to send [06:32:28]OFD Sender: No OFD packet to send [06:32:33]OFD Sender: No OFD packet to send [06:32:38]OFD Sender: No OFD packet to send [06:32:43]OFD Sender: No OFD packet to send [06:32:48]OFD Sender: No OFD packet to send [06:32:53]OFD Sender: No OFD packet to send [06:32:58]OFD Sender: No OFD packet to send [06:33:03]OFD Sender: No OFD packet to send [06:33:08]OFD Sender: No OFD packet to send [06:33:13]OFD Sender: No OFD packet to send [06:33:18]OFD Sender: No OFD packet to send [06:33:23]OFD Sender: No OFD packet to send [06:33:28]OFD Sender: No OFD packet to send [06:33:33]OFD Sender: No OFD packet to send [06:33:38]OFD Sender: No OFD packet to send [06:33:43]OFD Sender: No OFD packet to send [06:33:48]OFD Sender: No OFD packet to send [06:33:53]OFD Sender: No OFD packet to send [06:33:58]OFD Sender: No OFD packet to send [06:34:03]OFD Sender: No OFD packet to send [06:34:08]OFD Sender: No OFD packet to send [06:34:13]OFD Sender: No OFD packet to send [06:34:18]OFD Sender: No OFD packet to send [06:34:23]OFD Sender: No OFD packet to send [06:34:28]OFD Sender: No OFD packet to send [06:34:33]OFD Sender: No OFD packet to send [06:34:38]OFD Sender: No OFD packet to send [06:34:43]OFD Sender: No OFD packet to send [06:34:48]OFD Sender: No OFD packet to send [06:34:53]OFD Sender: No OFD packet to send [06:34:58]OFD Sender: No OFD packet to send [06:35:03]OFD Sender: No OFD packet to send [06:35:08]OFD Sender: No OFD packet to send [06:35:13]OFD Sender: No OFD packet to send [06:35:18]OFD Sender: No OFD packet to send [06:35:23]OFD Sender: No OFD packet to send [06:35:28]OFD Sender: No OFD packet to send [06:35:33]OFD Sender: No OFD packet to send [06:35:38]OFD Sender: No OFD packet to send [06:35:43]OFD Sender: No OFD packet to send [06:35:48]OFD Sender: No OFD packet to send [06:35:53]OFD Sender: No OFD packet to send [06:35:58]OFD Sender: No OFD packet to send [06:36:03]OFD Sender: No OFD packet to send [06:36:08]OFD Sender: No OFD packet to send [06:36:13]OFD Sender: No OFD packet to send [06:36:18]OFD Sender: No OFD packet to send [06:36:23]OFD Sender: No OFD packet to send [06:36:28]OFD Sender: No OFD packet to send [06:36:33]OFD Sender: No OFD packet to send [06:36:38]OFD Sender: No OFD packet to send [06:36:43]OFD Sender: No OFD packet to send [06:36:48]OFD Sender: No OFD packet to send [06:36:53]OFD Sender: No OFD packet to send [06:36:58]OFD Sender: No OFD packet to send [06:37:03]OFD Sender: No OFD packet to send [06:37:08]OFD Sender: No OFD packet to send [06:37:13]OFD Sender: No OFD packet to send [06:37:18]OFD Sender: No OFD packet to send [06:37:23]OFD Sender: No OFD packet to send [06:37:28]OFD Sender: No OFD packet to send [06:37:33]OFD Sender: No OFD packet to send [06:37:38]OFD Sender: No OFD packet to send [06:37:43]OFD Sender: No OFD packet to send [06:37:48]OFD Sender: No OFD packet to send [06:37:53]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:18]OFD Sender: No OFD packet to send [06:38:23]OFD Sender: No OFD packet to send [06:38:28]OFD Sender: No OFD packet to send [06:38:33]OFD Sender: No OFD packet to send [06:38:38]OFD Sender: No OFD packet to send [06:38:43]OFD Sender: No OFD packet to send [06:38:48]OFD Sender: No OFD packet to send [06:38:53]OFD Sender: No OFD packet to send [06:38:58]OFD Sender: No OFD packet to send [06:39:03]OFD Sender: No OFD packet to send [06:39:08]OFD Sender: No OFD packet to send [06:39:13]OFD Sender: No OFD packet to send [06:39:18]OFD Sender: No OFD packet to send [06:39:23]OFD Sender: No OFD packet to send [06:39:28]OFD Sender: No OFD packet to send [06:39:33]OFD Sender: No OFD packet to send [06:39:38]OFD Sender: No OFD packet to send [06:39:43]OFD Sender: No OFD packet to send [06:39:48]OFD Sender: No OFD packet to send [06:39:53]OFD Sender: No OFD packet to send [06:39:58]OFD Sender: No OFD packet to send [06:40:03]OFD Sender: No OFD packet to send [06:40:08]OFD Sender: No OFD packet to send [06:40:13]OFD Sender: No OFD packet to send [06:40:18]OFD Sender: No OFD packet to send [06:40:23]OFD Sender: No OFD packet to send [06:40:28]OFD Sender: No OFD packet to send [06:40:33]OFD Sender: No OFD packet to send [06:40:38]OFD Sender: No OFD packet to send [06:40:43]OFD Sender: No OFD packet to send [06:40:48]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:04]OFD Sender: No OFD packet to send [06:41:09]OFD Sender: No OFD packet to send [06:41:14]OFD Sender: No OFD packet to send [06:41:19]OFD Sender: No OFD packet to send [06:41:24]OFD Sender: No OFD packet to send [06:41:29]OFD Sender: No OFD packet to send [06:41:34]OFD Sender: No OFD packet to send [06:41:39]OFD Sender: No OFD packet to send [06:41:44]OFD Sender: No OFD packet to send [06:41:49]OFD Sender: No OFD packet to send [06:41:54]OFD Sender: No OFD packet to send [06:41:59]OFD Sender: No OFD packet to send [06:42:04]OFD Sender: No OFD packet to send [06:42:09]OFD Sender: No OFD packet to send [06:42:14]OFD Sender: No OFD packet to send [06:42:19]OFD Sender: No OFD packet to send [06:42:24]OFD Sender: No OFD packet to send [06:42:29]OFD Sender: No OFD packet to send [06:42:34]OFD Sender: No OFD packet to send [06:42:39]OFD Sender: No OFD packet to send [06:42:44]OFD Sender: No OFD packet to send [06:42:49]OFD Sender: No OFD packet to send [06:42:54]OFD Sender: No OFD packet to send [06:42:59]OFD Sender: No OFD packet to send [06:43:04]OFD Sender: No OFD packet to send [06:43:09]OFD Sender: No OFD packet to send [06:43:14]OFD Sender: No OFD packet to send [06:43:19]OFD Sender: No OFD packet to send [06:43:24]OFD Sender: No OFD packet to send [06:43:29]OFD Sender: No OFD packet to send [06:43:34]OFD Sender: No OFD packet to send [06:43:39]OFD Sender: No OFD packet to send [06:43:44]OFD Sender: No OFD packet to send [06:43:49]OFD Sender: No OFD packet to send [06:43:54]OFD Sender: No OFD packet to send [06:43:59]OFD Sender: No OFD packet to send [06:44:04]OFD Sender: No OFD packet to send [06:44:09]OFD Sender: No OFD packet to send [06:44:14]OFD Sender: No OFD packet to send [06:44:19]OFD Sender: No OFD packet to send [06:44:24]OFD Sender: No OFD packet to send [06:44:29]OFD Sender: No OFD packet to send [06:44:34]OFD Sender: No OFD packet to send [06:44:39]OFD Sender: No OFD packet to send [06:44:44]OFD Sender: No OFD packet to send [06:44:49]OFD Sender: No OFD packet to send [06:44:54]OFD Sender: No OFD packet to send [06:44:59]OFD Sender: No OFD packet to send [06:45:04]OFD Sender: No OFD packet to send [06:45:09]OFD Sender: No OFD packet to send [06:45:14]OFD Sender: No OFD packet to send [06:45:19]OFD Sender: No OFD packet to send [06:45:24]OFD Sender: No OFD packet to send [06:45:29]OFD Sender: No OFD packet to send [06:45:34]OFD Sender: No OFD packet to send [06:45:39]OFD Sender: No OFD packet to send [06:45:44]OFD Sender: No OFD packet to send [06:45:49]OFD Sender: No OFD packet to send [06:45:54]OFD Sender: No OFD packet to send [06:45:59]OFD Sender: No OFD packet to send [06:46:04]OFD Sender: No OFD packet to send [06:46:09]OFD Sender: No OFD packet to send [06:46:14]OFD Sender: No OFD packet to send [06:46:19]OFD Sender: No OFD packet to send [06:46:24]OFD Sender: No OFD packet to send [06:46:29]OFD Sender: No OFD packet to send [06:46:34]OFD Sender: No OFD packet to send [06:46:39]OFD Sender: No OFD packet to send [06:46:44]OFD Sender: No OFD packet to send [06:46:49]OFD Sender: No OFD packet to send [06:46:54]OFD Sender: No OFD packet to send [06:46:59]OFD Sender: No OFD packet to send [06:47:04]OFD Sender: No OFD packet to send [06:47:09]OFD Sender: No OFD packet to send [06:47:14]OFD Sender: No OFD packet to send [06:47:19]OFD Sender: No OFD packet to send [06:47:24]OFD Sender: No OFD packet to send [06:47:29]OFD Sender: No OFD packet to send [06:47:34]OFD Sender: No OFD packet to send [06:47:39]OFD Sender: No OFD packet to send [06:47:44]OFD Sender: No OFD packet to send [06:47:49]OFD Sender: No OFD packet to send [06:47:54]OFD Sender: No OFD packet to send [06:47:59]OFD Sender: No OFD packet to send [06:48:04]OFD Sender: No OFD packet to send [06:48:09]OFD Sender: No OFD packet to send [06:48:14]OFD Sender: No OFD packet to send [06:48:19]OFD Sender: No OFD packet to send [06:48:24]OFD Sender: No OFD packet to send [06:48:29]OFD Sender: No OFD packet to send [06:48:34]OFD Sender: No OFD packet to send [06:48:39]OFD Sender: No OFD packet to send [06:48:44]OFD Sender: No OFD packet to send [06:48:49]OFD Sender: No OFD packet to send [06:48:54]OFD Sender: No OFD packet to send [06:48:59]OFD Sender: No OFD packet to send [06:49:04]OFD Sender: No OFD packet to send [06:49:09]OFD Sender: No OFD packet to send [06:49:14]OFD Sender: No OFD packet to send [06:49:19]OFD Sender: No OFD packet to send [06:49:24]OFD Sender: No OFD packet to send [06:49:29]OFD Sender: No OFD packet to send [06:49:34]OFD Sender: No OFD packet to send [06:49:39]OFD Sender: No OFD packet to send [06:49:44]OFD Sender: No OFD packet to send [06:49:49]OFD Sender: No OFD packet to send [06:49:54]OFD Sender: No OFD packet to send [06:49:55]accept exits with 9 [06:49:55]New connection [06:49:55]New thread 3067395428 created [06:49:55]Thread 3067252068 joined [06:49:55]Waiting for new connection... [06:49:55] Sock 9.Parse request [06:49:55]Sock 9.Check first char [06:49:55]Sock 9.First char is OK [06:49:55]request: POST /json_proto HTTP/1.0 [06:49:55]Method: POST [06:49:55]URL: /json_proto [06:49:55]Method is POST - this is cgi request [06:49:55]url: /json_proto [06:49:55]query_string will be loaded in cgi processing [06:49:55]execute_cgi json_proto POST (null) [06:49:55]execute_cgi path=json_proto method=POST [06:49:55]POST find Content-Length [06:49:55]Host: 172.17.60.7:8080 [06:49:55]Content-Length: 734 [06:49:55]Content-Type: application/json [06:49:55] [06:49:55]POST finish read [06:49:55]Found Content-Length = 734 [06:49:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122729", "tax_sys" : 0, "items" : [ { "code": "0010420131003133", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 395.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:49:55]execute_script... [06:49:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122729", "tax_sys" : 0, "items" : [ { "code": "0010420131003133", "name": "\u0423\u0433\u043E\u043B\u044C \u0434\u0440\u0435\u0432\u0435\u0441\u043D\u044B\u0439 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C 3\u043A\u0433", "price" : 395.00, "quantity" : 1.000, "sum" : 395.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 395.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:49:55]POST & json_proto [06:49:55]process_json_proto [06:49:55]json parsed OK: [06:49:55]protocol is kg_v1.0 [06:49:55]action value=close_receipt [06:49:55]process_action close_receipt [06:49:55]cmd_close_receipt [06:49:55]MH_GetDate [06:49:55]Write to MH i2c: F0 00 00 45 0C 40 [06:49:55]Write i2c OK [06:49:55]MH_I2C_Read... [06:49:55]Read from MH i2c: F0 [06:49:55]MH_I2C_Read... [06:49:55]Read from MH i2c: F0 09 00 [06:49:55]MH_I2C_Read... [06:49:55]Read from MH i2c: F0 09 00 45 0C 00 16 5F B8 66 63 9B 67 64 A5 [06:49:55]GetLastDocTimeStamp 1723353879 [06:49:55]current date 1723358998 [06:49:55]FM_GetShiftState [06:49:55]SAM_PROTO_GetShiftState [06:49:55]wFMCommunicate request_size=4 [06:49:55]MH_SAM_APDU [06:49:55]CAPDU: 80 13 01 00 [06:49:55]Write to MH i2c: E2 08 00 46 0C 80 13 01 00 00 00 00 00 CF [06:49:55]Write i2c OK [06:49:55]MH_I2C_Read... [06:49:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:49:55]Read from MH i2c: E2 [06:49:55]MH_I2C_Read... [06:49:55]Read from MH i2c: E2 0E 00 [06:49:55]MH_I2C_Read... [06:49:55]Read from MH i2c: E2 0E 00 46 0C 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 F8 [06:49:55]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [06:49:55]wFMCommunicate OK [06:49:55]SAM_PROTO_GetShiftState done [06:49:55]FM_GetShiftState done [06:49:55]opened in 1723336186 [06:49:55]opened+sec_in_day 1723422586 [06:49:55]quantity*price = 39500 [06:49:55]sum+1 = 39501 [06:49:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 395.00 НСП 1% : 3.50 НДС 12% : 41.95 Наличными: 395.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 9 11.08.2024 06:49 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52598 ФПД: 220671650647151 /tax-web-control/client/api/v1/ticket?date=20240811T064958&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52598&fm=220671650647151&tin=02508201610067®Number=0000000000090834&sum=39500 0 [06:49:57]StoreToDocumentArchive [06:49:57]shift 446 fd 52598 [06:49:57]save to /storage/0446/doc_00052598 [06:49:57]save last doc name /storage/0446/doc_00052598 to /storage/kkm_last_doc_name [06:49:57]save OK [06:49:57]Clear old archive folders... [06:49:57]ProcessDocumentItem done err = 0, tmpTLVsize=306 [06:49:57]tlvbuf is 01094330 [06:49:57]SAM_PROTO_ClearQueue [06:49:57]wFMCommunicate request_size=4 [06:49:57]MH_SAM_APDU [06:49:57]CAPDU: 80 09 00 00 [06:49:57]Write to MH i2c: E2 08 00 53 0C 80 09 00 00 00 00 00 00 D1 [06:49:57]Write i2c OK [06:49:57]MH_I2C_Read... [06:49:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:49:57]Read from MH i2c: E2 [06:49:57]MH_I2C_Read... [06:49:57]Read from MH i2c: E2 03 00 [06:49:57]MH_I2C_Read... [06:49:57]Read from MH i2c: E2 03 00 53 0C 00 90 00 D3 [06:49:57]RAPDU: 90 00 [06:49:57]wFMCommunicate OK [06:49:57]SAM_PROTO_ClearQueue done [06:49:57]KKMCreateOFDPacket [06:49:57]OFDProtocolAddRootSTLVToBuf [06:49:57]FM_MakeSignedData [06:49:57]FM_MakeSignedData [06:49:57]SAM_PROTO_SignData [06:49:57]wFMCommunicate request_size=4 [06:49:57]MH_SAM_APDU [06:49:57]CAPDU: 80 0D 01 02 [06:49:57]Write to MH i2c: E2 08 00 54 0C 80 0D 01 02 00 00 00 00 D9 [06:49:57]Write i2c OK [06:49:57]MH_I2C_Read... [06:49:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:49:57]Read from MH i2c: E2 [06:49:57]MH_I2C_Read... [06:49:57]Read from MH i2c: E2 03 00 [06:49:57]MH_I2C_Read... [06:49:57]Read from MH i2c: E2 03 00 54 0C 00 90 00 D4 [06:49:57]RAPDU: 90 00 [06:49:57]wFMCommunicate OK [06:49:57]wFMCommunicate request_size=255 [06:49:57]MH_SAM_APDU [06:49:57]CAPDU: 80 0D 02 02 FA 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 16 5F B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 [06:49:57]Write to MH i2c: E2 02 01 55 0C 80 0D 02 02 FA 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 16 5F B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 00 48 [06:49:57]Write i2c OK [06:49:57]MH_I2C_Read... [06:49:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:49:57]Read from MH i2c: E2 [06:49:57]MH_I2C_Read... [06:49:57]Read from MH i2c: E2 03 00 [06:49:57]MH_I2C_Read... [06:49:57]Read from MH i2c: E2 03 00 55 0C 00 90 00 D5 [06:49:57]RAPDU: 90 00 [06:49:57]wFMCommunicate OK [06:49:57]wFMCommunicate request_size=65 [06:49:57]MH_SAM_APDU [06:49:57]CAPDU: 80 0D 02 02 3C 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 76 CD 00 00 35 04 06 00 C8 B3 1F 59 4C 6F [06:49:57]Write to MH i2c: E2 44 00 56 0C 80 0D 02 02 3C 00 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 76 CD 00 00 35 04 06 00 C8 B3 1F 59 4C 6F 00 00 1B [06:49:57]Write i2c OK [06:49:57]MH_I2C_Read... [06:49:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:49:57]Read from MH i2c: E2 [06:49:57]MH_I2C_Read... [06:49:57]Read from MH i2c: E2 03 00 [06:49:57]MH_I2C_Read... [06:49:57]Read from MH i2c: E2 03 00 56 0C 00 90 00 D6 [06:49:57]RAPDU: 90 00 [06:49:57]wFMCommunicate OK [06:49:57]wFMCommunicate request_size=4 [06:49:57]MH_SAM_APDU [06:49:57]CAPDU: 80 0D 03 02 [06:49:57]Write to MH i2c: E2 08 00 57 0C 80 0D 03 02 00 00 00 00 DE [06:49:57]Write i2c OK [06:49:57]MH_I2C_Read... [06:49:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:49:57]Read from MH i2c: E2 [06:49:57]MH_I2C_Read... [06:49:57]Read from MH i2c: E2 0B 00 [06:49:57]MH_I2C_Read... [06:49:57]Read from MH i2c: E2 0B 00 57 0C 00 C6 1A AD CE 58 83 F9 8D 90 00 9B [06:49:57]RAPDU: C6 1A AD CE 58 83 F9 8D 90 00 [06:49:57]wFMCommunicate OK [06:49:57]SAM_PROTO_SignData done [06:49:57]FM_MakeSignedData done [06:49:57]CreateOFDProtocolMessage [06:49:57]wFMCommunicate request_size=4 [06:49:57]MH_SAM_APDU [06:49:57]CAPDU: 80 11 00 00 [06:49:57]Write to MH i2c: E2 08 00 58 0C 80 11 00 00 00 00 00 00 DE [06:49:57]Write i2c OK [06:49:57]MH_I2C_Read... [06:49:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:49:57]Read from MH i2c: E2 [06:49:57]MH_I2C_Read... [06:49:57]Read from MH i2c: E2 17 00 [06:49:57]MH_I2C_Read... [06:49:57]Read from MH i2c: E2 17 00 58 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 31 [06:49:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [06:49:57]wFMCommunicate OK [06:49:57]CreateOFDProtocolMessage done [06:49:57]OFDSenderStorePacket 52598 [06:49:57]StoreOFDPacket docnum=52598 [06:49:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 46 01 00 00 90 55 3E 01 CF 88 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 16 5F B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 76 CD 00 00 35 04 06 00 C8 B3 1F 59 4C 6F C6 1A AD CE 58 83 F9 8D [06:49:57]CheckFolder [06:49:57]dirname=/storage/ofd_packets [06:49:57]CheckFolder done [06:49:57]ProducePacketName [06:49:57]name=ofd_packets/00052598 [06:49:57]NVStorageSaveData ofd_packets/00052598 [06:49:57]File name is /storage/ofd_packets/00052598 [06:49:57]Write 356 bytes [06:49:57]NVStorageSaveData done [06:49:57]OFDSenderStorePacket done [06:49:57]KKMCreateOFDPacket done [06:49:57]NVStorageSaveData kkm_last_timestamp [06:49:57]File name is /storage/kkm_last_timestamp [06:49:57]Write 4 bytes [06:49:57]NVStorageSaveData done [06:49:57]ExternCall_PrintAddStr [06:49:57]wPrintStart [06:49:57]Write to MH i2c: 01 00 00 59 0C 65 [06:49:57]Write i2c OK [06:49:57]MH_I2C_Read... [06:49:57]Read from MH i2c: 01 [06:49:57]MH_I2C_Read... [06:49:57]Read from MH i2c: 01 07 00 [06:49:57]MH_I2C_Read... [06:49:57]Read from MH i2c: 01 07 00 59 0C 00 00 00 00 00 FF 0F 7A [06:49:57]RasterBufferAndPrint [06:49:57]line Счет N : (3)122729 [06:49:57]line ИНН: 02508201610067 [06:49:57]line Контрольно-Кассовый Чек [06:49:57]line ПРОДАЖА [06:49:57]line Товар: 0010420131003133 [06:49:57]line Уголь древесный Партнер Нефть 3кг [06:49:57]line 1.000 * 395.00 [06:49:57]line = 395.00 [06:49:57]line НДС 12% НСП 1% [06:49:57]line > о реализуемом товаре [06:49:57]line ИТОГО: 395.00 [06:49:57]line НСП 1% : 3.50 [06:49:57]line НДС 12% : 41.95 [06:49:57]line Наличными: 395.00 [06:49:57]line Безнал.: 0.00 [06:49:57]line Место: АЗС № 54 "Партнер Нефть" [06:49:57]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [06:49:57]line СНО: Общий режим [06:49:57]line Чек 9 11.08.2024 06:49 [06:49:57]line Смена: 446 ФФД: 1.0 [06:49:57]line ЗНМ: 0300000007 [06:49:57]line РНМ: 0000000000090834 [06:49:57]line Версия ККМ: 001 [06:49:57]line ФМ: 0000000000874715 [06:49:57]line ФД: 52598 [06:49:57]line ФПД: 220671650647151 [06:49:57]line /tax-web-control/client/api/v1/ticket?date=20240811T064958&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52598&fm=220671650647151&tin=02508201610067®Number=0000000000090834&sum=39500 [06:49:57]line 0 [06:49:57]OFD Sender: Processing packet 52598 [packets to send 55, broken 54] [06:49:57]ProducePacketName [06:49:57]name=ofd_packets/00052598 [06:49:57]OFD Sender: To server: pG, [06:49:57]CommunicateWithHost lk.salyk.kg:30040 [06:49:57]ConnectInit lk.salyk.kg [06:49:57]written 0, free lines is 4095 [06:49:58]Connected sock=10 [06:49:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 46 01 00 00 90 55 3E 01 CF 88 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 10 00 30 30 31 30 34 32 30 31 33 31 30 30 33 31 33 33 06 04 3D 00 D0 A3 D0 B3 D0 BE D0 BB D1 8C 20 D0 B4 D1 80 D0 B5 D0 B2 D0 B5 D1 81 D0 BD D1 8B D0 B9 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 20 33 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 9A 00 00 00 00 13 04 06 00 4C 9A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 9A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 10 00 00 00 00 07 04 06 00 4C 9A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 16 5F B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 76 CD 00 00 35 04 06 00 C8 B3 1F 59 4C 6F C6 1A AD CE 58 83 F9 8D [06:49:58]Write to MH i2c: 01 00 00 81 0C 8D [06:49:58]Write i2c OK [06:49:58]MH_I2C_Read... [06:49:58]Read from MH i2c: 01 [06:49:58]MH_I2C_Read... [06:49:58]Read from MH i2c: 01 07 00 [06:49:58]MH_I2C_Read... [06:49:58]Read from MH i2c: 01 07 00 81 0C 00 00 00 00 00 DC 0C 7C [06:49:58]RasterBufferAndPrint [06:49:58]line [06:49:58]line [06:49:58]line [06:49:58]line [06:49:58]line [06:49:58]written 0, free lines is 3296 [06:49:58]MH_Cut [06:49:58]Write to MH i2c: D1 01 00 88 0C 01 66 [06:49:58]Write i2c OK [06:49:58]MH_I2C_Read... [06:49:58]Read from MH i2c: D1 [06:49:58]MH_I2C_Read... [06:49:58]Read from MH i2c: D1 01 00 [06:49:58]MH_I2C_Read... [06:49:58]Read from MH i2c: D1 01 00 88 0C 00 65 [06:49:58]Write to MH i2c: 01 00 00 89 0C 95 [06:49:58]Write i2c OK [06:49:58]MH_I2C_Read... [06:49:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 F5 E0 47 00 06 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 34 37 31 35 10 04 04 00 76 CD 00 00 F4 03 04 00 B2 06 B8 66 B6 04 01 00 00 B9 05 92 55 28 0D 5D 87 [06:49:58]CommunicateWithHost err = 0 [06:49:58]CheckOFDResponse [06:49:58]1017 (14) - 77093643461234 [06:49:58]1041 (16) - 0000000000874715 [06:49:58]1040 (4) - 52598 [06:49:58]1012 (4) - 11.08.2024 00:32 [06:49:58]1206 (1) - 0 [06:49:58]OFD Sender: Remove packet 52598 [06:49:58]ProducePacketName [06:49:58]name=ofd_packets/00052598 [06:49:58]NVStorageDeleteData [06:49:58]OFD Sender: No OFD packet to send [06:49:59]*** Cut start [06:49:59]*** Purtial cut [06:49:59]*** Stage 1: CUTSNS_PIN = 1 [06:49:59]Read from MH i2c: 01 [06:49:59]MH_I2C_Read... [06:49:59]*** Stop cut motor [06:49:59]*** Cut end [06:49:59]Read from MH i2c: 01 07 00 [06:49:59]MH_I2C_Read... [06:49:59]Read from MH i2c: 01 07 00 89 0C 00 00 00 00 00 FF 0F AA [06:49:59]process_action close_receipt done [06:49:59]requested_data is exist [06:49:59]produce_requested_data [06:49:59]requested_item fm.sn is exist - process it [06:49:59]wFMCommunicate request_size=4 [06:49:59]MH_SAM_APDU [06:49:59]CAPDU: 80 11 00 00 [06:49:59]Write to MH i2c: E2 08 00 8A 0C 80 11 00 00 00 00 00 00 10 [06:49:59]Write i2c OK [06:49:59]MH_I2C_Read... [06:49:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:49:59]Read from MH i2c: E2 [06:49:59]MH_I2C_Read... [06:49:59]Read from MH i2c: E2 17 00 [06:49:59]MH_I2C_Read... [06:49:59]Read from MH i2c: E2 17 00 8A 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 63 [06:49:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [06:49:59]wFMCommunicate OK [06:49:59]requested_item fd.num is exist - process it [06:49:59]SAM_PROTO_GetFieldsCounters [06:49:59]wFMCommunicate request_size=4 [06:49:59]MH_SAM_APDU [06:49:59]CAPDU: 80 13 00 00 [06:49:59]Write to MH i2c: E2 08 00 8B 0C 80 13 00 00 00 00 00 00 13 [06:49:59]Write i2c OK [06:49:59]MH_I2C_Read... [06:49:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:49:59]Read from MH i2c: E2 [06:49:59]MH_I2C_Read... [06:49:59]Read from MH i2c: E2 62 00 [06:49:59]MH_I2C_Read... [06:49:59]Read from MH i2c: E2 62 00 8B 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 76 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 50 [06:49:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 76 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:49:59]wFMCommunicate OK [06:49:59]SAM_PROTO_GetFieldsCounters done [06:49:59]requested_item shift.num is exist - process it [06:49:59]requested_item shift.opened is exist - process it [06:49:59]req_shift_opened [06:49:59]FM_GetShiftState [06:49:59]SAM_PROTO_GetShiftState [06:49:59]wFMCommunicate request_size=4 [06:49:59]MH_SAM_APDU [06:49:59]CAPDU: 80 13 01 00 [06:49:59]Write to MH i2c: E2 08 00 8C 0C 80 13 01 00 00 00 00 00 15 [06:49:59]Write i2c OK [06:49:59]MH_I2C_Read... [06:49:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:49:59]Read from MH i2c: E2 [06:49:59]MH_I2C_Read... [06:49:59]Read from MH i2c: E2 0E 00 [06:49:59]MH_I2C_Read... [06:49:59]Read from MH i2c: E2 0E 00 8C 0C 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 3E [06:49:59]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [06:49:59]wFMCommunicate OK [06:49:59]SAM_PROTO_GetShiftState done [06:49:59]FM_GetShiftState done [06:49:59]req_shift_opened done [06:49:59]requested_item shift.open_date is exist - process it [06:49:59]req_shift_open_date [06:49:59]req_shift_open_date done [06:49:59]produce_requested_data done [06:49:59]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52598,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [06:49:59]process_action_free close_receipt [06:49:59]json_value_free [06:49:59]json_value_free done [06:49:59]process_json_proto returns [06:49:59]Send response to host [06:49:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52598,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [06:49:59]free response buf [06:49:59]execute_script done [06:49:59]execute_script returns [06:49:59]free content buf [06:49:59]Sock 9.Close socket [06:49:59]Sock 9.Thread stoped [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:14]OFD Sender: No OFD packet to send [06:51:19]OFD Sender: No OFD packet to send [06:51:24]OFD Sender: No OFD packet to send [06:51:29]OFD Sender: No OFD packet to send [06:51:34]OFD Sender: No OFD packet to send [06:51:39]OFD Sender: No OFD packet to send [06:51:44]OFD Sender: No OFD packet to send [06:51:49]OFD Sender: No OFD packet to send [06:51:54]OFD Sender: No OFD packet to send [06:51:59]OFD Sender: No OFD packet to send [06:52:04]OFD Sender: No OFD packet to send [06:52:09]OFD Sender: No OFD packet to send [06:52:14]OFD Sender: No OFD packet to send [06:52:19]OFD Sender: No OFD packet to send [06:52:24]OFD Sender: No OFD packet to send [06:52:29]OFD Sender: No OFD packet to send [06:52:34]OFD Sender: No OFD packet to send [06:52:39]OFD Sender: No OFD packet to send [06:52:44]OFD Sender: No OFD packet to send [06:52:49]OFD Sender: No OFD packet to send [06:52:54]OFD Sender: No OFD packet to send [06:52:59]OFD Sender: No OFD packet to send [06:53:04]OFD Sender: No OFD packet to send [06:53:09]OFD Sender: No OFD packet to send [06:53:14]OFD Sender: No OFD packet to send [06:53:19]OFD Sender: No OFD packet to send [06:53:24]OFD Sender: No OFD packet to send [06:53:24]ConnectInit Can't connect to host [06:53:29]OFD Sender: No OFD packet to send [06:53:34]OFD Sender: No OFD packet to send [06:53:39]OFD Sender: No OFD packet to send [06:53:44]OFD Sender: No OFD packet to send [06:53:49]OFD Sender: No OFD packet to send [06:53:54]OFD Sender: No OFD packet to send [06:53:59]OFD Sender: No OFD packet to send [06:54:04]OFD Sender: No OFD packet to send [06:54:09]OFD Sender: No OFD packet to send [06:54:14]OFD Sender: No OFD packet to send [06:54:19]OFD Sender: No OFD packet to send [06:54:24]OFD Sender: No OFD packet to send [06:54:29]OFD Sender: No OFD packet to send [06:54:34]OFD Sender: No OFD packet to send [06:54:39]OFD Sender: No OFD packet to send [06:54:44]OFD Sender: No OFD packet to send [06:54:49]OFD Sender: No OFD packet to send [06:54:54]OFD Sender: No OFD packet to send [06:54:59]OFD Sender: No OFD packet to send [06:55:04]OFD Sender: No OFD packet to send [06:55:09]OFD Sender: No OFD packet to send [06:55:14]OFD Sender: No OFD packet to send [06:55:19]OFD Sender: No OFD packet to send [06:55:24]OFD Sender: No OFD packet to send [06:55:29]OFD Sender: No OFD packet to send [06:55:34]OFD Sender: No OFD packet to send [06:55:39]OFD Sender: No OFD packet to send [06:55:44]OFD Sender: No OFD packet to send [06:55:49]OFD Sender: No OFD packet to send [06:55:54]OFD Sender: No OFD packet to send [06:55:59]OFD Sender: No OFD packet to send [06:56:04]OFD Sender: No OFD packet to send [06:56:09]OFD Sender: No OFD packet to send [06:56:14]OFD Sender: No OFD packet to send [06:56:19]OFD Sender: No OFD packet to send [06:56:24]OFD Sender: No OFD packet to send [06:56:29]OFD Sender: No OFD packet to send [06:56:34]OFD Sender: No OFD packet to send [06:56:39]OFD Sender: No OFD packet to send [06:56:44]OFD Sender: No OFD packet to send [06:56:49]OFD Sender: No OFD packet to send [06:56:54]OFD Sender: No OFD packet to send [06:56:59]OFD Sender: No OFD packet to send [06:57:04]OFD Sender: No OFD packet to send [06:57:04]accept exits with 8 [06:57:04]New connection [06:57:04]New thread 3067252068 created [06:57:04]Thread 3067395428 joined [06:57:04]Waiting for new connection... [06:57:04] Sock 8.Parse request [06:57:04]Sock 8.Check first char [06:57:04]Sock 8.First char is OK [06:57:04]request: POST /json_proto HTTP/1.0 [06:57:04]Method: POST [06:57:04]URL: /json_proto [06:57:04]Method is POST - this is cgi request [06:57:04]url: /json_proto [06:57:04]query_string will be loaded in cgi processing [06:57:04]execute_cgi json_proto POST (null) [06:57:04]execute_cgi path=json_proto method=POST [06:57:04]POST find Content-Length [06:57:04]Host: 172.17.60.7:8080 [06:57:04]Content-Length: 634 [06:57:04]Content-Type: application/json [06:57:04] [06:57:04]POST finish read [06:57:04]Found Content-Length = 634 [06:57:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122730", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:57:04]execute_script... [06:57: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)122730", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:57:04]POST & json_proto [06:57:04]process_json_proto [06:57:04]json parsed OK: [06:57:04]protocol is kg_v1.0 [06:57:04]action value=close_receipt [06:57:04]process_action close_receipt [06:57:04]cmd_close_receipt [06:57:04]MH_GetDate [06:57:04]Write to MH i2c: F0 00 00 8D 0C 88 [06:57:04]Write i2c OK [06:57:04]MH_I2C_Read... [06:57:04]Read from MH i2c: F0 [06:57:04]MH_I2C_Read... [06:57:04]Read from MH i2c: F0 09 00 [06:57:04]MH_I2C_Read... [06:57:04]Read from MH i2c: F0 09 00 8D 0C 00 C3 60 B8 66 63 9B 67 64 9B [06:57:04]GetLastDocTimeStamp 1723358998 [06:57:04]current date 1723359427 [06:57:04]FM_GetShiftState [06:57:04]SAM_PROTO_GetShiftState [06:57:04]wFMCommunicate request_size=4 [06:57:04]MH_SAM_APDU [06:57:04]CAPDU: 80 13 01 00 [06:57:04]Write to MH i2c: E2 08 00 8E 0C 80 13 01 00 00 00 00 00 17 [06:57:04]Write i2c OK [06:57:04]MH_I2C_Read... [06:57:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:57:04]Read from MH i2c: E2 [06:57:04]MH_I2C_Read... [06:57:04]Read from MH i2c: E2 0E 00 [06:57:04]MH_I2C_Read... [06:57:04]Read from MH i2c: E2 0E 00 8E 0C 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 40 [06:57:04]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [06:57:04]wFMCommunicate OK [06:57:04]SAM_PROTO_GetShiftState done [06:57:04]FM_GetShiftState done [06:57:04]opened in 1723336186 [06:57:04]opened+sec_in_day 1723422586 [06:57:04]quantity*price = 12000 [06:57:04]sum+1 = 12001 [06:57:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 10 11.08.2024 06:57 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52599 ФПД: 45146700919295 /tax-web-control/client/api/v1/ticket?date=20240811T065707&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52599&fm=45146700919295&tin=02508201610067®Number=0000000000090834&sum=12000 0 [06:57:06]StoreToDocumentArchive [06:57:06]shift 446 fd 52599 [06:57:06]save to /storage/0446/doc_00052599 [06:57:06]save last doc name /storage/0446/doc_00052599 to /storage/kkm_last_doc_name [06:57:06]save OK [06:57:06]Clear old archive folders... [06:57:06]ProcessDocumentItem done err = 0, tmpTLVsize=271 [06:57:06]tlvbuf is 01099BA0 [06:57:06]SAM_PROTO_ClearQueue [06:57:06]wFMCommunicate request_size=4 [06:57:06]MH_SAM_APDU [06:57:06]CAPDU: 80 09 00 00 [06:57:06]Write to MH i2c: E2 08 00 9B 0C 80 09 00 00 00 00 00 00 19 [06:57:06]Write i2c OK [06:57:06]MH_I2C_Read... [06:57:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:57:06]Read from MH i2c: E2 [06:57:06]MH_I2C_Read... [06:57:06]Read from MH i2c: E2 03 00 [06:57:06]MH_I2C_Read... [06:57:06]Read from MH i2c: E2 03 00 9B 0C 00 90 00 1B [06:57:06]RAPDU: 90 00 [06:57:06]wFMCommunicate OK [06:57:06]SAM_PROTO_ClearQueue done [06:57:06]KKMCreateOFDPacket [06:57:06]OFDProtocolAddRootSTLVToBuf [06:57:06]FM_MakeSignedData [06:57:06]FM_MakeSignedData [06:57:06]SAM_PROTO_SignData [06:57:06]wFMCommunicate request_size=4 [06:57:06]MH_SAM_APDU [06:57:06]CAPDU: 80 0D 01 02 [06:57:06]Write to MH i2c: E2 08 00 9C 0C 80 0D 01 02 00 00 00 00 21 [06:57:06]Write i2c OK [06:57:06]MH_I2C_Read... [06:57:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:57:06]Read from MH i2c: E2 [06:57:06]MH_I2C_Read... [06:57:06]Read from MH i2c: E2 03 00 [06:57:06]MH_I2C_Read... [06:57:06]Read from MH i2c: E2 03 00 9C 0C 00 90 00 1C [06:57:06]RAPDU: 90 00 [06:57:06]wFMCommunicate OK [06:57:06]wFMCommunicate request_size=255 [06:57:06]MH_SAM_APDU [06:57:06]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 C3 60 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 [06:57:06]Write to MH i2c: E2 02 01 9D 0C 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 C3 60 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 8E [06:57:06]Write i2c OK [06:57:06]MH_I2C_Read... [06:57:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:57:06]Read from MH i2c: E2 [06:57:06]MH_I2C_Read... [06:57:06]Read from MH i2c: E2 03 00 [06:57:06]MH_I2C_Read... [06:57:06]Read from MH i2c: E2 03 00 9D 0C 00 90 00 1D [06:57:06]RAPDU: 90 00 [06:57:06]wFMCommunicate OK [06:57:06]wFMCommunicate request_size=30 [06:57:06]MH_SAM_APDU [06:57:06]CAPDU: 80 0D 02 02 19 30 38 37 34 37 31 35 10 04 04 00 77 CD 00 00 35 04 06 00 29 0F 89 12 31 FF [06:57:06]Write to MH i2c: E2 21 00 9E 0C 80 0D 02 02 19 00 30 38 37 34 37 31 35 10 04 04 00 77 CD 00 00 35 04 06 00 29 0F 89 12 31 FF 00 00 64 [06:57:06]Write i2c OK [06:57:06]MH_I2C_Read... [06:57:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:57:06]Read from MH i2c: E2 [06:57:06]MH_I2C_Read... [06:57:06]Read from MH i2c: E2 03 00 [06:57:06]MH_I2C_Read... [06:57:06]Read from MH i2c: E2 03 00 9E 0C 00 90 00 1E [06:57:06]RAPDU: 90 00 [06:57:06]wFMCommunicate OK [06:57:06]wFMCommunicate request_size=4 [06:57:06]MH_SAM_APDU [06:57:06]CAPDU: 80 0D 03 02 [06:57:06]Write to MH i2c: E2 08 00 9F 0C 80 0D 03 02 00 00 00 00 26 [06:57:06]Write i2c OK [06:57:06]MH_I2C_Read... [06:57:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:57:06]Read from MH i2c: E2 [06:57:06]MH_I2C_Read... [06:57:06]Read from MH i2c: E2 0B 00 [06:57:06]MH_I2C_Read... [06:57:06]Read from MH i2c: E2 0B 00 9F 0C 00 43 EB 15 16 D8 A6 96 AB 90 00 3F [06:57:06]RAPDU: 43 EB 15 16 D8 A6 96 AB 90 00 [06:57:06]wFMCommunicate OK [06:57:06]SAM_PROTO_SignData done [06:57:06]FM_MakeSignedData done [06:57:06]CreateOFDProtocolMessage [06:57:06]wFMCommunicate request_size=4 [06:57:06]MH_SAM_APDU [06:57:06]CAPDU: 80 11 00 00 [06:57:06]Write to MH i2c: E2 08 00 A0 0C 80 11 00 00 00 00 00 00 26 [06:57:06]Write i2c OK [06:57:06]MH_I2C_Read... [06:57:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:57:06]Read from MH i2c: E2 [06:57:06]MH_I2C_Read... [06:57:06]Read from MH i2c: E2 17 00 [06:57:06]MH_I2C_Read... [06:57:06]Read from MH i2c: E2 17 00 A0 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 79 [06:57:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [06:57:06]wFMCommunicate OK [06:57:06]CreateOFDProtocolMessage done [06:57:06]OFDSenderStorePacket 52599 [06:57:06]StoreOFDPacket docnum=52599 [06:57:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 23 01 00 00 9F 03 1B 01 14 F2 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 C3 60 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 77 CD 00 00 35 04 06 00 29 0F 89 12 31 FF 43 EB 15 16 D8 A6 96 AB [06:57:06]CheckFolder [06:57:06]dirname=/storage/ofd_packets [06:57:06]CheckFolder done [06:57:06]ProducePacketName [06:57:06]name=ofd_packets/00052599 [06:57:06]NVStorageSaveData ofd_packets/00052599 [06:57:06]File name is /storage/ofd_packets/00052599 [06:57:06]Write 321 bytes [06:57:06]NVStorageSaveData done [06:57:06]OFDSenderStorePacket done [06:57:06]KKMCreateOFDPacket done [06:57:06]NVStorageSaveData kkm_last_timestamp [06:57:06]File name is /storage/kkm_last_timestamp [06:57:06]Write 4 bytes [06:57:06]NVStorageSaveData done [06:57:06]ExternCall_PrintAddStr [06:57:06]wPrintStart [06:57:06]Write to MH i2c: 01 00 00 A1 0C AD [06:57:06]Write i2c OK [06:57:06]MH_I2C_Read... [06:57:06]Read from MH i2c: 01 [06:57:06]MH_I2C_Read... [06:57:06]Read from MH i2c: 01 07 00 [06:57:06]MH_I2C_Read... [06:57:06]Read from MH i2c: 01 07 00 A1 0C 00 00 00 00 00 FF 0F C2 [06:57:06]RasterBufferAndPrint [06:57:06]line Счет N : (3)122730 [06:57:06]line ИНН: 02508201610067 [06:57:06]line Контрольно-Кассовый Чек [06:57:06]line ПРОДАЖА [06:57:06]line Товар: 4700000160204 [06:57:06]line Вода Легенда 1,5л [06:57:06]line 2.000 * 60.00 [06:57:06]line = 120.00 [06:57:06]line НДС 12% НСП 1% [06:57:06]line > о реализуемом товаре [06:57:06]line ИТОГО: 120.00 [06:57:06]line НСП 1% : 1.06 [06:57:06]line НДС 12% : 12.74 [06:57:06]line Наличными: 120.00 [06:57:06]line Безнал.: 0.00 [06:57:06]line Место: АЗС № 54 "Партнер Нефть" [06:57:06]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [06:57:06]line СНО: Общий режим [06:57:06]line Чек 10 11.08.2024 06:57 [06:57:06]line Смена: 446 ФФД: 1.0 [06:57:06]line ЗНМ: 0300000007 [06:57:06]line РНМ: 0000000000090834 [06:57:06]line Версия ККМ: 001 [06:57:06]line ФМ: 0000000000874715 [06:57:06]line ФД: 52599 [06:57:06]line ФПД: 45146700919295 [06:57:06]line /tax-web-control/client/api/v1/ticket?date=20240811T065707&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52599&fm=45146700919295&tin=02508201610067®Number=0000000000090834&sum=12000 [06:57:06]OFD Sender: Processing packet 52599 [packets to send 55, broken 54] [06:57:06]ProducePacketName [06:57:06]name=ofd_packets/00052599 [06:57:06]OFD Sender: To server: pG, [06:57:06]CommunicateWithHost lk.salyk.kg:30040 [06:57:06]ConnectInit lk.salyk.kg [06:57:06]line 0 [06:57:06]written 0, free lines is 4095 [06:57:07]Connected sock=10 [06:57:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 23 01 00 00 9F 03 1B 01 14 F2 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 C3 60 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 77 CD 00 00 35 04 06 00 29 0F 89 12 31 FF 43 EB 15 16 D8 A6 96 AB [06:57:07]Write to MH i2c: 01 00 00 C8 0C D4 [06:57:07]Write i2c OK [06:57:07]MH_I2C_Read... [06:57:07]Read from MH i2c: 01 [06:57:07]MH_I2C_Read... [06:57:07]Read from MH i2c: 01 07 00 [06:57:07]MH_I2C_Read... [06:57:07]Read from MH i2c: 01 07 00 C8 0C 00 00 00 00 00 DC 0C C3 [06:57:07]RasterBufferAndPrint [06:57:07]line [06:57:07]line [06:57:07]line [06:57:07]line [06:57:07]line [06:57:07]written 0, free lines is 3297 [06:57:07]MH_Cut [06:57:07]Write to MH i2c: D1 01 00 CF 0C 01 AD [06:57:07]Write i2c OK [06:57:07]MH_I2C_Read... [06:57:07]Read from MH i2c: D1 [06:57:07]MH_I2C_Read... [06:57:07]Read from MH i2c: D1 01 00 [06:57:07]MH_I2C_Read... [06:57:07]Read from MH i2c: D1 01 00 CF 0C 00 AC [06:57:07]Write to MH i2c: 01 00 00 D0 0C DC [06:57:07]Write i2c OK [06:57:07]MH_I2C_Read... [06:57:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 CA 6E 47 00 D2 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 34 37 31 35 10 04 04 00 77 CD 00 00 F4 03 04 00 5F 08 B8 66 B6 04 01 00 00 3F C3 7D 83 89 D5 DE B4 [06:57:07]CommunicateWithHost err = 0 [06:57:07]CheckOFDResponse [06:57:07]1017 (14) - 77093643461234 [06:57:07]1041 (16) - 0000000000874715 [06:57:07]1040 (4) - 52599 [06:57:07]1012 (4) - 11.08.2024 00:39 [06:57:07]1206 (1) - 0 [06:57:07]OFD Sender: Remove packet 52599 [06:57:07]ProducePacketName [06:57:07]name=ofd_packets/00052599 [06:57:07]NVStorageDeleteData [06:57:07]OFD Sender: No OFD packet to send [06:57:08]*** Cut start [06:57:08]*** Purtial cut [06:57:08]*** Stage 1: CUTSNS_PIN = 1 [06:57:08]Read from MH i2c: 01 [06:57:08]MH_I2C_Read... [06:57:08]*** Stop cut motor [06:57:08]*** Cut end [06:57:08]Read from MH i2c: 01 07 00 [06:57:08]MH_I2C_Read... [06:57:08]Read from MH i2c: 01 07 00 D0 0C 00 00 00 00 00 FF 0F F1 [06:57:08]process_action close_receipt done [06:57:08]requested_data is exist [06:57:08]produce_requested_data [06:57:08]requested_item fm.sn is exist - process it [06:57:08]wFMCommunicate request_size=4 [06:57:08]MH_SAM_APDU [06:57:08]CAPDU: 80 11 00 00 [06:57:08]Write to MH i2c: E2 08 00 D1 0C 80 11 00 00 00 00 00 00 57 [06:57:08]Write i2c OK [06:57:08]MH_I2C_Read... [06:57:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:57:08]Read from MH i2c: E2 [06:57:08]MH_I2C_Read... [06:57:08]Read from MH i2c: E2 17 00 [06:57:08]MH_I2C_Read... [06:57:08]Read from MH i2c: E2 17 00 D1 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 AA [06:57:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [06:57:08]wFMCommunicate OK [06:57:08]requested_item fd.num is exist - process it [06:57:08]SAM_PROTO_GetFieldsCounters [06:57:08]wFMCommunicate request_size=4 [06:57:08]MH_SAM_APDU [06:57:08]CAPDU: 80 13 00 00 [06:57:08]Write to MH i2c: E2 08 00 D2 0C 80 13 00 00 00 00 00 00 5A [06:57:08]Write i2c OK [06:57:08]MH_I2C_Read... [06:57:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:57:08]Read from MH i2c: E2 [06:57:08]MH_I2C_Read... [06:57:08]Read from MH i2c: E2 62 00 [06:57:08]MH_I2C_Read... [06:57:08]Read from MH i2c: E2 62 00 D2 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 77 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 9B [06:57: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 77 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:57:08]wFMCommunicate OK [06:57:08]SAM_PROTO_GetFieldsCounters done [06:57:08]requested_item shift.num is exist - process it [06:57:08]requested_item shift.opened is exist - process it [06:57:08]req_shift_opened [06:57:08]FM_GetShiftState [06:57:08]SAM_PROTO_GetShiftState [06:57:08]wFMCommunicate request_size=4 [06:57:08]MH_SAM_APDU [06:57:08]CAPDU: 80 13 01 00 [06:57:08]Write to MH i2c: E2 08 00 D3 0C 80 13 01 00 00 00 00 00 5C [06:57:08]Write i2c OK [06:57:08]MH_I2C_Read... [06:57:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:57:08]Read from MH i2c: E2 [06:57:08]MH_I2C_Read... [06:57:08]Read from MH i2c: E2 0E 00 [06:57:08]MH_I2C_Read... [06:57:08]Read from MH i2c: E2 0E 00 D3 0C 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 85 [06:57:08]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [06:57:08]wFMCommunicate OK [06:57:08]SAM_PROTO_GetShiftState done [06:57:08]FM_GetShiftState done [06:57:08]req_shift_opened done [06:57:08]requested_item shift.open_date is exist - process it [06:57:08]req_shift_open_date [06:57:08]req_shift_open_date done [06:57:08]produce_requested_data done [06:57:08]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52599,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [06:57:08]process_action_free close_receipt [06:57:08]json_value_free [06:57:08]json_value_free done [06:57:08]process_json_proto returns [06:57:08]Send response to host [06:57:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52599,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [06:57:08]free response buf [06:57:08]execute_script done [06:57:08]execute_script returns [06:57:08]free content buf [06:57:08]Sock 8.Close socket [06:57:08]Sock 8.Thread stoped [06:57:12]OFD Sender: No OFD packet to send [06:57:17]OFD Sender: No OFD packet to send [06:57:22]OFD Sender: No OFD packet to send [06:57:27]OFD Sender: No OFD packet to send [06:57:32]OFD Sender: No OFD packet to send [06:57:37]OFD Sender: No OFD packet to send [06:57:42]OFD Sender: No OFD packet to send [06:57:47]OFD Sender: No OFD packet to send [06:57:52]OFD Sender: No OFD packet to send [06:57:57]OFD Sender: No OFD packet to send [06:58:02]OFD Sender: No OFD packet to send [06:58:07]OFD Sender: No OFD packet to send [06:58:12]OFD Sender: No OFD packet to send [06:58:17]OFD Sender: No OFD packet to send [06:58:22]OFD Sender: No OFD packet to send [06:58:27]OFD Sender: No OFD packet to send [06:58:32]OFD Sender: No OFD packet to send [06:58:37]OFD Sender: No OFD packet to send [06:58: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:33]OFD Sender: No OFD packet to send [07:00:38]OFD Sender: No OFD packet to send [07:00:41]accept exits with 9 [07:00:41]New connection [07:00:41]New thread 3067395428 created [07:00:41]Thread 3067252068 joined [07:00:41]Waiting for new connection... [07:00:41] Sock 9.Parse request [07:00:41]Sock 9.Check first char [07:00:41]Sock 9.First char is OK [07:00:41]request: POST /json_proto HTTP/1.0 [07:00:41]Method: POST [07:00:41]URL: /json_proto [07:00:41]Method is POST - this is cgi request [07:00:41]url: /json_proto [07:00:41]query_string will be loaded in cgi processing [07:00:41]execute_cgi json_proto POST (null) [07:00:41]execute_cgi path=json_proto method=POST [07:00:41]POST find Content-Length [07:00:41]Host: 172.17.60.7:8080 [07:00:41]Content-Length: 1062 [07:00:41]Content-Type: application/json [07:00:41] [07:00:41]POST finish read [07:00:41]Found Content-Length = 1062 [07:00:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122731", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.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" : 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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:00:41]execute_script... [07:00: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)122731", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.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" : 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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:00:41]POST & json_proto [07:00:41]process_json_proto [07:00:41]json parsed OK: [07:00:41]protocol is kg_v1.0 [07:00:41]action value=close_receipt [07:00:41]process_action close_receipt [07:00:41]cmd_close_receipt [07:00:41]MH_GetDate [07:00:41]Write to MH i2c: F0 00 00 D4 0C CF [07:00:41]Write i2c OK [07:00:41]MH_I2C_Read... [07:00:41]Read from MH i2c: F0 [07:00:41]MH_I2C_Read... [07:00:41]Read from MH i2c: F0 09 00 [07:00:41]MH_I2C_Read... [07:00:41]Read from MH i2c: F0 09 00 D4 0C 00 9C 61 B8 66 63 9B 67 64 BC [07:00:41]GetLastDocTimeStamp 1723359427 [07:00:41]current date 1723359644 [07:00:41]FM_GetShiftState [07:00:41]SAM_PROTO_GetShiftState [07:00:41]wFMCommunicate request_size=4 [07:00:41]MH_SAM_APDU [07:00:41]CAPDU: 80 13 01 00 [07:00:41]Write to MH i2c: E2 08 00 D5 0C 80 13 01 00 00 00 00 00 5E [07:00:41]Write i2c OK [07:00:41]MH_I2C_Read... [07:00:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:00:41]Read from MH i2c: E2 [07:00:41]MH_I2C_Read... [07:00:41]Read from MH i2c: E2 0E 00 [07:00:41]MH_I2C_Read... [07:00:41]Read from MH i2c: E2 0E 00 D5 0C 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 87 [07:00:41]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [07:00:41]wFMCommunicate OK [07:00:41]SAM_PROTO_GetShiftState done [07:00:41]FM_GetShiftState done [07:00:41]opened in 1723336186 [07:00:41]opened+sec_in_day 1723422586 [07:00:41]quantity*price = 15100 [07:00:41]sum+1 = 15101 [07:00:41]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000031750019 Пакет Партнер Нефть 2.000 * 4.00 = 8.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 0.00 Безнал.: 159.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 11 11.08.2024 07:00 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52600 ФПД: 6293624381409 /tax-web-control/client/api/v1/ticket?date=20240811T070044&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52600&fm=6293624381409&tin=02508201610067®Number=0000000000090834&sum=15900 0 [07:00:42]StoreToDocumentArchive [07:00:42]shift 446 fd 52600 [07:00:42]save to /storage/0446/doc_00052600 [07:00:42]save last doc name /storage/0446/doc_00052600 to /storage/kkm_last_doc_name [07:00:42]save OK [07:00:42]Clear old archive folders... [07:00:42]ProcessDocumentItem done err = 0, tmpTLVsize=382 [07:00:42]tlvbuf is 0107EE30 [07:00:42]SAM_PROTO_ClearQueue [07:00:42]wFMCommunicate request_size=4 [07:00:42]MH_SAM_APDU [07:00:42]CAPDU: 80 09 00 00 [07:00:42]Write to MH i2c: E2 08 00 E2 0C 80 09 00 00 00 00 00 00 60 [07:00:42]Write i2c OK [07:00:42]MH_I2C_Read... [07:00:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:00:42]Read from MH i2c: E2 [07:00:42]MH_I2C_Read... [07:00:42]Read from MH i2c: E2 03 00 [07:00:42]MH_I2C_Read... [07:00:42]Read from MH i2c: E2 03 00 E2 0C 00 90 00 62 [07:00:42]RAPDU: 90 00 [07:00:42]wFMCommunicate OK [07:00:42]SAM_PROTO_ClearQueue done [07:00:42]KKMCreateOFDPacket [07:00:42]OFDProtocolAddRootSTLVToBuf [07:00:42]FM_MakeSignedData [07:00:42]FM_MakeSignedData [07:00:42]SAM_PROTO_SignData [07:00:42]wFMCommunicate request_size=4 [07:00:42]MH_SAM_APDU [07:00:42]CAPDU: 80 0D 01 02 [07:00:42]Write to MH i2c: E2 08 00 E3 0C 80 0D 01 02 00 00 00 00 68 [07:00:42]Write i2c OK [07:00:42]MH_I2C_Read... [07:00:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:00:42]Read from MH i2c: E2 [07:00:42]MH_I2C_Read... [07:00:42]Read from MH i2c: E2 03 00 [07:00:42]MH_I2C_Read... [07:00:42]Read from MH i2c: E2 03 00 E3 0C 00 90 00 63 [07:00:42]RAPDU: 90 00 [07:00:42]wFMCommunicate OK [07:00:42]wFMCommunicate request_size=255 [07:00:42]MH_SAM_APDU [07:00:42]CAPDU: 80 0D 02 02 FA 03 00 7E 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 [07:00:42]Write to MH i2c: E2 02 01 E4 0C 80 0D 02 02 FA 00 03 00 7E 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 7F [07:00:42]Write i2c OK [07:00:42]MH_I2C_Read... [07:00:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:00:42]Read from MH i2c: E2 [07:00:42]MH_I2C_Read... [07:00:42]Read from MH i2c: E2 03 00 [07:00:42]MH_I2C_Read... [07:00:42]Read from MH i2c: E2 03 00 E4 0C 00 90 00 64 [07:00:42]RAPDU: 90 00 [07:00:42]wFMCommunicate OK [07:00:42]wFMCommunicate request_size=141 [07:00:42]MH_SAM_APDU [07:00:42]CAPDU: 80 0D 02 02 88 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 00 00 00 00 00 00 39 04 06 00 1C 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 9C 61 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 78 CD 00 00 35 04 06 00 05 B9 59 3E DF E1 [07:00:42]Write to MH i2c: E2 90 00 E5 0C 80 0D 02 02 88 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 00 00 00 00 00 00 39 04 06 00 1C 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 9C 61 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 78 CD 00 00 35 04 06 00 05 B9 59 3E DF E1 00 00 DE [07:00:42]Write i2c OK [07:00:42]MH_I2C_Read... [07:00:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:00:42]Read from MH i2c: E2 [07:00:42]MH_I2C_Read... [07:00:42]Read from MH i2c: E2 03 00 [07:00:42]MH_I2C_Read... [07:00:42]Read from MH i2c: E2 03 00 E5 0C 00 90 00 65 [07:00:42]RAPDU: 90 00 [07:00:42]wFMCommunicate OK [07:00:42]wFMCommunicate request_size=4 [07:00:42]MH_SAM_APDU [07:00:42]CAPDU: 80 0D 03 02 [07:00:42]Write to MH i2c: E2 08 00 E6 0C 80 0D 03 02 00 00 00 00 6D [07:00:42]Write i2c OK [07:00:42]MH_I2C_Read... [07:00:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:00:42]Read from MH i2c: E2 [07:00:42]MH_I2C_Read... [07:00:42]Read from MH i2c: E2 0B 00 [07:00:42]MH_I2C_Read... [07:00:42]Read from MH i2c: E2 0B 00 E6 0C 00 64 4F AE 6E BD 5C 39 B7 90 00 46 [07:00:42]RAPDU: 64 4F AE 6E BD 5C 39 B7 90 00 [07:00:42]wFMCommunicate OK [07:00:42]SAM_PROTO_SignData done [07:00:42]FM_MakeSignedData done [07:00:42]CreateOFDProtocolMessage [07:00:42]wFMCommunicate request_size=4 [07:00:42]MH_SAM_APDU [07:00:42]CAPDU: 80 11 00 00 [07:00:42]Write to MH i2c: E2 08 00 E7 0C 80 11 00 00 00 00 00 00 6D [07:00:42]Write i2c OK [07:00:42]MH_I2C_Read... [07:00:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:00:42]Read from MH i2c: E2 [07:00:42]MH_I2C_Read... [07:00:42]Read from MH i2c: E2 17 00 [07:00:42]MH_I2C_Read... [07:00:42]Read from MH i2c: E2 17 00 E7 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 C0 [07:00:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [07:00:42]wFMCommunicate OK [07:00:42]CreateOFDProtocolMessage done [07:00:42]OFDSenderStorePacket 52600 [07:00:42]StoreOFDPacket docnum=52600 [07:00:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 92 01 00 00 27 81 8A 01 42 50 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 00 00 00 00 00 00 39 04 06 00 1C 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 9C 61 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 78 CD 00 00 35 04 06 00 05 B9 59 3E DF E1 64 4F AE 6E BD 5C 39 B7 [07:00:43]CheckFolder [07:00:43]dirname=/storage/ofd_packets [07:00:43]CheckFolder done [07:00:43]ProducePacketName [07:00:43]name=ofd_packets/00052600 [07:00:43]NVStorageSaveData ofd_packets/00052600 [07:00:43]File name is /storage/ofd_packets/00052600 [07:00:43]Write 432 bytes [07:00:43]NVStorageSaveData done [07:00:43]OFDSenderStorePacket done [07:00:43]KKMCreateOFDPacket done [07:00:43]NVStorageSaveData kkm_last_timestamp [07:00:43]File name is /storage/kkm_last_timestamp [07:00:43]Write 4 bytes [07:00:43]NVStorageSaveData done [07:00:43]ExternCall_PrintAddStr [07:00:43]wPrintStart [07:00:43]Write to MH i2c: 01 00 00 E8 0C F4 [07:00:43]Write i2c OK [07:00:43]MH_I2C_Read... [07:00:43]Read from MH i2c: 01 [07:00:43]MH_I2C_Read... [07:00:43]OFD Sender: Processing packet 52600 [packets to send 55, broken 54] [07:00:43]ProducePacketName [07:00:43]name=ofd_packets/00052600 [07:00:43]OFD Sender: To server: pG, [07:00:43]CommunicateWithHost lk.salyk.kg:30040 [07:00:43]ConnectInit lk.salyk.kg [07:00:43]Read from MH i2c: 01 07 00 [07:00:43]MH_I2C_Read... [07:00:43]Read from MH i2c: 01 07 00 E8 0C 00 00 00 00 00 FF 0F 09 [07:00:43]RasterBufferAndPrint [07:00:43]line Счет N : (3)122731 [07:00:43]line ИНН: 02508201610067 [07:00:43]line Контрольно-Кассовый Чек [07:00:43]line ПРОДАЖА [07:00:43]line Товар: 48741958 [07:00:43]line Сигареты Parliament Aqua Blue [07:00:43]line 1.000 * 151.00 [07:00:43]line = 151.00 [07:00:43]line НДС 12% НСП 1% [07:00:43]line > о реализуемом товаре [07:00:43]line Товар: 2000031750019 [07:00:43]line Пакет Партнер Нефть [07:00:43]line 2.000 * 4.00 [07:00:43]line = 8.00 [07:00:43]line НДС 12% НСП 1% [07:00:43]line > о реализуемом товаре [07:00:43]line ИТОГО: 159.00 [07:00:43]line НСП 1% : 1.41 [07:00:43]line НДС 12% : 16.88 [07:00:43]line Наличными: 0.00 [07:00:43]line Безнал.: 159.00 [07:00:43]line Место: АЗС № 54 "Партнер Нефть" [07:00:43]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [07:00:43]line СНО: Общий режим [07:00:43]line Чек 11 11.08.2024 07:00 [07:00:43]line Смена: 446 ФФД: 1.0 [07:00:43]line ЗНМ: 0300000007 [07:00:43]line РНМ: 0000000000090834 [07:00:43]line Версия ККМ: 001 [07:00:43]line Платежная система: О! деньги [07:00:43]line ФМ: 0000000000874715 [07:00:43]line ФД: 52600 [07:00:43]line ФПД: 6293624381409 [07:00:43]line /tax-web-control/client/api/v1/ticket?date=20240811T070044&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52600&fm=6293624381409&tin=02508201610067®Number=0000000000090834&sum=15900 [07:00:43]line 0 [07:00:43]written 0, free lines is 4095 [07:00:43]Connected sock=10 [07:00:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 92 01 00 00 27 81 8A 01 42 50 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 00 00 00 00 00 00 39 04 06 00 1C 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 9C 61 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 78 CD 00 00 35 04 06 00 05 B9 59 3E DF E1 64 4F AE 6E BD 5C 39 B7 [07:00:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 D0 5C 47 00 52 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 34 37 31 35 10 04 04 00 78 CD 00 00 F4 03 04 00 37 09 B8 66 B6 04 01 00 00 50 66 CC D7 FD 95 84 36 [07:00:43]CommunicateWithHost err = 0 [07:00:43]CheckOFDResponse [07:00:43]1017 (14) - 77093643461234 [07:00:43]1041 (16) - 0000000000874715 [07:00:43]1040 (4) - 52600 [07:00:43]1012 (4) - 11.08.2024 00:43 [07:00:43]1206 (1) - 0 [07:00:43]OFD Sender: Remove packet 52600 [07:00:43]ProducePacketName [07:00:43]name=ofd_packets/00052600 [07:00:43]NVStorageDeleteData [07:00:43]Write to MH i2c: 01 00 00 18 0D 25 [07:00:43]Write i2c OK [07:00:43]MH_I2C_Read... [07:00:43]Read from MH i2c: 01 [07:00:43]MH_I2C_Read... [07:00:43]Read from MH i2c: 01 07 00 [07:00:43]MH_I2C_Read... [07:00:43]Read from MH i2c: 01 07 00 18 0D 00 00 00 00 00 56 0C 8E [07:00:43]RasterBufferAndPrint [07:00:43]line [07:00:43]line [07:00:43]line [07:00:43]line [07:00:43]line [07:00:43]written 0, free lines is 3164 [07:00:43]MH_Cut [07:00:43]Write to MH i2c: D1 01 00 1F 0D 01 FE [07:00:43]Write i2c OK [07:00:43]MH_I2C_Read... [07:00:43]Read from MH i2c: D1 [07:00:43]MH_I2C_Read... [07:00:43]Read from MH i2c: D1 01 00 [07:00:43]MH_I2C_Read... [07:00:43]Read from MH i2c: D1 01 00 1F 0D 00 FD [07:00:43]Write to MH i2c: 01 00 00 20 0D 2D [07:00:43]Write i2c OK [07:00:43]MH_I2C_Read... [07:00:44]OFD Sender: No OFD packet to send [07:00:44]*** Cut start [07:00:44]*** Purtial cut [07:00:44]*** Stage 1: CUTSNS_PIN = 1 [07:00:45]Read from MH i2c: 01 [07:00:45]MH_I2C_Read... [07:00:45]*** Stop cut motor [07:00:45]*** Cut end [07:00:45]Read from MH i2c: 01 07 00 [07:00:45]MH_I2C_Read... [07:00:45]Read from MH i2c: 01 07 00 20 0D 00 00 00 00 00 FF 0F 42 [07:00:45]process_action close_receipt done [07:00:45]requested_data is exist [07:00:45]produce_requested_data [07:00:45]requested_item fm.sn is exist - process it [07:00:45]wFMCommunicate request_size=4 [07:00:45]MH_SAM_APDU [07:00:45]CAPDU: 80 11 00 00 [07:00:45]Write to MH i2c: E2 08 00 21 0D 80 11 00 00 00 00 00 00 A8 [07:00:45]Write i2c OK [07:00:45]MH_I2C_Read... [07:00:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:00:45]Read from MH i2c: E2 [07:00:45]MH_I2C_Read... [07:00:45]Read from MH i2c: E2 17 00 [07:00:45]MH_I2C_Read... [07:00:45]Read from MH i2c: E2 17 00 21 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 FB [07:00:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [07:00:45]wFMCommunicate OK [07:00:45]requested_item fd.num is exist - process it [07:00:45]SAM_PROTO_GetFieldsCounters [07:00:45]wFMCommunicate request_size=4 [07:00:45]MH_SAM_APDU [07:00:45]CAPDU: 80 13 00 00 [07:00:45]Write to MH i2c: E2 08 00 22 0D 80 13 00 00 00 00 00 00 AB [07:00:45]Write i2c OK [07:00:45]MH_I2C_Read... [07:00:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:00:45]Read from MH i2c: E2 [07:00:45]MH_I2C_Read... [07:00:45]Read from MH i2c: E2 62 00 [07:00:45]MH_I2C_Read... [07:00:45]Read from MH i2c: E2 62 00 22 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 78 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 F0 [07:00:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 78 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:00:45]wFMCommunicate OK [07:00:45]SAM_PROTO_GetFieldsCounters done [07:00:45]requested_item shift.num is exist - process it [07:00:45]requested_item shift.opened is exist - process it [07:00:45]req_shift_opened [07:00:45]FM_GetShiftState [07:00:45]SAM_PROTO_GetShiftState [07:00:45]wFMCommunicate request_size=4 [07:00:45]MH_SAM_APDU [07:00:45]CAPDU: 80 13 01 00 [07:00:45]Write to MH i2c: E2 08 00 23 0D 80 13 01 00 00 00 00 00 AD [07:00:45]Write i2c OK [07:00:45]MH_I2C_Read... [07:00:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:00:45]Read from MH i2c: E2 [07:00:45]MH_I2C_Read... [07:00:45]Read from MH i2c: E2 0E 00 [07:00:45]MH_I2C_Read... [07:00:45]Read from MH i2c: E2 0E 00 23 0D 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 D6 [07:00:45]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [07:00:45]wFMCommunicate OK [07:00:45]SAM_PROTO_GetShiftState done [07:00:45]FM_GetShiftState done [07:00:45]req_shift_opened done [07:00:45]requested_item shift.open_date is exist - process it [07:00:45]req_shift_open_date [07:00:45]req_shift_open_date done [07:00:45]produce_requested_data done [07:00:45]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52600,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [07:00:45]process_action_free close_receipt [07:00:45]json_value_free [07:00:45]json_value_free done [07:00:45]process_json_proto returns [07:00:45]Send response to host [07:00:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52600,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [07:00:45]free response buf [07:00:45]execute_script done [07:00:45]execute_script returns [07:00:45]free content buf [07:00:45]Sock 9.Close socket [07:00:45]Sock 9.Thread stoped [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:55]OFD Sender: No OFD packet to send [07:14:00]OFD Sender: No OFD packet to send [07:14:05]OFD Sender: No OFD packet to send [07:14:10]OFD Sender: No OFD packet to send [07:14:15]OFD Sender: No OFD packet to send [07:14:20]OFD Sender: No OFD packet to send [07:14:25]OFD Sender: No OFD packet to send [07:14:30]OFD Sender: No OFD packet to send [07:14:35]OFD Sender: No OFD packet to send [07:14:40]OFD Sender: No OFD packet to send [07:14:45]OFD Sender: No OFD packet to send [07:14:50]OFD Sender: No OFD packet to send [07:14:55]OFD Sender: No OFD packet to send [07:15:00]OFD Sender: No OFD packet to send [07:15:05]OFD Sender: No OFD packet to send [07:15:10]OFD Sender: No OFD packet to send [07:15:15]OFD Sender: No OFD packet to send [07:15:20]OFD Sender: No OFD packet to send [07:15:25]OFD Sender: No OFD packet to send [07:15:30]OFD Sender: No OFD packet to send [07:15:35]OFD Sender: No OFD packet to send [07:15:40]OFD Sender: No OFD packet to send [07:15:45]OFD Sender: No OFD packet to send [07:15:50]OFD Sender: No OFD packet to send [07:15:55]OFD Sender: No OFD packet to send [07:16:00]OFD Sender: No OFD packet to send [07:16:05]OFD Sender: No OFD packet to send [07:16:10]OFD Sender: No OFD packet to send [07:16:15]OFD Sender: No OFD packet to send [07:16:20]OFD Sender: No OFD packet to send [07:16:25]OFD Sender: No OFD packet to send [07:16:30]OFD Sender: No OFD packet to send [07:16:35]OFD Sender: No OFD packet to send [07:16:40]OFD Sender: No OFD packet to send [07:16:45]OFD Sender: No OFD packet to send [07:16:50]OFD Sender: No OFD packet to send [07:16:55]OFD Sender: No OFD packet to send [07:17:00]OFD Sender: No OFD packet to send [07:17:05]OFD Sender: No OFD packet to send [07:17:10]OFD Sender: No OFD packet to send [07:17:15]OFD Sender: No OFD packet to send [07:17:20]OFD Sender: No OFD packet to send [07:17:25]OFD Sender: No OFD packet to send [07:17:30]OFD Sender: No OFD packet to send [07:17:35]OFD Sender: No OFD packet to send [07:17:40]OFD Sender: No OFD packet to send [07:17:45]OFD Sender: No OFD packet to send [07:17:50]OFD Sender: No OFD packet to send [07:17:55]OFD Sender: No OFD packet to send [07:18:00]OFD Sender: No OFD packet to send [07:18:05]OFD Sender: No OFD packet to send [07:18:10]OFD Sender: No OFD packet to send [07:18:15]OFD Sender: No OFD packet to send [07:18:20]OFD Sender: No OFD packet to send [07:18:25]OFD Sender: No OFD packet to send [07:18:30]OFD Sender: No OFD packet to send [07:18:35]OFD Sender: No OFD packet to send [07:18:40]OFD Sender: No OFD packet to send [07:18:45]OFD Sender: No OFD packet to send [07:18:50]OFD Sender: No OFD packet to send [07:18:55]OFD Sender: No OFD packet to send [07:19:00]OFD Sender: No OFD packet to send [07:19:05]OFD Sender: No OFD packet to send [07:19:10]OFD Sender: No OFD packet to send [07:19:15]OFD Sender: No OFD packet to send [07:19:20]OFD Sender: No OFD packet to send [07:19:25]OFD Sender: No OFD packet to send [07:19:30]OFD Sender: No OFD packet to send [07:19:35]OFD Sender: No OFD packet to send [07:19:40]OFD Sender: No OFD packet to send [07:19:45]OFD Sender: No OFD packet to send [07:19:50]OFD Sender: No OFD packet to send [07:19:55]OFD Sender: No OFD packet to send [07:20:00]OFD Sender: No OFD packet to send [07:20:05]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:20]OFD Sender: No OFD packet to send [07:27:25]OFD Sender: No OFD packet to send [07:27:30]OFD Sender: No OFD packet to send [07:27:35]OFD Sender: No OFD packet to send [07:27:40]OFD Sender: No OFD packet to send [07:27:45]OFD Sender: No OFD packet to send [07:27:50]OFD Sender: No OFD packet to send [07:27:55]OFD Sender: No OFD packet to send [07:28:00]OFD Sender: No OFD packet to send [07:28:05]OFD Sender: No OFD packet to send [07:28:10]OFD Sender: No OFD packet to send [07:28:15]OFD Sender: No OFD packet to send [07:28:20]OFD Sender: No OFD packet to send [07:28:25]OFD Sender: No OFD packet to send [07:28:30]OFD Sender: No OFD packet to send [07:28:35]OFD Sender: No OFD packet to send [07:28:40]OFD Sender: No OFD packet to send [07:28:45]OFD Sender: No OFD packet to send [07:28:50]OFD Sender: No OFD packet to send [07:28:55]OFD Sender: No OFD packet to send [07:29:00]OFD Sender: No OFD packet to send [07:29:05]OFD Sender: No OFD packet to send [07:29:10]OFD Sender: No OFD packet to send [07:29:15]OFD Sender: No OFD packet to send [07:29:20]OFD Sender: No OFD packet to send [07:29:25]OFD Sender: No OFD packet to send [07:29:30]OFD Sender: No OFD packet to send [07:29:35]OFD Sender: No OFD packet to send [07:29:40]OFD Sender: No OFD packet to send [07:29:45]OFD Sender: No OFD packet to send [07:29:50]OFD Sender: No OFD packet to send [07:29:55]OFD Sender: No OFD packet to send [07:30:00]OFD Sender: No OFD packet to send [07:30:05]OFD Sender: No OFD packet to send [07:30:10]OFD Sender: No OFD packet to send [07:30:15]OFD Sender: No OFD packet to send [07:30:20]OFD Sender: No OFD packet to send [07:30:25]OFD Sender: No OFD packet to send [07:30:30]OFD Sender: No OFD packet to send [07:30:35]OFD Sender: No OFD packet to send [07:30:40]OFD Sender: No OFD packet to send [07:30:45]OFD Sender: No OFD packet to send [07:30:50]OFD Sender: No OFD packet to send [07:30:55]OFD Sender: No OFD packet to send [07:31:00]OFD Sender: No OFD packet to send [07:31:05]OFD Sender: No OFD packet to send [07:31:10]OFD Sender: No OFD packet to send [07:31:15]OFD Sender: No OFD packet to send [07:31:20]OFD Sender: No OFD packet to send [07:31:25]OFD Sender: No OFD packet to send [07:31:30]OFD Sender: No OFD packet to send [07:31:35]OFD Sender: No OFD packet to send [07:31:40]OFD Sender: No OFD packet to send [07:31:45]OFD Sender: No OFD packet to send [07:31:51]OFD Sender: No OFD packet to send [07:31:56]OFD Sender: No OFD packet to send [07:32:01]OFD Sender: No OFD packet to send [07:32:06]OFD Sender: No OFD packet to send [07:32:11]OFD Sender: No OFD packet to send [07:32:16]OFD Sender: No OFD packet to send [07:32:21]OFD Sender: No OFD packet to send [07:32:26]OFD Sender: No OFD packet to send [07:32:31]OFD Sender: No OFD packet to send [07:32:36]OFD Sender: No OFD packet to send [07:32:41]OFD Sender: No OFD packet to send [07:32:46]OFD Sender: No OFD packet to send [07:32:51]OFD Sender: No OFD packet to send [07:32:56]OFD Sender: No OFD packet to send [07:33:01]OFD Sender: No OFD packet to send [07:33:06]OFD Sender: No OFD packet to send [07:33:11]OFD Sender: No OFD packet to send [07:33:16]OFD Sender: No OFD packet to send [07:33:21]OFD Sender: No OFD packet to send [07:33:26]OFD Sender: No OFD packet to send [07:33:31]OFD Sender: No OFD packet to send [07:33:36]OFD Sender: No OFD packet to send [07:33:41]OFD Sender: No OFD packet to send [07:33:46]OFD Sender: No OFD packet to send [07:33:51]OFD Sender: No OFD packet to send [07:33:56]OFD Sender: No OFD packet to send [07:34:01]OFD Sender: No OFD packet to send [07:34:06]OFD Sender: No OFD packet to send [07:34:11]OFD Sender: No OFD packet to send [07:34:16]OFD Sender: No OFD packet to send [07:34:21]OFD Sender: No OFD packet to send [07:34:26]OFD Sender: No OFD packet to send [07:34:31]OFD Sender: No OFD packet to send [07:34:36]OFD Sender: No OFD packet to send [07:34:41]OFD Sender: No OFD packet to send [07:34:46]OFD Sender: No OFD packet to send [07:34:51]OFD Sender: No OFD packet to send [07:34:56]OFD Sender: No OFD packet to send [07:35:01]OFD Sender: No OFD packet to send [07:35:06]OFD Sender: No OFD packet to send [07:35:11]OFD Sender: No OFD packet to send [07:35:16]OFD Sender: No OFD packet to send [07:35:21]OFD Sender: No OFD packet to send [07:35:26]OFD Sender: No OFD packet to send [07:35:31]OFD Sender: No OFD packet to send [07:35:36]OFD Sender: No OFD packet to send [07:35:41]OFD Sender: No OFD packet to send [07:35:46]OFD Sender: No OFD packet to send [07:35:51]OFD Sender: No OFD packet to send [07:35:56]OFD Sender: No OFD packet to send [07:36:01]OFD Sender: No OFD packet to send [07:36:06]OFD Sender: No OFD packet to send [07:36:11]OFD Sender: No OFD packet to send [07:36:16]OFD Sender: No OFD packet to send [07:36:21]OFD Sender: No OFD packet to send [07:36:26]OFD Sender: No OFD packet to send [07:36:31]OFD Sender: No OFD packet to send [07:36:36]OFD Sender: No OFD packet to send [07:36:41]OFD Sender: No OFD packet to send [07:36:46]OFD Sender: No OFD packet to send [07:36:51]OFD Sender: No OFD packet to send [07:36:56]OFD Sender: No OFD packet to send [07:37:01]OFD Sender: No OFD packet to send [07:37:06]OFD Sender: No OFD packet to send [07:37:11]OFD Sender: No OFD packet to send [07:37:16]OFD Sender: No OFD packet to send [07:37:21]OFD Sender: No OFD packet to send [07:37:26]OFD Sender: No OFD packet to send [07:37:31]OFD Sender: No OFD packet to send [07:37:36]OFD Sender: No OFD packet to send [07:37:41]OFD Sender: No OFD packet to send [07:37:46]OFD Sender: No OFD packet to send [07:37:51]OFD Sender: No OFD packet to send [07:37:56]OFD Sender: No OFD packet to send [07:38:01]OFD Sender: No OFD packet to send [07:38:06]OFD Sender: No OFD packet to send [07:38:11]OFD Sender: No OFD packet to send [07:38:16]OFD Sender: No OFD packet to send [07:38:21]OFD Sender: No OFD packet to send [07:38:26]OFD Sender: No OFD packet to send [07:38:31]OFD Sender: No OFD packet to send [07:38:36]OFD Sender: No OFD packet to send [07:38:41]OFD Sender: No OFD packet to send [07:38:46]OFD Sender: No OFD packet to send [07:38:51]OFD Sender: No OFD packet to send [07:38:56]OFD Sender: No OFD packet to send [07:39:01]OFD Sender: No OFD packet to send [07:39:06]OFD Sender: No OFD packet to send [07:39:11]OFD Sender: No OFD packet to send [07:39:16]OFD Sender: No OFD packet to send [07:39:21]OFD Sender: No OFD packet to send [07:39:26]OFD Sender: No OFD packet to send [07:39:31]OFD Sender: No OFD packet to send [07:39:36]OFD Sender: No OFD packet to send [07:39:41]OFD Sender: No OFD packet to send [07:39:46]OFD Sender: No OFD packet to send [07:39:51]OFD Sender: No OFD packet to send [07:39:56]OFD Sender: No OFD packet to send [07:40:01]OFD Sender: No OFD packet to send [07:40:06]OFD Sender: No OFD packet to send [07:40:11]OFD Sender: No OFD packet to send [07:40:16]OFD Sender: No OFD packet to send [07:40:21]OFD Sender: No OFD packet to send [07:40:26]OFD Sender: No OFD packet to send [07:40:31]OFD Sender: No OFD packet to send [07:40:36]OFD Sender: No OFD packet to send [07:40:41]OFD Sender: No OFD packet to send [07:40:46]OFD Sender: No OFD packet to send [07:40:51]OFD Sender: No OFD packet to send [07:40:56]OFD Sender: No OFD packet to send [07:41:01]OFD Sender: No OFD packet to send [07:41:06]OFD Sender: No OFD packet to send [07:41:11]OFD Sender: No OFD packet to send [07:41:16]OFD Sender: No OFD packet to send [07:41:21]OFD Sender: No OFD packet to send [07:41:26]OFD Sender: No OFD packet to send [07:41:31]OFD Sender: No OFD packet to send [07:41:36]OFD Sender: No OFD packet to send [07:41:41]OFD Sender: No OFD packet to send [07:41:46]OFD Sender: No OFD packet to send [07:41:51]OFD Sender: No OFD packet to send [07:41:56]OFD Sender: No OFD packet to send [07:42:01]OFD Sender: No OFD packet to send [07:42:06]OFD Sender: No OFD packet to send [07:42:11]OFD Sender: No OFD packet to send [07:42:16]OFD Sender: No OFD packet to send [07:42:21]OFD Sender: No OFD packet to send [07:42:26]OFD Sender: No OFD packet to send [07:42:31]OFD Sender: No OFD packet to send [07:42:36]OFD Sender: No OFD packet to send [07:42:41]OFD Sender: No OFD packet to send [07:42:46]OFD Sender: No OFD packet to send [07:42:51]OFD Sender: No OFD packet to send [07:42:56]OFD Sender: No OFD packet to send [07:43:01]OFD Sender: No OFD packet to send [07:43:06]OFD Sender: No OFD packet to send [07:43:11]OFD Sender: No OFD packet to send [07:43:16]OFD Sender: No OFD packet to send [07:43:21]OFD Sender: No OFD packet to send [07:43:26]OFD Sender: No OFD packet to send [07:43:31]OFD Sender: No OFD packet to send [07:43:36]OFD Sender: No OFD packet to send [07:43:41]OFD Sender: No OFD packet to send [07:43:46]OFD Sender: No OFD packet to send [07:43:51]OFD Sender: No OFD packet to send [07:43:56]OFD Sender: No OFD packet to send [07:44:01]OFD Sender: No OFD packet to send [07:44:06]OFD Sender: No OFD packet to send [07:44:11]OFD Sender: No OFD packet to send [07:44:16]OFD Sender: No OFD packet to send [07:44:21]OFD Sender: No OFD packet to send [07:44:26]OFD Sender: No OFD packet to send [07:44:31]OFD Sender: No OFD packet to send [07:44:36]OFD Sender: No OFD packet to send [07:44:41]OFD Sender: No OFD packet to send [07:44:46]OFD Sender: No OFD packet to send [07:44:51]OFD Sender: No OFD packet to send [07:44:56]OFD Sender: No OFD packet to send [07:45:01]OFD Sender: No OFD packet to send [07:45:06]OFD Sender: No OFD packet to send [07:45:11]OFD Sender: No OFD packet to send [07:45:16]OFD Sender: No OFD packet to send [07:45:21]OFD Sender: No OFD packet to send [07:45:26]OFD Sender: No OFD packet to send [07:45:31]OFD Sender: No OFD packet to send [07:45:36]OFD Sender: No OFD packet to send [07:45:41]OFD Sender: No OFD packet to send [07:45:46]OFD Sender: No OFD packet to send [07:45:51]OFD Sender: No OFD packet to send [07:45:56]OFD Sender: No OFD packet to send [07:46:01]OFD Sender: No OFD packet to send [07:46:06]OFD Sender: No OFD packet to send [07:46:11]OFD Sender: No OFD packet to send [07:46:16]OFD Sender: No OFD packet to send [07:46:21]OFD Sender: No OFD packet to send [07:46:26]OFD Sender: No OFD packet to send [07:46:31]OFD Sender: No OFD packet to send [07:46:36]OFD Sender: No OFD packet to send [07:46:41]OFD Sender: No OFD packet to send [07:46:46]OFD Sender: No OFD packet to send [07:46:51]OFD Sender: No OFD packet to send [07:46:56]OFD Sender: No OFD packet to send [07:47:01]OFD Sender: No OFD packet to send [07:47:06]OFD Sender: No OFD packet to send [07:47:11]OFD Sender: No OFD packet to send [07:47:16]OFD Sender: No OFD packet to send [07:47:21]OFD Sender: No OFD packet to send [07:47:26]OFD Sender: No OFD packet to send [07:47:31]OFD Sender: No OFD packet to send [07:47:36]OFD Sender: No OFD packet to send [07:47:41]OFD Sender: No OFD packet to send [07:47:46]OFD Sender: No OFD packet to send [07:47:51]OFD Sender: No OFD packet to send [07:47:56]OFD Sender: No OFD packet to send [07:48:01]OFD Sender: No OFD packet to send [07:48:06]OFD Sender: No OFD packet to send [07:48:11]OFD Sender: No OFD packet to send [07:48:16]OFD Sender: No OFD packet to send [07:48:21]OFD Sender: No OFD packet to send [07:48:26]OFD Sender: No OFD packet to send [07:48:31]OFD Sender: No OFD packet to send [07:48:36]OFD Sender: No OFD packet to send [07:48:41]OFD Sender: No OFD packet to send [07:48:46]OFD Sender: No OFD packet to send [07:48:51]OFD Sender: No OFD packet to send [07:48:56]OFD Sender: No OFD packet to send [07:49:01]OFD Sender: No OFD packet to send [07:49:06]OFD Sender: No OFD packet to send [07:49:11]OFD Sender: No OFD packet to send [07:49:16]OFD Sender: No OFD packet to send [07:49:21]OFD Sender: No OFD packet to send [07:49:26]OFD Sender: No OFD packet to send [07:49:31]OFD Sender: No OFD packet to send [07:49:36]OFD Sender: No OFD packet to send [07:49:41]OFD Sender: No OFD packet to send [07:49:46]OFD Sender: No OFD packet to send [07:49:52]OFD Sender: No OFD packet to send [07:49:57]OFD Sender: No OFD packet to send [07:50:02]OFD Sender: No OFD packet to send [07:50:07]OFD Sender: No OFD packet to send [07:50:12]OFD Sender: No OFD packet to send [07:50:17]OFD Sender: No OFD packet to send [07:50:22]OFD Sender: No OFD packet to send [07:50:27]OFD Sender: No OFD packet to send [07:50:32]OFD Sender: No OFD packet to send [07:50:37]OFD Sender: No OFD packet to send [07:50:42]OFD Sender: No OFD packet to send [07:50:47]OFD Sender: No OFD packet to send [07:50:52]OFD Sender: No OFD packet to send [07:50:57]OFD Sender: No OFD packet to send [07:51:02]OFD Sender: No OFD packet to send [07:51:07]OFD Sender: No OFD packet to send [07:51:12]OFD Sender: No OFD packet to send [07:51:17]OFD Sender: No OFD packet to send [07:51:22]OFD Sender: No OFD packet to send [07:51:27]OFD Sender: No OFD packet to send [07:51:32]OFD Sender: No OFD packet to send [07:51:37]OFD Sender: No OFD packet to send [07:51:42]OFD Sender: No OFD packet to send [07:51:47]OFD Sender: No OFD packet to send [07:51:52]OFD Sender: No OFD packet to send [07:51:57]OFD Sender: No OFD packet to send [07:52:02]OFD Sender: No OFD packet to send [07:52:07]OFD Sender: No OFD packet to send [07:52:12]OFD Sender: No OFD packet to send [07:52:17]OFD Sender: No OFD packet to send [07:52:22]OFD Sender: No OFD packet to send [07:52:27]OFD Sender: No OFD packet to send [07:52:32]OFD Sender: No OFD packet to send [07:52:37]OFD Sender: No OFD packet to send [07:52:42]OFD Sender: No OFD packet to send [07:52:47]OFD Sender: No OFD packet to send [07:52:52]OFD Sender: No OFD packet to send [07:52:57]OFD Sender: No OFD packet to send [07:53:02]OFD Sender: No OFD packet to send [07:53:07]OFD Sender: No OFD packet to send [07:53:12]OFD Sender: No OFD packet to send [07:53:17]OFD Sender: No OFD packet to send [07:53:22]OFD Sender: No OFD packet to send [07:53:27]OFD Sender: No OFD packet to send [07:53:32]OFD Sender: No OFD packet to send [07:53:37]OFD Sender: No OFD packet to send [07:53:42]OFD Sender: No OFD packet to send [07:53:47]OFD Sender: No OFD packet to send [07:53:52]OFD Sender: No OFD packet to send [07:53:57]OFD Sender: No OFD packet to send [07:54:02]OFD Sender: No OFD packet to send [07:54:07]OFD Sender: No OFD packet to send [07:54:12]OFD Sender: No OFD packet to send [07:54:17]OFD Sender: No OFD packet to send [07:54:22]OFD Sender: No OFD packet to send [07:54:27]OFD Sender: No OFD packet to send [07:54:32]OFD Sender: No OFD packet to send [07:54:37]OFD Sender: No OFD packet to send [07:54:42]OFD Sender: No OFD packet to send [07:54:47]OFD Sender: No OFD packet to send [07:54:52]OFD Sender: No OFD packet to send [07:54:57]OFD Sender: No OFD packet to send [07:55:02]OFD Sender: No OFD packet to send [07:55:07]OFD Sender: No OFD packet to send [07:55:12]OFD Sender: No OFD packet to send [07:55:17]OFD Sender: No OFD packet to send [07:55:22]OFD Sender: No OFD packet to send [07:55:27]OFD Sender: No OFD packet to send [07:55:32]OFD Sender: No OFD packet to send [07:55:37]OFD Sender: No OFD packet to send [07:55:42]OFD Sender: No OFD packet to send [07:55:47]OFD Sender: No OFD packet to send [07:55:52]OFD Sender: No OFD packet to send [07:55:57]OFD Sender: No OFD packet to send [07:56:02]OFD Sender: No OFD packet to send [07:56:07]OFD Sender: No OFD packet to send [07:56:12]OFD Sender: No OFD packet to send [07:56:17]OFD Sender: No OFD packet to send [07:56:22]OFD Sender: No OFD packet to send [07:56:27]OFD Sender: No OFD packet to send [07:56:32]OFD Sender: No OFD packet to send [07:56:37]OFD Sender: No OFD packet to send [07:56:42]OFD Sender: No OFD packet to send [07:56:47]OFD Sender: No OFD packet to send [07:56:52]OFD Sender: No OFD packet to send [07:56:57]OFD Sender: No OFD packet to send [07:57:02]OFD Sender: No OFD packet to send [07:57:07]OFD Sender: No OFD packet to send [07:57:12]OFD Sender: No OFD packet to send [07:57:17]OFD Sender: No OFD packet to send [07:57:22]OFD Sender: No OFD packet to send [07:57:27]OFD Sender: No OFD packet to send [07:57:32]OFD Sender: No OFD packet to send [07:57:37]OFD Sender: No OFD packet to send [07:57:42]OFD Sender: No OFD packet to send [07:57:47]OFD Sender: No OFD packet to send [07:57:52]OFD Sender: No OFD packet to send [07:57:57]OFD Sender: No OFD packet to send [07:58:02]OFD Sender: No OFD packet to send [07:58:07]OFD Sender: No OFD packet to send [07:58:12]OFD Sender: No OFD packet to send [07:58:17]OFD Sender: No OFD packet to send [07:58:22]OFD Sender: No OFD packet to send [07:58:27]OFD Sender: No OFD packet to send [07:58:32]OFD Sender: No OFD packet to send [07:58:37]OFD Sender: No OFD packet to send [07:58:42]OFD Sender: No OFD packet to send [07:58:47]OFD Sender: No OFD packet to send [07:58:52]OFD Sender: No OFD packet to send [07:58:57]OFD Sender: No OFD packet to send [07:59:02]OFD Sender: No OFD packet to send [07:59:07]OFD Sender: No OFD packet to send [07:59:12]OFD Sender: No OFD packet to send [07:59:17]OFD Sender: No OFD packet to send [07:59:22]OFD Sender: No OFD packet to send [07:59:27]OFD Sender: No OFD packet to send [07:59:32]OFD Sender: No OFD packet to send [07:59:37]OFD Sender: No OFD packet to send [07:59:42]OFD Sender: No OFD packet to send [07:59:47]OFD Sender: No OFD packet to send [07:59:52]OFD Sender: No OFD packet to send [07:59:57]OFD Sender: No OFD packet to send [08:00:02]OFD Sender: No OFD packet to send [08:00:07]OFD Sender: No OFD packet to send [08:00:12]OFD Sender: No OFD packet to send [08:00:17]OFD Sender: No OFD packet to send [08:00:22]OFD Sender: No OFD packet to send [08:00:27]OFD Sender: No OFD packet to send [08:00:32]OFD Sender: No OFD packet to send [08:00:37]OFD Sender: No OFD packet to send [08:00:42]OFD Sender: No OFD packet to send [08:00:47]OFD Sender: No OFD packet to send [08:00:52]OFD Sender: No OFD packet to send [08:00:57]OFD Sender: No OFD packet to send [08:01:02]OFD Sender: No OFD packet to send [08:01:07]OFD Sender: No OFD packet to send [08:01:12]OFD Sender: No OFD packet to send [08:01:17]OFD Sender: No OFD packet to send [08:01:22]OFD Sender: No OFD packet to send [08:01:27]OFD Sender: No OFD packet to send [08:01:32]OFD Sender: No OFD packet to send [08:01:37]OFD Sender: No OFD packet to send [08:01:42]OFD Sender: No OFD packet to send [08:01:47]OFD Sender: No OFD packet to send [08:01:52]OFD Sender: No OFD packet to send [08:01:57]OFD Sender: No OFD packet to send [08:02:02]OFD Sender: No OFD packet to send [08:02:07]OFD Sender: No OFD packet to send [08:02:12]OFD Sender: No OFD packet to send [08:02:17]OFD Sender: No OFD packet to send [08:02:22]OFD Sender: No OFD packet to send [08:02:27]OFD Sender: No OFD packet to send [08:02:32]OFD Sender: No OFD packet to send [08:02:37]OFD Sender: No OFD packet to send [08:02:42]OFD Sender: No OFD packet to send [08:02:47]OFD Sender: No OFD packet to send [08:02:52]OFD Sender: No OFD packet to send [08:02:57]OFD Sender: No OFD packet to send [08:03:02]OFD Sender: No OFD packet to send [08:03:07]OFD Sender: No OFD packet to send [08:03:12]OFD Sender: No OFD packet to send [08:03:17]OFD Sender: No OFD packet to send [08:03:22]OFD Sender: No OFD packet to send [08:03:27]OFD Sender: No OFD packet to send [08:03:32]OFD Sender: No OFD packet to send [08:03:37]OFD Sender: No OFD packet to send [08:03:42]OFD Sender: No OFD packet to send [08:03:47]OFD Sender: No OFD packet to send [08:03:52]OFD Sender: No OFD packet to send [08:03:57]OFD Sender: No OFD packet to send [08:04:02]OFD Sender: No OFD packet to send [08:04:07]OFD Sender: No OFD packet to send [08:04:12]OFD Sender: No OFD packet to send [08:04:17]OFD Sender: No OFD packet to send [08:04:22]OFD Sender: No OFD packet to send [08:04:27]OFD Sender: No OFD packet to send [08:04:32]OFD Sender: No OFD packet to send [08:04:37]OFD Sender: No OFD packet to send [08:04:42]OFD Sender: No OFD packet to send [08:04:47]OFD Sender: No OFD packet to send [08:04:52]OFD Sender: No OFD packet to send [08:04:57]OFD Sender: No OFD packet to send [08:05:02]OFD Sender: No OFD packet to send [08:05:07]OFD Sender: No OFD packet to send [08:05:12]OFD Sender: No OFD packet to send [08:05:17]OFD Sender: No OFD packet to send [08:05:22]OFD Sender: No OFD packet to send [08:05:27]OFD Sender: No OFD packet to send [08:05:32]OFD Sender: No OFD packet to send [08:05:37]OFD Sender: No OFD packet to send [08:05:42]OFD Sender: No OFD packet to send [08:05:47]OFD Sender: No OFD packet to send [08:05:52]OFD Sender: No OFD packet to send [08:05:57]OFD Sender: No OFD packet to send [08:06:02]OFD Sender: No OFD packet to send [08:06:07]OFD Sender: No OFD packet to send [08:06:12]OFD Sender: No OFD packet to send [08:06:17]OFD Sender: No OFD packet to send [08:06:22]OFD Sender: No OFD packet to send [08:06:27]OFD Sender: No OFD packet to send [08:06:32]OFD Sender: No OFD packet to send [08:06:37]OFD Sender: No OFD packet to send [08:06:42]OFD Sender: No OFD packet to send [08:06:47]OFD Sender: No OFD packet to send [08:06:52]OFD Sender: No OFD packet to send [08:06:57]OFD Sender: No OFD packet to send [08:07:02]OFD Sender: No OFD packet to send [08:07:07]OFD Sender: No OFD packet to send [08:07:12]OFD Sender: No OFD packet to send [08:07:17]OFD Sender: No OFD packet to send [08:07:22]OFD Sender: No OFD packet to send [08:07:27]OFD Sender: No OFD packet to send [08:07:32]OFD Sender: No OFD packet to send [08:07:38]OFD Sender: No OFD packet to send [08:07:43]OFD Sender: No OFD packet to send [08:07:48]OFD Sender: No OFD packet to send [08:07:53]OFD Sender: No OFD packet to send [08:07:58]OFD Sender: No OFD packet to send [08:08:03]OFD Sender: No OFD packet to send [08:08:08]OFD Sender: No OFD packet to send [08:08:13]OFD Sender: No OFD packet to send [08:08:18]OFD Sender: No OFD packet to send [08:08:23]OFD Sender: No OFD packet to send [08:08:28]OFD Sender: No OFD packet to send [08:08:33]OFD Sender: No OFD packet to send [08:08:38]OFD Sender: No OFD packet to send [08:08:43]OFD Sender: No OFD packet to send [08:08:48]OFD Sender: No OFD packet to send [08:08:53]OFD Sender: No OFD packet to send [08:08:58]OFD Sender: No OFD packet to send [08:09:03]OFD Sender: No OFD packet to send [08:09:08]OFD Sender: No OFD packet to send [08:09:13]OFD Sender: No OFD packet to send [08:09:18]OFD Sender: No OFD packet to send [08:09:23]OFD Sender: No OFD packet to send [08:09:28]OFD Sender: No OFD packet to send [08:09:33]OFD Sender: No OFD packet to send [08:09:38]OFD Sender: No OFD packet to send [08:09:43]OFD Sender: No OFD packet to send [08:09:48]OFD Sender: No OFD packet to send [08:09:53]OFD Sender: No OFD packet to send [08:09:58]OFD Sender: No OFD packet to send [08:10:03]OFD Sender: No OFD packet to send [08:10:08]OFD Sender: No OFD packet to send [08:10:13]OFD Sender: No OFD packet to send [08:10:18]OFD Sender: No OFD packet to send [08:10:23]OFD Sender: No OFD packet to send [08:10:28]OFD Sender: No OFD packet to send [08:10:33]OFD Sender: No OFD packet to send [08:10:38]OFD Sender: No OFD packet to send [08:10:43]OFD Sender: No OFD packet to send [08:10:48]OFD Sender: No OFD packet to send [08:10:53]OFD Sender: No OFD packet to send [08:10:58]OFD Sender: No OFD packet to send [08:11:03]OFD Sender: No OFD packet to send [08:11:08]OFD Sender: No OFD packet to send [08:11:13]OFD Sender: No OFD packet to send [08:11:18]OFD Sender: No OFD packet to send [08:11:23]OFD Sender: No OFD packet to send [08:11:28]OFD Sender: No OFD packet to send [08:11:33]OFD Sender: No OFD packet to send [08:11:38]OFD Sender: No OFD packet to send [08:11:43]OFD Sender: No OFD packet to send [08:11:48]OFD Sender: No OFD packet to send [08:11:53]OFD Sender: No OFD packet to send [08:11:58]OFD Sender: No OFD packet to send [08:12:03]OFD Sender: No OFD packet to send [08:12:08]OFD Sender: No OFD packet to send [08:12:13]OFD Sender: No OFD packet to send [08:12:18]OFD Sender: No OFD packet to send [08:12:23]OFD Sender: No OFD packet to send [08:12:28]OFD Sender: No OFD packet to send [08:12:33]OFD Sender: No OFD packet to send [08:12:38]OFD Sender: No OFD packet to send [08:12:43]OFD Sender: No OFD packet to send [08:12:48]OFD Sender: No OFD packet to send [08:12:53]OFD Sender: No OFD packet to send [08:12:58]OFD Sender: No OFD packet to send [08:13:03]OFD Sender: No OFD packet to send [08:13:08]OFD Sender: No OFD packet to send [08:13:13]OFD Sender: No OFD packet to send [08:13:18]OFD Sender: No OFD packet to send [08:13:23]OFD Sender: No OFD packet to send [08:13:28]OFD Sender: No OFD packet to send [08:13:33]OFD Sender: No OFD packet to send [08:13:38]OFD Sender: No OFD packet to send [08:13:43]OFD Sender: No OFD packet to send [08:13:48]OFD Sender: No OFD packet to send [08:13:53]OFD Sender: No OFD packet to send [08:13:58]OFD Sender: No OFD packet to send [08:14:03]OFD Sender: No OFD packet to send [08:14:08]OFD Sender: No OFD packet to send [08:14:13]OFD Sender: No OFD packet to send [08:14:18]OFD Sender: No OFD packet to send [08:14:23]OFD Sender: No OFD packet to send [08:14:28]OFD Sender: No OFD packet to send [08:14:33]OFD Sender: No OFD packet to send [08:14:38]OFD Sender: No OFD packet to send [08:14:43]OFD Sender: No OFD packet to send [08:14:48]OFD Sender: No OFD packet to send [08:14:53]OFD Sender: No OFD packet to send [08:14:58]OFD Sender: No OFD packet to send [08:15:03]OFD Sender: No OFD packet to send [08:15:08]OFD Sender: No OFD packet to send [08:15:13]OFD Sender: No OFD packet to send [08:15:18]OFD Sender: No OFD packet to send [08:15:23]OFD Sender: No OFD packet to send [08:15:28]OFD Sender: No OFD packet to send [08:15:33]OFD Sender: No OFD packet to send [08:15:38]OFD Sender: No OFD packet to send [08:15:43]OFD Sender: No OFD packet to send [08:15:48]OFD Sender: No OFD packet to send [08:15:53]OFD Sender: No OFD packet to send [08:15:58]OFD Sender: No OFD packet to send [08:16:03]OFD Sender: No OFD packet to send [08:16:08]OFD Sender: No OFD packet to send [08:16:13]OFD Sender: No OFD packet to send [08:16:18]OFD Sender: No OFD packet to send [08:16:23]OFD Sender: No OFD packet to send [08:16:28]OFD Sender: No OFD packet to send [08:16:33]OFD Sender: No OFD packet to send [08:16:38]OFD Sender: No OFD packet to send [08:16:43]OFD Sender: No OFD packet to send [08:16:48]OFD Sender: No OFD packet to send [08:16:53]OFD Sender: No OFD packet to send [08:16:58]OFD Sender: No OFD packet to send [08:17:03]OFD Sender: No OFD packet to send [08:17:08]OFD Sender: No OFD packet to send [08:17:13]OFD Sender: No OFD packet to send [08:17:18]OFD Sender: No OFD packet to send [08:17:23]OFD Sender: No OFD packet to send [08:17:28]OFD Sender: No OFD packet to send [08:17:33]OFD Sender: No OFD packet to send [08:17:38]OFD Sender: No OFD packet to send [08:17:43]OFD Sender: No OFD packet to send [08:17:48]OFD Sender: No OFD packet to send [08:17:53]OFD Sender: No OFD packet to send [08:17:58]OFD Sender: No OFD packet to send [08:18:03]OFD Sender: No OFD packet to send [08:18:08]OFD Sender: No OFD packet to send [08:18:13]OFD Sender: No OFD packet to send [08:18:18]OFD Sender: No OFD packet to send [08:18:23]OFD Sender: No OFD packet to send [08:18:28]OFD Sender: No OFD packet to send [08:18:33]OFD Sender: No OFD packet to send [08:18:38]OFD Sender: No OFD packet to send [08:18:43]OFD Sender: No OFD packet to send [08:18:48]OFD Sender: No OFD packet to send [08:18:53]OFD Sender: No OFD packet to send [08:18:58]OFD Sender: No OFD packet to send [08:19:03]OFD Sender: No OFD packet to send [08:19:08]OFD Sender: No OFD packet to send [08:19:13]OFD Sender: No OFD packet to send [08:19:18]OFD Sender: No OFD packet to send [08:19:23]OFD Sender: No OFD packet to send [08:19:28]OFD Sender: No OFD packet to send [08:19:33]OFD Sender: No OFD packet to send [08:19:38]OFD Sender: No OFD packet to send [08:19:43]OFD Sender: No OFD packet to send [08:19:48]OFD Sender: No OFD packet to send [08:19:53]OFD Sender: No OFD packet to send [08:19:58]OFD Sender: No OFD packet to send [08:20:03]OFD Sender: No OFD packet to send [08:20:08]OFD Sender: No OFD packet to send [08:20:13]OFD Sender: No OFD packet to send [08:20:18]OFD Sender: No OFD packet to send [08:20:23]OFD Sender: No OFD packet to send [08:20:28]OFD Sender: No OFD packet to send [08:20:33]OFD Sender: No OFD packet to send [08:20:38]OFD Sender: No OFD packet to send [08:20:43]OFD Sender: No OFD packet to send [08:20:48]OFD Sender: No OFD packet to send [08:20:53]OFD Sender: No OFD packet to send [08:20:58]OFD Sender: No OFD packet to send [08:21:03]OFD Sender: No OFD packet to send [08:21:08]OFD Sender: No OFD packet to send [08:21:13]OFD Sender: No OFD packet to send [08:21:18]OFD Sender: No OFD packet to send [08:21:23]OFD Sender: No OFD packet to send [08:21:28]OFD Sender: No OFD packet to send [08:21:33]OFD Sender: No OFD packet to send [08:21:38]OFD Sender: No OFD packet to send [08:21:43]OFD Sender: No OFD packet to send [08:21:48]OFD Sender: No OFD packet to send [08:21:53]OFD Sender: No OFD packet to send [08:21:58]OFD Sender: No OFD packet to send [08:22:03]OFD Sender: No OFD packet to send [08:22:08]OFD Sender: No OFD packet to send [08:22:13]OFD Sender: No OFD packet to send [08:22:18]OFD Sender: No OFD packet to send [08:22:23]OFD Sender: No OFD packet to send [08:22:28]OFD Sender: No OFD packet to send [08:22:33]OFD Sender: No OFD packet to send [08:22:38]OFD Sender: No OFD packet to send [08:22:43]OFD Sender: No OFD packet to send [08:22:48]OFD Sender: No OFD packet to send [08:22:53]OFD Sender: No OFD packet to send [08:22:58]OFD Sender: No OFD packet to send [08:23:03]OFD Sender: No OFD packet to send [08:23:08]OFD Sender: No OFD packet to send [08:23:13]OFD Sender: No OFD packet to send [08:23:18]OFD Sender: No OFD packet to send [08:23:23]OFD Sender: No OFD packet to send [08:23:28]OFD Sender: No OFD packet to send [08:23:33]OFD Sender: No OFD packet to send [08:23:38]OFD Sender: No OFD packet to send [08:23:43]OFD Sender: No OFD packet to send [08:23:48]OFD Sender: No OFD packet to send [08:23:53]OFD Sender: No OFD packet to send [08:23:58]OFD Sender: No OFD packet to send [08:24:03]OFD Sender: No OFD packet to send [08:24:08]OFD Sender: No OFD packet to send [08:24:13]OFD Sender: No OFD packet to send [08:24:18]OFD Sender: No OFD packet to send [08:24:23]OFD Sender: No OFD packet to send [08:24:28]OFD Sender: No OFD packet to send [08:24:33]OFD Sender: No OFD packet to send [08:24:38]OFD Sender: No OFD packet to send [08:24:43]OFD Sender: No OFD packet to send [08:24:48]OFD Sender: No OFD packet to send [08:24:53]OFD Sender: No OFD packet to send [08:24:58]OFD Sender: No OFD packet to send [08:25:03]OFD Sender: No OFD packet to send [08:25:08]OFD Sender: No OFD packet to send [08:25:13]OFD Sender: No OFD packet to send [08:25:18]OFD Sender: No OFD packet to send [08:25:23]OFD Sender: No OFD packet to send [08:25:28]OFD Sender: No OFD packet to send [08:25:33]OFD Sender: No OFD packet to send [08:25:38]OFD Sender: No OFD packet to send [08:25:44]OFD Sender: No OFD packet to send [08:25:49]OFD Sender: No OFD packet to send [08:25:54]OFD Sender: No OFD packet to send [08:25:59]OFD Sender: No OFD packet to send [08:26:04]OFD Sender: No OFD packet to send [08:26:09]OFD Sender: No OFD packet to send [08:26:14]OFD Sender: No OFD packet to send [08:26:19]OFD Sender: No OFD packet to send [08:26:24]OFD Sender: No OFD packet to send [08:26:29]OFD Sender: No OFD packet to send [08:26:34]OFD Sender: No OFD packet to send [08:26:39]OFD Sender: No OFD packet to send [08:26:44]OFD Sender: No OFD packet to send [08:26:49]OFD Sender: No OFD packet to send [08:26:54]OFD Sender: No OFD packet to send [08:26:59]OFD Sender: No OFD packet to send [08:27:04]OFD Sender: No OFD packet to send [08:27:09]OFD Sender: No OFD packet to send [08:27:14]OFD Sender: No OFD packet to send [08:27:19]OFD Sender: No OFD packet to send [08:27:24]OFD Sender: No OFD packet to send [08:27:29]OFD Sender: No OFD packet to send [08:27:34]OFD Sender: No OFD packet to send [08:27:39]OFD Sender: No OFD packet to send [08:27:44]OFD Sender: No OFD packet to send [08:27:49]OFD Sender: No OFD packet to send [08:27:54]OFD Sender: No OFD packet to send [08:27:59]OFD Sender: No OFD packet to send [08:28:04]OFD Sender: No OFD packet to send [08:28:09]OFD Sender: No OFD packet to send [08:28:14]OFD Sender: No OFD packet to send [08:28:19]OFD Sender: No OFD packet to send [08:28:24]OFD Sender: No OFD packet to send [08:28:29]OFD Sender: No OFD packet to send [08:28:34]OFD Sender: No OFD packet to send [08:28:39]OFD Sender: No OFD packet to send [08:28:44]OFD Sender: No OFD packet to send [08:28:49]OFD Sender: No OFD packet to send [08:28:54]OFD Sender: No OFD packet to send [08:28:59]OFD Sender: No OFD packet to send [08:29:04]OFD Sender: No OFD packet to send [08:29:09]OFD Sender: No OFD packet to send [08:29:14]OFD Sender: No OFD packet to send [08:29:19]OFD Sender: No OFD packet to send [08:29:24]OFD Sender: No OFD packet to send [08:29:29]OFD Sender: No OFD packet to send [08:29:34]OFD Sender: No OFD packet to send [08:29:39]OFD Sender: No OFD packet to send [08:29:44]OFD Sender: No OFD packet to send [08:29:49]OFD Sender: No OFD packet to send [08:29:54]OFD Sender: No OFD packet to send [08:29:59]OFD Sender: No OFD packet to send [08:30:04]OFD Sender: No OFD packet to send [08:30:09]OFD Sender: No OFD packet to send [08:30:14]OFD Sender: No OFD packet to send [08:30:19]OFD Sender: No OFD packet to send [08:30:24]OFD Sender: No OFD packet to send [08:30:29]OFD Sender: No OFD packet to send [08:30:34]OFD Sender: No OFD packet to send [08:30:39]OFD Sender: No OFD packet to send [08:30:44]OFD Sender: No OFD packet to send [08:30:49]OFD Sender: No OFD packet to send [08:30:54]OFD Sender: No OFD packet to send [08:30:59]OFD Sender: No OFD packet to send [08:31:04]OFD Sender: No OFD packet to send [08:31:09]OFD Sender: No OFD packet to send [08:31:14]OFD Sender: No OFD packet to send [08:31:19]OFD Sender: No OFD packet to send [08:31:24]OFD Sender: No OFD packet to send [08:31:29]OFD Sender: No OFD packet to send [08:31:34]OFD Sender: No OFD packet to send [08:31:39]OFD Sender: No OFD packet to send [08:31:44]OFD Sender: No OFD packet to send [08:31:49]OFD Sender: No OFD packet to send [08:31:54]OFD Sender: No OFD packet to send [08:31:59]OFD Sender: No OFD packet to send [08:32:04]OFD Sender: No OFD packet to send [08:32:09]OFD Sender: No OFD packet to send [08:32:14]OFD Sender: No OFD packet to send [08:32:19]OFD Sender: No OFD packet to send [08:32:24]OFD Sender: No OFD packet to send [08:32:29]OFD Sender: No OFD packet to send [08:32:34]OFD Sender: No OFD packet to send [08:32:39]OFD Sender: No OFD packet to send [08:32:44]OFD Sender: No OFD packet to send [08:32:49]OFD Sender: No OFD packet to send [08:32:54]OFD Sender: No OFD packet to send [08:32:59]OFD Sender: No OFD packet to send [08:33:04]OFD Sender: No OFD packet to send [08:33:09]OFD Sender: No OFD packet to send [08:33:14]OFD Sender: No OFD packet to send [08:33:19]OFD Sender: No OFD packet to send [08:33:24]OFD Sender: No OFD packet to send [08:33:29]OFD Sender: No OFD packet to send [08:33:34]OFD Sender: No OFD packet to send [08:33:39]OFD Sender: No OFD packet to send [08:33:44]OFD Sender: No OFD packet to send [08:33:49]OFD Sender: No OFD packet to send [08:33:54]OFD Sender: No OFD packet to send [08:33:59]OFD Sender: No OFD packet to send [08:34:04]OFD Sender: No OFD packet to send [08:34:09]OFD Sender: No OFD packet to send [08:34:14]OFD Sender: No OFD packet to send [08:34:19]OFD Sender: No OFD packet to send [08:34:24]OFD Sender: No OFD packet to send [08:34:29]OFD Sender: No OFD packet to send [08:34:34]OFD Sender: No OFD packet to send [08:34:39]OFD Sender: No OFD packet to send [08:34:44]OFD Sender: No OFD packet to send [08:34:49]OFD Sender: No OFD packet to send [08:34: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]accept exits with 8 [08:40:04]New connection [08:40:04]New thread 3067252068 created [08:40:04]Thread 3067395428 joined [08:40:04]Waiting for new connection... [08:40:04] Sock 8.Parse request [08:40:04]Sock 8.Check first char [08:40:04]Sock 8.First char is OK [08:40:04]request: POST /json_proto HTTP/1.0 [08:40:04]Method: POST [08:40:04]URL: /json_proto [08:40:04]Method is POST - this is cgi request [08:40:04]url: /json_proto [08:40:04]query_string will be loaded in cgi processing [08:40:04]execute_cgi json_proto POST (null) [08:40:04]execute_cgi path=json_proto method=POST [08:40:04]POST find Content-Length [08:40:04]Host: 172.17.60.7:8080 [08:40:04]Content-Length: 792 [08:40:04]Content-Type: application/json [08:40:04] [08:40:04]POST finish read [08:40:04]Found Content-Length = 792 [08:40:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122732", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:40:04]execute_script... [08:40: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)122732", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:40:04]POST & json_proto [08:40:04]process_json_proto [08:40:04]json parsed OK: [08:40:04]protocol is kg_v1.0 [08:40:04]action value=close_receipt [08:40:04]process_action close_receipt [08:40:04]cmd_close_receipt [08:40:04]MH_GetDate [08:40:04]Write to MH i2c: F0 00 00 24 0D 20 [08:40:04]Write i2c OK [08:40:04]MH_I2C_Read... [08:40:04]Read from MH i2c: F0 [08:40:04]MH_I2C_Read... [08:40:04]Read from MH i2c: F0 09 00 [08:40:04]MH_I2C_Read... [08:40:04]Read from MH i2c: F0 09 00 24 0D 00 E8 78 B8 66 63 9B 67 64 70 [08:40:04]GetLastDocTimeStamp 1723359644 [08:40:04]current date 1723365608 [08:40:04]FM_GetShiftState [08:40:04]SAM_PROTO_GetShiftState [08:40:04]wFMCommunicate request_size=4 [08:40:04]MH_SAM_APDU [08:40:04]CAPDU: 80 13 01 00 [08:40:04]Write to MH i2c: E2 08 00 25 0D 80 13 01 00 00 00 00 00 AF [08:40:04]Write i2c OK [08:40:04]MH_I2C_Read... [08:40:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:40:04]Read from MH i2c: E2 [08:40:04]MH_I2C_Read... [08:40:04]Read from MH i2c: E2 0E 00 [08:40:04]MH_I2C_Read... [08:40:04]Read from MH i2c: E2 0E 00 25 0D 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 D8 [08:40:04]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [08:40:04]wFMCommunicate OK [08:40:04]SAM_PROTO_GetShiftState done [08:40:04]FM_GetShiftState done [08:40:04]opened in 1723336186 [08:40:04]opened+sec_in_day 1723422586 [08:40:04]quantity*price = 11500 [08:40:04]sum+1 = 11501 [08:40:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 0.00 Безнал.: 115.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 12 11.08.2024 08:40 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52601 ФПД: 83937045898196 /tax-web-control/client/api/v1/ticket?date=20240811T084008&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52601&fm=83937045898196&tin=02508201610067®Number=0000000000090834&sum=11500 0 [08:40:05]StoreToDocumentArchive [08:40:05]shift 446 fd 52601 [08:40:05]save to /storage/0446/doc_00052601 [08:40:05]save last doc name /storage/0446/doc_00052601 to /storage/kkm_last_doc_name [08:40:05]save OK [08:40:05]Clear old archive folders... [08:40:05]ProcessDocumentItem done err = 0, tmpTLVsize=274 [08:40:05]tlvbuf is 01097110 [08:40:05]SAM_PROTO_ClearQueue [08:40:05]wFMCommunicate request_size=4 [08:40:05]MH_SAM_APDU [08:40:05]CAPDU: 80 09 00 00 [08:40:05]Write to MH i2c: E2 08 00 32 0D 80 09 00 00 00 00 00 00 B1 [08:40:05]Write i2c OK [08:40:05]MH_I2C_Read... [08:40:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:40:05]Read from MH i2c: E2 [08:40:05]MH_I2C_Read... [08:40:05]Read from MH i2c: E2 03 00 [08:40:05]MH_I2C_Read... [08:40:05]Read from MH i2c: E2 03 00 32 0D 00 90 00 B3 [08:40:05]RAPDU: 90 00 [08:40:05]wFMCommunicate OK [08:40:05]SAM_PROTO_ClearQueue done [08:40:05]KKMCreateOFDPacket [08:40:05]OFDProtocolAddRootSTLVToBuf [08:40:05]FM_MakeSignedData [08:40:05]FM_MakeSignedData [08:40:05]SAM_PROTO_SignData [08:40:05]wFMCommunicate request_size=4 [08:40:05]MH_SAM_APDU [08:40:05]CAPDU: 80 0D 01 02 [08:40:05]Write to MH i2c: E2 08 00 33 0D 80 0D 01 02 00 00 00 00 B9 [08:40:05]Write i2c OK [08:40:05]MH_I2C_Read... [08:40:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:40:05]Read from MH i2c: E2 [08:40:05]MH_I2C_Read... [08:40:05]Read from MH i2c: E2 03 00 [08:40:05]MH_I2C_Read... [08:40:05]Read from MH i2c: E2 03 00 33 0D 00 90 00 B4 [08:40:05]RAPDU: 90 00 [08:40:05]wFMCommunicate OK [08:40:05]wFMCommunicate request_size=255 [08:40:05]MH_SAM_APDU [08:40:05]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 E8 78 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 [08:40:05]Write to MH i2c: E2 02 01 34 0D 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 E8 78 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 00 00 9D [08:40:05]Write i2c OK [08:40:05]MH_I2C_Read... [08:40:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:40:06]Read from MH i2c: E2 [08:40:06]MH_I2C_Read... [08:40:06]Read from MH i2c: E2 03 00 [08:40:06]MH_I2C_Read... [08:40:06]Read from MH i2c: E2 03 00 34 0D 00 90 00 B5 [08:40:06]RAPDU: 90 00 [08:40:06]wFMCommunicate OK [08:40:06]wFMCommunicate request_size=33 [08:40:06]MH_SAM_APDU [08:40:06]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 37 31 35 10 04 04 00 79 CD 00 00 35 04 06 00 4C 57 1D CD E3 D4 [08:40:06]Write to MH i2c: E2 24 00 35 0D 80 0D 02 02 1C 00 30 30 30 30 38 37 34 37 31 35 10 04 04 00 79 CD 00 00 35 04 06 00 4C 57 1D CD E3 D4 00 00 D5 [08:40:06]Write i2c OK [08:40:06]MH_I2C_Read... [08:40:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:40:06]Read from MH i2c: E2 [08:40:06]MH_I2C_Read... [08:40:06]Read from MH i2c: E2 03 00 [08:40:06]MH_I2C_Read... [08:40:06]Read from MH i2c: E2 03 00 35 0D 00 90 00 B6 [08:40:06]RAPDU: 90 00 [08:40:06]wFMCommunicate OK [08:40:06]wFMCommunicate request_size=4 [08:40:06]MH_SAM_APDU [08:40:06]CAPDU: 80 0D 03 02 [08:40:06]Write to MH i2c: E2 08 00 36 0D 80 0D 03 02 00 00 00 00 BE [08:40:06]Write i2c OK [08:40:06]MH_I2C_Read... [08:40:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:40:06]Read from MH i2c: E2 [08:40:06]MH_I2C_Read... [08:40:06]Read from MH i2c: E2 0B 00 [08:40:06]MH_I2C_Read... [08:40:06]Read from MH i2c: E2 0B 00 36 0D 00 B0 C7 4C C5 10 A7 1A 68 90 00 80 [08:40:06]RAPDU: B0 C7 4C C5 10 A7 1A 68 90 00 [08:40:06]wFMCommunicate OK [08:40:06]SAM_PROTO_SignData done [08:40:06]FM_MakeSignedData done [08:40:06]CreateOFDProtocolMessage [08:40:06]wFMCommunicate request_size=4 [08:40:06]MH_SAM_APDU [08:40:06]CAPDU: 80 11 00 00 [08:40:06]Write to MH i2c: E2 08 00 37 0D 80 11 00 00 00 00 00 00 BE [08:40:06]Write i2c OK [08:40:06]MH_I2C_Read... [08:40:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:40:06]Read from MH i2c: E2 [08:40:06]MH_I2C_Read... [08:40:06]Read from MH i2c: E2 17 00 [08:40:06]MH_I2C_Read... [08:40:06]Read from MH i2c: E2 17 00 37 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 11 [08:40:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [08:40:06]wFMCommunicate OK [08:40:06]CreateOFDProtocolMessage done [08:40:06]OFDSenderStorePacket 52601 [08:40:06]StoreOFDPacket docnum=52601 [08:40:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 26 01 00 00 1E 05 1E 01 B8 D1 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 E8 78 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 79 CD 00 00 35 04 06 00 4C 57 1D CD E3 D4 B0 C7 4C C5 10 A7 1A 68 [08:40:06]CheckFolder [08:40:06]dirname=/storage/ofd_packets [08:40:06]CheckFolder done [08:40:06]ProducePacketName [08:40:06]name=ofd_packets/00052601 [08:40:06]NVStorageSaveData ofd_packets/00052601 [08:40:06]File name is /storage/ofd_packets/00052601 [08:40:06]Write 324 bytes [08:40:06]NVStorageSaveData done [08:40:06]OFDSenderStorePacket done [08:40:06]KKMCreateOFDPacket done [08:40:06]NVStorageSaveData kkm_last_timestamp [08:40:06]File name is /storage/kkm_last_timestamp [08:40:06]Write 4 bytes [08:40:06]NVStorageSaveData done [08:40:06]OFD Sender: Processing packet 52601 [packets to send 55, broken 54] [08:40:06]ProducePacketName [08:40:06]name=ofd_packets/00052601 [08:40:06]OFD Sender: To server: pG, [08:40:06]CommunicateWithHost lk.salyk.kg:30040 [08:40:06]ConnectInit lk.salyk.kg [08:40:06]ExternCall_PrintAddStr [08:40:06]wPrintStart [08:40:06]Write to MH i2c: 01 00 00 38 0D 45 [08:40:06]Write i2c OK [08:40:06]MH_I2C_Read... [08:40:06]Read from MH i2c: 01 [08:40:06]MH_I2C_Read... [08:40:06]Read from MH i2c: 01 07 00 [08:40:06]MH_I2C_Read... [08:40:06]Read from MH i2c: 01 07 00 38 0D 00 00 00 00 00 FF 0F 5A [08:40:06]RasterBufferAndPrint [08:40:06]line Счет N : (3)122732 [08:40:06]line ИНН: 02508201610067 [08:40:06]line Контрольно-Кассовый Чек [08:40:06]line ПРОДАЖА [08:40:06]line Товар: 2000036240010 [08:40:06]line Кофе Латте (GABB TRADE) [08:40:06]line 1.000 * 115.00 [08:40:06]line = 115.00 [08:40:06]line НДС 12% НСП 1% [08:40:06]line > о реализуемом товаре [08:40:06]line ИТОГО: 115.00 [08:40:06]line НСП 1% : 1.02 [08:40:06]line НДС 12% : 12.21 [08:40:06]line Наличными: 0.00 [08:40:06]line Безнал.: 115.00 [08:40:06]line Место: АЗС № 54 "Партнер Нефть" [08:40:06]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [08:40:06]line СНО: Общий режим [08:40:06]line Чек 12 11.08.2024 08:40 [08:40:06]line Смена: 446 ФФД: 1.0 [08:40:06]line ЗНМ: 0300000007 [08:40:06]line РНМ: 0000000000090834 [08:40:06]line Версия ККМ: 001 [08:40:06]line Платежная система: О! деньги [08:40:06]line ФМ: 0000000000874715 [08:40:06]line ФД: 52601 [08:40:06]line ФПД: 83937045898196 [08:40:06]line /tax-web-control/client/api/v1/ticket?date=20240811T084008&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52601&fm=83937045898196&tin=02508201610067®Number=0000000000090834&sum=11500 [08:40:06]line 0 [08:40:06]Connected sock=11 [08:40:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 26 01 00 00 1E 05 1E 01 B8 D1 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 E8 78 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 79 CD 00 00 35 04 06 00 4C 57 1D CD E3 D4 B0 C7 4C C5 10 A7 1A 68 [08:40:06]written 0, free lines is 4095 [08:40:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 21 1F 47 00 15 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 34 37 31 35 10 04 04 00 79 CD 00 00 F4 03 04 00 83 20 B8 66 B6 04 01 00 00 A0 14 E0 61 25 3F 20 2A [08:40:06]CommunicateWithHost err = 0 [08:40:06]CheckOFDResponse [08:40:06]1017 (14) - 77093643461234 [08:40:06]1041 (16) - 0000000000874715 [08:40:06]1040 (4) - 52601 [08:40:06]1012 (4) - 11.08.2024 02:22 [08:40:06]1206 (1) - 0 [08:40:06]OFD Sender: Remove packet 52601 [08:40:06]ProducePacketName [08:40:06]name=ofd_packets/00052601 [08:40:06]NVStorageDeleteData [08:40:07]Write to MH i2c: 01 00 00 61 0D 6E [08:40:07]Write i2c OK [08:40:07]MH_I2C_Read... [08:40:07]Read from MH i2c: 01 [08:40:07]MH_I2C_Read... [08:40:07]Read from MH i2c: 01 07 00 [08:40:07]MH_I2C_Read... [08:40:07]Read from MH i2c: 01 07 00 61 0D 00 00 00 00 00 BD 0C 3E [08:40:07]RasterBufferAndPrint [08:40:07]line [08:40:07]line [08:40:07]line [08:40:07]line [08:40:07]line [08:40:07]written 0, free lines is 3267 [08:40:07]MH_Cut [08:40:07]Write to MH i2c: D1 01 00 68 0D 01 47 [08:40:07]Write i2c OK [08:40:07]MH_I2C_Read... [08:40:07]Read from MH i2c: D1 [08:40:07]MH_I2C_Read... [08:40:07]Read from MH i2c: D1 01 00 [08:40:07]MH_I2C_Read... [08:40:07]Read from MH i2c: D1 01 00 68 0D 00 46 [08:40:07]Write to MH i2c: 01 00 00 69 0D 76 [08:40:07]Write i2c OK [08:40:07]MH_I2C_Read... [08:40:07]OFD Sender: No OFD packet to send [08:40:08]*** Cut start [08:40:08]*** Purtial cut [08:40:08]*** Stage 1: CUTSNS_PIN = 1 [08:40:08]Read from MH i2c: 01 [08:40:08]MH_I2C_Read... [08:40:08]*** Stop cut motor [08:40:08]*** Cut end [08:40:08]Read from MH i2c: 01 07 00 [08:40:08]MH_I2C_Read... [08:40:08]Read from MH i2c: 01 07 00 69 0D 00 00 00 00 00 FF 0F 8B [08:40:08]process_action close_receipt done [08:40:08]requested_data is exist [08:40:08]produce_requested_data [08:40:08]requested_item fm.sn is exist - process it [08:40:08]wFMCommunicate request_size=4 [08:40:08]MH_SAM_APDU [08:40:08]CAPDU: 80 11 00 00 [08:40:08]Write to MH i2c: E2 08 00 6A 0D 80 11 00 00 00 00 00 00 F1 [08:40:08]Write i2c OK [08:40:08]MH_I2C_Read... [08:40:08]Read from MH i2c: E2 [08:40:08]MH_I2C_Read... [08:40:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:40:08]Read from MH i2c: E2 17 00 [08:40:08]MH_I2C_Read... [08:40:08]Read from MH i2c: E2 17 00 6A 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 44 [08:40:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [08:40:08]wFMCommunicate OK [08:40:08]requested_item fd.num is exist - process it [08:40:08]SAM_PROTO_GetFieldsCounters [08:40:08]wFMCommunicate request_size=4 [08:40:08]MH_SAM_APDU [08:40:08]CAPDU: 80 13 00 00 [08:40:08]Write to MH i2c: E2 08 00 6B 0D 80 13 00 00 00 00 00 00 F4 [08:40:08]Write i2c OK [08:40:08]MH_I2C_Read... [08:40:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:40:08]Read from MH i2c: E2 [08:40:08]MH_I2C_Read... [08:40:08]Read from MH i2c: E2 62 00 [08:40:08]MH_I2C_Read... [08:40:08]Read from MH i2c: E2 62 00 6B 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 79 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 3D [08:40: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 79 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:40:08]wFMCommunicate OK [08:40:08]SAM_PROTO_GetFieldsCounters done [08:40:08]requested_item shift.num is exist - process it [08:40:08]requested_item shift.opened is exist - process it [08:40:08]req_shift_opened [08:40:08]FM_GetShiftState [08:40:08]SAM_PROTO_GetShiftState [08:40:08]wFMCommunicate request_size=4 [08:40:08]MH_SAM_APDU [08:40:08]CAPDU: 80 13 01 00 [08:40:08]Write to MH i2c: E2 08 00 6C 0D 80 13 01 00 00 00 00 00 F6 [08:40:08]Write i2c OK [08:40:08]MH_I2C_Read... [08:40:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:40:08]Read from MH i2c: E2 [08:40:08]MH_I2C_Read... [08:40:08]Read from MH i2c: E2 0E 00 [08:40:08]MH_I2C_Read... [08:40:08]Read from MH i2c: E2 0E 00 6C 0D 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 1F [08:40:08]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [08:40:08]wFMCommunicate OK [08:40:08]SAM_PROTO_GetShiftState done [08:40:08]FM_GetShiftState done [08:40:08]req_shift_opened done [08:40:08]requested_item shift.open_date is exist - process it [08:40:08]req_shift_open_date [08:40:08]req_shift_open_date done [08:40:08]produce_requested_data done [08:40:08]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52601,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [08:40:08]process_action_free close_receipt [08:40:08]json_value_free [08:40:08]json_value_free done [08:40:08]process_json_proto returns [08:40:08]Send response to host [08:40:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52601,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [08:40:08]free response buf [08:40:08]execute_script done [08:40:08]execute_script returns [08:40:08]free content buf [08:40:08]Sock 8.Close socket [08:40:08]Sock 8.Thread stoped [08:40:12]OFD Sender: No OFD packet to send [08:40:17]OFD Sender: No OFD packet to send [08:40:22]OFD Sender: No OFD packet to send [08:40:27]OFD Sender: No OFD packet to send [08:40:32]OFD Sender: No OFD packet to send [08:40:37]OFD Sender: No OFD packet to send [08:40:42]OFD Sender: No OFD packet to send [08:40:47]OFD Sender: No OFD packet to send [08:40:52]OFD Sender: No OFD packet to send [08:40:57]OFD Sender: No OFD packet to send [08:41:02]OFD Sender: No OFD packet to send [08:41:07]OFD Sender: No OFD packet to send [08:41:12]OFD Sender: No OFD packet to send [08:41:17]OFD Sender: No OFD packet to send [08:41:22]OFD Sender: No OFD packet to send [08:41:27]OFD Sender: No OFD packet to send [08:41:32]OFD Sender: No OFD packet to send [08:41:37]OFD Sender: No OFD packet to send [08:41:42]OFD Sender: No OFD packet to send [08:41:47]OFD Sender: No OFD packet to send [08:41:52]OFD Sender: No OFD packet to send [08:41:57]OFD Sender: No OFD packet to send [08:42:02]OFD Sender: No OFD packet to send [08:42:07]OFD Sender: No OFD packet to send [08:42:12]OFD Sender: No OFD packet to send [08:42:17]OFD Sender: No OFD packet to send [08:42:22]OFD Sender: No OFD packet to send [08:42:27]OFD Sender: No OFD packet to send [08:42:32]OFD Sender: No OFD packet to send [08:42:37]OFD Sender: No OFD packet to send [08:42:42]OFD Sender: No OFD packet to send [08:42:47]OFD Sender: No OFD packet to send [08:42:52]OFD Sender: No OFD packet to send [08:42:57]OFD Sender: No OFD packet to send [08:43:02]OFD Sender: No OFD packet to send [08:43:07]OFD Sender: No OFD packet to send [08:43:12]OFD Sender: No OFD packet to send [08:43:17]OFD Sender: No OFD packet to send [08:43:22]OFD Sender: No OFD packet to send [08:43:27]OFD Sender: No OFD packet to send [08:43:32]OFD Sender: No OFD packet to send [08:43:37]OFD Sender: No OFD packet to send [08:43:42]OFD Sender: No OFD packet to send [08:43:47]OFD Sender: No OFD packet to send [08:43:52]OFD Sender: No OFD packet to send [08:43:57]OFD Sender: No OFD packet to send [08:44:02]OFD Sender: No OFD packet to send [08:44:07]OFD Sender: No OFD packet to send [08:44:12]OFD Sender: No OFD packet to send [08:44:17]OFD Sender: No OFD packet to send [08:44:22]OFD Sender: No OFD packet to send [08:44:27]OFD Sender: No OFD packet to send [08:44:32]OFD Sender: No OFD packet to send [08:44:37]OFD Sender: No OFD packet to send [08:44:42]OFD Sender: No OFD packet to send [08:44:47]OFD Sender: No OFD packet to send [08:44:52]OFD Sender: No OFD packet to send [08:44:57]OFD Sender: No OFD packet to send [08:45:02]OFD Sender: No OFD packet to send [08:45:07]OFD Sender: No OFD packet to send [08:45:12]OFD Sender: No OFD packet to send [08:45:17]OFD Sender: No OFD packet to send [08:45:22]OFD Sender: No OFD packet to send [08:45:27]OFD Sender: No OFD packet to send [08:45:32]OFD Sender: No OFD packet to send [08:45:37]OFD Sender: No OFD packet to send [08:45:42]OFD Sender: No OFD packet to send [08:45:47]OFD Sender: No OFD packet to send [08:45:52]OFD Sender: No OFD packet to send [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:43]OFD Sender: No OFD packet to send [08:48:48]OFD Sender: No OFD packet to send [08:48:53]OFD Sender: No OFD packet to send [08:48:58]OFD Sender: No OFD packet to send [08:49:03]OFD Sender: No OFD packet to send [08:49:08]OFD Sender: No OFD packet to send [08:49:13]OFD Sender: No OFD packet to send [08:49:18]OFD Sender: No OFD packet to send [08:49:23]OFD Sender: No OFD packet to send [08:49:28]OFD Sender: No OFD packet to send [08:49:33]OFD Sender: No OFD packet to send [08:49:38]OFD Sender: No OFD packet to send [08:49:43]OFD Sender: No OFD packet to send [08:49:48]OFD Sender: No OFD packet to send [08:49:53]OFD Sender: No OFD packet to send [08:49:58]OFD Sender: No OFD packet to send [08:50:03]OFD Sender: No OFD packet to send [08:50:08]OFD Sender: No OFD packet to send [08:50:13]OFD Sender: No OFD packet to send [08:50:18]OFD Sender: No OFD packet to send [08:50:23]OFD Sender: No OFD packet to send [08:50:28]OFD Sender: No OFD packet to send [08:50:33]OFD Sender: No OFD packet to send [08:50:38]OFD Sender: No OFD packet to send [08:50:43]OFD Sender: No OFD packet to send [08:50:48]OFD Sender: No OFD packet to send [08:50:53]OFD Sender: No OFD packet to send [08:50:58]OFD Sender: No OFD packet to send [08:51:03]OFD Sender: No OFD packet to send [08:51:08]OFD Sender: No OFD packet to send [08:51:13]OFD Sender: No OFD packet to send [08:51:18]OFD Sender: No OFD packet to send [08:51:23]OFD Sender: No OFD packet to send [08:51:28]OFD Sender: No OFD packet to send [08:51:33]OFD Sender: No OFD packet to send [08:51:38]OFD Sender: No OFD packet to send [08:51:43]OFD Sender: No OFD packet to send [08:51:48]OFD Sender: No OFD packet to send [08:51:53]OFD Sender: No OFD packet to send [08:51:58]OFD Sender: No OFD packet to send [08:52:03]OFD Sender: No OFD packet to send [08:52:08]OFD Sender: No OFD packet to send [08:52:13]OFD Sender: No OFD packet to send [08:52:18]OFD Sender: No OFD packet to send [08:52:23]OFD Sender: No OFD packet to send [08:52:28]OFD Sender: No OFD packet to send [08:52:33]OFD Sender: No OFD packet to send [08:52:38]OFD Sender: No OFD packet to send [08:52:43]OFD Sender: No OFD packet to send [08:52:48]OFD Sender: No OFD packet to send [08:52:53]OFD Sender: No OFD packet to send [08:52:58]OFD Sender: No OFD packet to send [08:53:03]OFD Sender: No OFD packet to send [08:53:08]OFD Sender: No OFD packet to send [08:53:13]OFD Sender: No OFD packet to send [08:53:18]OFD Sender: No OFD packet to send [08:53:23]OFD Sender: No OFD packet to send [08:53:28]OFD Sender: No OFD packet to send [08:53:33]OFD Sender: No OFD packet to send [08:53:38]OFD Sender: No OFD packet to send [08:53:43]OFD Sender: No OFD packet to send [08:53:48]OFD Sender: No OFD packet to send [08:53:53]OFD Sender: No OFD packet to send [08:53:58]OFD Sender: No OFD packet to send [08:54:03]OFD Sender: No OFD packet to send [08:54:08]OFD Sender: No OFD packet to send [08:54:13]OFD Sender: No OFD packet to send [08:54:18]OFD Sender: No OFD packet to send [08:54:23]OFD Sender: No OFD packet to send [08:54:28]OFD Sender: No OFD packet to send [08:54:33]OFD Sender: No OFD packet to send [08:54:38]OFD Sender: No OFD packet to send [08:54:43]OFD Sender: No OFD packet to send [08:54:48]OFD Sender: No OFD packet to send [08:54:53]OFD Sender: No OFD packet to send [08:54:58]OFD Sender: No OFD packet to send [08:55:03]OFD Sender: No OFD packet to send [08:55:08]OFD Sender: No OFD packet to send [08:55:13]OFD Sender: No OFD packet to send [08:55:18]OFD Sender: No OFD packet to send [08:55:23]OFD Sender: No OFD packet to send [08:55:28]OFD Sender: No OFD packet to send [08:55:33]OFD Sender: No OFD packet to send [08:55:38]OFD Sender: No OFD packet to send [08:55:43]OFD Sender: No OFD packet to send [08:55:48]OFD Sender: No OFD packet to send [08:55:53]OFD Sender: No OFD packet to send [08:55:58]OFD Sender: No OFD packet to send [08:56:03]OFD Sender: No OFD packet to send [08:56:08]OFD Sender: No OFD packet to send [08:56:13]OFD Sender: No OFD packet to send [08:56:18]OFD Sender: No OFD packet to send [08:56:23]OFD Sender: No OFD packet to send [08:56:28]OFD Sender: No OFD packet to send [08:56:33]OFD Sender: No OFD packet to send [08:56:38]OFD Sender: No OFD packet to send [08:56:43]OFD Sender: No OFD packet to send [08:56:48]OFD Sender: No OFD packet to send [08:56:53]OFD Sender: No OFD packet to send [08:56:58]OFD Sender: No OFD packet to send [08:57:03]OFD Sender: No OFD packet to send [08:57:08]OFD Sender: No OFD packet to send [08:57:13]OFD Sender: No OFD packet to send [08:57:18]OFD Sender: No OFD packet to send [08:57:23]OFD Sender: No OFD packet to send [08:57:28]OFD Sender: No OFD packet to send [08:57:33]OFD Sender: No OFD packet to send [08:57:38]OFD Sender: No OFD packet to send [08:57:43]OFD Sender: No OFD packet to send [08:57:48]OFD Sender: No OFD packet to send [08:57:53]OFD Sender: No OFD packet to send [08:57:56]accept exits with 9 [08:57:56]New connection [08:57:56]New thread 3067395428 created [08:57:56]Thread 3067252068 joined [08:57:56]Waiting for new connection... [08:57:56] Sock 9.Parse request [08:57:56]Sock 9.Check first char [08:57:56]Sock 9.First char is OK [08:57:56]request: POST /json_proto HTTP/1.0 [08:57:56]Method: POST [08:57:56]URL: /json_proto [08:57:56]Method is POST - this is cgi request [08:57:56]url: /json_proto [08:57:56]query_string will be loaded in cgi processing [08:57:56]execute_cgi json_proto POST (null) [08:57:56]execute_cgi path=json_proto method=POST [08:57:56]POST find Content-Length [08:57:56]Host: 172.17.60.7:8080 [08:57:56]Content-Length: 872 [08:57:56]Content-Type: application/json [08:57:56] [08:57:56]POST finish read [08:57:56]Found Content-Length = 872 [08:57:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122733", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:57:56]execute_script... [08:57:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122733", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:57:56]POST & json_proto [08:57:56]process_json_proto [08:57:56]json parsed OK: [08:57:56]protocol is kg_v1.0 [08:57:56]action value=close_receipt [08:57:56]process_action close_receipt [08:57:56]cmd_close_receipt [08:57:56]MH_GetDate [08:57:56]Write to MH i2c: F0 00 00 6D 0D 69 [08:57:56]Write i2c OK [08:57:56]MH_I2C_Read... [08:57:56]Read from MH i2c: F0 [08:57:56]MH_I2C_Read... [08:57:56]Read from MH i2c: F0 09 00 [08:57:56]MH_I2C_Read... [08:57:56]Read from MH i2c: F0 09 00 6D 0D 00 18 7D B8 66 63 9B 67 64 EE [08:57:56]GetLastDocTimeStamp 1723365608 [08:57:56]current date 1723366680 [08:57:56]FM_GetShiftState [08:57:56]SAM_PROTO_GetShiftState [08:57:56]wFMCommunicate request_size=4 [08:57:56]MH_SAM_APDU [08:57:56]CAPDU: 80 13 01 00 [08:57:56]Write to MH i2c: E2 08 00 6E 0D 80 13 01 00 00 00 00 00 F8 [08:57:56]Write i2c OK [08:57:56]MH_I2C_Read... [08:57:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:57:56]Read from MH i2c: E2 [08:57:56]MH_I2C_Read... [08:57:56]Read from MH i2c: E2 0E 00 [08:57:56]MH_I2C_Read... [08:57:56]Read from MH i2c: E2 0E 00 6E 0D 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 21 [08:57:56]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [08:57:56]wFMCommunicate OK [08:57:56]SAM_PROTO_GetShiftState done [08:57:56]FM_GetShiftState done [08:57:56]opened in 1723336186 [08:57:56]opened+sec_in_day 1723422586 [08:57:56]quantity*price = 12000 [08:57:56]sum+1 = 12001 [08:57:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 0.00 Безнал.: 120.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 13 11.08.2024 08:58 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52602 ФПД: 197695222931063 /tax-web-control/client/api/v1/ticket?date=20240811T085800&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52602&fm=197695222931063&tin=02508201610067®Number=0000000000090834&sum=12000 0 [08:57:57]StoreToDocumentArchive [08:57:57]shift 446 fd 52602 [08:57:57]save to /storage/0446/doc_00052602 [08:57:57]save last doc name /storage/0446/doc_00052602 to /storage/kkm_last_doc_name [08:57:57]save OK [08:57:57]Clear old archive folders... [08:57:57]ProcessDocumentItem done err = 0, tmpTLVsize=298 [08:57:57]tlvbuf is 0108DBA0 [08:57:57]SAM_PROTO_ClearQueue [08:57:57]wFMCommunicate request_size=4 [08:57:57]MH_SAM_APDU [08:57:57]CAPDU: 80 09 00 00 [08:57:57]Write to MH i2c: E2 08 00 7B 0D 80 09 00 00 00 00 00 00 FA [08:57:57]Write i2c OK [08:57:57]MH_I2C_Read... [08:57:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:57:57]Read from MH i2c: E2 [08:57:57]MH_I2C_Read... [08:57:57]Read from MH i2c: E2 03 00 [08:57:57]MH_I2C_Read... [08:57:57]Read from MH i2c: E2 03 00 7B 0D 00 90 00 FC [08:57:57]RAPDU: 90 00 [08:57:57]wFMCommunicate OK [08:57:57]SAM_PROTO_ClearQueue done [08:57:57]KKMCreateOFDPacket [08:57:57]OFDProtocolAddRootSTLVToBuf [08:57:57]FM_MakeSignedData [08:57:57]FM_MakeSignedData [08:57:57]SAM_PROTO_SignData [08:57:57]wFMCommunicate request_size=4 [08:57:57]MH_SAM_APDU [08:57:57]CAPDU: 80 0D 01 02 [08:57:57]Write to MH i2c: E2 08 00 7C 0D 80 0D 01 02 00 00 00 00 02 [08:57:57]Write i2c OK [08:57:57]MH_I2C_Read... [08:57:57]Read from MH i2c: E2 [08:57:57]MH_I2C_Read... [08:57:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:57:57]Read from MH i2c: E2 03 00 [08:57:57]MH_I2C_Read... [08:57:57]Read from MH i2c: E2 03 00 7C 0D 00 90 00 FD [08:57:57]RAPDU: 90 00 [08:57:57]wFMCommunicate OK [08:57:57]wFMCommunicate request_size=255 [08:57:57]MH_SAM_APDU [08:57:57]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 18 7D B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [08:57:57]Write to MH i2c: E2 02 01 7D 0D 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 18 7D B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 7F [08:57:57]Write i2c OK [08:57:57]MH_I2C_Read... [08:57:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:57:58]Read from MH i2c: E2 [08:57:58]MH_I2C_Read... [08:57:58]Read from MH i2c: E2 03 00 [08:57:58]MH_I2C_Read... [08:57:58]Read from MH i2c: E2 03 00 7D 0D 00 90 00 FE [08:57:58]RAPDU: 90 00 [08:57:58]wFMCommunicate OK [08:57:58]wFMCommunicate request_size=57 [08:57:58]MH_SAM_APDU [08:57:58]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7A CD 00 00 35 04 06 00 B3 CD 81 89 5E 77 [08:57:58]Write to MH i2c: E2 3C 00 7E 0D 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7A CD 00 00 35 04 06 00 B3 CD 81 89 5E 77 00 00 67 [08:57:58]Write i2c OK [08:57:58]MH_I2C_Read... [08:57:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:57:58]Read from MH i2c: E2 [08:57:58]MH_I2C_Read... [08:57:58]Read from MH i2c: E2 03 00 [08:57:58]MH_I2C_Read... [08:57:58]Read from MH i2c: E2 03 00 7E 0D 00 90 00 FF [08:57:58]RAPDU: 90 00 [08:57:58]wFMCommunicate OK [08:57:58]wFMCommunicate request_size=4 [08:57:58]MH_SAM_APDU [08:57:58]CAPDU: 80 0D 03 02 [08:57:58]Write to MH i2c: E2 08 00 7F 0D 80 0D 03 02 00 00 00 00 07 [08:57:58]Write i2c OK [08:57:58]MH_I2C_Read... [08:57:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:57:58]Read from MH i2c: E2 [08:57:58]MH_I2C_Read... [08:57:58]Read from MH i2c: E2 0B 00 [08:57:58]MH_I2C_Read... [08:57:58]Read from MH i2c: E2 0B 00 7F 0D 00 0B C5 07 AB 4D EE 2D FC 90 00 EE [08:57:58]RAPDU: 0B C5 07 AB 4D EE 2D FC 90 00 [08:57:58]wFMCommunicate OK [08:57:58]SAM_PROTO_SignData done [08:57:58]FM_MakeSignedData done [08:57:58]CreateOFDProtocolMessage [08:57:58]wFMCommunicate request_size=4 [08:57:58]MH_SAM_APDU [08:57:58]CAPDU: 80 11 00 00 [08:57:58]Write to MH i2c: E2 08 00 80 0D 80 11 00 00 00 00 00 00 07 [08:57:58]Write i2c OK [08:57:58]MH_I2C_Read... [08:57:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:57:58]Read from MH i2c: E2 [08:57:58]MH_I2C_Read... [08:57:58]Read from MH i2c: E2 17 00 [08:57:58]MH_I2C_Read... [08:57:58]Read from MH i2c: E2 17 00 80 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 5A [08:57:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [08:57:58]wFMCommunicate OK [08:57:58]CreateOFDProtocolMessage done [08:57:58]OFDSenderStorePacket 52602 [08:57:58]StoreOFDPacket docnum=52602 [08:57:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 3E 01 00 00 95 D2 36 01 0D E4 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 18 7D B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7A CD 00 00 35 04 06 00 B3 CD 81 89 5E 77 0B C5 07 AB 4D EE 2D FC [08:57:58]CheckFolder [08:57:58]dirname=/storage/ofd_packets [08:57:58]CheckFolder done [08:57:58]ProducePacketName [08:57:58]name=ofd_packets/00052602 [08:57:58]NVStorageSaveData ofd_packets/00052602 [08:57:58]File name is /storage/ofd_packets/00052602 [08:57:58]Write 348 bytes [08:57:58]NVStorageSaveData done [08:57:58]OFDSenderStorePacket done [08:57:58]KKMCreateOFDPacket done [08:57:58]NVStorageSaveData kkm_last_timestamp [08:57:58]File name is /storage/kkm_last_timestamp [08:57:58]Write 4 bytes [08:57:58]NVStorageSaveData done [08:57:58]ExternCall_PrintAddStr [08:57:58]wPrintStart [08:57:58]Write to MH i2c: 01 00 00 81 0D 8E [08:57:58]Write i2c OK [08:57:58]MH_I2C_Read... [08:57:58]Read from MH i2c: 01 [08:57:58]MH_I2C_Read... [08:57:58]Read from MH i2c: 01 07 00 [08:57:58]MH_I2C_Read... [08:57:58]Read from MH i2c: 01 07 00 81 0D 00 00 00 00 00 FF 0F A3 [08:57:58]RasterBufferAndPrint [08:57:58]line Счет N : (3)122733 [08:57:58]line ИНН: 02508201610067 [08:57:58]line Контрольно-Кассовый Чек [08:57:58]line ПРОДАЖА [08:57:58]line Товар: 5449000189356 [08:57:58]line Холодный чай Fuse манго ананас 1л [08:57:58]line 1.000 * 120.00 [08:57:58]line = 120.00 [08:57:58]line НДС 12% НСП 1% [08:57:58]line > о реализуемом товаре [08:57:58]line ИТОГО: 120.00 [08:57:58]line НСП 1% : 1.06 [08:57:58]line НДС 12% : 12.74 [08:57:58]line Наличными: 0.00 [08:57:58]line Безнал.: 120.00 [08:57:58]line Место: АЗС № 54 "Партнер Нефть" [08:57:58]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [08:57:58]line СНО: Общий режим [08:57:58]line Чек 13 11.08.2024 08:58 [08:57:58]line Смена: 446 ФФД: 1.0 [08:57:58]line ЗНМ: 0300000007 [08:57:58]line РНМ: 0000000000090834 [08:57:58]line Версия ККМ: 001 [08:57:58]line Платежная система: О! деньги [08:57:58]line ФМ: 0000000000874715 [08:57:58]line ФД: 52602 [08:57:58]line ФПД: 197695222931063 [08:57:58]line /tax-web-control/client/api/v1/ticket?date=20240811T085800&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52602&fm=197695222931063&tin=02508201610067®Number=0000000000090834&sum=12000 [08:57:58]line 0 [08:57:58]OFD Sender: Processing packet 52602 [packets to send 55, broken 54] [08:57:58]ProducePacketName [08:57:58]name=ofd_packets/00052602 [08:57:58]OFD Sender: To server: pG, [08:57:58]CommunicateWithHost lk.salyk.kg:30040 [08:57:58]ConnectInit lk.salyk.kg [08:57:58]written 0, free lines is 4095 [08:57:58]Connected sock=10 [08:57:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 3E 01 00 00 95 D2 36 01 0D E4 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 18 7D B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7A CD 00 00 35 04 06 00 B3 CD 81 89 5E 77 0B C5 07 AB 4D EE 2D FC [08:57:59]Write to MH i2c: 01 00 00 AB 0D B8 [08:57:59]Write i2c OK [08:57:59]MH_I2C_Read... [08:57:59]Read from MH i2c: 01 [08:57:59]MH_I2C_Read... [08:57:59]Read from MH i2c: 01 07 00 [08:57:59]MH_I2C_Read... [08:57:59]Read from MH i2c: 01 07 00 AB 0D 00 00 00 00 00 A2 0C 6D [08:57:59]RasterBufferAndPrint [08:57:59]line [08:57:59]line [08:57:59]line [08:57:59]line [08:57:59]line [08:57:59]written 0, free lines is 3237 [08:57:59]MH_Cut [08:57:59]Write to MH i2c: D1 01 00 B2 0D 01 91 [08:57:59]Write i2c OK [08:57:59]MH_I2C_Read... [08:57:59]Read from MH i2c: D1 [08:57:59]MH_I2C_Read... [08:57:59]Read from MH i2c: D1 01 00 [08:57:59]MH_I2C_Read... [08:57:59]Read from MH i2c: D1 01 00 B2 0D 00 90 [08:57:59]Write to MH i2c: 01 00 00 B3 0D C0 [08:57:59]Write i2c OK [08:57:59]MH_I2C_Read... [08:57:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 44 92 47 00 49 F6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7A CD 00 00 F4 03 04 00 B3 24 B8 66 B6 04 01 00 00 E3 7C CA CD 1C D4 11 51 [08:57:59]CommunicateWithHost err = 0 [08:57:59]CheckOFDResponse [08:57:59]1017 (14) - 77093643461234 [08:57:59]1041 (16) - 0000000000874715 [08:57:59]1040 (4) - 52602 [08:57:59]1012 (4) - 11.08.2024 02:40 [08:57:59]1206 (1) - 0 [08:57:59]OFD Sender: Remove packet 52602 [08:57:59]ProducePacketName [08:57:59]name=ofd_packets/00052602 [08:57:59]NVStorageDeleteData [08:57:59]OFD Sender: No OFD packet to send [08:58:00]*** Cut start [08:58:00]*** Purtial cut [08:58:00]*** Stage 1: CUTSNS_PIN = 1 [08:58:00]Read from MH i2c: 01 [08:58:00]MH_I2C_Read... [08:58:00]*** Stop cut motor [08:58:00]*** Cut end [08:58:00]Read from MH i2c: 01 07 00 [08:58:00]MH_I2C_Read... [08:58:00]Read from MH i2c: 01 07 00 B3 0D 00 00 00 00 00 FF 0F D5 [08:58:00]process_action close_receipt done [08:58:00]requested_data is exist [08:58:00]produce_requested_data [08:58:00]requested_item fm.sn is exist - process it [08:58:00]wFMCommunicate request_size=4 [08:58:00]MH_SAM_APDU [08:58:00]CAPDU: 80 11 00 00 [08:58:00]Write to MH i2c: E2 08 00 B4 0D 80 11 00 00 00 00 00 00 3B [08:58:00]Write i2c OK [08:58:00]MH_I2C_Read... [08:58:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:58:00]Read from MH i2c: E2 [08:58:00]MH_I2C_Read... [08:58:00]Read from MH i2c: E2 17 00 [08:58:00]MH_I2C_Read... [08:58:00]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 34 37 31 35 90 00 8E [08:58:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [08:58:00]wFMCommunicate OK [08:58:00]requested_item fd.num is exist - process it [08:58:00]SAM_PROTO_GetFieldsCounters [08:58:00]wFMCommunicate request_size=4 [08:58:00]MH_SAM_APDU [08:58:00]CAPDU: 80 13 00 00 [08:58:00]Write to MH i2c: E2 08 00 B5 0D 80 13 00 00 00 00 00 00 3E [08:58:00]Write i2c OK [08:58:00]MH_I2C_Read... [08:58:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:58:00]Read from MH i2c: E2 [08:58:00]MH_I2C_Read... [08:58:00]Read from MH i2c: E2 62 00 [08:58:00]MH_I2C_Read... [08:58:00]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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 7A CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 8B [08:58:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 7A CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:58:00]wFMCommunicate OK [08:58:00]SAM_PROTO_GetFieldsCounters done [08:58:00]requested_item shift.num is exist - process it [08:58:00]requested_item shift.opened is exist - process it [08:58:00]req_shift_opened [08:58:00]FM_GetShiftState [08:58:00]SAM_PROTO_GetShiftState [08:58:00]wFMCommunicate request_size=4 [08:58:00]MH_SAM_APDU [08:58:00]CAPDU: 80 13 01 00 [08:58:00]Write to MH i2c: E2 08 00 B6 0D 80 13 01 00 00 00 00 00 40 [08:58:00]Write i2c OK [08:58:00]MH_I2C_Read... [08:58:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:58:00]Read from MH i2c: E2 [08:58:00]MH_I2C_Read... [08:58:00]Read from MH i2c: E2 0E 00 [08:58:00]MH_I2C_Read... [08:58:00]Read from MH i2c: E2 0E 00 B6 0D 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 69 [08:58:00]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [08:58:00]wFMCommunicate OK [08:58:00]SAM_PROTO_GetShiftState done [08:58:00]FM_GetShiftState done [08:58:00]req_shift_opened done [08:58:00]requested_item shift.open_date is exist - process it [08:58:00]req_shift_open_date [08:58:00]req_shift_open_date done [08:58:00]produce_requested_data done [08:58:00]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52602,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [08:58:00]process_action_free close_receipt [08:58:00]json_value_free [08:58:00]json_value_free done [08:58:00]process_json_proto returns [08:58:00]Send response to host [08:58:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52602,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [08:58:00]free response buf [08:58:00]execute_script done [08:58:00]execute_script returns [08:58:00]free content buf [08:58:00]Sock 9.Close socket [08:58:00]Sock 9.Thread stoped [08:58:04]OFD Sender: No OFD packet to send [08:58:09]OFD Sender: No OFD packet to send [08:58:14]OFD Sender: No OFD packet to send [08:58:19]OFD Sender: No OFD packet to send [08:58:24]OFD Sender: No OFD packet to send [08:58:29]OFD Sender: No OFD packet to send [08:58:34]OFD Sender: No OFD packet to send [08:58:39]OFD Sender: No OFD packet to send [08:58:44]OFD Sender: No OFD packet to send [08:58:49]OFD Sender: No OFD packet to send [08:58:54]OFD Sender: No OFD packet to send [08:58:59]OFD Sender: No OFD packet to send [08:59:04]OFD Sender: No OFD packet to send [08:59:09]OFD Sender: No OFD packet to send [08:59:14]OFD Sender: No OFD packet to send [08:59:19]OFD Sender: No OFD packet to send [08:59:24]OFD Sender: No OFD packet to send [08:59:29]OFD Sender: No OFD packet to send [08:59:34]OFD Sender: No OFD packet to send [08:59:39]OFD Sender: No OFD packet to send [08:59:44]OFD Sender: No OFD packet to send [08:59:49]OFD Sender: No OFD packet to send [08:59:54]OFD Sender: No OFD packet to send [08:59:59]OFD Sender: No OFD packet to send [09:00:04]OFD Sender: No OFD packet to send [09:00:09]OFD Sender: No OFD packet to send [09:00:14]OFD Sender: No OFD packet to send [09:00:19]OFD Sender: No OFD packet to send [09:00:24]OFD Sender: No OFD packet to send [09:00:29]OFD Sender: No OFD packet to send [09:00:34]OFD Sender: No OFD packet to send [09:00:39]OFD Sender: No OFD packet to send [09:00:44]OFD Sender: No OFD packet to send [09:00:49]OFD Sender: No OFD packet to send [09:00:54]OFD Sender: No OFD packet to send [09:00:59]OFD Sender: No OFD packet to send [09:01:04]OFD Sender: No OFD packet to send [09:01:09]OFD Sender: No OFD packet to send [09:01:14]OFD Sender: No OFD packet to send [09:01:19]OFD Sender: No OFD packet to send [09:01:24]OFD Sender: No OFD packet to send [09:01:29]OFD Sender: No OFD packet to send [09:01:34]accept exits with 8 [09:01:34]New connection [09:01:34]New thread 3067252068 created [09:01:34]Thread 3067395428 joined [09:01:34]Waiting for new connection... [09:01:34] Sock 8.Parse request [09:01:34]Sock 8.Check first char [09:01:34]Sock 8.First char is OK [09:01:34]request: POST /json_proto HTTP/1.0 [09:01:34]Method: POST [09:01:34]URL: /json_proto [09:01:34]Method is POST - this is cgi request [09:01:34]url: /json_proto [09:01:34]query_string will be loaded in cgi processing [09:01:34]execute_cgi json_proto POST (null) [09:01:34]execute_cgi path=json_proto method=POST [09:01:34]POST find Content-Length [09:01:34]Host: 172.17.60.7:8080 [09:01:34]Content-Length: 1615 [09:01:34]Content-Type: application/json [09:01:34] [09:01:34]POST finish read [09:01:34]Found Content-Length = 1615 [09:01:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122734", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032780015", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043A\u0443\u0440\u0438\u0446\u0430 110\u0433", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 275.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:01:34]execute_script... [09:01:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122734", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032780015", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043A\u0443\u0440\u0438\u0446\u0430 110\u0433", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 275.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:01:34]POST & json_proto [09:01:34]process_json_proto [09:01:34]json parsed OK: [09:01:34]protocol is kg_v1.0 [09:01:34]action value=close_receipt [09:01:34]process_action close_receipt [09:01:34]cmd_close_receipt [09:01:34]MH_GetDate [09:01:34]Write to MH i2c: F0 00 00 B7 0D B3 [09:01:34]Write i2c OK [09:01:34]MH_I2C_Read... [09:01:34]Read from MH i2c: F0 [09:01:34]MH_I2C_Read... [09:01:34]Read from MH i2c: F0 09 00 [09:01:34]MH_I2C_Read... [09:01:34]Read from MH i2c: F0 09 00 B7 0D 00 F2 7D B8 66 63 9B 67 64 12 [09:01:34]GetLastDocTimeStamp 1723366680 [09:01:34]current date 1723366898 [09:01:34]FM_GetShiftState [09:01:34]SAM_PROTO_GetShiftState [09:01:34]wFMCommunicate request_size=4 [09:01:34]MH_SAM_APDU [09:01:34]CAPDU: 80 13 01 00 [09:01:34]Write to MH i2c: E2 08 00 B8 0D 80 13 01 00 00 00 00 00 42 [09:01:34]Write i2c OK [09:01:34]MH_I2C_Read... [09:01:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:01:34]Read from MH i2c: E2 [09:01:34]MH_I2C_Read... [09:01:34]Read from MH i2c: E2 0E 00 [09:01:34]MH_I2C_Read... [09:01:34]Read from MH i2c: E2 0E 00 B8 0D 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 6B [09:01:34]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [09:01:34]wFMCommunicate OK [09:01:34]SAM_PROTO_GetShiftState done [09:01:34]FM_GetShiftState done [09:01:34]opened in 1723336186 [09:01:34]opened+sec_in_day 1723422586 [09:01:34]quantity*price = 6000 [09:01:34]sum+1 = 6001 [09:01:34]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48747066 Сигареты Winston True Silver 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000032780015 Слойка DC треугольная курица 110г 1.000 * 65.00 = 65.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46226624 Mentos ПВ Клубника 6*100*2 1.000 * 10.00 = 10.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 275.00 НСП 1% : 2.43 НДС 12% : 29.20 Наличными: 0.00 Безнал.: 275.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 14 11.08.2024 09:01 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874715 ФД: 52603 ФПД: 200071765308757 /tax-web-control/client/api/v1/ticket?date=20240811T090138&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52603&fm=200071765308757&tin=02508201610067®Number=0000000000090834&sum=27500 0 [09:01:35]StoreToDocumentArchive [09:01:35]shift 446 fd 52603 [09:01:35]save to /storage/0446/doc_00052603 [09:01:35]save last doc name /storage/0446/doc_00052603 to /storage/kkm_last_doc_name [09:01:35]save OK [09:01:35]Clear old archive folders... [09:01:35]ProcessDocumentItem done err = 0, tmpTLVsize=606 [09:01:35]tlvbuf is 0107E8C0 [09:01:35]SAM_PROTO_ClearQueue [09:01:35]wFMCommunicate request_size=4 [09:01:35]MH_SAM_APDU [09:01:35]CAPDU: 80 09 00 00 [09:01:35]Write to MH i2c: E2 08 00 C5 0D 80 09 00 00 00 00 00 00 44 [09:01:35]Write i2c OK [09:01:35]MH_I2C_Read... [09:01:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:01:35]Read from MH i2c: E2 [09:01:35]MH_I2C_Read... [09:01:35]Read from MH i2c: E2 03 00 [09:01:35]MH_I2C_Read... [09:01:35]Read from MH i2c: E2 03 00 C5 0D 00 90 00 46 [09:01:35]RAPDU: 90 00 [09:01:35]wFMCommunicate OK [09:01:35]SAM_PROTO_ClearQueue done [09:01:35]KKMCreateOFDPacket [09:01:35]OFDProtocolAddRootSTLVToBuf [09:01:35]FM_MakeSignedData [09:01:35]FM_MakeSignedData [09:01:35]SAM_PROTO_SignData [09:01:35]wFMCommunicate request_size=4 [09:01:35]MH_SAM_APDU [09:01:35]CAPDU: 80 0D 01 02 [09:01:35]Write to MH i2c: E2 08 00 C6 0D 80 0D 01 02 00 00 00 00 4C [09:01:35]Write i2c OK [09:01:35]MH_I2C_Read... [09:01:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:01:36]Read from MH i2c: E2 [09:01:36]MH_I2C_Read... [09:01:36]Read from MH i2c: E2 03 00 [09:01:36]MH_I2C_Read... [09:01:36]Read from MH i2c: E2 03 00 C6 0D 00 90 00 47 [09:01:36]RAPDU: 90 00 [09:01:36]wFMCommunicate OK [09:01:36]wFMCommunicate request_size=255 [09:01:36]MH_SAM_APDU [09:01:36]CAPDU: 80 0D 02 02 FA 03 00 5E 02 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 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 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 [09:01:36]Write to MH i2c: E2 02 01 C7 0D 80 0D 02 02 FA 00 03 00 5E 02 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 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 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 00 00 6F [09:01:36]Write i2c OK [09:01:36]MH_I2C_Read... [09:01:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:01:36]Read from MH i2c: E2 [09:01:36]MH_I2C_Read... [09:01:36]Read from MH i2c: E2 03 00 [09:01:36]MH_I2C_Read... [09:01:36]Read from MH i2c: E2 03 00 C7 0D 00 90 00 48 [09:01:36]RAPDU: 90 00 [09:01:36]wFMCommunicate OK [09:01:36]wFMCommunicate request_size=255 [09:01:36]MH_SAM_APDU [09:01:36]CAPDU: 80 0D 02 02 FA 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 0B 00 00 00 00 07 04 06 [09:01:36]Write to MH i2c: E2 02 01 C8 0D 80 0D 02 02 FA 00 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 0B 00 00 00 00 07 04 06 00 00 D6 [09:01:36]Write i2c OK [09:01:36]MH_I2C_Read... [09:01:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:01:36]Read from MH i2c: E2 [09:01:36]MH_I2C_Read... [09:01:36]Read from MH i2c: E2 03 00 [09:01:36]MH_I2C_Read... [09:01:36]Read from MH i2c: E2 03 00 C8 0D 00 90 00 49 [09:01:36]RAPDU: 90 00 [09:01:36]wFMCommunicate OK [09:01:36]wFMCommunicate request_size=115 [09:01:36]MH_SAM_APDU [09:01:36]CAPDU: 80 0D 02 02 6E 00 00 00 00 00 00 00 39 04 06 00 6C 6B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 F2 7D B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7B CD 00 00 35 04 06 00 B5 F6 D6 80 35 55 [09:01:36]Write to MH i2c: E2 76 00 C9 0D 80 0D 02 02 6E 00 00 00 00 00 00 00 00 39 04 06 00 6C 6B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 F2 7D B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7B CD 00 00 35 04 06 00 B5 F6 D6 80 35 55 00 00 58 [09:01:36]Write i2c OK [09:01:36]MH_I2C_Read... [09:01:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:01:36]Read from MH i2c: E2 [09:01:36]MH_I2C_Read... [09:01:36]Read from MH i2c: E2 03 00 [09:01:36]MH_I2C_Read... [09:01:36]Read from MH i2c: E2 03 00 C9 0D 00 90 00 4A [09:01:36]RAPDU: 90 00 [09:01:36]wFMCommunicate OK [09:01:36]wFMCommunicate request_size=4 [09:01:36]MH_SAM_APDU [09:01:36]CAPDU: 80 0D 03 02 [09:01:36]Write to MH i2c: E2 08 00 CA 0D 80 0D 03 02 00 00 00 00 52 [09:01:36]Write i2c OK [09:01:36]MH_I2C_Read... [09:01:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:01:36]Read from MH i2c: E2 [09:01:36]MH_I2C_Read... [09:01:36]Read from MH i2c: E2 0B 00 [09:01:36]MH_I2C_Read... [09:01:36]Read from MH i2c: E2 0B 00 CA 0D 00 8C CA C4 13 C2 34 73 52 90 00 3B [09:01:36]RAPDU: 8C CA C4 13 C2 34 73 52 90 00 [09:01:36]wFMCommunicate OK [09:01:36]SAM_PROTO_SignData done [09:01:36]FM_MakeSignedData done [09:01:36]CreateOFDProtocolMessage [09:01:36]wFMCommunicate request_size=4 [09:01:36]MH_SAM_APDU [09:01:36]CAPDU: 80 11 00 00 [09:01:36]Write to MH i2c: E2 08 00 CB 0D 80 11 00 00 00 00 00 00 52 [09:01:36]Write i2c OK [09:01:36]MH_I2C_Read... [09:01:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:01:36]Read from MH i2c: E2 [09:01:36]MH_I2C_Read... [09:01:36]Read from MH i2c: E2 17 00 [09:01:36]MH_I2C_Read... [09:01:36]Read from MH i2c: E2 17 00 CB 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 A5 [09:01:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [09:01:36]wFMCommunicate OK [09:01:36]CreateOFDProtocolMessage done [09:01:36]OFDSenderStorePacket 52603 [09:01:36]StoreOFDPacket docnum=52603 [09:01:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 72 02 00 00 15 5F 6A 02 51 C0 5A 03 01 00 03 00 5E 02 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 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 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6C 6B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 F2 7D B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7B CD 00 00 35 04 06 00 B5 F6 D6 80 35 55 8C CA C4 13 C2 34 73 52 [09:01:36]CheckFolder [09:01:36]dirname=/storage/ofd_packets [09:01:36]CheckFolder done [09:01:36]ProducePacketName [09:01:36]name=ofd_packets/00052603 [09:01:36]NVStorageSaveData ofd_packets/00052603 [09:01:36]File name is /storage/ofd_packets/00052603 [09:01:36]Write 656 bytes [09:01:36]NVStorageSaveData done [09:01:36]OFDSenderStorePacket done [09:01:36]KKMCreateOFDPacket done [09:01:36]NVStorageSaveData kkm_last_timestamp [09:01:36]File name is /storage/kkm_last_timestamp [09:01:36]Write 4 bytes [09:01:36]NVStorageSaveData done [09:01:36]ExternCall_PrintAddStr [09:01:36]wPrintStart [09:01:36]Write to MH i2c: 01 00 00 CC 0D D9 [09:01:36]Write i2c OK [09:01:36]MH_I2C_Read... [09:01:36]Read from MH i2c: 01 [09:01:36]MH_I2C_Read... [09:01:36]Read from MH i2c: 01 07 00 [09:01:36]MH_I2C_Read... [09:01:36]Read from MH i2c: 01 07 00 CC 0D 00 00 00 00 00 FF 0F EE [09:01:36]RasterBufferAndPrint [09:01:36]line Счет N : (3)122734 [09:01:36]line ИНН: 02508201610067 [09:01:36]line Контрольно-Кассовый Чек [09:01:36]line ПРОДАЖА [09:01:36]line Товар: 4700000160204 [09:01:36]line Вода Легенда 1,5л [09:01:36]line 1.000 * 60.00 [09:01:36]line = 60.00 [09:01:36]line НДС 12% НСП 1% [09:01:36]line > о реализуемом товаре [09:01:36]line Товар: 48747066 [09:01:36]line Сигареты Winston True Silver [09:01:37]line 1.000 * 140.00 [09:01:37]line = 140.00 [09:01:37]line НДС 12% НСП 1% [09:01:37]line > о реализуемом товаре [09:01:37]line Товар: 2000032780015 [09:01:37]line Слойка DC треугольная курица 110г [09:01:37]line 1.000 * 65.00 [09:01:37]line = 65.00 [09:01:37]line НДС 12% НСП 1% [09:01:37]line > о реализуемом товаре [09:01:37]line Товар: 46226624 [09:01:37]line Mentos ПВ Клубника 6*100*2 [09:01:37]line 1.000 * 10.00 [09:01:37]line = 10.00 [09:01:37]line НДС 12% НСП 1% [09:01:37]line > о реализуемом товаре [09:01:37]line ИТОГО: 275.00 [09:01:37]line НСП 1% : 2.43 [09:01:37]line НДС 12% : 29.20 [09:01:37]line Наличными: 0.00 [09:01:37]line Безнал.: 275.00 [09:01:37]line Место: АЗС № 54 "Партнер Нефть" [09:01:37]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [09:01:37]line СНО: Общий режим [09:01:37]line Чек 14 11.08.2024 09:01 [09:01:37]line Смена: 446 ФФД: 1.0 [09:01:37]line ЗНМ: 0300000007 [09:01:37]line РНМ: 0000000000090834 [09:01:37]line Версия ККМ: 001 [09:01:37]line Платежная система: Бакай Банк [09:01:37]line ФМ: 0000000000874715 [09:01:37]line ФД: 52603 [09:01:37]line ФПД: 200071765308757 [09:01:37]line /tax-web-control/client/api/v1/ticket?date=20240811T090138&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52603&fm=200071765308757&tin=02508201610067®Number=0000000000090834&sum=27500 [09:01:37]line 0 [09:01:37]OFD Sender: Processing packet 52603 [packets to send 55, broken 54] [09:01:37]ProducePacketName [09:01:37]name=ofd_packets/00052603 [09:01:37]OFD Sender: To server: pG, [09:01:37]CommunicateWithHost lk.salyk.kg:30040 [09:01:37]ConnectInit lk.salyk.kg [09:01:37]written 0, free lines is 4095 [09:01:37]Connected sock=10 [09:01:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 72 02 00 00 15 5F 6A 02 51 C0 5A 03 01 00 03 00 5E 02 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 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 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 31 35 06 04 39 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B0 20 31 31 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 68 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 6C 6B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 F2 7D B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7B CD 00 00 35 04 06 00 B5 F6 D6 80 35 55 8C CA C4 13 C2 34 73 52 [09:01:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 B2 BA 47 00 38 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 34 37 31 35 10 04 04 00 7B CD 00 00 F4 03 04 00 8D 25 B8 66 B6 04 01 00 00 A6 E3 49 AA 80 4E 5B 50 [09:01:37]CommunicateWithHost err = 0 [09:01:37]CheckOFDResponse [09:01:37]1017 (14) - 77093643461234 [09:01:37]1041 (16) - 0000000000874715 [09:01:37]1040 (4) - 52603 [09:01:37]1012 (4) - 11.08.2024 02:44 [09:01:37]1206 (1) - 0 [09:01:37]OFD Sender: Remove packet 52603 [09:01:37]ProducePacketName [09:01:37]name=ofd_packets/00052603 [09:01:37]NVStorageDeleteData [09:01:37]Write to MH i2c: 01 00 00 08 0E 16 [09:01:37]Write i2c OK [09:01:37]MH_I2C_Read... [09:01:37]Read from MH i2c: 01 [09:01:37]MH_I2C_Read... [09:01:37]Read from MH i2c: 01 07 00 [09:01:37]MH_I2C_Read... [09:01:37]Read from MH i2c: 01 07 00 08 0E 00 00 00 00 00 82 0B AA [09:01:37]RasterBufferAndPrint [09:01:37]line [09:01:37]line [09:01:37]line [09:01:37]line [09:01:37]line [09:01:37]written 0, free lines is 2955 [09:01:37]MH_Cut [09:01:37]Write to MH i2c: D1 01 00 0F 0E 01 EF [09:01:37]Write i2c OK [09:01:37]MH_I2C_Read... [09:01:37]Read from MH i2c: D1 [09:01:37]MH_I2C_Read... [09:01:37]Read from MH i2c: D1 01 00 [09:01:37]MH_I2C_Read... [09:01:37]Read from MH i2c: D1 01 00 0F 0E 00 EE [09:01:37]Write to MH i2c: 01 00 00 10 0E 1E [09:01:37]Write i2c OK [09:01:37]MH_I2C_Read... [09:01:38]OFD Sender: No OFD packet to send [09:01:38]*** Cut start [09:01:38]*** Purtial cut [09:01:38]*** Stage 1: CUTSNS_PIN = 1 [09:01:39]Read from MH i2c: 01 [09:01:39]MH_I2C_Read... [09:01:39]*** Stop cut motor [09:01:39]*** Cut end [09:01:39]Read from MH i2c: 01 07 00 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: 01 07 00 10 0E 00 00 00 00 00 FF 0F 33 [09:01:39]process_action close_receipt done [09:01:39]requested_data is exist [09:01:39]produce_requested_data [09:01:39]requested_item fm.sn is exist - process it [09:01:39]wFMCommunicate request_size=4 [09:01:39]MH_SAM_APDU [09:01:39]CAPDU: 80 11 00 00 [09:01:39]Write to MH i2c: E2 08 00 11 0E 80 11 00 00 00 00 00 00 99 [09:01:39]Write i2c OK [09:01:39]MH_I2C_Read... [09:01:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:01:39]Read from MH i2c: E2 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: E2 17 00 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: E2 17 00 11 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 EC [09:01:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [09:01:39]wFMCommunicate OK [09:01:39]requested_item fd.num is exist - process it [09:01:39]SAM_PROTO_GetFieldsCounters [09:01:39]wFMCommunicate request_size=4 [09:01:39]MH_SAM_APDU [09:01:39]CAPDU: 80 13 00 00 [09:01:39]Write to MH i2c: E2 08 00 12 0E 80 13 00 00 00 00 00 00 9C [09:01:39]Write i2c OK [09:01:39]MH_I2C_Read... [09:01:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:01:39]Read from MH i2c: E2 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: E2 62 00 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: E2 62 00 12 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 7B CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 ED [09:01:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 7B CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:01:39]wFMCommunicate OK [09:01:39]SAM_PROTO_GetFieldsCounters done [09:01:39]requested_item shift.num is exist - process it [09:01:39]requested_item shift.opened is exist - process it [09:01:39]req_shift_opened [09:01:39]FM_GetShiftState [09:01:39]SAM_PROTO_GetShiftState [09:01:39]wFMCommunicate request_size=4 [09:01:39]MH_SAM_APDU [09:01:39]CAPDU: 80 13 01 00 [09:01:39]Write to MH i2c: E2 08 00 13 0E 80 13 01 00 00 00 00 00 9E [09:01:39]Write i2c OK [09:01:39]MH_I2C_Read... [09:01:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:01:39]Read from MH i2c: E2 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: E2 0E 00 [09:01:39]MH_I2C_Read... [09:01:39]Read from MH i2c: E2 0E 00 13 0E 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 C7 [09:01:39]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [09:01:39]wFMCommunicate OK [09:01:39]SAM_PROTO_GetShiftState done [09:01:39]FM_GetShiftState done [09:01:39]req_shift_opened done [09:01:39]requested_item shift.open_date is exist - process it [09:01:39]req_shift_open_date [09:01:39]req_shift_open_date done [09:01:39]produce_requested_data done [09:01:39]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52603,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [09:01:39]process_action_free close_receipt [09:01:39]json_value_free [09:01:39]json_value_free done [09:01:39]process_json_proto returns [09:01:39]Send response to host [09:01:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52603,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [09:01:39]free response buf [09:01:39]execute_script done [09:01:39]execute_script returns [09:01:39]free content buf [09:01:39]Sock 8.Close socket [09:01:39]Sock 8.Thread stoped [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:49]accept exits with 9 [09:03:49]New connection [09:03:49]New thread 3067395428 created [09:03:49]Thread 3067252068 joined [09:03:49]Waiting for new connection... [09:03:49] Sock 9.Parse request [09:03:49]Sock 9.Check first char [09:03:49]Sock 9.First char is OK [09:03:49]request: POST /json_proto HTTP/1.0 [09:03:49]Method: POST [09:03:49]URL: /json_proto [09:03:49]Method is POST - this is cgi request [09:03:49]url: /json_proto [09:03:49]query_string will be loaded in cgi processing [09:03:49]execute_cgi json_proto POST (null) [09:03:49]execute_cgi path=json_proto method=POST [09:03:49]POST find Content-Length [09:03:49]Host: 172.17.60.7:8080 [09:03:49]Content-Length: 1056 [09:03:49]Content-Type: application/json [09:03:49] [09:03:49]POST finish read [09:03:49]Found Content-Length = 1056 [09:03:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122735", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:03:49]execute_script... [09:03: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 : (3)122735", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:03:49]POST & json_proto [09:03:49]process_json_proto [09:03:49]json parsed OK: [09:03:49]protocol is kg_v1.0 [09:03:49]action value=close_receipt [09:03:49]process_action close_receipt [09:03:49]cmd_close_receipt [09:03:49]MH_GetDate [09:03:49]Write to MH i2c: F0 00 00 14 0E 11 [09:03:49]Write i2c OK [09:03:49]MH_I2C_Read... [09:03:49]Read from MH i2c: F0 [09:03:49]MH_I2C_Read... [09:03:49]Read from MH i2c: F0 09 00 [09:03:49]MH_I2C_Read... [09:03:49]Read from MH i2c: F0 09 00 14 0E 00 79 7E B8 66 63 9B 67 64 F8 [09:03:49]GetLastDocTimeStamp 1723366898 [09:03:49]current date 1723367033 [09:03:49]FM_GetShiftState [09:03:49]SAM_PROTO_GetShiftState [09:03:49]wFMCommunicate request_size=4 [09:03:49]MH_SAM_APDU [09:03:49]CAPDU: 80 13 01 00 [09:03:49]Write to MH i2c: E2 08 00 15 0E 80 13 01 00 00 00 00 00 A0 [09:03:49]Write i2c OK [09:03:49]MH_I2C_Read... [09:03:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:03:49]Read from MH i2c: E2 [09:03:49]MH_I2C_Read... [09:03:49]Read from MH i2c: E2 0E 00 [09:03:49]MH_I2C_Read... [09:03:49]Read from MH i2c: E2 0E 00 15 0E 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 C9 [09:03:49]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [09:03:49]wFMCommunicate OK [09:03:49]SAM_PROTO_GetShiftState done [09:03:49]FM_GetShiftState done [09:03:49]opened in 1723336186 [09:03:49]opened+sec_in_day 1723422586 [09:03:49]quantity*price = 13000 [09:03:49]sum+1 = 13001 [09:03:49]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036230011 Кофе Латте XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.60 Наличными: 0.00 Безнал.: 260.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 15 11.08.2024 09:03 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52604 ФПД: 124638485424619 /tax-web-control/client/api/v1/ticket?date=20240811T090353&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52604&fm=124638485424619&tin=02508201610067®Number=0000000000090834&sum=26000 0 [09:03:51]StoreToDocumentArchive [09:03:51]shift 446 fd 52604 [09:03:51]save to /storage/0446/doc_00052604 [09:03:51]save last doc name /storage/0446/doc_00052604 to /storage/kkm_last_doc_name [09:03:51]save OK [09:03:51]Clear old archive folders... [09:03:51]ProcessDocumentItem done err = 0, tmpTLVsize=388 [09:03:51]tlvbuf is 010CBF60 [09:03:51]SAM_PROTO_ClearQueue [09:03:51]wFMCommunicate request_size=4 [09:03:51]MH_SAM_APDU [09:03:51]CAPDU: 80 09 00 00 [09:03:51]Write to MH i2c: E2 08 00 22 0E 80 09 00 00 00 00 00 00 A2 [09:03:51]Write i2c OK [09:03:51]MH_I2C_Read... [09:03:51]Read from MH i2c: E2 [09:03:51]MH_I2C_Read... [09:03:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:03:51]Read from MH i2c: E2 03 00 [09:03:51]MH_I2C_Read... [09:03:51]Read from MH i2c: E2 03 00 22 0E 00 90 00 A4 [09:03:51]RAPDU: 90 00 [09:03:51]wFMCommunicate OK [09:03:51]SAM_PROTO_ClearQueue done [09:03:51]KKMCreateOFDPacket [09:03:51]OFDProtocolAddRootSTLVToBuf [09:03:51]FM_MakeSignedData [09:03:51]FM_MakeSignedData [09:03:51]SAM_PROTO_SignData [09:03:51]wFMCommunicate request_size=4 [09:03:51]MH_SAM_APDU [09:03:51]CAPDU: 80 0D 01 02 [09:03:51]Write to MH i2c: E2 08 00 23 0E 80 0D 01 02 00 00 00 00 AA [09:03:51]Write i2c OK [09:03:51]MH_I2C_Read... [09:03:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:03:51]Read from MH i2c: E2 [09:03:51]MH_I2C_Read... [09:03:51]Read from MH i2c: E2 03 00 [09:03:51]MH_I2C_Read... [09:03:51]Read from MH i2c: E2 03 00 23 0E 00 90 00 A5 [09:03:51]RAPDU: 90 00 [09:03:51]wFMCommunicate OK [09:03:51]wFMCommunicate request_size=255 [09:03:51]MH_SAM_APDU [09:03:51]CAPDU: 80 0D 02 02 FA 03 00 84 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 [09:03:51]Write to MH i2c: E2 02 01 24 0E 80 0D 02 02 FA 00 03 00 84 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 00 00 2F [09:03:51]Write i2c OK [09:03:51]MH_I2C_Read... [09:03:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:03:51]Read from MH i2c: E2 [09:03:51]MH_I2C_Read... [09:03:51]Read from MH i2c: E2 03 00 [09:03:51]MH_I2C_Read... [09:03:51]Read from MH i2c: E2 03 00 24 0E 00 90 00 A6 [09:03:51]RAPDU: 90 00 [09:03:51]wFMCommunicate OK [09:03:51]wFMCommunicate request_size=147 [09:03:51]MH_SAM_APDU [09:03:51]CAPDU: 80 0D 02 02 8E F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C8 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 79 7E B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7C CD 00 00 35 04 06 00 71 5B A8 A6 29 EB [09:03:51]Write to MH i2c: E2 96 00 25 0E 80 0D 02 02 8E 00 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C8 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 79 7E B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7C CD 00 00 35 04 06 00 71 5B A8 A6 29 EB 00 00 FC [09:03:51]Write i2c OK [09:03:51]MH_I2C_Read... [09:03:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:03:51]Read from MH i2c: E2 [09:03:51]MH_I2C_Read... [09:03:51]Read from MH i2c: E2 03 00 [09:03:51]MH_I2C_Read... [09:03:51]Read from MH i2c: E2 03 00 25 0E 00 90 00 A7 [09:03:51]RAPDU: 90 00 [09:03:51]wFMCommunicate OK [09:03:51]wFMCommunicate request_size=4 [09:03:51]MH_SAM_APDU [09:03:51]CAPDU: 80 0D 03 02 [09:03:51]Write to MH i2c: E2 08 00 26 0E 80 0D 03 02 00 00 00 00 AF [09:03:51]Write i2c OK [09:03:51]MH_I2C_Read... [09:03:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:03:51]Read from MH i2c: E2 [09:03:51]MH_I2C_Read... [09:03:51]Read from MH i2c: E2 0B 00 [09:03:51]MH_I2C_Read... [09:03:51]Read from MH i2c: E2 0B 00 26 0E 00 97 96 CF EA E2 98 6A 51 90 00 CB [09:03:51]RAPDU: 97 96 CF EA E2 98 6A 51 90 00 [09:03:51]wFMCommunicate OK [09:03:51]SAM_PROTO_SignData done [09:03:51]FM_MakeSignedData done [09:03:51]CreateOFDProtocolMessage [09:03:51]wFMCommunicate request_size=4 [09:03:51]MH_SAM_APDU [09:03:51]CAPDU: 80 11 00 00 [09:03:51]Write to MH i2c: E2 08 00 27 0E 80 11 00 00 00 00 00 00 AF [09:03:51]Write i2c OK [09:03:51]MH_I2C_Read... [09:03:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:03:51]Read from MH i2c: E2 [09:03:51]MH_I2C_Read... [09:03:51]Read from MH i2c: E2 17 00 [09:03:51]MH_I2C_Read... [09:03:51]Read from MH i2c: E2 17 00 27 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 02 [09:03:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [09:03:51]wFMCommunicate OK [09:03:51]CreateOFDProtocolMessage done [09:03:51]OFDSenderStorePacket 52604 [09:03:51]StoreOFDPacket docnum=52604 [09:03:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 98 01 00 00 7E F6 90 01 5F DF 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C8 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 79 7E B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7C CD 00 00 35 04 06 00 71 5B A8 A6 29 EB 97 96 CF EA E2 98 6A 51 [09:03:51]CheckFolder [09:03:51]dirname=/storage/ofd_packets [09:03:51]CheckFolder done [09:03:51]ProducePacketName [09:03:51]name=ofd_packets/00052604 [09:03:51]NVStorageSaveData ofd_packets/00052604 [09:03:51]File name is /storage/ofd_packets/00052604 [09:03:51]Write 438 bytes [09:03:51]NVStorageSaveData done [09:03:51]OFDSenderStorePacket done [09:03:51]KKMCreateOFDPacket done [09:03:51]NVStorageSaveData kkm_last_timestamp [09:03:52]File name is /storage/kkm_last_timestamp [09:03:52]Write 4 bytes [09:03:52]NVStorageSaveData done [09:03:52]ExternCall_PrintAddStr [09:03:52]wPrintStart [09:03:52]Write to MH i2c: 01 00 00 28 0E 36 [09:03:52]OFD Sender: Processing packet 52604 [packets to send 55, broken 54] [09:03:52]ProducePacketName [09:03:52]name=ofd_packets/00052604 [09:03:52]OFD Sender: To server: pG, [09:03:52]CommunicateWithHost lk.salyk.kg:30040 [09:03:52]ConnectInit lk.salyk.kg [09:03:52]Write i2c OK [09:03:52]MH_I2C_Read... [09:03:52]Read from MH i2c: 01 [09:03:52]MH_I2C_Read... [09:03:52]Read from MH i2c: 01 07 00 [09:03:52]MH_I2C_Read... [09:03:52]Read from MH i2c: 01 07 00 28 0E 00 00 00 00 00 FF 0F 4B [09:03:52]RasterBufferAndPrint [09:03:52]line Счет N : (3)122735 [09:03:52]line ИНН: 02508201610067 [09:03:52]line Контрольно-Кассовый Чек [09:03:52]line ПРОДАЖА [09:03:52]line Товар: 2000036220012 [09:03:52]line Кофе Капучино XL(GABB TRADE) [09:03:52]line 1.000 * 130.00 [09:03:52]line = 130.00 [09:03:52]line НДС 12% НСП 1% [09:03:52]line > о реализуемом товаре [09:03:52]line Товар: 2000036230011 [09:03:52]line Кофе Латте XL(GABB TRADE) [09:03:52]line 1.000 * 130.00 [09:03:52]line = 130.00 [09:03:52]line НДС 12% НСП 1% [09:03:52]line > о реализуемом товаре [09:03:52]line ИТОГО: 260.00 [09:03:52]line НСП 1% : 2.30 [09:03:52]line НДС 12% : 27.60 [09:03:52]line Наличными: 0.00 [09:03:52]line Безнал.: 260.00 [09:03:52]line Место: АЗС № 54 "Партнер Нефть" [09:03:52]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [09:03:52]line СНО: Общий режим [09:03:52]line Чек 15 11.08.2024 09:03 [09:03:52]line Смена: 446 ФФД: 1.0 [09:03:52]line ЗНМ: 0300000007 [09:03:52]line РНМ: 0000000000090834 [09:03:52]line Версия ККМ: 001 [09:03:52]line Платежная система: О! деньги [09:03:52]line ФМ: 0000000000874715 [09:03:52]line ФД: 52604 [09:03:52]line ФПД: 124638485424619 [09:03:52]line /tax-web-control/client/api/v1/ticket?date=20240811T090353&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52604&fm=124638485424619&tin=02508201610067®Number=0000000000090834&sum=26000 [09:03:52]line 0 [09:03:52]written 0, free lines is 4095 [09:03:52]Connected sock=10 [09:03:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 98 01 00 00 7E F6 90 01 5F DF 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C8 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 79 7E B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7C CD 00 00 35 04 06 00 71 5B A8 A6 29 EB 97 96 CF EA E2 98 6A 51 [09:03:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 86 1E 47 00 CE 6C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7C CD 00 00 F4 03 04 00 14 26 B8 66 B6 04 01 00 00 9A FE F5 DA 05 2B CE DE [09:03:52]CommunicateWithHost err = 0 [09:03:52]CheckOFDResponse [09:03:52]1017 (14) - 77093643461234 [09:03:52]1041 (16) - 0000000000874715 [09:03:52]1040 (4) - 52604 [09:03:52]1012 (4) - 11.08.2024 02:46 [09:03:52]1206 (1) - 0 [09:03:52]OFD Sender: Remove packet 52604 [09:03:52]ProducePacketName [09:03:52]name=ofd_packets/00052604 [09:03:52]NVStorageDeleteData [09:03:52]Write to MH i2c: 01 00 00 58 0E 66 [09:03:52]Write i2c OK [09:03:52]MH_I2C_Read... [09:03:52]Read from MH i2c: 01 [09:03:52]MH_I2C_Read... [09:03:52]Read from MH i2c: 01 07 00 [09:03:52]MH_I2C_Read... [09:03:52]Read from MH i2c: 01 07 00 58 0E 00 00 00 00 00 60 0C D9 [09:03:52]RasterBufferAndPrint [09:03:52]line [09:03:52]line [09:03:52]line [09:03:52]line [09:03:52]line [09:03:52]written 0, free lines is 3175 [09:03:52]MH_Cut [09:03:52]Write to MH i2c: D1 01 00 5F 0E 01 3F [09:03:52]Write i2c OK [09:03:52]MH_I2C_Read... [09:03:52]Read from MH i2c: D1 [09:03:52]MH_I2C_Read... [09:03:52]Read from MH i2c: D1 01 00 [09:03:52]MH_I2C_Read... [09:03:52]Read from MH i2c: D1 01 00 5F 0E 00 3E [09:03:52]Write to MH i2c: 01 00 00 60 0E 6E [09:03:52]Write i2c OK [09:03:52]MH_I2C_Read... [09:03:52]OFD Sender: No OFD packet to send [09:03:53]*** Cut start [09:03:53]*** Purtial cut [09:03:53]*** Stage 1: CUTSNS_PIN = 1 [09:03:53]Read from MH i2c: 01 [09:03:53]MH_I2C_Read... [09:03:53]*** Stop cut motor [09:03:53]*** Cut end [09:03:53]Read from MH i2c: 01 07 00 [09:03:53]MH_I2C_Read... [09:03:53]Read from MH i2c: 01 07 00 60 0E 00 00 00 00 00 FF 0F 83 [09:03:53]process_action close_receipt done [09:03:53]requested_data is exist [09:03:53]produce_requested_data [09:03:53]requested_item fm.sn is exist - process it [09:03:53]wFMCommunicate request_size=4 [09:03:53]MH_SAM_APDU [09:03:53]CAPDU: 80 11 00 00 [09:03:53]Write to MH i2c: E2 08 00 61 0E 80 11 00 00 00 00 00 00 E9 [09:03:53]Write i2c OK [09:03:53]MH_I2C_Read... [09:03:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:03:53]Read from MH i2c: E2 [09:03:53]MH_I2C_Read... [09:03:53]Read from MH i2c: E2 17 00 [09:03:53]MH_I2C_Read... [09:03:53]Read from MH i2c: E2 17 00 61 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 3C [09:03:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [09:03:53]wFMCommunicate OK [09:03:53]requested_item fd.num is exist - process it [09:03:53]SAM_PROTO_GetFieldsCounters [09:03:53]wFMCommunicate request_size=4 [09:03:53]MH_SAM_APDU [09:03:53]CAPDU: 80 13 00 00 [09:03:53]Write to MH i2c: E2 08 00 62 0E 80 13 00 00 00 00 00 00 EC [09:03:53]Write i2c OK [09:03:53]MH_I2C_Read... [09:03:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:03:54]Read from MH i2c: E2 [09:03:54]MH_I2C_Read... [09:03:54]Read from MH i2c: E2 62 00 [09:03:54]MH_I2C_Read... [09:03:54]Read from MH i2c: E2 62 00 62 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 7C CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 41 [09:03:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 7C CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:03:54]wFMCommunicate OK [09:03:54]SAM_PROTO_GetFieldsCounters done [09:03:54]requested_item shift.num is exist - process it [09:03:54]requested_item shift.opened is exist - process it [09:03:54]req_shift_opened [09:03:54]FM_GetShiftState [09:03:54]SAM_PROTO_GetShiftState [09:03:54]wFMCommunicate request_size=4 [09:03:54]MH_SAM_APDU [09:03:54]CAPDU: 80 13 01 00 [09:03:54]Write to MH i2c: E2 08 00 63 0E 80 13 01 00 00 00 00 00 EE [09:03:54]Write i2c OK [09:03:54]MH_I2C_Read... [09:03:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:03:54]Read from MH i2c: E2 [09:03:54]MH_I2C_Read... [09:03:54]Read from MH i2c: E2 0E 00 [09:03:54]MH_I2C_Read... [09:03:54]Read from MH i2c: E2 0E 00 63 0E 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 17 [09:03:54]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [09:03:54]wFMCommunicate OK [09:03:54]SAM_PROTO_GetShiftState done [09:03:54]FM_GetShiftState done [09:03:54]req_shift_opened done [09:03:54]requested_item shift.open_date is exist - process it [09:03:54]req_shift_open_date [09:03:54]req_shift_open_date done [09:03:54]produce_requested_data done [09:03:54]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52604,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [09:03:54]process_action_free close_receipt [09:03:54]json_value_free [09:03:54]json_value_free done [09:03:54]process_json_proto returns [09:03:54]Send response to host [09:03:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52604,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [09:03:54]free response buf [09:03:54]execute_script done [09:03:54]execute_script returns [09:03:54]free content buf [09:03:54]Sock 9.Close socket [09:03:54]Sock 9.Thread stoped [09:03:57]OFD Sender: No OFD packet to send [09:04:02]OFD Sender: No OFD packet to send [09:04:07]OFD Sender: No OFD packet to send [09:04:12]OFD Sender: No OFD packet to send [09:04:17]OFD Sender: No OFD packet to send [09:04:22]OFD Sender: No OFD packet to send [09:04:27]OFD Sender: No OFD packet to send [09:04:32]OFD Sender: No OFD packet to send [09:04:37]OFD Sender: No OFD packet to send [09:04:42]OFD Sender: No OFD packet to send [09:04:47]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:38]OFD Sender: No OFD packet to send [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: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:38]OFD Sender: No OFD packet to send [09:20:43]OFD Sender: No OFD packet to send [09:20:48]OFD Sender: No OFD packet to send [09:20:53]OFD Sender: No OFD packet to send [09:20:58]OFD Sender: No OFD packet to send [09:21:03]OFD Sender: No OFD packet to send [09:21:08]OFD Sender: No OFD packet to send [09:21:13]OFD Sender: No OFD packet to send [09:21:18]OFD Sender: No OFD packet to send [09:21:23]OFD Sender: No OFD packet to send [09:21:28]OFD Sender: No OFD packet to send [09:21:33]OFD Sender: No OFD packet to send [09:21:38]OFD Sender: No OFD packet to send [09:21:43]OFD Sender: No OFD packet to send [09:21:48]OFD Sender: No OFD packet to send [09:21:53]OFD Sender: No OFD packet to send [09:21:58]OFD Sender: No OFD packet to send [09:22:03]OFD Sender: No OFD packet to send [09:22:08]OFD Sender: No OFD packet to send [09:22:13]OFD Sender: No OFD packet to send [09:22:18]OFD Sender: No OFD packet to send [09:22:23]OFD Sender: No OFD packet to send [09:22:25]accept exits with 8 [09:22:25]New connection [09:22:25]New thread 3067252068 created [09:22:25]Thread 3067395428 joined [09:22:25]Waiting for new connection... [09:22:25] Sock 8.Parse request [09:22:25]Sock 8.Check first char [09:22:25]Sock 8.First char is OK [09:22:25]request: POST /json_proto HTTP/1.0 [09:22:25]Method: POST [09:22:25]URL: /json_proto [09:22:25]Method is POST - this is cgi request [09:22:25]url: /json_proto [09:22:25]query_string will be loaded in cgi processing [09:22:25]execute_cgi json_proto POST (null) [09:22:25]execute_cgi path=json_proto method=POST [09:22:25]POST find Content-Length [09:22:25]Host: 172.17.60.7:8080 [09:22:25]Content-Length: 1082 [09:22:25]Content-Type: application/json [09:22:25] [09:22:25]POST finish read [09:22:25]Found Content-Length = 1082 [09:22:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122736", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 118.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:22:25]execute_script... [09:22: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)122736", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 118.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:22:25]POST & json_proto [09:22:25]process_json_proto [09:22:25]json parsed OK: [09:22:25]protocol is kg_v1.0 [09:22:25]action value=close_receipt [09:22:25]process_action close_receipt [09:22:25]cmd_close_receipt [09:22:25]MH_GetDate [09:22:25]Write to MH i2c: F0 00 00 64 0E 61 [09:22:25]Write i2c OK [09:22:25]MH_I2C_Read... [09:22:25]Read from MH i2c: F0 [09:22:25]MH_I2C_Read... [09:22:25]Read from MH i2c: F0 09 00 [09:22:25]MH_I2C_Read... [09:22:25]Read from MH i2c: F0 09 00 64 0E 00 D5 82 B8 66 63 9B 67 64 A8 [09:22:25]GetLastDocTimeStamp 1723367033 [09:22:25]current date 1723368149 [09:22:25]FM_GetShiftState [09:22:25]SAM_PROTO_GetShiftState [09:22:25]wFMCommunicate request_size=4 [09:22:25]MH_SAM_APDU [09:22:25]CAPDU: 80 13 01 00 [09:22:25]Write to MH i2c: E2 08 00 65 0E 80 13 01 00 00 00 00 00 F0 [09:22:25]Write i2c OK [09:22:25]MH_I2C_Read... [09:22:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:22:25]Read from MH i2c: E2 [09:22:25]MH_I2C_Read... [09:22:25]Read from MH i2c: E2 0E 00 [09:22:25]MH_I2C_Read... [09:22:25]Read from MH i2c: E2 0E 00 65 0E 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 19 [09:22:25]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [09:22:25]wFMCommunicate OK [09:22:25]SAM_PROTO_GetShiftState done [09:22:25]FM_GetShiftState done [09:22:25]opened in 1723336186 [09:22:25]opened+sec_in_day 1723422586 [09:22:25]quantity*price = 11100 [09:22:25]sum+1 = 11101 [09:22:25]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 1.000 * 7.00 = 7.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 118.00 НСП 1% : 1.04 НДС 12% : 12.53 Наличными: 0.00 Безнал.: 118.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 16 11.08.2024 09:22 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874715 ФД: 52605 ФПД: 207676132413537 /tax-web-control/client/api/v1/ticket?date=20240811T092229&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52605&fm=207676132413537&tin=02508201610067®Number=0000000000090834&sum=11800 0 [09:22:27]StoreToDocumentArchive [09:22:27]shift 446 fd 52605 [09:22:27]save to /storage/0446/doc_00052605 [09:22:27]save last doc name /storage/0446/doc_00052605 to /storage/kkm_last_doc_name [09:22:27]save OK [09:22:27]Clear old archive folders... [09:22:27]ProcessDocumentItem done err = 0, tmpTLVsize=383 [09:22:27]tlvbuf is 010CC020 [09:22:27]SAM_PROTO_ClearQueue [09:22:27]wFMCommunicate request_size=4 [09:22:27]MH_SAM_APDU [09:22:27]CAPDU: 80 09 00 00 [09:22:27]Write to MH i2c: E2 08 00 72 0E 80 09 00 00 00 00 00 00 F2 [09:22:27]Write i2c OK [09:22:27]MH_I2C_Read... [09:22:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:22:27]Read from MH i2c: E2 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: E2 03 00 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: E2 03 00 72 0E 00 90 00 F4 [09:22:27]RAPDU: 90 00 [09:22:27]wFMCommunicate OK [09:22:27]SAM_PROTO_ClearQueue done [09:22:27]KKMCreateOFDPacket [09:22:27]OFDProtocolAddRootSTLVToBuf [09:22:27]FM_MakeSignedData [09:22:27]FM_MakeSignedData [09:22:27]SAM_PROTO_SignData [09:22:27]wFMCommunicate request_size=4 [09:22:27]MH_SAM_APDU [09:22:27]CAPDU: 80 0D 01 02 [09:22:27]Write to MH i2c: E2 08 00 73 0E 80 0D 01 02 00 00 00 00 FA [09:22:27]Write i2c OK [09:22:27]MH_I2C_Read... [09:22:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:22:27]Read from MH i2c: E2 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: E2 03 00 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: E2 03 00 73 0E 00 90 00 F5 [09:22:27]RAPDU: 90 00 [09:22:27]wFMCommunicate OK [09:22:27]wFMCommunicate request_size=255 [09:22:27]MH_SAM_APDU [09:22:27]CAPDU: 80 0D 02 02 FA 03 00 7F 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 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 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 68 [09:22:27]Write to MH i2c: E2 02 01 74 0E 80 0D 02 02 FA 00 03 00 7F 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 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 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 68 00 00 E1 [09:22:27]Write i2c OK [09:22:27]MH_I2C_Read... [09:22:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:22:27]Read from MH i2c: E2 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: E2 03 00 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: E2 03 00 74 0E 00 90 00 F6 [09:22:27]RAPDU: 90 00 [09:22:27]wFMCommunicate OK [09:22:27]wFMCommunicate request_size=142 [09:22:27]MH_SAM_APDU [09:22:27]CAPDU: 80 0D 02 02 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 D5 82 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7D CD 00 00 35 04 06 00 BC E1 5E 19 D0 61 [09:22:27]Write to MH i2c: E2 91 00 75 0E 80 0D 02 02 89 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 D5 82 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7D CD 00 00 35 04 06 00 BC E1 5E 19 D0 61 00 00 3D [09:22:27]Write i2c OK [09:22:27]MH_I2C_Read... [09:22:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:22:27]Read from MH i2c: E2 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: E2 03 00 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: E2 03 00 75 0E 00 90 00 F7 [09:22:27]RAPDU: 90 00 [09:22:27]wFMCommunicate OK [09:22:27]wFMCommunicate request_size=4 [09:22:27]MH_SAM_APDU [09:22:27]CAPDU: 80 0D 03 02 [09:22:27]Write to MH i2c: E2 08 00 76 0E 80 0D 03 02 00 00 00 00 FF [09:22:27]Write i2c OK [09:22:27]MH_I2C_Read... [09:22:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:22:27]Read from MH i2c: E2 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: E2 0B 00 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: E2 0B 00 76 0E 00 8E 32 7D 1F B3 62 09 00 90 00 7A [09:22:27]RAPDU: 8E 32 7D 1F B3 62 09 00 90 00 [09:22:27]wFMCommunicate OK [09:22:27]SAM_PROTO_SignData done [09:22:27]FM_MakeSignedData done [09:22:27]CreateOFDProtocolMessage [09:22:27]wFMCommunicate request_size=4 [09:22:27]MH_SAM_APDU [09:22:27]CAPDU: 80 11 00 00 [09:22:27]Write to MH i2c: E2 08 00 77 0E 80 11 00 00 00 00 00 00 FF [09:22:27]Write i2c OK [09:22:27]MH_I2C_Read... [09:22:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:22:27]Read from MH i2c: E2 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: E2 17 00 [09:22:27]MH_I2C_Read... [09:22:27]Read from MH i2c: E2 17 00 77 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 52 [09:22:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [09:22:27]wFMCommunicate OK [09:22:27]CreateOFDProtocolMessage done [09:22:27]OFDSenderStorePacket 52605 [09:22:27]StoreOFDPacket docnum=52605 [09:22:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 93 01 00 00 94 A5 8B 01 25 A1 5A 03 01 00 03 00 7F 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 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 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 68 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 D5 82 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7D CD 00 00 35 04 06 00 BC E1 5E 19 D0 61 8E 32 7D 1F B3 62 09 00 [09:22:27]CheckFolder [09:22:27]dirname=/storage/ofd_packets [09:22:27]CheckFolder done [09:22:27]ProducePacketName [09:22:27]name=ofd_packets/00052605 [09:22:27]NVStorageSaveData ofd_packets/00052605 [09:22:27]File name is /storage/ofd_packets/00052605 [09:22:27]Write 433 bytes [09:22:27]NVStorageSaveData done [09:22:27]OFDSenderStorePacket done [09:22:27]KKMCreateOFDPacket done [09:22:27]NVStorageSaveData kkm_last_timestamp [09:22:27]File name is /storage/kkm_last_timestamp [09:22:27]Write 4 bytes [09:22:27]NVStorageSaveData done [09:22:27]ExternCall_PrintAddStr [09:22:27]wPrintStart [09:22:27]Write to MH i2c: 01 00 00 78 0E 86 [09:22:27]Write i2c OK [09:22:28]MH_I2C_Read... [09:22:28]OFD Sender: Processing packet 52605 [packets to send 55, broken 54] [09:22:28]ProducePacketName [09:22:28]name=ofd_packets/00052605 [09:22:28]OFD Sender: To server: pG, [09:22:28]CommunicateWithHost lk.salyk.kg:30040 [09:22:28]ConnectInit lk.salyk.kg [09:22:28]Read from MH i2c: 01 [09:22:28]MH_I2C_Read... [09:22:28]Read from MH i2c: 01 07 00 [09:22:28]MH_I2C_Read... [09:22:28]Read from MH i2c: 01 07 00 78 0E 00 00 00 00 00 FF 0F 9B [09:22:28]RasterBufferAndPrint [09:22:28]line Счет N : (3)122736 [09:22:28]line ИНН: 02508201610067 [09:22:28]line Контрольно-Кассовый Чек [09:22:28]line ПРОДАЖА [09:22:28]line Товар: 4870001570071 [09:22:28]line Напиток Pepsi 1л [09:22:28]line 1.000 * 111.00 [09:22:28]line = 111.00 [09:22:28]line НДС 12% НСП 1% [09:22:28]line > о реализуемом товаре [09:22:28]line Товар: 2000053020015 [09:22:28]line Бумажные стаканы 250мл 1шт [09:22:28]line 1.000 * 7.00 [09:22:28]line = 7.00 [09:22:28]line НДС 12% НСП 1% [09:22:28]line > о реализуемом товаре [09:22:28]line ИТОГО: 118.00 [09:22:28]line НСП 1% : 1.04 [09:22:28]line НДС 12% : 12.53 [09:22:28]line Наличными: 0.00 [09:22:28]line Безнал.: 118.00 [09:22:28]line Место: АЗС № 54 "Партнер Нефть" [09:22:28]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [09:22:28]line СНО: Общий режим [09:22:28]line Чек 16 11.08.2024 09:22 [09:22:28]line Смена: 446 ФФД: 1.0 [09:22:28]line ЗНМ: 0300000007 [09:22:28]line РНМ: 0000000000090834 [09:22:28]line Версия ККМ: 001 [09:22:28]line Платежная система: Бакай Банк [09:22:28]line ФМ: 0000000000874715 [09:22:28]line ФД: 52605 [09:22:28]line ФПД: 207676132413537 [09:22:28]line /tax-web-control/client/api/v1/ticket?date=20240811T092229&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52605&fm=207676132413537&tin=02508201610067®Number=0000000000090834&sum=11800 [09:22:28]line 0 [09:22:28]written 0, free lines is 4095 [09:22:28]Connected sock=10 [09:22:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 93 01 00 00 94 A5 8B 01 25 A1 5A 03 01 00 03 00 7F 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 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 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 68 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 18 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 D5 82 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7D CD 00 00 35 04 06 00 BC E1 5E 19 D0 61 8E 32 7D 1F B3 62 09 00 [09:22:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 9A C8 47 00 F7 CB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7D CD 00 00 F4 03 04 00 70 2A B8 66 B6 04 01 00 00 47 F9 AC 13 D0 E7 6F E1 [09:22:28]CommunicateWithHost err = 0 [09:22:28]CheckOFDResponse [09:22:28]1017 (14) - 77093643461234 [09:22:28]1041 (16) - 0000000000874715 [09:22:28]1040 (4) - 52605 [09:22:28]1012 (4) - 11.08.2024 03:05 [09:22:28]1206 (1) - 0 [09:22:28]OFD Sender: Remove packet 52605 [09:22:28]ProducePacketName [09:22:28]name=ofd_packets/00052605 [09:22:28]NVStorageDeleteData [09:22:28]Write to MH i2c: 01 00 00 A8 0E B6 [09:22:28]Write i2c OK [09:22:28]MH_I2C_Read... [09:22:28]Read from MH i2c: 01 [09:22:28]MH_I2C_Read... [09:22:28]Read from MH i2c: 01 07 00 [09:22:28]MH_I2C_Read... [09:22:28]Read from MH i2c: 01 07 00 A8 0E 00 00 00 00 00 34 0C FD [09:22:28]RasterBufferAndPrint [09:22:28]line [09:22:28]line [09:22:28]line [09:22:28]line [09:22:28]line [09:22:28]written 0, free lines is 3132 [09:22:28]MH_Cut [09:22:28]Write to MH i2c: D1 01 00 AF 0E 01 8F [09:22:28]Write i2c OK [09:22:28]MH_I2C_Read... [09:22:28]Read from MH i2c: D1 [09:22:28]MH_I2C_Read... [09:22:28]Read from MH i2c: D1 01 00 [09:22:28]MH_I2C_Read... [09:22:28]Read from MH i2c: D1 01 00 AF 0E 00 8E [09:22:28]Write to MH i2c: 01 00 00 B0 0E BE [09:22:28]Write i2c OK [09:22:28]MH_I2C_Read... [09:22:29]OFD Sender: No OFD packet to send [09:22:29]*** Cut start [09:22:29]*** Purtial cut [09:22:29]*** Stage 1: CUTSNS_PIN = 1 [09:22:29]Read from MH i2c: 01 [09:22:29]MH_I2C_Read... [09:22:29]*** Stop cut motor [09:22:29]*** Cut end [09:22:29]Read from MH i2c: 01 07 00 [09:22:29]MH_I2C_Read... [09:22:29]Read from MH i2c: 01 07 00 B0 0E 00 00 00 00 00 FF 0F D3 [09:22:29]process_action close_receipt done [09:22:29]requested_data is exist [09:22:29]produce_requested_data [09:22:29]requested_item fm.sn is exist - process it [09:22:29]wFMCommunicate request_size=4 [09:22:29]MH_SAM_APDU [09:22:29]CAPDU: 80 11 00 00 [09:22:29]Write to MH i2c: E2 08 00 B1 0E 80 11 00 00 00 00 00 00 39 [09:22:29]Write i2c OK [09:22:29]MH_I2C_Read... [09:22:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:22:29]Read from MH i2c: E2 [09:22:29]MH_I2C_Read... [09:22:29]Read from MH i2c: E2 17 00 [09:22:29]MH_I2C_Read... [09:22:29]Read from MH i2c: E2 17 00 B1 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 8C [09:22:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [09:22:29]wFMCommunicate OK [09:22:29]requested_item fd.num is exist - process it [09:22:29]SAM_PROTO_GetFieldsCounters [09:22:29]wFMCommunicate request_size=4 [09:22:29]MH_SAM_APDU [09:22:29]CAPDU: 80 13 00 00 [09:22:29]Write to MH i2c: E2 08 00 B2 0E 80 13 00 00 00 00 00 00 3C [09:22:29]Write i2c OK [09:22:29]MH_I2C_Read... [09:22:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:22:30]Read from MH i2c: E2 [09:22:30]MH_I2C_Read... [09:22:30]Read from MH i2c: E2 62 00 [09:22:30]MH_I2C_Read... [09:22:30]Read from MH i2c: E2 62 00 B2 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 7D CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 95 [09:22: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 7D CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:22:30]wFMCommunicate OK [09:22:30]SAM_PROTO_GetFieldsCounters done [09:22:30]requested_item shift.num is exist - process it [09:22:30]requested_item shift.opened is exist - process it [09:22:30]req_shift_opened [09:22:30]FM_GetShiftState [09:22:30]SAM_PROTO_GetShiftState [09:22:30]wFMCommunicate request_size=4 [09:22:30]MH_SAM_APDU [09:22:30]CAPDU: 80 13 01 00 [09:22:30]Write to MH i2c: E2 08 00 B3 0E 80 13 01 00 00 00 00 00 3E [09:22:30]Write i2c OK [09:22:30]MH_I2C_Read... [09:22:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:22:30]Read from MH i2c: E2 [09:22:30]MH_I2C_Read... [09:22:30]Read from MH i2c: E2 0E 00 [09:22:30]MH_I2C_Read... [09:22:30]Read from MH i2c: E2 0E 00 B3 0E 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 67 [09:22:30]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [09:22:30]wFMCommunicate OK [09:22:30]SAM_PROTO_GetShiftState done [09:22:30]FM_GetShiftState done [09:22:30]req_shift_opened done [09:22:30]requested_item shift.open_date is exist - process it [09:22:30]req_shift_open_date [09:22:30]req_shift_open_date done [09:22:30]produce_requested_data done [09:22:30]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52605,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [09:22:30]process_action_free close_receipt [09:22:30]json_value_free [09:22:30]json_value_free done [09:22:30]process_json_proto returns [09:22:30]Send response to host [09:22:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52605,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [09:22:30]free response buf [09:22:30]execute_script done [09:22:30]execute_script returns [09:22:30]free content buf [09:22:30]Sock 8.Close socket [09:22:30]Sock 8.Thread stoped [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 [09:32:14]OFD Sender: No OFD packet to send [09:32:19]OFD Sender: No OFD packet to send [09:32:24]OFD Sender: No OFD packet to send [09:32:29]OFD Sender: No OFD packet to send [09:32:34]OFD Sender: No OFD packet to send [09:32:39]OFD Sender: No OFD packet to send [09:32:44]OFD Sender: No OFD packet to send [09:32:49]OFD Sender: No OFD packet to send [09:32:54]OFD Sender: No OFD packet to send [09:32:59]OFD Sender: No OFD packet to send [09:33:04]OFD Sender: No OFD packet to send [09:33:09]OFD Sender: No OFD packet to send [09:33:14]OFD Sender: No OFD packet to send [09:33:19]OFD Sender: No OFD packet to send [09:33:24]OFD Sender: No OFD packet to send [09:33:29]OFD Sender: No OFD packet to send [09:33:34]OFD Sender: No OFD packet to send [09:33:39]OFD Sender: No OFD packet to send [09:33:44]OFD Sender: No OFD packet to send [09:33:49]OFD Sender: No OFD packet to send [09:33:54]OFD Sender: No OFD packet to send [09:33:59]OFD Sender: No OFD packet to send [09:34:04]OFD Sender: No OFD packet to send [09:34:09]OFD Sender: No OFD packet to send [09:34:14]OFD Sender: No OFD packet to send [09:34:19]OFD Sender: No OFD packet to send [09:34:24]OFD Sender: No OFD packet to send [09:34:29]OFD Sender: No OFD packet to send [09:34:34]OFD Sender: No OFD packet to send [09:34:39]OFD Sender: No OFD packet to send [09:34:44]OFD Sender: No OFD packet to send [09:34:49]OFD Sender: No OFD packet to send [09:34:54]OFD Sender: No OFD packet to send [09:34:59]OFD Sender: No OFD packet to send [09:35:04]OFD Sender: No OFD packet to send [09:35:09]OFD Sender: No OFD packet to send [09:35:14]OFD Sender: No OFD packet to send [09:35:19]OFD Sender: No OFD packet to send [09:35:24]OFD Sender: No OFD packet to send [09:35:29]OFD Sender: No OFD packet to send [09:35:34]OFD Sender: No OFD packet to send [09:35:39]OFD Sender: No OFD packet to send [09:35:44]OFD Sender: No OFD packet to send [09:35:49]OFD Sender: No OFD packet to send [09:35:54]OFD Sender: No OFD packet to send [09:35:59]OFD Sender: No OFD packet to send [09:36:04]OFD Sender: No OFD packet to send [09:36:09]OFD Sender: No OFD packet to send [09:36:14]OFD Sender: No OFD packet to send [09:36:19]OFD Sender: No OFD packet to send [09:36:24]OFD Sender: No OFD packet to send [09:36:29]OFD Sender: No OFD packet to send [09:36:34]OFD Sender: No OFD packet to send [09:36:39]OFD Sender: No OFD packet to send [09:36:44]OFD Sender: No OFD packet to send [09:36:49]OFD Sender: No OFD packet to send [09:36:54]OFD Sender: No OFD packet to send [09:36:59]OFD Sender: No OFD packet to send [09:37:04]OFD Sender: No OFD packet to send [09:37:09]OFD Sender: No OFD packet to send [09:37:14]OFD Sender: No OFD packet to send [09:37:19]OFD Sender: No OFD packet to send [09:37:24]OFD Sender: No OFD packet to send [09:37:29]OFD Sender: No OFD packet to send [09:37:34]OFD Sender: No OFD packet to send [09:37:39]OFD Sender: No OFD packet to send [09:37:44]OFD Sender: No OFD packet to send [09:37:49]OFD Sender: No OFD packet to send [09:37:54]OFD Sender: No OFD packet to send [09:37:59]OFD Sender: No OFD packet to send [09:38:04]OFD Sender: No OFD packet to send [09:38:09]OFD Sender: No OFD packet to send [09:38:14]OFD Sender: No OFD packet to send [09:38:19]OFD Sender: No OFD packet to send [09:38:24]OFD Sender: No OFD packet to send [09:38:29]OFD Sender: No OFD packet to send [09:38:34]OFD Sender: No OFD packet to send [09:38:39]OFD Sender: No OFD packet to send [09:38:44]OFD Sender: No OFD packet to send [09:38:49]OFD Sender: No OFD packet to send [09:38:54]OFD Sender: No OFD packet to send [09:38:59]OFD Sender: No OFD packet to send [09:39:04]OFD Sender: No OFD packet to send [09:39:09]OFD Sender: No OFD packet to send [09:39:14]OFD Sender: No OFD packet to send [09:39:19]OFD Sender: No OFD packet to send [09:39:24]OFD Sender: No OFD packet to send [09:39:29]OFD Sender: No OFD packet to send [09:39:34]OFD Sender: No OFD packet to send [09:39:40]OFD Sender: No OFD packet to send [09:39:45]OFD Sender: No OFD packet to send [09:39:50]OFD Sender: No OFD packet to send [09:39:55]OFD Sender: No OFD packet to send [09:40:00]OFD Sender: No OFD packet to send [09:40:05]OFD Sender: No OFD packet to send [09:40:10]OFD Sender: No OFD packet to send [09:40:15]OFD Sender: No OFD packet to send [09:40:20]OFD Sender: No OFD packet to send [09:40:25]OFD Sender: No OFD packet to send [09:40:30]OFD Sender: No OFD packet to send [09:40:35]OFD Sender: No OFD packet to send [09:40:40]OFD Sender: No OFD packet to send [09:40:45]OFD Sender: No OFD packet to send [09:40:50]OFD Sender: No OFD packet to send [09:40:55]OFD Sender: No OFD packet to send [09:41:00]OFD Sender: No OFD packet to send [09:41:05]OFD Sender: No OFD packet to send [09:41:10]OFD Sender: No OFD packet to send [09:41:15]OFD Sender: No OFD packet to send [09:41:20]OFD Sender: No OFD packet to send [09:41:25]OFD Sender: No OFD packet to send [09:41:30]OFD Sender: No OFD packet to send [09:41:35]OFD Sender: No OFD packet to send [09:41:40]OFD Sender: No OFD packet to send [09:41:45]OFD Sender: No OFD packet to send [09:41:50]OFD Sender: No OFD packet to send [09:41:55]OFD Sender: No OFD packet to send [09:42:00]OFD Sender: No OFD packet to send [09:42:05]OFD Sender: No OFD packet to send [09:42:10]OFD Sender: No OFD packet to send [09:42:15]OFD Sender: No OFD packet to send [09:42:20]OFD Sender: No OFD packet to send [09:42:25]OFD Sender: No OFD packet to send [09:42:30]OFD Sender: No OFD packet to send [09:42:35]OFD Sender: No OFD packet to send [09:42:40]OFD Sender: No OFD packet to send [09:42:45]OFD Sender: No OFD packet to send [09:42:50]OFD Sender: No OFD packet to send [09:42:55]OFD Sender: No OFD packet to send [09:43:00]OFD Sender: No OFD packet to send [09:43:05]OFD Sender: No OFD packet to send [09:43:10]OFD Sender: No OFD packet to send [09:43:15]OFD Sender: No OFD packet to send [09:43:20]OFD Sender: No OFD packet to send [09:43:25]OFD Sender: No OFD packet to send [09:43:30]OFD Sender: No OFD packet to send [09:43:35]OFD Sender: No OFD packet to send [09:43:40]OFD Sender: No OFD packet to send [09:43:45]OFD Sender: No OFD packet to send [09:43:50]OFD Sender: No OFD packet to send [09:43:55]OFD Sender: No OFD packet to send [09:44:00]OFD Sender: No OFD packet to send [09:44:05]OFD Sender: No OFD packet to send [09:44:10]OFD Sender: No OFD packet to send [09:44:15]OFD Sender: No OFD packet to send [09:44:20]OFD Sender: No OFD packet to send [09:44:25]OFD Sender: No OFD packet to send [09:44:30]OFD Sender: No OFD packet to send [09:44:35]OFD Sender: No OFD packet to send [09:44:40]OFD Sender: No OFD packet to send [09:44:45]OFD Sender: No OFD packet to send [09:44:50]OFD Sender: No OFD packet to send [09:44:55]OFD Sender: No OFD packet to send [09:45:00]OFD Sender: No OFD packet to send [09:45:05]OFD Sender: No OFD packet to send [09:45:10]OFD Sender: No OFD packet to send [09:45:15]OFD Sender: No OFD packet to send [09:45:20]OFD Sender: No OFD packet to send [09:45:25]OFD Sender: No OFD packet to send [09:45:30]OFD Sender: No OFD packet to send [09:45:35]OFD Sender: No OFD packet to send [09:45:40]OFD Sender: No OFD packet to send [09:45:45]OFD Sender: No OFD packet to send [09:45:50]OFD Sender: No OFD packet to send [09:45:55]OFD Sender: No OFD packet to send [09:46:00]OFD Sender: No OFD packet to send [09:46:05]OFD Sender: No OFD packet to send [09:46:10]OFD Sender: No OFD packet to send [09:46:15]OFD Sender: No OFD packet to send [09:46:19]accept exits with 9 [09:46:19]New connection [09:46:19]New thread 3067395428 created [09:46:19]Thread 3067252068 joined [09:46:19]Waiting for new connection... [09:46:19] Sock 9.Parse request [09:46:19]Sock 9.Check first char [09:46:19]Sock 9.First char is OK [09:46:19]request: POST /json_proto HTTP/1.0 [09:46:19]Method: POST [09:46:19]URL: /json_proto [09:46:19]Method is POST - this is cgi request [09:46:19]url: /json_proto [09:46:19]query_string will be loaded in cgi processing [09:46:19]execute_cgi json_proto POST (null) [09:46:19]execute_cgi path=json_proto method=POST [09:46:19]POST find Content-Length [09:46:19]Host: 172.17.60.7:8080 [09:46:19]Content-Length: 1037 [09:46:19]Content-Type: application/json [09:46:19] [09:46:19]POST finish read [09:46:19]Found Content-Length = 1037 [09:46:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122737", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:46:19]execute_script... [09:46: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)122737", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:46:19]POST & json_proto [09:46:19]process_json_proto [09:46:19]json parsed OK: [09:46:19]protocol is kg_v1.0 [09:46:19]action value=close_receipt [09:46:19]process_action close_receipt [09:46:19]cmd_close_receipt [09:46:19]MH_GetDate [09:46:19]Write to MH i2c: F0 00 00 B4 0E B1 [09:46:19]Write i2c OK [09:46:19]MH_I2C_Read... [09:46:19]Read from MH i2c: F0 [09:46:19]MH_I2C_Read... [09:46:19]Read from MH i2c: F0 09 00 [09:46:19]MH_I2C_Read... [09:46:19]Read from MH i2c: F0 09 00 B4 0E 00 6F 88 B8 66 63 9B 67 64 98 [09:46:19]GetLastDocTimeStamp 1723368149 [09:46:19]current date 1723369583 [09:46:19]FM_GetShiftState [09:46:19]SAM_PROTO_GetShiftState [09:46:19]wFMCommunicate request_size=4 [09:46:19]MH_SAM_APDU [09:46:19]CAPDU: 80 13 01 00 [09:46:19]Write to MH i2c: E2 08 00 B5 0E 80 13 01 00 00 00 00 00 40 [09:46:19]Write i2c OK [09:46:19]MH_I2C_Read... [09:46:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:46:19]Read from MH i2c: E2 [09:46:19]MH_I2C_Read... [09:46:19]Read from MH i2c: E2 0E 00 [09:46:19]MH_I2C_Read... [09:46:19]Read from MH i2c: E2 0E 00 B5 0E 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 69 [09:46:19]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [09:46:19]wFMCommunicate OK [09:46:19]SAM_PROTO_GetShiftState done [09:46:19]FM_GetShiftState done [09:46:19]opened in 1723336186 [09:46:19]opened+sec_in_day 1723422586 [09:46:19]quantity*price = 6000 [09:46:19]sum+1 = 6001 [09:46:19]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46230614 Сигареты Richmond Red Edition 1.000 * 150.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 210.00 НСП 1% : 1.86 НДС 12% : 22.30 Наличными: 0.00 Безнал.: 210.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 17 11.08.2024 09:46 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52606 ФПД: 99335844120829 /tax-web-control/client/api/v1/ticket?date=20240811T094623&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52606&fm=99335844120829&tin=02508201610067®Number=0000000000090834&sum=21000 0 [09:46:21]StoreToDocumentArchive [09:46:21]shift 446 fd 52606 [09:46:21]save to /storage/0446/doc_00052606 [09:46:21]save last doc name /storage/0446/doc_00052606 to /storage/kkm_last_doc_name [09:46:21]save OK [09:46:21]Clear old archive folders... [09:46:21]ProcessDocumentItem done err = 0, tmpTLVsize=375 [09:46:21]tlvbuf is 010A89A0 [09:46:21]SAM_PROTO_ClearQueue [09:46:21]wFMCommunicate request_size=4 [09:46:21]MH_SAM_APDU [09:46:21]CAPDU: 80 09 00 00 [09:46:21]Write to MH i2c: E2 08 00 C2 0E 80 09 00 00 00 00 00 00 42 [09:46:21]Write i2c OK [09:46:21]MH_I2C_Read... [09:46:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:46:21]Read from MH i2c: E2 [09:46:21]MH_I2C_Read... [09:46:21]Read from MH i2c: E2 03 00 [09:46:21]MH_I2C_Read... [09:46:21]Read from MH i2c: E2 03 00 C2 0E 00 90 00 44 [09:46:21]RAPDU: 90 00 [09:46:21]wFMCommunicate OK [09:46:21]SAM_PROTO_ClearQueue done [09:46:21]KKMCreateOFDPacket [09:46:21]OFDProtocolAddRootSTLVToBuf [09:46:21]FM_MakeSignedData [09:46:21]FM_MakeSignedData [09:46:21]SAM_PROTO_SignData [09:46:21]wFMCommunicate request_size=4 [09:46:21]MH_SAM_APDU [09:46:21]CAPDU: 80 0D 01 02 [09:46:21]Write to MH i2c: E2 08 00 C3 0E 80 0D 01 02 00 00 00 00 4A [09:46:21]Write i2c OK [09:46:21]MH_I2C_Read... [09:46:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:46:21]Read from MH i2c: E2 [09:46:21]MH_I2C_Read... [09:46:21]Read from MH i2c: E2 03 00 [09:46:21]MH_I2C_Read... [09:46:21]Read from MH i2c: E2 03 00 C3 0E 00 90 00 45 [09:46:21]RAPDU: 90 00 [09:46:21]wFMCommunicate OK [09:46:21]wFMCommunicate request_size=255 [09:46:21]MH_SAM_APDU [09:46:21]CAPDU: 80 0D 02 02 FA 03 00 77 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F [09:46:21]Write to MH i2c: E2 02 01 C4 0E 80 0D 02 02 FA 00 03 00 77 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 00 61 [09:46:21]Write i2c OK [09:46:21]MH_I2C_Read... [09:46:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:46:21]Read from MH i2c: E2 [09:46:21]MH_I2C_Read... [09:46:21]Read from MH i2c: E2 03 00 [09:46:21]MH_I2C_Read... [09:46:21]Read from MH i2c: E2 03 00 C4 0E 00 90 00 46 [09:46:21]RAPDU: 90 00 [09:46:21]wFMCommunicate OK [09:46:21]wFMCommunicate request_size=134 [09:46:21]MH_SAM_APDU [09:46:21]CAPDU: 80 0D 02 02 81 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 6F 88 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7E CD 00 00 35 04 06 00 5A 58 6D B3 C8 FD [09:46:21]Write to MH i2c: E2 89 00 C5 0E 80 0D 02 02 81 00 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 6F 88 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7E CD 00 00 35 04 06 00 5A 58 6D B3 C8 FD 00 00 5A [09:46:21]Write i2c OK [09:46:21]MH_I2C_Read... [09:46:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:46:21]Read from MH i2c: E2 [09:46:21]MH_I2C_Read... [09:46:21]Read from MH i2c: E2 03 00 [09:46:21]MH_I2C_Read... [09:46:21]Read from MH i2c: E2 03 00 C5 0E 00 90 00 47 [09:46:21]RAPDU: 90 00 [09:46:21]wFMCommunicate OK [09:46:21]wFMCommunicate request_size=4 [09:46:21]MH_SAM_APDU [09:46:21]CAPDU: 80 0D 03 02 [09:46:21]Write to MH i2c: E2 08 00 C6 0E 80 0D 03 02 00 00 00 00 4F [09:46:21]Write i2c OK [09:46:21]MH_I2C_Read... [09:46:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:46:21]Read from MH i2c: E2 [09:46:21]MH_I2C_Read... [09:46:21]Read from MH i2c: E2 0B 00 [09:46:21]MH_I2C_Read... [09:46:21]Read from MH i2c: E2 0B 00 C6 0E 00 4B FB F7 AC 1B F9 D7 AD 90 00 D1 [09:46:21]RAPDU: 4B FB F7 AC 1B F9 D7 AD 90 00 [09:46:21]wFMCommunicate OK [09:46:21]SAM_PROTO_SignData done [09:46:21]FM_MakeSignedData done [09:46:21]CreateOFDProtocolMessage [09:46:21]wFMCommunicate request_size=4 [09:46:21]MH_SAM_APDU [09:46:21]CAPDU: 80 11 00 00 [09:46:21]Write to MH i2c: E2 08 00 C7 0E 80 11 00 00 00 00 00 00 4F [09:46:21]Write i2c OK [09:46:21]MH_I2C_Read... [09:46:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:46:21]Read from MH i2c: E2 [09:46:21]MH_I2C_Read... [09:46:21]Read from MH i2c: E2 17 00 [09:46:21]MH_I2C_Read... [09:46:21]Read from MH i2c: E2 17 00 C7 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 A2 [09:46:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [09:46:21]wFMCommunicate OK [09:46:21]CreateOFDProtocolMessage done [09:46:21]OFDSenderStorePacket 52606 [09:46:21]StoreOFDPacket docnum=52606 [09:46:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 8B 01 00 00 CF 97 83 01 72 74 5A 03 01 00 03 00 77 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 6F 88 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7E CD 00 00 35 04 06 00 5A 58 6D B3 C8 FD 4B FB F7 AC 1B F9 D7 AD [09:46:21]CheckFolder [09:46:21]dirname=/storage/ofd_packets [09:46:21]CheckFolder done [09:46:21]ProducePacketName [09:46:21]name=ofd_packets/00052606 [09:46:21]NVStorageSaveData ofd_packets/00052606 [09:46:21]File name is /storage/ofd_packets/00052606 [09:46:21]Write 425 bytes [09:46:21]NVStorageSaveData done [09:46:21]OFDSenderStorePacket done [09:46:21]KKMCreateOFDPacket done [09:46:21]NVStorageSaveData kkm_last_timestamp [09:46:21]File name is /storage/kkm_last_timestamp [09:46:21]Write 4 bytes [09:46:21]NVStorageSaveData done [09:46:21]ExternCall_PrintAddStr [09:46:21]wPrintStart [09:46:21]Write to MH i2c: 01 00 00 C8 0E D6 [09:46:22]Write i2c OK [09:46:22]MH_I2C_Read... [09:46:22]OFD Sender: Processing packet 52606 [packets to send 55, broken 54] [09:46:22]ProducePacketName [09:46:22]name=ofd_packets/00052606 [09:46:22]OFD Sender: To server: pG, [09:46:22]CommunicateWithHost lk.salyk.kg:30040 [09:46:22]ConnectInit lk.salyk.kg [09:46:22]Read from MH i2c: 01 [09:46:22]MH_I2C_Read... [09:46:22]Read from MH i2c: 01 07 00 [09:46:22]MH_I2C_Read... [09:46:22]Read from MH i2c: 01 07 00 C8 0E 00 00 00 00 00 FF 0F EB [09:46:22]RasterBufferAndPrint [09:46:22]line Счет N : (3)122737 [09:46:22]line ИНН: 02508201610067 [09:46:22]line Контрольно-Кассовый Чек [09:46:22]line ПРОДАЖА [09:46:22]line Товар: 4700000160204 [09:46:22]line Вода Легенда 1,5л [09:46:22]line 1.000 * 60.00 [09:46:22]line = 60.00 [09:46:22]line НДС 12% НСП 1% [09:46:22]line > о реализуемом товаре [09:46:22]line Товар: 46230614 [09:46:22]line Сигареты Richmond Red Edition [09:46:22]line 1.000 * 150.00 [09:46:22]line = 150.00 [09:46:22]line НДС 12% НСП 1% [09:46:22]line > о реализуемом товаре [09:46:22]line ИТОГО: 210.00 [09:46:22]line НСП 1% : 1.86 [09:46:22]line НДС 12% : 22.30 [09:46:22]line Наличными: 0.00 [09:46:22]line Безнал.: 210.00 [09:46:22]line Место: АЗС № 54 "Партнер Нефть" [09:46:22]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [09:46:22]line СНО: Общий режим [09:46:22]line Чек 17 11.08.2024 09:46 [09:46:22]line Смена: 446 ФФД: 1.0 [09:46:22]line ЗНМ: 0300000007 [09:46:22]line РНМ: 0000000000090834 [09:46:22]line Версия ККМ: 001 [09:46:22]line Платежная система: О! деньги [09:46:22]line ФМ: 0000000000874715 [09:46:22]line ФД: 52606 [09:46:22]line ФПД: 99335844120829 [09:46:22]line /tax-web-control/client/api/v1/ticket?date=20240811T094623&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52606&fm=99335844120829&tin=02508201610067®Number=0000000000090834&sum=21000 [09:46:22]line 0 [09:46:22]written 0, free lines is 4095 [09:46:22]Connected sock=8 [09:46:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 8B 01 00 00 CF 97 83 01 72 74 5A 03 01 00 03 00 77 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 52 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 6F 88 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7E CD 00 00 35 04 06 00 5A 58 6D B3 C8 FD 4B FB F7 AC 1B F9 D7 AD [09:46:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 DF D7 47 00 A1 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 34 37 31 35 10 04 04 00 7E CD 00 00 F4 03 04 00 0A 30 B8 66 B6 04 01 00 00 9B 57 58 17 5D CA 40 69 [09:46:22]CommunicateWithHost err = 0 [09:46:22]CheckOFDResponse [09:46:22]1017 (14) - 77093643461234 [09:46:22]1041 (16) - 0000000000874715 [09:46:22]1040 (4) - 52606 [09:46:22]1012 (4) - 11.08.2024 03:29 [09:46:22]1206 (1) - 0 [09:46:22]OFD Sender: Remove packet 52606 [09:46:22]ProducePacketName [09:46:22]name=ofd_packets/00052606 [09:46:22]NVStorageDeleteData [09:46:22]Write to MH i2c: 01 00 00 F8 0E 06 [09:46:22]Write i2c OK [09:46:22]MH_I2C_Read... [09:46:22]Read from MH i2c: 01 [09:46:22]MH_I2C_Read... [09:46:22]Read from MH i2c: 01 07 00 [09:46:22]MH_I2C_Read... [09:46:22]Read from MH i2c: 01 07 00 F8 0E 00 00 00 00 00 31 0C 4A [09:46:22]RasterBufferAndPrint [09:46:22]line [09:46:22]line [09:46:22]line [09:46:22]line [09:46:22]line [09:46:22]written 0, free lines is 3127 [09:46:22]MH_Cut [09:46:22]Write to MH i2c: D1 01 00 FF 0E 01 DF [09:46:22]Write i2c OK [09:46:22]MH_I2C_Read... [09:46:22]Read from MH i2c: D1 [09:46:22]MH_I2C_Read... [09:46:22]Read from MH i2c: D1 01 00 [09:46:22]MH_I2C_Read... [09:46:22]Read from MH i2c: D1 01 00 FF 0E 00 DE [09:46:22]Write to MH i2c: 01 00 00 00 0F 0F [09:46:22]Write i2c OK [09:46:22]MH_I2C_Read... [09:46:22]OFD Sender: No OFD packet to send [09:46:23]*** Cut start [09:46:23]*** Purtial cut [09:46:23]*** Stage 1: CUTSNS_PIN = 1 [09:46:23]Read from MH i2c: 01 [09:46:23]MH_I2C_Read... [09:46:23]*** Stop cut motor [09:46:23]*** Cut end [09:46:23]Read from MH i2c: 01 07 00 [09:46:23]MH_I2C_Read... [09:46:23]Read from MH i2c: 01 07 00 00 0F 00 00 00 00 00 FF 0F 24 [09:46:23]process_action close_receipt done [09:46:23]requested_data is exist [09:46:23]produce_requested_data [09:46:23]requested_item fm.sn is exist - process it [09:46:23]wFMCommunicate request_size=4 [09:46:23]MH_SAM_APDU [09:46:23]CAPDU: 80 11 00 00 [09:46:23]Write to MH i2c: E2 08 00 01 0F 80 11 00 00 00 00 00 00 8A [09:46:23]Write i2c OK [09:46:23]MH_I2C_Read... [09:46:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:46:23]Read from MH i2c: E2 [09:46:23]MH_I2C_Read... [09:46:23]Read from MH i2c: E2 17 00 [09:46:23]MH_I2C_Read... [09:46:23]Read from MH i2c: E2 17 00 01 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 DD [09:46:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [09:46:23]wFMCommunicate OK [09:46:23]requested_item fd.num is exist - process it [09:46:23]SAM_PROTO_GetFieldsCounters [09:46:23]wFMCommunicate request_size=4 [09:46:23]MH_SAM_APDU [09:46:23]CAPDU: 80 13 00 00 [09:46:23]Write to MH i2c: E2 08 00 02 0F 80 13 00 00 00 00 00 00 8D [09:46:23]Write i2c OK [09:46:23]MH_I2C_Read... [09:46:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:46:24]Read from MH i2c: E2 [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: E2 62 00 [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: E2 62 00 02 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 7E CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 EA [09:46:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 7E CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:46:24]wFMCommunicate OK [09:46:24]SAM_PROTO_GetFieldsCounters done [09:46:24]requested_item shift.num is exist - process it [09:46:24]requested_item shift.opened is exist - process it [09:46:24]req_shift_opened [09:46:24]FM_GetShiftState [09:46:24]SAM_PROTO_GetShiftState [09:46:24]wFMCommunicate request_size=4 [09:46:24]MH_SAM_APDU [09:46:24]CAPDU: 80 13 01 00 [09:46:24]Write to MH i2c: E2 08 00 03 0F 80 13 01 00 00 00 00 00 8F [09:46:24]Write i2c OK [09:46:24]MH_I2C_Read... [09:46:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:46:24]Read from MH i2c: E2 [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: E2 0E 00 [09:46:24]MH_I2C_Read... [09:46:24]Read from MH i2c: E2 0E 00 03 0F 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 B8 [09:46:24]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [09:46:24]wFMCommunicate OK [09:46:24]SAM_PROTO_GetShiftState done [09:46:24]FM_GetShiftState done [09:46:24]req_shift_opened done [09:46:24]requested_item shift.open_date is exist - process it [09:46:24]req_shift_open_date [09:46:24]req_shift_open_date done [09:46:24]produce_requested_data done [09:46:24]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52606,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [09:46:24]process_action_free close_receipt [09:46:24]json_value_free [09:46:24]json_value_free done [09:46:24]process_json_proto returns [09:46:24]Send response to host [09:46:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52606,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [09:46:24]free response buf [09:46:24]execute_script done [09:46:24]execute_script returns [09:46:24]free content buf [09:46:24]Sock 9.Close socket [09:46:24]Sock 9.Thread stoped [09:46:27]OFD Sender: No OFD packet to send [09:46:31]accept exits with 10 [09:46:31]New connection [09:46:31]New thread 3067252068 created [09:46:31]Thread 3067395428 joined [09:46:31]Waiting for new connection... [09:46:31] Sock 10.Parse request [09:46:31]Sock 10.Check first char [09:46:31]Sock 10.First char is OK [09:46:31]request: POST /json_proto HTTP/1.0 [09:46:31]Method: POST [09:46:31]URL: /json_proto [09:46:31]Method is POST - this is cgi request [09:46:31]url: /json_proto [09:46:31]query_string will be loaded in cgi processing [09:46:31]execute_cgi json_proto POST (null) [09:46:31]execute_cgi path=json_proto method=POST [09:46:31]POST find Content-Length [09:46:31]Host: 172.17.60.7:8080 [09:46:31]Content-Length: 810 [09:46:31]Content-Type: application/json [09:46:31] [09:46:31]POST finish read [09:46:31]Found Content-Length = 810 [09:46:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122738", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:46:31]execute_script... [09:46:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122738", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:46:31]POST & json_proto [09:46:31]process_json_proto [09:46:31]json parsed OK: [09:46:31]protocol is kg_v1.0 [09:46:31]action value=close_receipt [09:46:31]process_action close_receipt [09:46:31]cmd_close_receipt [09:46:31]MH_GetDate [09:46:31]Write to MH i2c: F0 00 00 04 0F 02 [09:46:31]Write i2c OK [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: F0 [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: F0 09 00 [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: F0 09 00 04 0F 00 7B 88 B8 66 63 9B 67 64 F5 [09:46:31]GetLastDocTimeStamp 1723369583 [09:46:31]current date 1723369595 [09:46:31]FM_GetShiftState [09:46:31]SAM_PROTO_GetShiftState [09:46:31]wFMCommunicate request_size=4 [09:46:31]MH_SAM_APDU [09:46:31]CAPDU: 80 13 01 00 [09:46:31]Write to MH i2c: E2 08 00 05 0F 80 13 01 00 00 00 00 00 91 [09:46:31]Write i2c OK [09:46:31]MH_I2C_Read... [09:46:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:46:31]Read from MH i2c: E2 [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: E2 0E 00 [09:46:31]MH_I2C_Read... [09:46:31]Read from MH i2c: E2 0E 00 05 0F 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 BA [09:46:31]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [09:46:31]wFMCommunicate OK [09:46:31]SAM_PROTO_GetShiftState done [09:46:31]FM_GetShiftState done [09:46:31]opened in 1723336186 [09:46:31]opened+sec_in_day 1723422586 [09:46:31]quantity*price = 11500 [09:46:31]sum+1 = 11501 [09:46:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 0.00 Безнал.: 115.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 18 11.08.2024 09:46 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52607 ФПД: 28367343921468 /tax-web-control/client/api/v1/ticket?date=20240811T094635&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52607&fm=28367343921468&tin=02508201610067®Number=0000000000090834&sum=11500 0 [09:46:32]StoreToDocumentArchive [09:46:32]shift 446 fd 52607 [09:46:32]save to /storage/0446/doc_00052607 [09:46:32]save last doc name /storage/0446/doc_00052607 to /storage/kkm_last_doc_name [09:46:32]save OK [09:46:32]Clear old archive folders... [09:46:32]ProcessDocumentItem done err = 0, tmpTLVsize=280 [09:46:32]tlvbuf is 01094320 [09:46:32]SAM_PROTO_ClearQueue [09:46:32]wFMCommunicate request_size=4 [09:46:32]MH_SAM_APDU [09:46:32]CAPDU: 80 09 00 00 [09:46:32]Write to MH i2c: E2 08 00 12 0F 80 09 00 00 00 00 00 00 93 [09:46:32]Write i2c OK [09:46:32]MH_I2C_Read... [09:46:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:46:32]Read from MH i2c: E2 [09:46:32]MH_I2C_Read... [09:46:32]Read from MH i2c: E2 03 00 [09:46:32]MH_I2C_Read... [09:46:32]Read from MH i2c: E2 03 00 12 0F 00 90 00 95 [09:46:32]RAPDU: 90 00 [09:46:32]wFMCommunicate OK [09:46:32]SAM_PROTO_ClearQueue done [09:46:32]KKMCreateOFDPacket [09:46:32]OFDProtocolAddRootSTLVToBuf [09:46:32]FM_MakeSignedData [09:46:32]FM_MakeSignedData [09:46:32]SAM_PROTO_SignData [09:46:32]wFMCommunicate request_size=4 [09:46:32]MH_SAM_APDU [09:46:32]CAPDU: 80 0D 01 02 [09:46:32]Write to MH i2c: E2 08 00 13 0F 80 0D 01 02 00 00 00 00 9B [09:46:32]Write i2c OK [09:46:32]MH_I2C_Read... [09:46:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:46:32]Read from MH i2c: E2 [09:46:32]MH_I2C_Read... [09:46:32]Read from MH i2c: E2 03 00 [09:46:32]MH_I2C_Read... [09:46:32]Read from MH i2c: E2 03 00 13 0F 00 90 00 96 [09:46:32]RAPDU: 90 00 [09:46:32]wFMCommunicate OK [09:46:32]wFMCommunicate request_size=255 [09:46:32]MH_SAM_APDU [09:46:32]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 7B 88 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 [09:46:32]Write to MH i2c: E2 02 01 14 0F 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 7B 88 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 00 00 CC [09:46:33]Write i2c OK [09:46:33]MH_I2C_Read... [09:46:33]OFD Sender: No OFD packet to send [09:46:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:46:33]Read from MH i2c: E2 [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: E2 03 00 [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: E2 03 00 14 0F 00 90 00 97 [09:46:33]RAPDU: 90 00 [09:46:33]wFMCommunicate OK [09:46:33]wFMCommunicate request_size=39 [09:46:33]MH_SAM_APDU [09:46:33]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7F CD 00 00 35 04 06 00 19 CC C9 75 29 3C [09:46:33]Write to MH i2c: E2 2A 00 15 0F 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7F CD 00 00 35 04 06 00 19 CC C9 75 29 3C 00 00 2D [09:46:33]Write i2c OK [09:46:33]MH_I2C_Read... [09:46:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:46:33]Read from MH i2c: E2 [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: E2 03 00 [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: E2 03 00 15 0F 00 90 00 98 [09:46:33]RAPDU: 90 00 [09:46:33]wFMCommunicate OK [09:46:33]wFMCommunicate request_size=4 [09:46:33]MH_SAM_APDU [09:46:33]CAPDU: 80 0D 03 02 [09:46:33]Write to MH i2c: E2 08 00 16 0F 80 0D 03 02 00 00 00 00 A0 [09:46:33]Write i2c OK [09:46:33]MH_I2C_Read... [09:46:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:46:33]Read from MH i2c: E2 [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: E2 0B 00 [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: E2 0B 00 16 0F 00 42 33 69 FE 4D 6B B6 58 90 00 43 [09:46:33]RAPDU: 42 33 69 FE 4D 6B B6 58 90 00 [09:46:33]wFMCommunicate OK [09:46:33]SAM_PROTO_SignData done [09:46:33]FM_MakeSignedData done [09:46:33]CreateOFDProtocolMessage [09:46:33]wFMCommunicate request_size=4 [09:46:33]MH_SAM_APDU [09:46:33]CAPDU: 80 11 00 00 [09:46:33]Write to MH i2c: E2 08 00 17 0F 80 11 00 00 00 00 00 00 A0 [09:46:33]Write i2c OK [09:46:33]MH_I2C_Read... [09:46:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:46:33]Read from MH i2c: E2 [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: E2 17 00 [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: E2 17 00 17 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 F3 [09:46:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [09:46:33]wFMCommunicate OK [09:46:33]CreateOFDProtocolMessage done [09:46:33]OFDSenderStorePacket 52607 [09:46:33]StoreOFDPacket docnum=52607 [09:46:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2C 01 00 00 29 61 24 01 58 DA 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 7B 88 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7F CD 00 00 35 04 06 00 19 CC C9 75 29 3C 42 33 69 FE 4D 6B B6 58 [09:46:33]CheckFolder [09:46:33]dirname=/storage/ofd_packets [09:46:33]CheckFolder done [09:46:33]ProducePacketName [09:46:33]name=ofd_packets/00052607 [09:46:33]NVStorageSaveData ofd_packets/00052607 [09:46:33]File name is /storage/ofd_packets/00052607 [09:46:33]Write 330 bytes [09:46:33]NVStorageSaveData done [09:46:33]OFDSenderStorePacket done [09:46:33]KKMCreateOFDPacket done [09:46:33]NVStorageSaveData kkm_last_timestamp [09:46:33]File name is /storage/kkm_last_timestamp [09:46:33]Write 4 bytes [09:46:33]NVStorageSaveData done [09:46:33]ExternCall_PrintAddStr [09:46:33]wPrintStart [09:46:33]Write to MH i2c: 01 00 00 18 0F 27 [09:46:33]Write i2c OK [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: 01 [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: 01 07 00 [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: 01 07 00 18 0F 00 00 00 00 00 FF 0F 3C [09:46:33]RasterBufferAndPrint [09:46:33]line Счет N : (3)122738 [09:46:33]line ИНН: 02508201610067 [09:46:33]line Контрольно-Кассовый Чек [09:46:33]line ПРОДАЖА [09:46:33]line Товар: 2000036210013 [09:46:33]line Кофе Капучино (GABB TRADE) [09:46:33]line 1.000 * 115.00 [09:46:33]line = 115.00 [09:46:33]line НДС 12% НСП 1% [09:46:33]line > о реализуемом товаре [09:46:33]line ИТОГО: 115.00 [09:46:33]line НСП 1% : 1.02 [09:46:33]line НДС 12% : 12.21 [09:46:33]line Наличными: 0.00 [09:46:33]line Безнал.: 115.00 [09:46:33]line Место: АЗС № 54 "Партнер Нефть" [09:46:33]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [09:46:33]line СНО: Общий режим [09:46:33]line Чек 18 11.08.2024 09:46 [09:46:33]line Смена: 446 ФФД: 1.0 [09:46:33]line ЗНМ: 0300000007 [09:46:33]line РНМ: 0000000000090834 [09:46:33]line Версия ККМ: 001 [09:46:33]line Платежная система: О! деньги [09:46:33]line ФМ: 0000000000874715 [09:46:33]line ФД: 52607 [09:46:33]line ФПД: 28367343921468 [09:46:33]line /tax-web-control/client/api/v1/ticket?date=20240811T094635&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52607&fm=28367343921468&tin=02508201610067®Number=0000000000090834&sum=11500 [09:46:33]line 0 [09:46:33]written 0, free lines is 4095 [09:46:33]OFD Sender: Processing packet 52607 [packets to send 55, broken 54] [09:46:33]ProducePacketName [09:46:33]name=ofd_packets/00052607 [09:46:33]OFD Sender: To server: pG, [09:46:33]CommunicateWithHost lk.salyk.kg:30040 [09:46:33]ConnectInit lk.salyk.kg [09:46:33]Connected sock=9 [09:46:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2C 01 00 00 29 61 24 01 58 DA 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 7B 88 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 7F CD 00 00 35 04 06 00 19 CC C9 75 29 3C 42 33 69 FE 4D 6B B6 58 [09:46:33]Write to MH i2c: 01 00 00 41 0F 50 [09:46:33]Write i2c OK [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: 01 [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: 01 07 00 [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: 01 07 00 41 0F 00 00 00 00 00 C7 0C 2A [09:46:33]RasterBufferAndPrint [09:46:33]line [09:46:33]line [09:46:33]line [09:46:33]line [09:46:33]line [09:46:33]written 0, free lines is 3281 [09:46:33]MH_Cut [09:46:33]Write to MH i2c: D1 01 00 48 0F 01 29 [09:46:33]Write i2c OK [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: D1 [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: D1 01 00 [09:46:33]MH_I2C_Read... [09:46:33]Read from MH i2c: D1 01 00 48 0F 00 28 [09:46:33]Write to MH i2c: 01 00 00 49 0F 58 [09:46:33]Write i2c OK [09:46:33]MH_I2C_Read... [09:46:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 A5 CB 47 00 0D 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 34 37 31 35 10 04 04 00 7F CD 00 00 F4 03 04 00 16 30 B8 66 B6 04 01 00 00 9A 2E E3 2B 85 D6 4F AD [09:46:34]CommunicateWithHost err = 0 [09:46:34]CheckOFDResponse [09:46:34]1017 (14) - 77093643461234 [09:46:34]1041 (16) - 0000000000874715 [09:46:34]1040 (4) - 52607 [09:46:34]1012 (4) - 11.08.2024 03:29 [09:46:34]1206 (1) - 0 [09:46:34]OFD Sender: Remove packet 52607 [09:46:34]ProducePacketName [09:46:34]name=ofd_packets/00052607 [09:46:34]NVStorageDeleteData [09:46:34]OFD Sender: No OFD packet to send [09:46:34]*** Cut start [09:46:34]*** Purtial cut [09:46:34]*** Stage 1: CUTSNS_PIN = 1 [09:46:35]Read from MH i2c: 01 [09:46:35]MH_I2C_Read... [09:46:35]*** Stop cut motor [09:46:35]*** Cut end [09:46:35]Read from MH i2c: 01 07 00 [09:46:35]MH_I2C_Read... [09:46:35]Read from MH i2c: 01 07 00 49 0F 00 00 00 00 00 FF 0F 6D [09:46:35]process_action close_receipt done [09:46:35]requested_data is exist [09:46:35]produce_requested_data [09:46:35]requested_item fm.sn is exist - process it [09:46:35]wFMCommunicate request_size=4 [09:46:35]MH_SAM_APDU [09:46:35]CAPDU: 80 11 00 00 [09:46:35]Write to MH i2c: E2 08 00 4A 0F 80 11 00 00 00 00 00 00 D3 [09:46:35]Write i2c OK [09:46:35]MH_I2C_Read... [09:46:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:46:35]Read from MH i2c: E2 [09:46:35]MH_I2C_Read... [09:46:35]Read from MH i2c: E2 17 00 [09:46:35]MH_I2C_Read... [09:46:35]Read from MH i2c: E2 17 00 4A 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 26 [09:46:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [09:46:35]wFMCommunicate OK [09:46:35]requested_item fd.num is exist - process it [09:46:35]SAM_PROTO_GetFieldsCounters [09:46:35]wFMCommunicate request_size=4 [09:46:35]MH_SAM_APDU [09:46:35]CAPDU: 80 13 00 00 [09:46:35]Write to MH i2c: E2 08 00 4B 0F 80 13 00 00 00 00 00 00 D6 [09:46:35]Write i2c OK [09:46:35]MH_I2C_Read... [09:46:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:46:35]Read from MH i2c: E2 [09:46:35]MH_I2C_Read... [09:46:35]Read from MH i2c: E2 62 00 [09:46:35]MH_I2C_Read... [09:46:35]Read from MH i2c: E2 62 00 4B 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 7F CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 37 [09:46:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 7F CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:46:35]wFMCommunicate OK [09:46:35]SAM_PROTO_GetFieldsCounters done [09:46:35]requested_item shift.num is exist - process it [09:46:35]requested_item shift.opened is exist - process it [09:46:35]req_shift_opened [09:46:35]FM_GetShiftState [09:46:35]SAM_PROTO_GetShiftState [09:46:35]wFMCommunicate request_size=4 [09:46:35]MH_SAM_APDU [09:46:35]CAPDU: 80 13 01 00 [09:46:35]Write to MH i2c: E2 08 00 4C 0F 80 13 01 00 00 00 00 00 D8 [09:46:35]Write i2c OK [09:46:35]MH_I2C_Read... [09:46:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:46:35]Read from MH i2c: E2 [09:46:35]MH_I2C_Read... [09:46:35]Read from MH i2c: E2 0E 00 [09:46:35]MH_I2C_Read... [09:46:35]Read from MH i2c: E2 0E 00 4C 0F 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 01 [09:46:35]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [09:46:35]wFMCommunicate OK [09:46:35]SAM_PROTO_GetShiftState done [09:46:35]FM_GetShiftState done [09:46:35]req_shift_opened done [09:46:35]requested_item shift.open_date is exist - process it [09:46:35]req_shift_open_date [09:46:35]req_shift_open_date done [09:46:35]produce_requested_data done [09:46:35]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52607,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [09:46:35]process_action_free close_receipt [09:46:35]json_value_free [09:46:35]json_value_free done [09:46:35]process_json_proto returns [09:46:35]Send response to host [09:46:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52607,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [09:46:35]free response buf [09:46:35]execute_script done [09:46:35]execute_script returns [09:46:35]free content buf [09:46:35]Sock 10.Close socket [09:46:35]Sock 10.Thread stoped [09:46:39]OFD Sender: No OFD packet to send [09:46:44]OFD Sender: No OFD packet to send [09:46:49]OFD Sender: No OFD packet to send [09:46:54]OFD Sender: No OFD packet to send [09:46:59]OFD Sender: No OFD packet to send [09:47:04]OFD Sender: No OFD packet to send [09:47:09]OFD Sender: No OFD packet to send [09:47:14]OFD Sender: No OFD packet to send [09:47:19]OFD Sender: No OFD packet to send [09:47:24]OFD Sender: No OFD packet to send [09:47:29]OFD Sender: No OFD packet to send [09:47:34]OFD Sender: No OFD packet to send [09:47:39]OFD Sender: No OFD packet to send [09:47:44]OFD Sender: No OFD packet to send [09:47:49]OFD Sender: No OFD packet to send [09:47:54]OFD Sender: No OFD packet to send [09:47:59]OFD Sender: No OFD packet to send [09:48:04]OFD Sender: No OFD packet to send [09:48:09]OFD Sender: No OFD packet to send [09:48:14]OFD Sender: No OFD packet to send [09:48:19]OFD Sender: No OFD packet to send [09:48:24]OFD Sender: No OFD packet to send [09:48:29]OFD Sender: No OFD packet to send [09:48:34]OFD Sender: No OFD packet to send [09:48:39]OFD Sender: No OFD packet to send [09:48:44]OFD Sender: No OFD packet to send [09:48:49]OFD Sender: No OFD packet to send [09:48:52]accept exits with 8 [09:48:52]New connection [09:48:52]New thread 3067395428 created [09:48:52]Thread 3067252068 joined [09:48:52]Waiting for new connection... [09:48:52] Sock 8.Parse request [09:48:52]Sock 8.Check first char [09:48:52]Sock 8.First char is OK [09:48:52]request: POST /json_proto HTTP/1.0 [09:48:52]Method: POST [09:48:52]URL: /json_proto [09:48:52]Method is POST - this is cgi request [09:48:52]url: /json_proto [09:48:52]query_string will be loaded in cgi processing [09:48:52]execute_cgi json_proto POST (null) [09:48:52]execute_cgi path=json_proto method=POST [09:48:52]POST find Content-Length [09:48:52]Host: 172.17.60.7:8080 [09:48:52]Content-Length: 1948 [09:48:52]Content-Type: application/json [09:48:52] [09:48:52]POST finish read [09:48:52]Found Content-Length = 1948 [09:48:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122739", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47000674", "name": "\u0421\u0435\u043D\u0434\u0432\u0438\u0447 Kav-Kev \u0431\u043E\u043B\u044C\u0448\u043E\u0439 \u0441 \u043A\u0435\u0442\u0447\u0443\u043F\u043E\u043C", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032710015", "name": "\u0421\u043E\u0447\u043D\u0438\u043A DC \u0442\u0432\u043E\u0440\u043E\u0433 75\u0433", "price" : 35.00, "quantity" : 2.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 620.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:48:52]execute_script... [09:48:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122739", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47000674", "name": "\u0421\u0435\u043D\u0434\u0432\u0438\u0447 Kav-Kev \u0431\u043E\u043B\u044C\u0448\u043E\u0439 \u0441 \u043A\u0435\u0442\u0447\u0443\u043F\u043E\u043C", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032710015", "name": "\u0421\u043E\u0447\u043D\u0438\u043A DC \u0442\u0432\u043E\u0440\u043E\u0433 75\u0433", "price" : 35.00, "quantity" : 2.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 620.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:48:52]POST & json_proto [09:48:52]process_json_proto [09:48:52]json parsed OK: [09:48:52]protocol is kg_v1.0 [09:48:52]action value=close_receipt [09:48:52]process_action close_receipt [09:48:52]cmd_close_receipt [09:48:52]MH_GetDate [09:48:52]Write to MH i2c: F0 00 00 4D 0F 4B [09:48:52]Write i2c OK [09:48:52]MH_I2C_Read... [09:48:52]Read from MH i2c: F0 [09:48:52]MH_I2C_Read... [09:48:52]Read from MH i2c: F0 09 00 [09:48:52]MH_I2C_Read... [09:48:52]Read from MH i2c: F0 09 00 4D 0F 00 08 89 B8 66 63 9B 67 64 CC [09:48:52]GetLastDocTimeStamp 1723369595 [09:48:52]current date 1723369736 [09:48:52]FM_GetShiftState [09:48:52]SAM_PROTO_GetShiftState [09:48:52]wFMCommunicate request_size=4 [09:48:52]MH_SAM_APDU [09:48:52]CAPDU: 80 13 01 00 [09:48:52]Write to MH i2c: E2 08 00 4E 0F 80 13 01 00 00 00 00 00 DA [09:48:52]Write i2c OK [09:48:52]MH_I2C_Read... [09:48:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:48:52]Read from MH i2c: E2 [09:48:52]MH_I2C_Read... [09:48:52]Read from MH i2c: E2 0E 00 [09:48:52]MH_I2C_Read... [09:48:52]Read from MH i2c: E2 0E 00 4E 0F 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 03 [09:48:52]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [09:48:52]wFMCommunicate OK [09:48:52]SAM_PROTO_GetShiftState done [09:48:52]FM_GetShiftState done [09:48:52]opened in 1723336186 [09:48:52]opened+sec_in_day 1723422586 [09:48:52]quantity*price = 8500 [09:48:52]sum+1 = 8501 [09:48:52]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189332 Холодный чай Fuse персик 1л 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 47000674 Сендвич Kav-Kev большой с кетчупом 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 2.000 * 130.00 = 260.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000032710015 Сочник DC творог 75г 2.000 * 35.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 620.00 НСП 1% : 5.48 НДС 12% : 65.84 Наличными: 0.00 Безнал.: 620.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 19 11.08.2024 09:48 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52608 ФПД: 47350105173543 /tax-web-control/client/api/v1/ticket?date=20240811T094856&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52608&fm=47350105173543&tin=02508201610067®Number=0000000000090834&sum=62000 0 [09:48:54]StoreToDocumentArchive [09:48:54]shift 446 fd 52608 [09:48:54]save to /storage/0446/doc_00052608 [09:48:54]save last doc name /storage/0446/doc_00052608 to /storage/kkm_last_doc_name [09:48:54]save OK [09:48:54]Clear old archive folders... [09:48:54]ProcessDocumentItem done err = 0, tmpTLVsize=752 [09:48:54]tlvbuf is 0109A7E0 [09:48:54]SAM_PROTO_ClearQueue [09:48:54]wFMCommunicate request_size=4 [09:48:54]MH_SAM_APDU [09:48:54]CAPDU: 80 09 00 00 [09:48:54]Write to MH i2c: E2 08 00 5B 0F 80 09 00 00 00 00 00 00 DC [09:48:54]Write i2c OK [09:48:54]MH_I2C_Read... [09:48:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:48:54]Read from MH i2c: E2 [09:48:54]MH_I2C_Read... [09:48:54]Read from MH i2c: E2 03 00 [09:48:54]MH_I2C_Read... [09:48:54]Read from MH i2c: E2 03 00 5B 0F 00 90 00 DE [09:48:54]RAPDU: 90 00 [09:48:54]wFMCommunicate OK [09:48:54]SAM_PROTO_ClearQueue done [09:48:54]KKMCreateOFDPacket [09:48:54]OFDProtocolAddRootSTLVToBuf [09:48:54]FM_MakeSignedData [09:48:54]FM_MakeSignedData [09:48:54]SAM_PROTO_SignData [09:48:54]wFMCommunicate request_size=4 [09:48:54]MH_SAM_APDU [09:48:54]CAPDU: 80 0D 01 02 [09:48:54]Write to MH i2c: E2 08 00 5C 0F 80 0D 01 02 00 00 00 00 E4 [09:48:54]Write i2c OK [09:48:54]MH_I2C_Read... [09:48:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:48:54]Read from MH i2c: E2 [09:48:54]MH_I2C_Read... [09:48:54]Read from MH i2c: E2 03 00 [09:48:54]MH_I2C_Read... [09:48:54]Read from MH i2c: E2 03 00 5C 0F 00 90 00 DF [09:48:54]RAPDU: 90 00 [09:48:54]wFMCommunicate OK [09:48:54]wFMCommunicate request_size=255 [09:48:54]MH_SAM_APDU [09:48:54]CAPDU: 80 0D 02 02 FA 03 00 F0 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 [09:48:54]Write to MH i2c: E2 02 01 5D 0F 80 0D 02 02 FA 00 03 00 F0 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 00 00 A2 [09:48:54]Write i2c OK [09:48:54]MH_I2C_Read... [09:48:54]OFD Sender: No OFD packet to send [09:48:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:48:54]Read from MH i2c: E2 [09:48:54]MH_I2C_Read... [09:48:54]Read from MH i2c: E2 03 00 [09:48:54]MH_I2C_Read... [09:48:54]Read from MH i2c: E2 03 00 5D 0F 00 90 00 E0 [09:48:54]RAPDU: 90 00 [09:48:54]wFMCommunicate OK [09:48:54]wFMCommunicate request_size=255 [09:48:54]MH_SAM_APDU [09:48:54]CAPDU: 80 0D 02 02 FA 23 04 78 00 8A 04 08 00 34 37 30 30 30 36 37 34 06 04 39 00 D0 A1 D0 B5 D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 4B 61 76 2D 4B 65 76 20 D0 B1 D0 BE D0 BB D1 8C D1 88 D0 BE D0 B9 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 65 00 8A 04 0D 00 32 30 30 30 30 33 [09:48:54]Write to MH i2c: E2 02 01 5E 0F 80 0D 02 02 FA 00 23 04 78 00 8A 04 08 00 34 37 30 30 30 36 37 34 06 04 39 00 D0 A1 D0 B5 D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 4B 61 76 2D 4B 65 76 20 D0 B1 D0 BE D0 BB D1 8C D1 88 D0 BE D0 B9 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 65 00 8A 04 0D 00 32 30 30 30 30 33 00 00 F0 [09:48:54]Write i2c OK [09:48:54]MH_I2C_Read... [09:48:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:48:55]Read from MH i2c: E2 [09:48:55]MH_I2C_Read... [09:48:55]Read from MH i2c: E2 03 00 [09:48:55]MH_I2C_Read... [09:48:55]Read from MH i2c: E2 03 00 5E 0F 00 90 00 E1 [09:48:55]RAPDU: 90 00 [09:48:55]wFMCommunicate OK [09:48:55]wFMCommunicate request_size=255 [09:48:55]MH_SAM_APDU [09:48:55]CAPDU: 80 0D 02 02 FA 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 F2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 19 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 F2 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 08 89 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 80 CD 00 00 35 04 06 00 [09:48:55]Write to MH i2c: E2 02 01 5F 0F 80 0D 02 02 FA 00 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 F2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 19 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 F2 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 08 89 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 80 CD 00 00 35 04 06 00 00 00 65 [09:48:55]Write i2c OK [09:48:55]MH_I2C_Read... [09:48:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:48:55]Read from MH i2c: E2 [09:48:55]MH_I2C_Read... [09:48:55]Read from MH i2c: E2 03 00 [09:48:55]MH_I2C_Read... [09:48:55]Read from MH i2c: E2 03 00 5F 0F 00 90 00 E2 [09:48:55]RAPDU: 90 00 [09:48:55]wFMCommunicate OK [09:48:55]wFMCommunicate request_size=11 [09:48:55]MH_SAM_APDU [09:48:55]CAPDU: 80 0D 02 02 06 2B 10 8E 32 EE 27 [09:48:55]Write to MH i2c: E2 0E 00 60 0F 80 0D 02 02 06 00 2B 10 8E 32 EE 27 00 00 05 [09:48:55]Write i2c OK [09:48:55]MH_I2C_Read... [09:48:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:48:55]Read from MH i2c: E2 [09:48:55]MH_I2C_Read... [09:48:55]Read from MH i2c: E2 03 00 [09:48:55]MH_I2C_Read... [09:48:55]Read from MH i2c: E2 03 00 60 0F 00 90 00 E3 [09:48:55]RAPDU: 90 00 [09:48:55]wFMCommunicate OK [09:48:55]wFMCommunicate request_size=4 [09:48:55]MH_SAM_APDU [09:48:55]CAPDU: 80 0D 03 02 [09:48:55]Write to MH i2c: E2 08 00 61 0F 80 0D 03 02 00 00 00 00 EB [09:48:55]Write i2c OK [09:48:55]MH_I2C_Read... [09:48:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:48:55]Read from MH i2c: E2 [09:48:55]MH_I2C_Read... [09:48:55]Read from MH i2c: E2 0B 00 [09:48:55]MH_I2C_Read... [09:48:55]Read from MH i2c: E2 0B 00 61 0F 00 FE C2 BB 0B C8 07 8D 2C 90 00 FA [09:48:55]RAPDU: FE C2 BB 0B C8 07 8D 2C 90 00 [09:48:55]wFMCommunicate OK [09:48:55]SAM_PROTO_SignData done [09:48:55]FM_MakeSignedData done [09:48:55]CreateOFDProtocolMessage [09:48:55]wFMCommunicate request_size=4 [09:48:55]MH_SAM_APDU [09:48:55]CAPDU: 80 11 00 00 [09:48:55]Write to MH i2c: E2 08 00 62 0F 80 11 00 00 00 00 00 00 EB [09:48:55]Write i2c OK [09:48:55]MH_I2C_Read... [09:48:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:48:55]Read from MH i2c: E2 [09:48:55]MH_I2C_Read... [09:48:55]Read from MH i2c: E2 17 00 [09:48:55]MH_I2C_Read... [09:48:55]Read from MH i2c: E2 17 00 62 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 3E [09:48:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [09:48:55]wFMCommunicate OK [09:48:55]CreateOFDProtocolMessage done [09:48:55]OFDSenderStorePacket 52608 [09:48:55]StoreOFDPacket docnum=52608 [09:48:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 04 03 00 00 40 2E FC 02 AB 79 5A 03 01 00 03 00 F0 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 78 00 8A 04 08 00 34 37 30 30 30 36 37 34 06 04 39 00 D0 A1 D0 B5 D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 4B 61 76 2D 4B 65 76 20 D0 B1 D0 BE D0 BB D1 8C D1 88 D0 BE D0 B9 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 F2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 19 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 F2 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 08 89 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 80 CD 00 00 35 04 06 00 2B 10 8E 32 EE 27 FE C2 BB 0B C8 07 8D 2C [09:48:55]CheckFolder [09:48:55]dirname=/storage/ofd_packets [09:48:55]CheckFolder done [09:48:55]ProducePacketName [09:48:55]name=ofd_packets/00052608 [09:48:55]NVStorageSaveData ofd_packets/00052608 [09:48:55]File name is /storage/ofd_packets/00052608 [09:48:55]Write 802 bytes [09:48:55]NVStorageSaveData done [09:48:55]OFDSenderStorePacket done [09:48:55]KKMCreateOFDPacket done [09:48:55]NVStorageSaveData kkm_last_timestamp [09:48:55]File name is /storage/kkm_last_timestamp [09:48:55]Write 4 bytes [09:48:55]NVStorageSaveData done [09:48:55]ExternCall_PrintAddStr [09:48:55]wPrintStart [09:48:55]Write to MH i2c: 01 00 00 63 0F 72 [09:48:55]Write i2c OK [09:48:55]MH_I2C_Read... [09:48:55]Read from MH i2c: 01 [09:48:55]MH_I2C_Read... [09:48:55]Read from MH i2c: 01 07 00 [09:48:55]MH_I2C_Read... [09:48:55]Read from MH i2c: 01 07 00 63 0F 00 00 00 00 00 FF 0F 87 [09:48:55]RasterBufferAndPrint [09:48:55]line Счет N : (3)122739 [09:48:55]line ИНН: 02508201610067 [09:48:55]line Контрольно-Кассовый Чек [09:48:55]line ПРОДАЖА [09:48:55]line Товар: 4600682557456 [09:48:55]line Напиток FLash up energy эн ж/б 0,5/0,45л [09:48:55]line 1.000 * 85.00 [09:48:55]line = 85.00 [09:48:55]line НДС 12% НСП 1% [09:48:55]line > о реализуемом товаре [09:48:55]line Товар: 5449000189332 [09:48:55]line Холодный чай Fuse персик 1л [09:48:55]line 1.000 * 120.00 [09:48:55]line = 120.00 [09:48:55]line НДС 12% НСП 1% [09:48:55]line > о реализуемом товаре [09:48:55]line Товар: 47000674 [09:48:55]line Сендвич Kav-Kev большой с кетчупом [09:48:55]line 1.000 * 85.00 [09:48:55]line = 85.00 [09:48:55]line НДС 12% НСП 1% [09:48:55]line > о реализуемом товаре [09:48:55]line Товар: 2000036220012 [09:48:55]line Кофе Капучино XL(GABB TRADE) [09:48:55]line 2.000 * 130.00 [09:48:55]line = 260.00 [09:48:55]line НДС 12% НСП 1% [09:48:55]line > о реализуемом товаре [09:48:55]line Товар: 2000032710015 [09:48:55]line Сочник DC творог 75г [09:48:55]line 2.000 * 35.00 [09:48:55]line = 70.00 [09:48:55]line НДС 12% НСП 1% [09:48:55]line > о реализуемом товаре [09:48:55]line ИТОГО: 620.00 [09:48:55]line НСП 1% : 5.48 [09:48:55]line НДС 12% : 65.84 [09:48:55]line Наличными: 0.00 [09:48:55]line Безнал.: 620.00 [09:48:55]line Место: АЗС № 54 "Партнер Нефть" [09:48:55]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [09:48:55]line СНО: Общий режим [09:48:55]line Чек 19 11.08.2024 09:48 [09:48:55]line Смена: 446 ФФД: 1.0 [09:48:55]line ЗНМ: 0300000007 [09:48:55]line РНМ: 0000000000090834 [09:48:55]line Версия ККМ: 001 [09:48:55]line Платежная система: О! деньги [09:48:55]line ФМ: 0000000000874715 [09:48:55]line ФД: 52608 [09:48:55]line ФПД: 47350105173543 [09:48:55]line /tax-web-control/client/api/v1/ticket?date=20240811T094856&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52608&fm=47350105173543&tin=02508201610067®Number=0000000000090834&sum=62000 [09:48:55]OFD Sender: Processing packet 52608 [packets to send 55, broken 54] [09:48:55]ProducePacketName [09:48:55]name=ofd_packets/00052608 [09:48:55]OFD Sender: To server: pG, [09:48:55]CommunicateWithHost lk.salyk.kg:30040 [09:48:55]ConnectInit lk.salyk.kg [09:48:55]line 0 [09:48:55]written 0, free lines is 4095 [09:48:55]Connected sock=10 [09:48:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 04 03 00 00 40 2E FC 02 AB 79 5A 03 01 00 03 00 F0 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 78 00 8A 04 08 00 34 37 30 30 30 36 37 34 06 04 39 00 D0 A1 D0 B5 D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 4B 61 76 2D 4B 65 76 20 D0 B1 D0 BE D0 BB D1 8C D1 88 D0 BE D0 B9 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 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 65 00 8A 04 0D 00 32 30 30 30 30 33 32 37 31 30 30 31 35 06 04 21 00 D0 A1 D0 BE D1 87 D0 BD D0 B8 D0 BA 20 44 43 20 D1 82 D0 B2 D0 BE D1 80 D0 BE D0 B3 20 37 35 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 F2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 19 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 F2 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 08 89 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 80 CD 00 00 35 04 06 00 2B 10 8E 32 EE 27 FE C2 BB 0B C8 07 8D 2C [09:48:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 06 C2 47 00 4B 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 34 37 31 35 10 04 04 00 80 CD 00 00 F4 03 04 00 A4 30 B8 66 B6 04 01 00 00 60 AE 11 ED 8C 46 2B 9D [09:48:56]CommunicateWithHost err = 0 [09:48:56]CheckOFDResponse [09:48:56]1017 (14) - 77093643461234 [09:48:56]1041 (16) - 0000000000874715 [09:48:56]1040 (4) - 52608 [09:48:56]1012 (4) - 11.08.2024 03:31 [09:48:56]1206 (1) - 0 [09:48:56]OFD Sender: Remove packet 52608 [09:48:56]ProducePacketName [09:48:56]name=ofd_packets/00052608 [09:48:56]NVStorageDeleteData [09:48:56]Write to MH i2c: 01 00 00 A7 0F B6 [09:48:56]Write i2c OK [09:48:56]MH_I2C_Read... [09:48:56]Read from MH i2c: 01 [09:48:56]MH_I2C_Read... [09:48:56]Read from MH i2c: 01 07 00 [09:48:56]MH_I2C_Read... [09:48:56]Read from MH i2c: 01 07 00 A7 0F 00 00 00 00 00 0B 0B D3 [09:48:56]RasterBufferAndPrint [09:48:56]line [09:48:56]line [09:48:56]line [09:48:56]line [09:48:56]line [09:48:56]written 0, free lines is 2833 [09:48:56]MH_Cut [09:48:56]Write to MH i2c: D1 01 00 AE 0F 01 8F [09:48:56]Write i2c OK [09:48:56]MH_I2C_Read... [09:48:56]Read from MH i2c: D1 [09:48:56]MH_I2C_Read... [09:48:56]Read from MH i2c: D1 01 00 [09:48:56]MH_I2C_Read... [09:48:56]Read from MH i2c: D1 01 00 AE 0F 00 8E [09:48:56]Write to MH i2c: 01 00 00 AF 0F BE [09:48:56]Write i2c OK [09:48:56]MH_I2C_Read... [09:48:56]OFD Sender: No OFD packet to send [09:48:57]*** Cut start [09:48:57]*** Purtial cut [09:48:57]*** Stage 1: CUTSNS_PIN = 1 [09:48:58]Read from MH i2c: 01 [09:48:58]MH_I2C_Read... [09:48:58]*** Stop cut motor [09:48:58]*** Cut end [09:48:58]Read from MH i2c: 01 07 00 [09:48:58]MH_I2C_Read... [09:48:58]Read from MH i2c: 01 07 00 AF 0F 00 00 00 00 00 FF 0F D3 [09:48:58]process_action close_receipt done [09:48:58]requested_data is exist [09:48:58]produce_requested_data [09:48:58]requested_item fm.sn is exist - process it [09:48:58]wFMCommunicate request_size=4 [09:48:58]MH_SAM_APDU [09:48:58]CAPDU: 80 11 00 00 [09:48:58]Write to MH i2c: E2 08 00 B0 0F 80 11 00 00 00 00 00 00 39 [09:48:58]Write i2c OK [09:48:58]MH_I2C_Read... [09:48:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:48:58]Read from MH i2c: E2 [09:48:58]MH_I2C_Read... [09:48:58]Read from MH i2c: E2 17 00 [09:48:58]MH_I2C_Read... [09:48:58]Read from MH i2c: E2 17 00 B0 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 8C [09:48:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [09:48:58]wFMCommunicate OK [09:48:58]requested_item fd.num is exist - process it [09:48:58]SAM_PROTO_GetFieldsCounters [09:48:58]wFMCommunicate request_size=4 [09:48:58]MH_SAM_APDU [09:48:58]CAPDU: 80 13 00 00 [09:48:58]Write to MH i2c: E2 08 00 B1 0F 80 13 00 00 00 00 00 00 3C [09:48:58]Write i2c OK [09:48:58]MH_I2C_Read... [09:48:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:48:58]Read from MH i2c: E2 [09:48:58]MH_I2C_Read... [09:48:58]Read from MH i2c: E2 62 00 [09:48:58]MH_I2C_Read... [09:48:58]Read from MH i2c: E2 62 00 B1 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 80 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 A1 [09:48: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 80 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:48:58]wFMCommunicate OK [09:48:58]SAM_PROTO_GetFieldsCounters done [09:48:58]requested_item shift.num is exist - process it [09:48:58]requested_item shift.opened is exist - process it [09:48:58]req_shift_opened [09:48:58]FM_GetShiftState [09:48:58]SAM_PROTO_GetShiftState [09:48:58]wFMCommunicate request_size=4 [09:48:58]MH_SAM_APDU [09:48:58]CAPDU: 80 13 01 00 [09:48:58]Write to MH i2c: E2 08 00 B2 0F 80 13 01 00 00 00 00 00 3E [09:48:58]Write i2c OK [09:48:58]MH_I2C_Read... [09:48:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:48:58]Read from MH i2c: E2 [09:48:58]MH_I2C_Read... [09:48:58]Read from MH i2c: E2 0E 00 [09:48:58]MH_I2C_Read... [09:48:58]Read from MH i2c: E2 0E 00 B2 0F 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 67 [09:48:58]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [09:48:58]wFMCommunicate OK [09:48:58]SAM_PROTO_GetShiftState done [09:48:58]FM_GetShiftState done [09:48:58]req_shift_opened done [09:48:58]requested_item shift.open_date is exist - process it [09:48:58]req_shift_open_date [09:48:58]req_shift_open_date done [09:48:58]produce_requested_data done [09:48:58]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52608,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [09:48:58]process_action_free close_receipt [09:48:58]json_value_free [09:48:58]json_value_free done [09:48:58]process_json_proto returns [09:48:58]Send response to host [09:48:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52608,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [09:48:58]free response buf [09:48:58]execute_script done [09:48:58]execute_script returns [09:48:58]free content buf [09:48:58]Sock 8.Close socket [09:48:58]Sock 8.Thread stoped [09:49:01]OFD Sender: No OFD packet to send [09:49:06]OFD Sender: No OFD packet to send [09:49:11]OFD Sender: No OFD packet to send [09:49:16]OFD Sender: No OFD packet to send [09:49:21]OFD Sender: No OFD packet to send [09:49:26]OFD Sender: No OFD packet to send [09:49:31]OFD Sender: No OFD packet to send [09:49:36]OFD Sender: No OFD packet to send [09:49:41]OFD Sender: No OFD packet to send [09:49:46]OFD Sender: No OFD packet to send [09:49:51]OFD Sender: No OFD packet to send [09:49:56]OFD Sender: No OFD packet to send [09:50:01]OFD Sender: No OFD packet to send [09:50:06]OFD Sender: No OFD packet to send [09:50:11]OFD Sender: No OFD packet to send [09:50:16]OFD Sender: No OFD packet to send [09:50:21]OFD Sender: No OFD packet to send [09:50:26]OFD Sender: No OFD packet to send [09:50:31]OFD Sender: No OFD packet to send [09:50:36]OFD Sender: No OFD packet to send [09:50:41]OFD Sender: No OFD packet to send [09:50:46]OFD Sender: No OFD packet to send [09:50:51]OFD Sender: No OFD packet to send [09:50:56]OFD Sender: No OFD packet to send [09:51:01]OFD Sender: No OFD packet to send [09:51:06]OFD Sender: No OFD packet to send [09:51:11]OFD Sender: No OFD packet to send [09:51:16]OFD Sender: No OFD packet to send [09:51:21]OFD Sender: No OFD packet to send [09:51:26]OFD Sender: No OFD packet to send [09:51:31]OFD Sender: No OFD packet to send [09:51:36]OFD Sender: No OFD packet to send [09:51:41]OFD Sender: No OFD packet to send [09:51:46]OFD Sender: No OFD packet to send [09:51:51]OFD Sender: No OFD packet to send [09:51:56]OFD Sender: No OFD packet to send [09:52:01]OFD Sender: No OFD packet to send [09:52:06]OFD Sender: No OFD packet to send [09:52:11]OFD Sender: No OFD packet to send [09:52:16]OFD Sender: No OFD packet to send [09:52:21]OFD Sender: No OFD packet to send [09:52:26]OFD Sender: No OFD packet to send [09:52:31]OFD Sender: No OFD packet to send [09:52:36]OFD Sender: No OFD packet to send [09:52:41]OFD Sender: No OFD packet to send [09:52:46]OFD Sender: No OFD packet to send [09:52:51]OFD Sender: No OFD packet to send [09:52:56]OFD Sender: No OFD packet to send [09:53:02]OFD Sender: No OFD packet to send [09:53:07]OFD Sender: No OFD packet to send [09:53:12]OFD Sender: No OFD packet to send [09:53:17]OFD Sender: No OFD packet to send [09:53:22]OFD Sender: No OFD packet to send [09:53:27]OFD Sender: No OFD packet to send [09:53:32]OFD Sender: No OFD packet to send [09:53:37]OFD Sender: No OFD packet to send [09:53:42]OFD Sender: No OFD packet to send [09:53:47]OFD Sender: No OFD packet to send [09:53:52]OFD Sender: No OFD packet to send [09:53:57]OFD Sender: No OFD packet to send [09:54:02]OFD Sender: No OFD packet to send [09:54:07]OFD Sender: No OFD packet to send [09:54:12]OFD Sender: No OFD packet to send [09:54:17]OFD Sender: No OFD packet to send [09:54:22]OFD Sender: No OFD packet to send [09:54:27]OFD Sender: No OFD packet to send [09:54:32]OFD Sender: No OFD packet to send [09:54:37]OFD Sender: No OFD packet to send [09:54:42]OFD Sender: No OFD packet to send [09:54:47]OFD Sender: No OFD packet to send [09:54:52]OFD Sender: No OFD packet to send [09:54:57]OFD Sender: No OFD packet to send [09:55:02]OFD Sender: No OFD packet to send [09:55:07]OFD Sender: No OFD packet to send [09:55:12]OFD Sender: No OFD packet to send [09:55:17]OFD Sender: No OFD packet to send [09:55:22]OFD Sender: No OFD packet to send [09:55:27]OFD Sender: No OFD packet to send [09:55:32]OFD Sender: No OFD packet to send [09:55:37]OFD Sender: No OFD packet to send [09:55:42]OFD Sender: No OFD packet to send [09:55:47]OFD Sender: No OFD packet to send [09:55:52]OFD Sender: No OFD packet to send [09:55:57]OFD Sender: No OFD packet to send [09:56:02]OFD Sender: No OFD packet to send [09:56:07]OFD Sender: No OFD packet to send [09:56:12]OFD Sender: No OFD packet to send [09:56:17]OFD Sender: No OFD packet to send [09:56:22]OFD Sender: No OFD packet to send [09:56:27]OFD Sender: No OFD packet to send [09:56:32]OFD Sender: No OFD packet to send [09:56:37]OFD Sender: No OFD packet to send [09:56:42]OFD Sender: No OFD packet to send [09:56:47]OFD Sender: No OFD packet to send [09:56:52]OFD Sender: No OFD packet to send [09:56:57]OFD Sender: No OFD packet to send [09:57:02]OFD Sender: No OFD packet to send [09:57:07]OFD Sender: No OFD packet to send [09:57:12]OFD Sender: No OFD packet to send [09:57:17]OFD Sender: No OFD packet to send [09:57:22]OFD Sender: No OFD packet to send [09:57:27]OFD Sender: No OFD packet to send [09:57:32]OFD Sender: No OFD packet to send [09:57:37]OFD Sender: No OFD packet to send [09:57:42]OFD Sender: No OFD packet to send [09:57:47]OFD Sender: No OFD packet to send [09:57:52]OFD Sender: No OFD packet to send [09:57:57]OFD Sender: No OFD packet to send [09:58:02]OFD Sender: No OFD packet to send [09:58:07]OFD Sender: No OFD packet to send [09:58:12]OFD Sender: No OFD packet to send [09:58:17]OFD Sender: No OFD packet to send [09:58:22]OFD Sender: No OFD packet to send [09:58:27]OFD Sender: No OFD packet to send [09:58:32]OFD Sender: No OFD packet to send [09:58:37]OFD Sender: No OFD packet to send [09:58:42]OFD Sender: No OFD packet to send [09:58:47]OFD Sender: No OFD packet to send [09:58:52]OFD Sender: No OFD packet to send [09:58:57]OFD Sender: No OFD packet to send [09:59:02]OFD Sender: No OFD packet to send [09:59:07]OFD Sender: No OFD packet to send [09:59:12]OFD Sender: No OFD packet to send [09:59:17]OFD Sender: No OFD packet to send [09:59:22]OFD Sender: No OFD packet to send [09:59:27]OFD Sender: No OFD packet to send [09:59:32]OFD Sender: No OFD packet to send [09:59:37]OFD Sender: No OFD packet to send [09:59:42]OFD Sender: No OFD packet to send [09:59:47]OFD Sender: No OFD packet to send [09:59:52]OFD Sender: No OFD packet to send [09:59:57]OFD Sender: No OFD packet to send [10:00:02]OFD Sender: No OFD packet to send [10:00:07]OFD Sender: No OFD packet to send [10:00:12]OFD Sender: No OFD packet to send [10:00:17]OFD Sender: No OFD packet to send [10:00:22]OFD Sender: No OFD packet to send [10:00:27]OFD Sender: No OFD packet to send [10:00:32]OFD Sender: No OFD packet to send [10:00:37]OFD Sender: No OFD packet to send [10:00:42]OFD Sender: No OFD packet to send [10:00:47]OFD Sender: No OFD packet to send [10:00:52]OFD Sender: No OFD packet to send [10:00:57]OFD Sender: No OFD packet to send [10:01:02]OFD Sender: No OFD packet to send [10:01:07]OFD Sender: No OFD packet to send [10:01:12]OFD Sender: No OFD packet to send [10:01:17]OFD Sender: No OFD packet to send [10:01:22]OFD Sender: No OFD packet to send [10:01:27]OFD Sender: No OFD packet to send [10:01:32]OFD Sender: No OFD packet to send [10:01:37]OFD Sender: No OFD packet to send [10:01:42]OFD Sender: No OFD packet to send [10:01:47]OFD Sender: No OFD packet to send [10:01:52]OFD Sender: No OFD packet to send [10:01:57]OFD Sender: No OFD packet to send [10:02:02]OFD Sender: No OFD packet to send [10:02:07]OFD Sender: No OFD packet to send [10:02:12]OFD Sender: No OFD packet to send [10:02:17]OFD Sender: No OFD packet to send [10:02:22]OFD Sender: No OFD packet to send [10:02:27]OFD Sender: No OFD packet to send [10:02:32]OFD Sender: No OFD packet to send [10:02:37]OFD Sender: No OFD packet to send [10:02:42]OFD Sender: No OFD packet to send [10:02:47]OFD Sender: No OFD packet to send [10:02:52]OFD Sender: No OFD packet to send [10:02:57]OFD Sender: No OFD packet to send [10:03:02]OFD Sender: No OFD packet to send [10:03:07]OFD Sender: No OFD packet to send [10:03:12]OFD Sender: No OFD packet to send [10:03:17]OFD Sender: No OFD packet to send [10:03:22]OFD Sender: No OFD packet to send [10:03:27]OFD Sender: No OFD packet to send [10:03:32]OFD Sender: No OFD packet to send [10:03:37]OFD Sender: No OFD packet to send [10:03:42]OFD Sender: No OFD packet to send [10:03:47]OFD Sender: No OFD packet to send [10:03:52]OFD Sender: No OFD packet to send [10:03:57]OFD Sender: No OFD packet to send [10:04:02]OFD Sender: No OFD packet to send [10:04:07]OFD Sender: No OFD packet to send [10:04:12]OFD Sender: No OFD packet to send [10:04:17]OFD Sender: No OFD packet to send [10:04:22]OFD Sender: No OFD packet to send [10:04:27]OFD Sender: No OFD packet to send [10:04:32]OFD Sender: No OFD packet to send [10:04:37]OFD Sender: No OFD packet to send [10:04:42]OFD Sender: No OFD packet to send [10:04:47]OFD Sender: No OFD packet to send [10:04:52]OFD Sender: No OFD packet to send [10:04:57]OFD Sender: No OFD packet to send [10:05:02]OFD Sender: No OFD packet to send [10:05:07]OFD Sender: No OFD packet to send [10:05:12]OFD Sender: No OFD packet to send [10:05:17]OFD Sender: No OFD packet to send [10:05:22]OFD Sender: No OFD packet to send [10:05:27]OFD Sender: No OFD packet to send [10:05:32]OFD Sender: No OFD packet to send [10:05:37]OFD Sender: No OFD packet to send [10:05:42]OFD Sender: No OFD packet to send [10:05:47]OFD Sender: No OFD packet to send [10:05:52]OFD Sender: No OFD packet to send [10:05:57]OFD Sender: No OFD packet to send [10:06:02]OFD Sender: No OFD packet to send [10:06:07]OFD Sender: No OFD packet to send [10:06:12]OFD Sender: No OFD packet to send [10:06:17]OFD Sender: No OFD packet to send [10:06:22]OFD Sender: No OFD packet to send [10:06:27]OFD Sender: No OFD packet to send [10:06:32]OFD Sender: No OFD packet to send [10:06:37]OFD Sender: No OFD packet to send [10:06:42]OFD Sender: No OFD packet to send [10:06:47]OFD Sender: No OFD packet to send [10:06:52]OFD Sender: No OFD packet to send [10:06:57]OFD Sender: No OFD packet to send [10:07:02]OFD Sender: No OFD packet to send [10:07:07]OFD Sender: No OFD packet to send [10:07:12]OFD Sender: No OFD packet to send [10:07:17]OFD Sender: No OFD packet to send [10:07:22]OFD Sender: No OFD packet to send [10:07:27]OFD Sender: No OFD packet to send [10:07:32]OFD Sender: No OFD packet to send [10:07:37]OFD Sender: No OFD packet to send [10:07:42]OFD Sender: No OFD packet to send [10:07:47]OFD Sender: No OFD packet to send [10:07:52]OFD Sender: No OFD packet to send [10:07:57]OFD Sender: No OFD packet to send [10:08:02]OFD Sender: No OFD packet to send [10:08:07]OFD Sender: No OFD packet to send [10:08:12]OFD Sender: No OFD packet to send [10:08:17]OFD Sender: No OFD packet to send [10:08:22]OFD Sender: No OFD packet to send [10:08:27]OFD Sender: No OFD packet to send [10:08:32]OFD Sender: No OFD packet to send [10:08:37]OFD Sender: No OFD packet to send [10:08:42]OFD Sender: No OFD packet to send [10:08:47]OFD Sender: No OFD packet to send [10:08:52]OFD Sender: No OFD packet to send [10:08:57]OFD Sender: No OFD packet to send [10:09:02]OFD Sender: No OFD packet to send [10:09:07]OFD Sender: No OFD packet to send [10:09:12]OFD Sender: No OFD packet to send [10:09:17]OFD Sender: No OFD packet to send [10:09:22]OFD Sender: No OFD packet to send [10:09:27]OFD Sender: No OFD packet to send [10:09:32]OFD Sender: No OFD packet to send [10:09:37]OFD Sender: No OFD packet to send [10:09:42]OFD Sender: No OFD packet to send [10:09:47]OFD Sender: No OFD packet to send [10:09:52]OFD Sender: No OFD packet to send [10:09:57]OFD Sender: No OFD packet to send [10:10:02]OFD Sender: No OFD packet to send [10:10:07]OFD Sender: No OFD packet to send [10:10:12]OFD Sender: No OFD packet to send [10:10:17]OFD Sender: No OFD packet to send [10:10:22]OFD Sender: No OFD packet to send [10:10:27]OFD Sender: No OFD packet to send [10:10:32]OFD Sender: No OFD packet to send [10:10:37]OFD Sender: No OFD packet to send [10:10:42]OFD Sender: No OFD packet to send [10:10:47]OFD Sender: No OFD packet to send [10:10:52]OFD Sender: No OFD packet to send [10:10:57]OFD Sender: No OFD packet to send [10:11:02]OFD Sender: No OFD packet to send [10:11:08]OFD Sender: No OFD packet to send [10:11:13]OFD Sender: No OFD packet to send [10:11:18]OFD Sender: No OFD packet to send [10:11:23]OFD Sender: No OFD packet to send [10:11:28]OFD Sender: No OFD packet to send [10:11:33]OFD Sender: No OFD packet to send [10:11:38]OFD Sender: No OFD packet to send [10:11:43]OFD Sender: No OFD packet to send [10:11:48]OFD Sender: No OFD packet to send [10:11:52]accept exits with 9 [10:11:52]New connection [10:11:52]New thread 3067252068 created [10:11:52]Thread 3067395428 joined [10:11:52]Waiting for new connection... [10:11:52] Sock 9.Parse request [10:11:52]Sock 9.Check first char [10:11:52]Sock 9.First char is OK [10:11:52]request: POST /json_proto HTTP/1.0 [10:11:52]Method: POST [10:11:52]URL: /json_proto [10:11:52]Method is POST - this is cgi request [10:11:52]url: /json_proto [10:11:52]query_string will be loaded in cgi processing [10:11:52]execute_cgi json_proto POST (null) [10:11:52]execute_cgi path=json_proto method=POST [10:11:52]POST find Content-Length [10:11:52]Host: 172.17.60.7:8080 [10:11:52]Content-Length: 1304 [10:11:52]Content-Type: application/json [10:11:52] [10:11:52]POST finish read [10:11:52]Found Content-Length = 1304 [10:11:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122740", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002768", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 Biskrem 100\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015235760", "name": "\u041F\u0435\u0447. \u0441\u0434. \u042F\u0448\u043A\u0438\u043D\u043E \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D 137\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 215.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:11:52]execute_script... [10:11:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122740", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002768", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 Biskrem 100\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015235760", "name": "\u041F\u0435\u0447. \u0441\u0434. \u042F\u0448\u043A\u0438\u043D\u043E \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D 137\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 215.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:11:52]POST & json_proto [10:11:52]process_json_proto [10:11:52]json parsed OK: [10:11:52]protocol is kg_v1.0 [10:11:52]action value=close_receipt [10:11:52]process_action close_receipt [10:11:52]cmd_close_receipt [10:11:52]MH_GetDate [10:11:52]Write to MH i2c: F0 00 00 B3 0F B1 [10:11:52]Write i2c OK [10:11:52]MH_I2C_Read... [10:11:52]Read from MH i2c: F0 [10:11:52]MH_I2C_Read... [10:11:52]Read from MH i2c: F0 09 00 [10:11:52]MH_I2C_Read... [10:11:52]Read from MH i2c: F0 09 00 B3 0F 00 6B 8E B8 66 63 9B 67 64 9A [10:11:52]GetLastDocTimeStamp 1723369736 [10:11:52]current date 1723371115 [10:11:52]FM_GetShiftState [10:11:52]SAM_PROTO_GetShiftState [10:11:52]wFMCommunicate request_size=4 [10:11:52]MH_SAM_APDU [10:11:52]CAPDU: 80 13 01 00 [10:11:52]Write to MH i2c: E2 08 00 B4 0F 80 13 01 00 00 00 00 00 40 [10:11:52]Write i2c OK [10:11:52]MH_I2C_Read... [10:11:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:11:52]Read from MH i2c: E2 [10:11:52]MH_I2C_Read... [10:11:52]Read from MH i2c: E2 0E 00 [10:11:52]MH_I2C_Read... [10:11:52]Read from MH i2c: E2 0E 00 B4 0F 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 69 [10:11:52]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:11:52]wFMCommunicate OK [10:11:52]SAM_PROTO_GetShiftState done [10:11:52]FM_GetShiftState done [10:11:52]opened in 1723336186 [10:11:52]opened+sec_in_day 1723422586 [10:11:52]quantity*price = 5500 [10:11:52]sum+1 = 5501 [10:11:52]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870112002768 Печенье Biskrem 100г 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607015235760 Печ. сд. Яшкино апельсин 137г 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 215.00 НСП 1% : 1.91 НДС 12% : 22.83 Наличными: 0.00 Безнал.: 215.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 20 11.08.2024 10:11 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52609 ФПД: 154678704250783 /tax-web-control/client/api/v1/ticket?date=20240811T101156&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52609&fm=154678704250783&tin=02508201610067®Number=0000000000090834&sum=21500 0 [10:11:53]StoreToDocumentArchive [10:11:53]shift 446 fd 52609 [10:11:53]save to /storage/0446/doc_00052609 [10:11:53]save last doc name /storage/0446/doc_00052609 to /storage/kkm_last_doc_name [10:11:53]save OK [10:11:53]Clear old archive folders... [10:11:53]ProcessDocumentItem done err = 0, tmpTLVsize=496 [10:11:53]tlvbuf is 010726F0 [10:11:53]SAM_PROTO_ClearQueue [10:11:53]wFMCommunicate request_size=4 [10:11:53]MH_SAM_APDU [10:11:53]CAPDU: 80 09 00 00 [10:11:53]Write to MH i2c: E2 08 00 C1 0F 80 09 00 00 00 00 00 00 42 [10:11:53]Write i2c OK [10:11:53]MH_I2C_Read... [10:11:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:11:53]Read from MH i2c: E2 [10:11:53]MH_I2C_Read... [10:11:53]Read from MH i2c: E2 03 00 [10:11:53]MH_I2C_Read... [10:11:53]Read from MH i2c: E2 03 00 C1 0F 00 90 00 44 [10:11:53]RAPDU: 90 00 [10:11:53]wFMCommunicate OK [10:11:53]SAM_PROTO_ClearQueue done [10:11:53]KKMCreateOFDPacket [10:11:53]OFDProtocolAddRootSTLVToBuf [10:11:53]FM_MakeSignedData [10:11:53]FM_MakeSignedData [10:11:53]SAM_PROTO_SignData [10:11:53]wFMCommunicate request_size=4 [10:11:53]MH_SAM_APDU [10:11:53]CAPDU: 80 0D 01 02 [10:11:53]Write to MH i2c: E2 08 00 C2 0F 80 0D 01 02 00 00 00 00 4A [10:11:53]Write i2c OK [10:11:53]MH_I2C_Read... [10:11:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:11:53]Read from MH i2c: E2 [10:11:53]MH_I2C_Read... [10:11:53]Read from MH i2c: E2 03 00 [10:11:53]MH_I2C_Read... [10:11:53]Read from MH i2c: E2 03 00 C2 0F 00 90 00 45 [10:11:53]RAPDU: 90 00 [10:11:53]wFMCommunicate OK [10:11:53]wFMCommunicate request_size=255 [10:11:53]MH_SAM_APDU [10:11:53]CAPDU: 80 0D 02 02 FA 03 00 F0 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 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 60 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 36 38 06 04 1C 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 42 69 73 6B 72 65 6D 20 31 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 36 30 06 04 31 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 [10:11:53]Write to MH i2c: E2 02 01 C3 0F 80 0D 02 02 FA 00 03 00 F0 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 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 60 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 36 38 06 04 1C 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 42 69 73 6B 72 65 6D 20 31 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 36 30 06 04 31 00 D0 9F D0 B5 D1 87 2E 20 D1 81 D0 00 00 2C [10:11:53]Write i2c OK [10:11:53]MH_I2C_Read... [10:11:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:11:53]Read from MH i2c: E2 [10:11:53]MH_I2C_Read... [10:11:53]Read from MH i2c: E2 03 00 [10:11:53]MH_I2C_Read... [10:11:53]Read from MH i2c: E2 03 00 C3 0F 00 90 00 46 [10:11:53]RAPDU: 90 00 [10:11:53]wFMCommunicate OK [10:11:53]wFMCommunicate request_size=255 [10:11:53]MH_SAM_APDU [10:11:53]CAPDU: 80 0D 02 02 FA B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 53 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 6C 8E B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 81 CD 00 00 35 04 06 00 8C AD F1 38 9F 9F [10:11:53]Write to MH i2c: E2 02 01 C4 0F 80 0D 02 02 FA 00 B4 2E 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 53 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 6C 8E B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 81 CD 00 00 35 04 06 00 8C AD F1 38 9F 9F 00 00 94 [10:11:54]Write i2c OK [10:11:54]MH_I2C_Read... [10:11:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:11:54]Read from MH i2c: E2 [10:11:54]MH_I2C_Read... [10:11:54]Read from MH i2c: E2 03 00 [10:11:54]MH_I2C_Read... [10:11:54]Read from MH i2c: E2 03 00 C4 0F 00 90 00 47 [10:11:54]RAPDU: 90 00 [10:11:54]wFMCommunicate OK [10:11:54]wFMCommunicate request_size=4 [10:11:54]MH_SAM_APDU [10:11:54]CAPDU: 80 0D 03 02 [10:11:54]Write to MH i2c: E2 08 00 C5 0F 80 0D 03 02 00 00 00 00 4F [10:11:54]Write i2c OK [10:11:54]MH_I2C_Read... [10:11:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:11:54]Read from MH i2c: E2 [10:11:54]MH_I2C_Read... [10:11:54]Read from MH i2c: E2 0B 00 [10:11:54]MH_I2C_Read... [10:11:54]Read from MH i2c: E2 0B 00 C5 0F 00 56 0C 95 86 74 D8 AA 5C 90 00 1F [10:11:54]RAPDU: 56 0C 95 86 74 D8 AA 5C 90 00 [10:11:54]wFMCommunicate OK [10:11:54]SAM_PROTO_SignData done [10:11:54]FM_MakeSignedData done [10:11:54]CreateOFDProtocolMessage [10:11:54]wFMCommunicate request_size=4 [10:11:54]MH_SAM_APDU [10:11:54]CAPDU: 80 11 00 00 [10:11:54]Write to MH i2c: E2 08 00 C6 0F 80 11 00 00 00 00 00 00 4F [10:11:54]Write i2c OK [10:11:54]MH_I2C_Read... [10:11:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:11:54]Read from MH i2c: E2 [10:11:54]MH_I2C_Read... [10:11:54]Read from MH i2c: E2 17 00 [10:11:54]MH_I2C_Read... [10:11:54]Read from MH i2c: E2 17 00 C6 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 A2 [10:11:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:11:54]wFMCommunicate OK [10:11:54]CreateOFDProtocolMessage done [10:11:54]OFDSenderStorePacket 52609 [10:11:54]StoreOFDPacket docnum=52609 [10:11:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 04 02 00 00 20 19 FC 01 D9 1A 5A 03 01 00 03 00 F0 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 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 60 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 36 38 06 04 1C 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 42 69 73 6B 72 65 6D 20 31 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 36 30 06 04 31 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 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 53 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 6C 8E B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 81 CD 00 00 35 04 06 00 8C AD F1 38 9F 9F 56 0C 95 86 74 D8 AA 5C [10:11:54]CheckFolder [10:11:54]dirname=/storage/ofd_packets [10:11:54]CheckFolder done [10:11:54]ProducePacketName [10:11:54]name=ofd_packets/00052609 [10:11:54]NVStorageSaveData ofd_packets/00052609 [10:11:54]File name is /storage/ofd_packets/00052609 [10:11:54]Write 546 bytes [10:11:54]NVStorageSaveData done [10:11:54]OFDSenderStorePacket done [10:11:54]KKMCreateOFDPacket done [10:11:54]NVStorageSaveData kkm_last_timestamp [10:11:54]File name is /storage/kkm_last_timestamp [10:11:54]Write 4 bytes [10:11:54]NVStorageSaveData done [10:11:54]ExternCall_PrintAddStr [10:11:54]wPrintStart [10:11:54]Write to MH i2c: 01 00 00 C7 0F D6 [10:11:54]Write i2c OK [10:11:54]MH_I2C_Read... [10:11:54]Read from MH i2c: 01 [10:11:54]MH_I2C_Read... [10:11:54]Read from MH i2c: 01 07 00 [10:11:54]MH_I2C_Read... [10:11:54]Read from MH i2c: 01 07 00 C7 0F 00 00 00 00 00 FF 0F EB [10:11:54]RasterBufferAndPrint [10:11:54]line Счет N : (3)122740 [10:11:54]line ИНН: 02508201610067 [10:11:54]line Контрольно-Кассовый Чек [10:11:54]line ПРОДАЖА [10:11:54]line Товар: 4870112003925 [10:11:54]line Конд ULKER-Albeni 40gr (6*24) [10:11:54]line 1.000 * 55.00 [10:11:54]line = 55.00 [10:11:54]line НДС 12% НСП 1% [10:11:54]line > о реализуемом товаре [10:11:54]line Товар: 4870112002768 [10:11:54]line Печенье Biskrem 100г [10:11:54]line 1.000 * 70.00 [10:11:54]line = 70.00 [10:11:54]line НДС 12% НСП 1% [10:11:54]line > о реализуемом товаре [10:11:54]line Товар: 4607015235760 [10:11:54]line Печ. сд. Яшкино апельсин 137г [10:11:54]line 1.000 * 90.00 [10:11:54]line = 90.00 [10:11:54]line НДС 12% НСП 1% [10:11:54]line > о реализуемом товаре [10:11:54]line ИТОГО: 215.00 [10:11:54]line НСП 1% : 1.91 [10:11:54]line НДС 12% : 22.83 [10:11:54]line Наличными: 0.00 [10:11:54]line Безнал.: 215.00 [10:11:54]line Место: АЗС № 54 "Партнер Нефть" [10:11:54]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [10:11:54]line СНО: Общий режим [10:11:54]line Чек 20 11.08.2024 10:11 [10:11:54]line Смена: 446 ФФД: 1.0 [10:11:54]line ЗНМ: 0300000007 [10:11:54]line РНМ: 0000000000090834 [10:11:54]line Версия ККМ: 001 [10:11:54]line Платежная система: О! деньги [10:11:54]line ФМ: 0000000000874715 [10:11:54]line ФД: 52609 [10:11:54]line ФПД: 154678704250783 [10:11:54]line /tax-web-control/client/api/v1/ticket?date=20240811T101156&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52609&fm=154678704250783&tin=02508201610067®Number=0000000000090834&sum=21500 [10:11:54]line 0 [10:11:54]written 0, free lines is 4095 [10:11:54]OFD Sender: Processing packet 52609 [packets to send 55, broken 54] [10:11:54]ProducePacketName [10:11:54]name=ofd_packets/00052609 [10:11:54]OFD Sender: To server: pG, [10:11:54]CommunicateWithHost lk.salyk.kg:30040 [10:11:54]ConnectInit lk.salyk.kg [10:11:54]Connected sock=10 [10:11:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 04 02 00 00 20 19 FC 01 D9 1A 5A 03 01 00 03 00 F0 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 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 60 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 36 38 06 04 1C 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 42 69 73 6B 72 65 6D 20 31 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 75 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 37 36 30 06 04 31 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 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 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 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 53 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 6C 8E B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 81 CD 00 00 35 04 06 00 8C AD F1 38 9F 9F 56 0C 95 86 74 D8 AA 5C [10:11:54]Write to MH i2c: 01 00 00 FC 0F 0B [10:11:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 B1 2C 47 00 70 EF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 81 CD 00 00 F4 03 04 00 07 36 B8 66 B6 04 01 00 00 AC C6 CA 09 31 11 8A E9 [10:11:54]CommunicateWithHost err = 0 [10:11:54]CheckOFDResponse [10:11:54]1017 (14) - 77093643461234 [10:11:54]1041 (16) - 0000000000874715 [10:11:54]1040 (4) - 52609 [10:11:54]1012 (4) - 11.08.2024 03:54 [10:11:54]1206 (1) - 0 [10:11:54]OFD Sender: Remove packet 52609 [10:11:54]ProducePacketName [10:11:54]name=ofd_packets/00052609 [10:11:54]NVStorageDeleteData [10:11:54]Write i2c OK [10:11:54]MH_I2C_Read... [10:11:54]Read from MH i2c: 01 [10:11:54]MH_I2C_Read... [10:11:54]Read from MH i2c: 01 07 00 [10:11:54]MH_I2C_Read... [10:11:54]Read from MH i2c: 01 07 00 FC 0F 00 00 00 00 00 FB 0B 18 [10:11:54]RasterBufferAndPrint [10:11:54]line [10:11:54]line [10:11:54]line [10:11:54]line [10:11:54]line [10:11:54]written 0, free lines is 3095 [10:11:55]MH_Cut [10:11:55]Write to MH i2c: D1 01 00 03 10 01 E5 [10:11:55]Write i2c OK [10:11:55]MH_I2C_Read... [10:11:55]Read from MH i2c: D1 [10:11:55]MH_I2C_Read... [10:11:55]Read from MH i2c: D1 01 00 [10:11:55]MH_I2C_Read... [10:11:55]Read from MH i2c: D1 01 00 03 10 00 E4 [10:11:55]Write to MH i2c: 01 00 00 04 10 14 [10:11:55]Write i2c OK [10:11:55]MH_I2C_Read... [10:11:55]OFD Sender: No OFD packet to send [10:11:56]*** Cut start [10:11:56]*** Purtial cut [10:11:56]*** Stage 1: CUTSNS_PIN = 1 [10:11:56]Read from MH i2c: 01 [10:11:56]MH_I2C_Read... [10:11:56]*** Stop cut motor [10:11:56]*** Cut end [10:11:56]Read from MH i2c: 01 07 00 [10:11:56]MH_I2C_Read... [10:11:56]Read from MH i2c: 01 07 00 04 10 00 00 00 00 00 FF 0F 29 [10:11:56]process_action close_receipt done [10:11:56]requested_data is exist [10:11:56]produce_requested_data [10:11:56]requested_item fm.sn is exist - process it [10:11:56]wFMCommunicate request_size=4 [10:11:56]MH_SAM_APDU [10:11:56]CAPDU: 80 11 00 00 [10:11:56]Write to MH i2c: E2 08 00 05 10 80 11 00 00 00 00 00 00 8F [10:11:56]Write i2c OK [10:11:56]MH_I2C_Read... [10:11:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:11:56]Read from MH i2c: E2 [10:11:56]MH_I2C_Read... [10:11:56]Read from MH i2c: E2 17 00 [10:11:56]MH_I2C_Read... [10:11:56]Read from MH i2c: E2 17 00 05 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 E2 [10:11:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:11:56]wFMCommunicate OK [10:11:56]requested_item fd.num is exist - process it [10:11:56]SAM_PROTO_GetFieldsCounters [10:11:56]wFMCommunicate request_size=4 [10:11:56]MH_SAM_APDU [10:11:56]CAPDU: 80 13 00 00 [10:11:56]Write to MH i2c: E2 08 00 06 10 80 13 00 00 00 00 00 00 92 [10:11:56]Write i2c OK [10:11:56]MH_I2C_Read... [10:11:56]Read from MH i2c: E2 [10:11:56]MH_I2C_Read... [10:11:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:11:56]Read from MH i2c: E2 62 00 [10:11:56]MH_I2C_Read... [10:11:56]Read from MH i2c: E2 62 00 06 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 81 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 FB [10:11: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 81 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:11:56]wFMCommunicate OK [10:11:56]SAM_PROTO_GetFieldsCounters done [10:11:56]requested_item shift.num is exist - process it [10:11:56]requested_item shift.opened is exist - process it [10:11:56]req_shift_opened [10:11:56]FM_GetShiftState [10:11:56]SAM_PROTO_GetShiftState [10:11:56]wFMCommunicate request_size=4 [10:11:56]MH_SAM_APDU [10:11:56]CAPDU: 80 13 01 00 [10:11:56]Write to MH i2c: E2 08 00 07 10 80 13 01 00 00 00 00 00 94 [10:11:56]Write i2c OK [10:11:56]MH_I2C_Read... [10:11:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:11:56]Read from MH i2c: E2 [10:11:56]MH_I2C_Read... [10:11:56]Read from MH i2c: E2 0E 00 [10:11:56]MH_I2C_Read... [10:11:56]Read from MH i2c: E2 0E 00 07 10 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 BD [10:11:56]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:11:56]wFMCommunicate OK [10:11:56]SAM_PROTO_GetShiftState done [10:11:56]FM_GetShiftState done [10:11:56]req_shift_opened done [10:11:56]requested_item shift.open_date is exist - process it [10:11:56]req_shift_open_date [10:11:56]req_shift_open_date done [10:11:56]produce_requested_data done [10:11:56]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52609,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [10:11:56]process_action_free close_receipt [10:11:56]json_value_free [10:11:56]json_value_free done [10:11:56]process_json_proto returns [10:11:56]Send response to host [10:11:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52609,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [10:11:56]free response buf [10:11:56]execute_script done [10:11:56]execute_script returns [10:11:56]free content buf [10:11:56]Sock 9.Close socket [10:11:56]Sock 9.Thread stoped [10:12:00]OFD Sender: No OFD packet to send [10:12:05]OFD Sender: No OFD packet to send [10:12:10]OFD Sender: No OFD packet to send [10:12:15]OFD Sender: No OFD packet to send [10:12:20]OFD Sender: No OFD packet to send [10:12:25]OFD Sender: No OFD packet to send [10:12:30]accept exits with 8 [10:12:30]New connection [10:12:30]New thread 3067395428 created [10:12:30]Thread 3067252068 joined [10:12:30]Waiting for new connection... [10:12:30] Sock 8.Parse request [10:12:30]Sock 8.Check first char [10:12:30]Sock 8.First char is OK [10:12:30]request: POST /json_proto HTTP/1.0 [10:12:30]Method: POST [10:12:30]URL: /json_proto [10:12:30]Method is POST - this is cgi request [10:12:30]url: /json_proto [10:12:30]query_string will be loaded in cgi processing [10:12:30]execute_cgi json_proto POST (null) [10:12:30]execute_cgi path=json_proto method=POST [10:12:30]POST find Content-Length [10:12:30]Host: 172.17.60.7:8080 [10:12:30]Content-Length: 1326 [10:12:30]Content-Type: application/json [10:12:30] [10:12:30]POST finish read [10:12:30]Found Content-Length = 1326 [10:12:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122741", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 345.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:12:30]execute_script... [10:12: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)122741", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 345.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:12:30]POST & json_proto [10:12:30]process_json_proto [10:12:30]json parsed OK: [10:12:30]protocol is kg_v1.0 [10:12:30]action value=close_receipt [10:12:30]process_action close_receipt [10:12:30]cmd_close_receipt [10:12:30]MH_GetDate [10:12:30]Write to MH i2c: F0 00 00 08 10 07 [10:12:30]Write i2c OK [10:12:30]MH_I2C_Read... [10:12:30]Read from MH i2c: F0 [10:12:30]MH_I2C_Read... [10:12:30]Read from MH i2c: F0 09 00 [10:12:30]MH_I2C_Read... [10:12:30]Read from MH i2c: F0 09 00 08 10 00 91 8E B8 66 63 9B 67 64 16 [10:12:30]GetLastDocTimeStamp 1723371116 [10:12:30]current date 1723371153 [10:12:30]FM_GetShiftState [10:12:30]SAM_PROTO_GetShiftState [10:12:30]wFMCommunicate request_size=4 [10:12:30]MH_SAM_APDU [10:12:30]CAPDU: 80 13 01 00 [10:12:30]Write to MH i2c: E2 08 00 09 10 80 13 01 00 00 00 00 00 96 [10:12:30]Write i2c OK [10:12:30]MH_I2C_Read... [10:12:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:12:30]Read from MH i2c: E2 [10:12:30]MH_I2C_Read... [10:12:30]Read from MH i2c: E2 0E 00 [10:12:30]MH_I2C_Read... [10:12:30]Read from MH i2c: E2 0E 00 09 10 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 BF [10:12:30]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:12:30]wFMCommunicate OK [10:12:30]SAM_PROTO_GetShiftState done [10:12:30]FM_GetShiftState done [10:12:30]opened in 1723336186 [10:12:30]opened+sec_in_day 1723422586 [10:12:30]quantity*price = 12500 [10:12:30]sum+1 = 12501 [10:12:30]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000034730018 Кофе Американо (GABB TRADE) 1.000 * 105.00 = 105.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036240010 Кофе Латте (GABB TRADE) 1.000 * 115.00 = 115.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 345.00 НСП 1% : 3.06 НДС 12% : 36.63 Наличными: 0.00 Безнал.: 345.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 21 11.08.2024 10:12 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52610 ФПД: 141708226159564 /tax-web-control/client/api/v1/ticket?date=20240811T101234&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52610&fm=141708226159564&tin=02508201610067®Number=0000000000090834&sum=34500 0 [10:12:31]StoreToDocumentArchive [10:12:31]shift 446 fd 52610 [10:12:31]save to /storage/0446/doc_00052610 [10:12:31]save last doc name /storage/0446/doc_00052610 to /storage/kkm_last_doc_name [10:12:31]save OK [10:12:31]Clear old archive folders... [10:12:31]ProcessDocumentItem done err = 0, tmpTLVsize=500 [10:12:31]tlvbuf is 01072760 [10:12:31]SAM_PROTO_ClearQueue [10:12:31]wFMCommunicate request_size=4 [10:12:31]MH_SAM_APDU [10:12:31]CAPDU: 80 09 00 00 [10:12:31]Write to MH i2c: E2 08 00 16 10 80 09 00 00 00 00 00 00 98 [10:12:31]Write i2c OK [10:12:31]MH_I2C_Read... [10:12:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:12:31]Read from MH i2c: E2 [10:12:31]MH_I2C_Read... [10:12:31]Read from MH i2c: E2 03 00 [10:12:31]MH_I2C_Read... [10:12:31]Read from MH i2c: E2 03 00 16 10 00 90 00 9A [10:12:31]RAPDU: 90 00 [10:12:31]wFMCommunicate OK [10:12:31]SAM_PROTO_ClearQueue done [10:12:31]KKMCreateOFDPacket [10:12:31]OFDProtocolAddRootSTLVToBuf [10:12:31]FM_MakeSignedData [10:12:31]FM_MakeSignedData [10:12:31]SAM_PROTO_SignData [10:12:31]wFMCommunicate request_size=4 [10:12:31]MH_SAM_APDU [10:12:31]CAPDU: 80 0D 01 02 [10:12:31]Write to MH i2c: E2 08 00 17 10 80 0D 01 02 00 00 00 00 A0 [10:12:31]Write i2c OK [10:12:31]MH_I2C_Read... [10:12:31]Read from MH i2c: E2 [10:12:31]MH_I2C_Read... [10:12:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:12:31]Read from MH i2c: E2 03 00 [10:12:31]MH_I2C_Read... [10:12:31]Read from MH i2c: E2 03 00 17 10 00 90 00 9B [10:12:31]RAPDU: 90 00 [10:12:31]wFMCommunicate OK [10:12:31]wFMCommunicate request_size=255 [10:12:31]MH_SAM_APDU [10:12:31]CAPDU: 80 0D 02 02 FA 03 00 F4 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 [10:12:31]Write to MH i2c: E2 02 01 18 10 80 0D 02 02 FA 00 03 00 F4 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 00 00 08 [10:12:31]Write i2c OK [10:12:31]MH_I2C_Read... [10:12:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:12:31]Read from MH i2c: E2 [10:12:31]MH_I2C_Read... [10:12:31]Read from MH i2c: E2 03 00 [10:12:31]MH_I2C_Read... [10:12:31]Read from MH i2c: E2 03 00 18 10 00 90 00 9C [10:12:31]RAPDU: 90 00 [10:12:31]wFMCommunicate OK [10:12:31]wFMCommunicate request_size=255 [10:12:31]MH_SAM_APDU [10:12:31]CAPDU: 80 0D 02 02 FA 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 32 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 86 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 92 8E B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 82 CD 00 00 35 04 06 00 80 E2 [10:12:31]Write to MH i2c: E2 02 01 19 10 80 0D 02 02 FA 00 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 32 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 86 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 92 8E B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 82 CD 00 00 35 04 06 00 80 E2 00 00 60 [10:12:31]Write i2c OK [10:12:31]MH_I2C_Read... [10:12:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:12:31]Read from MH i2c: E2 [10:12:31]MH_I2C_Read... [10:12:31]Read from MH i2c: E2 03 00 [10:12:31]MH_I2C_Read... [10:12:31]Read from MH i2c: E2 03 00 19 10 00 90 00 9D [10:12:31]RAPDU: 90 00 [10:12:31]wFMCommunicate OK [10:12:31]wFMCommunicate request_size=9 [10:12:31]MH_SAM_APDU [10:12:31]CAPDU: 80 0D 02 02 04 04 7B 63 CC [10:12:31]Write to MH i2c: E2 0C 00 1A 10 80 0D 02 02 04 00 04 7B 63 CC 00 00 5A [10:12:31]Write i2c OK [10:12:31]MH_I2C_Read... [10:12:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:12:31]Read from MH i2c: E2 [10:12:31]MH_I2C_Read... [10:12:32]Read from MH i2c: E2 03 00 [10:12:32]MH_I2C_Read... [10:12:32]Read from MH i2c: E2 03 00 1A 10 00 90 00 9E [10:12:32]RAPDU: 90 00 [10:12:32]wFMCommunicate OK [10:12:32]wFMCommunicate request_size=4 [10:12:32]MH_SAM_APDU [10:12:32]CAPDU: 80 0D 03 02 [10:12:32]Write to MH i2c: E2 08 00 1B 10 80 0D 03 02 00 00 00 00 A6 [10:12:32]Write i2c OK [10:12:32]MH_I2C_Read... [10:12:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:12:32]Read from MH i2c: E2 [10:12:32]MH_I2C_Read... [10:12:32]Read from MH i2c: E2 0B 00 [10:12:32]MH_I2C_Read... [10:12:32]Read from MH i2c: E2 0B 00 1B 10 00 70 AC 70 5E CD 7C 30 D1 90 00 DB [10:12:32]RAPDU: 70 AC 70 5E CD 7C 30 D1 90 00 [10:12:32]wFMCommunicate OK [10:12:32]SAM_PROTO_SignData done [10:12:32]FM_MakeSignedData done [10:12:32]CreateOFDProtocolMessage [10:12:32]wFMCommunicate request_size=4 [10:12:32]MH_SAM_APDU [10:12:32]CAPDU: 80 11 00 00 [10:12:32]Write to MH i2c: E2 08 00 1C 10 80 11 00 00 00 00 00 00 A6 [10:12:32]Write i2c OK [10:12:32]MH_I2C_Read... [10:12:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:12:32]Read from MH i2c: E2 [10:12:32]MH_I2C_Read... [10:12:32]Read from MH i2c: E2 17 00 [10:12:32]MH_I2C_Read... [10:12:32]Read from MH i2c: E2 17 00 1C 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 F9 [10:12:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:12:32]wFMCommunicate OK [10:12:32]CreateOFDProtocolMessage done [10:12:32]OFDSenderStorePacket 52610 [10:12:32]StoreOFDPacket docnum=52610 [10:12:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 08 02 00 00 07 91 00 02 E0 32 5A 03 01 00 03 00 F4 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 32 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 86 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 92 8E B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 82 CD 00 00 35 04 06 00 80 E2 04 7B 63 CC 70 AC 70 5E CD 7C 30 D1 [10:12:32]CheckFolder [10:12:32]dirname=/storage/ofd_packets [10:12:32]CheckFolder done [10:12:32]ProducePacketName [10:12:32]name=ofd_packets/00052610 [10:12:32]NVStorageSaveData ofd_packets/00052610 [10:12:32]File name is /storage/ofd_packets/00052610 [10:12:32]Write 550 bytes [10:12:32]NVStorageSaveData done [10:12:32]OFDSenderStorePacket done [10:12:32]KKMCreateOFDPacket done [10:12:32]NVStorageSaveData kkm_last_timestamp [10:12:32]File name is /storage/kkm_last_timestamp [10:12:32]Write 4 bytes [10:12:32]NVStorageSaveData done [10:12:32]ExternCall_PrintAddStr [10:12:32]wPrintStart [10:12:32]Write to MH i2c: 01 00 00 1D 10 2D [10:12:32]Write i2c OK [10:12:32]MH_I2C_Read... [10:12:32]Read from MH i2c: 01 [10:12:32]MH_I2C_Read... [10:12:32]Read from MH i2c: 01 07 00 [10:12:32]MH_I2C_Read... [10:12:32]Read from MH i2c: 01 07 00 1D 10 00 00 00 00 00 FF 0F 42 [10:12:32]RasterBufferAndPrint [10:12:32]line Счет N : (3)122741 [10:12:32]line ИНН: 02508201610067 [10:12:32]line Контрольно-Кассовый Чек [10:12:32]line ПРОДАЖА [10:12:32]line Товар: 2000036190018 [10:12:32]line Кофе Американо XL(GABB TRADE) [10:12:32]line 1.000 * 125.00 [10:12:32]line = 125.00 [10:12:32]line НДС 12% НСП 1% [10:12:32]line > о реализуемом товаре [10:12:32]line Товар: 2000034730018 [10:12:32]line Кофе Американо (GABB TRADE) [10:12:32]line 1.000 * 105.00 [10:12:32]line = 105.00 [10:12:32]line НДС 12% НСП 1% [10:12:32]line > о реализуемом товаре [10:12:32]line Товар: 2000036240010 [10:12:32]line Кофе Латте (GABB TRADE) [10:12:32]line 1.000 * 115.00 [10:12:32]line = 115.00 [10:12:32]line НДС 12% НСП 1% [10:12:32]line > о реализуемом товаре [10:12:32]line ИТОГО: 345.00 [10:12:32]line НСП 1% : 3.06 [10:12:32]line НДС 12% : 36.63 [10:12:32]line Наличными: 0.00 [10:12:32]line Безнал.: 345.00 [10:12:32]line Место: АЗС № 54 "Партнер Нефть" [10:12:32]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [10:12:32]line СНО: Общий режим [10:12:32]line Чек 21 11.08.2024 10:12 [10:12:32]line Смена: 446 ФФД: 1.0 [10:12:32]line ЗНМ: 0300000007 [10:12:32]line РНМ: 0000000000090834 [10:12:32]line Версия ККМ: 001 [10:12:32]line Платежная система: О! деньги [10:12:32]line ФМ: 0000000000874715 [10:12:32]line ФД: 52610 [10:12:32]line ФПД: 141708226159564 [10:12:32]line /tax-web-control/client/api/v1/ticket?date=20240811T101234&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52610&fm=141708226159564&tin=02508201610067®Number=0000000000090834&sum=34500 [10:12:32]line 0 [10:12:32]written 0, free lines is 4095 [10:12:32]OFD Sender: Processing packet 52610 [packets to send 55, broken 54] [10:12:32]ProducePacketName [10:12:32]name=ofd_packets/00052610 [10:12:32]OFD Sender: To server: pG, [10:12:32]CommunicateWithHost lk.salyk.kg:30040 [10:12:32]ConnectInit lk.salyk.kg [10:12:32]Connected sock=10 [10:12:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 08 02 00 00 07 91 00 02 E0 32 5A 03 01 00 03 00 F4 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 86 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 32 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 86 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 92 8E B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 82 CD 00 00 35 04 06 00 80 E2 04 7B 63 CC 70 AC 70 5E CD 7C 30 D1 [10:12:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 25 28 47 00 28 A3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 82 CD 00 00 F4 03 04 00 2D 36 B8 66 B6 04 01 00 00 0F 5F D9 51 AA E4 5A D4 [10:12:32]CommunicateWithHost err = 0 [10:12:32]CheckOFDResponse [10:12:32]1017 (14) - 77093643461234 [10:12:32]1041 (16) - 0000000000874715 [10:12:32]1040 (4) - 52610 [10:12:32]1012 (4) - 11.08.2024 03:55 [10:12:32]1206 (1) - 0 [10:12:32]OFD Sender: Remove packet 52610 [10:12:32]ProducePacketName [10:12:32]name=ofd_packets/00052610 [10:12:32]NVStorageDeleteData [10:12:32]Write to MH i2c: 01 00 00 54 10 64 [10:12:32]Write i2c OK [10:12:32]MH_I2C_Read... [10:12:32]Read from MH i2c: 01 [10:12:32]MH_I2C_Read... [10:12:32]Read from MH i2c: 01 07 00 [10:12:32]MH_I2C_Read... [10:12:32]Read from MH i2c: 01 07 00 54 10 00 00 00 00 00 E7 0B 5D [10:12:32]RasterBufferAndPrint [10:12:32]line [10:12:32]line [10:12:32]line [10:12:32]line [10:12:32]line [10:12:32]written 0, free lines is 3054 [10:12:32]MH_Cut [10:12:32]Write to MH i2c: D1 01 00 5B 10 01 3D [10:12:32]Write i2c OK [10:12:32]MH_I2C_Read... [10:12:32]Read from MH i2c: D1 [10:12:32]MH_I2C_Read... [10:12:32]Read from MH i2c: D1 01 00 [10:12:32]MH_I2C_Read... [10:12:32]Read from MH i2c: D1 01 00 5B 10 00 3C [10:12:32]Write to MH i2c: 01 00 00 5C 10 6C [10:12:32]Write i2c OK [10:12:32]MH_I2C_Read... [10:12:33]OFD Sender: No OFD packet to send [10:12:33]*** Cut start [10:12:33]*** Purtial cut [10:12:33]*** Stage 1: CUTSNS_PIN = 1 [10:12:34]Read from MH i2c: 01 [10:12:34]MH_I2C_Read... [10:12:34]*** Stop cut motor [10:12:34]*** Cut end [10:12:34]Read from MH i2c: 01 07 00 [10:12:34]MH_I2C_Read... [10:12:34]Read from MH i2c: 01 07 00 5C 10 00 00 00 00 00 FF 0F 81 [10:12:34]process_action close_receipt done [10:12:34]requested_data is exist [10:12:34]produce_requested_data [10:12:34]requested_item fm.sn is exist - process it [10:12:34]wFMCommunicate request_size=4 [10:12:34]MH_SAM_APDU [10:12:34]CAPDU: 80 11 00 00 [10:12:34]Write to MH i2c: E2 08 00 5D 10 80 11 00 00 00 00 00 00 E7 [10:12:34]Write i2c OK [10:12:34]MH_I2C_Read... [10:12:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:12:34]Read from MH i2c: E2 [10:12:34]MH_I2C_Read... [10:12:34]Read from MH i2c: E2 17 00 [10:12:34]MH_I2C_Read... [10:12:34]Read from MH i2c: E2 17 00 5D 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 3A [10:12:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:12:34]wFMCommunicate OK [10:12:34]requested_item fd.num is exist - process it [10:12:34]SAM_PROTO_GetFieldsCounters [10:12:34]wFMCommunicate request_size=4 [10:12:34]MH_SAM_APDU [10:12:34]CAPDU: 80 13 00 00 [10:12:34]Write to MH i2c: E2 08 00 5E 10 80 13 00 00 00 00 00 00 EA [10:12:34]Write i2c OK [10:12:34]MH_I2C_Read... [10:12:34]Read from MH i2c: E2 [10:12:34]MH_I2C_Read... [10:12:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:12:34]Read from MH i2c: E2 62 00 [10:12:34]MH_I2C_Read... [10:12:34]Read from MH i2c: E2 62 00 5E 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 82 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 57 [10:12: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 82 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:12:34]wFMCommunicate OK [10:12:34]SAM_PROTO_GetFieldsCounters done [10:12:34]requested_item shift.num is exist - process it [10:12:34]requested_item shift.opened is exist - process it [10:12:34]req_shift_opened [10:12:34]FM_GetShiftState [10:12:34]SAM_PROTO_GetShiftState [10:12:34]wFMCommunicate request_size=4 [10:12:34]MH_SAM_APDU [10:12:34]CAPDU: 80 13 01 00 [10:12:34]Write to MH i2c: E2 08 00 5F 10 80 13 01 00 00 00 00 00 EC [10:12:34]Write i2c OK [10:12:34]MH_I2C_Read... [10:12:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:12:34]Read from MH i2c: E2 [10:12:34]MH_I2C_Read... [10:12:34]Read from MH i2c: E2 0E 00 [10:12:34]MH_I2C_Read... [10:12:34]Read from MH i2c: E2 0E 00 5F 10 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 15 [10:12:34]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:12:34]wFMCommunicate OK [10:12:34]SAM_PROTO_GetShiftState done [10:12:34]FM_GetShiftState done [10:12:34]req_shift_opened done [10:12:34]requested_item shift.open_date is exist - process it [10:12:34]req_shift_open_date [10:12:34]req_shift_open_date done [10:12:34]produce_requested_data done [10:12:34]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52610,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [10:12:34]process_action_free close_receipt [10:12:34]json_value_free [10:12:34]json_value_free done [10:12:34]process_json_proto returns [10:12:34]Send response to host [10:12:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52610,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [10:12:34]free response buf [10:12:34]execute_script done [10:12:34]execute_script returns [10:12:34]free content buf [10:12:34]Sock 8.Close socket [10:12:34]Sock 8.Thread stoped [10:12:38]OFD Sender: No OFD packet to send [10:12:43]OFD Sender: No OFD packet to send [10:12:48]OFD Sender: No OFD packet to send [10:12:53]OFD Sender: No OFD packet to send [10:12:58]OFD Sender: No OFD packet to send [10:13:03]OFD Sender: No OFD packet to send [10:13:08]OFD Sender: No OFD packet to send [10:13:13]OFD Sender: No OFD packet to send [10:13:18]OFD Sender: No OFD packet to send [10:13:23]OFD Sender: No OFD packet to send [10:13:28]OFD Sender: No OFD packet to send [10:13:33]OFD Sender: No OFD packet to send [10:13:38]OFD Sender: No OFD packet to send [10:13:43]OFD Sender: No OFD packet to send [10:13:48]OFD Sender: No OFD packet to send [10:13:53]OFD Sender: No OFD packet to send [10:13:58]OFD Sender: No OFD packet to send [10:14:03]OFD Sender: No OFD packet to send [10:14:08]OFD Sender: No OFD packet to send [10:14:13]OFD Sender: No OFD packet to send [10:14:18]OFD Sender: No OFD packet to send [10:14:23]OFD Sender: No OFD packet to send [10:14:28]OFD Sender: No OFD packet to send [10:14:33]OFD Sender: No OFD packet to send [10:14:38]OFD Sender: No OFD packet to send [10:14:43]OFD Sender: No OFD packet to send [10:14:48]OFD Sender: No OFD packet to send [10:14:53]OFD Sender: No OFD packet to send [10:14:58]OFD Sender: No OFD packet to send [10:15:03]OFD Sender: No OFD packet to send [10:15:08]OFD Sender: No OFD packet to send [10:15:13]OFD Sender: No OFD packet to send [10:15:18]OFD Sender: No OFD packet to send [10:15:23]OFD Sender: No OFD packet to send [10:15:28]OFD Sender: No OFD packet to send [10:15:28]accept exits with 9 [10:15:28]New connection [10:15:28]New thread 3067252068 created [10:15:28]Thread 3067395428 joined [10:15:28]Waiting for new connection... [10:15:28] Sock 9.Parse request [10:15:28]Sock 9.Check first char [10:15:28]Sock 9.First char is OK [10:15:28]request: POST /json_proto HTTP/1.0 [10:15:28]Method: POST [10:15:28]URL: /json_proto [10:15:28]Method is POST - this is cgi request [10:15:28]url: /json_proto [10:15:28]query_string will be loaded in cgi processing [10:15:28]execute_cgi json_proto POST (null) [10:15:28]execute_cgi path=json_proto method=POST [10:15:28]POST find Content-Length [10:15:28]Host: 172.17.60.7:8080 [10:15:28]Content-Length: 1107 [10:15:28]Content-Type: application/json [10:15:28] [10:15:28]POST finish read [10:15:28]Found Content-Length = 1107 [10:15:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122742", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47000704", "name": "\u0421\u0435\u043D\u0434\u0432\u0438\u0447 Kav-Kev \u0431\u043E\u043B\u044C\u0448\u043E\u0439 \u0441 \u043A\u0443\u0440\u0438\u0446\u0435\u0439", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:15:28]execute_script... [10:15:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122742", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47000704", "name": "\u0421\u0435\u043D\u0434\u0432\u0438\u0447 Kav-Kev \u0431\u043E\u043B\u044C\u0448\u043E\u0439 \u0441 \u043A\u0443\u0440\u0438\u0446\u0435\u0439", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:15:28]POST & json_proto [10:15:28]process_json_proto [10:15:28]json parsed OK: [10:15:28]protocol is kg_v1.0 [10:15:28]action value=close_receipt [10:15:28]process_action close_receipt [10:15:28]cmd_close_receipt [10:15:28]MH_GetDate [10:15:28]Write to MH i2c: F0 00 00 60 10 5F [10:15:28]Write i2c OK [10:15:28]MH_I2C_Read... [10:15:28]Read from MH i2c: F0 [10:15:28]MH_I2C_Read... [10:15:28]Read from MH i2c: F0 09 00 [10:15:28]MH_I2C_Read... [10:15:28]Read from MH i2c: F0 09 00 60 10 00 44 8F B8 66 63 9B 67 64 22 [10:15:28]GetLastDocTimeStamp 1723371154 [10:15:28]current date 1723371332 [10:15:28]FM_GetShiftState [10:15:28]SAM_PROTO_GetShiftState [10:15:28]wFMCommunicate request_size=4 [10:15:28]MH_SAM_APDU [10:15:28]CAPDU: 80 13 01 00 [10:15:28]Write to MH i2c: E2 08 00 61 10 80 13 01 00 00 00 00 00 EE [10:15:28]Write i2c OK [10:15:28]MH_I2C_Read... [10:15:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:15:28]Read from MH i2c: E2 [10:15:28]MH_I2C_Read... [10:15:28]Read from MH i2c: E2 0E 00 [10:15:28]MH_I2C_Read... [10:15:28]Read from MH i2c: E2 0E 00 61 10 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 17 [10:15:28]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:15:28]wFMCommunicate OK [10:15:28]SAM_PROTO_GetShiftState done [10:15:28]FM_GetShiftState done [10:15:28]opened in 1723336186 [10:15:28]opened+sec_in_day 1723422586 [10:15:28]quantity*price = 5000 [10:15:28]sum+1 = 5001 [10:15:28]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 47000704 Сендвич Kav-Kev большой с курицей 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 145.00 НСП 1% : 1.28 НДС 12% : 15.40 Наличными: 0.00 Безнал.: 145.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 22 11.08.2024 10:15 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52611 ФПД: 280364449050959 /tax-web-control/client/api/v1/ticket?date=20240811T101532&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52611&fm=280364449050959&tin=02508201610067®Number=0000000000090834&sum=14500 0 [10:15:29]StoreToDocumentArchive [10:15:29]shift 446 fd 52611 [10:15:29]save to /storage/0446/doc_00052611 [10:15:29]save last doc name /storage/0446/doc_00052611 to /storage/kkm_last_doc_name [10:15:29]save OK [10:15:29]Clear old archive folders... [10:15:29]ProcessDocumentItem done err = 0, tmpTLVsize=391 [10:15:29]tlvbuf is 010A2810 [10:15:29]SAM_PROTO_ClearQueue [10:15:29]wFMCommunicate request_size=4 [10:15:29]MH_SAM_APDU [10:15:29]CAPDU: 80 09 00 00 [10:15:29]Write to MH i2c: E2 08 00 6E 10 80 09 00 00 00 00 00 00 F0 [10:15:29]Write i2c OK [10:15:29]MH_I2C_Read... [10:15:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:15:30]Read from MH i2c: E2 [10:15:30]MH_I2C_Read... [10:15:30]Read from MH i2c: E2 03 00 [10:15:30]MH_I2C_Read... [10:15:30]Read from MH i2c: E2 03 00 6E 10 00 90 00 F2 [10:15:30]RAPDU: 90 00 [10:15:30]wFMCommunicate OK [10:15:30]SAM_PROTO_ClearQueue done [10:15:30]KKMCreateOFDPacket [10:15:30]OFDProtocolAddRootSTLVToBuf [10:15:30]FM_MakeSignedData [10:15:30]FM_MakeSignedData [10:15:30]SAM_PROTO_SignData [10:15:30]wFMCommunicate request_size=4 [10:15:30]MH_SAM_APDU [10:15:30]CAPDU: 80 0D 01 02 [10:15:30]Write to MH i2c: E2 08 00 6F 10 80 0D 01 02 00 00 00 00 F8 [10:15:30]Write i2c OK [10:15:30]MH_I2C_Read... [10:15:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:15:30]Read from MH i2c: E2 [10:15:30]MH_I2C_Read... [10:15:30]Read from MH i2c: E2 03 00 [10:15:30]MH_I2C_Read... [10:15:30]Read from MH i2c: E2 03 00 6F 10 00 90 00 F3 [10:15:30]RAPDU: 90 00 [10:15:30]wFMCommunicate OK [10:15:30]wFMCommunicate request_size=255 [10:15:30]MH_SAM_APDU [10:15:30]CAPDU: 80 0D 02 02 FA 03 00 87 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 76 00 8A 04 08 00 34 37 30 30 30 37 30 34 06 04 37 00 D0 A1 D0 B5 D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 4B 61 76 2D 4B 65 76 20 D0 B1 D0 BE D0 BB D1 8C D1 88 D0 BE D0 B9 20 D1 81 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B5 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 [10:15:30]Write to MH i2c: E2 02 01 70 10 80 0D 02 02 FA 00 03 00 87 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 76 00 8A 04 08 00 34 37 30 30 30 37 30 34 06 04 37 00 D0 A1 D0 B5 D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 4B 61 76 2D 4B 65 76 20 D0 B1 D0 BE D0 BB D1 8C D1 88 D0 BE D0 B9 20 D1 81 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B5 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 00 00 E7 [10:15:30]Write i2c OK [10:15:30]MH_I2C_Read... [10:15:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:15:30]Read from MH i2c: E2 [10:15:30]MH_I2C_Read... [10:15:30]Read from MH i2c: E2 03 00 [10:15:30]MH_I2C_Read... [10:15:30]Read from MH i2c: E2 03 00 70 10 00 90 00 F4 [10:15:30]RAPDU: 90 00 [10:15:30]wFMCommunicate OK [10:15:30]wFMCommunicate request_size=150 [10:15:30]MH_SAM_APDU [10:15:30]CAPDU: 80 0D 02 02 91 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A4 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 44 8F B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 83 CD 00 00 35 04 06 00 FE FD 6F 64 B1 4F [10:15:30]Write to MH i2c: E2 99 00 71 10 80 0D 02 02 91 00 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A4 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 44 8F B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 83 CD 00 00 35 04 06 00 FE FD 6F 64 B1 4F 00 00 95 [10:15:30]Write i2c OK [10:15:30]MH_I2C_Read... [10:15:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:15:30]Read from MH i2c: E2 [10:15:30]MH_I2C_Read... [10:15:30]Read from MH i2c: E2 03 00 [10:15:30]MH_I2C_Read... [10:15:30]Read from MH i2c: E2 03 00 71 10 00 90 00 F5 [10:15:30]RAPDU: 90 00 [10:15:30]wFMCommunicate OK [10:15:30]wFMCommunicate request_size=4 [10:15:30]MH_SAM_APDU [10:15:30]CAPDU: 80 0D 03 02 [10:15:30]Write to MH i2c: E2 08 00 72 10 80 0D 03 02 00 00 00 00 FD [10:15:30]Write i2c OK [10:15:30]MH_I2C_Read... [10:15:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:15:30]Read from MH i2c: E2 [10:15:30]MH_I2C_Read... [10:15:30]Read from MH i2c: E2 0B 00 [10:15:30]MH_I2C_Read... [10:15:30]Read from MH i2c: E2 0B 00 72 10 00 7D 95 70 B5 EB B4 76 8D 90 00 D7 [10:15:30]RAPDU: 7D 95 70 B5 EB B4 76 8D 90 00 [10:15:30]wFMCommunicate OK [10:15:30]SAM_PROTO_SignData done [10:15:30]FM_MakeSignedData done [10:15:30]CreateOFDProtocolMessage [10:15:30]wFMCommunicate request_size=4 [10:15:30]MH_SAM_APDU [10:15:30]CAPDU: 80 11 00 00 [10:15:30]Write to MH i2c: E2 08 00 73 10 80 11 00 00 00 00 00 00 FD [10:15:30]Write i2c OK [10:15:30]MH_I2C_Read... [10:15:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:15:30]Read from MH i2c: E2 [10:15:30]MH_I2C_Read... [10:15:30]Read from MH i2c: E2 17 00 [10:15:30]MH_I2C_Read... [10:15:30]Read from MH i2c: E2 17 00 73 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 50 [10:15:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:15:30]wFMCommunicate OK [10:15:30]CreateOFDProtocolMessage done [10:15:30]OFDSenderStorePacket 52611 [10:15:30]StoreOFDPacket docnum=52611 [10:15:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 9B 01 00 00 71 24 93 01 B7 71 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 76 00 8A 04 08 00 34 37 30 30 30 37 30 34 06 04 37 00 D0 A1 D0 B5 D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 4B 61 76 2D 4B 65 76 20 D0 B1 D0 BE D0 BB D1 8C D1 88 D0 BE D0 B9 20 D1 81 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B5 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A4 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 44 8F B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 83 CD 00 00 35 04 06 00 FE FD 6F 64 B1 4F 7D 95 70 B5 EB B4 76 8D [10:15:30]CheckFolder [10:15:30]dirname=/storage/ofd_packets [10:15:30]CheckFolder done [10:15:30]ProducePacketName [10:15:30]name=ofd_packets/00052611 [10:15:30]NVStorageSaveData ofd_packets/00052611 [10:15:30]File name is /storage/ofd_packets/00052611 [10:15:30]Write 441 bytes [10:15:30]NVStorageSaveData done [10:15:30]OFDSenderStorePacket done [10:15:30]KKMCreateOFDPacket done [10:15:30]NVStorageSaveData kkm_last_timestamp [10:15:30]File name is /storage/kkm_last_timestamp [10:15:30]Write 4 bytes [10:15:30]NVStorageSaveData done [10:15:30]ExternCall_PrintAddStr [10:15:30]wPrintStart [10:15:30]Write to MH i2c: 01 00 00 74 10 84 [10:15:30]OFD Sender: Processing packet 52611 [packets to send 55, broken 54] [10:15:30]ProducePacketName [10:15:30]name=ofd_packets/00052611 [10:15:30]OFD Sender: To server: pG, [10:15:30]CommunicateWithHost lk.salyk.kg:30040 [10:15:30]ConnectInit lk.salyk.kg [10:15:30]Write i2c OK [10:15:30]MH_I2C_Read... [10:15:30]Read from MH i2c: 01 [10:15:30]MH_I2C_Read... [10:15:30]Read from MH i2c: 01 07 00 [10:15:30]MH_I2C_Read... [10:15:30]Read from MH i2c: 01 07 00 74 10 00 00 00 00 00 FF 0F 99 [10:15:30]RasterBufferAndPrint [10:15:30]line Счет N : (3)122742 [10:15:30]line ИНН: 02508201610067 [10:15:30]line Контрольно-Кассовый Чек [10:15:30]line ПРОДАЖА [10:15:30]line Товар: 4700000160358 [10:15:30]line Вода Легенда 1л [10:15:30]line 1.000 * 50.00 [10:15:30]line = 50.00 [10:15:30]line НДС 12% НСП 1% [10:15:30]line > о реализуемом товаре [10:15:30]line Товар: 47000704 [10:15:30]line Сендвич Kav-Kev большой с курицей [10:15:30]line 1.000 * 95.00 [10:15:30]line = 95.00 [10:15:30]line НДС 12% НСП 1% [10:15:30]line > о реализуемом товаре [10:15:30]line ИТОГО: 145.00 [10:15:30]line НСП 1% : 1.28 [10:15:30]line НДС 12% : 15.40 [10:15:30]line Наличными: 0.00 [10:15:30]line Безнал.: 145.00 [10:15:30]line Место: АЗС № 54 "Партнер Нефть" [10:15:30]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [10:15:30]line СНО: Общий режим [10:15:30]line Чек 22 11.08.2024 10:15 [10:15:30]line Смена: 446 ФФД: 1.0 [10:15:30]line ЗНМ: 0300000007 [10:15:30]line РНМ: 0000000000090834 [10:15:30]line Версия ККМ: 001 [10:15:30]line Платежная система: О! деньги [10:15:30]line ФМ: 0000000000874715 [10:15:30]line ФД: 52611 [10:15:30]line ФПД: 280364449050959 [10:15:30]line /tax-web-control/client/api/v1/ticket?date=20240811T101532&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52611&fm=280364449050959&tin=02508201610067®Number=0000000000090834&sum=14500 [10:15:30]line 0 [10:15:30]written 0, free lines is 4095 [10:15:31]Connected sock=10 [10:15:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 9B 01 00 00 71 24 93 01 B7 71 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 76 00 8A 04 08 00 34 37 30 30 30 37 30 34 06 04 37 00 D0 A1 D0 B5 D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 4B 61 76 2D 4B 65 76 20 D0 B1 D0 BE D0 BB D1 8C D1 88 D0 BE D0 B9 20 D1 81 20 D0 BA D1 83 D1 80 D0 B8 D1 86 D0 B5 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A4 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 44 8F B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 83 CD 00 00 35 04 06 00 FE FD 6F 64 B1 4F 7D 95 70 B5 EB B4 76 8D [10:15:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 5F CE 47 00 ED 13 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 83 CD 00 00 F4 03 04 00 DF 36 B8 66 B6 04 01 00 00 C0 FA 35 35 60 5D 84 33 [10:15:31]CommunicateWithHost err = 0 [10:15:31]CheckOFDResponse [10:15:31]1017 (14) - 77093643461234 [10:15:31]1041 (16) - 0000000000874715 [10:15:31]1040 (4) - 52611 [10:15:31]1012 (4) - 11.08.2024 03:58 [10:15:31]1206 (1) - 0 [10:15:31]OFD Sender: Remove packet 52611 [10:15:31]ProducePacketName [10:15:31]name=ofd_packets/00052611 [10:15:31]NVStorageDeleteData [10:15:31]Write to MH i2c: 01 00 00 A4 10 B4 [10:15:31]Write i2c OK [10:15:31]MH_I2C_Read... [10:15:31]Read from MH i2c: 01 [10:15:31]MH_I2C_Read... [10:15:31]Read from MH i2c: 01 07 00 [10:15:31]MH_I2C_Read... [10:15:31]Read from MH i2c: 01 07 00 A4 10 00 00 00 00 00 56 0C 1D [10:15:31]RasterBufferAndPrint [10:15:31]line [10:15:31]line [10:15:31]line [10:15:31]line [10:15:31]line [10:15:31]written 0, free lines is 3165 [10:15:31]MH_Cut [10:15:31]Write to MH i2c: D1 01 00 AB 10 01 8D [10:15:31]Write i2c OK [10:15:31]MH_I2C_Read... [10:15:31]Read from MH i2c: D1 [10:15:31]MH_I2C_Read... [10:15:31]Read from MH i2c: D1 01 00 [10:15:31]MH_I2C_Read... [10:15:31]Read from MH i2c: D1 01 00 AB 10 00 8C [10:15:31]Write to MH i2c: 01 00 00 AC 10 BC [10:15:31]Write i2c OK [10:15:31]MH_I2C_Read... [10:15:31]OFD Sender: No OFD packet to send [10:15:32]*** Cut start [10:15:32]*** Purtial cut [10:15:32]*** Stage 1: CUTSNS_PIN = 1 [10:15:32]Read from MH i2c: 01 [10:15:32]MH_I2C_Read... [10:15:32]*** Stop cut motor [10:15:32]*** Cut end [10:15:32]Read from MH i2c: 01 07 00 [10:15:32]MH_I2C_Read... [10:15:32]Read from MH i2c: 01 07 00 AC 10 00 00 00 00 00 FF 0F D1 [10:15:32]process_action close_receipt done [10:15:32]requested_data is exist [10:15:32]produce_requested_data [10:15:32]requested_item fm.sn is exist - process it [10:15:32]wFMCommunicate request_size=4 [10:15:32]MH_SAM_APDU [10:15:32]CAPDU: 80 11 00 00 [10:15:32]Write to MH i2c: E2 08 00 AD 10 80 11 00 00 00 00 00 00 37 [10:15:32]Write i2c OK [10:15:32]MH_I2C_Read... [10:15:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:15:32]Read from MH i2c: E2 [10:15:32]MH_I2C_Read... [10:15:32]Read from MH i2c: E2 17 00 [10:15:32]MH_I2C_Read... [10:15:32]Read from MH i2c: E2 17 00 AD 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 8A [10:15:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:15:32]wFMCommunicate OK [10:15:32]requested_item fd.num is exist - process it [10:15:32]SAM_PROTO_GetFieldsCounters [10:15:32]wFMCommunicate request_size=4 [10:15:32]MH_SAM_APDU [10:15:32]CAPDU: 80 13 00 00 [10:15:32]Write to MH i2c: E2 08 00 AE 10 80 13 00 00 00 00 00 00 3A [10:15:32]Write i2c OK [10:15:32]MH_I2C_Read... [10:15:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:15:32]Read from MH i2c: E2 [10:15:32]MH_I2C_Read... [10:15:32]Read from MH i2c: E2 62 00 [10:15:32]MH_I2C_Read... [10:15:32]Read from MH i2c: E2 62 00 AE 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 83 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 AB [10:15: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 83 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:15:32]wFMCommunicate OK [10:15:32]SAM_PROTO_GetFieldsCounters done [10:15:32]requested_item shift.num is exist - process it [10:15:32]requested_item shift.opened is exist - process it [10:15:32]req_shift_opened [10:15:32]FM_GetShiftState [10:15:32]SAM_PROTO_GetShiftState [10:15:32]wFMCommunicate request_size=4 [10:15:32]MH_SAM_APDU [10:15:32]CAPDU: 80 13 01 00 [10:15:32]Write to MH i2c: E2 08 00 AF 10 80 13 01 00 00 00 00 00 3C [10:15:32]Write i2c OK [10:15:32]MH_I2C_Read... [10:15:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:15:33]Read from MH i2c: E2 [10:15:33]MH_I2C_Read... [10:15:33]Read from MH i2c: E2 0E 00 [10:15:33]MH_I2C_Read... [10:15:33]Read from MH i2c: E2 0E 00 AF 10 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 65 [10:15:33]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:15:33]wFMCommunicate OK [10:15:33]SAM_PROTO_GetShiftState done [10:15:33]FM_GetShiftState done [10:15:33]req_shift_opened done [10:15:33]requested_item shift.open_date is exist - process it [10:15:33]req_shift_open_date [10:15:33]req_shift_open_date done [10:15:33]produce_requested_data done [10:15:33]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52611,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [10:15:33]process_action_free close_receipt [10:15:33]json_value_free [10:15:33]json_value_free done [10:15:33]process_json_proto returns [10:15:33]Send response to host [10:15:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52611,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [10:15:33]free response buf [10:15:33]execute_script done [10:15:33]execute_script returns [10:15:33]free content buf [10:15:33]Sock 9.Close socket [10:15:33]Sock 9.Thread stoped [10:15:36]OFD Sender: No OFD packet to send [10:15:41]OFD Sender: No OFD packet to send [10:15:46]OFD Sender: No OFD packet to send [10:15:51]OFD Sender: No OFD packet to send [10:15:56]OFD Sender: No OFD packet to send [10:16:01]OFD Sender: No OFD packet to send [10:16:06]OFD Sender: No OFD packet to send [10:16:11]OFD Sender: No OFD packet to send [10:16:16]OFD Sender: No OFD packet to send [10:16:21]OFD Sender: No OFD packet to send [10:16:26]OFD Sender: No OFD packet to send [10:16:31]OFD Sender: No OFD packet to send [10:16:36]OFD Sender: No OFD packet to send [10:16:41]OFD Sender: No OFD packet to send [10:16:46]OFD Sender: No OFD packet to send [10:16:51]OFD Sender: No OFD packet to send [10:16:57]OFD Sender: No OFD packet to send [10:17:02]OFD Sender: No OFD packet to send [10:17:07]OFD Sender: No OFD packet to send [10:17:12]OFD Sender: No OFD packet to send [10:17:17]OFD Sender: No OFD packet to send [10:17:22]OFD Sender: No OFD packet to send [10:17:27]OFD Sender: No OFD packet to send [10:17:32]OFD Sender: No OFD packet to send [10:17:37]OFD Sender: No OFD packet to send [10:17:42]OFD Sender: No OFD packet to send [10:17:47]OFD Sender: No OFD packet to send [10:17:52]OFD Sender: No OFD packet to send [10:17:57]OFD Sender: No OFD packet to send [10:18:02]OFD Sender: No OFD packet to send [10:18:07]OFD Sender: No OFD packet to send [10:18:12]OFD Sender: No OFD packet to send [10:18:17]OFD Sender: No OFD packet to send [10:18:22]OFD Sender: No OFD packet to send [10:18:27]OFD Sender: No OFD packet to send [10:18:32]OFD Sender: No OFD packet to send [10:18:37]OFD Sender: No OFD packet to send [10:18:42]OFD Sender: No OFD packet to send [10:18:47]OFD Sender: No OFD packet to send [10:18:52]OFD Sender: No OFD packet to send [10:18:57]OFD Sender: No OFD packet to send [10:19:02]OFD Sender: No OFD packet to send [10:19:07]OFD Sender: No OFD packet to send [10:19:12]OFD Sender: No OFD packet to send [10:19:17]OFD Sender: No OFD packet to send [10:19:22]OFD Sender: No OFD packet to send [10:19:27]OFD Sender: No OFD packet to send [10:19:32]OFD Sender: No OFD packet to send [10:19:37]OFD Sender: No OFD packet to send [10:19:42]OFD Sender: No OFD packet to send [10:19:47]OFD Sender: No OFD packet to send [10:19:52]OFD Sender: No OFD packet to send [10:19:57]OFD Sender: No OFD packet to send [10:20:02]OFD Sender: No OFD packet to send [10:20:07]OFD Sender: No OFD packet to send [10:20:12]OFD Sender: No OFD packet to send [10:20:17]OFD Sender: No OFD packet to send [10:20:22]OFD Sender: No OFD packet to send [10:20:27]OFD Sender: No OFD packet to send [10:20:32]OFD Sender: No OFD packet to send [10:20:37]OFD Sender: No OFD packet to send [10:20:42]OFD Sender: No OFD packet to send [10:20:47]OFD Sender: No OFD packet to send [10:20:52]OFD Sender: No OFD packet to send [10:20:57]OFD Sender: No OFD packet to send [10:21:02]OFD Sender: No OFD packet to send [10:21:07]OFD Sender: No OFD packet to send [10:21:12]OFD Sender: No OFD packet to send [10:21:17]OFD Sender: No OFD packet to send [10:21:22]OFD Sender: No OFD packet to send [10:21:27]OFD Sender: No OFD packet to send [10:21:32]OFD Sender: No OFD packet to send [10:21:37]OFD Sender: No OFD packet to send [10:21:42]OFD Sender: No OFD packet to send [10:21:47]OFD Sender: No OFD packet to send [10:21:52]OFD Sender: No OFD packet to send [10:21:57]OFD Sender: No OFD packet to send [10:22:02]OFD Sender: No OFD packet to send [10:22:07]OFD Sender: No OFD packet to send [10:22:12]OFD Sender: No OFD packet to send [10:22:17]OFD Sender: No OFD packet to send [10:22:22]OFD Sender: No OFD packet to send [10:22:27]OFD Sender: No OFD packet to send [10:22:32]OFD Sender: No OFD packet to send [10:22:37]OFD Sender: No OFD packet to send [10:22:42]OFD Sender: No OFD packet to send [10:22:47]OFD Sender: No OFD packet to send [10:22:52]OFD Sender: No OFD packet to send [10:22:57]OFD Sender: No OFD packet to send [10:23:02]OFD Sender: No OFD packet to send [10:23:07]OFD Sender: No OFD packet to send [10:23:12]OFD Sender: No OFD packet to send [10:23:17]OFD Sender: No OFD packet to send [10:23:22]OFD Sender: No OFD packet to send [10:23:27]OFD Sender: No OFD packet to send [10:23:32]OFD Sender: No OFD packet to send [10:23:37]OFD Sender: No OFD packet to send [10:23:42]OFD Sender: No OFD packet to send [10:23:47]OFD Sender: No OFD packet to send [10:23:52]OFD Sender: No OFD packet to send [10:23:57]OFD Sender: No OFD packet to send [10:24:02]OFD Sender: No OFD packet to send [10:24:07]OFD Sender: No OFD packet to send [10:24:12]OFD Sender: No OFD packet to send [10:24:17]OFD Sender: No OFD packet to send [10:24:22]OFD Sender: No OFD packet to send [10:24:27]OFD Sender: No OFD packet to send [10:24:32]OFD Sender: No OFD packet to send [10:24:37]OFD Sender: No OFD packet to send [10:24:42]OFD Sender: No OFD packet to send [10:24:47]OFD Sender: No OFD packet to send [10:24:52]OFD Sender: No OFD packet to send [10:24:57]OFD Sender: No OFD packet to send [10:25:02]OFD Sender: No OFD packet to send [10:25:07]OFD Sender: No OFD packet to send [10:25:12]OFD Sender: No OFD packet to send [10:25:17]OFD Sender: No OFD packet to send [10:25:22]OFD Sender: No OFD packet to send [10:25:27]OFD Sender: No OFD packet to send [10:25:32]OFD Sender: No OFD packet to send [10:25:37]OFD Sender: No OFD packet to send [10:25:42]OFD Sender: No OFD packet to send [10:25:47]OFD Sender: No OFD packet to send [10:25:52]OFD Sender: No OFD packet to send [10:25:57]OFD Sender: No OFD packet to send [10:26:02]OFD Sender: No OFD packet to send [10:26:07]OFD Sender: No OFD packet to send [10:26:12]OFD Sender: No OFD packet to send [10:26:17]OFD Sender: No OFD packet to send [10:26:22]OFD Sender: No OFD packet to send [10:26:27]OFD Sender: No OFD packet to send [10:26:32]OFD Sender: No OFD packet to send [10:26:37]OFD Sender: No OFD packet to send [10:26:42]OFD Sender: No OFD packet to send [10:26:47]OFD Sender: No OFD packet to send [10:26:52]OFD Sender: No OFD packet to send [10:26:57]OFD Sender: No OFD packet to send [10:27:02]OFD Sender: No OFD packet to send [10:27:07]OFD Sender: No OFD packet to send [10:27:12]OFD Sender: No OFD packet to send [10:27:17]OFD Sender: No OFD packet to send [10:27:22]OFD Sender: No OFD packet to send [10:27:27]OFD Sender: No OFD packet to send [10:27:32]OFD Sender: No OFD packet to send [10:27:37]OFD Sender: No OFD packet to send [10:27:42]OFD Sender: No OFD packet to send [10:27:47]OFD Sender: No OFD packet to send [10:27:52]OFD Sender: No OFD packet to send [10:27:57]OFD Sender: No OFD packet to send [10:28:02]OFD Sender: No OFD packet to send [10:28:07]OFD Sender: No OFD packet to send [10:28:12]OFD Sender: No OFD packet to send [10:28:17]OFD Sender: No OFD packet to send [10:28:21]accept exits with 8 [10:28:21]New connection [10:28:21]New thread 3067395428 created [10:28:21]Thread 3067252068 joined [10:28:21]Waiting for new connection... [10:28:21] Sock 8.Parse request [10:28:21]Sock 8.Check first char [10:28:21]Sock 8.First char is OK [10:28:21]request: POST /json_proto HTTP/1.0 [10:28:21]Method: POST [10:28:21]URL: /json_proto [10:28:21]Method is POST - this is cgi request [10:28:21]url: /json_proto [10:28:21]query_string will be loaded in cgi processing [10:28:21]execute_cgi json_proto POST (null) [10:28:21]execute_cgi path=json_proto method=POST [10:28:21]POST find Content-Length [10:28:21]Host: 172.17.60.7:8080 [10:28:21]Content-Length: 786 [10:28:21]Content-Type: application/json [10:28:21] [10:28:21]POST finish read [10:28:21]Found Content-Length = 786 [10:28:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122743", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:28:21]execute_script... [10:28:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122743", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:28:21]POST & json_proto [10:28:21]process_json_proto [10:28:21]json parsed OK: [10:28:21]protocol is kg_v1.0 [10:28:21]action value=close_receipt [10:28:21]process_action close_receipt [10:28:21]cmd_close_receipt [10:28:21]MH_GetDate [10:28:21]Write to MH i2c: F0 00 00 B0 10 AF [10:28:21]Write i2c OK [10:28:21]MH_I2C_Read... [10:28:21]Read from MH i2c: F0 [10:28:21]MH_I2C_Read... [10:28:21]Read from MH i2c: F0 09 00 [10:28:21]MH_I2C_Read... [10:28:21]Read from MH i2c: F0 09 00 B0 10 00 49 92 B8 66 63 9B 67 64 7A [10:28:21]GetLastDocTimeStamp 1723371332 [10:28:21]current date 1723372105 [10:28:21]FM_GetShiftState [10:28:21]SAM_PROTO_GetShiftState [10:28:21]wFMCommunicate request_size=4 [10:28:21]MH_SAM_APDU [10:28:21]CAPDU: 80 13 01 00 [10:28:21]Write to MH i2c: E2 08 00 B1 10 80 13 01 00 00 00 00 00 3E [10:28:21]Write i2c OK [10:28:21]MH_I2C_Read... [10:28:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:28:21]Read from MH i2c: E2 [10:28:21]MH_I2C_Read... [10:28:21]Read from MH i2c: E2 0E 00 [10:28:21]MH_I2C_Read... [10:28:21]Read from MH i2c: E2 0E 00 B1 10 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 67 [10:28:21]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:28:21]wFMCommunicate OK [10:28:21]SAM_PROTO_GetShiftState done [10:28:21]FM_GetShiftState done [10:28:21]opened in 1723336186 [10:28:21]opened+sec_in_day 1723422586 [10:28:21]quantity*price = 13500 [10:28:21]sum+1 = 13501 [10:28:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 0.00 Безнал.: 135.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 23 11.08.2024 10:28 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52612 ФПД: 58231153502382 /tax-web-control/client/api/v1/ticket?date=20240811T102825&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52612&fm=58231153502382&tin=02508201610067®Number=0000000000090834&sum=13500 0 [10:28:22]StoreToDocumentArchive [10:28:22]shift 446 fd 52612 [10:28:22]save to /storage/0446/doc_00052612 [10:28:22]save last doc name /storage/0446/doc_00052612 to /storage/kkm_last_doc_name [10:28:22]save OK [10:28:22]Clear old archive folders... [10:28:22]ProcessDocumentItem done err = 0, tmpTLVsize=272 [10:28:22]tlvbuf is 0108DC60 [10:28:22]SAM_PROTO_ClearQueue [10:28:22]wFMCommunicate request_size=4 [10:28:22]MH_SAM_APDU [10:28:22]CAPDU: 80 09 00 00 [10:28:22]Write to MH i2c: E2 08 00 BE 10 80 09 00 00 00 00 00 00 40 [10:28:22]Write i2c OK [10:28:22]MH_I2C_Read... [10:28:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:28:22]Read from MH i2c: E2 [10:28:22]MH_I2C_Read... [10:28:22]Read from MH i2c: E2 03 00 [10:28:22]MH_I2C_Read... [10:28:22]Read from MH i2c: E2 03 00 BE 10 00 90 00 42 [10:28:22]RAPDU: 90 00 [10:28:22]wFMCommunicate OK [10:28:22]SAM_PROTO_ClearQueue done [10:28:22]KKMCreateOFDPacket [10:28:22]OFDProtocolAddRootSTLVToBuf [10:28:22]FM_MakeSignedData [10:28:22]FM_MakeSignedData [10:28:22]SAM_PROTO_SignData [10:28:22]wFMCommunicate request_size=4 [10:28:22]MH_SAM_APDU [10:28:22]CAPDU: 80 0D 01 02 [10:28:22]Write to MH i2c: E2 08 00 BF 10 80 0D 01 02 00 00 00 00 48 [10:28:22]Write i2c OK [10:28:22]MH_I2C_Read... [10:28:22]Read from MH i2c: E2 [10:28:22]MH_I2C_Read... [10:28:22]Read from MH i2c: E2 03 00 [10:28:22]MH_I2C_Read... [10:28:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:28:22]Read from MH i2c: E2 03 00 BF 10 00 90 00 43 [10:28:22]RAPDU: 90 00 [10:28:22]wFMCommunicate OK [10:28:22]wFMCommunicate request_size=255 [10:28:22]MH_SAM_APDU [10:28:22]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 49 92 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 [10:28:22]Write to MH i2c: E2 02 01 C0 10 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 49 92 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 D1 [10:28:22]Write i2c OK [10:28:22]MH_I2C_Read... [10:28:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:28:23]Read from MH i2c: E2 [10:28:23]MH_I2C_Read... [10:28:23]Read from MH i2c: E2 03 00 [10:28:23]MH_I2C_Read... [10:28:23]Read from MH i2c: E2 03 00 C0 10 00 90 00 44 [10:28:23]RAPDU: 90 00 [10:28:23]wFMCommunicate OK [10:28:23]wFMCommunicate request_size=31 [10:28:23]MH_SAM_APDU [10:28:23]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 37 31 35 10 04 04 00 84 CD 00 00 35 04 06 00 34 F5 FF 38 28 AE [10:28:23]Write to MH i2c: E2 22 00 C1 10 80 0D 02 02 1A 00 30 30 38 37 34 37 31 35 10 04 04 00 84 CD 00 00 35 04 06 00 34 F5 FF 38 28 AE 00 00 FD [10:28:23]Write i2c OK [10:28:23]MH_I2C_Read... [10:28:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:28:23]Read from MH i2c: E2 [10:28:23]MH_I2C_Read... [10:28:23]Read from MH i2c: E2 03 00 [10:28:23]MH_I2C_Read... [10:28:23]Read from MH i2c: E2 03 00 C1 10 00 90 00 45 [10:28:23]RAPDU: 90 00 [10:28:23]wFMCommunicate OK [10:28:23]wFMCommunicate request_size=4 [10:28:23]MH_SAM_APDU [10:28:23]CAPDU: 80 0D 03 02 [10:28:23]Write to MH i2c: E2 08 00 C2 10 80 0D 03 02 00 00 00 00 4D [10:28:23]Write i2c OK [10:28:23]MH_I2C_Read... [10:28:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:28:23]Read from MH i2c: E2 [10:28:23]MH_I2C_Read... [10:28:23]Read from MH i2c: E2 0B 00 [10:28:23]MH_I2C_Read... [10:28:23]Read from MH i2c: E2 0B 00 C2 10 00 22 0A C0 C9 CA D1 E4 67 90 00 E9 [10:28:23]RAPDU: 22 0A C0 C9 CA D1 E4 67 90 00 [10:28:23]wFMCommunicate OK [10:28:23]SAM_PROTO_SignData done [10:28:23]FM_MakeSignedData done [10:28:23]CreateOFDProtocolMessage [10:28:23]wFMCommunicate request_size=4 [10:28:23]MH_SAM_APDU [10:28:23]CAPDU: 80 11 00 00 [10:28:23]Write to MH i2c: E2 08 00 C3 10 80 11 00 00 00 00 00 00 4D [10:28:23]Write i2c OK [10:28:23]MH_I2C_Read... [10:28:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:28:23]Read from MH i2c: E2 [10:28:23]MH_I2C_Read... [10:28:23]Read from MH i2c: E2 17 00 [10:28:23]MH_I2C_Read... [10:28:23]Read from MH i2c: E2 17 00 C3 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 A0 [10:28:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:28:23]wFMCommunicate OK [10:28:23]CreateOFDProtocolMessage done [10:28:23]OFDSenderStorePacket 52612 [10:28:23]StoreOFDPacket docnum=52612 [10:28:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 24 01 00 00 69 F7 1C 01 A0 D6 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 49 92 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 84 CD 00 00 35 04 06 00 34 F5 FF 38 28 AE 22 0A C0 C9 CA D1 E4 67 [10:28:23]CheckFolder [10:28:23]dirname=/storage/ofd_packets [10:28:23]CheckFolder done [10:28:23]ProducePacketName [10:28:23]name=ofd_packets/00052612 [10:28:23]NVStorageSaveData ofd_packets/00052612 [10:28:23]File name is /storage/ofd_packets/00052612 [10:28:23]Write 322 bytes [10:28:23]NVStorageSaveData done [10:28:23]OFDSenderStorePacket done [10:28:23]KKMCreateOFDPacket done [10:28:23]NVStorageSaveData kkm_last_timestamp [10:28:23]File name is /storage/kkm_last_timestamp [10:28:23]Write 4 bytes [10:28:23]NVStorageSaveData done [10:28:23]ExternCall_PrintAddStr [10:28:23]wPrintStart [10:28:23]Write to MH i2c: 01 00 00 C4 10 D4 [10:28:23]Write i2c OK [10:28:23]MH_I2C_Read... [10:28:23]Read from MH i2c: 01 [10:28:23]MH_I2C_Read... [10:28:23]Read from MH i2c: 01 07 00 [10:28:23]MH_I2C_Read... [10:28:23]Read from MH i2c: 01 07 00 C4 10 00 00 00 00 00 FF 0F E9 [10:28:23]RasterBufferAndPrint [10:28:23]line Счет N : (3)122743 [10:28:23]line ИНН: 02508201610067 [10:28:23]line Контрольно-Кассовый Чек [10:28:23]line ПРОДАЖА [10:28:23]line Товар: 48745000 [10:28:23]line Сигареты Winston Purple Mix [10:28:23]line 1.000 * 135.00 [10:28:23]line = 135.00 [10:28:23]line НДС 12% НСП 1% [10:28:23]line > о реализуемом товаре [10:28:23]line ИТОГО: 135.00 [10:28:23]line НСП 1% : 1.19 [10:28:23]line НДС 12% : 14.34 [10:28:23]line Наличными: 0.00 [10:28:23]line Безнал.: 135.00 [10:28:23]line Место: АЗС № 54 "Партнер Нефть" [10:28:23]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [10:28:23]line СНО: Общий режим [10:28:23]line Чек 23 11.08.2024 10:28 [10:28:23]line Смена: 446 ФФД: 1.0 [10:28:23]line ЗНМ: 0300000007 [10:28:23]line РНМ: 0000000000090834 [10:28:23]line Версия ККМ: 001 [10:28:23]line Платежная система: О! деньги [10:28:23]line ФМ: 0000000000874715 [10:28:23]line ФД: 52612 [10:28:23]line ФПД: 58231153502382 [10:28:23]line /tax-web-control/client/api/v1/ticket?date=20240811T102825&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52612&fm=58231153502382&tin=02508201610067®Number=0000000000090834&sum=13500 [10:28:23]line 0 [10:28:23]OFD Sender: Processing packet 52612 [packets to send 55, broken 54] [10:28:23]ProducePacketName [10:28:23]name=ofd_packets/00052612 [10:28:23]OFD Sender: To server: pG, [10:28:23]CommunicateWithHost lk.salyk.kg:30040 [10:28:23]ConnectInit lk.salyk.kg [10:28:23]written 0, free lines is 4095 [10:28:23]Connected sock=10 [10:28:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 24 01 00 00 69 F7 1C 01 A0 D6 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 49 92 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 84 CD 00 00 35 04 06 00 34 F5 FF 38 28 AE 22 0A C0 C9 CA D1 E4 67 [10:28:24]Write to MH i2c: 01 00 00 ED 10 FD [10:28:24]Write i2c OK [10:28:24]MH_I2C_Read... [10:28:24]Read from MH i2c: 01 [10:28:24]MH_I2C_Read... [10:28:24]Read from MH i2c: 01 07 00 [10:28:24]MH_I2C_Read... [10:28:24]Read from MH i2c: 01 07 00 ED 10 00 00 00 00 00 BA 0C CA [10:28:24]RasterBufferAndPrint [10:28:24]line [10:28:24]line [10:28:24]line [10:28:24]line [10:28:24]line [10:28:24]written 0, free lines is 3265 [10:28:24]MH_Cut [10:28:24]Write to MH i2c: D1 01 00 F4 10 01 D6 [10:28:24]Write i2c OK [10:28:24]MH_I2C_Read... [10:28:24]Read from MH i2c: D1 [10:28:24]MH_I2C_Read... [10:28:24]Read from MH i2c: D1 01 00 [10:28:24]MH_I2C_Read... [10:28:24]Read from MH i2c: D1 01 00 F4 10 00 D5 [10:28:24]Write to MH i2c: 01 00 00 F5 10 05 [10:28:24]Write i2c OK [10:28:24]MH_I2C_Read... [10:28:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 9A 8C 47 00 0B 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 34 37 31 35 10 04 04 00 84 CD 00 00 F4 03 04 00 E4 39 B8 66 B6 04 01 00 00 E5 38 D6 19 46 BC 2E DD [10:28:24]CommunicateWithHost err = 0 [10:28:24]CheckOFDResponse [10:28:24]1017 (14) - 77093643461234 [10:28:24]1041 (16) - 0000000000874715 [10:28:24]1040 (4) - 52612 [10:28:24]1012 (4) - 11.08.2024 04:11 [10:28:24]1206 (1) - 0 [10:28:24]OFD Sender: Remove packet 52612 [10:28:24]ProducePacketName [10:28:24]name=ofd_packets/00052612 [10:28:24]NVStorageDeleteData [10:28:24]OFD Sender: No OFD packet to send [10:28:24]*** Cut start [10:28:24]*** Purtial cut [10:28:24]*** Stage 1: CUTSNS_PIN = 1 [10:28:25]Read from MH i2c: 01 [10:28:25]MH_I2C_Read... [10:28:25]*** Stop cut motor [10:28:25]*** Cut end [10:28:25]Read from MH i2c: 01 07 00 [10:28:25]MH_I2C_Read... [10:28:25]Read from MH i2c: 01 07 00 F5 10 00 00 00 00 00 FF 0F 1A [10:28:25]process_action close_receipt done [10:28:25]requested_data is exist [10:28:25]produce_requested_data [10:28:25]requested_item fm.sn is exist - process it [10:28:25]wFMCommunicate request_size=4 [10:28:25]MH_SAM_APDU [10:28:25]CAPDU: 80 11 00 00 [10:28:25]Write to MH i2c: E2 08 00 F6 10 80 11 00 00 00 00 00 00 80 [10:28:25]Write i2c OK [10:28:25]MH_I2C_Read... [10:28:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:28:25]Read from MH i2c: E2 [10:28:25]MH_I2C_Read... [10:28:25]Read from MH i2c: E2 17 00 [10:28:25]MH_I2C_Read... [10:28:25]Read from MH i2c: E2 17 00 F6 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 D3 [10:28:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:28:25]wFMCommunicate OK [10:28:25]requested_item fd.num is exist - process it [10:28:25]SAM_PROTO_GetFieldsCounters [10:28:25]wFMCommunicate request_size=4 [10:28:25]MH_SAM_APDU [10:28:25]CAPDU: 80 13 00 00 [10:28:25]Write to MH i2c: E2 08 00 F7 10 80 13 00 00 00 00 00 00 83 [10:28:25]Write i2c OK [10:28:25]MH_I2C_Read... [10:28:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:28:25]Read from MH i2c: E2 [10:28:25]MH_I2C_Read... [10:28:25]Read from MH i2c: E2 62 00 [10:28:25]MH_I2C_Read... [10:28:25]Read from MH i2c: E2 62 00 F7 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 84 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 F8 [10:28:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 84 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:28:25]wFMCommunicate OK [10:28:25]SAM_PROTO_GetFieldsCounters done [10:28:25]requested_item shift.num is exist - process it [10:28:25]requested_item shift.opened is exist - process it [10:28:25]req_shift_opened [10:28:25]FM_GetShiftState [10:28:25]SAM_PROTO_GetShiftState [10:28:25]wFMCommunicate request_size=4 [10:28:25]MH_SAM_APDU [10:28:25]CAPDU: 80 13 01 00 [10:28:25]Write to MH i2c: E2 08 00 F8 10 80 13 01 00 00 00 00 00 85 [10:28:25]Write i2c OK [10:28:25]MH_I2C_Read... [10:28:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:28:25]Read from MH i2c: E2 [10:28:25]MH_I2C_Read... [10:28:25]Read from MH i2c: E2 0E 00 [10:28:25]MH_I2C_Read... [10:28:25]Read from MH i2c: E2 0E 00 F8 10 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 AE [10:28:25]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:28:25]wFMCommunicate OK [10:28:25]SAM_PROTO_GetShiftState done [10:28:25]FM_GetShiftState done [10:28:25]req_shift_opened done [10:28:25]requested_item shift.open_date is exist - process it [10:28:25]req_shift_open_date [10:28:25]req_shift_open_date done [10:28:25]produce_requested_data done [10:28:25]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52612,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [10:28:25]process_action_free close_receipt [10:28:25]json_value_free [10:28:25]json_value_free done [10:28:25]process_json_proto returns [10:28:25]Send response to host [10:28:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52612,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [10:28:25]free response buf [10:28:25]execute_script done [10:28:25]execute_script returns [10:28:25]free content buf [10:28:25]Sock 8.Close socket [10:28:25]Sock 8.Thread stoped [10:28:29]OFD Sender: No OFD packet to send [10:28:34]OFD Sender: No OFD packet to send [10:28:39]OFD Sender: No OFD packet to send [10:28:44]OFD Sender: No OFD packet to send [10:28:49]OFD Sender: No OFD packet to send [10:28:50]accept exits with 9 [10:28:50]New connection [10:28:50]New thread 3067252068 created [10:28:50]Thread 3067395428 joined [10:28:50]Waiting for new connection... [10:28:50] Sock 9.Parse request [10:28:50]Sock 9.Check first char [10:28:50]Sock 9.First char is OK [10:28:50]request: POST /json_proto HTTP/1.0 [10:28:50]Method: POST [10:28:50]URL: /json_proto [10:28:50]Method is POST - this is cgi request [10:28:50]url: /json_proto [10:28:50]query_string will be loaded in cgi processing [10:28:50]execute_cgi json_proto POST (null) [10:28:50]execute_cgi path=json_proto method=POST [10:28:50]POST find Content-Length [10:28:50]Host: 172.17.60.7:8080 [10:28:50]Content-Length: 797 [10:28:50]Content-Type: application/json [10:28:50] [10:28:50]POST finish read [10:28:50]Found Content-Length = 797 [10:28:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122744", "tax_sys" : 0, "items" : [ { "code": "4640030092567", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Exchange Summer Red", "price" : 150.00, "quantity" : 1.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:28:50]execute_script... [10:28:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122744", "tax_sys" : 0, "items" : [ { "code": "4640030092567", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Exchange Summer Red", "price" : 150.00, "quantity" : 1.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:28:50]POST & json_proto [10:28:50]process_json_proto [10:28:50]json parsed OK: [10:28:50]protocol is kg_v1.0 [10:28:50]action value=close_receipt [10:28:50]process_action close_receipt [10:28:50]cmd_close_receipt [10:28:50]MH_GetDate [10:28:50]Write to MH i2c: F0 00 00 F9 10 F8 [10:28:50]Write i2c OK [10:28:50]MH_I2C_Read... [10:28:50]Read from MH i2c: F0 [10:28:50]MH_I2C_Read... [10:28:50]Read from MH i2c: F0 09 00 [10:28:50]MH_I2C_Read... [10:28:50]Read from MH i2c: F0 09 00 F9 10 00 66 92 B8 66 63 9B 67 64 E0 [10:28:50]GetLastDocTimeStamp 1723372105 [10:28:50]current date 1723372134 [10:28:50]FM_GetShiftState [10:28:50]SAM_PROTO_GetShiftState [10:28:50]wFMCommunicate request_size=4 [10:28:50]MH_SAM_APDU [10:28:50]CAPDU: 80 13 01 00 [10:28:50]Write to MH i2c: E2 08 00 FA 10 80 13 01 00 00 00 00 00 87 [10:28:50]Write i2c OK [10:28:50]MH_I2C_Read... [10:28:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:28:50]Read from MH i2c: E2 [10:28:50]MH_I2C_Read... [10:28:50]Read from MH i2c: E2 0E 00 [10:28:50]MH_I2C_Read... [10:28:50]Read from MH i2c: E2 0E 00 FA 10 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 B0 [10:28:50]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:28:50]wFMCommunicate OK [10:28:50]SAM_PROTO_GetShiftState done [10:28:50]FM_GetShiftState done [10:28:50]opened in 1723336186 [10:28:50]opened+sec_in_day 1723422586 [10:28:50]quantity*price = 15000 [10:28:50]sum+1 = 15001 [10:28:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 0.00 Безнал.: 150.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 24 11.08.2024 10:28 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52613 ФПД: 276443778160923 /tax-web-control/client/api/v1/ticket?date=20240811T102854&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52613&fm=276443778160923&tin=02508201610067®Number=0000000000090834&sum=15000 0 [10:28:51]StoreToDocumentArchive [10:28:51]shift 446 fd 52613 [10:28:51]save to /storage/0446/doc_00052613 [10:28:51]save last doc name /storage/0446/doc_00052613 to /storage/kkm_last_doc_name [10:28:51]save OK [10:28:51]Clear old archive folders... [10:28:51]ProcessDocumentItem done err = 0, tmpTLVsize=283 [10:28:51]tlvbuf is 010A27E0 [10:28:51]SAM_PROTO_ClearQueue [10:28:51]wFMCommunicate request_size=4 [10:28:51]MH_SAM_APDU [10:28:51]CAPDU: 80 09 00 00 [10:28:51]Write to MH i2c: E2 08 00 07 11 80 09 00 00 00 00 00 00 8A [10:28:51]Write i2c OK [10:28:51]MH_I2C_Read... [10:28:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:28:51]Read from MH i2c: E2 [10:28:51]MH_I2C_Read... [10:28:51]Read from MH i2c: E2 03 00 [10:28:51]MH_I2C_Read... [10:28:51]Read from MH i2c: E2 03 00 07 11 00 90 00 8C [10:28:51]RAPDU: 90 00 [10:28:51]wFMCommunicate OK [10:28:51]SAM_PROTO_ClearQueue done [10:28:51]KKMCreateOFDPacket [10:28:51]OFDProtocolAddRootSTLVToBuf [10:28:51]FM_MakeSignedData [10:28:51]FM_MakeSignedData [10:28:51]SAM_PROTO_SignData [10:28:51]wFMCommunicate request_size=4 [10:28:51]MH_SAM_APDU [10:28:51]CAPDU: 80 0D 01 02 [10:28:51]Write to MH i2c: E2 08 00 08 11 80 0D 01 02 00 00 00 00 92 [10:28:51]Write i2c OK [10:28:51]MH_I2C_Read... [10:28:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:28:52]Read from MH i2c: E2 [10:28:52]MH_I2C_Read... [10:28:52]Read from MH i2c: E2 03 00 [10:28:52]MH_I2C_Read... [10:28:52]Read from MH i2c: E2 03 00 08 11 00 90 00 8D [10:28:52]RAPDU: 90 00 [10:28:52]wFMCommunicate OK [10:28:52]wFMCommunicate request_size=255 [10:28:52]MH_SAM_APDU [10:28:52]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 66 92 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 [10:28:52]Write to MH i2c: E2 02 01 09 11 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 66 92 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 00 00 CD [10:28:52]Write i2c OK [10:28:52]MH_I2C_Read... [10:28:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:28:52]Read from MH i2c: E2 [10:28:52]MH_I2C_Read... [10:28:52]Read from MH i2c: E2 03 00 [10:28:52]MH_I2C_Read... [10:28:52]Read from MH i2c: E2 03 00 09 11 00 90 00 8E [10:28:52]RAPDU: 90 00 [10:28:52]wFMCommunicate OK [10:28:52]wFMCommunicate request_size=42 [10:28:52]MH_SAM_APDU [10:28:52]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 85 CD 00 00 35 04 06 00 FB 6C 95 32 99 1B [10:28:52]Write to MH i2c: E2 2D 00 0A 11 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 85 CD 00 00 35 04 06 00 FB 6C 95 32 99 1B 00 00 9E [10:28:52]Write i2c OK [10:28:52]MH_I2C_Read... [10:28:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:28:52]Read from MH i2c: E2 [10:28:52]MH_I2C_Read... [10:28:52]Read from MH i2c: E2 03 00 [10:28:52]MH_I2C_Read... [10:28:52]Read from MH i2c: E2 03 00 0A 11 00 90 00 8F [10:28:52]RAPDU: 90 00 [10:28:52]wFMCommunicate OK [10:28:52]wFMCommunicate request_size=4 [10:28:52]MH_SAM_APDU [10:28:52]CAPDU: 80 0D 03 02 [10:28:52]Write to MH i2c: E2 08 00 0B 11 80 0D 03 02 00 00 00 00 97 [10:28:52]Write i2c OK [10:28:52]MH_I2C_Read... [10:28:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:28:52]Read from MH i2c: E2 [10:28:52]MH_I2C_Read... [10:28:52]Read from MH i2c: E2 0B 00 [10:28:52]MH_I2C_Read... [10:28:52]Read from MH i2c: E2 0B 00 0B 11 00 CD 0D A8 9E E4 7B DE C7 90 00 BC [10:28:52]RAPDU: CD 0D A8 9E E4 7B DE C7 90 00 [10:28:52]wFMCommunicate OK [10:28:52]SAM_PROTO_SignData done [10:28:52]FM_MakeSignedData done [10:28:52]CreateOFDProtocolMessage [10:28:52]wFMCommunicate request_size=4 [10:28:52]MH_SAM_APDU [10:28:52]CAPDU: 80 11 00 00 [10:28:52]Write to MH i2c: E2 08 00 0C 11 80 11 00 00 00 00 00 00 97 [10:28:52]Write i2c OK [10:28:52]MH_I2C_Read... [10:28:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:28:52]Read from MH i2c: E2 [10:28:52]MH_I2C_Read... [10:28:52]Read from MH i2c: E2 17 00 [10:28:52]MH_I2C_Read... [10:28:52]Read from MH i2c: E2 17 00 0C 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 EA [10:28:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:28:52]wFMCommunicate OK [10:28:52]CreateOFDProtocolMessage done [10:28:52]OFDSenderStorePacket 52613 [10:28:52]StoreOFDPacket docnum=52613 [10:28:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2F 01 00 00 AB AB 27 01 76 0F 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 66 92 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 85 CD 00 00 35 04 06 00 FB 6C 95 32 99 1B CD 0D A8 9E E4 7B DE C7 [10:28:52]CheckFolder [10:28:52]dirname=/storage/ofd_packets [10:28:52]CheckFolder done [10:28:52]ProducePacketName [10:28:52]name=ofd_packets/00052613 [10:28:52]NVStorageSaveData ofd_packets/00052613 [10:28:52]File name is /storage/ofd_packets/00052613 [10:28:52]Write 333 bytes [10:28:52]NVStorageSaveData done [10:28:52]OFDSenderStorePacket done [10:28:52]KKMCreateOFDPacket done [10:28:52]NVStorageSaveData kkm_last_timestamp [10:28:52]File name is /storage/kkm_last_timestamp [10:28:52]Write 4 bytes [10:28:52]NVStorageSaveData done [10:28:52]ExternCall_PrintAddStr [10:28:52]wPrintStart [10:28:52]Write to MH i2c: 01 00 00 0D 11 1E [10:28:52]Write i2c OK [10:28:52]MH_I2C_Read... [10:28:52]Read from MH i2c: 01 [10:28:52]MH_I2C_Read... [10:28:52]Read from MH i2c: 01 07 00 [10:28:52]MH_I2C_Read... [10:28:52]Read from MH i2c: 01 07 00 0D 11 00 00 00 00 00 FF 0F 33 [10:28:52]RasterBufferAndPrint [10:28:52]line Счет N : (3)122744 [10:28:52]line ИНН: 02508201610067 [10:28:52]line Контрольно-Кассовый Чек [10:28:52]line ПРОДАЖА [10:28:52]line Товар: 4640030092567 [10:28:52]line Сигареты Esse Exchange Summer Red [10:28:52]line 1.000 * 150.00 [10:28:52]line = 150.00 [10:28:52]line НДС 12% НСП 1% [10:28:52]line > о реализуемом товаре [10:28:52]line ИТОГО: 150.00 [10:28:52]line НСП 1% : 1.33 [10:28:52]line НДС 12% : 15.93 [10:28:52]line Наличными: 0.00 [10:28:52]line Безнал.: 150.00 [10:28:52]line Место: АЗС № 54 "Партнер Нефть" [10:28:52]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [10:28:52]line СНО: Общий режим [10:28:52]line Чек 24 11.08.2024 10:28 [10:28:52]line Смена: 446 ФФД: 1.0 [10:28:52]line ЗНМ: 0300000007 [10:28:52]line РНМ: 0000000000090834 [10:28:52]line Версия ККМ: 001 [10:28:52]line Платежная система: О! деньги [10:28:52]line ФМ: 0000000000874715 [10:28:52]line ФД: 52613 [10:28:52]line ФПД: 276443778160923 [10:28:52]line /tax-web-control/client/api/v1/ticket?date=20240811T102854&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52613&fm=276443778160923&tin=02508201610067®Number=0000000000090834&sum=15000 [10:28:52]line 0 [10:28:52]OFD Sender: Processing packet 52613 [packets to send 55, broken 54] [10:28:52]ProducePacketName [10:28:52]name=ofd_packets/00052613 [10:28:52]OFD Sender: To server: pG, [10:28:52]CommunicateWithHost lk.salyk.kg:30040 [10:28:52]ConnectInit lk.salyk.kg [10:28:52]written 0, free lines is 4095 [10:28:52]Connected sock=10 [10:28:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2F 01 00 00 AB AB 27 01 76 0F 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 98 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 66 92 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 85 CD 00 00 35 04 06 00 FB 6C 95 32 99 1B CD 0D A8 9E E4 7B DE C7 [10:28:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 BA A0 47 00 B7 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 34 37 31 35 10 04 04 00 85 CD 00 00 F4 03 04 00 01 3A B8 66 B6 04 01 00 00 F0 D3 E7 BD 8A 54 38 E4 [10:28:53]CommunicateWithHost err = 0 [10:28:53]CheckOFDResponse [10:28:53]1017 (14) - 77093643461234 [10:28:53]1041 (16) - 0000000000874715 [10:28:53]1040 (4) - 52613 [10:28:53]1012 (4) - 11.08.2024 04:11 [10:28:53]1206 (1) - 0 [10:28:53]OFD Sender: Remove packet 52613 [10:28:53]ProducePacketName [10:28:53]name=ofd_packets/00052613 [10:28:53]NVStorageDeleteData [10:28:53]Write to MH i2c: 01 00 00 37 11 48 [10:28:53]Write i2c OK [10:28:53]MH_I2C_Read... [10:28:53]Read from MH i2c: 01 [10:28:53]MH_I2C_Read... [10:28:53]Read from MH i2c: 01 07 00 [10:28:53]MH_I2C_Read... [10:28:53]Read from MH i2c: 01 07 00 37 11 00 00 00 00 00 B4 0C 0F [10:28:53]RasterBufferAndPrint [10:28:53]line [10:28:53]line [10:28:53]line [10:28:53]line [10:28:53]line [10:28:53]written 0, free lines is 3258 [10:28:53]MH_Cut [10:28:53]Write to MH i2c: D1 01 00 3E 11 01 21 [10:28:53]Write i2c OK [10:28:53]MH_I2C_Read... [10:28:53]Read from MH i2c: D1 [10:28:53]MH_I2C_Read... [10:28:53]Read from MH i2c: D1 01 00 [10:28:53]MH_I2C_Read... [10:28:53]Read from MH i2c: D1 01 00 3E 11 00 20 [10:28:53]Write to MH i2c: 01 00 00 3F 11 50 [10:28:53]Write i2c OK [10:28:53]MH_I2C_Read... [10:28:53]OFD Sender: No OFD packet to send [10:28:54]*** Cut start [10:28:54]*** Purtial cut [10:28:54]*** Stage 1: CUTSNS_PIN = 1 [10:28:54]Read from MH i2c: 01 [10:28:54]MH_I2C_Read... [10:28:54]*** Stop cut motor [10:28:54]*** Cut end [10:28:54]Read from MH i2c: 01 07 00 [10:28:54]MH_I2C_Read... [10:28:54]Read from MH i2c: 01 07 00 3F 11 00 00 00 00 00 FF 0F 65 [10:28:54]process_action close_receipt done [10:28:54]requested_data is exist [10:28:54]produce_requested_data [10:28:54]requested_item fm.sn is exist - process it [10:28:54]wFMCommunicate request_size=4 [10:28:54]MH_SAM_APDU [10:28:54]CAPDU: 80 11 00 00 [10:28:54]Write to MH i2c: E2 08 00 40 11 80 11 00 00 00 00 00 00 CB [10:28:54]Write i2c OK [10:28:54]MH_I2C_Read... [10:28:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:28:54]Read from MH i2c: E2 [10:28:54]MH_I2C_Read... [10:28:54]Read from MH i2c: E2 17 00 [10:28:54]MH_I2C_Read... [10:28:54]Read from MH i2c: E2 17 00 40 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 1E [10:28:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:28:54]wFMCommunicate OK [10:28:54]requested_item fd.num is exist - process it [10:28:54]SAM_PROTO_GetFieldsCounters [10:28:54]wFMCommunicate request_size=4 [10:28:54]MH_SAM_APDU [10:28:54]CAPDU: 80 13 00 00 [10:28:54]Write to MH i2c: E2 08 00 41 11 80 13 00 00 00 00 00 00 CE [10:28:54]Write i2c OK [10:28:54]MH_I2C_Read... [10:28:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:28:54]Read from MH i2c: E2 [10:28:54]MH_I2C_Read... [10:28:54]Read from MH i2c: E2 62 00 [10:28:54]MH_I2C_Read... [10:28:54]Read from MH i2c: E2 62 00 41 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 85 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 47 [10:28:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 85 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:28:54]wFMCommunicate OK [10:28:54]SAM_PROTO_GetFieldsCounters done [10:28:54]requested_item shift.num is exist - process it [10:28:54]requested_item shift.opened is exist - process it [10:28:54]req_shift_opened [10:28:54]FM_GetShiftState [10:28:54]SAM_PROTO_GetShiftState [10:28:54]wFMCommunicate request_size=4 [10:28:54]MH_SAM_APDU [10:28:54]CAPDU: 80 13 01 00 [10:28:54]Write to MH i2c: E2 08 00 42 11 80 13 01 00 00 00 00 00 D0 [10:28:54]Write i2c OK [10:28:54]MH_I2C_Read... [10:28:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:28:54]Read from MH i2c: E2 [10:28:54]MH_I2C_Read... [10:28:54]Read from MH i2c: E2 0E 00 [10:28:54]MH_I2C_Read... [10:28:54]Read from MH i2c: E2 0E 00 42 11 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 F9 [10:28:54]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:28:54]wFMCommunicate OK [10:28:54]SAM_PROTO_GetShiftState done [10:28:54]FM_GetShiftState done [10:28:54]req_shift_opened done [10:28:54]requested_item shift.open_date is exist - process it [10:28:54]req_shift_open_date [10:28:54]req_shift_open_date done [10:28:54]produce_requested_data done [10:28:54]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52613,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [10:28:54]process_action_free close_receipt [10:28:54]json_value_free [10:28:54]json_value_free done [10:28:54]process_json_proto returns [10:28:54]Send response to host [10:28:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52613,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [10:28:54]free response buf [10:28:54]execute_script done [10:28:54]execute_script returns [10:28:54]free content buf [10:28:54]Sock 9.Close socket [10:28:54]Sock 9.Thread stoped [10:28:58]OFD Sender: No OFD packet to send [10:29:03]OFD Sender: No OFD packet to send [10:29:08]OFD Sender: No OFD packet to send [10:29:13]OFD Sender: No OFD packet to send [10:29:18]OFD Sender: No OFD packet to send [10:29:23]OFD Sender: No OFD packet to send [10:29:28]OFD Sender: No OFD packet to send [10:29:33]OFD Sender: No OFD packet to send [10:29:38]OFD Sender: No OFD packet to send [10:29:43]OFD Sender: No OFD packet to send [10:29:48]OFD Sender: No OFD packet to send [10:29:53]OFD Sender: No OFD packet to send [10:29:58]OFD Sender: No OFD packet to send [10:30:03]OFD Sender: No OFD packet to send [10:30:08]OFD Sender: No OFD packet to send [10:30:13]OFD Sender: No OFD packet to send [10:30:18]OFD Sender: No OFD packet to send [10:30:23]OFD Sender: No OFD packet to send [10:30:28]OFD Sender: No OFD packet to send [10:30:33]OFD Sender: No OFD packet to send [10:30:38]accept exits with 8 [10:30:38]New connection [10:30:38]New thread 3067395428 created [10:30:38]Thread 3067252068 joined [10:30:38]Waiting for new connection... [10:30:38] Sock 8.Parse request [10:30:38]Sock 8.Check first char [10:30:38]Sock 8.First char is OK [10:30:38]request: POST /json_proto HTTP/1.0 [10:30:38]Method: POST [10:30:38]URL: /json_proto [10:30:38]Method is POST - this is cgi request [10:30:38]url: /json_proto [10:30:38]query_string will be loaded in cgi processing [10:30:38]execute_cgi json_proto POST (null) [10:30:38]execute_cgi path=json_proto method=POST [10:30:38]POST find Content-Length [10:30:38]Host: 172.17.60.7:8080 [10:30:38]Content-Length: 789 [10:30:38]Content-Type: application/json [10:30:38] [10:30:38]POST finish read [10:30:38]Found Content-Length = 789 [10:30:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122745", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:30:38]execute_script... [10: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 : (3)122745", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:30:38]POST & json_proto [10:30:38]process_json_proto [10:30:38]json parsed OK: [10:30:38]protocol is kg_v1.0 [10:30:38]action value=close_receipt [10:30:38]process_action close_receipt [10:30:38]cmd_close_receipt [10:30:38]MH_GetDate [10:30:38]Write to MH i2c: F0 00 00 43 11 43 [10:30:38]Write i2c OK [10:30:38]MH_I2C_Read... [10:30:38]Read from MH i2c: F0 [10:30:38]MH_I2C_Read... [10:30:38]Read from MH i2c: F0 09 00 [10:30:38]MH_I2C_Read... [10:30:38]Read from MH i2c: F0 09 00 43 11 00 D2 92 B8 66 63 9B 67 64 97 [10:30:38]GetLastDocTimeStamp 1723372134 [10:30:38]current date 1723372242 [10:30:38]FM_GetShiftState [10:30:38]SAM_PROTO_GetShiftState [10:30:38]wFMCommunicate request_size=4 [10:30:38]MH_SAM_APDU [10:30:38]CAPDU: 80 13 01 00 [10:30:38]Write to MH i2c: E2 08 00 44 11 80 13 01 00 00 00 00 00 D2 [10:30:38]Write i2c OK [10:30:38]MH_I2C_Read... [10:30:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:30:38]Read from MH i2c: E2 [10:30:38]MH_I2C_Read... [10:30:38]Read from MH i2c: E2 0E 00 [10:30:38]MH_I2C_Read... [10:30:38]Read from MH i2c: E2 0E 00 44 11 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 FB [10:30:38]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:30:38]wFMCommunicate OK [10:30:38]SAM_PROTO_GetShiftState done [10:30:38]FM_GetShiftState done [10:30:38]opened in 1723336186 [10:30:38]opened+sec_in_day 1723422586 [10:30:38]quantity*price = 14000 [10:30:38]sum+1 = 14001 [10:30:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 25 11.08.2024 10:30 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52614 ФПД: 102769976808223 /tax-web-control/client/api/v1/ticket?date=20240811T103042&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52614&fm=102769976808223&tin=02508201610067®Number=0000000000090834&sum=14000 0 [10:30:39]StoreToDocumentArchive [10:30:39]shift 446 fd 52614 [10:30:39]save to /storage/0446/doc_00052614 [10:30:39]save last doc name /storage/0446/doc_00052614 to /storage/kkm_last_doc_name [10:30:39]save OK [10:30:39]Clear old archive folders... [10:30:39]ProcessDocumentItem done err = 0, tmpTLVsize=275 [10:30:39]tlvbuf is 010A90D0 [10:30:39]SAM_PROTO_ClearQueue [10:30:39]wFMCommunicate request_size=4 [10:30:39]MH_SAM_APDU [10:30:39]CAPDU: 80 09 00 00 [10:30:39]Write to MH i2c: E2 08 00 51 11 80 09 00 00 00 00 00 00 D4 [10:30:39]Write i2c OK [10:30:39]MH_I2C_Read... [10:30:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:30:39]Read from MH i2c: E2 [10:30:39]MH_I2C_Read... [10:30:39]Read from MH i2c: E2 03 00 [10:30:39]MH_I2C_Read... [10:30:39]Read from MH i2c: E2 03 00 51 11 00 90 00 D6 [10:30:39]RAPDU: 90 00 [10:30:39]wFMCommunicate OK [10:30:39]SAM_PROTO_ClearQueue done [10:30:39]KKMCreateOFDPacket [10:30:39]OFDProtocolAddRootSTLVToBuf [10:30:39]FM_MakeSignedData [10:30:39]FM_MakeSignedData [10:30:39]SAM_PROTO_SignData [10:30:39]wFMCommunicate request_size=4 [10:30:39]MH_SAM_APDU [10:30:39]CAPDU: 80 0D 01 02 [10:30:39]Write to MH i2c: E2 08 00 52 11 80 0D 01 02 00 00 00 00 DC [10:30:39]Write i2c OK [10:30:39]MH_I2C_Read... [10:30:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:30:39]Read from MH i2c: E2 [10:30:39]MH_I2C_Read... [10:30:39]Read from MH i2c: E2 03 00 [10:30:39]MH_I2C_Read... [10:30:39]Read from MH i2c: E2 03 00 52 11 00 90 00 D7 [10:30:39]RAPDU: 90 00 [10:30:39]wFMCommunicate OK [10:30:39]wFMCommunicate request_size=255 [10:30:39]MH_SAM_APDU [10:30:39]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 D2 92 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 [10:30:39]Write to MH i2c: E2 02 01 53 11 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 D2 92 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 00 00 C5 [10:30:39]Write i2c OK [10:30:39]MH_I2C_Read... [10:30:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:30:40]Read from MH i2c: E2 [10:30:40]MH_I2C_Read... [10:30:40]Read from MH i2c: E2 03 00 [10:30:40]MH_I2C_Read... [10:30:40]Read from MH i2c: E2 03 00 53 11 00 90 00 D8 [10:30:40]RAPDU: 90 00 [10:30:40]wFMCommunicate OK [10:30:40]wFMCommunicate request_size=34 [10:30:40]MH_SAM_APDU [10:30:40]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 86 CD 00 00 35 04 06 00 5D 77 FF F6 13 1F [10:30:40]Write to MH i2c: E2 25 00 54 11 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 86 CD 00 00 35 04 06 00 5D 77 FF F6 13 1F 00 00 EE [10:30:40]Write i2c OK [10:30:40]MH_I2C_Read... [10:30:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:30:40]Read from MH i2c: E2 [10:30:40]MH_I2C_Read... [10:30:40]Read from MH i2c: E2 03 00 [10:30:40]MH_I2C_Read... [10:30:40]Read from MH i2c: E2 03 00 54 11 00 90 00 D9 [10:30:40]RAPDU: 90 00 [10:30:40]wFMCommunicate OK [10:30:40]wFMCommunicate request_size=4 [10:30:40]MH_SAM_APDU [10:30:40]CAPDU: 80 0D 03 02 [10:30:40]Write to MH i2c: E2 08 00 55 11 80 0D 03 02 00 00 00 00 E1 [10:30:40]Write i2c OK [10:30:40]MH_I2C_Read... [10:30:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:30:40]Read from MH i2c: E2 [10:30:40]MH_I2C_Read... [10:30:40]Read from MH i2c: E2 0B 00 [10:30:40]MH_I2C_Read... [10:30:40]Read from MH i2c: E2 0B 00 55 11 00 1A 77 21 FD BE 97 6E 15 90 00 69 [10:30:40]RAPDU: 1A 77 21 FD BE 97 6E 15 90 00 [10:30:40]wFMCommunicate OK [10:30:40]SAM_PROTO_SignData done [10:30:40]FM_MakeSignedData done [10:30:40]CreateOFDProtocolMessage [10:30:40]wFMCommunicate request_size=4 [10:30:40]MH_SAM_APDU [10:30:40]CAPDU: 80 11 00 00 [10:30:40]Write to MH i2c: E2 08 00 56 11 80 11 00 00 00 00 00 00 E1 [10:30:40]Write i2c OK [10:30:40]MH_I2C_Read... [10:30:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:30:40]Read from MH i2c: E2 [10:30:40]MH_I2C_Read... [10:30:40]Read from MH i2c: E2 17 00 [10:30:40]MH_I2C_Read... [10:30:40]Read from MH i2c: E2 17 00 56 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 34 [10:30:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:30:40]wFMCommunicate OK [10:30:40]CreateOFDProtocolMessage done [10:30:40]OFDSenderStorePacket 52614 [10:30:40]StoreOFDPacket docnum=52614 [10:30:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 27 01 00 00 D5 BD 1F 01 AC 54 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 D2 92 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 86 CD 00 00 35 04 06 00 5D 77 FF F6 13 1F 1A 77 21 FD BE 97 6E 15 [10:30:40]CheckFolder [10:30:40]dirname=/storage/ofd_packets [10:30:40]CheckFolder done [10:30:40]ProducePacketName [10:30:40]name=ofd_packets/00052614 [10:30:40]NVStorageSaveData ofd_packets/00052614 [10:30:40]File name is /storage/ofd_packets/00052614 [10:30:40]Write 325 bytes [10:30:40]NVStorageSaveData done [10:30:40]OFDSenderStorePacket done [10:30:40]KKMCreateOFDPacket done [10:30:40]NVStorageSaveData kkm_last_timestamp [10:30:40]File name is /storage/kkm_last_timestamp [10:30:40]Write 4 bytes [10:30:40]NVStorageSaveData done [10:30:40]ExternCall_PrintAddStr [10:30:40]wPrintStart [10:30:40]Write to MH i2c: 01 00 00 57 11 68 [10:30:40]OFD Sender: Processing packet 52614 [packets to send 55, broken 54] [10:30:40]ProducePacketName [10:30:40]name=ofd_packets/00052614 [10:30:40]OFD Sender: To server: pG, [10:30:40]CommunicateWithHost lk.salyk.kg:30040 [10:30:40]ConnectInit lk.salyk.kg [10:30:40]Write i2c OK [10:30:40]MH_I2C_Read... [10:30:40]Read from MH i2c: 01 [10:30:40]MH_I2C_Read... [10:30:40]Read from MH i2c: 01 07 00 [10:30:40]MH_I2C_Read... [10:30:40]Read from MH i2c: 01 07 00 57 11 00 00 00 00 00 FF 0F 7D [10:30:40]RasterBufferAndPrint [10:30:40]line Счет N : (3)122745 [10:30:40]line ИНН: 02508201610067 [10:30:40]line Контрольно-Кассовый Чек [10:30:40]line ПРОДАЖА [10:30:40]line Товар: 48743587 [10:30:40]line Сигареты Winston XStyle Silver [10:30:40]line 1.000 * 140.00 [10:30:40]line = 140.00 [10:30:40]line НДС 12% НСП 1% [10:30:40]line > о реализуемом товаре [10:30:40]line ИТОГО: 140.00 [10:30:40]line НСП 1% : 1.24 [10:30:40]line НДС 12% : 14.87 [10:30:40]line Наличными: 0.00 [10:30:40]line Безнал.: 140.00 [10:30:40]line Место: АЗС № 54 "Партнер Нефть" [10:30:40]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [10:30:40]line СНО: Общий режим [10:30:40]line Чек 25 11.08.2024 10:30 [10:30:40]line Смена: 446 ФФД: 1.0 [10:30:40]line ЗНМ: 0300000007 [10:30:40]line РНМ: 0000000000090834 [10:30:40]line Версия ККМ: 001 [10:30:40]line Платежная система: О! деньги [10:30:40]line ФМ: 0000000000874715 [10:30:40]line ФД: 52614 [10:30:40]line ФПД: 102769976808223 [10:30:40]line /tax-web-control/client/api/v1/ticket?date=20240811T103042&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52614&fm=102769976808223&tin=02508201610067®Number=0000000000090834&sum=14000 [10:30:40]line 0 [10:30:40]written 0, free lines is 4095 [10:30:40]Connected sock=10 [10: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 34 37 31 35 27 01 00 00 D5 BD 1F 01 AC 54 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 D2 92 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 86 CD 00 00 35 04 06 00 5D 77 FF F6 13 1F 1A 77 21 FD BE 97 6E 15 [10:30:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 81 80 47 00 1B 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 34 37 31 35 10 04 04 00 86 CD 00 00 F4 03 04 00 6D 3A B8 66 B6 04 01 00 00 40 9B 2F DA 8E 85 32 3F [10:30:40]CommunicateWithHost err = 0 [10:30:40]CheckOFDResponse [10:30:40]1017 (14) - 77093643461234 [10:30:40]1041 (16) - 0000000000874715 [10:30:40]1040 (4) - 52614 [10:30:40]1012 (4) - 11.08.2024 04:13 [10:30:40]1206 (1) - 0 [10:30:40]OFD Sender: Remove packet 52614 [10:30:40]ProducePacketName [10:30:40]name=ofd_packets/00052614 [10:30:40]NVStorageDeleteData [10:30:41]Write to MH i2c: 01 00 00 81 11 92 [10:30:41]Write i2c OK [10:30:41]MH_I2C_Read... [10:30:41]Read from MH i2c: 01 [10:30:41]MH_I2C_Read... [10:30:41]Read from MH i2c: 01 07 00 [10:30:41]MH_I2C_Read... [10:30:41]Read from MH i2c: 01 07 00 81 11 00 00 00 00 00 BE 0C 63 [10:30:41]RasterBufferAndPrint [10:30:41]line [10:30:41]line [10:30:41]line [10:30:41]line [10:30:41]line [10:30:41]written 0, free lines is 3270 [10:30:41]MH_Cut [10:30:41]Write to MH i2c: D1 01 00 88 11 01 6B [10:30:41]Write i2c OK [10:30:41]MH_I2C_Read... [10:30:41]Read from MH i2c: D1 [10:30:41]MH_I2C_Read... [10:30:41]Read from MH i2c: D1 01 00 [10:30:41]MH_I2C_Read... [10:30:41]Read from MH i2c: D1 01 00 88 11 00 6A [10:30:41]Write to MH i2c: 01 00 00 89 11 9A [10:30:41]Write i2c OK [10:30:41]MH_I2C_Read... [10:30:41]OFD Sender: No OFD packet to send [10:30:42]*** Cut start [10:30:42]*** Purtial cut [10:30:42]*** Stage 1: CUTSNS_PIN = 1 [10:30:42]Read from MH i2c: 01 [10:30:42]MH_I2C_Read... [10:30:42]*** Stop cut motor [10:30:42]*** Cut end [10:30:42]Read from MH i2c: 01 07 00 [10:30:42]MH_I2C_Read... [10:30:42]Read from MH i2c: 01 07 00 89 11 00 00 00 00 00 FF 0F AF [10:30:42]process_action close_receipt done [10:30:42]requested_data is exist [10:30:42]produce_requested_data [10:30:42]requested_item fm.sn is exist - process it [10:30:42]wFMCommunicate request_size=4 [10:30:42]MH_SAM_APDU [10:30:42]CAPDU: 80 11 00 00 [10:30:42]Write to MH i2c: E2 08 00 8A 11 80 11 00 00 00 00 00 00 15 [10:30:42]Write i2c OK [10:30:42]MH_I2C_Read... [10:30:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:30:42]Read from MH i2c: E2 [10:30:42]MH_I2C_Read... [10:30:42]Read from MH i2c: E2 17 00 [10:30:42]MH_I2C_Read... [10:30:42]Read from MH i2c: E2 17 00 8A 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 68 [10:30:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:30:42]wFMCommunicate OK [10:30:42]requested_item fd.num is exist - process it [10:30:42]SAM_PROTO_GetFieldsCounters [10:30:42]wFMCommunicate request_size=4 [10:30:42]MH_SAM_APDU [10:30:42]CAPDU: 80 13 00 00 [10:30:42]Write to MH i2c: E2 08 00 8B 11 80 13 00 00 00 00 00 00 18 [10:30:42]Write i2c OK [10:30:42]MH_I2C_Read... [10:30:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:30:42]Read from MH i2c: E2 [10:30:42]MH_I2C_Read... [10:30:42]Read from MH i2c: E2 62 00 [10:30:42]MH_I2C_Read... [10:30:42]Read from MH i2c: E2 62 00 8B 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 86 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 95 [10: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 86 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:30:42]wFMCommunicate OK [10:30:42]SAM_PROTO_GetFieldsCounters done [10:30:42]requested_item shift.num is exist - process it [10:30:42]requested_item shift.opened is exist - process it [10:30:42]req_shift_opened [10:30:42]FM_GetShiftState [10:30:42]SAM_PROTO_GetShiftState [10:30:42]wFMCommunicate request_size=4 [10:30:42]MH_SAM_APDU [10:30:42]CAPDU: 80 13 01 00 [10:30:42]Write to MH i2c: E2 08 00 8C 11 80 13 01 00 00 00 00 00 1A [10:30:42]Write i2c OK [10:30:42]MH_I2C_Read... [10:30:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:30:42]Read from MH i2c: E2 [10:30:42]MH_I2C_Read... [10:30:42]Read from MH i2c: E2 0E 00 [10:30:42]MH_I2C_Read... [10:30:42]Read from MH i2c: E2 0E 00 8C 11 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 43 [10:30:42]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:30:42]wFMCommunicate OK [10:30:42]SAM_PROTO_GetShiftState done [10:30:42]FM_GetShiftState done [10:30:42]req_shift_opened done [10:30:42]requested_item shift.open_date is exist - process it [10:30:42]req_shift_open_date [10:30:42]req_shift_open_date done [10:30:42]produce_requested_data done [10:30:42]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52614,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [10:30:42]process_action_free close_receipt [10:30:42]json_value_free [10:30:42]json_value_free done [10:30:42]process_json_proto returns [10:30:42]Send response to host [10:30:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52614,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [10:30:42]free response buf [10:30:42]execute_script done [10:30:42]execute_script returns [10:30:42]free content buf [10:30:42]Sock 8.Close socket [10:30:42]Sock 8.Thread stoped [10:30:46]OFD Sender: No OFD packet to send [10:30:51]OFD Sender: No OFD packet to send [10:30:56]OFD Sender: No OFD packet to send [10:31:01]OFD Sender: No OFD packet to send [10:31:06]OFD Sender: No OFD packet to send [10:31:11]OFD Sender: No OFD packet to send [10:31:16]OFD Sender: No OFD packet to send [10:31:21]OFD Sender: No OFD packet to send [10:31:26]OFD Sender: No OFD packet to send [10:31:31]OFD Sender: No OFD packet to send [10:31:36]OFD Sender: No OFD packet to send [10:31:41]OFD Sender: No OFD packet to send [10:31:46]OFD Sender: No OFD packet to send [10:31:51]OFD Sender: No OFD packet to send [10:31:56]OFD Sender: No OFD packet to send [10:32:01]OFD Sender: No OFD packet to send [10:32:06]OFD Sender: No OFD packet to send [10:32:11]OFD Sender: No OFD packet to send [10:32:16]OFD Sender: No OFD packet to send [10:32:21]OFD Sender: No OFD packet to send [10:32:26]OFD Sender: No OFD packet to send [10:32:31]OFD Sender: No OFD packet to send [10:32:36]OFD Sender: No OFD packet to send [10:32:41]OFD Sender: No OFD packet to send [10:32:46]OFD Sender: No OFD packet to send [10:32:51]OFD Sender: No OFD packet to send [10:32:56]OFD Sender: No OFD packet to send [10:33:01]OFD Sender: No OFD packet to send [10:33:06]OFD Sender: No OFD packet to send [10:33:11]OFD Sender: No OFD packet to send [10:33:16]OFD Sender: No OFD packet to send [10:33:21]OFD Sender: No OFD packet to send [10:33:26]OFD Sender: No OFD packet to send [10:33:31]OFD Sender: No OFD packet to send [10:33:36]OFD Sender: No OFD packet to send [10:33:41]OFD Sender: No OFD packet to send [10:33:46]OFD Sender: No OFD packet to send [10:33:51]OFD Sender: No OFD packet to send [10:33:56]OFD Sender: No OFD packet to send [10:34:01]OFD Sender: No OFD packet to send [10:34:06]OFD Sender: No OFD packet to send [10:34:11]OFD Sender: No OFD packet to send [10:34:16]OFD Sender: No OFD packet to send [10:34:21]OFD Sender: No OFD packet to send [10:34:26]OFD Sender: No OFD packet to send [10:34:31]OFD Sender: No OFD packet to send [10:34:36]OFD Sender: No OFD packet to send [10:34:41]OFD Sender: No OFD packet to send [10:34:46]OFD Sender: No OFD packet to send [10:34:51]OFD Sender: No OFD packet to send [10:34:56]OFD Sender: No OFD packet to send [10:35:01]OFD Sender: No OFD packet to send [10:35:06]OFD Sender: No OFD packet to send [10:35:11]OFD Sender: No OFD packet to send [10:35:16]OFD Sender: No OFD packet to send [10:35:21]OFD Sender: No OFD packet to send [10:35:26]OFD Sender: No OFD packet to send [10:35:31]OFD Sender: No OFD packet to send [10:35:36]OFD Sender: No OFD packet to send [10:35:41]OFD Sender: No OFD packet to send [10:35:46]OFD Sender: No OFD packet to send [10:35:51]OFD Sender: No OFD packet to send [10:35:56]OFD Sender: No OFD packet to send [10:35:56]accept exits with 9 [10:35:56]New connection [10:35:56]New thread 3067252068 created [10:35:56]Thread 3067395428 joined [10:35:56]Waiting for new connection... [10:35:56] Sock 9.Parse request [10:35:56]Sock 9.Check first char [10:35:56]Sock 9.First char is OK [10:35:56]request: POST /json_proto HTTP/1.0 [10:35:56]Method: POST [10:35:56]URL: /json_proto [10:35:56]Method is POST - this is cgi request [10:35:56]url: /json_proto [10:35:56]query_string will be loaded in cgi processing [10:35:56]execute_cgi json_proto POST (null) [10:35:56]execute_cgi path=json_proto method=POST [10:35:56]POST find Content-Length [10:35:56]Host: 172.17.60.7:8080 [10:35:56]Content-Length: 1040 [10:35:56]Content-Type: application/json [10:35:56] [10:35:56]POST finish read [10:35:56]Found Content-Length = 1040 [10:35:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122746", "tax_sys" : 0, "items" : [ { "code": "4870001150099", "name": "\u0421\u043E\u043A Da-Da 1\u043B \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 42.00, "quantity" : 1.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 192.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:35:56]execute_script... [10:35:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122746", "tax_sys" : 0, "items" : [ { "code": "4870001150099", "name": "\u0421\u043E\u043A Da-Da 1\u043B \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 42.00, "quantity" : 1.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 192.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:35:56]POST & json_proto [10:35:56]process_json_proto [10:35:56]json parsed OK: [10:35:56]protocol is kg_v1.0 [10:35:56]action value=close_receipt [10:35:56]process_action close_receipt [10:35:56]cmd_close_receipt [10:35:56]MH_GetDate [10:35:56]Write to MH i2c: F0 00 00 8D 11 8D [10:35:56]Write i2c OK [10:35:56]MH_I2C_Read... [10:35:56]Read from MH i2c: F0 [10:35:56]MH_I2C_Read... [10:35:56]Read from MH i2c: F0 09 00 [10:35:56]MH_I2C_Read... [10:35:56]Read from MH i2c: F0 09 00 8D 11 00 10 94 B8 66 63 9B 67 64 21 [10:35:56]GetLastDocTimeStamp 1723372242 [10:35:56]current date 1723372560 [10:35:56]FM_GetShiftState [10:35:56]SAM_PROTO_GetShiftState [10:35:56]wFMCommunicate request_size=4 [10:35:56]MH_SAM_APDU [10:35:56]CAPDU: 80 13 01 00 [10:35:56]Write to MH i2c: E2 08 00 8E 11 80 13 01 00 00 00 00 00 1C [10:35:56]Write i2c OK [10:35:56]MH_I2C_Read... [10:35:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:35:56]Read from MH i2c: E2 [10:35:56]MH_I2C_Read... [10:35:56]Read from MH i2c: E2 0E 00 [10:35:56]MH_I2C_Read... [10:35:56]Read from MH i2c: E2 0E 00 8E 11 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 45 [10:35:56]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:35:56]wFMCommunicate OK [10:35:56]SAM_PROTO_GetShiftState done [10:35:56]FM_GetShiftState done [10:35:56]opened in 1723336186 [10:35:56]opened+sec_in_day 1723422586 [10:35:56]quantity*price = 15000 [10:35:56]sum+1 = 15001 [10:35:56]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000066473 Вода Бонаква 1л 1.000 * 42.00 = 42.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 192.00 НСП 1% : 1.70 НДС 12% : 20.39 Наличными: 0.00 Безнал.: 192.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 26 11.08.2024 10:36 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52615 ФПД: 110435608137728 /tax-web-control/client/api/v1/ticket?date=20240811T103600&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52615&fm=110435608137728&tin=02508201610067®Number=0000000000090834&sum=19200 0 [10:35:57]StoreToDocumentArchive [10:35:57]shift 446 fd 52615 [10:35:57]save to /storage/0446/doc_00052615 [10:35:57]save last doc name /storage/0446/doc_00052615 to /storage/kkm_last_doc_name [10:35:57]save OK [10:35:57]Clear old archive folders... [10:35:57]ProcessDocumentItem done err = 0, tmpTLVsize=370 [10:35:57]tlvbuf is 0106B9C0 [10:35:57]SAM_PROTO_ClearQueue [10:35:57]wFMCommunicate request_size=4 [10:35:57]MH_SAM_APDU [10:35:57]CAPDU: 80 09 00 00 [10:35:57]Write to MH i2c: E2 08 00 9B 11 80 09 00 00 00 00 00 00 1E [10:35:57]Write i2c OK [10:35:57]MH_I2C_Read... [10:35:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:35:58]Read from MH i2c: E2 [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: E2 03 00 [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: E2 03 00 9B 11 00 90 00 20 [10:35:58]RAPDU: 90 00 [10:35:58]wFMCommunicate OK [10:35:58]SAM_PROTO_ClearQueue done [10:35:58]KKMCreateOFDPacket [10:35:58]OFDProtocolAddRootSTLVToBuf [10:35:58]FM_MakeSignedData [10:35:58]FM_MakeSignedData [10:35:58]SAM_PROTO_SignData [10:35:58]wFMCommunicate request_size=4 [10:35:58]MH_SAM_APDU [10:35:58]CAPDU: 80 0D 01 02 [10:35:58]Write to MH i2c: E2 08 00 9C 11 80 0D 01 02 00 00 00 00 26 [10:35:58]Write i2c OK [10:35:58]MH_I2C_Read... [10:35:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:35:58]Read from MH i2c: E2 [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: E2 03 00 [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: E2 03 00 9C 11 00 90 00 21 [10:35:58]RAPDU: 90 00 [10:35:58]wFMCommunicate OK [10:35:58]wFMCommunicate request_size=255 [10:35:58]MH_SAM_APDU [10:35:58]CAPDU: 80 0D 02 02 FA 03 00 72 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 30 30 39 39 06 04 1D 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 [10:35:58]Write to MH i2c: E2 02 01 9D 11 80 0D 02 02 FA 00 03 00 72 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 30 30 39 39 06 04 1D 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 00 00 88 [10:35:58]Write i2c OK [10:35:58]MH_I2C_Read... [10:35:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:35:58]Read from MH i2c: E2 [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: E2 03 00 [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: E2 03 00 9D 11 00 90 00 22 [10:35:58]RAPDU: 90 00 [10:35:58]wFMCommunicate OK [10:35:58]wFMCommunicate request_size=129 [10:35:58]MH_SAM_APDU [10:35:58]CAPDU: 80 0D 02 02 7C 01 F3 03 06 00 F7 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 4B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 10 94 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 87 CD 00 00 35 04 06 00 64 70 CB 31 90 00 [10:35:58]Write to MH i2c: E2 84 00 9E 11 80 0D 02 02 7C 00 01 F3 03 06 00 F7 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 4B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 10 94 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 87 CD 00 00 35 04 06 00 64 70 CB 31 90 00 00 00 EF [10:35:58]Write i2c OK [10:35:58]MH_I2C_Read... [10:35:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:35:58]Read from MH i2c: E2 [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: E2 03 00 [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: E2 03 00 9E 11 00 90 00 23 [10:35:58]RAPDU: 90 00 [10:35:58]wFMCommunicate OK [10:35:58]wFMCommunicate request_size=4 [10:35:58]MH_SAM_APDU [10:35:58]CAPDU: 80 0D 03 02 [10:35:58]Write to MH i2c: E2 08 00 9F 11 80 0D 03 02 00 00 00 00 2B [10:35:58]Write i2c OK [10:35:58]MH_I2C_Read... [10:35:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:35:58]Read from MH i2c: E2 [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: E2 0B 00 [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: E2 0B 00 9F 11 00 A4 1E 10 E9 24 8A C9 27 90 00 85 [10:35:58]RAPDU: A4 1E 10 E9 24 8A C9 27 90 00 [10:35:58]wFMCommunicate OK [10:35:58]SAM_PROTO_SignData done [10:35:58]FM_MakeSignedData done [10:35:58]CreateOFDProtocolMessage [10:35:58]wFMCommunicate request_size=4 [10:35:58]MH_SAM_APDU [10:35:58]CAPDU: 80 11 00 00 [10:35:58]Write to MH i2c: E2 08 00 A0 11 80 11 00 00 00 00 00 00 2B [10:35:58]Write i2c OK [10:35:58]MH_I2C_Read... [10:35:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:35:58]Read from MH i2c: E2 [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: E2 17 00 [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: E2 17 00 A0 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 7E [10:35:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:35:58]wFMCommunicate OK [10:35:58]CreateOFDProtocolMessage done [10:35:58]OFDSenderStorePacket 52615 [10:35:58]StoreOFDPacket docnum=52615 [10:35:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 86 01 00 00 F4 2A 7E 01 5D AD 5A 03 01 00 03 00 72 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 30 30 39 39 06 04 1D 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F7 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 4B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 10 94 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 87 CD 00 00 35 04 06 00 64 70 CB 31 90 00 A4 1E 10 E9 24 8A C9 27 [10:35:58]CheckFolder [10:35:58]dirname=/storage/ofd_packets [10:35:58]CheckFolder done [10:35:58]ProducePacketName [10:35:58]name=ofd_packets/00052615 [10:35:58]NVStorageSaveData ofd_packets/00052615 [10:35:58]File name is /storage/ofd_packets/00052615 [10:35:58]Write 420 bytes [10:35:58]NVStorageSaveData done [10:35:58]OFDSenderStorePacket done [10:35:58]KKMCreateOFDPacket done [10:35:58]NVStorageSaveData kkm_last_timestamp [10:35:58]File name is /storage/kkm_last_timestamp [10:35:58]Write 4 bytes [10:35:58]NVStorageSaveData done [10:35:58]ExternCall_PrintAddStr [10:35:58]wPrintStart [10:35:58]Write to MH i2c: 01 00 00 A1 11 B2 [10:35:58]Write i2c OK [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: 01 [10:35:58]MH_I2C_Read... [10:35:58]Read from MH i2c: 01 07 00 [10:35:58]MH_I2C_Read... [10:35:58]OFD Sender: Processing packet 52615 [packets to send 55, broken 54] [10:35:58]ProducePacketName [10:35:58]name=ofd_packets/00052615 [10:35:58]OFD Sender: To server: pG, [10:35:58]CommunicateWithHost lk.salyk.kg:30040 [10:35:58]ConnectInit lk.salyk.kg [10:35:58]Read from MH i2c: 01 07 00 A1 11 00 00 00 00 00 FF 0F C7 [10:35:58]RasterBufferAndPrint [10:35:58]line Счет N : (3)122746 [10:35:58]line ИНН: 02508201610067 [10:35:58]line Контрольно-Кассовый Чек [10:35:58]line ПРОДАЖА [10:35:58]line Товар: 4870001150099 [10:35:58]line Сок Da-Da 1л персик [10:35:58]line 1.000 * 150.00 [10:35:58]line = 150.00 [10:35:58]line НДС 12% НСП 1% [10:35:58]line > о реализуемом товаре [10:35:58]line Товар: 5449000066473 [10:35:58]line Вода Бонаква 1л [10:35:58]line 1.000 * 42.00 [10:35:58]line = 42.00 [10:35:58]line НДС 12% НСП 1% [10:35:58]line > о реализуемом товаре [10:35:58]line ИТОГО: 192.00 [10:35:58]line НСП 1% : 1.70 [10:35:58]line НДС 12% : 20.39 [10:35:58]line Наличными: 0.00 [10:35:58]line Безнал.: 192.00 [10:35:58]line Место: АЗС № 54 "Партнер Нефть" [10:35:58]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [10:35:58]line СНО: Общий режим [10:35:58]line Чек 26 11.08.2024 10:36 [10:35:58]line Смена: 446 ФФД: 1.0 [10:35:58]line ЗНМ: 0300000007 [10:35:58]line РНМ: 0000000000090834 [10:35:58]line Версия ККМ: 001 [10:35:58]line Платежная система: О! деньги [10:35:58]line ФМ: 0000000000874715 [10:35:58]line ФД: 52615 [10:35:58]line ФПД: 110435608137728 [10:35:58]line /tax-web-control/client/api/v1/ticket?date=20240811T103600&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52615&fm=110435608137728&tin=02508201610067®Number=0000000000090834&sum=19200 [10:35:58]line 0 [10:35:58]written 0, free lines is 4095 [10:35:59]Connected sock=10 [10:35:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 86 01 00 00 F4 2A 7E 01 5D AD 5A 03 01 00 03 00 72 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 30 30 39 39 06 04 1D 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F7 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 4B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 10 94 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 87 CD 00 00 35 04 06 00 64 70 CB 31 90 00 A4 1E 10 E9 24 8A C9 27 [10:35:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 72 1F 47 00 14 1B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 87 CD 00 00 F4 03 04 00 AB 3B B8 66 B6 04 01 00 00 AB D5 2E D4 A7 FA CB CC [10:35:59]CommunicateWithHost err = 0 [10:35:59]CheckOFDResponse [10:35:59]1017 (14) - 77093643461234 [10:35:59]1041 (16) - 0000000000874715 [10:35:59]1040 (4) - 52615 [10:35:59]1012 (4) - 11.08.2024 04:18 [10:35:59]1206 (1) - 0 [10:35:59]OFD Sender: Remove packet 52615 [10:35:59]ProducePacketName [10:35:59]name=ofd_packets/00052615 [10:35:59]NVStorageDeleteData [10:35:59]Write to MH i2c: 01 00 00 D0 11 E1 [10:35:59]Write i2c OK [10:35:59]MH_I2C_Read... [10:35:59]Read from MH i2c: 01 [10:35:59]MH_I2C_Read... [10:35:59]Read from MH i2c: 01 07 00 [10:35:59]MH_I2C_Read... [10:35:59]Read from MH i2c: 01 07 00 D0 11 00 00 00 00 00 6B 0C 5F [10:35:59]RasterBufferAndPrint [10:35:59]line [10:35:59]line [10:35:59]line [10:35:59]line [10:35:59]line [10:35:59]written 0, free lines is 3184 [10:35:59]MH_Cut [10:35:59]Write to MH i2c: D1 01 00 D7 11 01 BA [10:35:59]Write i2c OK [10:35:59]MH_I2C_Read... [10:35:59]Read from MH i2c: D1 [10:35:59]MH_I2C_Read... [10:35:59]Read from MH i2c: D1 01 00 [10:35:59]MH_I2C_Read... [10:35:59]Read from MH i2c: D1 01 00 D7 11 00 B9 [10:35:59]Write to MH i2c: 01 00 00 D8 11 E9 [10:35:59]Write i2c OK [10:35:59]MH_I2C_Read... [10:35:59]OFD Sender: No OFD packet to send [10:36:00]*** Cut start [10:36:00]*** Purtial cut [10:36:00]*** Stage 1: CUTSNS_PIN = 1 [10:36:00]Read from MH i2c: 01 [10:36:00]MH_I2C_Read... [10:36:00]*** Stop cut motor [10:36:00]*** Cut end [10:36:00]Read from MH i2c: 01 07 00 [10:36:00]MH_I2C_Read... [10:36:00]Read from MH i2c: 01 07 00 D8 11 00 00 00 00 00 FF 0F FE [10:36:00]process_action close_receipt done [10:36:00]requested_data is exist [10:36:00]produce_requested_data [10:36:00]requested_item fm.sn is exist - process it [10:36:00]wFMCommunicate request_size=4 [10:36:00]MH_SAM_APDU [10:36:00]CAPDU: 80 11 00 00 [10:36:00]Write to MH i2c: E2 08 00 D9 11 80 11 00 00 00 00 00 00 64 [10:36:00]Write i2c OK [10:36:00]MH_I2C_Read... [10:36:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:36:00]Read from MH i2c: E2 [10:36:00]MH_I2C_Read... [10:36:00]Read from MH i2c: E2 17 00 [10:36:00]MH_I2C_Read... [10:36:00]Read from MH i2c: E2 17 00 D9 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 B7 [10:36:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:36:00]wFMCommunicate OK [10:36:00]requested_item fd.num is exist - process it [10:36:00]SAM_PROTO_GetFieldsCounters [10:36:00]wFMCommunicate request_size=4 [10:36:00]MH_SAM_APDU [10:36:00]CAPDU: 80 13 00 00 [10:36:00]Write to MH i2c: E2 08 00 DA 11 80 13 00 00 00 00 00 00 67 [10:36:00]Write i2c OK [10:36:00]MH_I2C_Read... [10:36:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:36:00]Read from MH i2c: E2 [10:36:00]MH_I2C_Read... [10:36:00]Read from MH i2c: E2 62 00 [10:36:00]MH_I2C_Read... [10:36:00]Read from MH i2c: E2 62 00 DA 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 87 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 E8 [10:36:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 87 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:36:00]wFMCommunicate OK [10:36:00]SAM_PROTO_GetFieldsCounters done [10:36:00]requested_item shift.num is exist - process it [10:36:00]requested_item shift.opened is exist - process it [10:36:00]req_shift_opened [10:36:00]FM_GetShiftState [10:36:00]SAM_PROTO_GetShiftState [10:36:00]wFMCommunicate request_size=4 [10:36:00]MH_SAM_APDU [10:36:00]CAPDU: 80 13 01 00 [10:36:00]Write to MH i2c: E2 08 00 DB 11 80 13 01 00 00 00 00 00 69 [10:36:00]Write i2c OK [10:36:00]MH_I2C_Read... [10:36:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:36:00]Read from MH i2c: E2 [10:36:00]MH_I2C_Read... [10:36:00]Read from MH i2c: E2 0E 00 [10:36:00]MH_I2C_Read... [10:36:00]Read from MH i2c: E2 0E 00 DB 11 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 92 [10:36:00]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:36:00]wFMCommunicate OK [10:36:00]SAM_PROTO_GetShiftState done [10:36:00]FM_GetShiftState done [10:36:00]req_shift_opened done [10:36:00]requested_item shift.open_date is exist - process it [10:36:00]req_shift_open_date [10:36:00]req_shift_open_date done [10:36:00]produce_requested_data done [10:36:00]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52615,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [10:36:00]process_action_free close_receipt [10:36:00]json_value_free [10:36:00]json_value_free done [10:36:00]process_json_proto returns [10:36:00]Send response to host [10:36:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52615,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [10:36:00]free response buf [10:36:00]execute_script done [10:36:00]execute_script returns [10:36:00]free content buf [10:36:00]Sock 9.Close socket [10:36:00]Sock 9.Thread stoped [10:36:04]OFD Sender: No OFD packet to send [10:36:09]OFD Sender: No OFD packet to send [10:36:14]OFD Sender: No OFD packet to send [10:36:19]OFD Sender: No OFD packet to send [10:36:24]OFD Sender: No OFD packet to send [10:36:29]OFD Sender: No OFD packet to send [10:36:34]OFD Sender: No OFD packet to send [10:36:39]OFD Sender: No OFD packet to send [10:36:44]OFD Sender: No OFD packet to send [10:36:49]OFD Sender: No OFD packet to send [10:36:54]OFD Sender: No OFD packet to send [10:36:59]OFD Sender: No OFD packet to send [10:37:04]OFD Sender: No OFD packet to send [10:37:09]OFD Sender: No OFD packet to send [10:37:14]OFD Sender: No OFD packet to send [10:37:19]OFD Sender: No OFD packet to send [10:37:24]OFD Sender: No OFD packet to send [10:37:29]OFD Sender: No OFD packet to send [10:37:34]OFD Sender: No OFD packet to send [10:37:39]OFD Sender: No OFD packet to send [10:37:44]OFD Sender: No OFD packet to send [10:37:50]OFD Sender: No OFD packet to send [10:37:55]OFD Sender: No OFD packet to send [10:38:00]OFD Sender: No OFD packet to send [10:38:05]OFD Sender: No OFD packet to send [10:38:10]OFD Sender: No OFD packet to send [10:38:15]OFD Sender: No OFD packet to send [10:38:20]OFD Sender: No OFD packet to send [10:38:25]OFD Sender: No OFD packet to send [10:38:30]OFD Sender: No OFD packet to send [10:38:35]OFD Sender: No OFD packet to send [10:38:40]OFD Sender: No OFD packet to send [10:38:45]OFD Sender: No OFD packet to send [10:38:50]OFD Sender: No OFD packet to send [10:38:55]OFD Sender: No OFD packet to send [10:39:00]OFD Sender: No OFD packet to send [10:39:05]OFD Sender: No OFD packet to send [10:39:10]OFD Sender: No OFD packet to send [10:39:15]OFD Sender: No OFD packet to send [10:39:20]OFD Sender: No OFD packet to send [10:39:25]OFD Sender: No OFD packet to send [10:39:30]OFD Sender: No OFD packet to send [10:39:35]OFD Sender: No OFD packet to send [10:39:40]OFD Sender: No OFD packet to send [10:39:45]OFD Sender: No OFD packet to send [10:39:50]OFD Sender: No OFD packet to send [10:39:55]OFD Sender: No OFD packet to send [10:40:00]OFD Sender: No OFD packet to send [10:40:05]OFD Sender: No OFD packet to send [10:40:10]OFD Sender: No OFD packet to send [10:40:15]OFD Sender: No OFD packet to send [10:40:20]OFD Sender: No OFD packet to send [10:40:25]OFD Sender: No OFD packet to send [10:40:30]OFD Sender: No OFD packet to send [10:40:35]OFD Sender: No OFD packet to send [10:40:40]OFD Sender: No OFD packet to send [10:40:45]OFD Sender: No OFD packet to send [10:40:50]OFD Sender: No OFD packet to send [10:40:55]OFD Sender: No OFD packet to send [10:41:00]OFD Sender: No OFD packet to send [10:41:05]OFD Sender: No OFD packet to send [10:41:10]OFD Sender: No OFD packet to send [10:41:15]OFD Sender: No OFD packet to send [10:41:20]OFD Sender: No OFD packet to send [10:41:25]OFD Sender: No OFD packet to send [10:41:30]OFD Sender: No OFD packet to send [10:41:35]OFD Sender: No OFD packet to send [10:41:40]OFD Sender: No OFD packet to send [10:41:45]OFD Sender: No OFD packet to send [10:41:50]OFD Sender: No OFD packet to send [10:41:55]OFD Sender: No OFD packet to send [10:42:00]OFD Sender: No OFD packet to send [10:42:05]OFD Sender: No OFD packet to send [10:42:10]OFD Sender: No OFD packet to send [10:42:15]OFD Sender: No OFD packet to send [10:42:20]OFD Sender: No OFD packet to send [10:42:25]OFD Sender: No OFD packet to send [10:42:30]OFD Sender: No OFD packet to send [10:42:35]OFD Sender: No OFD packet to send [10:42:40]OFD Sender: No OFD packet to send [10:42:45]OFD Sender: No OFD packet to send [10:42:50]OFD Sender: No OFD packet to send [10:42:55]OFD Sender: No OFD packet to send [10:43:00]OFD Sender: No OFD packet to send [10:43:05]OFD Sender: No OFD packet to send [10:43:10]OFD Sender: No OFD packet to send [10:43:15]OFD Sender: No OFD packet to send [10:43:20]OFD Sender: No OFD packet to send [10:43:25]OFD Sender: No OFD packet to send [10:43:30]OFD Sender: No OFD packet to send [10:43:35]OFD Sender: No OFD packet to send [10:43:40]OFD Sender: No OFD packet to send [10:43:45]OFD Sender: No OFD packet to send [10:43:50]OFD Sender: No OFD packet to send [10:43:55]OFD Sender: No OFD packet to send [10:44:00]OFD Sender: No OFD packet to send [10:44:05]OFD Sender: No OFD packet to send [10:44:10]OFD Sender: No OFD packet to send [10:44:15]OFD Sender: No OFD packet to send [10:44:20]OFD Sender: No OFD packet to send [10:44:25]OFD Sender: No OFD packet to send [10:44:30]OFD Sender: No OFD packet to send [10:44:35]OFD Sender: No OFD packet to send [10:44:40]OFD Sender: No OFD packet to send [10:44:45]OFD Sender: No OFD packet to send [10:44:50]OFD Sender: No OFD packet to send [10:44:55]OFD Sender: No OFD packet to send [10:45:00]OFD Sender: No OFD packet to send [10:45:05]OFD Sender: No OFD packet to send [10:45:10]OFD Sender: No OFD packet to send [10:45:15]OFD Sender: No OFD packet to send [10:45:20]OFD Sender: No OFD packet to send [10:45:25]OFD Sender: No OFD packet to send [10:45:30]OFD Sender: No OFD packet to send [10:45:35]OFD Sender: No OFD packet to send [10:45:40]OFD Sender: No OFD packet to send [10:45:45]OFD Sender: No OFD packet to send [10:45:50]OFD Sender: No OFD packet to send [10:45:55]OFD Sender: No OFD packet to send [10:46:00]OFD Sender: No OFD packet to send [10:46:05]OFD Sender: No OFD packet to send [10:46:10]OFD Sender: No OFD packet to send [10:46:15]OFD Sender: No OFD packet to send [10:46:20]OFD Sender: No OFD packet to send [10:46:25]OFD Sender: No OFD packet to send [10:46:30]OFD Sender: No OFD packet to send [10:46:35]OFD Sender: No OFD packet to send [10:46:35]accept exits with 8 [10:46:35]New connection [10:46:35]New thread 3067395428 created [10:46:35]Thread 3067252068 joined [10:46:35]Waiting for new connection... [10:46:35] Sock 8.Parse request [10:46:35]Sock 8.Check first char [10:46:35]Sock 8.First char is OK [10:46:35]request: POST /json_proto HTTP/1.0 [10:46:35]Method: POST [10:46:35]URL: /json_proto [10:46:35]Method is POST - this is cgi request [10:46:35]url: /json_proto [10:46:35]query_string will be loaded in cgi processing [10:46:35]execute_cgi json_proto POST (null) [10:46:35]execute_cgi path=json_proto method=POST [10:46:35]POST find Content-Length [10:46:35]Host: 172.17.60.7:8080 [10:46:35]Content-Length: 798 [10:46:35]Content-Type: application/json [10:46:35] [10:46:35]POST finish read [10:46:35]Found Content-Length = 798 [10:46:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122747", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:46:35]execute_script... [10:46:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122747", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:46:35]POST & json_proto [10:46:35]process_json_proto [10:46:35]json parsed OK: [10:46:35]protocol is kg_v1.0 [10:46:35]action value=close_receipt [10:46:35]process_action close_receipt [10:46:35]cmd_close_receipt [10:46:35]MH_GetDate [10:46:35]Write to MH i2c: F0 00 00 DC 11 DC [10:46:35]Write i2c OK [10:46:35]MH_I2C_Read... [10:46:35]Read from MH i2c: F0 [10:46:35]MH_I2C_Read... [10:46:35]Read from MH i2c: F0 09 00 [10:46:35]MH_I2C_Read... [10:46:35]Read from MH i2c: F0 09 00 DC 11 00 8F 96 B8 66 63 9B 67 64 F1 [10:46:35]GetLastDocTimeStamp 1723372560 [10:46:35]current date 1723373199 [10:46:35]FM_GetShiftState [10:46:35]SAM_PROTO_GetShiftState [10:46:35]wFMCommunicate request_size=4 [10:46:35]MH_SAM_APDU [10:46:35]CAPDU: 80 13 01 00 [10:46:35]Write to MH i2c: E2 08 00 DD 11 80 13 01 00 00 00 00 00 6B [10:46:35]Write i2c OK [10:46:35]MH_I2C_Read... [10:46:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:46:35]Read from MH i2c: E2 [10:46:35]MH_I2C_Read... [10:46:35]Read from MH i2c: E2 0E 00 [10:46:35]MH_I2C_Read... [10:46:35]Read from MH i2c: E2 0E 00 DD 11 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 94 [10:46:35]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:46:35]wFMCommunicate OK [10:46:35]SAM_PROTO_GetShiftState done [10:46:35]FM_GetShiftState done [10:46:35]opened in 1723336186 [10:46:35]opened+sec_in_day 1723422586 [10:46:35]quantity*price = 4000 [10:46:35]sum+1 = 4001 [10:46:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 0.00 Безнал.: 40.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 27 11.08.2024 10:46 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52616 ФПД: 70241072713279 /tax-web-control/client/api/v1/ticket?date=20240811T104639&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52616&fm=70241072713279&tin=02508201610067®Number=0000000000090834&sum=4000 0 [10:46:36]StoreToDocumentArchive [10:46:36]shift 446 fd 52616 [10:46:36]save to /storage/0446/doc_00052616 [10:46:36]save last doc name /storage/0446/doc_00052616 to /storage/kkm_last_doc_name [10:46:36]save OK [10:46:36]Clear old archive folders... [10:46:36]ProcessDocumentItem done err = 0, tmpTLVsize=271 [10:46:36]tlvbuf is 010CC0C0 [10:46:36]SAM_PROTO_ClearQueue [10:46:36]wFMCommunicate request_size=4 [10:46:36]MH_SAM_APDU [10:46:36]CAPDU: 80 09 00 00 [10:46:36]Write to MH i2c: E2 08 00 EA 11 80 09 00 00 00 00 00 00 6D [10:46:36]Write i2c OK [10:46:36]MH_I2C_Read... [10:46:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:46:36]Read from MH i2c: E2 [10:46:36]MH_I2C_Read... [10:46:36]Read from MH i2c: E2 03 00 [10:46:36]MH_I2C_Read... [10:46:36]Read from MH i2c: E2 03 00 EA 11 00 90 00 6F [10:46:36]RAPDU: 90 00 [10:46:36]wFMCommunicate OK [10:46:36]SAM_PROTO_ClearQueue done [10:46:36]KKMCreateOFDPacket [10:46:36]OFDProtocolAddRootSTLVToBuf [10:46:36]FM_MakeSignedData [10:46:36]FM_MakeSignedData [10:46:36]SAM_PROTO_SignData [10:46:36]wFMCommunicate request_size=4 [10:46:36]MH_SAM_APDU [10:46:36]CAPDU: 80 0D 01 02 [10:46:36]Write to MH i2c: E2 08 00 EB 11 80 0D 01 02 00 00 00 00 75 [10:46:36]Write i2c OK [10:46:36]MH_I2C_Read... [10:46:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:46:36]Read from MH i2c: E2 [10:46:36]MH_I2C_Read... [10:46:36]Read from MH i2c: E2 03 00 [10:46:36]MH_I2C_Read... [10:46:36]Read from MH i2c: E2 03 00 EB 11 00 90 00 70 [10:46:36]RAPDU: 90 00 [10:46:36]wFMCommunicate OK [10:46:36]wFMCommunicate request_size=255 [10:46:36]MH_SAM_APDU [10:46:36]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 8F 96 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 [10:46:36]Write to MH i2c: E2 02 01 EC 11 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 8F 96 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 76 [10:46:36]Write i2c OK [10:46:36]MH_I2C_Read... [10:46:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:46:37]Read from MH i2c: E2 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 03 00 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 03 00 EC 11 00 90 00 71 [10:46:37]RAPDU: 90 00 [10:46:37]wFMCommunicate OK [10:46:37]wFMCommunicate request_size=30 [10:46:37]MH_SAM_APDU [10:46:37]CAPDU: 80 0D 02 02 19 30 38 37 34 37 31 35 10 04 04 00 88 CD 00 00 35 04 06 00 3F E2 46 30 0E 3F [10:46:37]Write to MH i2c: E2 21 00 ED 11 80 0D 02 02 19 00 30 38 37 34 37 31 35 10 04 04 00 88 CD 00 00 35 04 06 00 3F E2 46 30 0E 3F 00 00 AA [10:46:37]Write i2c OK [10:46:37]MH_I2C_Read... [10:46:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:46:37]Read from MH i2c: E2 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 03 00 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 03 00 ED 11 00 90 00 72 [10:46:37]RAPDU: 90 00 [10:46:37]wFMCommunicate OK [10:46:37]wFMCommunicate request_size=4 [10:46:37]MH_SAM_APDU [10:46:37]CAPDU: 80 0D 03 02 [10:46:37]Write to MH i2c: E2 08 00 EE 11 80 0D 03 02 00 00 00 00 7A [10:46:37]Write i2c OK [10:46:37]MH_I2C_Read... [10:46:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:46:37]Read from MH i2c: E2 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 0B 00 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 0B 00 EE 11 00 18 1D D1 ED 95 40 12 78 90 00 CD [10:46:37]RAPDU: 18 1D D1 ED 95 40 12 78 90 00 [10:46:37]wFMCommunicate OK [10:46:37]SAM_PROTO_SignData done [10:46:37]FM_MakeSignedData done [10:46:37]CreateOFDProtocolMessage [10:46:37]wFMCommunicate request_size=4 [10:46:37]MH_SAM_APDU [10:46:37]CAPDU: 80 11 00 00 [10:46:37]Write to MH i2c: E2 08 00 EF 11 80 11 00 00 00 00 00 00 7A [10:46:37]Write i2c OK [10:46:37]MH_I2C_Read... [10:46:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:46:37]Read from MH i2c: E2 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 17 00 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: E2 17 00 EF 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 CD [10:46:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:46:37]wFMCommunicate OK [10:46:37]CreateOFDProtocolMessage done [10:46:37]OFDSenderStorePacket 52616 [10:46:37]StoreOFDPacket docnum=52616 [10:46:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 23 01 00 00 7D 47 1B 01 18 58 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 8F 96 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 88 CD 00 00 35 04 06 00 3F E2 46 30 0E 3F 18 1D D1 ED 95 40 12 78 [10:46:37]CheckFolder [10:46:37]dirname=/storage/ofd_packets [10:46:37]CheckFolder done [10:46:37]ProducePacketName [10:46:37]name=ofd_packets/00052616 [10:46:37]NVStorageSaveData ofd_packets/00052616 [10:46:37]File name is /storage/ofd_packets/00052616 [10:46:37]Write 321 bytes [10:46:37]NVStorageSaveData done [10:46:37]OFDSenderStorePacket done [10:46:37]KKMCreateOFDPacket done [10:46:37]NVStorageSaveData kkm_last_timestamp [10:46:37]File name is /storage/kkm_last_timestamp [10:46:37]Write 4 bytes [10:46:37]NVStorageSaveData done [10:46:37]ExternCall_PrintAddStr [10:46:37]wPrintStart [10:46:37]Write to MH i2c: 01 00 00 F0 11 01 [10:46:37]Write i2c OK [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: 01 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: 01 07 00 [10:46:37]MH_I2C_Read... [10:46:37]Read from MH i2c: 01 07 00 F0 11 00 00 00 00 00 FF 0F 16 [10:46:37]RasterBufferAndPrint [10:46:37]line Счет N : (3)122747 [10:46:37]line ИНН: 02508201610067 [10:46:37]line Контрольно-Кассовый Чек [10:46:37]line ПРОДАЖА [10:46:37]line Товар: 4700000160211 [10:46:37]line Вода Легенда 0,5л [10:46:37]line 1.000 * 40.00 [10:46:37]line = 40.00 [10:46:37]line НДС 12% НСП 1% [10:46:37]line > о реализуемом товаре [10:46:37]line ИТОГО: 40.00 [10:46:37]line НСП 1% : 0.35 [10:46:37]line НДС 12% : 4.25 [10:46:37]line Наличными: 0.00 [10:46:37]line Безнал.: 40.00 [10:46:37]line Место: АЗС № 54 "Партнер Нефть" [10:46:37]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [10:46:37]line СНО: Общий режим [10:46:37]line Чек 27 11.08.2024 10:46 [10:46:37]line Смена: 446 ФФД: 1.0 [10:46:37]line ЗНМ: 0300000007 [10:46:37]line РНМ: 0000000000090834 [10:46:37]line Версия ККМ: 001 [10:46:37]line Платежная система: О! деньги [10:46:37]line ФМ: 0000000000874715 [10:46:37]line ФД: 52616 [10:46:37]line ФПД: 70241072713279 [10:46:37]line /tax-web-control/client/api/v1/ticket?date=20240811T104639&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52616&fm=70241072713279&tin=02508201610067®Number=0000000000090834&sum=4000 [10:46:37]line 0 [10:46:37]written 0, free lines is 4095 [10:46:37]OFD Sender: Processing packet 52616 [packets to send 55, broken 54] [10:46:37]ProducePacketName [10:46:37]name=ofd_packets/00052616 [10:46:37]OFD Sender: To server: pG, [10:46:37]CommunicateWithHost lk.salyk.kg:30040 [10:46:37]ConnectInit lk.salyk.kg [10:46:37]Connected sock=10 [10:46:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 23 01 00 00 7D 47 1B 01 18 58 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 8F 96 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 88 CD 00 00 35 04 06 00 3F E2 46 30 0E 3F 18 1D D1 ED 95 40 12 78 [10:46:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 BB 4C 47 00 52 16 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 88 CD 00 00 F4 03 04 00 2A 3E B8 66 B6 04 01 00 00 3D D1 E4 3E B3 57 89 C4 [10:46:38]CommunicateWithHost err = 0 [10:46:38]CheckOFDResponse [10:46:38]1017 (14) - 77093643461234 [10:46:38]1041 (16) - 0000000000874715 [10:46:38]1040 (4) - 52616 [10:46:38]1012 (4) - 11.08.2024 04:29 [10:46:38]1206 (1) - 0 [10:46:38]OFD Sender: Remove packet 52616 [10:46:38]ProducePacketName [10:46:38]name=ofd_packets/00052616 [10:46:38]NVStorageDeleteData [10:46:38]Write to MH i2c: 01 00 00 19 12 2B [10:46:38]Write i2c OK [10:46:38]MH_I2C_Read... [10:46:38]Read from MH i2c: 01 [10:46:38]MH_I2C_Read... [10:46:38]Read from MH i2c: 01 07 00 [10:46:38]MH_I2C_Read... [10:46:38]Read from MH i2c: 01 07 00 19 12 00 00 00 00 00 B1 0C EF [10:46:38]RasterBufferAndPrint [10:46:38]line [10:46:38]line [10:46:38]line [10:46:38]line [10:46:38]line [10:46:38]written 0, free lines is 3255 [10:46:38]MH_Cut [10:46:38]Write to MH i2c: D1 01 00 20 12 01 04 [10:46:38]Write i2c OK [10:46:38]MH_I2C_Read... [10:46:38]Read from MH i2c: D1 [10:46:38]MH_I2C_Read... [10:46:38]Read from MH i2c: D1 01 00 [10:46:38]MH_I2C_Read... [10:46:38]Read from MH i2c: D1 01 00 20 12 00 03 [10:46:38]Write to MH i2c: 01 00 00 21 12 33 [10:46:38]Write i2c OK [10:46:38]MH_I2C_Read... [10:46:38]OFD Sender: No OFD packet to send [10:46:38]*** Cut start [10:46:38]*** Purtial cut [10:46:38]*** Stage 1: CUTSNS_PIN = 1 [10:46:39]Read from MH i2c: 01 [10:46:39]MH_I2C_Read... [10:46:39]*** Stop cut motor [10:46:39]*** Cut end [10:46:39]Read from MH i2c: 01 07 00 [10:46:39]MH_I2C_Read... [10:46:39]Read from MH i2c: 01 07 00 21 12 00 00 00 00 00 FF 0F 48 [10:46:39]process_action close_receipt done [10:46:39]requested_data is exist [10:46:39]produce_requested_data [10:46:39]requested_item fm.sn is exist - process it [10:46:39]wFMCommunicate request_size=4 [10:46:39]MH_SAM_APDU [10:46:39]CAPDU: 80 11 00 00 [10:46:39]Write to MH i2c: E2 08 00 22 12 80 11 00 00 00 00 00 00 AE [10:46:39]Write i2c OK [10:46:39]MH_I2C_Read... [10:46:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:46:39]Read from MH i2c: E2 [10:46:39]MH_I2C_Read... [10:46:39]Read from MH i2c: E2 17 00 [10:46:39]MH_I2C_Read... [10:46:39]Read from MH i2c: E2 17 00 22 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 01 [10:46:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:46:39]wFMCommunicate OK [10:46:39]requested_item fd.num is exist - process it [10:46:39]SAM_PROTO_GetFieldsCounters [10:46:39]wFMCommunicate request_size=4 [10:46:39]MH_SAM_APDU [10:46:39]CAPDU: 80 13 00 00 [10:46:39]Write to MH i2c: E2 08 00 23 12 80 13 00 00 00 00 00 00 B1 [10:46:39]Write i2c OK [10:46:39]MH_I2C_Read... [10:46:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:46:39]Read from MH i2c: E2 [10:46:39]MH_I2C_Read... [10:46:39]Read from MH i2c: E2 62 00 [10:46:39]MH_I2C_Read... [10:46:39]Read from MH i2c: E2 62 00 23 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 88 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 36 [10:46:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 88 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:46:39]wFMCommunicate OK [10:46:39]SAM_PROTO_GetFieldsCounters done [10:46:39]requested_item shift.num is exist - process it [10:46:39]requested_item shift.opened is exist - process it [10:46:39]req_shift_opened [10:46:39]FM_GetShiftState [10:46:39]SAM_PROTO_GetShiftState [10:46:39]wFMCommunicate request_size=4 [10:46:39]MH_SAM_APDU [10:46:39]CAPDU: 80 13 01 00 [10:46:39]Write to MH i2c: E2 08 00 24 12 80 13 01 00 00 00 00 00 B3 [10:46:39]Write i2c OK [10:46:39]MH_I2C_Read... [10:46:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:46:39]Read from MH i2c: E2 [10:46:39]MH_I2C_Read... [10:46:39]Read from MH i2c: E2 0E 00 [10:46:39]MH_I2C_Read... [10:46:39]Read from MH i2c: E2 0E 00 24 12 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 DC [10:46:39]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:46:39]wFMCommunicate OK [10:46:39]SAM_PROTO_GetShiftState done [10:46:39]FM_GetShiftState done [10:46:39]req_shift_opened done [10:46:39]requested_item shift.open_date is exist - process it [10:46:39]req_shift_open_date [10:46:39]req_shift_open_date done [10:46:39]produce_requested_data done [10:46:39]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52616,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [10:46:39]process_action_free close_receipt [10:46:39]json_value_free [10:46:39]json_value_free done [10:46:39]process_json_proto returns [10:46:39]Send response to host [10:46:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52616,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [10:46:39]free response buf [10:46:39]execute_script done [10:46:39]execute_script returns [10:46:39]free content buf [10:46:39]Sock 8.Close socket [10:46:39]Sock 8.Thread stoped [10:46:43]OFD Sender: No OFD packet to send [10:46:48]OFD Sender: No OFD packet to send [10:46:53]OFD Sender: No OFD packet to send [10:46:58]OFD Sender: No OFD packet to send [10:47:03]OFD Sender: No OFD packet to send [10:47:08]OFD Sender: No OFD packet to send [10:47:13]OFD Sender: No OFD packet to send [10:47:18]OFD Sender: No OFD packet to send [10:47:23]OFD Sender: No OFD packet to send [10:47:28]OFD Sender: No OFD packet to send [10:47:33]OFD Sender: No OFD packet to send [10:47:38]OFD Sender: No OFD packet to send [10:47:43]OFD Sender: No OFD packet to send [10:47:48]OFD Sender: No OFD packet to send [10:47:53]OFD Sender: No OFD packet to send [10:47:58]OFD Sender: No OFD packet to send [10:48:03]OFD Sender: No OFD packet to send [10:48:08]OFD Sender: No OFD packet to send [10:48:13]OFD Sender: No OFD packet to send [10:48:18]OFD Sender: No OFD packet to send [10:48:23]OFD Sender: No OFD packet to send [10:48:28]OFD Sender: No OFD packet to send [10:48:33]OFD Sender: No OFD packet to send [10:48:38]OFD Sender: No OFD packet to send [10:48:43]OFD Sender: No OFD packet to send [10:48:48]OFD Sender: No OFD packet to send [10:48:53]OFD Sender: No OFD packet to send [10:48:58]OFD Sender: No OFD packet to send [10:49:03]OFD Sender: No OFD packet to send [10:49:08]OFD Sender: No OFD packet to send [10:49:13]OFD Sender: No OFD packet to send [10:49:18]OFD Sender: No OFD packet to send [10:49:23]OFD Sender: No OFD packet to send [10:49:28]OFD Sender: No OFD packet to send [10:49:33]OFD Sender: No OFD packet to send [10:49:38]OFD Sender: No OFD packet to send [10:49:43]OFD Sender: No OFD packet to send [10:49:48]OFD Sender: No OFD packet to send [10:49:53]OFD Sender: No OFD packet to send [10:49:58]OFD Sender: No OFD packet to send [10:50:03]OFD Sender: No OFD packet to send [10:50:08]OFD Sender: No OFD packet to send [10:50:13]OFD Sender: No OFD packet to send [10:50:18]OFD Sender: No OFD packet to send [10:50:23]OFD Sender: No OFD packet to send [10:50:28]OFD Sender: No OFD packet to send [10:50:33]OFD Sender: No OFD packet to send [10:50:38]OFD Sender: No OFD packet to send [10:50:43]OFD Sender: No OFD packet to send [10:50:48]OFD Sender: No OFD packet to send [10:50:53]OFD Sender: No OFD packet to send [10:50:58]OFD Sender: No OFD packet to send [10:51:03]OFD Sender: No OFD packet to send [10:51:08]OFD Sender: No OFD packet to send [10:51:13]OFD Sender: No OFD packet to send [10:51:18]OFD Sender: No OFD packet to send [10:51:23]OFD Sender: No OFD packet to send [10:51:28]OFD Sender: No OFD packet to send [10:51:33]OFD Sender: No OFD packet to send [10:51:38]OFD Sender: No OFD packet to send [10:51:43]OFD Sender: No OFD packet to send [10:51:48]OFD Sender: No OFD packet to send [10:51:53]OFD Sender: No OFD packet to send [10:51:58]OFD Sender: No OFD packet to send [10:52:03]OFD Sender: No OFD packet to send [10:52:08]OFD Sender: No OFD packet to send [10:52:13]OFD Sender: No OFD packet to send [10:52:18]OFD Sender: No OFD packet to send [10:52:23]OFD Sender: No OFD packet to send [10:52:28]OFD Sender: No OFD packet to send [10:52:33]OFD Sender: No OFD packet to send [10:52:38]OFD Sender: No OFD packet to send [10:52:43]OFD Sender: No OFD packet to send [10:52:48]OFD Sender: No OFD packet to send [10:52:53]OFD Sender: No OFD packet to send [10:52:58]OFD Sender: No OFD packet to send [10:53:03]OFD Sender: No OFD packet to send [10:53:08]OFD Sender: No OFD packet to send [10:53:13]OFD Sender: No OFD packet to send [10:53:18]OFD Sender: No OFD packet to send [10:53:23]OFD Sender: No OFD packet to send [10:53:28]OFD Sender: No OFD packet to send [10:53:33]OFD Sender: No OFD packet to send [10:53:38]OFD Sender: No OFD packet to send [10:53:43]OFD Sender: No OFD packet to send [10:53:48]OFD Sender: No OFD packet to send [10:53:53]OFD Sender: No OFD packet to send [10:53:58]OFD Sender: No OFD packet to send [10:54:03]OFD Sender: No OFD packet to send [10:54:08]OFD Sender: No OFD packet to send [10:54:13]OFD Sender: No OFD packet to send [10:54:18]OFD Sender: No OFD packet to send [10:54:23]OFD Sender: No OFD packet to send [10:54:28]OFD Sender: No OFD packet to send [10:54:33]OFD Sender: No OFD packet to send [10:54:38]OFD Sender: No OFD packet to send [10:54:43]OFD Sender: No OFD packet to send [10:54:48]OFD Sender: No OFD packet to send [10:54:53]OFD Sender: No OFD packet to send [10:54:59]OFD Sender: No OFD packet to send [10:55:04]OFD Sender: No OFD packet to send [10:55:09]OFD Sender: No OFD packet to send [10:55:14]OFD Sender: No OFD packet to send [10:55:19]OFD Sender: No OFD packet to send [10:55:24]OFD Sender: No OFD packet to send [10:55:29]OFD Sender: No OFD packet to send [10:55:34]OFD Sender: No OFD packet to send [10:55:39]OFD Sender: No OFD packet to send [10:55:44]OFD Sender: No OFD packet to send [10:55:49]OFD Sender: No OFD packet to send [10:55:54]OFD Sender: No OFD packet to send [10:55:59]OFD Sender: No OFD packet to send [10:56:04]OFD Sender: No OFD packet to send [10:56:09]OFD Sender: No OFD packet to send [10:56:14]OFD Sender: No OFD packet to send [10:56:19]OFD Sender: No OFD packet to send [10:56:24]OFD Sender: No OFD packet to send [10:56:29]OFD Sender: No OFD packet to send [10:56:34]OFD Sender: No OFD packet to send [10:56:39]OFD Sender: No OFD packet to send [10:56:44]OFD Sender: No OFD packet to send [10:56:49]OFD Sender: No OFD packet to send [10:56:54]OFD Sender: No OFD packet to send [10:56:59]OFD Sender: No OFD packet to send [10:57:04]OFD Sender: No OFD packet to send [10:57:09]OFD Sender: No OFD packet to send [10:57:14]OFD Sender: No OFD packet to send [10:57:19]OFD Sender: No OFD packet to send [10:57:24]OFD Sender: No OFD packet to send [10:57:29]OFD Sender: No OFD packet to send [10:57:34]OFD Sender: No OFD packet to send [10:57:39]OFD Sender: No OFD packet to send [10:57:44]OFD Sender: No OFD packet to send [10:57:49]OFD Sender: No OFD packet to send [10:57:54]OFD Sender: No OFD packet to send [10:57:59]OFD Sender: No OFD packet to send [10:58:04]OFD Sender: No OFD packet to send [10:58:09]OFD Sender: No OFD packet to send [10:58:14]OFD Sender: No OFD packet to send [10:58:19]OFD Sender: No OFD packet to send [10:58:24]OFD Sender: No OFD packet to send [10:58:29]OFD Sender: No OFD packet to send [10:58:34]OFD Sender: No OFD packet to send [10:58:39]OFD Sender: No OFD packet to send [10:58:44]OFD Sender: No OFD packet to send [10:58:49]OFD Sender: No OFD packet to send [10:58:54]OFD Sender: No OFD packet to send [10:58:59]OFD Sender: No OFD packet to send [10:59:04]OFD Sender: No OFD packet to send [10:59:09]OFD Sender: No OFD packet to send [10:59:14]OFD Sender: No OFD packet to send [10:59:19]OFD Sender: No OFD packet to send [10:59:23]accept exits with 9 [10:59:23]New connection [10:59:23]New thread 3067252068 created [10:59:23]Thread 3067395428 joined [10:59:23]Waiting for new connection... [10:59:23] Sock 9.Parse request [10:59:23]Sock 9.Check first char [10:59:23]Sock 9.First char is OK [10:59:23]request: POST /json_proto HTTP/1.0 [10:59:23]Method: POST [10:59:23]URL: /json_proto [10:59:23]Method is POST - this is cgi request [10:59:23]url: /json_proto [10:59:23]query_string will be loaded in cgi processing [10:59:23]execute_cgi json_proto POST (null) [10:59:23]execute_cgi path=json_proto method=POST [10:59:23]POST find Content-Length [10:59:23]Host: 172.17.60.7:8080 [10:59:23]Content-Length: 1096 [10:59:23]Content-Type: application/json [10:59:23] [10:59:23]POST finish read [10:59:23]Found Content-Length = 1096 [10:59:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122748", "tax_sys" : 0, "items" : [ { "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:59:23]execute_script... [10:59:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122748", "tax_sys" : 0, "items" : [ { "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:59:23]POST & json_proto [10:59:23]process_json_proto [10:59:23]json parsed OK: [10:59:23]protocol is kg_v1.0 [10:59:23]action value=close_receipt [10:59:23]process_action close_receipt [10:59:23]cmd_close_receipt [10:59:23]MH_GetDate [10:59:23]Write to MH i2c: F0 00 00 25 12 26 [10:59:23]Write i2c OK [10:59:23]MH_I2C_Read... [10:59:23]Read from MH i2c: F0 [10:59:23]MH_I2C_Read... [10:59:23]Read from MH i2c: F0 09 00 [10:59:23]MH_I2C_Read... [10:59:23]Read from MH i2c: F0 09 00 25 12 00 8F 99 B8 66 63 9B 67 64 3E [10:59:23]GetLastDocTimeStamp 1723373199 [10:59:23]current date 1723373967 [10:59:23]FM_GetShiftState [10:59:23]SAM_PROTO_GetShiftState [10:59:23]wFMCommunicate request_size=4 [10:59:23]MH_SAM_APDU [10:59:23]CAPDU: 80 13 01 00 [10:59:23]Write to MH i2c: E2 08 00 26 12 80 13 01 00 00 00 00 00 B5 [10:59:23]Write i2c OK [10:59:23]MH_I2C_Read... [10:59:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:59:23]Read from MH i2c: E2 [10:59:23]MH_I2C_Read... [10:59:23]Read from MH i2c: E2 0E 00 [10:59:23]MH_I2C_Read... [10:59:23]Read from MH i2c: E2 0E 00 26 12 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 DE [10:59:23]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:59:23]wFMCommunicate OK [10:59:23]SAM_PROTO_GetShiftState done [10:59:23]FM_GetShiftState done [10:59:23]opened in 1723336186 [10:59:23]opened+sec_in_day 1723422586 [10:59:23]quantity*price = 9000 [10:59:23]sum+1 = 9001 [10:59:23]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46226624 Mentos ПВ Клубника 6*100*2 2.000 * 10.00 = 20.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.98 НДС 12% : 11.68 Наличными: 0.00 Безнал.: 110.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 28 11.08.2024 10:59 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874715 ФД: 52617 ФПД: 17372167277916 /tax-web-control/client/api/v1/ticket?date=20240811T105927&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52617&fm=17372167277916&tin=02508201610067®Number=0000000000090834&sum=11000 0 [10:59:25]StoreToDocumentArchive [10:59:25]shift 446 fd 52617 [10:59:25]save to /storage/0446/doc_00052617 [10:59:25]save last doc name /storage/0446/doc_00052617 to /storage/kkm_last_doc_name [10:59:25]save OK [10:59:25]Clear old archive folders... [10:59:25]ProcessDocumentItem done err = 0, tmpTLVsize=397 [10:59:25]tlvbuf is 010A45C0 [10:59:25]SAM_PROTO_ClearQueue [10:59:25]wFMCommunicate request_size=4 [10:59:25]MH_SAM_APDU [10:59:25]CAPDU: 80 09 00 00 [10:59:25]Write to MH i2c: E2 08 00 33 12 80 09 00 00 00 00 00 00 B7 [10:59:25]Write i2c OK [10:59:25]MH_I2C_Read... [10:59:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:59:25]Read from MH i2c: E2 [10:59:25]MH_I2C_Read... [10:59:25]Read from MH i2c: E2 03 00 [10:59:25]MH_I2C_Read... [10:59:25]Read from MH i2c: E2 03 00 33 12 00 90 00 B9 [10:59:25]RAPDU: 90 00 [10:59:25]wFMCommunicate OK [10:59:25]SAM_PROTO_ClearQueue done [10:59:25]KKMCreateOFDPacket [10:59:25]OFDProtocolAddRootSTLVToBuf [10:59:25]FM_MakeSignedData [10:59:25]FM_MakeSignedData [10:59:25]SAM_PROTO_SignData [10:59:25]wFMCommunicate request_size=4 [10:59:25]MH_SAM_APDU [10:59:25]CAPDU: 80 0D 01 02 [10:59:25]Write to MH i2c: E2 08 00 34 12 80 0D 01 02 00 00 00 00 BF [10:59:25]Write i2c OK [10:59:25]MH_I2C_Read... [10:59:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:59:25]Read from MH i2c: E2 [10:59:25]MH_I2C_Read... [10:59:25]Read from MH i2c: E2 03 00 [10:59:25]MH_I2C_Read... [10:59:25]Read from MH i2c: E2 03 00 34 12 00 90 00 BA [10:59:25]RAPDU: 90 00 [10:59:25]wFMCommunicate OK [10:59:25]wFMCommunicate request_size=255 [10:59:25]MH_SAM_APDU [10:59:25]CAPDU: 80 0D 02 02 FA 03 00 8D 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 [10:59:25]Write to MH i2c: E2 02 01 35 12 80 0D 02 02 FA 00 03 00 8D 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 00 00 16 [10:59:25]Write i2c OK [10:59:25]MH_I2C_Read... [10:59:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:59:25]Read from MH i2c: E2 [10:59:25]MH_I2C_Read... [10:59:25]Read from MH i2c: E2 03 00 [10:59:25]MH_I2C_Read... [10:59:25]Read from MH i2c: E2 03 00 35 12 00 90 00 BB [10:59:25]RAPDU: 90 00 [10:59:25]wFMCommunicate OK [10:59:25]wFMCommunicate request_size=156 [10:59:25]MH_SAM_APDU [10:59:25]CAPDU: 80 0D 02 02 97 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 8F 99 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 89 CD 00 00 35 04 06 00 0F CC C5 DC 0D 5C [10:59:25]Write to MH i2c: E2 9F 00 36 12 80 0D 02 02 97 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 8F 99 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 89 CD 00 00 35 04 06 00 0F CC C5 DC 0D 5C 00 00 8C [10:59:25]Write i2c OK [10:59:25]MH_I2C_Read... [10:59:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:59:25]Read from MH i2c: E2 [10:59:25]MH_I2C_Read... [10:59:25]Read from MH i2c: E2 03 00 [10:59:25]MH_I2C_Read... [10:59:25]Read from MH i2c: E2 03 00 36 12 00 90 00 BC [10:59:25]RAPDU: 90 00 [10:59:25]wFMCommunicate OK [10:59:25]wFMCommunicate request_size=4 [10:59:25]MH_SAM_APDU [10:59:25]CAPDU: 80 0D 03 02 [10:59:25]Write to MH i2c: E2 08 00 37 12 80 0D 03 02 00 00 00 00 C4 [10:59:25]Write i2c OK [10:59:25]MH_I2C_Read... [10:59:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:59:25]Read from MH i2c: E2 [10:59:25]MH_I2C_Read... [10:59:25]Read from MH i2c: E2 0B 00 [10:59:25]MH_I2C_Read... [10:59:25]Read from MH i2c: E2 0B 00 37 12 00 57 42 AE BB 0B 7F 9F E9 90 00 D9 [10:59:25]RAPDU: 57 42 AE BB 0B 7F 9F E9 90 00 [10:59:25]wFMCommunicate OK [10:59:25]SAM_PROTO_SignData done [10:59:25]FM_MakeSignedData done [10:59:25]CreateOFDProtocolMessage [10:59:25]wFMCommunicate request_size=4 [10:59:25]MH_SAM_APDU [10:59:25]CAPDU: 80 11 00 00 [10:59:25]Write to MH i2c: E2 08 00 38 12 80 11 00 00 00 00 00 00 C4 [10:59:25]Write i2c OK [10:59:25]MH_I2C_Read... [10:59:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:59:25]Read from MH i2c: E2 [10:59:25]MH_I2C_Read... [10:59:25]Read from MH i2c: E2 17 00 [10:59:25]MH_I2C_Read... [10:59:25]Read from MH i2c: E2 17 00 38 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 17 [10:59:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:59:25]wFMCommunicate OK [10:59:25]CreateOFDProtocolMessage done [10:59:25]OFDSenderStorePacket 52617 [10:59:25]StoreOFDPacket docnum=52617 [10:59:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 A1 01 00 00 D5 68 99 01 91 1E 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 8F 99 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 89 CD 00 00 35 04 06 00 0F CC C5 DC 0D 5C 57 42 AE BB 0B 7F 9F E9 [10:59:25]CheckFolder [10:59:25]dirname=/storage/ofd_packets [10:59:25]CheckFolder done [10:59:25]ProducePacketName [10:59:25]name=ofd_packets/00052617 [10:59:25]NVStorageSaveData ofd_packets/00052617 [10:59:25]File name is /storage/ofd_packets/00052617 [10:59:25]Write 447 bytes [10:59:25]NVStorageSaveData done [10:59:25]OFDSenderStorePacket done [10:59:25]KKMCreateOFDPacket done [10:59:26]NVStorageSaveData kkm_last_timestamp [10:59:26]File name is /storage/kkm_last_timestamp [10:59:26]Write 4 bytes [10:59:26]NVStorageSaveData done [10:59:26]ExternCall_PrintAddStr [10:59:26]wPrintStart [10:59:26]Write to MH i2c: 01 00 00 39 12 4B [10:59:26]OFD Sender: Processing packet 52617 [packets to send 55, broken 54] [10:59:26]ProducePacketName [10:59:26]name=ofd_packets/00052617 [10:59:26]OFD Sender: To server: pG, [10:59:26]CommunicateWithHost lk.salyk.kg:30040 [10:59:26]ConnectInit lk.salyk.kg [10:59:26]Write i2c OK [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: 01 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: 01 07 00 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: 01 07 00 39 12 00 00 00 00 00 FF 0F 60 [10:59:26]RasterBufferAndPrint [10:59:26]line Счет N : (3)122748 [10:59:26]line ИНН: 02508201610067 [10:59:26]line Контрольно-Кассовый Чек [10:59:26]line ПРОДАЖА [10:59:26]line Товар: 4870022003312 [10:59:26]line Gorilla эн нап манго-кокос 0,45 ж/б [10:59:26]line 1.000 * 90.00 [10:59:26]line = 90.00 [10:59:26]line НДС 12% НСП 1% [10:59:26]line > о реализуемом товаре [10:59:26]line Товар: 46226624 [10:59:26]line Mentos ПВ Клубника 6*100*2 [10:59:26]line 2.000 * 10.00 [10:59:26]line = 20.00 [10:59:26]line НДС 12% НСП 1% [10:59:26]line > о реализуемом товаре [10:59:26]line ИТОГО: 110.00 [10:59:26]line НСП 1% : 0.98 [10:59:26]line НДС 12% : 11.68 [10:59:26]line Наличными: 0.00 [10:59:26]line Безнал.: 110.00 [10:59:26]line Место: АЗС № 54 "Партнер Нефть" [10:59:26]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [10:59:26]line СНО: Общий режим [10:59:26]line Чек 28 11.08.2024 10:59 [10:59:26]line Смена: 446 ФФД: 1.0 [10:59:26]line ЗНМ: 0300000007 [10:59:26]line РНМ: 0000000000090834 [10:59:26]line Версия ККМ: 001 [10:59:26]line Платежная система: Бакай Банк [10:59:26]line ФМ: 0000000000874715 [10:59:26]line ФД: 52617 [10:59:26]line ФПД: 17372167277916 [10:59:26]line /tax-web-control/client/api/v1/ticket?date=20240811T105927&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52617&fm=17372167277916&tin=02508201610067®Number=0000000000090834&sum=11000 [10:59:26]line 0 [10:59:26]written 0, free lines is 4095 [10:59:26]Connected sock=10 [10:59:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 A1 01 00 00 D5 68 99 01 91 1E 5A 03 01 00 03 00 8D 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 8F 99 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 89 CD 00 00 35 04 06 00 0F CC C5 DC 0D 5C 57 42 AE BB 0B 7F 9F E9 [10:59:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 81 15 47 00 45 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 34 37 31 35 10 04 04 00 89 CD 00 00 F4 03 04 00 2A 41 B8 66 B6 04 01 00 00 93 C0 47 7A 4B D5 0D 83 [10:59:26]CommunicateWithHost err = 0 [10:59:26]CheckOFDResponse [10:59:26]1017 (14) - 77093643461234 [10:59:26]1041 (16) - 0000000000874715 [10:59:26]1040 (4) - 52617 [10:59:26]1012 (4) - 11.08.2024 04:42 [10:59:26]1206 (1) - 0 [10:59:26]OFD Sender: Remove packet 52617 [10:59:26]ProducePacketName [10:59:26]name=ofd_packets/00052617 [10:59:26]NVStorageDeleteData [10:59:26]Write to MH i2c: 01 00 00 69 12 7B [10:59:26]Write i2c OK [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: 01 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: 01 07 00 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: 01 07 00 69 12 00 00 00 00 00 4C 0C DA [10:59:26]RasterBufferAndPrint [10:59:26]line [10:59:26]line [10:59:26]line [10:59:26]line [10:59:26]line [10:59:26]written 0, free lines is 3155 [10:59:26]MH_Cut [10:59:26]Write to MH i2c: D1 01 00 70 12 01 54 [10:59:26]Write i2c OK [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: D1 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: D1 01 00 [10:59:26]MH_I2C_Read... [10:59:26]Read from MH i2c: D1 01 00 70 12 00 53 [10:59:26]Write to MH i2c: 01 00 00 71 12 83 [10:59:26]Write i2c OK [10:59:26]MH_I2C_Read... [10:59:26]OFD Sender: No OFD packet to send [10:59:27]*** Cut start [10:59:27]*** Purtial cut [10:59:27]*** Stage 1: CUTSNS_PIN = 1 [10:59:27]Read from MH i2c: 01 [10:59:27]MH_I2C_Read... [10:59:27]*** Stop cut motor [10:59:27]*** Cut end [10:59:27]Read from MH i2c: 01 07 00 [10:59:27]MH_I2C_Read... [10:59:27]Read from MH i2c: 01 07 00 71 12 00 00 00 00 00 FF 0F 98 [10:59:27]process_action close_receipt done [10:59:27]requested_data is exist [10:59:27]produce_requested_data [10:59:27]requested_item fm.sn is exist - process it [10:59:27]wFMCommunicate request_size=4 [10:59:27]MH_SAM_APDU [10:59:27]CAPDU: 80 11 00 00 [10:59:27]Write to MH i2c: E2 08 00 72 12 80 11 00 00 00 00 00 00 FE [10:59:27]Write i2c OK [10:59:27]MH_I2C_Read... [10:59:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:59:27]Read from MH i2c: E2 [10:59:27]MH_I2C_Read... [10:59:27]Read from MH i2c: E2 17 00 [10:59:27]MH_I2C_Read... [10:59:27]Read from MH i2c: E2 17 00 72 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 51 [10:59:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:59:27]wFMCommunicate OK [10:59:27]requested_item fd.num is exist - process it [10:59:27]SAM_PROTO_GetFieldsCounters [10:59:27]wFMCommunicate request_size=4 [10:59:27]MH_SAM_APDU [10:59:27]CAPDU: 80 13 00 00 [10:59:27]Write to MH i2c: E2 08 00 73 12 80 13 00 00 00 00 00 00 01 [10:59:27]Write i2c OK [10:59:27]MH_I2C_Read... [10:59:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:59:28]Read from MH i2c: E2 [10:59:28]MH_I2C_Read... [10:59:28]Read from MH i2c: E2 62 00 [10:59:28]MH_I2C_Read... [10:59:28]Read from MH i2c: E2 62 00 73 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 89 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 8A [10:59:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 89 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:59:28]wFMCommunicate OK [10:59:28]SAM_PROTO_GetFieldsCounters done [10:59:28]requested_item shift.num is exist - process it [10:59:28]requested_item shift.opened is exist - process it [10:59:28]req_shift_opened [10:59:28]FM_GetShiftState [10:59:28]SAM_PROTO_GetShiftState [10:59:28]wFMCommunicate request_size=4 [10:59:28]MH_SAM_APDU [10:59:28]CAPDU: 80 13 01 00 [10:59:28]Write to MH i2c: E2 08 00 74 12 80 13 01 00 00 00 00 00 03 [10:59:28]Write i2c OK [10:59:28]MH_I2C_Read... [10:59:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:59:28]Read from MH i2c: E2 [10:59:28]MH_I2C_Read... [10:59:28]Read from MH i2c: E2 0E 00 [10:59:28]MH_I2C_Read... [10:59:28]Read from MH i2c: E2 0E 00 74 12 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 2C [10:59:28]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:59:28]wFMCommunicate OK [10:59:28]SAM_PROTO_GetShiftState done [10:59:28]FM_GetShiftState done [10:59:28]req_shift_opened done [10:59:28]requested_item shift.open_date is exist - process it [10:59:28]req_shift_open_date [10:59:28]req_shift_open_date done [10:59:28]produce_requested_data done [10:59:28]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52617,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [10:59:28]process_action_free close_receipt [10:59:28]json_value_free [10:59:28]json_value_free done [10:59:28]process_json_proto returns [10:59:28]Send response to host [10:59:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52617,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [10:59:28]free response buf [10:59:28]execute_script done [10:59:28]execute_script returns [10:59:28]free content buf [10:59:28]Sock 9.Close socket [10:59:28]Sock 9.Thread stoped [10:59:31]OFD Sender: No OFD packet to send [10:59:36]OFD Sender: No OFD packet to send [10:59:41]OFD Sender: No OFD packet to send [10:59:46]accept exits with 8 [10:59:46]New connection [10:59:46]New thread 3067395428 created [10:59:46]Thread 3067252068 joined [10:59:46]Waiting for new connection... [10:59:46] Sock 8.Parse request [10:59:46]Sock 8.Check first char [10:59:46]Sock 8.First char is OK [10:59:46]request: POST /json_proto HTTP/1.0 [10:59:46]Method: POST [10:59:46]URL: /json_proto [10:59:46]Method is POST - this is cgi request [10:59:46]url: /json_proto [10:59:46]query_string will be loaded in cgi processing [10:59:46]execute_cgi json_proto POST (null) [10:59:46]execute_cgi path=json_proto method=POST [10:59:46]POST find Content-Length [10:59:46]Host: 172.17.60.7:8080 [10:59:46]Content-Length: 812 [10:59:46]Content-Type: application/json [10:59:46] [10:59:46]POST finish read [10:59:46]Found Content-Length = 812 [10:59:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122749", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:59:46]execute_script... [10:59:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122749", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:59:46]POST & json_proto [10:59:46]process_json_proto [10:59:46]json parsed OK: [10:59:46]protocol is kg_v1.0 [10:59:46]action value=close_receipt [10:59:46]process_action close_receipt [10:59:46]cmd_close_receipt [10:59:46]MH_GetDate [10:59:46]Write to MH i2c: F0 00 00 75 12 76 [10:59:46]Write i2c OK [10:59:46]MH_I2C_Read... [10:59:46]Read from MH i2c: F0 [10:59:46]MH_I2C_Read... [10:59:46]Read from MH i2c: F0 09 00 [10:59:46]MH_I2C_Read... [10:59:46]Read from MH i2c: F0 09 00 75 12 00 A6 99 B8 66 63 9B 67 64 A5 [10:59:46]GetLastDocTimeStamp 1723373967 [10:59:46]current date 1723373990 [10:59:46]FM_GetShiftState [10:59:46]SAM_PROTO_GetShiftState [10:59:46]wFMCommunicate request_size=4 [10:59:46]MH_SAM_APDU [10:59:46]CAPDU: 80 13 01 00 [10:59:46]Write to MH i2c: E2 08 00 76 12 80 13 01 00 00 00 00 00 05 [10:59:46]Write i2c OK [10:59:46]MH_I2C_Read... [10:59:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:59:46]Read from MH i2c: E2 [10:59:46]MH_I2C_Read... [10:59:46]Read from MH i2c: E2 0E 00 [10:59:46]MH_I2C_Read... [10:59:46]Read from MH i2c: E2 0E 00 76 12 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 2E [10:59:46]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:59:46]wFMCommunicate OK [10:59:46]SAM_PROTO_GetShiftState done [10:59:46]FM_GetShiftState done [10:59:46]opened in 1723336186 [10:59:46]opened+sec_in_day 1723422586 [10:59:46]quantity*price = 13000 [10:59:46]sum+1 = 13001 [10:59:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 29 11.08.2024 10:59 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52618 ФПД: 54677822146226 /tax-web-control/client/api/v1/ticket?date=20240811T105950&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52618&fm=54677822146226&tin=02508201610067®Number=0000000000090834&sum=13000 0 [10:59:47]StoreToDocumentArchive [10:59:47]shift 446 fd 52618 [10:59:47]save to /storage/0446/doc_00052618 [10:59:47]save last doc name /storage/0446/doc_00052618 to /storage/kkm_last_doc_name [10:59:47]save OK [10:59:47]Clear old archive folders... [10:59:47]ProcessDocumentItem done err = 0, tmpTLVsize=282 [10:59:47]tlvbuf is 010BC0F0 [10:59:47]SAM_PROTO_ClearQueue [10:59:47]wFMCommunicate request_size=4 [10:59:47]MH_SAM_APDU [10:59:47]CAPDU: 80 09 00 00 [10:59:47]Write to MH i2c: E2 08 00 83 12 80 09 00 00 00 00 00 00 07 [10:59:47]Write i2c OK [10:59:47]MH_I2C_Read... [10:59:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:59:47]Read from MH i2c: E2 [10:59:47]MH_I2C_Read... [10:59:47]Read from MH i2c: E2 03 00 [10:59:47]MH_I2C_Read... [10:59:47]Read from MH i2c: E2 03 00 83 12 00 90 00 09 [10:59:47]RAPDU: 90 00 [10:59:47]wFMCommunicate OK [10:59:47]SAM_PROTO_ClearQueue done [10:59:47]KKMCreateOFDPacket [10:59:47]OFDProtocolAddRootSTLVToBuf [10:59:47]FM_MakeSignedData [10:59:47]FM_MakeSignedData [10:59:47]SAM_PROTO_SignData [10:59:47]wFMCommunicate request_size=4 [10:59:47]MH_SAM_APDU [10:59:47]CAPDU: 80 0D 01 02 [10:59:47]Write to MH i2c: E2 08 00 84 12 80 0D 01 02 00 00 00 00 0F [10:59:47]Write i2c OK [10:59:47]MH_I2C_Read... [10:59:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:59:47]Read from MH i2c: E2 [10:59:47]MH_I2C_Read... [10:59:47]Read from MH i2c: E2 03 00 [10:59:47]MH_I2C_Read... [10:59:47]Read from MH i2c: E2 03 00 84 12 00 90 00 0A [10:59:47]RAPDU: 90 00 [10:59:47]wFMCommunicate OK [10:59:47]wFMCommunicate request_size=255 [10:59:47]MH_SAM_APDU [10:59:47]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 A6 99 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 [10:59:47]Write to MH i2c: E2 02 01 85 12 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 A6 99 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 00 00 56 [10:59:47]Write i2c OK [10:59:47]MH_I2C_Read... [10:59:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:59:48]Read from MH i2c: E2 [10:59:48]MH_I2C_Read... [10:59:48]Read from MH i2c: E2 03 00 [10:59:48]MH_I2C_Read... [10:59:48]Read from MH i2c: E2 03 00 85 12 00 90 00 0B [10:59:48]RAPDU: 90 00 [10:59:48]wFMCommunicate OK [10:59:48]wFMCommunicate request_size=41 [10:59:48]MH_SAM_APDU [10:59:48]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8A CD 00 00 35 04 06 00 31 BA AC 2A 86 B2 [10:59:48]Write to MH i2c: E2 2C 00 86 12 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8A CD 00 00 35 04 06 00 31 BA AC 2A 86 B2 00 00 31 [10:59:48]Write i2c OK [10:59:48]MH_I2C_Read... [10:59:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:59:48]Read from MH i2c: E2 [10:59:48]MH_I2C_Read... [10:59:48]Read from MH i2c: E2 03 00 [10:59:48]MH_I2C_Read... [10:59:48]Read from MH i2c: E2 03 00 86 12 00 90 00 0C [10:59:48]RAPDU: 90 00 [10:59:48]wFMCommunicate OK [10:59:48]wFMCommunicate request_size=4 [10:59:48]MH_SAM_APDU [10:59:48]CAPDU: 80 0D 03 02 [10:59:48]Write to MH i2c: E2 08 00 87 12 80 0D 03 02 00 00 00 00 14 [10:59:48]Write i2c OK [10:59:48]MH_I2C_Read... [10:59:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:59:48]Read from MH i2c: E2 [10:59:48]MH_I2C_Read... [10:59:48]Read from MH i2c: E2 0B 00 [10:59:48]MH_I2C_Read... [10:59:48]Read from MH i2c: E2 0B 00 87 12 00 57 2D AF 45 0A AE BF 41 90 00 45 [10:59:48]RAPDU: 57 2D AF 45 0A AE BF 41 90 00 [10:59:48]wFMCommunicate OK [10:59:48]SAM_PROTO_SignData done [10:59:48]FM_MakeSignedData done [10:59:48]CreateOFDProtocolMessage [10:59:48]wFMCommunicate request_size=4 [10:59:48]MH_SAM_APDU [10:59:48]CAPDU: 80 11 00 00 [10:59:48]Write to MH i2c: E2 08 00 88 12 80 11 00 00 00 00 00 00 14 [10:59:48]Write i2c OK [10:59:48]MH_I2C_Read... [10:59:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:59:48]Read from MH i2c: E2 [10:59:48]MH_I2C_Read... [10:59:48]Read from MH i2c: E2 17 00 [10:59:48]MH_I2C_Read... [10:59:48]Read from MH i2c: E2 17 00 88 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 67 [10:59:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:59:48]wFMCommunicate OK [10:59:48]CreateOFDProtocolMessage done [10:59:48]OFDSenderStorePacket 52618 [10:59:48]StoreOFDPacket docnum=52618 [10:59:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2E 01 00 00 20 7B 26 01 8E F9 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 A6 99 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8A CD 00 00 35 04 06 00 31 BA AC 2A 86 B2 57 2D AF 45 0A AE BF 41 [10:59:48]CheckFolder [10:59:48]dirname=/storage/ofd_packets [10:59:48]CheckFolder done [10:59:48]ProducePacketName [10:59:48]name=ofd_packets/00052618 [10:59:48]NVStorageSaveData ofd_packets/00052618 [10:59:48]File name is /storage/ofd_packets/00052618 [10:59:48]Write 332 bytes [10:59:48]NVStorageSaveData done [10:59:48]OFDSenderStorePacket done [10:59:48]KKMCreateOFDPacket done [10:59:48]NVStorageSaveData kkm_last_timestamp [10:59:48]File name is /storage/kkm_last_timestamp [10:59:48]Write 4 bytes [10:59:48]NVStorageSaveData done [10:59:48]ExternCall_PrintAddStr [10:59:48]wPrintStart [10:59:48]Write to MH i2c: 01 00 00 89 12 9B [10:59:48]Write i2c OK [10:59:48]MH_I2C_Read... [10:59:48]Read from MH i2c: 01 [10:59:48]MH_I2C_Read... [10:59:48]Read from MH i2c: 01 07 00 [10:59:48]MH_I2C_Read... [10:59:48]Read from MH i2c: 01 07 00 89 12 00 00 00 00 00 FF 0F B0 [10:59:48]RasterBufferAndPrint [10:59:48]line Счет N : (3)122749 [10:59:48]line ИНН: 02508201610067 [10:59:48]line Контрольно-Кассовый Чек [10:59:48]line ПРОДАЖА [10:59:48]line Товар: 2000036220012 [10:59:48]line Кофе Капучино XL(GABB TRADE) [10:59:48]line 1.000 * 130.00 [10:59:48]line = 130.00 [10:59:48]line НДС 12% НСП 1% [10:59:48]line > о реализуемом товаре [10:59:48]line ИТОГО: 130.00 [10:59:48]line НСП 1% : 1.15 [10:59:48]line НДС 12% : 13.80 [10:59:48]line Наличными: 0.00 [10:59:48]line Безнал.: 130.00 [10:59:48]line Место: АЗС № 54 "Партнер Нефть" [10:59:48]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [10:59:48]line СНО: Общий режим [10:59:48]line Чек 29 11.08.2024 10:59 [10:59:48]line Смена: 446 ФФД: 1.0 [10:59:48]line ЗНМ: 0300000007 [10:59:48]line РНМ: 0000000000090834 [10:59:48]line Версия ККМ: 001 [10:59:48]line Платежная система: О! деньги [10:59:48]line ФМ: 0000000000874715 [10:59:48]line ФД: 52618 [10:59:48]line ФПД: 54677822146226 [10:59:48]line /tax-web-control/client/api/v1/ticket?date=20240811T105950&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52618&fm=54677822146226&tin=02508201610067®Number=0000000000090834&sum=13000 [10:59:48]OFD Sender: Processing packet 52618 [packets to send 55, broken 54] [10:59:48]ProducePacketName [10:59:48]name=ofd_packets/00052618 [10:59:48]OFD Sender: To server: pG, [10:59:48]CommunicateWithHost lk.salyk.kg:30040 [10:59:48]ConnectInit lk.salyk.kg [10:59:48]line 0 [10:59:48]written 0, free lines is 4095 [10:59:48]Connected sock=10 [10:59:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2E 01 00 00 20 7B 26 01 8E F9 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 A6 99 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8A CD 00 00 35 04 06 00 31 BA AC 2A 86 B2 57 2D AF 45 0A AE BF 41 [10:59:49]Write to MH i2c: 01 00 00 B3 12 C5 [10:59:49]Write i2c OK [10:59:49]MH_I2C_Read... [10:59:49]Read from MH i2c: 01 [10:59:49]MH_I2C_Read... [10:59:49]Read from MH i2c: 01 07 00 [10:59:49]MH_I2C_Read... [10:59:49]Read from MH i2c: 01 07 00 B3 12 00 00 00 00 00 B3 0C 8B [10:59:49]RasterBufferAndPrint [10:59:49]line [10:59:49]line [10:59:49]line [10:59:49]line [10:59:49]line [10:59:49]written 0, free lines is 3257 [10:59:49]MH_Cut [10:59:49]Write to MH i2c: D1 01 00 BA 12 01 9E [10:59:49]Write i2c OK [10:59:49]MH_I2C_Read... [10:59:49]Read from MH i2c: D1 [10:59:49]MH_I2C_Read... [10:59:49]Read from MH i2c: D1 01 00 [10:59:49]MH_I2C_Read... [10:59:49]Read from MH i2c: D1 01 00 BA 12 00 9D [10:59:49]Write to MH i2c: 01 00 00 BB 12 CD [10:59:49]Write i2c OK [10:59:49]MH_I2C_Read... [10:59:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 32 AF 47 00 6F 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 34 37 31 35 10 04 04 00 8A CD 00 00 F4 03 04 00 41 41 B8 66 B6 04 01 00 00 31 3E 29 58 65 BE BB B0 [10:59:49]CommunicateWithHost err = 0 [10:59:49]CheckOFDResponse [10:59:49]1017 (14) - 77093643461234 [10:59:49]1041 (16) - 0000000000874715 [10:59:49]1040 (4) - 52618 [10:59:49]1012 (4) - 11.08.2024 04:42 [10:59:49]1206 (1) - 0 [10:59:49]OFD Sender: Remove packet 52618 [10:59:49]ProducePacketName [10:59:49]name=ofd_packets/00052618 [10:59:49]NVStorageDeleteData [10:59:49]OFD Sender: No OFD packet to send [10:59:49]*** Cut start [10:59:49]*** Purtial cut [10:59:49]*** Stage 1: CUTSNS_PIN = 1 [10:59:50]Read from MH i2c: 01 [10:59:50]MH_I2C_Read... [10:59:50]*** Stop cut motor [10:59:50]*** Cut end [10:59:50]Read from MH i2c: 01 07 00 [10:59:50]MH_I2C_Read... [10:59:50]Read from MH i2c: 01 07 00 BB 12 00 00 00 00 00 FF 0F E2 [10:59:50]process_action close_receipt done [10:59:50]requested_data is exist [10:59:50]produce_requested_data [10:59:50]requested_item fm.sn is exist - process it [10:59:50]wFMCommunicate request_size=4 [10:59:50]MH_SAM_APDU [10:59:50]CAPDU: 80 11 00 00 [10:59:50]Write to MH i2c: E2 08 00 BC 12 80 11 00 00 00 00 00 00 48 [10:59:50]Write i2c OK [10:59:50]MH_I2C_Read... [10:59:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:59:50]Read from MH i2c: E2 [10:59:50]MH_I2C_Read... [10:59:50]Read from MH i2c: E2 17 00 [10:59:50]MH_I2C_Read... [10:59:50]Read from MH i2c: E2 17 00 BC 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 9B [10:59:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [10:59:50]wFMCommunicate OK [10:59:50]requested_item fd.num is exist - process it [10:59:50]SAM_PROTO_GetFieldsCounters [10:59:50]wFMCommunicate request_size=4 [10:59:50]MH_SAM_APDU [10:59:50]CAPDU: 80 13 00 00 [10:59:50]Write to MH i2c: E2 08 00 BD 12 80 13 00 00 00 00 00 00 4B [10:59:50]Write i2c OK [10:59:50]MH_I2C_Read... [10:59:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:59:50]Read from MH i2c: E2 [10:59:50]MH_I2C_Read... [10:59:50]Read from MH i2c: E2 62 00 [10:59:50]MH_I2C_Read... [10:59:50]Read from MH i2c: E2 62 00 BD 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 8A CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 D8 [10:59: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 8A CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:59:50]wFMCommunicate OK [10:59:50]SAM_PROTO_GetFieldsCounters done [10:59:50]requested_item shift.num is exist - process it [10:59:50]requested_item shift.opened is exist - process it [10:59:50]req_shift_opened [10:59:50]FM_GetShiftState [10:59:50]SAM_PROTO_GetShiftState [10:59:50]wFMCommunicate request_size=4 [10:59:50]MH_SAM_APDU [10:59:50]CAPDU: 80 13 01 00 [10:59:50]Write to MH i2c: E2 08 00 BE 12 80 13 01 00 00 00 00 00 4D [10:59:50]Write i2c OK [10:59:50]MH_I2C_Read... [10:59:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:59:50]Read from MH i2c: E2 [10:59:50]MH_I2C_Read... [10:59:50]Read from MH i2c: E2 0E 00 [10:59:50]MH_I2C_Read... [10:59:50]Read from MH i2c: E2 0E 00 BE 12 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 76 [10:59:50]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [10:59:50]wFMCommunicate OK [10:59:50]SAM_PROTO_GetShiftState done [10:59:50]FM_GetShiftState done [10:59:50]req_shift_opened done [10:59:50]requested_item shift.open_date is exist - process it [10:59:50]req_shift_open_date [10:59:50]req_shift_open_date done [10:59:50]produce_requested_data done [10:59:50]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52618,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [10:59:50]process_action_free close_receipt [10:59:50]json_value_free [10:59:50]json_value_free done [10:59:50]process_json_proto returns [10:59:50]Send response to host [10:59:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52618,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [10:59:50]free response buf [10:59:50]execute_script done [10:59:50]execute_script returns [10:59:50]free content buf [10:59:50]Sock 8.Close socket [10:59:50]Sock 8.Thread stoped [10:59:54]OFD Sender: No OFD packet to send [10:59:59]OFD Sender: No OFD packet to send [11:00:04]OFD Sender: No OFD packet to send [11:00:09]OFD Sender: No OFD packet to send [11:00:14]OFD Sender: No OFD packet to send [11:00:19]OFD Sender: No OFD packet to send [11:00:24]OFD Sender: No OFD packet to send [11:00:29]OFD Sender: No OFD packet to send [11:00:34]OFD Sender: No OFD packet to send [11:00:39]OFD Sender: No OFD packet to send [11:00:44]OFD Sender: No OFD packet to send [11:00:49]OFD Sender: No OFD packet to send [11:00:54]OFD Sender: No OFD packet to send [11:00:59]OFD Sender: No OFD packet to send [11:01:04]OFD Sender: No OFD packet to send [11:01:09]OFD Sender: No OFD packet to send [11:01:14]OFD Sender: No OFD packet to send [11:01:19]OFD Sender: No OFD packet to send [11:01:24]OFD Sender: No OFD packet to send [11:01:29]OFD Sender: No OFD packet to send [11:01:34]OFD Sender: No OFD packet to send [11:01:39]OFD Sender: No OFD packet to send [11:01:44]OFD Sender: No OFD packet to send [11:01:49]OFD Sender: No OFD packet to send [11:01:54]OFD Sender: No OFD packet to send [11:01:59]OFD Sender: No OFD packet to send [11:02:04]OFD Sender: No OFD packet to send [11:02:09]OFD Sender: No OFD packet to send [11:02:14]OFD Sender: No OFD packet to send [11:02:19]OFD Sender: No OFD packet to send [11:02:24]OFD Sender: No OFD packet to send [11:02:29]OFD Sender: No OFD packet to send [11:02:34]OFD Sender: No OFD packet to send [11:02:39]OFD Sender: No OFD packet to send [11:02:44]OFD Sender: No OFD packet to send [11:02:49]OFD Sender: No OFD packet to send [11:02:54]OFD Sender: No OFD packet to send [11:02:59]OFD Sender: No OFD packet to send [11:03:04]OFD Sender: No OFD packet to send [11:03:09]OFD Sender: No OFD packet to send [11:03:14]OFD Sender: No OFD packet to send [11:03:19]OFD Sender: No OFD packet to send [11:03:24]OFD Sender: No OFD packet to send [11:03:29]OFD Sender: No OFD packet to send [11:03:34]OFD Sender: No OFD packet to send [11:03:39]OFD Sender: No OFD packet to send [11:03:44]OFD Sender: No OFD packet to send [11:03:49]OFD Sender: No OFD packet to send [11:03:54]OFD Sender: No OFD packet to send [11:03:59]OFD Sender: No OFD packet to send [11:04:04]OFD Sender: No OFD packet to send [11:04:09]OFD Sender: No OFD packet to send [11:04:14]OFD Sender: No OFD packet to send [11:04:19]OFD Sender: No OFD packet to send [11:04:24]OFD Sender: No OFD packet to send [11:04:29]OFD Sender: No OFD packet to send [11:04:34]OFD Sender: No OFD packet to send [11:04:39]OFD Sender: No OFD packet to send [11:04:44]OFD Sender: No OFD packet to send [11:04:49]OFD Sender: No OFD packet to send [11:04:54]OFD Sender: No OFD packet to send [11:04:59]OFD Sender: No OFD packet to send [11:05:04]OFD Sender: No OFD packet to send [11:05:09]OFD Sender: No OFD packet to send [11:05:14]OFD Sender: No OFD packet to send [11:05:19]OFD Sender: No OFD packet to send [11:05:24]OFD Sender: No OFD packet to send [11:05:29]OFD Sender: No OFD packet to send [11:05:34]OFD Sender: No OFD packet to send [11:05:39]OFD Sender: No OFD packet to send [11:05:44]OFD Sender: No OFD packet to send [11:05:49]OFD Sender: No OFD packet to send [11:05:54]OFD Sender: No OFD packet to send [11:05:59]OFD Sender: No OFD packet to send [11:06:05]OFD Sender: No OFD packet to send [11:06:10]OFD Sender: No OFD packet to send [11:06:15]OFD Sender: No OFD packet to send [11:06:20]OFD Sender: No OFD packet to send [11:06:25]OFD Sender: No OFD packet to send [11:06:30]OFD Sender: No OFD packet to send [11:06:35]OFD Sender: No OFD packet to send [11:06:40]OFD Sender: No OFD packet to send [11:06:45]OFD Sender: No OFD packet to send [11:06:50]OFD Sender: No OFD packet to send [11:06:55]OFD Sender: No OFD packet to send [11:07:00]OFD Sender: No OFD packet to send [11:07:05]OFD Sender: No OFD packet to send [11:07:10]OFD Sender: No OFD packet to send [11:07:15]OFD Sender: No OFD packet to send [11:07:20]OFD Sender: No OFD packet to send [11:07:25]OFD Sender: No OFD packet to send [11:07:30]OFD Sender: No OFD packet to send [11:07:35]OFD Sender: No OFD packet to send [11:07:40]OFD Sender: No OFD packet to send [11:07:45]OFD Sender: No OFD packet to send [11:07:50]OFD Sender: No OFD packet to send [11:07:55]OFD Sender: No OFD packet to send [11:08:00]OFD Sender: No OFD packet to send [11:08:05]OFD Sender: No OFD packet to send [11:08:10]OFD Sender: No OFD packet to send [11:08:15]OFD Sender: No OFD packet to send [11:08:20]OFD Sender: No OFD packet to send [11:08:25]OFD Sender: No OFD packet to send [11:08:30]OFD Sender: No OFD packet to send [11:08:35]OFD Sender: No OFD packet to send [11:08:40]OFD Sender: No OFD packet to send [11:08:45]OFD Sender: No OFD packet to send [11:08:50]OFD Sender: No OFD packet to send [11:08:55]OFD Sender: No OFD packet to send [11:09:00]OFD Sender: No OFD packet to send [11:09:05]OFD Sender: No OFD packet to send [11:09:10]OFD Sender: No OFD packet to send [11:09:15]OFD Sender: No OFD packet to send [11:09:20]OFD Sender: No OFD packet to send [11:09:25]OFD Sender: No OFD packet to send [11:09:30]OFD Sender: No OFD packet to send [11:09:35]OFD Sender: No OFD packet to send [11:09:40]OFD Sender: No OFD packet to send [11:09:45]OFD Sender: No OFD packet to send [11:09:50]OFD Sender: No OFD packet to send [11:09:55]OFD Sender: No OFD packet to send [11:10:00]OFD Sender: No OFD packet to send [11:10:05]OFD Sender: No OFD packet to send [11:10:10]OFD Sender: No OFD packet to send [11:10:15]OFD Sender: No OFD packet to send [11:10:20]OFD Sender: No OFD packet to send [11:10:25]OFD Sender: No OFD packet to send [11:10:30]OFD Sender: No OFD packet to send [11:10:35]OFD Sender: No OFD packet to send [11:10:40]OFD Sender: No OFD packet to send [11:10:45]OFD Sender: No OFD packet to send [11:10:50]OFD Sender: No OFD packet to send [11:10:55]OFD Sender: No OFD packet to send [11:11:00]OFD Sender: No OFD packet to send [11:11:05]OFD Sender: No OFD packet to send [11:11:10]OFD Sender: No OFD packet to send [11:11:15]OFD Sender: No OFD packet to send [11:11:20]OFD Sender: No OFD packet to send [11:11:25]OFD Sender: No OFD packet to send [11:11:30]OFD Sender: No OFD packet to send [11:11:35]OFD Sender: No OFD packet to send [11:11:40]OFD Sender: No OFD packet to send [11:11:45]OFD Sender: No OFD packet to send [11:11:50]OFD Sender: No OFD packet to send [11:11:55]OFD Sender: No OFD packet to send [11:12:00]OFD Sender: No OFD packet to send [11:12:05]OFD Sender: No OFD packet to send [11:12:10]OFD Sender: No OFD packet to send [11:12:15]OFD Sender: No OFD packet to send [11:12:20]OFD Sender: No OFD packet to send [11:12:25]OFD Sender: No OFD packet to send [11:12:30]OFD Sender: No OFD packet to send [11:12:35]OFD Sender: No OFD packet to send [11:12:40]OFD Sender: No OFD packet to send [11:12:45]OFD Sender: No OFD packet to send [11:12:50]OFD Sender: No OFD packet to send [11:12:55]OFD Sender: No OFD packet to send [11:13:00]OFD Sender: No OFD packet to send [11:13:05]OFD Sender: No OFD packet to send [11:13:10]OFD Sender: No OFD packet to send [11:13:15]OFD Sender: No OFD packet to send [11:13:20]OFD Sender: No OFD packet to send [11:13:25]OFD Sender: No OFD packet to send [11:13:30]OFD Sender: No OFD packet to send [11:13:35]OFD Sender: No OFD packet to send [11:13:40]OFD Sender: No OFD packet to send [11:13:45]OFD Sender: No OFD packet to send [11:13:50]OFD Sender: No OFD packet to send [11:13:55]OFD Sender: No OFD packet to send [11:14:00]OFD Sender: No OFD packet to send [11:14:05]OFD Sender: No OFD packet to send [11:14:10]OFD Sender: No OFD packet to send [11:14:15]OFD Sender: No OFD packet to send [11:14:20]OFD Sender: No OFD packet to send [11:14:25]OFD Sender: No OFD packet to send [11:14:30]OFD Sender: No OFD packet to send [11:14:35]OFD Sender: No OFD packet to send [11:14:40]OFD Sender: No OFD packet to send [11:14:45]OFD Sender: No OFD packet to send [11:14:50]OFD Sender: No OFD packet to send [11:14:55]OFD Sender: No OFD packet to send [11:15:00]OFD Sender: No OFD packet to send [11:15:05]OFD Sender: No OFD packet to send [11:15:10]OFD Sender: No OFD packet to send [11:15:15]OFD Sender: No OFD packet to send [11:15:20]OFD Sender: No OFD packet to send [11:15:25]OFD Sender: No OFD packet to send [11:15:30]OFD Sender: No OFD packet to send [11:15:35]OFD Sender: No OFD packet to send [11:15:40]OFD Sender: No OFD packet to send [11:15:45]OFD Sender: No OFD packet to send [11:15:50]OFD Sender: No OFD packet to send [11:15:55]OFD Sender: No OFD packet to send [11:16:00]OFD Sender: No OFD packet to send [11:16:05]OFD Sender: No OFD packet to send [11:16:10]OFD Sender: No OFD packet to send [11:16:15]OFD Sender: No OFD packet to send [11:16:20]OFD Sender: No OFD packet to send [11:16:25]OFD Sender: No OFD packet to send [11:16:30]OFD Sender: No OFD packet to send [11:16:35]OFD Sender: No OFD packet to send [11:16:40]OFD Sender: No OFD packet to send [11:16:45]OFD Sender: No OFD packet to send [11:16:50]OFD Sender: No OFD packet to send [11:16:55]OFD Sender: No OFD packet to send [11:17:00]OFD Sender: No OFD packet to send [11:17:05]OFD Sender: No OFD packet to send [11:17:10]OFD Sender: No OFD packet to send [11:17:15]OFD Sender: No OFD packet to send [11:17:20]OFD Sender: No OFD packet to send [11:17:25]OFD Sender: No OFD packet to send [11:17:30]OFD Sender: No OFD packet to send [11:17:35]OFD Sender: No OFD packet to send [11:17:40]OFD Sender: No OFD packet to send [11:17:45]OFD Sender: No OFD packet to send [11:17:50]OFD Sender: No OFD packet to send [11:17:55]OFD Sender: No OFD packet to send [11:18:00]OFD Sender: No OFD packet to send [11:18:05]OFD Sender: No OFD packet to send [11:18:10]OFD Sender: No OFD packet to send [11:18:15]OFD Sender: No OFD packet to send [11:18:20]OFD Sender: No OFD packet to send [11:18:25]OFD Sender: No OFD packet to send [11:18:30]OFD Sender: No OFD packet to send [11:18:35]OFD Sender: No OFD packet to send [11:18:40]OFD Sender: No OFD packet to send [11:18:45]OFD Sender: No OFD packet to send [11:18:50]OFD Sender: No OFD packet to send [11:18:55]OFD Sender: No OFD packet to send [11:19:00]accept exits with 9 [11:19:00]New connection [11:19:00]New thread 3067252068 created [11:19:00]Thread 3067395428 joined [11:19:00]Waiting for new connection... [11:19:00] Sock 9.Parse request [11:19:00]Sock 9.Check first char [11:19:00]Sock 9.First char is OK [11:19:00]request: POST /json_proto HTTP/1.0 [11:19:00]Method: POST [11:19:00]URL: /json_proto [11:19:00]Method is POST - this is cgi request [11:19:00]url: /json_proto [11:19:00]query_string will be loaded in cgi processing [11:19:00]execute_cgi json_proto POST (null) [11:19:00]execute_cgi path=json_proto method=POST [11:19:00]POST find Content-Length [11:19:00]Host: 172.17.60.7:8080 [11:19:00]Content-Length: 836 [11:19:00]Content-Type: application/json [11:19:00] [11:19:00]POST finish read [11:19:00]Found Content-Length = 836 [11:19:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122750", "tax_sys" : 0, "items" : [ { "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:19:00]execute_script... [11:19: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)122750", "tax_sys" : 0, "items" : [ { "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:19:00]POST & json_proto [11:19:00]process_json_proto [11:19:00]json parsed OK: [11:19:00]protocol is kg_v1.0 [11:19:00]action value=close_receipt [11:19:00]process_action close_receipt [11:19:00]cmd_close_receipt [11:19:00]MH_GetDate [11:19:00]Write to MH i2c: F0 00 00 BF 12 C0 [11:19:00]Write i2c OK [11:19:00]MH_I2C_Read... [11:19:00]Read from MH i2c: F0 [11:19:00]MH_I2C_Read... [11:19:00]Read from MH i2c: F0 09 00 [11:19:00]MH_I2C_Read... [11:19:00]Read from MH i2c: F0 09 00 BF 12 00 28 9E B8 66 63 9B 67 64 76 [11:19:00]GetLastDocTimeStamp 1723373990 [11:19:00]current date 1723375144 [11:19:00]FM_GetShiftState [11:19:00]SAM_PROTO_GetShiftState [11:19:00]wFMCommunicate request_size=4 [11:19:00]MH_SAM_APDU [11:19:00]CAPDU: 80 13 01 00 [11:19:00]Write to MH i2c: E2 08 00 C0 12 80 13 01 00 00 00 00 00 4F [11:19:00]Write i2c OK [11:19:00]MH_I2C_Read... [11:19:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:19:00]Read from MH i2c: E2 [11:19:00]MH_I2C_Read... [11:19:00]Read from MH i2c: E2 0E 00 [11:19:00]MH_I2C_Read... [11:19:00]Read from MH i2c: E2 0E 00 C0 12 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 78 [11:19:00]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [11:19:00]wFMCommunicate OK [11:19:00]SAM_PROTO_GetShiftState done [11:19:00]FM_GetShiftState done [11:19:00]opened in 1723336186 [11:19:00]opened+sec_in_day 1723422586 [11:19:00]quantity*price = 17000 [11:19:00]sum+1 = 17001 [11:19:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 0.00 Безнал.: 170.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 30 11.08.2024 11:19 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52619 ФПД: 259350953274950 /tax-web-control/client/api/v1/ticket?date=20240811T111904&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52619&fm=259350953274950&tin=02508201610067®Number=0000000000090834&sum=17000 0 [11:19:01]StoreToDocumentArchive [11:19:01]shift 446 fd 52619 [11:19:01]save to /storage/0446/doc_00052619 [11:19:01]save last doc name /storage/0446/doc_00052619 to /storage/kkm_last_doc_name [11:19:01]save OK [11:19:01]Clear old archive folders... [11:19:01]ProcessDocumentItem done err = 0, tmpTLVsize=282 [11:19:01]tlvbuf is 0107CA50 [11:19:01]SAM_PROTO_ClearQueue [11:19:01]wFMCommunicate request_size=4 [11:19:01]MH_SAM_APDU [11:19:01]CAPDU: 80 09 00 00 [11:19:01]Write to MH i2c: E2 08 00 CD 12 80 09 00 00 00 00 00 00 51 [11:19:01]Write i2c OK [11:19:01]MH_I2C_Read... [11:19:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:19:01]Read from MH i2c: E2 [11:19:01]MH_I2C_Read... [11:19:01]Read from MH i2c: E2 03 00 [11:19:01]MH_I2C_Read... [11:19:01]Read from MH i2c: E2 03 00 CD 12 00 90 00 53 [11:19:01]RAPDU: 90 00 [11:19:01]wFMCommunicate OK [11:19:01]SAM_PROTO_ClearQueue done [11:19:01]KKMCreateOFDPacket [11:19:01]OFDProtocolAddRootSTLVToBuf [11:19:01]FM_MakeSignedData [11:19:01]FM_MakeSignedData [11:19:01]SAM_PROTO_SignData [11:19:01]wFMCommunicate request_size=4 [11:19:01]MH_SAM_APDU [11:19:01]CAPDU: 80 0D 01 02 [11:19:01]Write to MH i2c: E2 08 00 CE 12 80 0D 01 02 00 00 00 00 59 [11:19:01]Write i2c OK [11:19:01]MH_I2C_Read... [11:19:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:19:01]Read from MH i2c: E2 [11:19:01]MH_I2C_Read... [11:19:01]Read from MH i2c: E2 03 00 [11:19:01]MH_I2C_Read... [11:19:01]Read from MH i2c: E2 03 00 CE 12 00 90 00 54 [11:19:01]RAPDU: 90 00 [11:19:01]wFMCommunicate OK [11:19:01]wFMCommunicate request_size=255 [11:19:01]MH_SAM_APDU [11:19:01]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 28 9E B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 [11:19:01]Write to MH i2c: E2 02 01 CF 12 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 28 9E B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 00 00 27 [11:19:01]Write i2c OK [11:19:01]MH_I2C_Read... [11:19:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:19:02]Read from MH i2c: E2 [11:19:02]MH_I2C_Read... [11:19:02]Read from MH i2c: E2 03 00 [11:19:02]MH_I2C_Read... [11:19:02]Read from MH i2c: E2 03 00 CF 12 00 90 00 55 [11:19:02]RAPDU: 90 00 [11:19:02]wFMCommunicate OK [11:19:02]wFMCommunicate request_size=41 [11:19:02]MH_SAM_APDU [11:19:02]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8B CD 00 00 35 04 06 00 EB E0 D9 71 2E 46 [11:19:02]Write to MH i2c: E2 2C 00 D0 12 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8B CD 00 00 35 04 06 00 EB E0 D9 71 2E 46 00 00 0C [11:19:02]Write i2c OK [11:19:02]MH_I2C_Read... [11:19:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:19:02]Read from MH i2c: E2 [11:19:02]MH_I2C_Read... [11:19:02]Read from MH i2c: E2 03 00 [11:19:02]MH_I2C_Read... [11:19:02]Read from MH i2c: E2 03 00 D0 12 00 90 00 56 [11:19:02]RAPDU: 90 00 [11:19:02]wFMCommunicate OK [11:19:02]wFMCommunicate request_size=4 [11:19:02]MH_SAM_APDU [11:19:02]CAPDU: 80 0D 03 02 [11:19:02]Write to MH i2c: E2 08 00 D1 12 80 0D 03 02 00 00 00 00 5E [11:19:02]Write i2c OK [11:19:02]MH_I2C_Read... [11:19:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:19:02]Read from MH i2c: E2 [11:19:02]MH_I2C_Read... [11:19:02]Read from MH i2c: E2 0B 00 [11:19:02]MH_I2C_Read... [11:19:02]Read from MH i2c: E2 0B 00 D1 12 00 07 E6 17 87 AC A2 BD 32 90 00 27 [11:19:02]RAPDU: 07 E6 17 87 AC A2 BD 32 90 00 [11:19:02]wFMCommunicate OK [11:19:02]SAM_PROTO_SignData done [11:19:02]FM_MakeSignedData done [11:19:02]CreateOFDProtocolMessage [11:19:02]wFMCommunicate request_size=4 [11:19:02]MH_SAM_APDU [11:19:02]CAPDU: 80 11 00 00 [11:19:02]Write to MH i2c: E2 08 00 D2 12 80 11 00 00 00 00 00 00 5E [11:19:02]Write i2c OK [11:19:02]MH_I2C_Read... [11:19:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:19:02]Read from MH i2c: E2 [11:19:02]MH_I2C_Read... [11:19:02]Read from MH i2c: E2 17 00 [11:19:02]MH_I2C_Read... [11:19:02]Read from MH i2c: E2 17 00 D2 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 B1 [11:19:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [11:19:02]wFMCommunicate OK [11:19:02]CreateOFDProtocolMessage done [11:19:02]OFDSenderStorePacket 52619 [11:19:02]StoreOFDPacket docnum=52619 [11:19:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2E 01 00 00 33 76 26 01 D4 B2 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 28 9E B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8B CD 00 00 35 04 06 00 EB E0 D9 71 2E 46 07 E6 17 87 AC A2 BD 32 [11:19:02]CheckFolder [11:19:02]dirname=/storage/ofd_packets [11:19:02]CheckFolder done [11:19:02]ProducePacketName [11:19:02]name=ofd_packets/00052619 [11:19:02]NVStorageSaveData ofd_packets/00052619 [11:19:02]File name is /storage/ofd_packets/00052619 [11:19:02]Write 332 bytes [11:19:02]NVStorageSaveData done [11:19:02]OFDSenderStorePacket done [11:19:02]KKMCreateOFDPacket done [11:19:02]NVStorageSaveData kkm_last_timestamp [11:19:02]File name is /storage/kkm_last_timestamp [11:19:02]Write 4 bytes [11:19:02]NVStorageSaveData done [11:19:02]ExternCall_PrintAddStr [11:19:02]wPrintStart [11:19:02]Write to MH i2c: 01 00 00 D3 12 E5 [11:19:02]Write i2c OK [11:19:02]MH_I2C_Read... [11:19:02]Read from MH i2c: 01 [11:19:02]MH_I2C_Read... [11:19:02]Read from MH i2c: 01 07 00 [11:19:02]MH_I2C_Read... [11:19:02]Read from MH i2c: 01 07 00 D3 12 00 00 00 00 00 FF 0F FA [11:19:02]RasterBufferAndPrint [11:19:02]line Счет N : (3)122750 [11:19:02]line ИНН: 02508201610067 [11:19:02]line Контрольно-Кассовый Чек [11:19:02]line ПРОДАЖА [11:19:02]line Товар: 4700000480357 [11:19:02]line Пиво шахтерское 1л ПЭТ [11:19:02]line 1.000 * 170.00 [11:19:02]line = 170.00 [11:19:02]line НДС 12% НСП 1% [11:19:02]line > о реализуемом товаре [11:19:02]line ИТОГО: 170.00 [11:19:02]line НСП 1% : 1.50 [11:19:02]line НДС 12% : 18.05 [11:19:02]line Наличными: 0.00 [11:19:02]line Безнал.: 170.00 [11:19:02]line Место: АЗС № 54 "Партнер Нефть" [11:19:02]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [11:19:02]line СНО: Общий режим [11:19:02]line Чек 30 11.08.2024 11:19 [11:19:02]line Смена: 446 ФФД: 1.0 [11:19:02]line ЗНМ: 0300000007 [11:19:02]line РНМ: 0000000000090834 [11:19:02]line Версия ККМ: 001 [11:19:02]line Платежная система: О! деньги [11:19:02]line ФМ: 0000000000874715 [11:19:02]line ФД: 52619 [11:19:02]line ФПД: 259350953274950 [11:19:02]line /tax-web-control/client/api/v1/ticket?date=20240811T111904&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52619&fm=259350953274950&tin=02508201610067®Number=0000000000090834&sum=17000 [11:19:02]OFD Sender: Processing packet 52619 [packets to send 55, broken 54] [11:19:02]ProducePacketName [11:19:02]name=ofd_packets/00052619 [11:19:02]OFD Sender: To server: pG, [11:19:02]CommunicateWithHost lk.salyk.kg:30040 [11:19:02]ConnectInit lk.salyk.kg [11:19:02]line 0 [11:19:02]written 0, free lines is 4095 [11:19:02]Connected sock=10 [11:19:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2E 01 00 00 33 76 26 01 D4 B2 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 42 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 28 9E B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8B CD 00 00 35 04 06 00 EB E0 D9 71 2E 46 07 E6 17 87 AC A2 BD 32 [11:19:03]Write to MH i2c: 01 00 00 FC 12 0E [11:19:03]Write i2c OK [11:19:03]MH_I2C_Read... [11:19:03]Read from MH i2c: 01 [11:19:03]MH_I2C_Read... [11:19:03]Read from MH i2c: 01 07 00 [11:19:03]MH_I2C_Read... [11:19:03]Read from MH i2c: 01 07 00 FC 12 00 00 00 00 00 C1 0C E2 [11:19:03]RasterBufferAndPrint [11:19:03]line [11:19:03]line [11:19:03]line [11:19:03]line [11:19:03]line [11:19:03]written 0, free lines is 3272 [11:19:03]MH_Cut [11:19:03]Write to MH i2c: D1 01 00 03 13 01 E8 [11:19:03]Write i2c OK [11:19:03]MH_I2C_Read... [11:19:03]Read from MH i2c: D1 [11:19:03]MH_I2C_Read... [11:19:03]Read from MH i2c: D1 01 00 [11:19:03]MH_I2C_Read... [11:19:03]Read from MH i2c: D1 01 00 03 13 00 E7 [11:19:03]Write to MH i2c: 01 00 00 04 13 17 [11:19:03]Write i2c OK [11:19:03]MH_I2C_Read... [11:19:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 D2 DF 47 00 41 12 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8B CD 00 00 F4 03 04 00 C3 45 B8 66 B6 04 01 00 00 47 66 7A 36 D9 D2 45 27 [11:19:03]CommunicateWithHost err = 0 [11:19:03]CheckOFDResponse [11:19:03]1017 (14) - 77093643461234 [11:19:03]1041 (16) - 0000000000874715 [11:19:03]1040 (4) - 52619 [11:19:03]1012 (4) - 11.08.2024 05:01 [11:19:03]1206 (1) - 0 [11:19:03]OFD Sender: Remove packet 52619 [11:19:03]ProducePacketName [11:19:03]name=ofd_packets/00052619 [11:19:03]NVStorageDeleteData [11:19:03]OFD Sender: No OFD packet to send [11:19:04]*** Cut start [11:19:04]*** Purtial cut [11:19:04]*** Stage 1: CUTSNS_PIN = 1 [11:19:04]Read from MH i2c: 01 [11:19:04]MH_I2C_Read... [11:19:04]*** Stop cut motor [11:19:04]*** Cut end [11:19:04]Read from MH i2c: 01 07 00 [11:19:04]MH_I2C_Read... [11:19:04]Read from MH i2c: 01 07 00 04 13 00 00 00 00 00 FF 0F 2C [11:19:04]process_action close_receipt done [11:19:04]requested_data is exist [11:19:04]produce_requested_data [11:19:04]requested_item fm.sn is exist - process it [11:19:04]wFMCommunicate request_size=4 [11:19:04]MH_SAM_APDU [11:19:04]CAPDU: 80 11 00 00 [11:19:04]Write to MH i2c: E2 08 00 05 13 80 11 00 00 00 00 00 00 92 [11:19:04]Write i2c OK [11:19:04]MH_I2C_Read... [11:19:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:19:04]Read from MH i2c: E2 [11:19:04]MH_I2C_Read... [11:19:04]Read from MH i2c: E2 17 00 [11:19:04]MH_I2C_Read... [11:19:04]Read from MH i2c: E2 17 00 05 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 E5 [11:19:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [11:19:04]wFMCommunicate OK [11:19:04]requested_item fd.num is exist - process it [11:19:04]SAM_PROTO_GetFieldsCounters [11:19:04]wFMCommunicate request_size=4 [11:19:04]MH_SAM_APDU [11:19:04]CAPDU: 80 13 00 00 [11:19:04]Write to MH i2c: E2 08 00 06 13 80 13 00 00 00 00 00 00 95 [11:19:04]Write i2c OK [11:19:04]MH_I2C_Read... [11:19:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:19:04]Read from MH i2c: E2 [11:19:04]MH_I2C_Read... [11:19:04]Read from MH i2c: E2 62 00 [11:19:04]MH_I2C_Read... [11:19:04]Read from MH i2c: E2 62 00 06 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 8B CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 26 [11:19: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 8B CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:19:04]wFMCommunicate OK [11:19:04]SAM_PROTO_GetFieldsCounters done [11:19:04]requested_item shift.num is exist - process it [11:19:04]requested_item shift.opened is exist - process it [11:19:04]req_shift_opened [11:19:04]FM_GetShiftState [11:19:04]SAM_PROTO_GetShiftState [11:19:04]wFMCommunicate request_size=4 [11:19:04]MH_SAM_APDU [11:19:04]CAPDU: 80 13 01 00 [11:19:04]Write to MH i2c: E2 08 00 07 13 80 13 01 00 00 00 00 00 97 [11:19:04]Write i2c OK [11:19:04]MH_I2C_Read... [11:19:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:19:04]Read from MH i2c: E2 [11:19:04]MH_I2C_Read... [11:19:04]Read from MH i2c: E2 0E 00 [11:19:04]MH_I2C_Read... [11:19:04]Read from MH i2c: E2 0E 00 07 13 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 C0 [11:19:04]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [11:19:04]wFMCommunicate OK [11:19:04]SAM_PROTO_GetShiftState done [11:19:04]FM_GetShiftState done [11:19:04]req_shift_opened done [11:19:04]requested_item shift.open_date is exist - process it [11:19:04]req_shift_open_date [11:19:04]req_shift_open_date done [11:19:04]produce_requested_data done [11:19:04]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52619,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [11:19:04]process_action_free close_receipt [11:19:04]json_value_free [11:19:04]json_value_free done [11:19:04]process_json_proto returns [11:19:04]Send response to host [11:19:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52619,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [11:19:04]free response buf [11:19:04]execute_script done [11:19:04]execute_script returns [11:19:04]free content buf [11:19:04]Sock 9.Close socket [11:19:04]Sock 9.Thread stoped [11:19:08]OFD Sender: No OFD packet to send [11:19:13]OFD Sender: No OFD packet to send [11:19:18]OFD Sender: No OFD packet to send [11:19:23]OFD Sender: No OFD packet to send [11:19:28]OFD Sender: No OFD packet to send [11:19:33]OFD Sender: No OFD packet to send [11:19:38]OFD Sender: No OFD packet to send [11:19:43]OFD Sender: No OFD packet to send [11:19:48]OFD Sender: No OFD packet to send [11:19:53]OFD Sender: No OFD packet to send [11:19:58]OFD Sender: No OFD packet to send [11:20:03]OFD Sender: No OFD packet to send [11:20:08]OFD Sender: No OFD packet to send [11:20:13]OFD Sender: No OFD packet to send [11:20:18]OFD Sender: No OFD packet to send [11:20:23]OFD Sender: No OFD packet to send [11:20:28]OFD Sender: No OFD packet to send [11:20:33]OFD Sender: No OFD packet to send [11:20:38]OFD Sender: No OFD packet to send [11:20:43]OFD Sender: No OFD packet to send [11:20:48]OFD Sender: No OFD packet to send [11:20:53]OFD Sender: No OFD packet to send [11:20:58]OFD Sender: No OFD packet to send [11:21:03]OFD Sender: No OFD packet to send [11:21:08]OFD Sender: No OFD packet to send [11:21:13]OFD Sender: No OFD packet to send [11:21:18]OFD Sender: No OFD packet to send [11:21:23]OFD Sender: No OFD packet to send [11:21:28]OFD Sender: No OFD packet to send [11:21:33]OFD Sender: No OFD packet to send [11:21:38]OFD Sender: No OFD packet to send [11:21:43]OFD Sender: No OFD packet to send [11:21:48]OFD Sender: No OFD packet to send [11:21:53]OFD Sender: No OFD packet to send [11:21:58]OFD Sender: No OFD packet to send [11:22:03]OFD Sender: No OFD packet to send [11:22:08]OFD Sender: No OFD packet to send [11:22:13]OFD Sender: No OFD packet to send [11:22:18]OFD Sender: No OFD packet to send [11:22:23]OFD Sender: No OFD packet to send [11:22:28]OFD Sender: No OFD packet to send [11:22:33]OFD Sender: No OFD packet to send [11:22:38]OFD Sender: No OFD packet to send [11:22:43]OFD Sender: No OFD packet to send [11:22:48]OFD Sender: No OFD packet to send [11:22:53]OFD Sender: No OFD packet to send [11:22:59]OFD Sender: No OFD packet to send [11:23:04]OFD Sender: No OFD packet to send [11:23:09]OFD Sender: No OFD packet to send [11:23:14]OFD Sender: No OFD packet to send [11:23:19]OFD Sender: No OFD packet to send [11:23:24]OFD Sender: No OFD packet to send [11:23:29]OFD Sender: No OFD packet to send [11:23:34]OFD Sender: No OFD packet to send [11:23:39]OFD Sender: No OFD packet to send [11:23:44]OFD Sender: No OFD packet to send [11:23:49]OFD Sender: No OFD packet to send [11:23:54]OFD Sender: No OFD packet to send [11:23:59]OFD Sender: No OFD packet to send [11:24:04]OFD Sender: No OFD packet to send [11:24:09]OFD Sender: No OFD packet to send [11:24:14]OFD Sender: No OFD packet to send [11:24:19]OFD Sender: No OFD packet to send [11:24:24]OFD Sender: No OFD packet to send [11:24:29]OFD Sender: No OFD packet to send [11:24:34]OFD Sender: No OFD packet to send [11:24:39]OFD Sender: No OFD packet to send [11:24:44]OFD Sender: No OFD packet to send [11:24:49]OFD Sender: No OFD packet to send [11:24:54]OFD Sender: No OFD packet to send [11:24:59]OFD Sender: No OFD packet to send [11:25:04]OFD Sender: No OFD packet to send [11:25:09]OFD Sender: No OFD packet to send [11:25:14]OFD Sender: No OFD packet to send [11:25:19]OFD Sender: No OFD packet to send [11:25:24]OFD Sender: No OFD packet to send [11:25:29]OFD Sender: No OFD packet to send [11:25:34]OFD Sender: No OFD packet to send [11:25:39]OFD Sender: No OFD packet to send [11:25:44]OFD Sender: No OFD packet to send [11:25:49]OFD Sender: No OFD packet to send [11:25:54]OFD Sender: No OFD packet to send [11:25:59]OFD Sender: No OFD packet to send [11:26:04]OFD Sender: No OFD packet to send [11:26:09]OFD Sender: No OFD packet to send [11:26:14]OFD Sender: No OFD packet to send [11:26:19]OFD Sender: No OFD packet to send [11:26:24]OFD Sender: No OFD packet to send [11:26:29]OFD Sender: No OFD packet to send [11:26:34]OFD Sender: No OFD packet to send [11:26:39]OFD Sender: No OFD packet to send [11:26:44]OFD Sender: No OFD packet to send [11:26:49]OFD Sender: No OFD packet to send [11:26:54]OFD Sender: No OFD packet to send [11:26:59]OFD Sender: No OFD packet to send [11:27:04]OFD Sender: No OFD packet to send [11:27:09]OFD Sender: No OFD packet to send [11:27:14]OFD Sender: No OFD packet to send [11:27:19]OFD Sender: No OFD packet to send [11:27:24]OFD Sender: No OFD packet to send [11:27:29]OFD Sender: No OFD packet to send [11:27:34]OFD Sender: No OFD packet to send [11:27:39]OFD Sender: No OFD packet to send [11:27:44]OFD Sender: No OFD packet to send [11:27:49]OFD Sender: No OFD packet to send [11:27:54]OFD Sender: No OFD packet to send [11:27:59]OFD Sender: No OFD packet to send [11:28:04]OFD Sender: No OFD packet to send [11:28:09]OFD Sender: No OFD packet to send [11:28:14]OFD Sender: No OFD packet to send [11:28:19]OFD Sender: No OFD packet to send [11:28:24]OFD Sender: No OFD packet to send [11:28:29]OFD Sender: No OFD packet to send [11:28:34]OFD Sender: No OFD packet to send [11:28:39]OFD Sender: No OFD packet to send [11:28:44]OFD Sender: No OFD packet to send [11:28:49]OFD Sender: No OFD packet to send [11:28:54]OFD Sender: No OFD packet to send [11:28:59]OFD Sender: No OFD packet to send [11:29:04]OFD Sender: No OFD packet to send [11:29:09]OFD Sender: No OFD packet to send [11:29:14]OFD Sender: No OFD packet to send [11:29:19]OFD Sender: No OFD packet to send [11:29:24]OFD Sender: No OFD packet to send [11:29:29]OFD Sender: No OFD packet to send [11:29:34]OFD Sender: No OFD packet to send [11:29:39]OFD Sender: No OFD packet to send [11:29:44]OFD Sender: No OFD packet to send [11:29:49]OFD Sender: No OFD packet to send [11:29:54]OFD Sender: No OFD packet to send [11:29:59]OFD Sender: No OFD packet to send [11:30:04]OFD Sender: No OFD packet to send [11:30:09]OFD Sender: No OFD packet to send [11:30:14]OFD Sender: No OFD packet to send [11:30:19]OFD Sender: No OFD packet to send [11:30:24]OFD Sender: No OFD packet to send [11:30:29]OFD Sender: No OFD packet to send [11:30:34]OFD Sender: No OFD packet to send [11:30:39]OFD Sender: No OFD packet to send [11:30:44]OFD Sender: No OFD packet to send [11:30:49]OFD Sender: No OFD packet to send [11:30:54]OFD Sender: No OFD packet to send [11:30:59]OFD Sender: No OFD packet to send [11:31:04]OFD Sender: No OFD packet to send [11:31:09]OFD Sender: No OFD packet to send [11:31:14]OFD Sender: No OFD packet to send [11:31:19]OFD Sender: No OFD packet to send [11:31:24]OFD Sender: No OFD packet to send [11:31:29]OFD Sender: No OFD packet to send [11:31:34]OFD Sender: No OFD packet to send [11:31:39]OFD Sender: No OFD packet to send [11:31:44]OFD Sender: No OFD packet to send [11:31:49]OFD Sender: No OFD packet to send [11:31:54]OFD Sender: No OFD packet to send [11:31:59]OFD Sender: No OFD packet to send [11:32:04]OFD Sender: No OFD packet to send [11:32:09]OFD Sender: No OFD packet to send [11:32:14]OFD Sender: No OFD packet to send [11:32:19]OFD Sender: No OFD packet to send [11:32:24]OFD Sender: No OFD packet to send [11:32:29]OFD Sender: No OFD packet to send [11:32:34]OFD Sender: No OFD packet to send [11:32:39]OFD Sender: No OFD packet to send [11:32:44]OFD Sender: No OFD packet to send [11:32:49]OFD Sender: No OFD packet to send [11:32:54]OFD Sender: No OFD packet to send [11:32:59]OFD Sender: No OFD packet to send [11:33:04]OFD Sender: No OFD packet to send [11:33:09]OFD Sender: No OFD packet to send [11:33:14]OFD Sender: No OFD packet to send [11:33:19]OFD Sender: No OFD packet to send [11:33:24]OFD Sender: No OFD packet to send [11:33:29]OFD Sender: No OFD packet to send [11:33:34]OFD Sender: No OFD packet to send [11:33:39]OFD Sender: No OFD packet to send [11:33:44]OFD Sender: No OFD packet to send [11:33:49]OFD Sender: No OFD packet to send [11:33:54]OFD Sender: No OFD packet to send [11:33:59]OFD Sender: No OFD packet to send [11:34:04]OFD Sender: No OFD packet to send [11:34:09]OFD Sender: No OFD packet to send [11:34:14]OFD Sender: No OFD packet to send [11:34:19]OFD Sender: No OFD packet to send [11:34:24]OFD Sender: No OFD packet to send [11:34:29]OFD Sender: No OFD packet to send [11:34:34]OFD Sender: No OFD packet to send [11:34:39]OFD Sender: No OFD packet to send [11:34:44]OFD Sender: No OFD packet to send [11:34:49]OFD Sender: No OFD packet to send [11:34:54]OFD Sender: No OFD packet to send [11:34:59]OFD Sender: No OFD packet to send [11:35:04]OFD Sender: No OFD packet to send [11:35:09]OFD Sender: No OFD packet to send [11:35:14]OFD Sender: No OFD packet to send [11:35:19]OFD Sender: No OFD packet to send [11:35:24]OFD Sender: No OFD packet to send [11:35:29]OFD Sender: No OFD packet to send [11:35:34]OFD Sender: No OFD packet to send [11:35:39]OFD Sender: No OFD packet to send [11:35:44]OFD Sender: No OFD packet to send [11:35:49]OFD Sender: No OFD packet to send [11:35:54]OFD Sender: No OFD packet to send [11:35:59]OFD Sender: No OFD packet to send [11:36:04]OFD Sender: No OFD packet to send [11:36:09]OFD Sender: No OFD packet to send [11:36:14]OFD Sender: No OFD packet to send [11:36:19]OFD Sender: No OFD packet to send [11:36:24]OFD Sender: No OFD packet to send [11:36:29]OFD Sender: No OFD packet to send [11:36:34]OFD Sender: No OFD packet to send [11:36:39]OFD Sender: No OFD packet to send [11:36:44]OFD Sender: No OFD packet to send [11:36:49]OFD Sender: No OFD packet to send [11:36:54]OFD Sender: No OFD packet to send [11:36:59]OFD Sender: No OFD packet to send [11:37:04]OFD Sender: No OFD packet to send [11:37:09]OFD Sender: No OFD packet to send [11:37:14]OFD Sender: No OFD packet to send [11:37:19]OFD Sender: No OFD packet to send [11:37:24]OFD Sender: No OFD packet to send [11:37:29]OFD Sender: No OFD packet to send [11:37:34]OFD Sender: No OFD packet to send [11:37:39]OFD Sender: No OFD packet to send [11:37:44]OFD Sender: No OFD packet to send [11:37:49]OFD Sender: No OFD packet to send [11:37:54]OFD Sender: No OFD packet to send [11:37:59]OFD Sender: No OFD packet to send [11:38:04]OFD Sender: No OFD packet to send [11:38:09]OFD Sender: No OFD packet to send [11:38:14]OFD Sender: No OFD packet to send [11:38:19]OFD Sender: No OFD packet to send [11:38:24]OFD Sender: No OFD packet to send [11:38:29]OFD Sender: No OFD packet to send [11:38:34]OFD Sender: No OFD packet to send [11:38:39]OFD Sender: No OFD packet to send [11:38:44]OFD Sender: No OFD packet to send [11:38:49]OFD Sender: No OFD packet to send [11:38:54]OFD Sender: No OFD packet to send [11:38:59]OFD Sender: No OFD packet to send [11:39:04]OFD Sender: No OFD packet to send [11:39:09]OFD Sender: No OFD packet to send [11:39:14]OFD Sender: No OFD packet to send [11:39:19]OFD Sender: No OFD packet to send [11:39:24]OFD Sender: No OFD packet to send [11:39:29]OFD Sender: No OFD packet to send [11:39:34]OFD Sender: No OFD packet to send [11:39:39]OFD Sender: No OFD packet to send [11:39:44]OFD Sender: No OFD packet to send [11:39:49]OFD Sender: No OFD packet to send [11:39:54]OFD Sender: No OFD packet to send [11:39:59]OFD Sender: No OFD packet to send [11:40:04]OFD Sender: No OFD packet to send [11:40:09]OFD Sender: No OFD packet to send [11:40:14]OFD Sender: No OFD packet to send [11:40:19]OFD Sender: No OFD packet to send [11:40:24]OFD Sender: No OFD packet to send [11:40:29]OFD Sender: No OFD packet to send [11:40:34]OFD Sender: No OFD packet to send [11:40:39]OFD Sender: No OFD packet to send [11:40:45]OFD Sender: No OFD packet to send [11:40:50]OFD Sender: No OFD packet to send [11:40:55]OFD Sender: No OFD packet to send [11:41:00]OFD Sender: No OFD packet to send [11:41:05]OFD Sender: No OFD packet to send [11:41:10]OFD Sender: No OFD packet to send [11:41:15]OFD Sender: No OFD packet to send [11:41:20]OFD Sender: No OFD packet to send [11:41:25]OFD Sender: No OFD packet to send [11:41:30]OFD Sender: No OFD packet to send [11:41:35]OFD Sender: No OFD packet to send [11:41:40]OFD Sender: No OFD packet to send [11:41:45]OFD Sender: No OFD packet to send [11:41:50]OFD Sender: No OFD packet to send [11:41:55]OFD Sender: No OFD packet to send [11:42:00]OFD Sender: No OFD packet to send [11:42:05]OFD Sender: No OFD packet to send [11:42:10]OFD Sender: No OFD packet to send [11:42:15]OFD Sender: No OFD packet to send [11:42:20]OFD Sender: No OFD packet to send [11:42:25]OFD Sender: No OFD packet to send [11:42:30]OFD Sender: No OFD packet to send [11:42:35]OFD Sender: No OFD packet to send [11:42:40]OFD Sender: No OFD packet to send [11:42:45]OFD Sender: No OFD packet to send [11:42:50]OFD Sender: No OFD packet to send [11:42:55]OFD Sender: No OFD packet to send [11:43:00]OFD Sender: No OFD packet to send [11:43:05]OFD Sender: No OFD packet to send [11:43:10]OFD Sender: No OFD packet to send [11:43:15]OFD Sender: No OFD packet to send [11:43:20]OFD Sender: No OFD packet to send [11:43:25]OFD Sender: No OFD packet to send [11:43:30]OFD Sender: No OFD packet to send [11:43:35]OFD Sender: No OFD packet to send [11:43:40]OFD Sender: No OFD packet to send [11:43:45]OFD Sender: No OFD packet to send [11:43:50]OFD Sender: No OFD packet to send [11:43:55]OFD Sender: No OFD packet to send [11:44:00]OFD Sender: No OFD packet to send [11:44:05]OFD Sender: No OFD packet to send [11:44:10]OFD Sender: No OFD packet to send [11:44:15]OFD Sender: No OFD packet to send [11:44:20]OFD Sender: No OFD packet to send [11:44:25]OFD Sender: No OFD packet to send [11:44:30]OFD Sender: No OFD packet to send [11:44:35]OFD Sender: No OFD packet to send [11:44:40]OFD Sender: No OFD packet to send [11:44:45]OFD Sender: No OFD packet to send [11:44:50]OFD Sender: No OFD packet to send [11:44:55]OFD Sender: No OFD packet to send [11:45:00]OFD Sender: No OFD packet to send [11:45:05]OFD Sender: No OFD packet to send [11:45:10]OFD Sender: No OFD packet to send [11:45:15]OFD Sender: No OFD packet to send [11:45:20]OFD Sender: No OFD packet to send [11:45:25]OFD Sender: No OFD packet to send [11:45:30]OFD Sender: No OFD packet to send [11:45:35]OFD Sender: No OFD packet to send [11:45:40]OFD Sender: No OFD packet to send [11:45:45]OFD Sender: No OFD packet to send [11:45:50]OFD Sender: No OFD packet to send [11:45:55]OFD Sender: No OFD packet to send [11:46:00]OFD Sender: No OFD packet to send [11:46:05]OFD Sender: No OFD packet to send [11:46:10]OFD Sender: No OFD packet to send [11:46:15]OFD Sender: No OFD packet to send [11:46:20]OFD Sender: No OFD packet to send [11:46:25]OFD Sender: No OFD packet to send [11:46:30]OFD Sender: No OFD packet to send [11:46:35]OFD Sender: No OFD packet to send [11:46:40]OFD Sender: No OFD packet to send [11:46:45]OFD Sender: No OFD packet to send [11:46:50]OFD Sender: No OFD packet to send [11:46:55]OFD Sender: No OFD packet to send [11:47:00]OFD Sender: No OFD packet to send [11:47:05]OFD Sender: No OFD packet to send [11:47:10]OFD Sender: No OFD packet to send [11:47:15]OFD Sender: No OFD packet to send [11:47:20]OFD Sender: No OFD packet to send [11:47:25]OFD Sender: No OFD packet to send [11:47:30]OFD Sender: No OFD packet to send [11:47:35]OFD Sender: No OFD packet to send [11:47:40]OFD Sender: No OFD packet to send [11:47:45]OFD Sender: No OFD packet to send [11:47:50]OFD Sender: No OFD packet to send [11:47:55]OFD Sender: No OFD packet to send [11:48:00]OFD Sender: No OFD packet to send [11:48:05]OFD Sender: No OFD packet to send [11:48:10]OFD Sender: No OFD packet to send [11:48:15]OFD Sender: No OFD packet to send [11:48:20]OFD Sender: No OFD packet to send [11:48:25]OFD Sender: No OFD packet to send [11:48:30]OFD Sender: No OFD packet to send [11:48:35]OFD Sender: No OFD packet to send [11:48:40]OFD Sender: No OFD packet to send [11:48:45]OFD Sender: No OFD packet to send [11:48:50]OFD Sender: No OFD packet to send [11:48:55]OFD Sender: No OFD packet to send [11:49:00]OFD Sender: No OFD packet to send [11:49:05]OFD Sender: No OFD packet to send [11:49:10]OFD Sender: No OFD packet to send [11:49:15]OFD Sender: No OFD packet to send [11:49:20]OFD Sender: No OFD packet to send [11:49:25]OFD Sender: No OFD packet to send [11:49:30]OFD Sender: No OFD packet to send [11:49:35]OFD Sender: No OFD packet to send [11:49:40]OFD Sender: No OFD packet to send [11:49:45]OFD Sender: No OFD packet to send [11:49:50]OFD Sender: No OFD packet to send [11:49:55]OFD Sender: No OFD packet to send [11:50:00]OFD Sender: No OFD packet to send [11:50:05]OFD Sender: No OFD packet to send [11:50:10]OFD Sender: No OFD packet to send [11:50:15]OFD Sender: No OFD packet to send [11:50:20]OFD Sender: No OFD packet to send [11:50:25]OFD Sender: No OFD packet to send [11:50:30]OFD Sender: No OFD packet to send [11:50:35]OFD Sender: No OFD packet to send [11:50:40]OFD Sender: No OFD packet to send [11:50:45]OFD Sender: No OFD packet to send [11:50:50]OFD Sender: No OFD packet to send [11:50:55]OFD Sender: No OFD packet to send [11:51:00]OFD Sender: No OFD packet to send [11:51:05]OFD Sender: No OFD packet to send [11:51:10]OFD Sender: No OFD packet to send [11:51:15]OFD Sender: No OFD packet to send [11:51:20]OFD Sender: No OFD packet to send [11:51:25]OFD Sender: No OFD packet to send [11:51:30]OFD Sender: No OFD packet to send [11:51:35]OFD Sender: No OFD packet to send [11:51:40]OFD Sender: No OFD packet to send [11:51:45]OFD Sender: No OFD packet to send [11:51:50]OFD Sender: No OFD packet to send [11:51:55]OFD Sender: No OFD packet to send [11:52:00]OFD Sender: No OFD packet to send [11:52:05]OFD Sender: No OFD packet to send [11:52:10]OFD Sender: No OFD packet to send [11:52:15]OFD Sender: No OFD packet to send [11:52:20]OFD Sender: No OFD packet to send [11:52:25]OFD Sender: No OFD packet to send [11:52:30]OFD Sender: No OFD packet to send [11:52:35]OFD Sender: No OFD packet to send [11:52:40]OFD Sender: No OFD packet to send [11:52:45]OFD Sender: No OFD packet to send [11:52:50]OFD Sender: No OFD packet to send [11:52:55]OFD Sender: No OFD packet to send [11:53:00]OFD Sender: No OFD packet to send [11:53:05]OFD Sender: No OFD packet to send [11:53:10]OFD Sender: No OFD packet to send [11:53:15]OFD Sender: No OFD packet to send [11:53:20]OFD Sender: No OFD packet to send [11:53:25]OFD Sender: No OFD packet to send [11:53:30]OFD Sender: No OFD packet to send [11:53:35]OFD Sender: No OFD packet to send [11:53:40]OFD Sender: No OFD packet to send [11:53:45]OFD Sender: No OFD packet to send [11:53:50]OFD Sender: No OFD packet to send [11:53:55]OFD Sender: No OFD packet to send [11:54:00]OFD Sender: No OFD packet to send [11:54:05]OFD Sender: No OFD packet to send [11:54:10]OFD Sender: No OFD packet to send [11:54:15]OFD Sender: No OFD packet to send [11:54:20]OFD Sender: No OFD packet to send [11:54:25]OFD Sender: No OFD packet to send [11:54:30]OFD Sender: No OFD packet to send [11:54:35]OFD Sender: No OFD packet to send [11:54:40]OFD Sender: No OFD packet to send [11:54:45]OFD Sender: No OFD packet to send [11:54:50]OFD Sender: No OFD packet to send [11:54:55]OFD Sender: No OFD packet to send [11:55:00]OFD Sender: No OFD packet to send [11:55:05]OFD Sender: No OFD packet to send [11:55:10]OFD Sender: No OFD packet to send [11:55:15]OFD Sender: No OFD packet to send [11:55:20]OFD Sender: No OFD packet to send [11:55:25]OFD Sender: No OFD packet to send [11:55:30]OFD Sender: No OFD packet to send [11:55:35]OFD Sender: No OFD packet to send [11:55:40]OFD Sender: No OFD packet to send [11:55:45]OFD Sender: No OFD packet to send [11:55:50]OFD Sender: No OFD packet to send [11:55:55]OFD Sender: No OFD packet to send [11:55:59]accept exits with 8 [11:55:59]New connection [11:55:59]New thread 3067395428 created [11:55:59]Thread 3067252068 joined [11:55:59]Waiting for new connection... [11:55:59] Sock 8.Parse request [11:55:59]Sock 8.Check first char [11:55:59]Sock 8.First char is OK [11:55:59]request: POST /json_proto HTTP/1.0 [11:55:59]Method: POST [11:55:59]URL: /json_proto [11:55:59]Method is POST - this is cgi request [11:55:59]url: /json_proto [11:55:59]query_string will be loaded in cgi processing [11:55:59]execute_cgi json_proto POST (null) [11:55:59]execute_cgi path=json_proto method=POST [11:55:59]POST find Content-Length [11:55:59]Host: 172.17.60.7:8080 [11:55:59]Content-Length: 806 [11:55:59]Content-Type: application/json [11:55:59] [11:55:59]POST finish read [11:55:59]Found Content-Length = 806 [11:55:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122751", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 156.00, "quantity" : 2.000, "sum" : 312.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 312.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:55:59]execute_script... [11:55: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)122751", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 156.00, "quantity" : 2.000, "sum" : 312.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 312.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:55:59]POST & json_proto [11:55:59]process_json_proto [11:55:59]json parsed OK: [11:55:59]protocol is kg_v1.0 [11:55:59]action value=close_receipt [11:55:59]process_action close_receipt [11:55:59]cmd_close_receipt [11:55:59]MH_GetDate [11:55:59]Write to MH i2c: F0 00 00 08 13 0A [11:55:59]Write i2c OK [11:55:59]MH_I2C_Read... [11:55:59]Read from MH i2c: F0 [11:55:59]MH_I2C_Read... [11:55:59]Read from MH i2c: F0 09 00 [11:55:59]MH_I2C_Read... [11:55:59]Read from MH i2c: F0 09 00 08 13 00 D3 A6 B8 66 63 9B 67 64 73 [11:55:59]GetLastDocTimeStamp 1723375144 [11:55:59]current date 1723377363 [11:55:59]FM_GetShiftState [11:55:59]SAM_PROTO_GetShiftState [11:55:59]wFMCommunicate request_size=4 [11:55:59]MH_SAM_APDU [11:55:59]CAPDU: 80 13 01 00 [11:55:59]Write to MH i2c: E2 08 00 09 13 80 13 01 00 00 00 00 00 99 [11:55:59]Write i2c OK [11:55:59]MH_I2C_Read... [11:55:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:55:59]Read from MH i2c: E2 [11:55:59]MH_I2C_Read... [11:55:59]Read from MH i2c: E2 0E 00 [11:55:59]MH_I2C_Read... [11:55:59]Read from MH i2c: E2 0E 00 09 13 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 C2 [11:55:59]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [11:55:59]wFMCommunicate OK [11:55:59]SAM_PROTO_GetShiftState done [11:55:59]FM_GetShiftState done [11:55:59]opened in 1723336186 [11:55:59]opened+sec_in_day 1723422586 [11:55:59]quantity*price = 31200 [11:55:59]sum+1 = 31201 [11:55:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 312.00 НСП 1% : 2.76 НДС 12% : 33.13 Наличными: 0.00 Безнал.: 312.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 31 11.08.2024 11:56 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52620 ФПД: 219809344935891 /tax-web-control/client/api/v1/ticket?date=20240811T115603&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52620&fm=219809344935891&tin=02508201610067®Number=0000000000090834&sum=31200 0 [11:56:00]StoreToDocumentArchive [11:56:00]shift 446 fd 52620 [11:56:00]save to /storage/0446/doc_00052620 [11:56:00]save last doc name /storage/0446/doc_00052620 to /storage/kkm_last_doc_name [11:56:00]save OK [11:56:00]Clear old archive folders... [11:56:00]ProcessDocumentItem done err = 0, tmpTLVsize=272 [11:56:00]tlvbuf is 010A9370 [11:56:00]SAM_PROTO_ClearQueue [11:56:00]wFMCommunicate request_size=4 [11:56:00]MH_SAM_APDU [11:56:00]CAPDU: 80 09 00 00 [11:56:00]Write to MH i2c: E2 08 00 16 13 80 09 00 00 00 00 00 00 9B [11:56:00]Write i2c OK [11:56:00]MH_I2C_Read... [11:56:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:56:00]Read from MH i2c: E2 [11:56:00]MH_I2C_Read... [11:56:00]Read from MH i2c: E2 03 00 [11:56:00]MH_I2C_Read... [11:56:00]Read from MH i2c: E2 03 00 16 13 00 90 00 9D [11:56:00]RAPDU: 90 00 [11:56:00]wFMCommunicate OK [11:56:00]SAM_PROTO_ClearQueue done [11:56:00]KKMCreateOFDPacket [11:56:00]OFDProtocolAddRootSTLVToBuf [11:56:00]FM_MakeSignedData [11:56:00]FM_MakeSignedData [11:56:00]SAM_PROTO_SignData [11:56:00]wFMCommunicate request_size=4 [11:56:00]MH_SAM_APDU [11:56:00]CAPDU: 80 0D 01 02 [11:56:00]Write to MH i2c: E2 08 00 17 13 80 0D 01 02 00 00 00 00 A3 [11:56:00]Write i2c OK [11:56:00]MH_I2C_Read... [11:56:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:56:00]Read from MH i2c: E2 [11:56:00]MH_I2C_Read... [11:56:00]Read from MH i2c: E2 03 00 [11:56:00]MH_I2C_Read... [11:56:00]Read from MH i2c: E2 03 00 17 13 00 90 00 9E [11:56:00]RAPDU: 90 00 [11:56:00]wFMCommunicate OK [11:56:00]wFMCommunicate request_size=255 [11:56:00]MH_SAM_APDU [11:56:00]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 E0 79 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 79 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 D3 A6 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 [11:56:00]Write to MH i2c: E2 02 01 18 13 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 E0 79 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 79 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 D3 A6 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 B4 [11:56:00]Write i2c OK [11:56:00]MH_I2C_Read... [11:56:00]OFD Sender: No OFD packet to send [11:56:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:56:01]Read from MH i2c: E2 [11:56:01]MH_I2C_Read... [11:56:01]Read from MH i2c: E2 03 00 [11:56:01]MH_I2C_Read... [11:56:01]Read from MH i2c: E2 03 00 18 13 00 90 00 9F [11:56:01]RAPDU: 90 00 [11:56:01]wFMCommunicate OK [11:56:01]wFMCommunicate request_size=31 [11:56:01]MH_SAM_APDU [11:56:01]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 37 31 35 10 04 04 00 8C CD 00 00 35 04 06 00 C7 EA 59 EC 57 D3 [11:56:01]Write to MH i2c: E2 22 00 19 13 80 0D 02 02 1A 00 30 30 38 37 34 37 31 35 10 04 04 00 8C CD 00 00 35 04 06 00 C7 EA 59 EC 57 D3 00 00 4A [11:56:01]Write i2c OK [11:56:01]MH_I2C_Read... [11:56:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:56:01]Read from MH i2c: E2 [11:56:01]MH_I2C_Read... [11:56:01]Read from MH i2c: E2 03 00 [11:56:01]MH_I2C_Read... [11:56:01]Read from MH i2c: E2 03 00 19 13 00 90 00 A0 [11:56:01]RAPDU: 90 00 [11:56:01]wFMCommunicate OK [11:56:01]wFMCommunicate request_size=4 [11:56:01]MH_SAM_APDU [11:56:01]CAPDU: 80 0D 03 02 [11:56:01]Write to MH i2c: E2 08 00 1A 13 80 0D 03 02 00 00 00 00 A8 [11:56:01]Write i2c OK [11:56:01]MH_I2C_Read... [11:56:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:56:01]Read from MH i2c: E2 [11:56:01]MH_I2C_Read... [11:56:01]Read from MH i2c: E2 0B 00 [11:56:01]MH_I2C_Read... [11:56:01]Read from MH i2c: E2 0B 00 1A 13 00 36 53 99 84 F6 A4 4D E6 90 00 1C [11:56:01]RAPDU: 36 53 99 84 F6 A4 4D E6 90 00 [11:56:01]wFMCommunicate OK [11:56:01]SAM_PROTO_SignData done [11:56:01]FM_MakeSignedData done [11:56:01]CreateOFDProtocolMessage [11:56:01]wFMCommunicate request_size=4 [11:56:01]MH_SAM_APDU [11:56:01]CAPDU: 80 11 00 00 [11:56:01]Write to MH i2c: E2 08 00 1B 13 80 11 00 00 00 00 00 00 A8 [11:56:01]Write i2c OK [11:56:01]MH_I2C_Read... [11:56:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:56:01]Read from MH i2c: E2 [11:56:01]MH_I2C_Read... [11:56:01]Read from MH i2c: E2 17 00 [11:56:01]MH_I2C_Read... [11:56:01]Read from MH i2c: E2 17 00 1B 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 FB [11:56:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [11:56:01]wFMCommunicate OK [11:56:01]CreateOFDProtocolMessage done [11:56:01]OFDSenderStorePacket 52620 [11:56:01]StoreOFDPacket docnum=52620 [11:56:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 24 01 00 00 F7 CC 1C 01 02 D7 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 E0 79 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 79 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 D3 A6 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8C CD 00 00 35 04 06 00 C7 EA 59 EC 57 D3 36 53 99 84 F6 A4 4D E6 [11:56:01]CheckFolder [11:56:01]dirname=/storage/ofd_packets [11:56:01]CheckFolder done [11:56:01]ProducePacketName [11:56:01]name=ofd_packets/00052620 [11:56:01]NVStorageSaveData ofd_packets/00052620 [11:56:01]File name is /storage/ofd_packets/00052620 [11:56:01]Write 322 bytes [11:56:01]NVStorageSaveData done [11:56:01]OFDSenderStorePacket done [11:56:01]KKMCreateOFDPacket done [11:56:01]NVStorageSaveData kkm_last_timestamp [11:56:01]File name is /storage/kkm_last_timestamp [11:56:01]Write 4 bytes [11:56:01]NVStorageSaveData done [11:56:01]ExternCall_PrintAddStr [11:56:01]wPrintStart [11:56:01]Write to MH i2c: 01 00 00 1C 13 2F [11:56:01]Write i2c OK [11:56:01]MH_I2C_Read... [11:56:01]Read from MH i2c: 01 [11:56:01]MH_I2C_Read... [11:56:01]Read from MH i2c: 01 07 00 [11:56:01]MH_I2C_Read... [11:56:01]Read from MH i2c: 01 07 00 1C 13 00 00 00 00 00 FF 0F 44 [11:56:01]RasterBufferAndPrint [11:56:01]line Счет N : (3)122751 [11:56:01]line ИНН: 02508201610067 [11:56:01]line Контрольно-Кассовый Чек [11:56:01]line ПРОДАЖА [11:56:01]line Товар: 4700000480517 [11:56:01]line Пиво Живое 1л ПЭТ [11:56:01]line 2.000 * 156.00 [11:56:01]line = 312.00 [11:56:01]line НДС 12% НСП 1% [11:56:01]line > о реализуемом товаре [11:56:01]line ИТОГО: 312.00 [11:56:01]line НСП 1% : 2.76 [11:56:01]line НДС 12% : 33.13 [11:56:01]line Наличными: 0.00 [11:56:01]line Безнал.: 312.00 [11:56:01]line Место: АЗС № 54 "Партнер Нефть" [11:56:01]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [11:56:01]line СНО: Общий режим [11:56:01]line Чек 31 11.08.2024 11:56 [11:56:01]line Смена: 446 ФФД: 1.0 [11:56:01]line ЗНМ: 0300000007 [11:56:01]line РНМ: 0000000000090834 [11:56:01]line Версия ККМ: 001 [11:56:01]line Платежная система: О! деньги [11:56:01]line ФМ: 0000000000874715 [11:56:01]line ФД: 52620 [11:56:01]line ФПД: 219809344935891 [11:56:01]line /tax-web-control/client/api/v1/ticket?date=20240811T115603&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52620&fm=219809344935891&tin=02508201610067®Number=0000000000090834&sum=31200 [11:56:01]OFD Sender: Processing packet 52620 [packets to send 55, broken 54] [11:56:01]ProducePacketName [11:56:01]name=ofd_packets/00052620 [11:56:01]OFD Sender: To server: pG, [11:56:01]CommunicateWithHost lk.salyk.kg:30040 [11:56:01]ConnectInit lk.salyk.kg [11:56:01]line 0 [11:56:01]written 0, free lines is 4095 [11:56:01]Write to MH i2c: 01 00 00 45 13 58 [11:56:01]Write i2c OK [11:56:01]MH_I2C_Read... [11:56:01]Read from MH i2c: 01 [11:56:01]MH_I2C_Read... [11:56:01]Read from MH i2c: 01 07 00 [11:56:01]MH_I2C_Read... [11:56:01]Read from MH i2c: 01 07 00 45 13 00 00 00 00 00 C1 0C 2C [11:56:01]RasterBufferAndPrint [11:56:01]line [11:56:01]line [11:56:01]line [11:56:01]line [11:56:01]line [11:56:01]written 0, free lines is 3271 [11:56:02]MH_Cut [11:56:02]Write to MH i2c: D1 01 00 4C 13 01 31 [11:56:02]Write i2c OK [11:56:02]MH_I2C_Read... [11:56:02]Read from MH i2c: D1 [11:56:02]MH_I2C_Read... [11:56:02]Read from MH i2c: D1 01 00 [11:56:02]MH_I2C_Read... [11:56:02]Read from MH i2c: D1 01 00 4C 13 00 30 [11:56:02]Write to MH i2c: 01 00 00 4D 13 60 [11:56:02]Write i2c OK [11:56:02]MH_I2C_Read... [11:56:02]*** Cut start [11:56:02]*** Purtial cut [11:56:02]*** Stage 1: CUTSNS_PIN = 1 [11:56:03]Read from MH i2c: 01 [11:56:03]MH_I2C_Read... [11:56:03]*** Stop cut motor [11:56:03]*** Cut end [11:56:03]Read from MH i2c: 01 07 00 [11:56:03]MH_I2C_Read... [11:56:03]Read from MH i2c: 01 07 00 4D 13 00 00 00 00 00 FF 0F 75 [11:56:03]process_action close_receipt done [11:56:03]requested_data is exist [11:56:03]produce_requested_data [11:56:03]requested_item fm.sn is exist - process it [11:56:03]wFMCommunicate request_size=4 [11:56:03]MH_SAM_APDU [11:56:03]CAPDU: 80 11 00 00 [11:56:03]Write to MH i2c: E2 08 00 4E 13 80 11 00 00 00 00 00 00 DB [11:56:03]Write i2c OK [11:56:03]MH_I2C_Read... [11:56:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:56:03]Read from MH i2c: E2 [11:56:03]MH_I2C_Read... [11:56:03]Read from MH i2c: E2 17 00 [11:56:03]MH_I2C_Read... [11:56:03]Read from MH i2c: E2 17 00 4E 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 2E [11:56:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [11:56:03]wFMCommunicate OK [11:56:03]requested_item fd.num is exist - process it [11:56:03]SAM_PROTO_GetFieldsCounters [11:56:03]wFMCommunicate request_size=4 [11:56:03]MH_SAM_APDU [11:56:03]CAPDU: 80 13 00 00 [11:56:03]Write to MH i2c: E2 08 00 4F 13 80 13 00 00 00 00 00 00 DE [11:56:03]Write i2c OK [11:56:03]MH_I2C_Read... [11:56:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:56:03]Read from MH i2c: E2 [11:56:03]MH_I2C_Read... [11:56:03]Read from MH i2c: E2 62 00 [11:56:03]MH_I2C_Read... [11:56:03]Read from MH i2c: E2 62 00 4F 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 8C CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 73 [11:56:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 8C CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:56:03]wFMCommunicate OK [11:56:03]SAM_PROTO_GetFieldsCounters done [11:56:03]requested_item shift.num is exist - process it [11:56:03]requested_item shift.opened is exist - process it [11:56:03]req_shift_opened [11:56:03]FM_GetShiftState [11:56:03]SAM_PROTO_GetShiftState [11:56:03]wFMCommunicate request_size=4 [11:56:03]MH_SAM_APDU [11:56:03]CAPDU: 80 13 01 00 [11:56:03]Write to MH i2c: E2 08 00 50 13 80 13 01 00 00 00 00 00 E0 [11:56:03]Write i2c OK [11:56:03]MH_I2C_Read... [11:56:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:56:03]Read from MH i2c: E2 [11:56:03]MH_I2C_Read... [11:56:03]Read from MH i2c: E2 0E 00 [11:56:03]MH_I2C_Read... [11:56:03]Read from MH i2c: E2 0E 00 50 13 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 09 [11:56:03]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [11:56:03]wFMCommunicate OK [11:56:03]SAM_PROTO_GetShiftState done [11:56:03]FM_GetShiftState done [11:56:03]req_shift_opened done [11:56:03]requested_item shift.open_date is exist - process it [11:56:03]req_shift_open_date [11:56:03]req_shift_open_date done [11:56:03]produce_requested_data done [11:56:03]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52620,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [11:56:03]process_action_free close_receipt [11:56:03]json_value_free [11:56:03]json_value_free done [11:56:03]process_json_proto returns [11:56:03]Send response to host [11:56:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52620,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [11:56:03]free response buf [11:56:03]execute_script done [11:56:03]execute_script returns [11:56:03]free content buf [11:56:03]Sock 8.Close socket [11:56:03]Sock 8.Thread stoped [11:58:07]accept exits with 9 [11:58:07]New connection [11:58:07]New thread 3067252068 created [11:58:07]Thread 3067395428 joined [11:58:07]Waiting for new connection... [11:58:07] Sock 9.Parse request [11:58:07]Sock 9.Check first char [11:58:07]Sock 9.First char is OK [11:58:07]request: POST /json_proto HTTP/1.0 [11:58:07]Method: POST [11:58:07]URL: /json_proto [11:58:07]Method is POST - this is cgi request [11:58:07]url: /json_proto [11:58:07]query_string will be loaded in cgi processing [11:58:07]execute_cgi json_proto POST (null) [11:58:07]execute_cgi path=json_proto method=POST [11:58:07]POST find Content-Length [11:58:07]Host: 172.17.60.7:8080 [11:58:07]Content-Length: 1648 [11:58:07]Content-Type: application/json [11:58:07] [11:58:07]POST finish read [11:58:07]Found Content-Length = 1648 [11:58:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122752", "tax_sys" : 0, "items" : [ { "code": "4011100091993", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0438\u043B\u043A\u0438 \u0412\u0435\u0439 26\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700001060169", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,2\u043B", "price" : 330.00, "quantity" : 1.000, "sum" : 330.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 545.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:58:07]execute_script... [11:58:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122752", "tax_sys" : 0, "items" : [ { "code": "4011100091993", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0438\u043B\u043A\u0438 \u0412\u0435\u0439 26\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700001060169", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,2\u043B", "price" : 330.00, "quantity" : 1.000, "sum" : 330.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 545.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:58:07]POST & json_proto [11:58:07]process_json_proto [11:58:07]json parsed OK: [11:58:07]protocol is kg_v1.0 [11:58:07]action value=close_receipt [11:58:07]process_action close_receipt [11:58:07]cmd_close_receipt [11:58:07]MH_GetDate [11:58:07]Write to MH i2c: F0 00 00 51 13 53 [11:58:07]Write i2c OK [11:58:07]MH_I2C_Read... [11:58:07]Read from MH i2c: F0 [11:58:07]MH_I2C_Read... [11:58:07]Read from MH i2c: F0 09 00 [11:58:07]MH_I2C_Read... [11:58:07]Read from MH i2c: F0 09 00 51 13 00 53 A7 B8 66 63 9B 67 64 3D [11:58:07]GetLastDocTimeStamp 1723377363 [11:58:07]current date 1723377491 [11:58:07]FM_GetShiftState [11:58:07]SAM_PROTO_GetShiftState [11:58:07]wFMCommunicate request_size=4 [11:58:07]MH_SAM_APDU [11:58:07]CAPDU: 80 13 01 00 [11:58:07]Write to MH i2c: E2 08 00 52 13 80 13 01 00 00 00 00 00 E2 [11:58:07]Write i2c OK [11:58:07]MH_I2C_Read... [11:58:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:58:07]Read from MH i2c: E2 [11:58:07]MH_I2C_Read... [11:58:07]Read from MH i2c: E2 0E 00 [11:58:07]MH_I2C_Read... [11:58:07]Read from MH i2c: E2 0E 00 52 13 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 0B [11:58:07]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [11:58:07]wFMCommunicate OK [11:58:07]SAM_PROTO_GetShiftState done [11:58:07]FM_GetShiftState done [11:58:07]opened in 1723336186 [11:58:07]opened+sec_in_day 1723422586 [11:58:07]quantity*price = 3500 [11:58:07]sum+1 = 3501 [11:58:07]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600682557456 Напиток FLash up energy эн ж/б 0,5/0,45л 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700001060169 Коньяк Бишкек 0,2л 1.000 * 330.00 = 330.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 545.00 НСП 1% : 4.82 НДС 12% : 57.88 Наличными: 0.00 Безнал.: 545.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 32 11.08.2024 11:58 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52621 ФПД: 138782834086793 /tax-web-control/client/api/v1/ticket?date=20240811T115811&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52621&fm=138782834086793&tin=02508201610067®Number=0000000000090834&sum=54500 0 [11:58:08]StoreToDocumentArchive [11:58:08]shift 446 fd 52621 [11:58:08]save to /storage/0446/doc_00052621 [11:58:08]save last doc name /storage/0446/doc_00052621 to /storage/kkm_last_doc_name [11:58:08]save OK [11:58:08]Clear old archive folders... [11:58:08]ProcessDocumentItem done err = 0, tmpTLVsize=638 [11:58:08]tlvbuf is B6F2D4F0 [11:58:08]SAM_PROTO_ClearQueue [11:58:08]wFMCommunicate request_size=4 [11:58:08]MH_SAM_APDU [11:58:08]CAPDU: 80 09 00 00 [11:58:08]Write to MH i2c: E2 08 00 5F 13 80 09 00 00 00 00 00 00 E4 [11:58:08]Write i2c OK [11:58:08]MH_I2C_Read... [11:58:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:58:08]Read from MH i2c: E2 [11:58:08]MH_I2C_Read... [11:58:08]Read from MH i2c: E2 03 00 [11:58:08]MH_I2C_Read... [11:58:08]Read from MH i2c: E2 03 00 5F 13 00 90 00 E6 [11:58:08]RAPDU: 90 00 [11:58:08]wFMCommunicate OK [11:58:08]SAM_PROTO_ClearQueue done [11:58:08]KKMCreateOFDPacket [11:58:08]OFDProtocolAddRootSTLVToBuf [11:58:08]FM_MakeSignedData [11:58:08]FM_MakeSignedData [11:58:08]SAM_PROTO_SignData [11:58:08]wFMCommunicate request_size=4 [11:58:08]MH_SAM_APDU [11:58:08]CAPDU: 80 0D 01 02 [11:58:08]Write to MH i2c: E2 08 00 60 13 80 0D 01 02 00 00 00 00 EC [11:58:08]Write i2c OK [11:58:08]MH_I2C_Read... [11:58:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:58:08]Read from MH i2c: E2 [11:58:08]MH_I2C_Read... [11:58:08]Read from MH i2c: E2 03 00 [11:58:08]MH_I2C_Read... [11:58:08]Read from MH i2c: E2 03 00 60 13 00 90 00 E7 [11:58:08]RAPDU: 90 00 [11:58:08]wFMCommunicate OK [11:58:08]wFMCommunicate request_size=255 [11:58:08]MH_SAM_APDU [11:58:08]CAPDU: 80 0D 02 02 FA 03 00 7E 02 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 [11:58:08]Write to MH i2c: E2 02 01 61 13 80 0D 02 02 FA 00 03 00 7E 02 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 00 00 2F [11:58:08]Write i2c OK [11:58:08]MH_I2C_Read... [11:58:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:58:09]Read from MH i2c: E2 [11:58:09]MH_I2C_Read... [11:58:09]Read from MH i2c: E2 03 00 [11:58:09]MH_I2C_Read... [11:58:09]Read from MH i2c: E2 03 00 61 13 00 90 00 E8 [11:58:09]RAPDU: 90 00 [11:58:09]wFMCommunicate OK [11:58:09]wFMCommunicate request_size=255 [11:58:09]MH_SAM_APDU [11:58:09]CAPDU: 80 0D 02 02 FA 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 D4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 [11:58:09]Write to MH i2c: E2 02 01 62 13 80 0D 02 02 FA 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 D4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 00 00 21 [11:58:09]Write i2c OK [11:58:09]MH_I2C_Read... [11:58:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:58:09]Read from MH i2c: E2 [11:58:09]MH_I2C_Read... [11:58:09]Read from MH i2c: E2 03 00 [11:58:09]MH_I2C_Read... [11:58:09]Read from MH i2c: E2 03 00 62 13 00 90 00 E9 [11:58:09]RAPDU: 90 00 [11:58:09]wFMCommunicate OK [11:58:09]wFMCommunicate request_size=147 [11:58:09]MH_SAM_APDU [11:58:09]CAPDU: 80 0D 02 02 8E F7 03 06 00 E2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 16 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 D4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 53 A7 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8D CD 00 00 35 04 06 00 7E 38 E5 86 D3 89 [11:58:09]Write to MH i2c: E2 96 00 63 13 80 0D 02 02 8E 00 F7 03 06 00 E2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 16 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 D4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 53 A7 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8D CD 00 00 35 04 06 00 7E 38 E5 86 D3 89 00 00 53 [11:58:09]Write i2c OK [11:58:09]MH_I2C_Read... [11:58:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:58:09]Read from MH i2c: E2 [11:58:09]MH_I2C_Read... [11:58:09]Read from MH i2c: E2 03 00 [11:58:09]MH_I2C_Read... [11:58:09]Read from MH i2c: E2 03 00 63 13 00 90 00 EA [11:58:09]RAPDU: 90 00 [11:58:09]wFMCommunicate OK [11:58:09]wFMCommunicate request_size=4 [11:58:09]MH_SAM_APDU [11:58:09]CAPDU: 80 0D 03 02 [11:58:09]Write to MH i2c: E2 08 00 64 13 80 0D 03 02 00 00 00 00 F2 [11:58:09]Write i2c OK [11:58:09]MH_I2C_Read... [11:58:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:58:09]Read from MH i2c: E2 [11:58:09]MH_I2C_Read... [11:58:09]Read from MH i2c: E2 0B 00 [11:58:09]MH_I2C_Read... [11:58:09]Read from MH i2c: E2 0B 00 64 13 00 6F 1D D1 07 D3 A9 BE 46 90 00 D7 [11:58:09]RAPDU: 6F 1D D1 07 D3 A9 BE 46 90 00 [11:58:09]wFMCommunicate OK [11:58:09]SAM_PROTO_SignData done [11:58:09]FM_MakeSignedData done [11:58:09]CreateOFDProtocolMessage [11:58:09]wFMCommunicate request_size=4 [11:58:09]MH_SAM_APDU [11:58:09]CAPDU: 80 11 00 00 [11:58:09]Write to MH i2c: E2 08 00 65 13 80 11 00 00 00 00 00 00 F2 [11:58:09]Write i2c OK [11:58:09]MH_I2C_Read... [11:58:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:58:09]Read from MH i2c: E2 [11:58:09]MH_I2C_Read... [11:58:09]Read from MH i2c: E2 17 00 [11:58:09]MH_I2C_Read... [11:58:09]Read from MH i2c: E2 17 00 65 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 45 [11:58:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [11:58:09]wFMCommunicate OK [11:58:09]CreateOFDProtocolMessage done [11:58:09]OFDSenderStorePacket 52621 [11:58:09]StoreOFDPacket docnum=52621 [11:58:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 92 02 00 00 2B EB 8A 02 81 C4 5A 03 01 00 03 00 7E 02 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 D4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 16 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 D4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 53 A7 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8D CD 00 00 35 04 06 00 7E 38 E5 86 D3 89 6F 1D D1 07 D3 A9 BE 46 [11:58:09]CheckFolder [11:58:09]dirname=/storage/ofd_packets [11:58:09]CheckFolder done [11:58:09]ProducePacketName [11:58:09]name=ofd_packets/00052621 [11:58:09]NVStorageSaveData ofd_packets/00052621 [11:58:09]File name is /storage/ofd_packets/00052621 [11:58:09]Write 688 bytes [11:58:09]NVStorageSaveData done [11:58:09]OFDSenderStorePacket done [11:58:09]KKMCreateOFDPacket done [11:58:09]NVStorageSaveData kkm_last_timestamp [11:58:09]File name is /storage/kkm_last_timestamp [11:58:09]Write 4 bytes [11:58:09]NVStorageSaveData done [11:58:09]ExternCall_PrintAddStr [11:58:09]wPrintStart [11:58:09]Write to MH i2c: 01 00 00 66 13 79 [11:58:09]Write i2c OK [11:58:09]MH_I2C_Read... [11:58:09]Read from MH i2c: 01 [11:58:09]MH_I2C_Read... [11:58:09]Read from MH i2c: 01 07 00 [11:58:09]MH_I2C_Read... [11:58:09]Read from MH i2c: 01 07 00 66 13 00 00 00 00 00 FF 0F 8E [11:58:09]RasterBufferAndPrint [11:58:09]line Счет N : (3)122752 [11:58:09]line ИНН: 02508201610067 [11:58:09]line Контрольно-Кассовый Чек [11:58:09]line ПРОДАЖА [11:58:09]line Товар: 4011100091993 [11:58:09]line Шок Батончик Милки Вей 26г [11:58:09]line 1.000 * 35.00 [11:58:09]line = 35.00 [11:58:09]line НДС 12% НСП 1% [11:58:09]line > о реализуемом товаре [11:58:09]line Товар: 4600682557456 [11:58:09]line Напиток FLash up energy эн ж/б 0,5/0,45л [11:58:09]line 1.000 * 85.00 [11:58:09]line = 85.00 [11:58:09]line НДС 12% НСП 1% [11:58:09]line > о реализуемом товаре [11:58:09]line Товар: 4700000480050 [11:58:09]line Напиток Nitro Energy эн green ж/б 0,45л [11:58:09]line 1.000 * 95.00 [11:58:09]line = 95.00 [11:58:09]line НДС 12% НСП 1% [11:58:09]line > о реализуемом товаре [11:58:09]line Товар: 4700001060169 [11:58:09]line Коньяк Бишкек 0,2л [11:58:09]line 1.000 * 330.00 [11:58:09]line = 330.00 [11:58:09]line НДС 12% НСП 1% [11:58:09]line > о реализуемом товаре [11:58:09]line ИТОГО: 545.00 [11:58:09]line НСП 1% : 4.82 [11:58:09]line НДС 12% : 57.88 [11:58:09]line Наличными: 0.00 [11:58:09]line Безнал.: 545.00 [11:58:09]line Место: АЗС № 54 "Партнер Нефть" [11:58:09]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [11:58:09]line СНО: Общий режим [11:58:09]line Чек 32 11.08.2024 11:58 [11:58:09]line Смена: 446 ФФД: 1.0 [11:58:09]line ЗНМ: 0300000007 [11:58:09]line РНМ: 0000000000090834 [11:58:09]line Версия ККМ: 001 [11:58:09]line Платежная система: О! деньги [11:58:09]line ФМ: 0000000000874715 [11:58:09]line ФД: 52621 [11:58:09]line ФПД: 138782834086793 [11:58:09]line /tax-web-control/client/api/v1/ticket?date=20240811T115811&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52621&fm=138782834086793&tin=02508201610067®Number=0000000000090834&sum=54500 [11:58:09]line 0 [11:58:09]written 0, free lines is 4095 [11:58:10]Write to MH i2c: 01 00 00 A3 13 B6 [11:58:10]Write i2c OK [11:58:10]MH_I2C_Read... [11:58:10]Read from MH i2c: 01 [11:58:10]MH_I2C_Read... [11:58:10]Read from MH i2c: 01 07 00 [11:58:10]MH_I2C_Read... [11:58:10]Read from MH i2c: 01 07 00 A3 13 00 00 00 00 00 74 0B 3C [11:58:10]RasterBufferAndPrint [11:58:10]line [11:58:10]line [11:58:10]line [11:58:10]line [11:58:10]line [11:58:10]written 0, free lines is 2939 [11:58:10]MH_Cut [11:58:10]Write to MH i2c: D1 01 00 AA 13 01 8F [11:58:10]Write i2c OK [11:58:10]MH_I2C_Read... [11:58:10]Read from MH i2c: D1 [11:58:10]MH_I2C_Read... [11:58:10]Read from MH i2c: D1 01 00 [11:58:10]MH_I2C_Read... [11:58:10]Read from MH i2c: D1 01 00 AA 13 00 8E [11:58:10]Write to MH i2c: 01 00 00 AB 13 BE [11:58:10]Write i2c OK [11:58:10]MH_I2C_Read... [11:58:11]*** Cut start [11:58:11]*** Purtial cut [11:58:11]*** Stage 1: CUTSNS_PIN = 1 [11:58:12]Read from MH i2c: 01 [11:58:12]MH_I2C_Read... [11:58:12]*** Stop cut motor [11:58:12]*** Cut end [11:58:12]Read from MH i2c: 01 07 00 [11:58:12]MH_I2C_Read... [11:58:12]Read from MH i2c: 01 07 00 AB 13 00 00 00 00 00 FF 0F D3 [11:58:12]process_action close_receipt done [11:58:12]requested_data is exist [11:58:12]produce_requested_data [11:58:12]requested_item fm.sn is exist - process it [11:58:12]wFMCommunicate request_size=4 [11:58:12]MH_SAM_APDU [11:58:12]CAPDU: 80 11 00 00 [11:58:12]Write to MH i2c: E2 08 00 AC 13 80 11 00 00 00 00 00 00 39 [11:58:12]Write i2c OK [11:58:12]MH_I2C_Read... [11:58:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:58:12]Read from MH i2c: E2 [11:58:12]MH_I2C_Read... [11:58:12]Read from MH i2c: E2 17 00 [11:58:12]MH_I2C_Read... [11:58:12]Read from MH i2c: E2 17 00 AC 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 8C [11:58:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [11:58:12]wFMCommunicate OK [11:58:12]requested_item fd.num is exist - process it [11:58:12]SAM_PROTO_GetFieldsCounters [11:58:12]wFMCommunicate request_size=4 [11:58:12]MH_SAM_APDU [11:58:12]CAPDU: 80 13 00 00 [11:58:12]Write to MH i2c: E2 08 00 AD 13 80 13 00 00 00 00 00 00 3C [11:58:12]Write i2c OK [11:58:12]MH_I2C_Read... [11:58:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:58:12]Read from MH i2c: E2 [11:58:12]MH_I2C_Read... [11:58:12]Read from MH i2c: E2 62 00 [11:58:12]MH_I2C_Read... [11:58:12]Read from MH i2c: E2 62 00 AD 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 8D CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 D5 [11:58: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 8D CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:58:12]wFMCommunicate OK [11:58:12]SAM_PROTO_GetFieldsCounters done [11:58:12]requested_item shift.num is exist - process it [11:58:12]requested_item shift.opened is exist - process it [11:58:12]req_shift_opened [11:58:12]FM_GetShiftState [11:58:12]SAM_PROTO_GetShiftState [11:58:12]wFMCommunicate request_size=4 [11:58:12]MH_SAM_APDU [11:58:12]CAPDU: 80 13 01 00 [11:58:12]Write to MH i2c: E2 08 00 AE 13 80 13 01 00 00 00 00 00 3E [11:58:12]Write i2c OK [11:58:12]MH_I2C_Read... [11:58:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:58:12]Read from MH i2c: E2 [11:58:12]MH_I2C_Read... [11:58:12]Read from MH i2c: E2 0E 00 [11:58:12]MH_I2C_Read... [11:58:12]Read from MH i2c: E2 0E 00 AE 13 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 67 [11:58:12]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [11:58:12]wFMCommunicate OK [11:58:12]SAM_PROTO_GetShiftState done [11:58:12]FM_GetShiftState done [11:58:12]req_shift_opened done [11:58:12]requested_item shift.open_date is exist - process it [11:58:12]req_shift_open_date [11:58:12]req_shift_open_date done [11:58:12]produce_requested_data done [11:58:12]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52621,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [11:58:12]process_action_free close_receipt [11:58:12]json_value_free [11:58:12]json_value_free done [11:58:12]process_json_proto returns [11:58:12]Send response to host [11:58:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52621,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [11:58:12]free response buf [11:58:12]execute_script done [11:58:12]execute_script returns [11:58:12]free content buf [11:58:12]Sock 9.Close socket [11:58:12]Sock 9.Thread stoped [11:58:13]ConnectInit Can't connect to host [11:58:13]CommunicateWithHost connect error [11:58:13]CommunicateWithHost err = -1 [11:58:13]OFD Sender: Server communicate error [11:58:13]OFD Sender: Processing packet 52620 [packets to send 56, broken 54] [11:58:13]ProducePacketName [11:58:13]name=ofd_packets/00052620 [11:58:13]OFD Sender: To server: pG, [11:58:13]CommunicateWithHost lk.salyk.kg:30040 [11:58:13]ConnectInit lk.salyk.kg [11:58:13]Connected sock=10 [11:58:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 24 01 00 00 F7 CC 1C 01 02 D7 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 E0 79 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 79 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 14 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 79 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 D3 A6 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8C CD 00 00 35 04 06 00 C7 EA 59 EC 57 D3 36 53 99 84 F6 A4 4D E6 [11:58:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 02 E1 47 00 5B 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 34 37 31 35 10 04 04 00 8C CD 00 00 F4 03 04 00 F2 4E B8 66 B6 04 01 00 00 75 FC 9C 00 15 78 BA C7 [11:58:14]CommunicateWithHost err = 0 [11:58:14]CheckOFDResponse [11:58:14]1017 (14) - 77093643461234 [11:58:14]1041 (16) - 0000000000874715 [11:58:14]1040 (4) - 52620 [11:58:14]1012 (4) - 11.08.2024 05:41 [11:58:14]1206 (1) - 0 [11:58:14]OFD Sender: Remove packet 52620 [11:58:14]ProducePacketName [11:58:14]name=ofd_packets/00052620 [11:58:14]NVStorageDeleteData [11:58:14]OFD Sender: Processing packet 52621 [packets to send 55, broken 54] [11:58:14]ProducePacketName [11:58:14]name=ofd_packets/00052621 [11:58:14]OFD Sender: To server: pG, [11:58:14]CommunicateWithHost lk.salyk.kg:30040 [11:58:14]ConnectInit lk.salyk.kg [11:58:14]Connected sock=9 [11:58:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 92 02 00 00 2B EB 8A 02 81 C4 5A 03 01 00 03 00 7E 02 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 D4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9C 16 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 D4 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 53 A7 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8D CD 00 00 35 04 06 00 7E 38 E5 86 D3 89 6F 1D D1 07 D3 A9 BE 46 [11:58:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 4D FE 47 00 92 5E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8D CD 00 00 F4 03 04 00 F3 4E B8 66 B6 04 01 00 00 B8 AA 15 63 0E 98 27 67 [11:58:15]CommunicateWithHost err = 0 [11:58:15]CheckOFDResponse [11:58:15]1017 (14) - 77093643461234 [11:58:15]1041 (16) - 0000000000874715 [11:58:15]1040 (4) - 52621 [11:58:15]1012 (4) - 11.08.2024 05:41 [11:58:15]1206 (1) - 0 [11:58:15]OFD Sender: Remove packet 52621 [11:58:15]ProducePacketName [11:58:15]name=ofd_packets/00052621 [11:58:15]NVStorageDeleteData [11:58:15]OFD Sender: No OFD packet to send [11:58:20]OFD Sender: No OFD packet to send [11:58:25]OFD Sender: No OFD packet to send [11:58:30]OFD Sender: No OFD packet to send [11:58:35]OFD Sender: No OFD packet to send [11:58:40]OFD Sender: No OFD packet to send [11:58:45]OFD Sender: No OFD packet to send [11:58:50]OFD Sender: No OFD packet to send [11:58:55]OFD Sender: No OFD packet to send [11:59:00]OFD Sender: No OFD packet to send [11:59:05]OFD Sender: No OFD packet to send [11:59:10]OFD Sender: No OFD packet to send [11:59:15]OFD Sender: No OFD packet to send [11:59:20]OFD Sender: No OFD packet to send [11:59:25]OFD Sender: No OFD packet to send [11:59:30]OFD Sender: No OFD packet to send [11:59:35]OFD Sender: No OFD packet to send [11:59:40]OFD Sender: No OFD packet to send [11:59:45]OFD Sender: No OFD packet to send [11:59:50]OFD Sender: No OFD packet to send [11:59:55]OFD Sender: No OFD packet to send [12:00:00]OFD Sender: No OFD packet to send [12:00:05]OFD Sender: No OFD packet to send [12:00:10]OFD Sender: No OFD packet to send [12:00:15]OFD Sender: No OFD packet to send [12:00:20]OFD Sender: No OFD packet to send [12:00:25]OFD Sender: No OFD packet to send [12:00:30]OFD Sender: No OFD packet to send [12:00:35]OFD Sender: No OFD packet to send [12:00:40]OFD Sender: No OFD packet to send [12:00:45]OFD Sender: No OFD packet to send [12:00:50]OFD Sender: No OFD packet to send [12:00:55]OFD Sender: No OFD packet to send [12:01:00]OFD Sender: No OFD packet to send [12:01:05]OFD Sender: No OFD packet to send [12:01:10]OFD Sender: No OFD packet to send [12:01:15]OFD Sender: No OFD packet to send [12:01:20]OFD Sender: No OFD packet to send [12:01:25]OFD Sender: No OFD packet to send [12:01:30]OFD Sender: No OFD packet to send [12:01:35]OFD Sender: No OFD packet to send [12:01:40]OFD Sender: No OFD packet to send [12:01:45]OFD Sender: No OFD packet to send [12:01:50]OFD Sender: No OFD packet to send [12:01:55]OFD Sender: No OFD packet to send [12:02:00]OFD Sender: No OFD packet to send [12:02:05]OFD Sender: No OFD packet to send [12:02:10]OFD Sender: No OFD packet to send [12:02:15]OFD Sender: No OFD packet to send [12:02:20]OFD Sender: No OFD packet to send [12:02:25]OFD Sender: No OFD packet to send [12:02:30]OFD Sender: No OFD packet to send [12:02:35]OFD Sender: No OFD packet to send [12:02:40]OFD Sender: No OFD packet to send [12:02:45]OFD Sender: No OFD packet to send [12:02:50]OFD Sender: No OFD packet to send [12:02:55]OFD Sender: No OFD packet to send [12:03:00]OFD Sender: No OFD packet to send [12:03:05]OFD Sender: No OFD packet to send [12:03:10]OFD Sender: No OFD packet to send [12:03:15]OFD Sender: No OFD packet to send [12:03:20]OFD Sender: No OFD packet to send [12:03:25]OFD Sender: No OFD packet to send [12:03:30]OFD Sender: No OFD packet to send [12:03:35]OFD Sender: No OFD packet to send [12:03:40]OFD Sender: No OFD packet to send [12:03:45]OFD Sender: No OFD packet to send [12:03:50]OFD Sender: No OFD packet to send [12:03:55]OFD Sender: No OFD packet to send [12:04:00]OFD Sender: No OFD packet to send [12:04:05]OFD Sender: No OFD packet to send [12:04:10]OFD Sender: No OFD packet to send [12:04:15]OFD Sender: No OFD packet to send [12:04:20]OFD Sender: No OFD packet to send [12:04:25]OFD Sender: No OFD packet to send [12:04:30]OFD Sender: No OFD packet to send [12:04:35]OFD Sender: No OFD packet to send [12:04:40]OFD Sender: No OFD packet to send [12:04:45]OFD Sender: No OFD packet to send [12:04:50]OFD Sender: No OFD packet to send [12:04:55]OFD Sender: No OFD packet to send [12:05:00]OFD Sender: No OFD packet to send [12:05:05]OFD Sender: No OFD packet to send [12:05:10]OFD Sender: No OFD packet to send [12:05:15]OFD Sender: No OFD packet to send [12:05:20]OFD Sender: No OFD packet to send [12:05:25]OFD Sender: No OFD packet to send [12:05:30]OFD Sender: No OFD packet to send [12:05:35]OFD Sender: No OFD packet to send [12:05:40]OFD Sender: No OFD packet to send [12:05:45]OFD Sender: No OFD packet to send [12:05:50]OFD Sender: No OFD packet to send [12:05:55]OFD Sender: No OFD packet to send [12:06:00]OFD Sender: No OFD packet to send [12:06:05]OFD Sender: No OFD packet to send [12:06:10]OFD Sender: No OFD packet to send [12:06:15]OFD Sender: No OFD packet to send [12:06:20]OFD Sender: No OFD packet to send [12:06:25]OFD Sender: No OFD packet to send [12:06:30]OFD Sender: No OFD packet to send [12:06:36]OFD Sender: No OFD packet to send [12:06:41]OFD Sender: No OFD packet to send [12:06:46]OFD Sender: No OFD packet to send [12:06:51]OFD Sender: No OFD packet to send [12:06:56]OFD Sender: No OFD packet to send [12:07:01]OFD Sender: No OFD packet to send [12:07:06]OFD Sender: No OFD packet to send [12:07:11]OFD Sender: No OFD packet to send [12:07:16]OFD Sender: No OFD packet to send [12:07:21]OFD Sender: No OFD packet to send [12:07:26]OFD Sender: No OFD packet to send [12:07:31]OFD Sender: No OFD packet to send [12:07:36]OFD Sender: No OFD packet to send [12:07:41]OFD Sender: No OFD packet to send [12:07:46]OFD Sender: No OFD packet to send [12:07:51]OFD Sender: No OFD packet to send [12:07:56]OFD Sender: No OFD packet to send [12:08:01]OFD Sender: No OFD packet to send [12:08:06]OFD Sender: No OFD packet to send [12:08:11]OFD Sender: No OFD packet to send [12:08:16]OFD Sender: No OFD packet to send [12:08:21]OFD Sender: No OFD packet to send [12:08:26]OFD Sender: No OFD packet to send [12:08:31]OFD Sender: No OFD packet to send [12:08:36]OFD Sender: No OFD packet to send [12:08:41]OFD Sender: No OFD packet to send [12:08:46]OFD Sender: No OFD packet to send [12:08:51]OFD Sender: No OFD packet to send [12:08:56]OFD Sender: No OFD packet to send [12:09:01]OFD Sender: No OFD packet to send [12:09:06]OFD Sender: No OFD packet to send [12:09:11]OFD Sender: No OFD packet to send [12:09:16]OFD Sender: No OFD packet to send [12:09:21]OFD Sender: No OFD packet to send [12:09:26]OFD Sender: No OFD packet to send [12:09:31]OFD Sender: No OFD packet to send [12:09:36]OFD Sender: No OFD packet to send [12:09:41]OFD Sender: No OFD packet to send [12:09:46]OFD Sender: No OFD packet to send [12:09:51]OFD Sender: No OFD packet to send [12:09:56]OFD Sender: No OFD packet to send [12:10:01]OFD Sender: No OFD packet to send [12:10:03]accept exits with 8 [12:10:03]New connection [12:10:03]New thread 3067395428 created [12:10:03]Thread 3067252068 joined [12:10:03]Waiting for new connection... [12:10:03] Sock 8.Parse request [12:10:03]Sock 8.Check first char [12:10:03]Sock 8.First char is OK [12:10:03]request: POST /json_proto HTTP/1.0 [12:10:03]Method: POST [12:10:03]URL: /json_proto [12:10:03]Method is POST - this is cgi request [12:10:03]url: /json_proto [12:10:03]query_string will be loaded in cgi processing [12:10:03]execute_cgi json_proto POST (null) [12:10:03]execute_cgi path=json_proto method=POST [12:10:03]POST find Content-Length [12:10:03]Host: 172.17.60.7:8080 [12:10:03]Content-Length: 1196 [12:10:03]Content-Type: application/json [12:10:03] [12:10:03]POST finish read [12:10:03]Found Content-Length = 1196 [12:10:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122753", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700040110160", "name": "\u041C\u043E\u0440\u043E\u0436\u0435\u043D\u043E\u0435 \u042D\u0441\u043A\u0438\u043C\u043E \u0441\u043B\u0438\u0432\u043E\u0447\u043D\u043E\u0435 \u0414\u0435\u043D\u044C \u0438 \u041D\u043E\u0447\u044C", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:10:03]execute_script... [12:10:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122753", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700040110160", "name": "\u041C\u043E\u0440\u043E\u0436\u0435\u043D\u043E\u0435 \u042D\u0441\u043A\u0438\u043C\u043E \u0441\u043B\u0438\u0432\u043E\u0447\u043D\u043E\u0435 \u0414\u0435\u043D\u044C \u0438 \u041D\u043E\u0447\u044C", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:10:03]POST & json_proto [12:10:03]process_json_proto [12:10:03]json parsed OK: [12:10:03]protocol is kg_v1.0 [12:10:03]action value=close_receipt [12:10:03]process_action close_receipt [12:10:03]cmd_close_receipt [12:10:03]MH_GetDate [12:10:03]Write to MH i2c: F0 00 00 AF 13 B1 [12:10:03]Write i2c OK [12:10:03]MH_I2C_Read... [12:10:03]Read from MH i2c: F0 [12:10:03]MH_I2C_Read... [12:10:03]Read from MH i2c: F0 09 00 [12:10:03]MH_I2C_Read... [12:10:03]Read from MH i2c: F0 09 00 AF 13 00 1F AA B8 66 63 9B 67 64 6A [12:10:03]GetLastDocTimeStamp 1723377491 [12:10:03]current date 1723378207 [12:10:03]FM_GetShiftState [12:10:03]SAM_PROTO_GetShiftState [12:10:03]wFMCommunicate request_size=4 [12:10:03]MH_SAM_APDU [12:10:03]CAPDU: 80 13 01 00 [12:10:03]Write to MH i2c: E2 08 00 B0 13 80 13 01 00 00 00 00 00 40 [12:10:03]Write i2c OK [12:10:03]MH_I2C_Read... [12:10:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:10:03]Read from MH i2c: E2 [12:10:03]MH_I2C_Read... [12:10:03]Read from MH i2c: E2 0E 00 [12:10:03]MH_I2C_Read... [12:10:03]Read from MH i2c: E2 0E 00 B0 13 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 69 [12:10:03]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [12:10:03]wFMCommunicate OK [12:10:03]SAM_PROTO_GetShiftState done [12:10:03]FM_GetShiftState done [12:10:03]opened in 1723336186 [12:10:03]opened+sec_in_day 1723422586 [12:10:03]quantity*price = 9500 [12:10:03]sum+1 = 9501 [12:10:03]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700040110160 Мороженое Эскимо сливочное День и Ночь 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 0.00 Безнал.: 135.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 33 11.08.2024 12:10 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52622 ФПД: 84306837097547 /tax-web-control/client/api/v1/ticket?date=20240811T121007&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52622&fm=84306837097547&tin=02508201610067®Number=0000000000090834&sum=13500 0 [12:10:04]StoreToDocumentArchive [12:10:04]shift 446 fd 52622 [12:10:04]save to /storage/0446/doc_00052622 [12:10:04]save last doc name /storage/0446/doc_00052622 to /storage/kkm_last_doc_name [12:10:04]save OK [12:10:04]Clear old archive folders... [12:10:05]ProcessDocumentItem done err = 0, tmpTLVsize=436 [12:10:05]tlvbuf is 010CB8D0 [12:10:05]SAM_PROTO_ClearQueue [12:10:05]wFMCommunicate request_size=4 [12:10:05]MH_SAM_APDU [12:10:05]CAPDU: 80 09 00 00 [12:10:05]Write to MH i2c: E2 08 00 BD 13 80 09 00 00 00 00 00 00 42 [12:10:05]Write i2c OK [12:10:05]MH_I2C_Read... [12:10:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:10:05]Read from MH i2c: E2 [12:10:05]MH_I2C_Read... [12:10:05]Read from MH i2c: E2 03 00 [12:10:05]MH_I2C_Read... [12:10:05]Read from MH i2c: E2 03 00 BD 13 00 90 00 44 [12:10:05]RAPDU: 90 00 [12:10:05]wFMCommunicate OK [12:10:05]SAM_PROTO_ClearQueue done [12:10:05]KKMCreateOFDPacket [12:10:05]OFDProtocolAddRootSTLVToBuf [12:10:05]FM_MakeSignedData [12:10:05]FM_MakeSignedData [12:10:05]SAM_PROTO_SignData [12:10:05]wFMCommunicate request_size=4 [12:10:05]MH_SAM_APDU [12:10:05]CAPDU: 80 0D 01 02 [12:10:05]Write to MH i2c: E2 08 00 BE 13 80 0D 01 02 00 00 00 00 4A [12:10:05]Write i2c OK [12:10:05]MH_I2C_Read... [12:10:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:10:05]Read from MH i2c: E2 [12:10:05]MH_I2C_Read... [12:10:05]Read from MH i2c: E2 03 00 [12:10:05]MH_I2C_Read... [12:10:05]Read from MH i2c: E2 03 00 BE 13 00 90 00 45 [12:10:05]RAPDU: 90 00 [12:10:05]wFMCommunicate OK [12:10:05]wFMCommunicate request_size=255 [12:10:05]MH_SAM_APDU [12:10:05]CAPDU: 80 0D 02 02 FA 03 00 B4 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 30 31 36 30 06 04 47 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 D0 BE D1 87 D0 BD D0 BE D0 B5 20 D0 94 D0 B5 D0 BD D1 8C 20 D0 B8 20 D0 9D D0 BE D1 87 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 [12:10:05]Write to MH i2c: E2 02 01 BF 13 80 0D 02 02 FA 00 03 00 B4 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 30 31 36 30 06 04 47 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 D0 BE D1 87 D0 BD D0 BE D0 B5 20 D0 94 D0 B5 D0 BD D1 8C 20 D0 B8 20 D0 9D D0 BE D1 87 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 00 00 77 [12:10:05]Write i2c OK [12:10:05]MH_I2C_Read... [12:10:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:10:05]Read from MH i2c: E2 [12:10:05]MH_I2C_Read... [12:10:05]Read from MH i2c: E2 03 00 [12:10:05]MH_I2C_Read... [12:10:05]Read from MH i2c: E2 03 00 BF 13 00 90 00 46 [12:10:05]RAPDU: 90 00 [12:10:05]wFMCommunicate OK [12:10:05]wFMCommunicate request_size=195 [12:10:05]MH_SAM_APDU [12:10:05]CAPDU: 80 0D 02 02 BE 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 1F AA B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8E CD 00 00 35 04 06 00 4C AD 37 13 CC 4B [12:10:05]Write to MH i2c: E2 C6 00 C0 13 80 0D 02 02 BE 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 1F AA B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8E CD 00 00 35 04 06 00 4C AD 37 13 CC 4B 00 00 FC [12:10:05]Write i2c OK [12:10:05]MH_I2C_Read... [12:10:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:10:05]Read from MH i2c: E2 [12:10:05]MH_I2C_Read... [12:10:05]Read from MH i2c: E2 03 00 [12:10:05]MH_I2C_Read... [12:10:05]Read from MH i2c: E2 03 00 C0 13 00 90 00 47 [12:10:05]RAPDU: 90 00 [12:10:05]wFMCommunicate OK [12:10:05]wFMCommunicate request_size=4 [12:10:05]MH_SAM_APDU [12:10:05]CAPDU: 80 0D 03 02 [12:10:05]Write to MH i2c: E2 08 00 C1 13 80 0D 03 02 00 00 00 00 4F [12:10:05]Write i2c OK [12:10:05]MH_I2C_Read... [12:10:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:10:05]Read from MH i2c: E2 [12:10:05]MH_I2C_Read... [12:10:05]Read from MH i2c: E2 0B 00 [12:10:05]MH_I2C_Read... [12:10:05]Read from MH i2c: E2 0B 00 C1 13 00 4F FD C0 29 2F 3E 68 D7 90 00 31 [12:10:05]RAPDU: 4F FD C0 29 2F 3E 68 D7 90 00 [12:10:05]wFMCommunicate OK [12:10:05]SAM_PROTO_SignData done [12:10:05]FM_MakeSignedData done [12:10:05]CreateOFDProtocolMessage [12:10:05]wFMCommunicate request_size=4 [12:10:05]MH_SAM_APDU [12:10:05]CAPDU: 80 11 00 00 [12:10:05]Write to MH i2c: E2 08 00 C2 13 80 11 00 00 00 00 00 00 4F [12:10:05]Write i2c OK [12:10:05]MH_I2C_Read... [12:10:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:10:05]Read from MH i2c: E2 [12:10:05]MH_I2C_Read... [12:10:05]Read from MH i2c: E2 17 00 [12:10:05]MH_I2C_Read... [12:10:05]Read from MH i2c: E2 17 00 C2 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 A2 [12:10:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [12:10:05]wFMCommunicate OK [12:10:05]CreateOFDProtocolMessage done [12:10:05]OFDSenderStorePacket 52622 [12:10:05]StoreOFDPacket docnum=52622 [12:10:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 C8 01 00 00 F1 2C C0 01 18 A1 5A 03 01 00 03 00 B4 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 30 31 36 30 06 04 47 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 D0 BE D1 87 D0 BD D0 BE D0 B5 20 D0 94 D0 B5 D0 BD D1 8C 20 D0 B8 20 D0 9D D0 BE D1 87 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 1F AA B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8E CD 00 00 35 04 06 00 4C AD 37 13 CC 4B 4F FD C0 29 2F 3E 68 D7 [12:10:05]CheckFolder [12:10:05]dirname=/storage/ofd_packets [12:10:05]CheckFolder done [12:10:05]ProducePacketName [12:10:05]name=ofd_packets/00052622 [12:10:05]NVStorageSaveData ofd_packets/00052622 [12:10:06]File name is /storage/ofd_packets/00052622 [12:10:06]Write 486 bytes [12:10:06]NVStorageSaveData done [12:10:06]OFDSenderStorePacket done [12:10:06]KKMCreateOFDPacket done [12:10:06]NVStorageSaveData kkm_last_timestamp [12:10:06]File name is /storage/kkm_last_timestamp [12:10:06]Write 4 bytes [12:10:06]NVStorageSaveData done [12:10:06]ExternCall_PrintAddStr [12:10:06]wPrintStart [12:10:06]Write to MH i2c: 01 00 00 C3 13 D6 [12:10:06]Write i2c OK [12:10:06]MH_I2C_Read... [12:10:06]Read from MH i2c: 01 [12:10:06]MH_I2C_Read... [12:10:06]Read from MH i2c: 01 07 00 [12:10:06]MH_I2C_Read... [12:10:06]Read from MH i2c: 01 07 00 C3 13 00 00 00 00 00 FF 0F EB [12:10:06]RasterBufferAndPrint [12:10:06]line Счет N : (3)122753 [12:10:06]line ИНН: 02508201610067 [12:10:06]line Контрольно-Кассовый Чек [12:10:06]line ПРОДАЖА [12:10:06]line Товар: 4700000480050 [12:10:06]line Напиток Nitro Energy эн green ж/б 0,45л [12:10:06]line 1.000 * 95.00 [12:10:06]line = 95.00 [12:10:06]line НДС 12% НСП 1% [12:10:06]line > о реализуемом товаре [12:10:06]line Товар: 4700040110160 [12:10:06]line Мороженое Эскимо сливочное День и Ночь [12:10:06]line 1.000 * 40.00 [12:10:06]line = 40.00 [12:10:06]line НДС 12% НСП 1% [12:10:06]line > о реализуемом товаре [12:10:06]line ИТОГО: 135.00 [12:10:06]line НСП 1% : 1.19 [12:10:06]line НДС 12% : 14.34 [12:10:06]line Наличными: 0.00 [12:10:06]line Безнал.: 135.00 [12:10:06]line Место: АЗС № 54 "Партнер Нефть" [12:10:06]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [12:10:06]line СНО: Общий режим [12:10:06]line Чек 33 11.08.2024 12:10 [12:10:06]line Смена: 446 ФФД: 1.0 [12:10:06]line ЗНМ: 0300000007 [12:10:06]line РНМ: 0000000000090834 [12:10:06]line Версия ККМ: 001 [12:10:06]line Платежная система: О! деньги [12:10:06]line ФМ: 0000000000874715 [12:10:06]line ФД: 52622 [12:10:06]line ФПД: 84306837097547 [12:10:06]line /tax-web-control/client/api/v1/ticket?date=20240811T121007&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52622&fm=84306837097547&tin=02508201610067®Number=0000000000090834&sum=13500 [12:10:06]line 0 [12:10:06]written 0, free lines is 4095 [12:10:06]OFD Sender: Processing packet 52622 [packets to send 55, broken 54] [12:10:06]ProducePacketName [12:10:06]name=ofd_packets/00052622 [12:10:06]OFD Sender: To server: pG, [12:10:06]CommunicateWithHost lk.salyk.kg:30040 [12:10:06]ConnectInit lk.salyk.kg [12:10:06]Connected sock=10 [12:10:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 C8 01 00 00 F1 2C C0 01 18 A1 5A 03 01 00 03 00 B4 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 8B 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 30 31 36 30 06 04 47 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D1 81 D0 BB D0 B8 D0 B2 D0 BE D1 87 D0 BD D0 BE D0 B5 20 D0 94 D0 B5 D0 BD D1 8C 20 D0 B8 20 D0 9D D0 BE D1 87 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 1F AA B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8E CD 00 00 35 04 06 00 4C AD 37 13 CC 4B 4F FD C0 29 2F 3E 68 D7 [12:10:06]Write to MH i2c: 01 00 00 F4 13 07 [12:10:06]Write i2c OK [12:10:06]MH_I2C_Read... [12:10:06]Read from MH i2c: 01 [12:10:06]MH_I2C_Read... [12:10:06]Read from MH i2c: 01 07 00 [12:10:06]MH_I2C_Read... [12:10:06]Read from MH i2c: 01 07 00 F4 13 00 00 00 00 00 1D 0C 37 [12:10:06]RasterBufferAndPrint [12:10:06]line [12:10:06]line [12:10:06]line [12:10:06]line [12:10:06]line [12:10:06]written 0, free lines is 3106 [12:10:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 41 9B 47 00 81 B6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8E CD 00 00 F4 03 04 00 BB 51 B8 66 B6 04 01 00 00 19 90 6C 24 13 12 4D A0 [12:10:06]CommunicateWithHost err = 0 [12:10:06]CheckOFDResponse [12:10:06]1017 (14) - 77093643461234 [12:10:06]1041 (16) - 0000000000874715 [12:10:06]1040 (4) - 52622 [12:10:06]1012 (4) - 11.08.2024 05:52 [12:10:06]1206 (1) - 0 [12:10:06]OFD Sender: Remove packet 52622 [12:10:06]ProducePacketName [12:10:06]name=ofd_packets/00052622 [12:10:06]NVStorageDeleteData [12:10:06]MH_Cut [12:10:06]Write to MH i2c: D1 01 00 FB 13 01 E0 [12:10:06]Write i2c OK [12:10:06]MH_I2C_Read... [12:10:06]Read from MH i2c: D1 [12:10:06]MH_I2C_Read... [12:10:06]Read from MH i2c: D1 01 00 [12:10:06]MH_I2C_Read... [12:10:06]Read from MH i2c: D1 01 00 FB 13 00 DF [12:10:06]Write to MH i2c: 01 00 00 FC 13 0F [12:10:06]Write i2c OK [12:10:06]MH_I2C_Read... [12:10:07]OFD Sender: No OFD packet to send [12:10:07]*** Cut start [12:10:07]*** Purtial cut [12:10:07]*** Stage 1: CUTSNS_PIN = 1 [12:10:07]Read from MH i2c: 01 [12:10:07]MH_I2C_Read... [12:10:07]*** Stop cut motor [12:10:07]*** Cut end [12:10:07]Read from MH i2c: 01 07 00 [12:10:07]MH_I2C_Read... [12:10:07]Read from MH i2c: 01 07 00 FC 13 00 00 00 00 00 FF 0F 24 [12:10:07]process_action close_receipt done [12:10:07]requested_data is exist [12:10:07]produce_requested_data [12:10:07]requested_item fm.sn is exist - process it [12:10:07]wFMCommunicate request_size=4 [12:10:07]MH_SAM_APDU [12:10:07]CAPDU: 80 11 00 00 [12:10:07]Write to MH i2c: E2 08 00 FD 13 80 11 00 00 00 00 00 00 8A [12:10:07]Write i2c OK [12:10:07]MH_I2C_Read... [12:10:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:10:07]Read from MH i2c: E2 [12:10:07]MH_I2C_Read... [12:10:07]Read from MH i2c: E2 17 00 [12:10:07]MH_I2C_Read... [12:10:07]Read from MH i2c: E2 17 00 FD 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 DD [12:10:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [12:10:07]wFMCommunicate OK [12:10:07]requested_item fd.num is exist - process it [12:10:07]SAM_PROTO_GetFieldsCounters [12:10:07]wFMCommunicate request_size=4 [12:10:07]MH_SAM_APDU [12:10:07]CAPDU: 80 13 00 00 [12:10:07]Write to MH i2c: E2 08 00 FE 13 80 13 00 00 00 00 00 00 8D [12:10:07]Write i2c OK [12:10:07]MH_I2C_Read... [12:10:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:10:08]Read from MH i2c: E2 [12:10:08]MH_I2C_Read... [12:10:08]Read from MH i2c: E2 62 00 [12:10:08]MH_I2C_Read... [12:10:08]Read from MH i2c: E2 62 00 FE 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 8E CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 2A [12:10:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 8E CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:10:08]wFMCommunicate OK [12:10:08]SAM_PROTO_GetFieldsCounters done [12:10:08]requested_item shift.num is exist - process it [12:10:08]requested_item shift.opened is exist - process it [12:10:08]req_shift_opened [12:10:08]FM_GetShiftState [12:10:08]SAM_PROTO_GetShiftState [12:10:08]wFMCommunicate request_size=4 [12:10:08]MH_SAM_APDU [12:10:08]CAPDU: 80 13 01 00 [12:10:08]Write to MH i2c: E2 08 00 FF 13 80 13 01 00 00 00 00 00 8F [12:10:08]Write i2c OK [12:10:08]MH_I2C_Read... [12:10:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:10:08]Read from MH i2c: E2 [12:10:08]MH_I2C_Read... [12:10:08]Read from MH i2c: E2 0E 00 [12:10:08]MH_I2C_Read... [12:10:08]Read from MH i2c: E2 0E 00 FF 13 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 B8 [12:10:08]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [12:10:08]wFMCommunicate OK [12:10:08]SAM_PROTO_GetShiftState done [12:10:08]FM_GetShiftState done [12:10:08]req_shift_opened done [12:10:08]requested_item shift.open_date is exist - process it [12:10:08]req_shift_open_date [12:10:08]req_shift_open_date done [12:10:08]produce_requested_data done [12:10:08]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52622,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [12:10:08]process_action_free close_receipt [12:10:08]json_value_free [12:10:08]json_value_free done [12:10:08]process_json_proto returns [12:10:08]Send response to host [12:10:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52622,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [12:10:08]free response buf [12:10:08]execute_script done [12:10:08]execute_script returns [12:10:08]free content buf [12:10:08]Sock 8.Close socket [12:10:08]Sock 8.Thread stoped [12:10:12]OFD Sender: No OFD packet to send [12:10:17]OFD Sender: No OFD packet to send [12:10:22]OFD Sender: No OFD packet to send [12:10:27]OFD Sender: No OFD packet to send [12:10:32]OFD Sender: No OFD packet to send [12:10:37]OFD Sender: No OFD packet to send [12:10:42]OFD Sender: No OFD packet to send [12:10:47]OFD Sender: No OFD packet to send [12:10:52]OFD Sender: No OFD packet to send [12:10:57]OFD Sender: No OFD packet to send [12:11:02]OFD Sender: No OFD packet to send [12:11:07]OFD Sender: No OFD packet to send [12:11:12]OFD Sender: No OFD packet to send [12:11:17]OFD Sender: No OFD packet to send [12:11:22]OFD Sender: No OFD packet to send [12:11:27]OFD Sender: No OFD packet to send [12:11:32]OFD Sender: No OFD packet to send [12:11:37]OFD Sender: No OFD packet to send [12:11:42]OFD Sender: No OFD packet to send [12:11:47]OFD Sender: No OFD packet to send [12:11:52]OFD Sender: No OFD packet to send [12:11:57]OFD Sender: No OFD packet to send [12:12:02]OFD Sender: No OFD packet to send [12:12:07]OFD Sender: No OFD packet to send [12:12:12]OFD Sender: No OFD packet to send [12:12:17]OFD Sender: No OFD packet to send [12:12:22]OFD Sender: No OFD packet to send [12:12:27]OFD Sender: No OFD packet to send [12:12:32]OFD Sender: No OFD packet to send [12:12:37]OFD Sender: No OFD packet to send [12:12:42]OFD Sender: No OFD packet to send [12:12:47]OFD Sender: No OFD packet to send [12:12:52]OFD Sender: No OFD packet to send [12:12:57]OFD Sender: No OFD packet to send [12:13:02]OFD Sender: No OFD packet to send [12:13:07]OFD Sender: No OFD packet to send [12:13:12]OFD Sender: No OFD packet to send [12:13:17]OFD Sender: No OFD packet to send [12:13:22]OFD Sender: No OFD packet to send [12:13:27]OFD Sender: No OFD packet to send [12:13:32]OFD Sender: No OFD packet to send [12:13:37]OFD Sender: No OFD packet to send [12:13:42]OFD Sender: No OFD packet to send [12:13:47]OFD Sender: No OFD packet to send [12:13:52]OFD Sender: No OFD packet to send [12:13:57]OFD Sender: No OFD packet to send [12:14:02]OFD Sender: No OFD packet to send [12:14:07]OFD Sender: No OFD packet to send [12:14:12]OFD Sender: No OFD packet to send [12:14:17]OFD Sender: No OFD packet to send [12:14:22]OFD Sender: No OFD packet to send [12:14:27]OFD Sender: No OFD packet to send [12:14:32]OFD Sender: No OFD packet to send [12:14:37]OFD Sender: No OFD packet to send [12:14:42]OFD Sender: No OFD packet to send [12:14:47]OFD Sender: No OFD packet to send [12:14:52]OFD Sender: No OFD packet to send [12:14:57]OFD Sender: No OFD packet to send [12:15:02]OFD Sender: No OFD packet to send [12:15:07]OFD Sender: No OFD packet to send [12:15:12]OFD Sender: No OFD packet to send [12:15:17]OFD Sender: No OFD packet to send [12:15:22]OFD Sender: No OFD packet to send [12:15:27]OFD Sender: No OFD packet to send [12:15:32]OFD Sender: No OFD packet to send [12:15:37]OFD Sender: No OFD packet to send [12:15:42]OFD Sender: No OFD packet to send [12:15:47]OFD Sender: No OFD packet to send [12:15:52]OFD Sender: No OFD packet to send [12:15:57]OFD Sender: No OFD packet to send [12:16:02]OFD Sender: No OFD packet to send [12:16:07]OFD Sender: No OFD packet to send [12:16:12]OFD Sender: No OFD packet to send [12:16:17]OFD Sender: No OFD packet to send [12:16:22]OFD Sender: No OFD packet to send [12:16:27]OFD Sender: No OFD packet to send [12:16:32]OFD Sender: No OFD packet to send [12:16:37]OFD Sender: No OFD packet to send [12:16:42]OFD Sender: No OFD packet to send [12:16:47]OFD Sender: No OFD packet to send [12:16:52]OFD Sender: No OFD packet to send [12:16:57]OFD Sender: No OFD packet to send [12:17:02]OFD Sender: No OFD packet to send [12:17:07]OFD Sender: No OFD packet to send [12:17:12]OFD Sender: No OFD packet to send [12:17:17]OFD Sender: No OFD packet to send [12:17:22]OFD Sender: No OFD packet to send [12:17:27]OFD Sender: No OFD packet to send [12:17:32]OFD Sender: No OFD packet to send [12:17:37]OFD Sender: No OFD packet to send [12:17:42]OFD Sender: No OFD packet to send [12:17:47]OFD Sender: No OFD packet to send [12:17:52]OFD Sender: No OFD packet to send [12:17:57]OFD Sender: No OFD packet to send [12:18:02]OFD Sender: No OFD packet to send [12:18:07]OFD Sender: No OFD packet to send [12:18:12]OFD Sender: No OFD packet to send [12:18:17]OFD Sender: No OFD packet to send [12:18:22]OFD Sender: No OFD packet to send [12:18:27]OFD Sender: No OFD packet to send [12:18:32]OFD Sender: No OFD packet to send [12:18:37]OFD Sender: No OFD packet to send [12:18:42]OFD Sender: No OFD packet to send [12:18:47]OFD Sender: No OFD packet to send [12:18:52]OFD Sender: No OFD packet to send [12:18:57]OFD Sender: No OFD packet to send [12:19:02]OFD Sender: No OFD packet to send [12:19:07]OFD Sender: No OFD packet to send [12:19:12]OFD Sender: No OFD packet to send [12:19:17]OFD Sender: No OFD packet to send [12:19:22]OFD Sender: No OFD packet to send [12:19:27]OFD Sender: No OFD packet to send [12:19:32]OFD Sender: No OFD packet to send [12:19:37]OFD Sender: No OFD packet to send [12:19:42]OFD Sender: No OFD packet to send [12:19:47]OFD Sender: No OFD packet to send [12:19:52]OFD Sender: No OFD packet to send [12:19:57]OFD Sender: No OFD packet to send [12:20:02]OFD Sender: No OFD packet to send [12:20:07]OFD Sender: No OFD packet to send [12:20:12]OFD Sender: No OFD packet to send [12:20:17]OFD Sender: No OFD packet to send [12:20:22]OFD Sender: No OFD packet to send [12:20:27]OFD Sender: No OFD packet to send [12:20:32]OFD Sender: No OFD packet to send [12:20:37]OFD Sender: No OFD packet to send [12:20:42]OFD Sender: No OFD packet to send [12:20:47]OFD Sender: No OFD packet to send [12:20:52]OFD Sender: No OFD packet to send [12:20:57]OFD Sender: No OFD packet to send [12:21:02]OFD Sender: No OFD packet to send [12:21:07]OFD Sender: No OFD packet to send [12:21:12]OFD Sender: No OFD packet to send [12:21:17]OFD Sender: No OFD packet to send [12:21:22]OFD Sender: No OFD packet to send [12:21:27]OFD Sender: No OFD packet to send [12:21:32]OFD Sender: No OFD packet to send [12:21:37]OFD Sender: No OFD packet to send [12:21:42]OFD Sender: No OFD packet to send [12:21:47]OFD Sender: No OFD packet to send [12:21:52]OFD Sender: No OFD packet to send [12:21:57]OFD Sender: No OFD packet to send [12:22:02]OFD Sender: No OFD packet to send [12:22:07]OFD Sender: No OFD packet to send [12:22:12]OFD Sender: No OFD packet to send [12:22:17]OFD Sender: No OFD packet to send [12:22:22]OFD Sender: No OFD packet to send [12:22:27]OFD Sender: No OFD packet to send [12:22:32]OFD Sender: No OFD packet to send [12:22:37]OFD Sender: No OFD packet to send [12:22:42]OFD Sender: No OFD packet to send [12:22:47]OFD Sender: No OFD packet to send [12:22:52]OFD Sender: No OFD packet to send [12:22:57]OFD Sender: No OFD packet to send [12:23:02]OFD Sender: No OFD packet to send [12:23:07]OFD Sender: No OFD packet to send [12:23:12]OFD Sender: No OFD packet to send [12:23:17]OFD Sender: No OFD packet to send [12:23:22]OFD Sender: No OFD packet to send [12:23:27]OFD Sender: No OFD packet to send [12:23:32]OFD Sender: No OFD packet to send [12:23:37]OFD Sender: No OFD packet to send [12:23:42]OFD Sender: No OFD packet to send [12:23:47]OFD Sender: No OFD packet to send [12:23:52]OFD Sender: No OFD packet to send [12:23:57]OFD Sender: No OFD packet to send [12:24:02]OFD Sender: No OFD packet to send [12:24:07]OFD Sender: No OFD packet to send [12:24:12]OFD Sender: No OFD packet to send [12:24:17]OFD Sender: No OFD packet to send [12:24:22]OFD Sender: No OFD packet to send [12:24:27]OFD Sender: No OFD packet to send [12:24:32]OFD Sender: No OFD packet to send [12:24:37]OFD Sender: No OFD packet to send [12:24:42]OFD Sender: No OFD packet to send [12:24:47]OFD Sender: No OFD packet to send [12:24:52]OFD Sender: No OFD packet to send [12:24:57]OFD Sender: No OFD packet to send [12:25:02]OFD Sender: No OFD packet to send [12:25:07]OFD Sender: No OFD packet to send [12:25:12]OFD Sender: No OFD packet to send [12:25:17]OFD Sender: No OFD packet to send [12:25:22]OFD Sender: No OFD packet to send [12:25:27]OFD Sender: No OFD packet to send [12:25:32]OFD Sender: No OFD packet to send [12:25:37]OFD Sender: No OFD packet to send [12:25:42]OFD Sender: No OFD packet to send [12:25:47]OFD Sender: No OFD packet to send [12:25:52]OFD Sender: No OFD packet to send [12:25:57]OFD Sender: No OFD packet to send [12:26:02]OFD Sender: No OFD packet to send [12:26:07]OFD Sender: No OFD packet to send [12:26:12]OFD Sender: No OFD packet to send [12:26:17]OFD Sender: No OFD packet to send [12:26:23]OFD Sender: No OFD packet to send [12:26:28]OFD Sender: No OFD packet to send [12:26:33]OFD Sender: No OFD packet to send [12:26:38]OFD Sender: No OFD packet to send [12:26:43]OFD Sender: No OFD packet to send [12:26:48]OFD Sender: No OFD packet to send [12:26:53]OFD Sender: No OFD packet to send [12:26:58]OFD Sender: No OFD packet to send [12:27:03]OFD Sender: No OFD packet to send [12:27:08]OFD Sender: No OFD packet to send [12:27:13]OFD Sender: No OFD packet to send [12:27:18]OFD Sender: No OFD packet to send [12:27:23]OFD Sender: No OFD packet to send [12:27:28]OFD Sender: No OFD packet to send [12:27:33]OFD Sender: No OFD packet to send [12:27:38]OFD Sender: No OFD packet to send [12:27:43]OFD Sender: No OFD packet to send [12:27:48]OFD Sender: No OFD packet to send [12:27:53]OFD Sender: No OFD packet to send [12:27:58]OFD Sender: No OFD packet to send [12:28:03]OFD Sender: No OFD packet to send [12:28:08]OFD Sender: No OFD packet to send [12:28:13]OFD Sender: No OFD packet to send [12:28:18]OFD Sender: No OFD packet to send [12:28:23]OFD Sender: No OFD packet to send [12:28:28]OFD Sender: No OFD packet to send [12:28:33]OFD Sender: No OFD packet to send [12:28:38]OFD Sender: No OFD packet to send [12:28:43]OFD Sender: No OFD packet to send [12:28:48]OFD Sender: No OFD packet to send [12:28:53]OFD Sender: No OFD packet to send [12:28:58]OFD Sender: No OFD packet to send [12:29:03]OFD Sender: No OFD packet to send [12:29:08]OFD Sender: No OFD packet to send [12:29:13]OFD Sender: No OFD packet to send [12:29:18]OFD Sender: No OFD packet to send [12:29:23]OFD Sender: No OFD packet to send [12:29:28]OFD Sender: No OFD packet to send [12:29:33]OFD Sender: No OFD packet to send [12:29:38]OFD Sender: No OFD packet to send [12:29:43]OFD Sender: No OFD packet to send [12:29:48]OFD Sender: No OFD packet to send [12:29:53]OFD Sender: No OFD packet to send [12:29:58]OFD Sender: No OFD packet to send [12:30:03]OFD Sender: No OFD packet to send [12:30:08]OFD Sender: No OFD packet to send [12:30:13]OFD Sender: No OFD packet to send [12:30:18]OFD Sender: No OFD packet to send [12:30:23]OFD Sender: No OFD packet to send [12:30:28]OFD Sender: No OFD packet to send [12:30:33]OFD Sender: No OFD packet to send [12:30:38]OFD Sender: No OFD packet to send [12:30:43]OFD Sender: No OFD packet to send [12:30:48]OFD Sender: No OFD packet to send [12:30:53]OFD Sender: No OFD packet to send [12:30:58]OFD Sender: No OFD packet to send [12:31:03]OFD Sender: No OFD packet to send [12:31:08]OFD Sender: No OFD packet to send [12:31:13]OFD Sender: No OFD packet to send [12:31:18]OFD Sender: No OFD packet to send [12:31:23]OFD Sender: No OFD packet to send [12:31:28]OFD Sender: No OFD packet to send [12:31:33]OFD Sender: No OFD packet to send [12:31:38]OFD Sender: No OFD packet to send [12:31:43]OFD Sender: No OFD packet to send [12:31:48]OFD Sender: No OFD packet to send [12:31:53]OFD Sender: No OFD packet to send [12:31:58]OFD Sender: No OFD packet to send [12:32:03]OFD Sender: No OFD packet to send [12:32:08]OFD Sender: No OFD packet to send [12:32:13]OFD Sender: No OFD packet to send [12:32:18]OFD Sender: No OFD packet to send [12:32:23]OFD Sender: No OFD packet to send [12:32:28]OFD Sender: No OFD packet to send [12:32:33]OFD Sender: No OFD packet to send [12:32:38]OFD Sender: No OFD packet to send [12:32:43]OFD Sender: No OFD packet to send [12:32:48]OFD Sender: No OFD packet to send [12:32:53]OFD Sender: No OFD packet to send [12:32:58]OFD Sender: No OFD packet to send [12:33:03]OFD Sender: No OFD packet to send [12:33:08]OFD Sender: No OFD packet to send [12:33:13]OFD Sender: No OFD packet to send [12:33:18]OFD Sender: No OFD packet to send [12:33:23]OFD Sender: No OFD packet to send [12:33:28]OFD Sender: No OFD packet to send [12:33:33]OFD Sender: No OFD packet to send [12:33:38]OFD Sender: No OFD packet to send [12:33:43]OFD Sender: No OFD packet to send [12:33:48]OFD Sender: No OFD packet to send [12:33:53]OFD Sender: No OFD packet to send [12:33:58]OFD Sender: No OFD packet to send [12:34:03]OFD Sender: No OFD packet to send [12:34:08]OFD Sender: No OFD packet to send [12:34:13]OFD Sender: No OFD packet to send [12:34:18]OFD Sender: No OFD packet to send [12:34:23]OFD Sender: No OFD packet to send [12:34:28]OFD Sender: No OFD packet to send [12:34:33]OFD Sender: No OFD packet to send [12:34:38]OFD Sender: No OFD packet to send [12:34:43]OFD Sender: No OFD packet to send [12:34:48]OFD Sender: No OFD packet to send [12:34:53]OFD Sender: No OFD packet to send [12:34:58]OFD Sender: No OFD packet to send [12:35:03]OFD Sender: No OFD packet to send [12:35:08]OFD Sender: No OFD packet to send [12:35:13]OFD Sender: No OFD packet to send [12:35:18]OFD Sender: No OFD packet to send [12:35:23]OFD Sender: No OFD packet to send [12:35:28]OFD Sender: No OFD packet to send [12:35:33]OFD Sender: No OFD packet to send [12:35:38]OFD Sender: No OFD packet to send [12:35:43]OFD Sender: No OFD packet to send [12:35:48]OFD Sender: No OFD packet to send [12:35:53]OFD Sender: No OFD packet to send [12:35:58]OFD Sender: No OFD packet to send [12:36:03]OFD Sender: No OFD packet to send [12:36:08]OFD Sender: No OFD packet to send [12:36:13]OFD Sender: No OFD packet to send [12:36:18]OFD Sender: No OFD packet to send [12:36:23]OFD Sender: No OFD packet to send [12:36:28]OFD Sender: No OFD packet to send [12:36:33]OFD Sender: No OFD packet to send [12:36:38]OFD Sender: No OFD packet to send [12:36:43]OFD Sender: No OFD packet to send [12:36:48]OFD Sender: No OFD packet to send [12:36:53]OFD Sender: No OFD packet to send [12:36:58]OFD Sender: No OFD packet to send [12:37:03]OFD Sender: No OFD packet to send [12:37:08]OFD Sender: No OFD packet to send [12:37:13]OFD Sender: No OFD packet to send [12:37:18]OFD Sender: No OFD packet to send [12:37:23]OFD Sender: No OFD packet to send [12:37:28]OFD Sender: No OFD packet to send [12:37:33]OFD Sender: No OFD packet to send [12:37:34]accept exits with 9 [12:37:34]New connection [12:37:34]New thread 3067252068 created [12:37:34]Thread 3067395428 joined [12:37:34]Waiting for new connection... [12:37:34] Sock 9.Parse request [12:37:34]Sock 9.Check first char [12:37:34]Sock 9.First char is OK [12:37:34]request: POST /json_proto HTTP/1.0 [12:37:34]Method: POST [12:37:34]URL: /json_proto [12:37:34]Method is POST - this is cgi request [12:37:34]url: /json_proto [12:37:34]query_string will be loaded in cgi processing [12:37:34]execute_cgi json_proto POST (null) [12:37:34]execute_cgi path=json_proto method=POST [12:37:34]POST find Content-Length [12:37:34]Host: 172.17.60.7:8080 [12:37:34]Content-Length: 1137 [12:37:34]Content-Type: application/json [12:37:34] [12:37:34]POST finish read [12:37:34]Found Content-Length = 1137 [12:37:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122754", "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 }]} ,{ "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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:37:34]execute_script... [12:37:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122754", "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 }]} ,{ "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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:37:34]POST & json_proto [12:37:34]process_json_proto [12:37:34]json parsed OK: [12:37:34]protocol is kg_v1.0 [12:37:34]action value=close_receipt [12:37:34]process_action close_receipt [12:37:34]cmd_close_receipt [12:37:34]MH_GetDate [12:37:34]Write to MH i2c: F0 00 00 00 14 03 [12:37:34]Write i2c OK [12:37:34]MH_I2C_Read... [12:37:34]Read from MH i2c: F0 [12:37:34]MH_I2C_Read... [12:37:34]Read from MH i2c: F0 09 00 [12:37:34]MH_I2C_Read... [12:37:34]Read from MH i2c: F0 09 00 00 14 00 92 B0 B8 66 63 9B 67 64 35 [12:37:34]GetLastDocTimeStamp 1723378207 [12:37:34]current date 1723379858 [12:37:34]FM_GetShiftState [12:37:34]SAM_PROTO_GetShiftState [12:37:34]wFMCommunicate request_size=4 [12:37:34]MH_SAM_APDU [12:37:34]CAPDU: 80 13 01 00 [12:37:34]Write to MH i2c: E2 08 00 01 14 80 13 01 00 00 00 00 00 92 [12:37:34]Write i2c OK [12:37:34]MH_I2C_Read... [12:37:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:37:34]Read from MH i2c: E2 [12:37:34]MH_I2C_Read... [12:37:34]Read from MH i2c: E2 0E 00 [12:37:34]MH_I2C_Read... [12:37:34]Read from MH i2c: E2 0E 00 01 14 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 BB [12:37:34]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [12:37:34]wFMCommunicate OK [12:37:34]SAM_PROTO_GetShiftState done [12:37:34]FM_GetShiftState done [12:37:34]opened in 1723336186 [12:37:34]opened+sec_in_day 1723422586 [12:37:34]quantity*price = 9500 [12:37:34]sum+1 = 9501 [12:37:34]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000054227 Напиток Кока-Кола 1л 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 220.00 НСП 1% : 1.95 НДС 12% : 23.36 Наличными: 0.00 Безнал.: 220.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 34 11.08.2024 12:37 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52623 ФПД: 197286507047808 /tax-web-control/client/api/v1/ticket?date=20240811T123738&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52623&fm=197286507047808&tin=02508201610067®Number=0000000000090834&sum=22000 0 [12:37:35]StoreToDocumentArchive [12:37:35]shift 446 fd 52623 [12:37:35]save to /storage/0446/doc_00052623 [12:37:35]save last doc name /storage/0446/doc_00052623 to /storage/kkm_last_doc_name [12:37:35]save OK [12:37:35]Clear old archive folders... [12:37:35]ProcessDocumentItem done err = 0, tmpTLVsize=407 [12:37:35]tlvbuf is 0106F2D0 [12:37:35]SAM_PROTO_ClearQueue [12:37:35]wFMCommunicate request_size=4 [12:37:35]MH_SAM_APDU [12:37:35]CAPDU: 80 09 00 00 [12:37:35]Write to MH i2c: E2 08 00 0E 14 80 09 00 00 00 00 00 00 94 [12:37:35]Write i2c OK [12:37:35]MH_I2C_Read... [12:37:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:37:35]Read from MH i2c: E2 [12:37:35]MH_I2C_Read... [12:37:35]Read from MH i2c: E2 03 00 [12:37:35]MH_I2C_Read... [12:37:35]Read from MH i2c: E2 03 00 0E 14 00 90 00 96 [12:37:35]RAPDU: 90 00 [12:37:35]wFMCommunicate OK [12:37:35]SAM_PROTO_ClearQueue done [12:37:35]KKMCreateOFDPacket [12:37:35]OFDProtocolAddRootSTLVToBuf [12:37:35]FM_MakeSignedData [12:37:35]FM_MakeSignedData [12:37:35]SAM_PROTO_SignData [12:37:35]wFMCommunicate request_size=4 [12:37:35]MH_SAM_APDU [12:37:35]CAPDU: 80 0D 01 02 [12:37:35]Write to MH i2c: E2 08 00 0F 14 80 0D 01 02 00 00 00 00 9C [12:37:35]Write i2c OK [12:37:35]MH_I2C_Read... [12:37:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:37:35]Read from MH i2c: E2 [12:37:35]MH_I2C_Read... [12:37:35]Read from MH i2c: E2 03 00 [12:37:35]MH_I2C_Read... [12:37:35]Read from MH i2c: E2 03 00 0F 14 00 90 00 97 [12:37:35]RAPDU: 90 00 [12:37:35]wFMCommunicate OK [12:37:35]wFMCommunicate request_size=255 [12:37:35]MH_SAM_APDU [12:37:35]CAPDU: 80 0D 02 02 FA 03 00 97 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 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 [12:37:35]Write to MH i2c: E2 02 01 10 14 80 0D 02 02 FA 00 03 00 97 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 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 00 00 58 [12:37:35]Write i2c OK [12:37:35]MH_I2C_Read... [12:37:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:37:36]Read from MH i2c: E2 [12:37:36]MH_I2C_Read... [12:37:36]Read from MH i2c: E2 03 00 [12:37:36]MH_I2C_Read... [12:37:36]Read from MH i2c: E2 03 00 10 14 00 90 00 98 [12:37:36]RAPDU: 90 00 [12:37:36]wFMCommunicate OK [12:37:36]wFMCommunicate request_size=166 [12:37:36]MH_SAM_APDU [12:37:36]CAPDU: 80 0D 02 02 A1 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F0 55 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 92 B0 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8F CD 00 00 35 04 06 00 B3 6E 58 2B EB 80 [12:37:36]Write to MH i2c: E2 A9 00 11 14 80 0D 02 02 A1 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F0 55 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 92 B0 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8F CD 00 00 35 04 06 00 B3 6E 58 2B EB 80 00 00 3F [12:37:36]Write i2c OK [12:37:36]MH_I2C_Read... [12:37:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:37:36]Read from MH i2c: E2 [12:37:36]MH_I2C_Read... [12:37:36]Read from MH i2c: E2 03 00 [12:37:36]MH_I2C_Read... [12:37:36]Read from MH i2c: E2 03 00 11 14 00 90 00 99 [12:37:36]RAPDU: 90 00 [12:37:36]wFMCommunicate OK [12:37:36]wFMCommunicate request_size=4 [12:37:36]MH_SAM_APDU [12:37:36]CAPDU: 80 0D 03 02 [12:37:36]Write to MH i2c: E2 08 00 12 14 80 0D 03 02 00 00 00 00 A1 [12:37:36]Write i2c OK [12:37:36]MH_I2C_Read... [12:37:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:37:36]Read from MH i2c: E2 [12:37:36]MH_I2C_Read... [12:37:36]Read from MH i2c: E2 0B 00 [12:37:36]MH_I2C_Read... [12:37:36]Read from MH i2c: E2 0B 00 12 14 00 D4 CE 4A F7 BA A1 83 FA 90 00 5D [12:37:36]RAPDU: D4 CE 4A F7 BA A1 83 FA 90 00 [12:37:36]wFMCommunicate OK [12:37:36]SAM_PROTO_SignData done [12:37:36]FM_MakeSignedData done [12:37:36]CreateOFDProtocolMessage [12:37:36]wFMCommunicate request_size=4 [12:37:36]MH_SAM_APDU [12:37:36]CAPDU: 80 11 00 00 [12:37:36]Write to MH i2c: E2 08 00 13 14 80 11 00 00 00 00 00 00 A1 [12:37:36]Write i2c OK [12:37:36]MH_I2C_Read... [12:37:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:37:36]Read from MH i2c: E2 [12:37:36]MH_I2C_Read... [12:37:36]Read from MH i2c: E2 17 00 [12:37:36]MH_I2C_Read... [12:37:36]Read from MH i2c: E2 17 00 13 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 F4 [12:37:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [12:37:36]wFMCommunicate OK [12:37:36]CreateOFDProtocolMessage done [12:37:36]OFDSenderStorePacket 52623 [12:37:36]StoreOFDPacket docnum=52623 [12:37:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 AB 01 00 00 3B F2 A3 01 84 75 5A 03 01 00 03 00 97 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 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 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F0 55 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 92 B0 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8F CD 00 00 35 04 06 00 B3 6E 58 2B EB 80 D4 CE 4A F7 BA A1 83 FA [12:37:36]CheckFolder [12:37:36]dirname=/storage/ofd_packets [12:37:36]CheckFolder done [12:37:36]ProducePacketName [12:37:36]name=ofd_packets/00052623 [12:37:36]NVStorageSaveData ofd_packets/00052623 [12:37:36]File name is /storage/ofd_packets/00052623 [12:37:36]Write 457 bytes [12:37:36]NVStorageSaveData done [12:37:36]OFDSenderStorePacket done [12:37:36]KKMCreateOFDPacket done [12:37:36]NVStorageSaveData kkm_last_timestamp [12:37:36]File name is /storage/kkm_last_timestamp [12:37:36]Write 4 bytes [12:37:36]NVStorageSaveData done [12:37:36]ExternCall_PrintAddStr [12:37:36]wPrintStart [12:37:36]Write to MH i2c: 01 00 00 14 14 28 [12:37:36]OFD Sender: Processing packet 52623 [packets to send 55, broken 54] [12:37:36]ProducePacketName [12:37:36]name=ofd_packets/00052623 [12:37:36]OFD Sender: To server: pG, [12:37:36]CommunicateWithHost lk.salyk.kg:30040 [12:37:36]ConnectInit lk.salyk.kg [12:37:36]Write i2c OK [12:37:36]MH_I2C_Read... [12:37:36]Read from MH i2c: 01 [12:37:36]MH_I2C_Read... [12:37:36]Read from MH i2c: 01 07 00 [12:37:36]MH_I2C_Read... [12:37:36]Read from MH i2c: 01 07 00 14 14 00 00 00 00 00 FF 0F 3D [12:37:36]RasterBufferAndPrint [12:37:36]line Счет N : (3)122754 [12:37:36]line ИНН: 02508201610067 [12:37:36]line Контрольно-Кассовый Чек [12:37:36]line ПРОДАЖА [12:37:36]line Товар: 4700000480364 [12:37:36]line Напиток энерг Nitro экзотик 0.45 ж/б [12:37:36]line 1.000 * 95.00 [12:37:36]line = 95.00 [12:37:36]line НДС 12% НСП 1% [12:37:36]line > о реализуемом товаре [12:37:36]line Товар: 5449000054227 [12:37:36]line Напиток Кока-Кола 1л [12:37:36]line 1.000 * 125.00 [12:37:36]line = 125.00 [12:37:36]line НДС 12% НСП 1% [12:37:36]line > о реализуемом товаре [12:37:36]line ИТОГО: 220.00 [12:37:36]line НСП 1% : 1.95 [12:37:36]line НДС 12% : 23.36 [12:37:36]line Наличными: 0.00 [12:37:36]line Безнал.: 220.00 [12:37:36]line Место: АЗС № 54 "Партнер Нефть" [12:37:36]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [12:37:36]line СНО: Общий режим [12:37:36]line Чек 34 11.08.2024 12:37 [12:37:36]line Смена: 446 ФФД: 1.0 [12:37:36]line ЗНМ: 0300000007 [12:37:36]line РНМ: 0000000000090834 [12:37:36]line Версия ККМ: 001 [12:37:36]line Платежная система: О! деньги [12:37:36]line ФМ: 0000000000874715 [12:37:36]line ФД: 52623 [12:37:36]line ФПД: 197286507047808 [12:37:36]line /tax-web-control/client/api/v1/ticket?date=20240811T123738&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52623&fm=197286507047808&tin=02508201610067®Number=0000000000090834&sum=22000 [12:37:36]line 0 [12:37:36]written 0, free lines is 4095 [12:37:37]Connected sock=10 [12:37:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 AB 01 00 00 3B F2 A3 01 84 75 5A 03 01 00 03 00 97 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 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 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F0 55 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 92 B0 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 8F CD 00 00 35 04 06 00 B3 6E 58 2B EB 80 D4 CE 4A F7 BA A1 83 FA [12:37:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 FA F1 47 00 21 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 34 37 31 35 10 04 04 00 8F CD 00 00 F4 03 04 00 2E 58 B8 66 B6 04 01 00 00 2F 31 0B B6 B3 D1 C9 91 [12:37:37]CommunicateWithHost err = 0 [12:37:37]CheckOFDResponse [12:37:37]1017 (14) - 77093643461234 [12:37:37]1041 (16) - 0000000000874715 [12:37:37]1040 (4) - 52623 [12:37:37]1012 (4) - 11.08.2024 06:20 [12:37:37]1206 (1) - 0 [12:37:37]OFD Sender: Remove packet 52623 [12:37:37]ProducePacketName [12:37:37]name=ofd_packets/00052623 [12:37:37]NVStorageDeleteData [12:37:37]Write to MH i2c: 01 00 00 44 14 58 [12:37:37]Write i2c OK [12:37:37]MH_I2C_Read... [12:37:37]Read from MH i2c: 01 [12:37:37]MH_I2C_Read... [12:37:37]Read from MH i2c: 01 07 00 [12:37:37]MH_I2C_Read... [12:37:37]Read from MH i2c: 01 07 00 44 14 00 00 00 00 00 59 0C C4 [12:37:37]RasterBufferAndPrint [12:37:37]line [12:37:37]line [12:37:37]line [12:37:37]line [12:37:37]line [12:37:37]written 0, free lines is 3167 [12:37:37]MH_Cut [12:37:37]Write to MH i2c: D1 01 00 4B 14 01 31 [12:37:37]Write i2c OK [12:37:37]MH_I2C_Read... [12:37:37]Read from MH i2c: D1 [12:37:37]MH_I2C_Read... [12:37:37]Read from MH i2c: D1 01 00 [12:37:37]MH_I2C_Read... [12:37:37]Read from MH i2c: D1 01 00 4B 14 00 30 [12:37:37]Write to MH i2c: 01 00 00 4C 14 60 [12:37:37]Write i2c OK [12:37:37]MH_I2C_Read... [12:37:37]OFD Sender: No OFD packet to send [12:37:38]*** Cut start [12:37:38]*** Purtial cut [12:37:38]*** Stage 1: CUTSNS_PIN = 1 [12:37:38]Read from MH i2c: 01 [12:37:38]MH_I2C_Read... [12:37:38]*** Stop cut motor [12:37:38]*** Cut end [12:37:38]Read from MH i2c: 01 07 00 [12:37:38]MH_I2C_Read... [12:37:38]Read from MH i2c: 01 07 00 4C 14 00 00 00 00 00 FF 0F 75 [12:37:38]process_action close_receipt done [12:37:38]requested_data is exist [12:37:38]produce_requested_data [12:37:38]requested_item fm.sn is exist - process it [12:37:38]wFMCommunicate request_size=4 [12:37:38]MH_SAM_APDU [12:37:38]CAPDU: 80 11 00 00 [12:37:38]Write to MH i2c: E2 08 00 4D 14 80 11 00 00 00 00 00 00 DB [12:37:38]Write i2c OK [12:37:38]MH_I2C_Read... [12:37:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:37:38]Read from MH i2c: E2 [12:37:38]MH_I2C_Read... [12:37:38]Read from MH i2c: E2 17 00 [12:37:38]MH_I2C_Read... [12:37:38]Read from MH i2c: E2 17 00 4D 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 2E [12:37:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [12:37:38]wFMCommunicate OK [12:37:38]requested_item fd.num is exist - process it [12:37:38]SAM_PROTO_GetFieldsCounters [12:37:38]wFMCommunicate request_size=4 [12:37:38]MH_SAM_APDU [12:37:38]CAPDU: 80 13 00 00 [12:37:38]Write to MH i2c: E2 08 00 4E 14 80 13 00 00 00 00 00 00 DE [12:37:38]Write i2c OK [12:37:38]MH_I2C_Read... [12:37:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:37:38]Read from MH i2c: E2 [12:37:38]MH_I2C_Read... [12:37:38]Read from MH i2c: E2 62 00 [12:37:38]MH_I2C_Read... [12:37:38]Read from MH i2c: E2 62 00 4E 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 8F CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 7F [12:37:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 8F CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:37:38]wFMCommunicate OK [12:37:38]SAM_PROTO_GetFieldsCounters done [12:37:38]requested_item shift.num is exist - process it [12:37:38]requested_item shift.opened is exist - process it [12:37:38]req_shift_opened [12:37:38]FM_GetShiftState [12:37:38]SAM_PROTO_GetShiftState [12:37:38]wFMCommunicate request_size=4 [12:37:38]MH_SAM_APDU [12:37:38]CAPDU: 80 13 01 00 [12:37:38]Write to MH i2c: E2 08 00 4F 14 80 13 01 00 00 00 00 00 E0 [12:37:38]Write i2c OK [12:37:38]MH_I2C_Read... [12:37:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:37:38]Read from MH i2c: E2 [12:37:38]MH_I2C_Read... [12:37:38]Read from MH i2c: E2 0E 00 [12:37:38]MH_I2C_Read... [12:37:38]Read from MH i2c: E2 0E 00 4F 14 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 09 [12:37:38]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [12:37:38]wFMCommunicate OK [12:37:38]SAM_PROTO_GetShiftState done [12:37:38]FM_GetShiftState done [12:37:38]req_shift_opened done [12:37:38]requested_item shift.open_date is exist - process it [12:37:38]req_shift_open_date [12:37:38]req_shift_open_date done [12:37:38]produce_requested_data done [12:37:38]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52623,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [12:37:38]process_action_free close_receipt [12:37:38]json_value_free [12:37:38]json_value_free done [12:37:38]process_json_proto returns [12:37:38]Send response to host [12:37:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52623,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [12:37:38]free response buf [12:37:38]execute_script done [12:37:38]execute_script returns [12:37:38]free content buf [12:37:38]Sock 9.Close socket [12:37:38]Sock 9.Thread stoped [12:37:42]OFD Sender: No OFD packet to send [12:37:47]OFD Sender: No OFD packet to send [12:37:52]OFD Sender: No OFD packet to send [12:37:57]OFD Sender: No OFD packet to send [12:38:02]OFD Sender: No OFD packet to send [12:38:07]OFD Sender: No OFD packet to send [12:38:12]OFD Sender: No OFD packet to send [12:38:17]OFD Sender: No OFD packet to send [12:38:22]OFD Sender: No OFD packet to send [12:38:27]OFD Sender: No OFD packet to send [12:38:32]OFD Sender: No OFD packet to send [12:38:37]OFD Sender: No OFD packet to send [12:38:42]OFD Sender: No OFD packet to send [12:38:47]OFD Sender: No OFD packet to send [12:38:52]OFD Sender: No OFD packet to send [12:38:57]OFD Sender: No OFD packet to send [12:39:02]OFD Sender: No OFD packet to send [12:39:07]OFD Sender: No OFD packet to send [12:39:12]OFD Sender: No OFD packet to send [12:39:17]OFD Sender: No OFD packet to send [12:39:22]OFD Sender: No OFD packet to send [12:39:27]OFD Sender: No OFD packet to send [12:39:32]OFD Sender: No OFD packet to send [12:39:37]OFD Sender: No OFD packet to send [12:39:42]OFD Sender: No OFD packet to send [12:39:47]OFD Sender: No OFD packet to send [12:39:53]OFD Sender: No OFD packet to send [12:39:58]OFD Sender: No OFD packet to send [12:40:03]OFD Sender: No OFD packet to send [12:40:08]OFD Sender: No OFD packet to send [12:40:13]OFD Sender: No OFD packet to send [12:40:18]OFD Sender: No OFD packet to send [12:40:23]OFD Sender: No OFD packet to send [12:40:28]OFD Sender: No OFD packet to send [12:40:33]OFD Sender: No OFD packet to send [12:40:38]OFD Sender: No OFD packet to send [12:40:43]OFD Sender: No OFD packet to send [12:40:48]OFD Sender: No OFD packet to send [12:40:53]OFD Sender: No OFD packet to send [12:40:58]OFD Sender: No OFD packet to send [12:41:03]OFD Sender: No OFD packet to send [12:41:08]OFD Sender: No OFD packet to send [12:41:13]OFD Sender: No OFD packet to send [12:41:18]OFD Sender: No OFD packet to send [12:41:23]OFD Sender: No OFD packet to send [12:41:28]OFD Sender: No OFD packet to send [12:41:33]OFD Sender: No OFD packet to send [12:41:38]OFD Sender: No OFD packet to send [12:41:43]OFD Sender: No OFD packet to send [12:41:48]OFD Sender: No OFD packet to send [12:41:53]OFD Sender: No OFD packet to send [12:41:58]OFD Sender: No OFD packet to send [12:42:03]OFD Sender: No OFD packet to send [12:42:08]OFD Sender: No OFD packet to send [12:42:13]OFD Sender: No OFD packet to send [12:42:18]OFD Sender: No OFD packet to send [12:42:23]OFD Sender: No OFD packet to send [12:42:28]OFD Sender: No OFD packet to send [12:42:33]OFD Sender: No OFD packet to send [12:42:38]OFD Sender: No OFD packet to send [12:42:43]OFD Sender: No OFD packet to send [12:42:48]OFD Sender: No OFD packet to send [12:42:53]OFD Sender: No OFD packet to send [12:42:58]OFD Sender: No OFD packet to send [12:43:03]OFD Sender: No OFD packet to send [12:43:08]OFD Sender: No OFD packet to send [12:43:13]OFD Sender: No OFD packet to send [12:43:18]OFD Sender: No OFD packet to send [12:43:23]OFD Sender: No OFD packet to send [12:43:28]OFD Sender: No OFD packet to send [12:43:33]OFD Sender: No OFD packet to send [12:43:38]OFD Sender: No OFD packet to send [12:43:43]OFD Sender: No OFD packet to send [12:43:48]OFD Sender: No OFD packet to send [12:43:53]OFD Sender: No OFD packet to send [12:43:58]OFD Sender: No OFD packet to send [12:44:03]OFD Sender: No OFD packet to send [12:44:08]OFD Sender: No OFD packet to send [12:44:13]OFD Sender: No OFD packet to send [12:44:18]OFD Sender: No OFD packet to send [12:44:23]OFD Sender: No OFD packet to send [12:44:28]OFD Sender: No OFD packet to send [12:44:33]OFD Sender: No OFD packet to send [12:44:38]OFD Sender: No OFD packet to send [12:44:43]OFD Sender: No OFD packet to send [12:44:48]OFD Sender: No OFD packet to send [12:44:53]OFD Sender: No OFD packet to send [12:44:58]OFD Sender: No OFD packet to send [12:45:03]OFD Sender: No OFD packet to send [12:45:08]OFD Sender: No OFD packet to send [12:45:13]OFD Sender: No OFD packet to send [12:45:18]OFD Sender: No OFD packet to send [12:45:23]OFD Sender: No OFD packet to send [12:45:28]OFD Sender: No OFD packet to send [12:45:33]OFD Sender: No OFD packet to send [12:45:38]OFD Sender: No OFD packet to send [12:45:43]OFD Sender: No OFD packet to send [12:45:48]OFD Sender: No OFD packet to send [12:45:53]OFD Sender: No OFD packet to send [12:45:58]OFD Sender: No OFD packet to send [12:46:03]OFD Sender: No OFD packet to send [12:46:08]OFD Sender: No OFD packet to send [12:46:13]OFD Sender: No OFD packet to send [12:46:18]OFD Sender: No OFD packet to send [12:46:23]OFD Sender: No OFD packet to send [12:46:28]OFD Sender: No OFD packet to send [12:46:33]OFD Sender: No OFD packet to send [12:46:38]OFD Sender: No OFD packet to send [12:46:43]OFD Sender: No OFD packet to send [12:46:48]OFD Sender: No OFD packet to send [12:46:53]OFD Sender: No OFD packet to send [12:46:58]OFD Sender: No OFD packet to send [12:47:03]OFD Sender: No OFD packet to send [12:47:08]OFD Sender: No OFD packet to send [12:47:13]OFD Sender: No OFD packet to send [12:47:18]OFD Sender: No OFD packet to send [12:47:23]OFD Sender: No OFD packet to send [12:47:28]OFD Sender: No OFD packet to send [12:47:33]OFD Sender: No OFD packet to send [12:47:38]OFD Sender: No OFD packet to send [12:47:43]OFD Sender: No OFD packet to send [12:47:48]OFD Sender: No OFD packet to send [12:47:53]OFD Sender: No OFD packet to send [12:47:58]OFD Sender: No OFD packet to send [12:48:03]OFD Sender: No OFD packet to send [12:48:08]OFD Sender: No OFD packet to send [12:48:13]OFD Sender: No OFD packet to send [12:48:18]OFD Sender: No OFD packet to send [12:48:23]OFD Sender: No OFD packet to send [12:48:28]OFD Sender: No OFD packet to send [12:48:33]OFD Sender: No OFD packet to send [12:48:38]OFD Sender: No OFD packet to send [12:48:43]OFD Sender: No OFD packet to send [12:48:48]OFD Sender: No OFD packet to send [12:48:53]OFD Sender: No OFD packet to send [12:48:58]OFD Sender: No OFD packet to send [12:49:03]OFD Sender: No OFD packet to send [12:49:08]OFD Sender: No OFD packet to send [12:49:13]OFD Sender: No OFD packet to send [12:49:18]OFD Sender: No OFD packet to send [12:49:23]OFD Sender: No OFD packet to send [12:49:28]OFD Sender: No OFD packet to send [12:49:33]OFD Sender: No OFD packet to send [12:49:38]OFD Sender: No OFD packet to send [12:49:43]OFD Sender: No OFD packet to send [12:49:48]OFD Sender: No OFD packet to send [12:49:53]OFD Sender: No OFD packet to send [12:49:58]OFD Sender: No OFD packet to send [12:50:03]OFD Sender: No OFD packet to send [12:50:08]OFD Sender: No OFD packet to send [12:50:13]OFD Sender: No OFD packet to send [12:50:18]OFD Sender: No OFD packet to send [12:50:23]OFD Sender: No OFD packet to send [12:50:28]OFD Sender: No OFD packet to send [12:50:33]OFD Sender: No OFD packet to send [12:50:38]OFD Sender: No OFD packet to send [12:50:43]OFD Sender: No OFD packet to send [12:50:48]OFD Sender: No OFD packet to send [12:50:53]OFD Sender: No OFD packet to send [12:50:58]OFD Sender: No OFD packet to send [12:51:08]OFD Sender: No OFD packet to send [12:51:13]OFD Sender: No OFD packet to send [12:51:18]OFD Sender: No OFD packet to send [12:51:23]OFD Sender: No OFD packet to send [12:51:28]OFD Sender: No OFD packet to send [12:51:33]OFD Sender: No OFD packet to send [12:51:38]OFD Sender: No OFD packet to send [12:51:43]OFD Sender: No OFD packet to send [12:51:48]OFD Sender: No OFD packet to send [12:51:53]OFD Sender: No OFD packet to send [12:51:58]OFD Sender: No OFD packet to send [12:52:03]OFD Sender: No OFD packet to send [12:52:08]OFD Sender: No OFD packet to send [12:52:13]OFD Sender: No OFD packet to send [12:52:18]OFD Sender: No OFD packet to send [12:52:23]OFD Sender: No OFD packet to send [12:52:28]OFD Sender: No OFD packet to send [12:52:33]OFD Sender: No OFD packet to send [12:52:38]OFD Sender: No OFD packet to send [12:52:43]OFD Sender: No OFD packet to send [12:52:48]OFD Sender: No OFD packet to send [12:52:53]OFD Sender: No OFD packet to send [12:52:58]OFD Sender: No OFD packet to send [12:53:03]OFD Sender: No OFD packet to send [12:53:08]OFD Sender: No OFD packet to send [12:53:13]OFD Sender: No OFD packet to send [12:53:18]OFD Sender: No OFD packet to send [12:53:21]ConnectInit Can't connect to host [12:53:23]OFD Sender: No OFD packet to send [12:53:28]OFD Sender: No OFD packet to send [12:53:33]OFD Sender: No OFD packet to send [12:53:38]OFD Sender: No OFD packet to send [12:53:43]OFD Sender: No OFD packet to send [12:53:48]OFD Sender: No OFD packet to send [12:53:53]OFD Sender: No OFD packet to send [12:53:58]OFD Sender: No OFD packet to send [12:54:03]OFD Sender: No OFD packet to send [12:54:08]OFD Sender: No OFD packet to send [12:54:13]OFD Sender: No OFD packet to send [12:54:18]OFD Sender: No OFD packet to send [12:54:23]OFD Sender: No OFD packet to send [12:54:28]OFD Sender: No OFD packet to send [12:54:33]OFD Sender: No OFD packet to send [12:54:38]OFD Sender: No OFD packet to send [12:54:43]OFD Sender: No OFD packet to send [12:54:48]OFD Sender: No OFD packet to send [12:54:53]OFD Sender: No OFD packet to send [12:54:58]OFD Sender: No OFD packet to send [12:55:03]OFD Sender: No OFD packet to send [12:55:08]OFD Sender: No OFD packet to send [12:55:13]OFD Sender: No OFD packet to send [12:55:18]OFD Sender: No OFD packet to send [12:55:23]OFD Sender: No OFD packet to send [12:55:28]OFD Sender: No OFD packet to send [12:55:33]OFD Sender: No OFD packet to send [12:55:38]OFD Sender: No OFD packet to send [12:55:43]OFD Sender: No OFD packet to send [12:55:48]OFD Sender: No OFD packet to send [12:55:53]OFD Sender: No OFD packet to send [12:55:58]OFD Sender: No OFD packet to send [12:56:03]OFD Sender: No OFD packet to send [12:56:08]OFD Sender: No OFD packet to send [12:56:13]OFD Sender: No OFD packet to send [12:56:18]OFD Sender: No OFD packet to send [12:56:23]OFD Sender: No OFD packet to send [12:56:28]OFD Sender: No OFD packet to send [12:56:33]OFD Sender: No OFD packet to send [12:56:38]OFD Sender: No OFD packet to send [12:56:43]OFD Sender: No OFD packet to send [12:56:48]OFD Sender: No OFD packet to send [12:56:53]OFD Sender: No OFD packet to send [12:56:58]OFD Sender: No OFD packet to send [12:57:03]OFD Sender: No OFD packet to send [12:57:08]OFD Sender: No OFD packet to send [12:57:13]OFD Sender: No OFD packet to send [12:57:18]OFD Sender: No OFD packet to send [12:57:23]OFD Sender: No OFD packet to send [12:57:28]OFD Sender: No OFD packet to send [12:57:33]OFD Sender: No OFD packet to send [12:57:38]OFD Sender: No OFD packet to send [12:57:44]OFD Sender: No OFD packet to send [12:57:49]OFD Sender: No OFD packet to send [12:57:54]OFD Sender: No OFD packet to send [12:57:59]OFD Sender: No OFD packet to send [12:58:04]OFD Sender: No OFD packet to send [12:58:09]OFD Sender: No OFD packet to send [12:58:14]OFD Sender: No OFD packet to send [12:58:19]OFD Sender: No OFD packet to send [12:58:24]OFD Sender: No OFD packet to send [12:58:29]OFD Sender: No OFD packet to send [12:58:34]OFD Sender: No OFD packet to send [12:58:39]OFD Sender: No OFD packet to send [12:58:44]OFD Sender: No OFD packet to send [12:58:49]OFD Sender: No OFD packet to send [12:58:54]OFD Sender: No OFD packet to send [12:58:59]OFD Sender: No OFD packet to send [12:59:04]OFD Sender: No OFD packet to send [12:59:09]OFD Sender: No OFD packet to send [12:59:14]OFD Sender: No OFD packet to send [12:59:19]OFD Sender: No OFD packet to send [12:59:24]OFD Sender: No OFD packet to send [12:59:29]OFD Sender: No OFD packet to send [12:59:34]OFD Sender: No OFD packet to send [12:59:39]OFD Sender: No OFD packet to send [12:59:44]OFD Sender: No OFD packet to send [12:59:49]OFD Sender: No OFD packet to send [12:59:54]OFD Sender: No OFD packet to send [12:59:59]OFD Sender: No OFD packet to send [13:00:04]OFD Sender: No OFD packet to send [13:00:09]OFD Sender: No OFD packet to send [13:00:14]OFD Sender: No OFD packet to send [13:00:19]OFD Sender: No OFD packet to send [13:00:24]OFD Sender: No OFD packet to send [13:00:29]OFD Sender: No OFD packet to send [13:00:34]OFD Sender: No OFD packet to send [13:00:39]OFD Sender: No OFD packet to send [13:00:44]OFD Sender: No OFD packet to send [13:00:49]OFD Sender: No OFD packet to send [13:00:54]OFD Sender: No OFD packet to send [13:00:59]OFD Sender: No OFD packet to send [13:01:04]OFD Sender: No OFD packet to send [13:01:09]OFD Sender: No OFD packet to send [13:01:14]OFD Sender: No OFD packet to send [13:01:19]OFD Sender: No OFD packet to send [13:01:24]OFD Sender: No OFD packet to send [13:01:29]OFD Sender: No OFD packet to send [13:01:34]OFD Sender: No OFD packet to send [13:01:39]OFD Sender: No OFD packet to send [13:01:44]OFD Sender: No OFD packet to send [13:01:49]OFD Sender: No OFD packet to send [13:01:54]OFD Sender: No OFD packet to send [13:01:59]OFD Sender: No OFD packet to send [13:02:04]OFD Sender: No OFD packet to send [13:02:09]OFD Sender: No OFD packet to send [13:02:14]OFD Sender: No OFD packet to send [13:02:19]OFD Sender: No OFD packet to send [13:02:24]OFD Sender: No OFD packet to send [13:02:29]OFD Sender: No OFD packet to send [13:02:34]OFD Sender: No OFD packet to send [13:02:39]OFD Sender: No OFD packet to send [13:02:44]OFD Sender: No OFD packet to send [13:02:49]OFD Sender: No OFD packet to send [13:02:54]OFD Sender: No OFD packet to send [13:02:59]OFD Sender: No OFD packet to send [13:03:04]OFD Sender: No OFD packet to send [13:03:09]OFD Sender: No OFD packet to send [13:03:14]OFD Sender: No OFD packet to send [13:03:19]OFD Sender: No OFD packet to send [13:03:24]OFD Sender: No OFD packet to send [13:03:29]OFD Sender: No OFD packet to send [13:03:34]OFD Sender: No OFD packet to send [13:03:39]OFD Sender: No OFD packet to send [13:03:44]OFD Sender: No OFD packet to send [13:03:49]OFD Sender: No OFD packet to send [13:03:54]OFD Sender: No OFD packet to send [13:03:59]OFD Sender: No OFD packet to send [13:04:04]OFD Sender: No OFD packet to send [13:04:09]OFD Sender: No OFD packet to send [13:04:14]OFD Sender: No OFD packet to send [13:04:19]OFD Sender: No OFD packet to send [13:04:24]OFD Sender: No OFD packet to send [13:04:29]OFD Sender: No OFD packet to send [13:04:34]OFD Sender: No OFD packet to send [13:04:39]OFD Sender: No OFD packet to send [13:04:44]OFD Sender: No OFD packet to send [13:04:49]OFD Sender: No OFD packet to send [13:04:54]OFD Sender: No OFD packet to send [13:04:59]OFD Sender: No OFD packet to send [13:05:04]OFD Sender: No OFD packet to send [13:05:09]OFD Sender: No OFD packet to send [13:05:14]OFD Sender: No OFD packet to send [13:05:19]OFD Sender: No OFD packet to send [13:05:24]OFD Sender: No OFD packet to send [13:05:29]OFD Sender: No OFD packet to send [13:05:34]OFD Sender: No OFD packet to send [13:05:39]OFD Sender: No OFD packet to send [13:05:44]OFD Sender: No OFD packet to send [13:05:49]OFD Sender: No OFD packet to send [13:05:54]OFD Sender: No OFD packet to send [13:05:59]OFD Sender: No OFD packet to send [13:06:04]OFD Sender: No OFD packet to send [13:06:09]OFD Sender: No OFD packet to send [13:06:14]OFD Sender: No OFD packet to send [13:06:19]OFD Sender: No OFD packet to send [13:06:24]OFD Sender: No OFD packet to send [13:06:29]OFD Sender: No OFD packet to send [13:06:34]OFD Sender: No OFD packet to send [13:06:39]OFD Sender: No OFD packet to send [13:06:44]OFD Sender: No OFD packet to send [13:06:49]OFD Sender: No OFD packet to send [13:06:54]OFD Sender: No OFD packet to send [13:06:59]OFD Sender: No OFD packet to send [13:07:04]OFD Sender: No OFD packet to send [13:07:09]OFD Sender: No OFD packet to send [13:07:14]OFD Sender: No OFD packet to send [13:07:19]OFD Sender: No OFD packet to send [13:07:24]OFD Sender: No OFD packet to send [13:07:29]OFD Sender: No OFD packet to send [13:07:34]OFD Sender: No OFD packet to send [13:07:39]OFD Sender: No OFD packet to send [13:07:44]OFD Sender: No OFD packet to send [13:07:49]OFD Sender: No OFD packet to send [13:07:54]OFD Sender: No OFD packet to send [13:07:59]OFD Sender: No OFD packet to send [13:08:04]OFD Sender: No OFD packet to send [13:08:09]OFD Sender: No OFD packet to send [13:08:14]OFD Sender: No OFD packet to send [13:08:19]OFD Sender: No OFD packet to send [13:08:24]OFD Sender: No OFD packet to send [13:08:29]OFD Sender: No OFD packet to send [13:08:34]OFD Sender: No OFD packet to send [13:08:39]OFD Sender: No OFD packet to send [13:08:44]OFD Sender: No OFD packet to send [13:08:49]OFD Sender: No OFD packet to send [13:08:54]OFD Sender: No OFD packet to send [13:08:59]OFD Sender: No OFD packet to send [13:09:04]OFD Sender: No OFD packet to send [13:09:09]OFD Sender: No OFD packet to send [13:09:14]OFD Sender: No OFD packet to send [13:09:19]OFD Sender: No OFD packet to send [13:09:24]OFD Sender: No OFD packet to send [13:09:29]OFD Sender: No OFD packet to send [13:09:34]OFD Sender: No OFD packet to send [13:09:39]OFD Sender: No OFD packet to send [13:09:44]OFD Sender: No OFD packet to send [13:09:49]OFD Sender: No OFD packet to send [13:09:54]OFD Sender: No OFD packet to send [13:09:59]OFD Sender: No OFD packet to send [13:10:04]OFD Sender: No OFD packet to send [13:10:09]OFD Sender: No OFD packet to send [13:10:14]OFD Sender: No OFD packet to send [13:10:19]OFD Sender: No OFD packet to send [13:10:24]OFD Sender: No OFD packet to send [13:10:29]OFD Sender: No OFD packet to send [13:10:34]OFD Sender: No OFD packet to send [13:10:39]OFD Sender: No OFD packet to send [13:10:44]OFD Sender: No OFD packet to send [13:10:49]OFD Sender: No OFD packet to send [13:10:54]OFD Sender: No OFD packet to send [13:10:59]OFD Sender: No OFD packet to send [13:11:04]OFD Sender: No OFD packet to send [13:11:09]OFD Sender: No OFD packet to send [13:11:14]OFD Sender: No OFD packet to send [13:11:19]OFD Sender: No OFD packet to send [13:11:24]OFD Sender: No OFD packet to send [13:11:29]OFD Sender: No OFD packet to send [13:11:34]OFD Sender: No OFD packet to send [13:11:39]OFD Sender: No OFD packet to send [13:11:44]OFD Sender: No OFD packet to send [13:11:49]OFD Sender: No OFD packet to send [13:11:54]OFD Sender: No OFD packet to send [13:11:59]OFD Sender: No OFD packet to send [13:12:04]OFD Sender: No OFD packet to send [13:12:09]OFD Sender: No OFD packet to send [13:12:14]OFD Sender: No OFD packet to send [13:12:19]OFD Sender: No OFD packet to send [13:12:24]OFD Sender: No OFD packet to send [13:12:29]OFD Sender: No OFD packet to send [13:12:34]OFD Sender: No OFD packet to send [13:12:39]OFD Sender: No OFD packet to send [13:12:44]OFD Sender: No OFD packet to send [13:12:49]OFD Sender: No OFD packet to send [13:12:54]OFD Sender: No OFD packet to send [13:12:59]OFD Sender: No OFD packet to send [13:13:04]OFD Sender: No OFD packet to send [13:13:09]OFD Sender: No OFD packet to send [13:13:14]OFD Sender: No OFD packet to send [13:13:19]OFD Sender: No OFD packet to send [13:13:24]OFD Sender: No OFD packet to send [13:13:29]OFD Sender: No OFD packet to send [13:13:34]OFD Sender: No OFD packet to send [13:13:39]OFD Sender: No OFD packet to send [13:13:44]OFD Sender: No OFD packet to send [13:13:49]OFD Sender: No OFD packet to send [13:13:54]OFD Sender: No OFD packet to send [13:13:59]OFD Sender: No OFD packet to send [13:14:04]OFD Sender: No OFD packet to send [13:14:09]OFD Sender: No OFD packet to send [13:14:14]OFD Sender: No OFD packet to send [13:14:19]OFD Sender: No OFD packet to send [13:14:24]OFD Sender: No OFD packet to send [13:14:29]OFD Sender: No OFD packet to send [13:14:34]OFD Sender: No OFD packet to send [13:14:39]OFD Sender: No OFD packet to send [13:14:44]OFD Sender: No OFD packet to send [13:14:49]OFD Sender: No OFD packet to send [13:14:54]OFD Sender: No OFD packet to send [13:14:59]OFD Sender: No OFD packet to send [13:15:04]OFD Sender: No OFD packet to send [13:15:09]OFD Sender: No OFD packet to send [13:15:14]OFD Sender: No OFD packet to send [13:15:19]OFD Sender: No OFD packet to send [13:15:24]OFD Sender: No OFD packet to send [13:15:29]OFD Sender: No OFD packet to send [13:15:35]OFD Sender: No OFD packet to send [13:15:40]OFD Sender: No OFD packet to send [13:15:45]OFD Sender: No OFD packet to send [13:15:50]OFD Sender: No OFD packet to send [13:15:55]OFD Sender: No OFD packet to send [13:16:00]OFD Sender: No OFD packet to send [13:16:05]OFD Sender: No OFD packet to send [13:16:10]OFD Sender: No OFD packet to send [13:16:15]OFD Sender: No OFD packet to send [13:16:20]OFD Sender: No OFD packet to send [13:16:25]OFD Sender: No OFD packet to send [13:16:30]OFD Sender: No OFD packet to send [13:16:35]OFD Sender: No OFD packet to send [13:16:40]OFD Sender: No OFD packet to send [13:16:45]OFD Sender: No OFD packet to send [13:16:50]OFD Sender: No OFD packet to send [13:16:55]OFD Sender: No OFD packet to send [13:17:00]OFD Sender: No OFD packet to send [13:17:05]OFD Sender: No OFD packet to send [13:17:10]OFD Sender: No OFD packet to send [13:17:15]OFD Sender: No OFD packet to send [13:17:20]OFD Sender: No OFD packet to send [13:17:25]OFD Sender: No OFD packet to send [13:17:30]OFD Sender: No OFD packet to send [13:17:35]OFD Sender: No OFD packet to send [13:17:40]OFD Sender: No OFD packet to send [13:17:45]OFD Sender: No OFD packet to send [13:17:50]OFD Sender: No OFD packet to send [13:17:55]OFD Sender: No OFD packet to send [13:18:00]OFD Sender: No OFD packet to send [13:18:05]OFD Sender: No OFD packet to send [13:18:10]OFD Sender: No OFD packet to send [13:18:15]OFD Sender: No OFD packet to send [13:18:20]OFD Sender: No OFD packet to send [13:18:25]OFD Sender: No OFD packet to send [13:18:30]OFD Sender: No OFD packet to send [13:18:35]OFD Sender: No OFD packet to send [13:18:40]OFD Sender: No OFD packet to send [13:18:45]OFD Sender: No OFD packet to send [13:18:50]OFD Sender: No OFD packet to send [13:18:55]OFD Sender: No OFD packet to send [13:19:00]OFD Sender: No OFD packet to send [13:19:05]OFD Sender: No OFD packet to send [13:19:10]OFD Sender: No OFD packet to send [13:19:15]OFD Sender: No OFD packet to send [13:19:20]OFD Sender: No OFD packet to send [13:19:25]OFD Sender: No OFD packet to send [13:19:30]OFD Sender: No OFD packet to send [13:19:35]OFD Sender: No OFD packet to send [13:19:40]OFD Sender: No OFD packet to send [13:19:45]OFD Sender: No OFD packet to send [13:19:50]OFD Sender: No OFD packet to send [13:19:55]OFD Sender: No OFD packet to send [13:20:00]OFD Sender: No OFD packet to send [13:20:05]OFD Sender: No OFD packet to send [13:20:10]OFD Sender: No OFD packet to send [13:20:15]OFD Sender: No OFD packet to send [13:20:20]OFD Sender: No OFD packet to send [13:20:25]OFD Sender: No OFD packet to send [13:20:30]OFD Sender: No OFD packet to send [13:20:35]OFD Sender: No OFD packet to send [13:20:40]OFD Sender: No OFD packet to send [13:20:41]accept exits with 8 [13:20:41]New connection [13:20:41]New thread 3067395428 created [13:20:41]Thread 3067252068 joined [13:20:41]Waiting for new connection... [13:20:41] Sock 8.Parse request [13:20:41]Sock 8.Check first char [13:20:41]Sock 8.First char is OK [13:20:41]request: POST /json_proto HTTP/1.0 [13:20:41]Method: POST [13:20:41]URL: /json_proto [13:20:41]Method is POST - this is cgi request [13:20:41]url: /json_proto [13:20:41]query_string will be loaded in cgi processing [13:20:41]execute_cgi json_proto POST (null) [13:20:41]execute_cgi path=json_proto method=POST [13:20:41]POST find Content-Length [13:20:41]Host: 172.17.60.7:8080 [13:20:41]Content-Length: 1560 [13:20:41]Content-Type: application/json [13:20:41] [13:20:41]POST finish read [13:20:41]Found Content-Length = 1560 [13:20:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122755", "tax_sys" : 0, "items" : [ { "code": "4870002328398", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 640.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:20:41]execute_script... [13:20: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)122755", "tax_sys" : 0, "items" : [ { "code": "4870002328398", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 640.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:20:41]POST & json_proto [13:20:41]process_json_proto [13:20:41]json parsed OK: [13:20:41]protocol is kg_v1.0 [13:20:41]action value=close_receipt [13:20:41]process_action close_receipt [13:20:41]cmd_close_receipt [13:20:41]MH_GetDate [13:20:41]Write to MH i2c: F0 00 00 50 14 53 [13:20:41]Write i2c OK [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: F0 [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: F0 09 00 [13:20:41]MH_I2C_Read... [13:20:41]Read from MH i2c: F0 09 00 50 14 00 AD BA B8 66 63 9B 67 64 AA [13:20:41]GetLastDocTimeStamp 1723379858 [13:20:41]current date 1723382445 [13:20:41]FM_GetShiftState [13:20:41]SAM_PROTO_GetShiftState [13:20:41]wFMCommunicate request_size=4 [13:20:41]MH_SAM_APDU [13:20:41]CAPDU: 80 13 01 00 [13:20:41]Write to MH i2c: E2 08 00 51 14 80 13 01 00 00 00 00 00 E2 [13:20:41]Write i2c OK [13:20:41]MH_I2C_Read... [13:20:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:20:42]Read from MH i2c: E2 [13:20:42]MH_I2C_Read... [13:20:42]Read from MH i2c: E2 0E 00 [13:20:42]MH_I2C_Read... [13:20:42]Read from MH i2c: E2 0E 00 51 14 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 0B [13:20:42]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [13:20:42]wFMCommunicate OK [13:20:42]SAM_PROTO_GetShiftState done [13:20:42]FM_GetShiftState done [13:20:42]opened in 1723336186 [13:20:42]opened+sec_in_day 1723422586 [13:20:42]quantity*price = 10000 [13:20:42]sum+1 = 10001 [13:20:42]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4780014240406 Сигареты Sovereign Blue 2.000 * 130.00 = 260.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48747066 Сигареты Winston True Silver 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 640.00 НСП 1% : 5.66 НДС 12% : 67.97 Наличными: 0.00 Безнал.: 640.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 35 11.08.2024 13:20 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52624 ФПД: 67200509776496 /tax-web-control/client/api/v1/ticket?date=20240811T132046&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52624&fm=67200509776496&tin=02508201610067®Number=0000000000090834&sum=64000 0 [13:20:43]StoreToDocumentArchive [13:20:43]shift 446 fd 52624 [13:20:43]save to /storage/0446/doc_00052624 [13:20:43]save last doc name /storage/0446/doc_00052624 to /storage/kkm_last_doc_name [13:20:43]save OK [13:20:43]Clear old archive folders... [13:20:43]ProcessDocumentItem done err = 0, tmpTLVsize=600 [13:20:43]tlvbuf is 0106B930 [13:20:43]SAM_PROTO_ClearQueue [13:20:43]wFMCommunicate request_size=4 [13:20:43]MH_SAM_APDU [13:20:43]CAPDU: 80 09 00 00 [13:20:43]Write to MH i2c: E2 08 00 5E 14 80 09 00 00 00 00 00 00 E4 [13:20:43]Write i2c OK [13:20:43]MH_I2C_Read... [13:20:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:20:43]Read from MH i2c: E2 [13:20:43]MH_I2C_Read... [13:20:43]Read from MH i2c: E2 03 00 [13:20:43]MH_I2C_Read... [13:20:43]Read from MH i2c: E2 03 00 5E 14 00 90 00 E6 [13:20:43]RAPDU: 90 00 [13:20:43]wFMCommunicate OK [13:20:43]SAM_PROTO_ClearQueue done [13:20:43]KKMCreateOFDPacket [13:20:43]OFDProtocolAddRootSTLVToBuf [13:20:43]FM_MakeSignedData [13:20:43]FM_MakeSignedData [13:20:43]SAM_PROTO_SignData [13:20:43]wFMCommunicate request_size=4 [13:20:43]MH_SAM_APDU [13:20:43]CAPDU: 80 0D 01 02 [13:20:43]Write to MH i2c: E2 08 00 5F 14 80 0D 01 02 00 00 00 00 EC [13:20:43]Write i2c OK [13:20:43]MH_I2C_Read... [13:20:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:20:43]Read from MH i2c: E2 [13:20:43]MH_I2C_Read... [13:20:43]Read from MH i2c: E2 03 00 [13:20:43]MH_I2C_Read... [13:20:43]Read from MH i2c: E2 03 00 5F 14 00 90 00 E7 [13:20:43]RAPDU: 90 00 [13:20:43]wFMCommunicate OK [13:20:43]wFMCommunicate request_size=255 [13:20:43]MH_SAM_APDU [13:20:43]CAPDU: 80 0D 02 02 FA 03 00 58 02 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 [13:20:43]Write to MH i2c: E2 02 01 60 14 80 0D 02 02 FA 00 03 00 58 02 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 00 00 AB [13:20:43]Write i2c OK [13:20:43]MH_I2C_Read... [13:20:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:20:43]Read from MH i2c: E2 [13:20:43]MH_I2C_Read... [13:20:43]Read from MH i2c: E2 03 00 [13:20:43]MH_I2C_Read... [13:20:43]Read from MH i2c: E2 03 00 60 14 00 90 00 E8 [13:20:43]RAPDU: 90 00 [13:20:43]wFMCommunicate OK [13:20:43]wFMCommunicate request_size=255 [13:20:43]MH_SAM_APDU [13:20:43]CAPDU: 80 0D 02 02 FA 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 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 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8D 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 [13:20:43]Write to MH i2c: E2 02 01 61 14 80 0D 02 02 FA 00 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 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 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8D 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 00 4E [13:20:43]Write i2c OK [13:20:43]MH_I2C_Read... [13:20:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:20:43]Read from MH i2c: E2 [13:20:43]MH_I2C_Read... [13:20:43]Read from MH i2c: E2 03 00 [13:20:43]MH_I2C_Read... [13:20:43]Read from MH i2c: E2 03 00 61 14 00 90 00 E9 [13:20:43]RAPDU: 90 00 [13:20:43]wFMCommunicate OK [13:20:43]wFMCommunicate request_size=109 [13:20:43]MH_SAM_APDU [13:20:43]CAPDU: 80 0D 02 02 68 00 39 04 06 00 00 FA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 AE BA B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 90 CD 00 00 35 04 06 00 3D 1E 56 83 92 70 [13:20:43]Write to MH i2c: E2 70 00 62 14 80 0D 02 02 68 00 00 39 04 06 00 00 FA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 AE BA B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 90 CD 00 00 35 04 06 00 3D 1E 56 83 92 70 00 00 DD [13:20:43]Write i2c OK [13:20:43]MH_I2C_Read... [13:20:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:20:43]Read from MH i2c: E2 [13:20:43]MH_I2C_Read... [13:20:43]Read from MH i2c: E2 03 00 [13:20:43]MH_I2C_Read... [13:20:43]Read from MH i2c: E2 03 00 62 14 00 90 00 EA [13:20:43]RAPDU: 90 00 [13:20:43]wFMCommunicate OK [13:20:43]wFMCommunicate request_size=4 [13:20:43]MH_SAM_APDU [13:20:43]CAPDU: 80 0D 03 02 [13:20:43]Write to MH i2c: E2 08 00 63 14 80 0D 03 02 00 00 00 00 F2 [13:20:43]Write i2c OK [13:20:43]MH_I2C_Read... [13:20:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:20:43]Read from MH i2c: E2 [13:20:43]MH_I2C_Read... [13:20:43]Read from MH i2c: E2 0B 00 [13:20:43]MH_I2C_Read... [13:20:43]Read from MH i2c: E2 0B 00 63 14 00 7D 75 DD 1D 4E 42 40 9C 90 00 4B [13:20:44]RAPDU: 7D 75 DD 1D 4E 42 40 9C 90 00 [13:20:44]wFMCommunicate OK [13:20:44]SAM_PROTO_SignData done [13:20:44]FM_MakeSignedData done [13:20:44]CreateOFDProtocolMessage [13:20:44]wFMCommunicate request_size=4 [13:20:44]MH_SAM_APDU [13:20:44]CAPDU: 80 11 00 00 [13:20:44]Write to MH i2c: E2 08 00 64 14 80 11 00 00 00 00 00 00 F2 [13:20:44]Write i2c OK [13:20:44]MH_I2C_Read... [13:20:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:20:44]Read from MH i2c: E2 [13:20:44]MH_I2C_Read... [13:20:44]Read from MH i2c: E2 17 00 [13:20:44]MH_I2C_Read... [13:20:44]Read from MH i2c: E2 17 00 64 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 45 [13:20:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [13:20:44]wFMCommunicate OK [13:20:44]CreateOFDProtocolMessage done [13:20:44]OFDSenderStorePacket 52624 [13:20:44]StoreOFDPacket docnum=52624 [13:20:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 6C 02 00 00 B1 2F 64 02 4D 63 5A 03 01 00 03 00 58 02 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 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 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8D 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 FA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 AE BA B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 90 CD 00 00 35 04 06 00 3D 1E 56 83 92 70 7D 75 DD 1D 4E 42 40 9C [13:20:44]CheckFolder [13:20:44]dirname=/storage/ofd_packets [13:20:44]CheckFolder done [13:20:44]ProducePacketName [13:20:44]name=ofd_packets/00052624 [13:20:44]NVStorageSaveData ofd_packets/00052624 [13:20:44]File name is /storage/ofd_packets/00052624 [13:20:44]Write 650 bytes [13:20:44]NVStorageSaveData done [13:20:44]OFDSenderStorePacket done [13:20:44]KKMCreateOFDPacket done [13:20:44]NVStorageSaveData kkm_last_timestamp [13:20:44]File name is /storage/kkm_last_timestamp [13:20:44]Write 4 bytes [13:20:44]NVStorageSaveData done [13:20:44]ExternCall_PrintAddStr [13:20:44]wPrintStart [13:20:44]Write to MH i2c: 01 00 00 65 14 79 [13:20:44]Write i2c OK [13:20:44]MH_I2C_Read... [13:20:44]Read from MH i2c: 01 [13:20:44]MH_I2C_Read... [13:20:44]Read from MH i2c: 01 07 00 [13:20:44]MH_I2C_Read... [13:20:44]Read from MH i2c: 01 07 00 65 14 00 00 00 00 00 FF 0F 8E [13:20:44]RasterBufferAndPrint [13:20:44]line Счет N : (3)122755 [13:20:44]line ИНН: 02508201610067 [13:20:44]line Контрольно-Кассовый Чек [13:20:44]line ПРОДАЖА [13:20:44]line Товар: 4870002328398 [13:20:44]line Вода ASU пит н.газ мята ПЭТ 1л [13:20:44]line 1.000 * 100.00 [13:20:44]line = 100.00 [13:20:44]line НДС 12% НСП 1% [13:20:44]line > о реализуемом товаре [13:20:44]line Товар: 4780014240406 [13:20:44]line Сигареты Sovereign Blue [13:20:44]line 2.000 * 130.00 [13:20:44]line = 260.00 [13:20:44]line НДС 12% НСП 1% [13:20:44]line > о реализуемом товаре [13:20:44]line Товар: 48743570 [13:20:44]line Сигареты Winston XStyle Blue [13:20:44]line 1.000 * 140.00 [13:20:44]line = 140.00 [13:20:44]line НДС 12% НСП 1% [13:20:44]line > о реализуемом товаре [13:20:44]line Товар: 48747066 [13:20:44]line Сигареты Winston True Silver [13:20:44]line 1.000 * 140.00 [13:20:44]line = 140.00 [13:20:44]line НДС 12% НСП 1% [13:20:44]line > о реализуемом товаре [13:20:44]line ИТОГО: 640.00 [13:20:44]line НСП 1% : 5.66 [13:20:44]line НДС 12% : 67.97 [13:20:44]line Наличными: 0.00 [13:20:44]line Безнал.: 640.00 [13:20:44]line Место: АЗС № 54 "Партнер Нефть" [13:20:44]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [13:20:44]line СНО: Общий режим [13:20:44]line Чек 35 11.08.2024 13:20 [13:20:44]line Смена: 446 ФФД: 1.0 [13:20:44]line ЗНМ: 0300000007 [13:20:44]line РНМ: 0000000000090834 [13:20:44]line Версия ККМ: 001 [13:20:44]line Платежная система: О! деньги [13:20:44]line ФМ: 0000000000874715 [13:20:44]line ФД: 52624 [13:20:44]line ФПД: 67200509776496 [13:20:44]line /tax-web-control/client/api/v1/ticket?date=20240811T132046&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52624&fm=67200509776496&tin=02508201610067®Number=0000000000090834&sum=64000 [13:20:44]OFD Sender: Processing packet 52624 [packets to send 55, broken 54] [13:20:44]ProducePacketName [13:20:44]name=ofd_packets/00052624 [13:20:44]OFD Sender: To server: pG, [13:20:44]CommunicateWithHost lk.salyk.kg:30040 [13:20:44]ConnectInit lk.salyk.kg [13:20:44]line 0 [13:20:44]written 0, free lines is 4095 [13:20:44]Connected sock=10 [13:20:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 6C 02 00 00 B1 2F 64 02 4D 63 5A 03 01 00 03 00 58 02 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 38 30 30 31 34 32 34 30 34 30 36 06 04 1F 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 53 6F 76 65 72 65 69 67 6E 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 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 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8D 1A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 FA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 AE BA B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 90 CD 00 00 35 04 06 00 3D 1E 56 83 92 70 7D 75 DD 1D 4E 42 40 9C [13:20:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 34 0F 47 00 09 B8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 90 CD 00 00 F4 03 04 00 49 62 B8 66 B6 04 01 00 00 E4 30 AA 2E EE 65 A8 C4 [13:20:44]CommunicateWithHost err = 0 [13:20:44]CheckOFDResponse [13:20:44]1017 (14) - 77093643461234 [13:20:44]1041 (16) - 0000000000874715 [13:20:44]1040 (4) - 52624 [13:20:44]1012 (4) - 11.08.2024 07:03 [13:20:44]1206 (1) - 0 [13:20:44]OFD Sender: Remove packet 52624 [13:20:44]ProducePacketName [13:20:44]name=ofd_packets/00052624 [13:20:44]NVStorageDeleteData [13:20:45]Write to MH i2c: 01 00 00 A1 14 B5 [13:20:45]Write i2c OK [13:20:45]MH_I2C_Read... [13:20:45]Read from MH i2c: 01 [13:20:45]MH_I2C_Read... [13:20:45]Read from MH i2c: 01 07 00 [13:20:45]MH_I2C_Read... [13:20:45]Read from MH i2c: 01 07 00 A1 14 00 00 00 00 00 8F 0B 56 [13:20:45]RasterBufferAndPrint [13:20:45]line [13:20:45]line [13:20:45]line [13:20:45]line [13:20:45]line [13:20:45]written 0, free lines is 2969 [13:20:45]MH_Cut [13:20:45]Write to MH i2c: D1 01 00 A8 14 01 8E [13:20:45]Write i2c OK [13:20:45]MH_I2C_Read... [13:20:45]Read from MH i2c: D1 [13:20:45]MH_I2C_Read... [13:20:45]Read from MH i2c: D1 01 00 [13:20:45]MH_I2C_Read... [13:20:45]Read from MH i2c: D1 01 00 A8 14 00 8D [13:20:45]Write to MH i2c: 01 00 00 A9 14 BD [13:20:45]Write i2c OK [13:20:45]MH_I2C_Read... [13:20:45]OFD Sender: No OFD packet to send [13:20:46]*** Cut start [13:20:46]*** Purtial cut [13:20:46]*** Stage 1: CUTSNS_PIN = 1 [13:20:46]Read from MH i2c: 01 [13:20:46]MH_I2C_Read... [13:20:46]*** Stop cut motor [13:20:46]*** Cut end [13:20:46]Read from MH i2c: 01 07 00 [13:20:46]MH_I2C_Read... [13:20:46]Read from MH i2c: 01 07 00 A9 14 00 00 00 00 00 FF 0F D2 [13:20:46]process_action close_receipt done [13:20:46]requested_data is exist [13:20:46]produce_requested_data [13:20:46]requested_item fm.sn is exist - process it [13:20:46]wFMCommunicate request_size=4 [13:20:46]MH_SAM_APDU [13:20:46]CAPDU: 80 11 00 00 [13:20:46]Write to MH i2c: E2 08 00 AA 14 80 11 00 00 00 00 00 00 38 [13:20:46]Write i2c OK [13:20:46]MH_I2C_Read... [13:20:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:20:46]Read from MH i2c: E2 [13:20:46]MH_I2C_Read... [13:20:46]Read from MH i2c: E2 17 00 [13:20:46]MH_I2C_Read... [13:20:46]Read from MH i2c: E2 17 00 AA 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 8B [13:20:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [13:20:46]wFMCommunicate OK [13:20:46]requested_item fd.num is exist - process it [13:20:46]SAM_PROTO_GetFieldsCounters [13:20:46]wFMCommunicate request_size=4 [13:20:46]MH_SAM_APDU [13:20:46]CAPDU: 80 13 00 00 [13:20:46]Write to MH i2c: E2 08 00 AB 14 80 13 00 00 00 00 00 00 3B [13:20:46]Write i2c OK [13:20:46]MH_I2C_Read... [13:20:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:20:46]Read from MH i2c: E2 [13:20:46]MH_I2C_Read... [13:20:46]Read from MH i2c: E2 62 00 [13:20:46]MH_I2C_Read... [13:20:46]Read from MH i2c: E2 62 00 AB 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 90 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 E0 [13:20: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 90 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:20:46]wFMCommunicate OK [13:20:46]SAM_PROTO_GetFieldsCounters done [13:20:46]requested_item shift.num is exist - process it [13:20:46]requested_item shift.opened is exist - process it [13:20:46]req_shift_opened [13:20:46]FM_GetShiftState [13:20:46]SAM_PROTO_GetShiftState [13:20:46]wFMCommunicate request_size=4 [13:20:46]MH_SAM_APDU [13:20:46]CAPDU: 80 13 01 00 [13:20:46]Write to MH i2c: E2 08 00 AC 14 80 13 01 00 00 00 00 00 3D [13:20:46]Write i2c OK [13:20:46]MH_I2C_Read... [13:20:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:20:46]Read from MH i2c: E2 [13:20:46]MH_I2C_Read... [13:20:46]Read from MH i2c: E2 0E 00 [13:20:46]MH_I2C_Read... [13:20:46]Read from MH i2c: E2 0E 00 AC 14 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 66 [13:20:46]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [13:20:46]wFMCommunicate OK [13:20:46]SAM_PROTO_GetShiftState done [13:20:46]FM_GetShiftState done [13:20:46]req_shift_opened done [13:20:46]requested_item shift.open_date is exist - process it [13:20:46]req_shift_open_date [13:20:46]req_shift_open_date done [13:20:46]produce_requested_data done [13:20:46]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52624,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [13:20:46]process_action_free close_receipt [13:20:46]json_value_free [13:20:46]json_value_free done [13:20:46]process_json_proto returns [13:20:46]Send response to host [13:20:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52624,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [13:20:46]free response buf [13:20:46]execute_script done [13:20:46]execute_script returns [13:20:46]free content buf [13:20:46]Sock 8.Close socket [13:20:46]Sock 8.Thread stoped [13:20:50]OFD Sender: No OFD packet to send [13:20:55]OFD Sender: No OFD packet to send [13:21:00]OFD Sender: No OFD packet to send [13:21:05]OFD Sender: No OFD packet to send [13:21:10]OFD Sender: No OFD packet to send [13:21:15]OFD Sender: No OFD packet to send [13:21:20]OFD Sender: No OFD packet to send [13:21:25]OFD Sender: No OFD packet to send [13:21:30]OFD Sender: No OFD packet to send [13:21:35]OFD Sender: No OFD packet to send [13:21:40]OFD Sender: No OFD packet to send [13:21:45]OFD Sender: No OFD packet to send [13:21:50]OFD Sender: No OFD packet to send [13:21:55]OFD Sender: No OFD packet to send [13:22:00]OFD Sender: No OFD packet to send [13:22:05]OFD Sender: No OFD packet to send [13:22:10]OFD Sender: No OFD packet to send [13:22:15]OFD Sender: No OFD packet to send [13:22:20]OFD Sender: No OFD packet to send [13:22:25]OFD Sender: No OFD packet to send [13:22:30]OFD Sender: No OFD packet to send [13:22:35]OFD Sender: No OFD packet to send [13:22:40]OFD Sender: No OFD packet to send [13:22:45]OFD Sender: No OFD packet to send [13:22:50]OFD Sender: No OFD packet to send [13:22:55]OFD Sender: No OFD packet to send [13:23:00]OFD Sender: No OFD packet to send [13:23:05]OFD Sender: No OFD packet to send [13:23:10]OFD Sender: No OFD packet to send [13:23:15]OFD Sender: No OFD packet to send [13:23:20]OFD Sender: No OFD packet to send [13:23:25]OFD Sender: No OFD packet to send [13:23:30]OFD Sender: No OFD packet to send [13:23:35]OFD Sender: No OFD packet to send [13:23:40]OFD Sender: No OFD packet to send [13:23:45]OFD Sender: No OFD packet to send [13:23:50]OFD Sender: No OFD packet to send [13:23:55]OFD Sender: No OFD packet to send [13:24:00]OFD Sender: No OFD packet to send [13:24:05]OFD Sender: No OFD packet to send [13:24:10]OFD Sender: No OFD packet to send [13:24:15]OFD Sender: No OFD packet to send [13:24:20]OFD Sender: No OFD packet to send [13:24:25]OFD Sender: No OFD packet to send [13:24:30]OFD Sender: No OFD packet to send [13:24:35]OFD Sender: No OFD packet to send [13:24:40]OFD Sender: No OFD packet to send [13:24:45]OFD Sender: No OFD packet to send [13:24:50]OFD Sender: No OFD packet to send [13:24:55]OFD Sender: No OFD packet to send [13:25:00]OFD Sender: No OFD packet to send [13:25:05]OFD Sender: No OFD packet to send [13:25:10]OFD Sender: No OFD packet to send [13:25:15]OFD Sender: No OFD packet to send [13:25:20]OFD Sender: No OFD packet to send [13:25:25]OFD Sender: No OFD packet to send [13:25:30]OFD Sender: No OFD packet to send [13:25:35]OFD Sender: No OFD packet to send [13:25:40]OFD Sender: No OFD packet to send [13:25:45]OFD Sender: No OFD packet to send [13:25:50]OFD Sender: No OFD packet to send [13:25:55]OFD Sender: No OFD packet to send [13:26:00]OFD Sender: No OFD packet to send [13:26:05]OFD Sender: No OFD packet to send [13:26:10]OFD Sender: No OFD packet to send [13:26:15]OFD Sender: No OFD packet to send [13:26:20]OFD Sender: No OFD packet to send [13:26:25]OFD Sender: No OFD packet to send [13:26:30]OFD Sender: No OFD packet to send [13:26:35]OFD Sender: No OFD packet to send [13:26:40]OFD Sender: No OFD packet to send [13:26:45]OFD Sender: No OFD packet to send [13:26:50]OFD Sender: No OFD packet to send [13:26:55]OFD Sender: No OFD packet to send [13:27:00]OFD Sender: No OFD packet to send [13:27:05]OFD Sender: No OFD packet to send [13:27:10]OFD Sender: No OFD packet to send [13:27:15]OFD Sender: No OFD packet to send [13:27:20]OFD Sender: No OFD packet to send [13:27:25]OFD Sender: No OFD packet to send [13:27:30]OFD Sender: No OFD packet to send [13:27:35]OFD Sender: No OFD packet to send [13:27:40]OFD Sender: No OFD packet to send [13:27:45]OFD Sender: No OFD packet to send [13:27:50]OFD Sender: No OFD packet to send [13:27:55]OFD Sender: No OFD packet to send [13:28:00]OFD Sender: No OFD packet to send [13:28:05]OFD Sender: No OFD packet to send [13:28:10]OFD Sender: No OFD packet to send [13:28:15]OFD Sender: No OFD packet to send [13:28:20]OFD Sender: No OFD packet to send [13:28:25]OFD Sender: No OFD packet to send [13:28:30]OFD Sender: No OFD packet to send [13:28:35]OFD Sender: No OFD packet to send [13:28:40]OFD Sender: No OFD packet to send [13:28:45]OFD Sender: No OFD packet to send [13:28:50]OFD Sender: No OFD packet to send [13:28:55]OFD Sender: No OFD packet to send [13:29:00]OFD Sender: No OFD packet to send [13:29:05]OFD Sender: No OFD packet to send [13:29:10]OFD Sender: No OFD packet to send [13:29:15]OFD Sender: No OFD packet to send [13:29:20]OFD Sender: No OFD packet to send [13:29:25]OFD Sender: No OFD packet to send [13:29:30]OFD Sender: No OFD packet to send [13:29:35]OFD Sender: No OFD packet to send [13:29:40]OFD Sender: No OFD packet to send [13:29:45]OFD Sender: No OFD packet to send [13:29:50]OFD Sender: No OFD packet to send [13:29:55]OFD Sender: No OFD packet to send [13:30:00]OFD Sender: No OFD packet to send [13:30:05]OFD Sender: No OFD packet to send [13:30:10]OFD Sender: No OFD packet to send [13:30:15]OFD Sender: No OFD packet to send [13:30:20]OFD Sender: No OFD packet to send [13:30:25]OFD Sender: No OFD packet to send [13:30:30]OFD Sender: No OFD packet to send [13:30:35]OFD Sender: No OFD packet to send [13:30:40]OFD Sender: No OFD packet to send [13:30:45]OFD Sender: No OFD packet to send [13:30:50]OFD Sender: No OFD packet to send [13:30:55]OFD Sender: No OFD packet to send [13:31:00]OFD Sender: No OFD packet to send [13:31:05]OFD Sender: No OFD packet to send [13:31:10]OFD Sender: No OFD packet to send [13:31:15]OFD Sender: No OFD packet to send [13:31:20]OFD Sender: No OFD packet to send [13:31:25]OFD Sender: No OFD packet to send [13:31:30]OFD Sender: No OFD packet to send [13:31:36]OFD Sender: No OFD packet to send [13:31:41]OFD Sender: No OFD packet to send [13:31:46]OFD Sender: No OFD packet to send [13:31:51]OFD Sender: No OFD packet to send [13:31:56]OFD Sender: No OFD packet to send [13:32:01]OFD Sender: No OFD packet to send [13:32:06]OFD Sender: No OFD packet to send [13:32:11]OFD Sender: No OFD packet to send [13:32:16]OFD Sender: No OFD packet to send [13:32:21]OFD Sender: No OFD packet to send [13:32:26]OFD Sender: No OFD packet to send [13:32:31]OFD Sender: No OFD packet to send [13:32:36]OFD Sender: No OFD packet to send [13:32:41]OFD Sender: No OFD packet to send [13:32:46]OFD Sender: No OFD packet to send [13:32:51]OFD Sender: No OFD packet to send [13:32:56]OFD Sender: No OFD packet to send [13:33:01]OFD Sender: No OFD packet to send [13:33:06]OFD Sender: No OFD packet to send [13:33:11]OFD Sender: No OFD packet to send [13:33:16]OFD Sender: No OFD packet to send [13:33:21]OFD Sender: No OFD packet to send [13:33:26]OFD Sender: No OFD packet to send [13:33:31]OFD Sender: No OFD packet to send [13:33:36]OFD Sender: No OFD packet to send [13:33:41]OFD Sender: No OFD packet to send [13:33:46]OFD Sender: No OFD packet to send [13:33:51]OFD Sender: No OFD packet to send [13:33:56]OFD Sender: No OFD packet to send [13:34:01]OFD Sender: No OFD packet to send [13:34:06]OFD Sender: No OFD packet to send [13:34:11]OFD Sender: No OFD packet to send [13:34:16]OFD Sender: No OFD packet to send [13:34:21]OFD Sender: No OFD packet to send [13:34:26]OFD Sender: No OFD packet to send [13:34:31]OFD Sender: No OFD packet to send [13:34:36]OFD Sender: No OFD packet to send [13:34:41]OFD Sender: No OFD packet to send [13:34:46]OFD Sender: No OFD packet to send [13:34:51]OFD Sender: No OFD packet to send [13:34:56]OFD Sender: No OFD packet to send [13:35:01]OFD Sender: No OFD packet to send [13:35:06]OFD Sender: No OFD packet to send [13:35:11]OFD Sender: No OFD packet to send [13:35:16]OFD Sender: No OFD packet to send [13:35:21]OFD Sender: No OFD packet to send [13:35:26]OFD Sender: No OFD packet to send [13:35:31]OFD Sender: No OFD packet to send [13:35:36]OFD Sender: No OFD packet to send [13:35:41]OFD Sender: No OFD packet to send [13:35:46]OFD Sender: No OFD packet to send [13:35:51]OFD Sender: No OFD packet to send [13:35:56]OFD Sender: No OFD packet to send [13:36:01]OFD Sender: No OFD packet to send [13:36:06]OFD Sender: No OFD packet to send [13:36:11]OFD Sender: No OFD packet to send [13:36:16]OFD Sender: No OFD packet to send [13:36:21]OFD Sender: No OFD packet to send [13:36:26]OFD Sender: No OFD packet to send [13:36:31]OFD Sender: No OFD packet to send [13:36:36]OFD Sender: No OFD packet to send [13:36:41]OFD Sender: No OFD packet to send [13:36:46]OFD Sender: No OFD packet to send [13:36:51]OFD Sender: No OFD packet to send [13:36:56]OFD Sender: No OFD packet to send [13:37:01]OFD Sender: No OFD packet to send [13:37:06]OFD Sender: No OFD packet to send [13:37:11]OFD Sender: No OFD packet to send [13:37:16]OFD Sender: No OFD packet to send [13:37:21]OFD Sender: No OFD packet to send [13:37:26]OFD Sender: No OFD packet to send [13:37:31]OFD Sender: No OFD packet to send [13:37:36]OFD Sender: No OFD packet to send [13:37:41]OFD Sender: No OFD packet to send [13:37:46]OFD Sender: No OFD packet to send [13:37:51]OFD Sender: No OFD packet to send [13:37:56]OFD Sender: No OFD packet to send [13:38:01]OFD Sender: No OFD packet to send [13:38:06]OFD Sender: No OFD packet to send [13:38:11]OFD Sender: No OFD packet to send [13:38:16]OFD Sender: No OFD packet to send [13:38:21]OFD Sender: No OFD packet to send [13:38:26]OFD Sender: No OFD packet to send [13:38:31]OFD Sender: No OFD packet to send [13:38:36]OFD Sender: No OFD packet to send [13:38:41]OFD Sender: No OFD packet to send [13:38:46]OFD Sender: No OFD packet to send [13:38:51]OFD Sender: No OFD packet to send [13:38:56]OFD Sender: No OFD packet to send [13:39:01]OFD Sender: No OFD packet to send [13:39:06]OFD Sender: No OFD packet to send [13:39:11]OFD Sender: No OFD packet to send [13:39:16]OFD Sender: No OFD packet to send [13:39:21]OFD Sender: No OFD packet to send [13:39:26]OFD Sender: No OFD packet to send [13:39:31]OFD Sender: No OFD packet to send [13:39:36]OFD Sender: No OFD packet to send [13:39:41]OFD Sender: No OFD packet to send [13:39:46]OFD Sender: No OFD packet to send [13:39:51]OFD Sender: No OFD packet to send [13:39:56]OFD Sender: No OFD packet to send [13:40:01]OFD Sender: No OFD packet to send [13:40:06]OFD Sender: No OFD packet to send [13:40:11]OFD Sender: No OFD packet to send [13:40:16]OFD Sender: No OFD packet to send [13:40:21]OFD Sender: No OFD packet to send [13:40:26]OFD Sender: No OFD packet to send [13:40:31]OFD Sender: No OFD packet to send [13:40:36]OFD Sender: No OFD packet to send [13:40:41]OFD Sender: No OFD packet to send [13:40:46]OFD Sender: No OFD packet to send [13:40:51]OFD Sender: No OFD packet to send [13:40:56]OFD Sender: No OFD packet to send [13:41:01]OFD Sender: No OFD packet to send [13:41:06]OFD Sender: No OFD packet to send [13:41:11]OFD Sender: No OFD packet to send [13:41:16]OFD Sender: No OFD packet to send [13:41:21]OFD Sender: No OFD packet to send [13:41:26]OFD Sender: No OFD packet to send [13:41:31]OFD Sender: No OFD packet to send [13:41:36]OFD Sender: No OFD packet to send [13:41:41]OFD Sender: No OFD packet to send [13:41:46]OFD Sender: No OFD packet to send [13:41:51]OFD Sender: No OFD packet to send [13:41:56]OFD Sender: No OFD packet to send [13:42:01]OFD Sender: No OFD packet to send [13:42:06]OFD Sender: No OFD packet to send [13:42:11]OFD Sender: No OFD packet to send [13:42:16]OFD Sender: No OFD packet to send [13:42:21]OFD Sender: No OFD packet to send [13:42:26]OFD Sender: No OFD packet to send [13:42:31]OFD Sender: No OFD packet to send [13:42:36]OFD Sender: No OFD packet to send [13:42:41]OFD Sender: No OFD packet to send [13:42:46]OFD Sender: No OFD packet to send [13:42:51]OFD Sender: No OFD packet to send [13:42:56]OFD Sender: No OFD packet to send [13:43:01]OFD Sender: No OFD packet to send [13:43:06]OFD Sender: No OFD packet to send [13:43:11]OFD Sender: No OFD packet to send [13:43:16]OFD Sender: No OFD packet to send [13:43:21]OFD Sender: No OFD packet to send [13:43:26]OFD Sender: No OFD packet to send [13:43:31]OFD Sender: No OFD packet to send [13:43:36]OFD Sender: No OFD packet to send [13:43:41]OFD Sender: No OFD packet to send [13:43:46]OFD Sender: No OFD packet to send [13:43:51]OFD Sender: No OFD packet to send [13:43:56]OFD Sender: No OFD packet to send [13:44:01]OFD Sender: No OFD packet to send [13:44:06]OFD Sender: No OFD packet to send [13:44:11]OFD Sender: No OFD packet to send [13:44:16]OFD Sender: No OFD packet to send [13:44:21]OFD Sender: No OFD packet to send [13:44:26]OFD Sender: No OFD packet to send [13:44:31]OFD Sender: No OFD packet to send [13:44:36]OFD Sender: No OFD packet to send [13:44:41]OFD Sender: No OFD packet to send [13:44:46]OFD Sender: No OFD packet to send [13:44:51]OFD Sender: No OFD packet to send [13:44:56]OFD Sender: No OFD packet to send [13:45:01]OFD Sender: No OFD packet to send [13:45:06]OFD Sender: No OFD packet to send [13:45:11]OFD Sender: No OFD packet to send [13:45:16]OFD Sender: No OFD packet to send [13:45:21]OFD Sender: No OFD packet to send [13:45:26]OFD Sender: No OFD packet to send [13:45:31]OFD Sender: No OFD packet to send [13:45:36]OFD Sender: No OFD packet to send [13:45:41]OFD Sender: No OFD packet to send [13:45:46]OFD Sender: No OFD packet to send [13:45:51]OFD Sender: No OFD packet to send [13:45:56]OFD Sender: No OFD packet to send [13:46:01]OFD Sender: No OFD packet to send [13:46:06]OFD Sender: No OFD packet to send [13:46:11]OFD Sender: No OFD packet to send [13:46:16]OFD Sender: No OFD packet to send [13:46:21]OFD Sender: No OFD packet to send [13:46:26]OFD Sender: No OFD packet to send [13:46:31]OFD Sender: No OFD packet to send [13:46:36]OFD Sender: No OFD packet to send [13:46:41]OFD Sender: No OFD packet to send [13:46:46]OFD Sender: No OFD packet to send [13:46:51]OFD Sender: No OFD packet to send [13:46:56]OFD Sender: No OFD packet to send [13:47:01]OFD Sender: No OFD packet to send [13:47:06]OFD Sender: No OFD packet to send [13:47:11]OFD Sender: No OFD packet to send [13:47:12]accept exits with 9 [13:47:12]New connection [13:47:12]New thread 3067252068 created [13:47:12]Thread 3067395428 joined [13:47:12]Waiting for new connection... [13:47:12] Sock 9.Parse request [13:47:12]Sock 9.Check first char [13:47:12]Sock 9.First char is OK [13:47:12]request: POST /json_proto HTTP/1.0 [13:47:12]Method: POST [13:47:12]URL: /json_proto [13:47:12]Method is POST - this is cgi request [13:47:12]url: /json_proto [13:47:12]query_string will be loaded in cgi processing [13:47:12]execute_cgi json_proto POST (null) [13:47:12]execute_cgi path=json_proto method=POST [13:47:12]POST find Content-Length [13:47:12]Host: 172.17.60.7:8080 [13:47:12]Content-Length: 1172 [13:47:12]Content-Type: application/json [13:47:12] [13:47:12]POST finish read [13:47:12]Found Content-Length = 1172 [13:47:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122756", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 187.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:47:12]execute_script... [13:47: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)122756", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 187.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:47:12]POST & json_proto [13:47:12]process_json_proto [13:47:12]json parsed OK: [13:47:12]protocol is kg_v1.0 [13:47:12]action value=close_receipt [13:47:12]process_action close_receipt [13:47:12]cmd_close_receipt [13:47:12]MH_GetDate [13:47:12]Write to MH i2c: F0 00 00 AD 14 B0 [13:47:12]Write i2c OK [13:47:12]MH_I2C_Read... [13:47:12]Read from MH i2c: F0 [13:47:12]MH_I2C_Read... [13:47:12]Read from MH i2c: F0 09 00 [13:47:12]MH_I2C_Read... [13:47:12]Read from MH i2c: F0 09 00 AD 14 00 E5 C0 B8 66 63 9B 67 64 45 [13:47:12]GetLastDocTimeStamp 1723382446 [13:47:12]current date 1723384037 [13:47:12]FM_GetShiftState [13:47:12]SAM_PROTO_GetShiftState [13:47:12]wFMCommunicate request_size=4 [13:47:12]MH_SAM_APDU [13:47:12]CAPDU: 80 13 01 00 [13:47:12]Write to MH i2c: E2 08 00 AE 14 80 13 01 00 00 00 00 00 3F [13:47:12]Write i2c OK [13:47:12]MH_I2C_Read... [13:47:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:47:12]Read from MH i2c: E2 [13:47:12]MH_I2C_Read... [13:47:12]Read from MH i2c: E2 0E 00 [13:47:12]MH_I2C_Read... [13:47:12]Read from MH i2c: E2 0E 00 AE 14 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 68 [13:47:12]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [13:47:12]wFMCommunicate OK [13:47:12]SAM_PROTO_GetShiftState done [13:47:12]FM_GetShiftState done [13:47:12]opened in 1723336186 [13:47:12]opened+sec_in_day 1723422586 [13:47:12]quantity*price = 6700 [13:47:12]sum+1 = 6701 [13:47:12]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000027474 Напиток FuzeTea зел чай манго,ромашка 1л 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 187.00 НСП 1% : 1.65 НДС 12% : 19.85 Наличными: 0.00 Безнал.: 187.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 36 11.08.2024 13:47 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52625 ФПД: 88590970401921 /tax-web-control/client/api/v1/ticket?date=20240811T134717&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52625&fm=88590970401921&tin=02508201610067®Number=0000000000090834&sum=18700 0 [13:47:13]StoreToDocumentArchive [13:47:13]shift 446 fd 52625 [13:47:13]save to /storage/0446/doc_00052625 [13:47:13]save last doc name /storage/0446/doc_00052625 to /storage/kkm_last_doc_name [13:47:13]save OK [13:47:13]Clear old archive folders... [13:47:13]ProcessDocumentItem done err = 0, tmpTLVsize=422 [13:47:13]tlvbuf is 0108FDC0 [13:47:13]SAM_PROTO_ClearQueue [13:47:13]wFMCommunicate request_size=4 [13:47:13]MH_SAM_APDU [13:47:13]CAPDU: 80 09 00 00 [13:47:13]Write to MH i2c: E2 08 00 BB 14 80 09 00 00 00 00 00 00 41 [13:47:13]Write i2c OK [13:47:13]MH_I2C_Read... [13:47:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:47:13]Read from MH i2c: E2 [13:47:13]MH_I2C_Read... [13:47:13]Read from MH i2c: E2 03 00 [13:47:13]MH_I2C_Read... [13:47:13]Read from MH i2c: E2 03 00 BB 14 00 90 00 43 [13:47:13]RAPDU: 90 00 [13:47:13]wFMCommunicate OK [13:47:13]SAM_PROTO_ClearQueue done [13:47:13]KKMCreateOFDPacket [13:47:13]OFDProtocolAddRootSTLVToBuf [13:47:13]FM_MakeSignedData [13:47:13]FM_MakeSignedData [13:47:13]SAM_PROTO_SignData [13:47:13]wFMCommunicate request_size=4 [13:47:13]MH_SAM_APDU [13:47:13]CAPDU: 80 0D 01 02 [13:47:13]Write to MH i2c: E2 08 00 BC 14 80 0D 01 02 00 00 00 00 49 [13:47:13]Write i2c OK [13:47:13]MH_I2C_Read... [13:47:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:47:13]Read from MH i2c: E2 [13:47:13]MH_I2C_Read... [13:47:13]Read from MH i2c: E2 03 00 [13:47:13]MH_I2C_Read... [13:47:13]Read from MH i2c: E2 03 00 BC 14 00 90 00 44 [13:47:13]RAPDU: 90 00 [13:47:13]wFMCommunicate OK [13:47:13]wFMCommunicate request_size=255 [13:47:13]MH_SAM_APDU [13:47:13]CAPDU: 80 0D 02 02 FA 03 00 A6 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 [13:47:13]Write to MH i2c: E2 02 01 BD 14 80 0D 02 02 FA 00 03 00 A6 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 F3 [13:47:14]Write i2c OK [13:47:14]MH_I2C_Read... [13:47:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:47:14]Read from MH i2c: E2 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 03 00 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 03 00 BD 14 00 90 00 45 [13:47:14]RAPDU: 90 00 [13:47:14]wFMCommunicate OK [13:47:14]wFMCommunicate request_size=181 [13:47:14]MH_SAM_APDU [13:47:14]CAPDU: 80 0D 02 02 B0 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 49 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 E5 C0 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 91 CD 00 00 35 04 06 00 50 92 B1 52 34 81 [13:47:14]Write to MH i2c: E2 B8 00 BE 14 80 0D 02 02 B0 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 49 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 E5 C0 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 91 CD 00 00 35 04 06 00 50 92 B1 52 34 81 00 00 60 [13:47:14]Write i2c OK [13:47:14]MH_I2C_Read... [13:47:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:47:14]Read from MH i2c: E2 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 03 00 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 03 00 BE 14 00 90 00 46 [13:47:14]RAPDU: 90 00 [13:47:14]wFMCommunicate OK [13:47:14]wFMCommunicate request_size=4 [13:47:14]MH_SAM_APDU [13:47:14]CAPDU: 80 0D 03 02 [13:47:14]Write to MH i2c: E2 08 00 BF 14 80 0D 03 02 00 00 00 00 4E [13:47:14]Write i2c OK [13:47:14]MH_I2C_Read... [13:47:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:47:14]Read from MH i2c: E2 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 0B 00 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 0B 00 BF 14 00 3A 61 B7 C2 96 CC AA 17 90 00 86 [13:47:14]RAPDU: 3A 61 B7 C2 96 CC AA 17 90 00 [13:47:14]wFMCommunicate OK [13:47:14]SAM_PROTO_SignData done [13:47:14]FM_MakeSignedData done [13:47:14]CreateOFDProtocolMessage [13:47:14]wFMCommunicate request_size=4 [13:47:14]MH_SAM_APDU [13:47:14]CAPDU: 80 11 00 00 [13:47:14]Write to MH i2c: E2 08 00 C0 14 80 11 00 00 00 00 00 00 4E [13:47:14]Write i2c OK [13:47:14]MH_I2C_Read... [13:47:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:47:14]Read from MH i2c: E2 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 17 00 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: E2 17 00 C0 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 A1 [13:47:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [13:47:14]wFMCommunicate OK [13:47:14]CreateOFDProtocolMessage done [13:47:14]OFDSenderStorePacket 52625 [13:47:14]StoreOFDPacket docnum=52625 [13:47:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 BA 01 00 00 F1 62 B2 01 12 D3 5A 03 01 00 03 00 A6 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 FC 03 06 00 0C 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 49 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 E5 C0 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 91 CD 00 00 35 04 06 00 50 92 B1 52 34 81 3A 61 B7 C2 96 CC AA 17 [13:47:14]CheckFolder [13:47:14]dirname=/storage/ofd_packets [13:47:14]CheckFolder done [13:47:14]ProducePacketName [13:47:14]name=ofd_packets/00052625 [13:47:14]NVStorageSaveData ofd_packets/00052625 [13:47:14]File name is /storage/ofd_packets/00052625 [13:47:14]Write 472 bytes [13:47:14]NVStorageSaveData done [13:47:14]OFDSenderStorePacket done [13:47:14]KKMCreateOFDPacket done [13:47:14]NVStorageSaveData kkm_last_timestamp [13:47:14]File name is /storage/kkm_last_timestamp [13:47:14]Write 4 bytes [13:47:14]NVStorageSaveData done [13:47:14]ExternCall_PrintAddStr [13:47:14]wPrintStart [13:47:14]Write to MH i2c: 01 00 00 C1 14 D5 [13:47:14]Write i2c OK [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: 01 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: 01 07 00 [13:47:14]MH_I2C_Read... [13:47:14]Read from MH i2c: 01 07 00 C1 14 00 00 00 00 00 FF 0F EA [13:47:14]RasterBufferAndPrint [13:47:14]line Счет N : (3)122756 [13:47:14]line ИНН: 02508201610067 [13:47:14]line Контрольно-Кассовый Чек [13:47:14]line ПРОДАЖА [13:47:14]line Товар: 6931280300549 [13:47:14]line Зажигалка Cricket ПН пьезо [13:47:14]line 1.000 * 67.00 [13:47:14]line = 67.00 [13:47:14]line НДС 12% НСП 1% [13:47:14]line > о реализуемом товаре [13:47:14]line Товар: 5449000027474 [13:47:14]line Напиток FuzeTea зел чай манго,ромашка 1л [13:47:14]line 1.000 * 120.00 [13:47:14]line = 120.00 [13:47:14]line НДС 12% НСП 1% [13:47:14]line > о реализуемом товаре [13:47:14]line ИТОГО: 187.00 [13:47:14]line НСП 1% : 1.65 [13:47:14]line НДС 12% : 19.85 [13:47:14]line Наличными: 0.00 [13:47:14]line Безнал.: 187.00 [13:47:14]line Место: АЗС № 54 "Партнер Нефть" [13:47:14]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [13:47:14]line СНО: Общий режим [13:47:14]line Чек 36 11.08.2024 13:47 [13:47:14]line Смена: 446 ФФД: 1.0 [13:47:14]line ЗНМ: 0300000007 [13:47:14]line РНМ: 0000000000090834 [13:47:14]line Версия ККМ: 001 [13:47:14]line Платежная система: О! деньги [13:47:14]line ФМ: 0000000000874715 [13:47:14]line ФД: 52625 [13:47:14]line ФПД: 88590970401921 [13:47:14]line /tax-web-control/client/api/v1/ticket?date=20240811T134717&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52625&fm=88590970401921&tin=02508201610067®Number=0000000000090834&sum=18700 [13:47:14]line 0 [13:47:14]written 0, free lines is 4095 [13:47:14]OFD Sender: Processing packet 52625 [packets to send 55, broken 54] [13:47:14]ProducePacketName [13:47:14]name=ofd_packets/00052625 [13:47:14]OFD Sender: To server: pG, [13:47:14]CommunicateWithHost lk.salyk.kg:30040 [13:47:14]ConnectInit lk.salyk.kg [13:47:15]Connected sock=10 [13:47:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 BA 01 00 00 F1 62 B2 01 12 D3 5A 03 01 00 03 00 A6 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 FC 03 06 00 0C 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 49 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 E5 C0 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 91 CD 00 00 35 04 06 00 50 92 B1 52 34 81 3A 61 B7 C2 96 CC AA 17 [13:47:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 0D 7E 47 00 E0 36 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 91 CD 00 00 F4 03 04 00 80 68 B8 66 B6 04 01 00 00 49 22 9F F2 B5 7D E0 FA [13:47:15]CommunicateWithHost err = 0 [13:47:15]CheckOFDResponse [13:47:15]1017 (14) - 77093643461234 [13:47:15]1041 (16) - 0000000000874715 [13:47:15]1040 (4) - 52625 [13:47:15]1012 (4) - 11.08.2024 07:30 [13:47:15]1206 (1) - 0 [13:47:15]OFD Sender: Remove packet 52625 [13:47:15]ProducePacketName [13:47:15]name=ofd_packets/00052625 [13:47:15]NVStorageDeleteData [13:47:15]Write to MH i2c: 01 00 00 F1 14 05 [13:47:15]Write i2c OK [13:47:15]MH_I2C_Read... [13:47:15]Read from MH i2c: 01 [13:47:15]MH_I2C_Read... [13:47:15]Read from MH i2c: 01 07 00 [13:47:15]MH_I2C_Read... [13:47:15]Read from MH i2c: 01 07 00 F1 14 00 00 00 00 00 55 0C 6D [13:47:15]RasterBufferAndPrint [13:47:15]line [13:47:15]line [13:47:15]line [13:47:15]line [13:47:15]line [13:47:15]written 0, free lines is 3165 [13:47:15]MH_Cut [13:47:15]Write to MH i2c: D1 01 00 F8 14 01 DE [13:47:15]Write i2c OK [13:47:15]MH_I2C_Read... [13:47:15]Read from MH i2c: D1 [13:47:15]MH_I2C_Read... [13:47:15]Read from MH i2c: D1 01 00 [13:47:15]MH_I2C_Read... [13:47:15]Read from MH i2c: D1 01 00 F8 14 00 DD [13:47:15]Write to MH i2c: 01 00 00 F9 14 0D [13:47:15]Write i2c OK [13:47:15]MH_I2C_Read... [13:47:15]OFD Sender: No OFD packet to send [13:47:16]*** Cut start [13:47:16]*** Purtial cut [13:47:16]*** Stage 1: CUTSNS_PIN = 1 [13:47:16]Read from MH i2c: 01 [13:47:16]MH_I2C_Read... [13:47:16]*** Stop cut motor [13:47:16]*** Cut end [13:47:16]Read from MH i2c: 01 07 00 [13:47:16]MH_I2C_Read... [13:47:16]Read from MH i2c: 01 07 00 F9 14 00 00 00 00 00 FF 0F 22 [13:47:16]process_action close_receipt done [13:47:16]requested_data is exist [13:47:16]produce_requested_data [13:47:16]requested_item fm.sn is exist - process it [13:47:16]wFMCommunicate request_size=4 [13:47:16]MH_SAM_APDU [13:47:16]CAPDU: 80 11 00 00 [13:47:16]Write to MH i2c: E2 08 00 FA 14 80 11 00 00 00 00 00 00 88 [13:47:16]Write i2c OK [13:47:16]MH_I2C_Read... [13:47:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:47:16]Read from MH i2c: E2 [13:47:16]MH_I2C_Read... [13:47:16]Read from MH i2c: E2 17 00 [13:47:16]MH_I2C_Read... [13:47:16]Read from MH i2c: E2 17 00 FA 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 DB [13:47:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [13:47:16]wFMCommunicate OK [13:47:16]requested_item fd.num is exist - process it [13:47:16]SAM_PROTO_GetFieldsCounters [13:47:16]wFMCommunicate request_size=4 [13:47:16]MH_SAM_APDU [13:47:16]CAPDU: 80 13 00 00 [13:47:16]Write to MH i2c: E2 08 00 FB 14 80 13 00 00 00 00 00 00 8B [13:47:16]Write i2c OK [13:47:16]MH_I2C_Read... [13:47:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:47:16]Read from MH i2c: E2 [13:47:16]MH_I2C_Read... [13:47:16]Read from MH i2c: E2 62 00 [13:47:16]MH_I2C_Read... [13:47:16]Read from MH i2c: E2 62 00 FB 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 91 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 34 [13:47: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 91 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:47:16]wFMCommunicate OK [13:47:16]SAM_PROTO_GetFieldsCounters done [13:47:16]requested_item shift.num is exist - process it [13:47:16]requested_item shift.opened is exist - process it [13:47:16]req_shift_opened [13:47:16]FM_GetShiftState [13:47:16]SAM_PROTO_GetShiftState [13:47:16]wFMCommunicate request_size=4 [13:47:16]MH_SAM_APDU [13:47:16]CAPDU: 80 13 01 00 [13:47:16]Write to MH i2c: E2 08 00 FC 14 80 13 01 00 00 00 00 00 8D [13:47:16]Write i2c OK [13:47:16]MH_I2C_Read... [13:47:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:47:16]Read from MH i2c: E2 [13:47:16]MH_I2C_Read... [13:47:16]Read from MH i2c: E2 0E 00 [13:47:16]MH_I2C_Read... [13:47:16]Read from MH i2c: E2 0E 00 FC 14 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 B6 [13:47:16]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [13:47:16]wFMCommunicate OK [13:47:16]SAM_PROTO_GetShiftState done [13:47:16]FM_GetShiftState done [13:47:16]req_shift_opened done [13:47:16]requested_item shift.open_date is exist - process it [13:47:16]req_shift_open_date [13:47:16]req_shift_open_date done [13:47:16]produce_requested_data done [13:47:16]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52625,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [13:47:16]process_action_free close_receipt [13:47:16]json_value_free [13:47:16]json_value_free done [13:47:16]process_json_proto returns [13:47:16]Send response to host [13:47:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52625,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [13:47:16]free response buf [13:47:16]execute_script done [13:47:16]execute_script returns [13:47:16]free content buf [13:47:16]Sock 9.Close socket [13:47:16]Sock 9.Thread stoped [13:47:20]OFD Sender: No OFD packet to send [13:47:25]OFD Sender: No OFD packet to send [13:47:30]OFD Sender: No OFD packet to send [13:47:35]OFD Sender: No OFD packet to send [13:47:40]OFD Sender: No OFD packet to send [13:47:45]OFD Sender: No OFD packet to send [13:47:50]OFD Sender: No OFD packet to send [13:47:55]OFD Sender: No OFD packet to send [13:48:00]OFD Sender: No OFD packet to send [13:48:05]OFD Sender: No OFD packet to send [13:48:10]OFD Sender: No OFD packet to send [13:48:15]OFD Sender: No OFD packet to send [13:48:20]OFD Sender: No OFD packet to send [13:48:25]OFD Sender: No OFD packet to send [13:48:30]OFD Sender: No OFD packet to send [13:48:35]OFD Sender: No OFD packet to send [13:48:40]OFD Sender: No OFD packet to send [13:48:45]OFD Sender: No OFD packet to send [13:48:50]OFD Sender: No OFD packet to send [13:48:56]OFD Sender: No OFD packet to send [13:49:01]OFD Sender: No OFD packet to send [13:49:06]OFD Sender: No OFD packet to send [13:49:11]OFD Sender: No OFD packet to send [13:49:16]OFD Sender: No OFD packet to send [13:49:21]OFD Sender: No OFD packet to send [13:49:26]OFD Sender: No OFD packet to send [13:49:31]OFD Sender: No OFD packet to send [13:49:36]OFD Sender: No OFD packet to send [13:49:41]OFD Sender: No OFD packet to send [13:49:46]OFD Sender: No OFD packet to send [13:49:51]OFD Sender: No OFD packet to send [13:49:56]OFD Sender: No OFD packet to send [13:50:01]OFD Sender: No OFD packet to send [13:50:06]OFD Sender: No OFD packet to send [13:50:11]OFD Sender: No OFD packet to send [13:50:16]OFD Sender: No OFD packet to send [13:50:21]OFD Sender: No OFD packet to send [13:50:26]OFD Sender: No OFD packet to send [13:50:31]OFD Sender: No OFD packet to send [13:50:36]OFD Sender: No OFD packet to send [13:50:41]OFD Sender: No OFD packet to send [13:50:46]OFD Sender: No OFD packet to send [13:50:51]OFD Sender: No OFD packet to send [13:50:56]OFD Sender: No OFD packet to send [13:51:01]OFD Sender: No OFD packet to send [13:51:06]OFD Sender: No OFD packet to send [13:51:11]OFD Sender: No OFD packet to send [13:51:16]OFD Sender: No OFD packet to send [13:51:21]OFD Sender: No OFD packet to send [13:51:26]OFD Sender: No OFD packet to send [13:51:31]OFD Sender: No OFD packet to send [13:51:36]OFD Sender: No OFD packet to send [13:51:41]OFD Sender: No OFD packet to send [13:51:46]OFD Sender: No OFD packet to send [13:51:51]OFD Sender: No OFD packet to send [13:51:56]OFD Sender: No OFD packet to send [13:52:01]OFD Sender: No OFD packet to send [13:52:06]OFD Sender: No OFD packet to send [13:52:11]OFD Sender: No OFD packet to send [13:52:16]OFD Sender: No OFD packet to send [13:52:21]OFD Sender: No OFD packet to send [13:52:26]OFD Sender: No OFD packet to send [13:52:31]OFD Sender: No OFD packet to send [13:52:36]OFD Sender: No OFD packet to send [13:52:41]OFD Sender: No OFD packet to send [13:52:46]OFD Sender: No OFD packet to send [13:52:51]OFD Sender: No OFD packet to send [13:52:56]OFD Sender: No OFD packet to send [13:53:01]OFD Sender: No OFD packet to send [13:53:06]OFD Sender: No OFD packet to send [13:53:11]OFD Sender: No OFD packet to send [13:53:16]OFD Sender: No OFD packet to send [13:53:21]OFD Sender: No OFD packet to send [13:53:26]OFD Sender: No OFD packet to send [13:53:31]OFD Sender: No OFD packet to send [13:53:36]OFD Sender: No OFD packet to send [13:53:41]OFD Sender: No OFD packet to send [13:53:46]OFD Sender: No OFD packet to send [13:53:51]OFD Sender: No OFD packet to send [13:53:56]OFD Sender: No OFD packet to send [13:54:01]OFD Sender: No OFD packet to send [13:54:06]OFD Sender: No OFD packet to send [13:54:11]OFD Sender: No OFD packet to send [13:54:16]OFD Sender: No OFD packet to send [13:54:21]OFD Sender: No OFD packet to send [13:54:26]OFD Sender: No OFD packet to send [13:54:31]OFD Sender: No OFD packet to send [13:54:36]OFD Sender: No OFD packet to send [13:54:41]OFD Sender: No OFD packet to send [13:54:45]accept exits with 8 [13:54:45]New connection [13:54:45]New thread 3067395428 created [13:54:45]Thread 3067252068 joined [13:54:45]Waiting for new connection... [13:54:45] Sock 8.Parse request [13:54:45]Sock 8.Check first char [13:54:45]Sock 8.First char is OK [13:54:45]request: POST /json_proto HTTP/1.0 [13:54:45]Method: POST [13:54:45]URL: /json_proto [13:54:45]Method is POST - this is cgi request [13:54:45]url: /json_proto [13:54:45]query_string will be loaded in cgi processing [13:54:45]execute_cgi json_proto POST (null) [13:54:45]execute_cgi path=json_proto method=POST [13:54:45]POST find Content-Length [13:54:45]Host: 172.17.60.7:8080 [13:54:45]Content-Length: 787 [13:54:45]Content-Type: application/json [13:54:45] [13:54:45]POST finish read [13:54:45]Found Content-Length = 787 [13:54:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122757", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:54:45]execute_script... [13:54:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122757", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:54:45]POST & json_proto [13:54:45]process_json_proto [13:54:45]json parsed OK: [13:54:45]protocol is kg_v1.0 [13:54:45]action value=close_receipt [13:54:45]process_action close_receipt [13:54:45]cmd_close_receipt [13:54:45]MH_GetDate [13:54:45]Write to MH i2c: F0 00 00 FD 14 00 [13:54:45]Write i2c OK [13:54:45]MH_I2C_Read... [13:54:45]Read from MH i2c: F0 [13:54:45]MH_I2C_Read... [13:54:45]Read from MH i2c: F0 09 00 [13:54:45]MH_I2C_Read... [13:54:45]Read from MH i2c: F0 09 00 FD 14 00 A9 C2 B8 66 63 9B 67 64 5B [13:54:45]GetLastDocTimeStamp 1723384037 [13:54:45]current date 1723384489 [13:54:45]FM_GetShiftState [13:54:45]SAM_PROTO_GetShiftState [13:54:45]wFMCommunicate request_size=4 [13:54:45]MH_SAM_APDU [13:54:45]CAPDU: 80 13 01 00 [13:54:45]Write to MH i2c: E2 08 00 FE 14 80 13 01 00 00 00 00 00 8F [13:54:45]Write i2c OK [13:54:45]MH_I2C_Read... [13:54:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:54:45]Read from MH i2c: E2 [13:54:45]MH_I2C_Read... [13:54:45]Read from MH i2c: E2 0E 00 [13:54:45]MH_I2C_Read... [13:54:45]Read from MH i2c: E2 0E 00 FE 14 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 B8 [13:54:45]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [13:54:45]wFMCommunicate OK [13:54:45]SAM_PROTO_GetShiftState done [13:54:45]FM_GetShiftState done [13:54:45]opened in 1723336186 [13:54:45]opened+sec_in_day 1723422586 [13:54:45]quantity*price = 14000 [13:54:45]sum+1 = 14001 [13:54:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 37 11.08.2024 13:54 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52626 ФПД: 259978402862242 /tax-web-control/client/api/v1/ticket?date=20240811T135449&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52626&fm=259978402862242&tin=02508201610067®Number=0000000000090834&sum=14000 0 [13:54:46]StoreToDocumentArchive [13:54:46]shift 446 fd 52626 [13:54:46]save to /storage/0446/doc_00052626 [13:54:46]save last doc name /storage/0446/doc_00052626 to /storage/kkm_last_doc_name [13:54:46]save OK [13:54:46]Clear old archive folders... [13:54:46]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:54:46]tlvbuf is 010B0230 [13:54:46]SAM_PROTO_ClearQueue [13:54:46]wFMCommunicate request_size=4 [13:54:46]MH_SAM_APDU [13:54:46]CAPDU: 80 09 00 00 [13:54:46]Write to MH i2c: E2 08 00 0B 15 80 09 00 00 00 00 00 00 92 [13:54:46]Write i2c OK [13:54:46]MH_I2C_Read... [13:54:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:54:46]Read from MH i2c: E2 [13:54:46]MH_I2C_Read... [13:54:46]Read from MH i2c: E2 03 00 [13:54:46]MH_I2C_Read... [13:54:46]Read from MH i2c: E2 03 00 0B 15 00 90 00 94 [13:54:46]RAPDU: 90 00 [13:54:46]wFMCommunicate OK [13:54:46]SAM_PROTO_ClearQueue done [13:54:46]KKMCreateOFDPacket [13:54:46]OFDProtocolAddRootSTLVToBuf [13:54:46]FM_MakeSignedData [13:54:46]FM_MakeSignedData [13:54:46]SAM_PROTO_SignData [13:54:46]wFMCommunicate request_size=4 [13:54:46]MH_SAM_APDU [13:54:46]CAPDU: 80 0D 01 02 [13:54:46]Write to MH i2c: E2 08 00 0C 15 80 0D 01 02 00 00 00 00 9A [13:54:46]Write i2c OK [13:54:46]MH_I2C_Read... [13:54:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:54:46]Read from MH i2c: E2 [13:54:46]MH_I2C_Read... [13:54:46]Read from MH i2c: E2 03 00 [13:54:46]MH_I2C_Read... [13:54:46]Read from MH i2c: E2 03 00 0C 15 00 90 00 95 [13:54:46]RAPDU: 90 00 [13:54:46]wFMCommunicate OK [13:54:46]wFMCommunicate request_size=255 [13:54:46]MH_SAM_APDU [13:54:46]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 A9 C2 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 [13:54:46]Write to MH i2c: E2 02 01 0D 15 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 A9 C2 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 00 00 FB [13:54:46]Write i2c OK [13:54:46]MH_I2C_Read... [13:54:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:54:47]Read from MH i2c: E2 [13:54:47]MH_I2C_Read... [13:54:47]Read from MH i2c: E2 03 00 [13:54:47]MH_I2C_Read... [13:54:47]Read from MH i2c: E2 03 00 0D 15 00 90 00 96 [13:54:47]RAPDU: 90 00 [13:54:47]wFMCommunicate OK [13:54:47]wFMCommunicate request_size=32 [13:54:47]MH_SAM_APDU [13:54:47]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 37 31 35 10 04 04 00 92 CD 00 00 35 04 06 00 EC 72 F0 5A 14 A2 [13:54:47]Write to MH i2c: E2 23 00 0E 15 80 0D 02 02 1B 00 30 30 30 38 37 34 37 31 35 10 04 04 00 92 CD 00 00 35 04 06 00 EC 72 F0 5A 14 A2 00 00 B7 [13:54:47]Write i2c OK [13:54:47]MH_I2C_Read... [13:54:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:54:47]Read from MH i2c: E2 [13:54:47]MH_I2C_Read... [13:54:47]Read from MH i2c: E2 03 00 [13:54:47]MH_I2C_Read... [13:54:47]Read from MH i2c: E2 03 00 0E 15 00 90 00 97 [13:54:47]RAPDU: 90 00 [13:54:47]wFMCommunicate OK [13:54:47]wFMCommunicate request_size=4 [13:54:47]MH_SAM_APDU [13:54:47]CAPDU: 80 0D 03 02 [13:54:47]Write to MH i2c: E2 08 00 0F 15 80 0D 03 02 00 00 00 00 9F [13:54:47]Write i2c OK [13:54:47]MH_I2C_Read... [13:54:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:54:47]Read from MH i2c: E2 [13:54:47]MH_I2C_Read... [13:54:47]Read from MH i2c: E2 0B 00 [13:54:47]MH_I2C_Read... [13:54:47]Read from MH i2c: E2 0B 00 0F 15 00 FB D9 A2 3D 96 F4 FB 81 90 00 59 [13:54:47]RAPDU: FB D9 A2 3D 96 F4 FB 81 90 00 [13:54:47]wFMCommunicate OK [13:54:47]SAM_PROTO_SignData done [13:54:47]FM_MakeSignedData done [13:54:47]CreateOFDProtocolMessage [13:54:47]wFMCommunicate request_size=4 [13:54:47]MH_SAM_APDU [13:54:47]CAPDU: 80 11 00 00 [13:54:47]Write to MH i2c: E2 08 00 10 15 80 11 00 00 00 00 00 00 9F [13:54:47]Write i2c OK [13:54:47]MH_I2C_Read... [13:54:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:54:47]Read from MH i2c: E2 [13:54:47]MH_I2C_Read... [13:54:47]Read from MH i2c: E2 17 00 [13:54:47]MH_I2C_Read... [13:54:47]Read from MH i2c: E2 17 00 10 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 F2 [13:54:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [13:54:47]wFMCommunicate OK [13:54:47]CreateOFDProtocolMessage done [13:54:47]OFDSenderStorePacket 52626 [13:54:47]StoreOFDPacket docnum=52626 [13:54:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 25 01 00 00 73 2C 1D 01 CB 53 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 A9 C2 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 92 CD 00 00 35 04 06 00 EC 72 F0 5A 14 A2 FB D9 A2 3D 96 F4 FB 81 [13:54:47]CheckFolder [13:54:47]dirname=/storage/ofd_packets [13:54:47]CheckFolder done [13:54:47]ProducePacketName [13:54:47]name=ofd_packets/00052626 [13:54:47]NVStorageSaveData ofd_packets/00052626 [13:54:47]File name is /storage/ofd_packets/00052626 [13:54:47]Write 323 bytes [13:54:47]NVStorageSaveData done [13:54:47]OFDSenderStorePacket done [13:54:47]KKMCreateOFDPacket done [13:54:47]NVStorageSaveData kkm_last_timestamp [13:54:47]File name is /storage/kkm_last_timestamp [13:54:47]Write 4 bytes [13:54:47]NVStorageSaveData done [13:54:47]OFD Sender: Processing packet 52626 [packets to send 55, broken 54] [13:54:47]ProducePacketName [13:54:47]name=ofd_packets/00052626 [13:54:47]OFD Sender: To server: pG, [13:54:47]CommunicateWithHost lk.salyk.kg:30040 [13:54:47]ConnectInit lk.salyk.kg [13:54:47]ExternCall_PrintAddStr [13:54:47]wPrintStart [13:54:47]Write to MH i2c: 01 00 00 11 15 26 [13:54:47]Write i2c OK [13:54:47]MH_I2C_Read... [13:54:47]Read from MH i2c: 01 [13:54:47]MH_I2C_Read... [13:54:47]Read from MH i2c: 01 07 00 [13:54:47]MH_I2C_Read... [13:54:47]Read from MH i2c: 01 07 00 11 15 00 00 00 00 00 FF 0F 3B [13:54:47]RasterBufferAndPrint [13:54:47]line Счет N : (3)122757 [13:54:47]line ИНН: 02508201610067 [13:54:47]line Контрольно-Кассовый Чек [13:54:47]line ПРОДАЖА [13:54:47]line Товар: 48743570 [13:54:47]line Сигареты Winston XStyle Blue [13:54:47]line 1.000 * 140.00 [13:54:47]line = 140.00 [13:54:47]line НДС 12% НСП 1% [13:54:47]line > о реализуемом товаре [13:54:47]line ИТОГО: 140.00 [13:54:47]line НСП 1% : 1.24 [13:54:47]line НДС 12% : 14.87 [13:54:47]line Наличными: 0.00 [13:54:47]line Безнал.: 140.00 [13:54:47]line Место: АЗС № 54 "Партнер Нефть" [13:54:47]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [13:54:47]line СНО: Общий режим [13:54:47]line Чек 37 11.08.2024 13:54 [13:54:47]line Смена: 446 ФФД: 1.0 [13:54:47]line ЗНМ: 0300000007 [13:54:47]line РНМ: 0000000000090834 [13:54:47]line Версия ККМ: 001 [13:54:47]line Платежная система: О! деньги [13:54:47]line ФМ: 0000000000874715 [13:54:47]line ФД: 52626 [13:54:47]line ФПД: 259978402862242 [13:54:47]line /tax-web-control/client/api/v1/ticket?date=20240811T135449&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52626&fm=259978402862242&tin=02508201610067®Number=0000000000090834&sum=14000 [13:54:47]line 0 [13:54:47]Connected sock=11 [13:54:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 25 01 00 00 73 2C 1D 01 CB 53 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 A9 C2 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 92 CD 00 00 35 04 06 00 EC 72 F0 5A 14 A2 FB D9 A2 3D 96 F4 FB 81 [13:54:47]written 0, free lines is 4095 [13:54:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 BE 5E 47 00 1E 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 34 37 31 35 10 04 04 00 92 CD 00 00 F4 03 04 00 44 6A B8 66 B6 04 01 00 00 0C F0 F7 42 17 16 DA 25 [13:54:47]CommunicateWithHost err = 0 [13:54:47]CheckOFDResponse [13:54:47]1017 (14) - 77093643461234 [13:54:47]1041 (16) - 0000000000874715 [13:54:47]1040 (4) - 52626 [13:54:47]1012 (4) - 11.08.2024 07:37 [13:54:47]1206 (1) - 0 [13:54:47]OFD Sender: Remove packet 52626 [13:54:47]ProducePacketName [13:54:47]name=ofd_packets/00052626 [13:54:47]NVStorageDeleteData [13:54:47]Write to MH i2c: 01 00 00 3A 15 4F [13:54:47]Write i2c OK [13:54:47]MH_I2C_Read... [13:54:47]Read from MH i2c: 01 [13:54:47]MH_I2C_Read... [13:54:47]Read from MH i2c: 01 07 00 [13:54:47]MH_I2C_Read... [13:54:47]Read from MH i2c: 01 07 00 3A 15 00 00 00 00 00 D5 0C 37 [13:54:47]RasterBufferAndPrint [13:54:47]line [13:54:47]line [13:54:47]line [13:54:47]line [13:54:47]line [13:54:47]written 0, free lines is 3291 [13:54:47]MH_Cut [13:54:47]Write to MH i2c: D1 01 00 41 15 01 28 [13:54:47]Write i2c OK [13:54:47]MH_I2C_Read... [13:54:47]Read from MH i2c: D1 [13:54:47]MH_I2C_Read... [13:54:47]Read from MH i2c: D1 01 00 [13:54:47]MH_I2C_Read... [13:54:47]Read from MH i2c: D1 01 00 41 15 00 27 [13:54:47]Write to MH i2c: 01 00 00 42 15 57 [13:54:47]Write i2c OK [13:54:47]MH_I2C_Read... [13:54:48]OFD Sender: No OFD packet to send [13:54:48]*** Cut start [13:54:48]*** Purtial cut [13:54:48]*** Stage 1: CUTSNS_PIN = 1 [13:54:49]Read from MH i2c: 01 [13:54:49]MH_I2C_Read... [13:54:49]*** Stop cut motor [13:54:49]*** Cut end [13:54:49]Read from MH i2c: 01 07 00 [13:54:49]MH_I2C_Read... [13:54:49]Read from MH i2c: 01 07 00 42 15 00 00 00 00 00 FF 0F 6C [13:54:49]process_action close_receipt done [13:54:49]requested_data is exist [13:54:49]produce_requested_data [13:54:49]requested_item fm.sn is exist - process it [13:54:49]wFMCommunicate request_size=4 [13:54:49]MH_SAM_APDU [13:54:49]CAPDU: 80 11 00 00 [13:54:49]Write to MH i2c: E2 08 00 43 15 80 11 00 00 00 00 00 00 D2 [13:54:49]Write i2c OK [13:54:49]MH_I2C_Read... [13:54:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:54:49]Read from MH i2c: E2 [13:54:49]MH_I2C_Read... [13:54:49]Read from MH i2c: E2 17 00 [13:54:49]MH_I2C_Read... [13:54:49]Read from MH i2c: E2 17 00 43 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 25 [13:54:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [13:54:49]wFMCommunicate OK [13:54:49]requested_item fd.num is exist - process it [13:54:49]SAM_PROTO_GetFieldsCounters [13:54:49]wFMCommunicate request_size=4 [13:54:49]MH_SAM_APDU [13:54:49]CAPDU: 80 13 00 00 [13:54:49]Write to MH i2c: E2 08 00 44 15 80 13 00 00 00 00 00 00 D5 [13:54:49]Write i2c OK [13:54:49]MH_I2C_Read... [13:54:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:54:49]Read from MH i2c: E2 [13:54:49]MH_I2C_Read... [13:54:49]Read from MH i2c: E2 62 00 [13:54:49]MH_I2C_Read... [13:54:49]Read from MH i2c: E2 62 00 44 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 92 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 82 [13:54: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 92 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:54:49]wFMCommunicate OK [13:54:49]SAM_PROTO_GetFieldsCounters done [13:54:49]requested_item shift.num is exist - process it [13:54:49]requested_item shift.opened is exist - process it [13:54:49]req_shift_opened [13:54:49]FM_GetShiftState [13:54:49]SAM_PROTO_GetShiftState [13:54:49]wFMCommunicate request_size=4 [13:54:49]MH_SAM_APDU [13:54:49]CAPDU: 80 13 01 00 [13:54:49]Write to MH i2c: E2 08 00 45 15 80 13 01 00 00 00 00 00 D7 [13:54:49]Write i2c OK [13:54:49]MH_I2C_Read... [13:54:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:54:49]Read from MH i2c: E2 [13:54:49]MH_I2C_Read... [13:54:49]Read from MH i2c: E2 0E 00 [13:54:49]MH_I2C_Read... [13:54:49]Read from MH i2c: E2 0E 00 45 15 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 00 [13:54:49]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [13:54:49]wFMCommunicate OK [13:54:49]SAM_PROTO_GetShiftState done [13:54:49]FM_GetShiftState done [13:54:49]req_shift_opened done [13:54:49]requested_item shift.open_date is exist - process it [13:54:49]req_shift_open_date [13:54:49]req_shift_open_date done [13:54:49]produce_requested_data done [13:54:49]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52626,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [13:54:49]process_action_free close_receipt [13:54:49]json_value_free [13:54:49]json_value_free done [13:54:49]process_json_proto returns [13:54:49]Send response to host [13:54:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52626,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [13:54:49]free response buf [13:54:49]execute_script done [13:54:49]execute_script returns [13:54:49]free content buf [13:54:49]Sock 8.Close socket [13:54:49]Sock 8.Thread stoped [13:54:53]OFD Sender: No OFD packet to send [13:54:58]OFD Sender: No OFD packet to send [13:55:03]OFD Sender: No OFD packet to send [13:55:08]OFD Sender: No OFD packet to send [13:55:13]OFD Sender: No OFD packet to send [13:55:18]OFD Sender: No OFD packet to send [13:55:23]OFD Sender: No OFD packet to send [13:55:28]OFD Sender: No OFD packet to send [13:55:33]OFD Sender: No OFD packet to send [13:55:38]OFD Sender: No OFD packet to send [13:55:43]OFD Sender: No OFD packet to send [13:55:48]OFD Sender: No OFD packet to send [13:55:53]OFD Sender: No OFD packet to send [13:55:58]OFD Sender: No OFD packet to send [13:56:03]OFD Sender: No OFD packet to send [13:56:08]OFD Sender: No OFD packet to send [13:56:13]OFD Sender: No OFD packet to send [13:56:18]OFD Sender: No OFD packet to send [13:56:23]OFD Sender: No OFD packet to send [13:56:28]OFD Sender: No OFD packet to send [13:56:33]OFD Sender: No OFD packet to send [13:56:38]OFD Sender: No OFD packet to send [13:56:43]OFD Sender: No OFD packet to send [13:56:48]OFD Sender: No OFD packet to send [13:56:53]OFD Sender: No OFD packet to send [13:56:58]OFD Sender: No OFD packet to send [13:57:03]OFD Sender: No OFD packet to send [13:57:08]OFD Sender: No OFD packet to send [13:57:13]OFD Sender: No OFD packet to send [13:57:18]OFD Sender: No OFD packet to send [13:57:23]OFD Sender: No OFD packet to send [13:57:28]OFD Sender: No OFD packet to send [13:57:33]OFD Sender: No OFD packet to send [13:57:38]OFD Sender: No OFD packet to send [13:57:43]OFD Sender: No OFD packet to send [13:57:48]OFD Sender: No OFD packet to send [13:57:53]OFD Sender: No OFD packet to send [13:57:58]OFD Sender: No OFD packet to send [13:58:03]OFD Sender: No OFD packet to send [13:58:08]OFD Sender: No OFD packet to send [13:58:13]OFD Sender: No OFD packet to send [13:58:18]OFD Sender: No OFD packet to send [13:58:23]OFD Sender: No OFD packet to send [13:58:28]OFD Sender: No OFD packet to send [13:58:33]OFD Sender: No OFD packet to send [13:58:38]OFD Sender: No OFD packet to send [13:58:43]OFD Sender: No OFD packet to send [13:58:48]OFD Sender: No OFD packet to send [13:58:53]OFD Sender: No OFD packet to send [13:58:58]OFD Sender: No OFD packet to send [13:59:03]OFD Sender: No OFD packet to send [13:59:08]OFD Sender: No OFD packet to send [13:59:13]OFD Sender: No OFD packet to send [13:59:18]OFD Sender: No OFD packet to send [13:59:23]OFD Sender: No OFD packet to send [13:59:28]OFD Sender: No OFD packet to send [13:59:33]OFD Sender: No OFD packet to send [13:59:38]OFD Sender: No OFD packet to send [13:59:43]OFD Sender: No OFD packet to send [13:59:48]OFD Sender: No OFD packet to send [13:59:53]OFD Sender: No OFD packet to send [13:59:58]OFD Sender: No OFD packet to send [14:00:03]OFD Sender: No OFD packet to send [14:00:08]OFD Sender: No OFD packet to send [14:00:13]OFD Sender: No OFD packet to send [14:00:18]OFD Sender: No OFD packet to send [14:00:23]OFD Sender: No OFD packet to send [14:00:28]OFD Sender: No OFD packet to send [14:00:33]OFD Sender: No OFD packet to send [14:00:38]OFD Sender: No OFD packet to send [14:00:43]OFD Sender: No OFD packet to send [14:00:48]OFD Sender: No OFD packet to send [14:00:53]OFD Sender: No OFD packet to send [14:00:58]OFD Sender: No OFD packet to send [14:01:03]OFD Sender: No OFD packet to send [14:01:08]OFD Sender: No OFD packet to send [14:01:13]OFD Sender: No OFD packet to send [14:01:18]OFD Sender: No OFD packet to send [14:01:23]OFD Sender: No OFD packet to send [14:01:28]OFD Sender: No OFD packet to send [14:01:33]OFD Sender: No OFD packet to send [14:01:38]OFD Sender: No OFD packet to send [14:01:43]OFD Sender: No OFD packet to send [14:01:48]OFD Sender: No OFD packet to send [14:01:53]OFD Sender: No OFD packet to send [14:01:58]OFD Sender: No OFD packet to send [14:02:03]OFD Sender: No OFD packet to send [14:02:08]OFD Sender: No OFD packet to send [14:02:13]OFD Sender: No OFD packet to send [14:02:18]OFD Sender: No OFD packet to send [14:02:23]OFD Sender: No OFD packet to send [14:02:28]OFD Sender: No OFD packet to send [14:02:33]OFD Sender: No OFD packet to send [14:02:38]OFD Sender: No OFD packet to send [14:02:43]OFD Sender: No OFD packet to send [14:02:48]OFD Sender: No OFD packet to send [14:02:53]OFD Sender: No OFD packet to send [14:02:58]OFD Sender: No OFD packet to send [14:03:03]OFD Sender: No OFD packet to send [14:03:08]OFD Sender: No OFD packet to send [14:03:13]OFD Sender: No OFD packet to send [14:03:18]OFD Sender: No OFD packet to send [14:03:23]OFD Sender: No OFD packet to send [14:03:28]OFD Sender: No OFD packet to send [14:03:33]OFD Sender: No OFD packet to send [14:03:38]OFD Sender: No OFD packet to send [14:03:43]OFD Sender: No OFD packet to send [14:03:48]OFD Sender: No OFD packet to send [14:03:53]OFD Sender: No OFD packet to send [14:03:58]OFD Sender: No OFD packet to send [14:04:03]OFD Sender: No OFD packet to send [14:04:08]OFD Sender: No OFD packet to send [14:04:13]OFD Sender: No OFD packet to send [14:04:18]OFD Sender: No OFD packet to send [14:04:23]OFD Sender: No OFD packet to send [14:04:28]OFD Sender: No OFD packet to send [14:04:33]OFD Sender: No OFD packet to send [14:04:38]OFD Sender: No OFD packet to send [14:04:43]OFD Sender: No OFD packet to send [14:04:48]OFD Sender: No OFD packet to send [14:06:13]ConnectInit Can't connect to host [14:06:16]OFD Sender: No OFD packet to send [14:06:16]accept exits with 9 [14:06:16]New connection [14:06:16]New thread 3067293028 created [14:06:16]Waiting for new connection... [14:06:16] Sock 9.Parse request [14:06:16]Sock 9.Check first char [14:06:16]Sock 9.First char is OK [14:06:16]request: POST /json_proto HTTP/1.0 [14:06:16]Method: POST [14:06:16]URL: /json_proto [14:06:16]Method is POST - this is cgi request [14:06:16]url: /json_proto [14:06:16]query_string will be loaded in cgi processing [14:06:16]execute_cgi json_proto POST (null) [14:06:16]execute_cgi path=json_proto method=POST [14:06:16]POST find Content-Length [14:06:16]Host: 172.17.60.7:8080 [14:06:16]Content-Length: 215 [14:06:16]Content-Type: application/json [14:06:16] [14:06:16]POST finish read [14:06:16]Found Content-Length = 215 [14:06:16]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" ] } } [14:06:16]execute_script... [14:06:16]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" ] } } [14:06:16]POST & json_proto [14:06:16]process_json_proto [14:06:16]json parsed OK: [14:06:16]protocol is kg_v1.0 [14:06:16]action value=get_value [14:06:16]process_action get_value [14:06:16]cmd_get_value [14:06:16]process_action get_value done [14:06:16]requested_data is exist [14:06:16]produce_requested_data [14:06:16]requested_item kkm.sn is exist - process it [14:06:16]requested_item kkm.ver is exist - process it [14:06:16]requested_item fm.sn is exist - process it [14:06:16]wFMCommunicate request_size=4 [14:06:16]MH_SAM_APDU [14:06:16]CAPDU: 80 11 00 00 [14:06:16]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [14:06:16]Write i2c OK [14:06:16]MH_I2C_Read... [14:06:16]Read from MH i2c: E2 [14:06:16]MH_I2C_Read... [14:06:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:06:16]Read from MH i2c: E2 17 00 [14:06:16]MH_I2C_Read... [14:06:16]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 34 37 31 35 90 00 DD [14:06:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [14:06:16]wFMCommunicate OK [14:06:16]requested_item fd.num is exist - process it [14:06:16]SAM_PROTO_GetFieldsCounters [14:06:16]wFMCommunicate request_size=4 [14:06:16]MH_SAM_APDU [14:06:16]CAPDU: 80 13 00 00 [14:06:16]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [14:06:16]Write i2c OK [14:06:16]MH_I2C_Read... [14:06:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:06:17]Read from MH i2c: E2 [14:06:17]MH_I2C_Read... [14:06:17]Read from MH i2c: E2 62 00 [14:06:17]MH_I2C_Read... [14:06:17]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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 92 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 3A [14:06:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 92 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:06:17]wFMCommunicate OK [14:06:17]SAM_PROTO_GetFieldsCounters done [14:06:17]requested_item shift.num is exist - process it [14:06:17]requested_item shift.opened is exist - process it [14:06:17]req_shift_opened [14:06:17]FM_GetShiftState [14:06:17]SAM_PROTO_GetShiftState [14:06:17]wFMCommunicate request_size=4 [14:06:17]MH_SAM_APDU [14:06:17]CAPDU: 80 13 01 00 [14:06:17]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [14:06:17]Write i2c OK [14:06:17]MH_I2C_Read... [14:06:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:06:17]Read from MH i2c: E2 [14:06:17]MH_I2C_Read... [14:06:17]Read from MH i2c: E2 0E 00 [14:06:17]MH_I2C_Read... [14:06:17]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 B8 [14:06:17]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [14:06:17]wFMCommunicate OK [14:06:17]SAM_PROTO_GetShiftState done [14:06:17]FM_GetShiftState done [14:06:17]req_shift_opened done [14:06:17]requested_item shift.open_date is exist - process it [14:06:17]req_shift_open_date [14:06:17]req_shift_open_date done [14:06:17]produce_requested_data done [14:06:17]produce_requested_data return {"kkm.sn":"0300000007","kkm.ver":"001","fm.sn":"0000000000874715","fd.num":52626,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [14:06:17]process_action_free get_value [14:06:17]json_value_free [14:06:17]json_value_free done [14:06:17]process_json_proto returns [14:06:17]Send response to host [14:06:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000007","kkm.ver":"001","fm.sn":"0000000000874715","fd.num":52626,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [14:06:17]free response buf [14:06:17]execute_script done [14:06:17]execute_script returns [14:06:17]free content buf [14:06:17]Sock 9.Close socket [14:06:17]Sock 9.Thread stoped [14:06:20]accept exits with 7 [14:06:20]New connection [14:06:20]New thread 3067149668 created [14:06:20]Thread 3067293028 joined [14:06:20]Waiting for new connection... [14:06:20] Sock 7.Parse request [14:06:20]Sock 7.Check first char [14:06:20]Sock 7.First char is OK [14:06:20]request: POST /json_proto HTTP/1.0 [14:06:20]Method: POST [14:06:20]URL: /json_proto [14:06:20]Method is POST - this is cgi request [14:06:20]url: /json_proto [14:06:20]query_string will be loaded in cgi processing [14:06:20]execute_cgi json_proto POST (null) [14:06:20]execute_cgi path=json_proto method=POST [14:06:20]POST find Content-Length [14:06:20]Host: 172.17.60.7:8080 [14:06:20]Content-Length: 331 [14:06:20]Content-Type: application/json [14:06:20] [14:06:20]POST finish read [14:06:20]Found Content-Length = 331 [14:06:20]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" ] } } [14:06:20]execute_script... [14:06:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [14:06:20]POST & json_proto [14:06:20]process_json_proto [14:06:20]json parsed OK: [14:06:20]protocol is kg_v1.0 [14:06:20]action value=get_value [14:06:20]process_action get_value [14:06:20]cmd_get_value [14:06:20]process_action get_value done [14:06:20]requested_data is exist [14:06:20]produce_requested_data [14:06:20]requested_item fm.sale.total is exist - process it [14:06:20]SAM_PROTO_GetFMData [14:06:20]wFMCommunicate request_size=4 [14:06:20]MH_SAM_APDU [14:06:20]CAPDU: 80 13 03 00 [14:06:20]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [14:06:20]Write i2c OK [14:06:20]MH_I2C_Read... [14:06:20]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [14:06:20]Read from MH i2c: E2 [14:06:20]MH_I2C_Read... [14:06:20]Read from MH i2c: E2 FD 00 [14:06:20]MH_I2C_Read... [14:06:20]Read from MH i2c: E2 FD 00 13 00 00 C1 04 85 04 BD 04 6E 04 04 00 14 CA 00 00 69 04 A0 00 6F 04 04 00 F3 C9 00 00 B1 04 04 00 E2 0D 93 41 70 04 04 00 32 44 20 37 72 04 04 00 B0 C9 72 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BF 9E F6 06 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 77 71 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 FB [14:06:20]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 14 CA 00 00 69 04 A0 00 6F 04 04 00 F3 C9 00 00 B1 04 04 00 E2 0D 93 41 70 04 04 00 32 44 20 37 72 04 04 00 B0 C9 72 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BF 9E F6 06 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 77 71 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 [14:06:20]wFMCommunicate OK [14:06:20]wFMCommunicate request_size=4 [14:06:20]MH_SAM_APDU [14:06:20]CAPDU: 80 17 00 00 [14:06:20]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [14:06:20]Write i2c OK [14:06:20]MH_I2C_Read... [14:06:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:06:20]Read from MH i2c: E2 [14:06:20]MH_I2C_Read... [14:06:20]Read from MH i2c: E2 FD 00 [14:06:20]MH_I2C_Read... [14:06:20]Read from MH i2c: E2 FD 00 14 00 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 18 [14:06:20]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:06:20]wFMCommunicate OK [14:06:20]wFMCommunicate request_size=4 [14:06:20]MH_SAM_APDU [14:06:20]CAPDU: 80 17 00 00 [14:06:20]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [14:06:20]Write i2c OK [14:06:20]MH_I2C_Read... [14:06:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:06:21]Read from MH i2c: E2 [14:06:21]MH_I2C_Read... [14:06:21]Read from MH i2c: E2 FD 00 [14:06:21]MH_I2C_Read... [14:06:21]Read from MH i2c: E2 FD 00 15 00 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 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 90 00 35 [14:06:21]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 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 90 00 [14:06:21]wFMCommunicate OK [14:06:21]wFMCommunicate request_size=4 [14:06:21]MH_SAM_APDU [14:06:21]CAPDU: 80 17 00 00 [14:06:21]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [14:06:21]Write i2c OK [14:06:21]MH_I2C_Read... [14:06:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:06:21]Read from MH i2c: E2 [14:06:21]MH_I2C_Read... [14:06:21]Read from MH i2c: E2 FD 00 [14:06:21]MH_I2C_Read... [14:06:21]Read from MH i2c: E2 FD 00 16 00 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1B [14:06:21]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:06:21]wFMCommunicate OK [14:06:21]wFMCommunicate request_size=4 [14:06:21]MH_SAM_APDU [14:06:21]CAPDU: 80 17 00 00 [14:06:21]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [14:06:21]Write i2c OK [14:06:21]MH_I2C_Read... [14:06:21]OFD Sender: No OFD packet to send [14:06:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [14:06:21]Read from MH i2c: E2 [14:06:21]MH_I2C_Read... [14:06:21]Read from MH i2c: E2 DE 00 [14:06:21]MH_I2C_Read... [14:06:21]Read from MH i2c: E2 DE 00 17 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 76 [14:06:21]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 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 [14:06:21]wFMCommunicate OK [14:06:21]SAM_PROTO_GetFMData done [14:06:21]requested_item fm.sale_refund.total is exist - process it [14:06:21]requested_item fm.buy.total is exist - process it [14:06:21]requested_item shift.sale.total is exist - process it [14:06:21]SAM_PROTO_GetShiftData [14:06:21]wFMCommunicate request_size=4 [14:06:21]MH_SAM_APDU [14:06:21]CAPDU: 80 13 02 00 [14:06:21]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [14:06:21]Write i2c OK [14:06:21]MH_I2C_Read... [14:06:22]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:06:22]Read from MH i2c: E2 [14:06:22]MH_I2C_Read... [14:06:22]Read from MH i2c: E2 FD 00 [14:06:22]MH_I2C_Read... [14:06:22]Read from MH i2c: E2 FD 00 18 00 00 AE 04 AA 04 AA 04 6E 04 04 00 25 00 00 00 69 04 9B 00 6F 04 04 00 25 00 00 00 B1 04 03 00 18 76 0D 70 04 03 00 B0 A1 03 72 04 03 00 68 D4 09 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 EE 6D 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 7F 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 CE [14:06:22]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 25 00 00 00 69 04 9B 00 6F 04 04 00 25 00 00 00 B1 04 03 00 18 76 0D 70 04 03 00 B0 A1 03 72 04 03 00 68 D4 09 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 EE 6D 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 7F 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [14:06:22]wFMCommunicate OK [14:06:22]wFMCommunicate request_size=4 [14:06:22]MH_SAM_APDU [14:06:22]CAPDU: 80 17 00 00 [14:06:22]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [14:06:22]Write i2c OK [14:06:22]MH_I2C_Read... [14:06:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:06:22]Read from MH i2c: E2 [14:06:22]MH_I2C_Read... [14:06:22]Read from MH i2c: E2 FD 00 [14:06:22]MH_I2C_Read... [14:06:22]Read from MH i2c: E2 FD 00 19 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BB [14:06:22]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [14:06:22]wFMCommunicate OK [14:06:22]wFMCommunicate request_size=4 [14:06:22]MH_SAM_APDU [14:06:22]CAPDU: 80 17 00 00 [14:06:22]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [14:06:22]Write i2c OK [14:06:22]MH_I2C_Read... [14:06:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:06:22]Read from MH i2c: E2 [14:06:22]MH_I2C_Read... [14:06:22]Read from MH i2c: E2 FD 00 [14:06:22]MH_I2C_Read... [14:06:22]Read from MH i2c: E2 FD 00 1A 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 51 [14:06:22]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [14:06:22]wFMCommunicate OK [14:06:22]wFMCommunicate request_size=4 [14:06:22]MH_SAM_APDU [14:06:22]CAPDU: 80 17 00 00 [14:06:22]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [14:06:22]Write i2c OK [14:06:22]MH_I2C_Read... [14:06:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:06:22]Read from MH i2c: E2 [14:06:22]MH_I2C_Read... [14:06:22]Read from MH i2c: E2 FD 00 [14:06:22]MH_I2C_Read... [14:06:22]Read from MH i2c: E2 FD 00 1B 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [14:06:22]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 [14:06:22]wFMCommunicate OK [14:06:22]wFMCommunicate request_size=4 [14:06:22]MH_SAM_APDU [14:06:22]CAPDU: 80 17 00 00 [14:06:22]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [14:06:22]Write i2c OK [14:06:22]MH_I2C_Read... [14:06:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [14:06:23]Read from MH i2c: E2 [14:06:23]MH_I2C_Read... [14:06:23]Read from MH i2c: E2 CB 00 [14:06:23]MH_I2C_Read... [14:06:23]Read from MH i2c: E2 CB 00 1C 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [14:06:23]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [14:06:23]wFMCommunicate OK [14:06:23]SAM_PROTO_GetShiftData done [14:06:23]requested_item shift.sale.total_cash is exist - process it [14:06:23]requested_item shift.sale_refund.total is exist - process it [14:06:23]requested_item shift.sale_refund.total_cash is exist - process it [14:06:23]requested_item shift.buy.total is exist - process it [14:06:23]requested_item shift.buy.total_cash is exist - process it [14:06:23]produce_requested_data done [14:06:23]produce_requested_data return {"fm.sale.total":11001563.86,"fm.sale_refund.total":26895.00,"fm.buy.total":0.00,"shift.sale.total":8822.00,"shift.sale.total_cash":2380.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} [14:06:23]process_action_free get_value [14:06:23]json_value_free [14:06:23]json_value_free done [14:06:23]process_json_proto returns [14:06:23]Send response to host [14:06:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11001563.86,"fm.sale_refund.total":26895.00,"fm.buy.total":0.00,"shift.sale.total":8822.00,"shift.sale.total_cash":2380.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}}} [14:06:23]free response buf [14:06:23]execute_script done [14:06:23]execute_script returns [14:06:23]free content buf [14:06:23]Sock 7.Close socket [14:06:23]Sock 7.Thread stoped [14:06:26]OFD Sender: No OFD packet to send [14:06:31]OFD Sender: No OFD packet to send [14:06:36]OFD Sender: No OFD packet to send [14:06:41]OFD Sender: No OFD packet to send [14:06:46]OFD Sender: No OFD packet to send [14:06:51]OFD Sender: No OFD packet to send [14:06:56]OFD Sender: No OFD packet to send [14:07:01]OFD Sender: No OFD packet to send [14:07:06]OFD Sender: No OFD packet to send [14:07:11]OFD Sender: No OFD packet to send [14:07:16]OFD Sender: No OFD packet to send [14:07:21]OFD Sender: No OFD packet to send [14:07:26]OFD Sender: No OFD packet to send [14:07:31]OFD Sender: No OFD packet to send [14:07:36]OFD Sender: No OFD packet to send [14:07:41]OFD Sender: No OFD packet to send [14:07:46]OFD Sender: No OFD packet to send [14:07:51]OFD Sender: No OFD packet to send [14:07:56]OFD Sender: No OFD packet to send [14:08:01]OFD Sender: No OFD packet to send [14:08:06]OFD Sender: No OFD packet to send [14:08:11]OFD Sender: No OFD packet to send [14:08:16]OFD Sender: No OFD packet to send [14:08:21]OFD Sender: No OFD packet to send [14:08:26]OFD Sender: No OFD packet to send [14:08:31]OFD Sender: No OFD packet to send [14:08:36]OFD Sender: No OFD packet to send [14:08:41]OFD Sender: No OFD packet to send [14:08:46]OFD Sender: No OFD packet to send [14:08:51]OFD Sender: No OFD packet to send [14:08:56]OFD Sender: No OFD packet to send [14:09:01]OFD Sender: No OFD packet to send [14:09:06]OFD Sender: No OFD packet to send [14:09:11]OFD Sender: No OFD packet to send [14:09:16]OFD Sender: No OFD packet to send [14:09:21]OFD Sender: No OFD packet to send [14:09:26]OFD Sender: No OFD packet to send [14:09:31]OFD Sender: No OFD packet to send [14:09:36]OFD Sender: No OFD packet to send [14:09:41]OFD Sender: No OFD packet to send [14:09:46]OFD Sender: No OFD packet to send [14:09:51]OFD Sender: No OFD packet to send [14:09:56]OFD Sender: No OFD packet to send [14:10:01]OFD Sender: No OFD packet to send [14:10:06]OFD Sender: No OFD packet to send [14:10:11]OFD Sender: No OFD packet to send [14:10:16]OFD Sender: No OFD packet to send [14:10:21]OFD Sender: No OFD packet to send [14:10:26]OFD Sender: No OFD packet to send [14:10:31]OFD Sender: No OFD packet to send [14:10:36]OFD Sender: No OFD packet to send [14:10:41]OFD Sender: No OFD packet to send [14:10:46]OFD Sender: No OFD packet to send [14:10:51]OFD Sender: No OFD packet to send [14:10:56]OFD Sender: No OFD packet to send [14:11:01]OFD Sender: No OFD packet to send [14:11:06]OFD Sender: No OFD packet to send [14:11:11]OFD Sender: No OFD packet to send [14:11:16]OFD Sender: No OFD packet to send [14:11:21]OFD Sender: No OFD packet to send [14:11:26]OFD Sender: No OFD packet to send [14:11:31]OFD Sender: No OFD packet to send [14:11:36]OFD Sender: No OFD packet to send [14:11:41]OFD Sender: No OFD packet to send [14:11:46]OFD Sender: No OFD packet to send [14:11:51]OFD Sender: No OFD packet to send [14:11:56]OFD Sender: No OFD packet to send [14:12:01]OFD Sender: No OFD packet to send [14:12:06]OFD Sender: No OFD packet to send [14:12:11]OFD Sender: No OFD packet to send [14:12:16]OFD Sender: No OFD packet to send [14:12:21]OFD Sender: No OFD packet to send [14:12:26]OFD Sender: No OFD packet to send [14:12:31]OFD Sender: No OFD packet to send [14:12:36]OFD Sender: No OFD packet to send [14:13:34]ConnectInit Can't connect to host [14:13:36]OFD Sender: No OFD packet to send [14:13:40]accept exits with 10 [14:13:40]New connection [14:13:40]New thread 3067293028 created [14:13:40]Thread 3067149668 joined [14:13:40]Waiting for new connection... [14:13:40] Sock 10.Parse request [14:13:40]Sock 10.Check first char [14:13:40]Sock 10.First char is OK [14:13:40]request: POST /json_proto HTTP/1.0 [14:13:40]Method: POST [14:13:40]URL: /json_proto [14:13:40]Method is POST - this is cgi request [14:13:40]url: /json_proto [14:13:40]query_string will be loaded in cgi processing [14:13:40]execute_cgi json_proto POST (null) [14:13:40]execute_cgi path=json_proto method=POST [14:13:40]POST find Content-Length [14:13:40]Host: 172.17.60.7:8080 [14:13:40]Content-Length: 215 [14:13:40]Content-Type: application/json [14:13:40] [14:13:40]POST finish read [14:13:40]Found Content-Length = 215 [14:13: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" ] } } [14:13:40]execute_script... [14:13: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" ] } } [14:13:40]POST & json_proto [14:13:40]process_json_proto [14:13:40]json parsed OK: [14:13:40]protocol is kg_v1.0 [14:13:40]action value=get_value [14:13:40]process_action get_value [14:13:40]cmd_get_value [14:13:40]process_action get_value done [14:13:40]requested_data is exist [14:13:40]produce_requested_data [14:13:40]requested_item kkm.sn is exist - process it [14:13:40]requested_item kkm.ver is exist - process it [14:13:40]requested_item fm.sn is exist - process it [14:13:40]wFMCommunicate request_size=4 [14:13:40]MH_SAM_APDU [14:13:40]CAPDU: 80 11 00 00 [14:13:40]Write to MH i2c: E2 08 00 1D 00 80 11 00 00 00 00 00 00 97 [14:13:40]Write i2c OK [14:13:40]MH_I2C_Read... [14:13:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:13:40]Read from MH i2c: E2 [14:13:40]MH_I2C_Read... [14:13:40]Read from MH i2c: E2 17 00 [14:13:40]MH_I2C_Read... [14:13:40]Read from MH i2c: E2 17 00 1D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 EA [14:13:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [14:13:40]wFMCommunicate OK [14:13:40]requested_item fd.num is exist - process it [14:13:40]SAM_PROTO_GetFieldsCounters [14:13:40]wFMCommunicate request_size=4 [14:13:40]MH_SAM_APDU [14:13:40]CAPDU: 80 13 00 00 [14:13:40]Write to MH i2c: E2 08 00 1E 00 80 13 00 00 00 00 00 00 9A [14:13:40]Write i2c OK [14:13:40]MH_I2C_Read... [14:13:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:13:41]Read from MH i2c: E2 [14:13:41]MH_I2C_Read... [14:13:41]Read from MH i2c: E2 62 00 [14:13:41]MH_I2C_Read... [14:13:41]Read from MH i2c: E2 62 00 1E 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 92 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 47 [14:13: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 92 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:13:41]wFMCommunicate OK [14:13:41]SAM_PROTO_GetFieldsCounters done [14:13:41]requested_item shift.num is exist - process it [14:13:41]requested_item shift.opened is exist - process it [14:13:41]req_shift_opened [14:13:41]FM_GetShiftState [14:13:41]SAM_PROTO_GetShiftState [14:13:41]wFMCommunicate request_size=4 [14:13:41]MH_SAM_APDU [14:13:41]CAPDU: 80 13 01 00 [14:13:41]Write to MH i2c: E2 08 00 1F 00 80 13 01 00 00 00 00 00 9C [14:13:41]Write i2c OK [14:13:41]MH_I2C_Read... [14:13:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:13:41]Read from MH i2c: E2 [14:13:41]MH_I2C_Read... [14:13:41]Read from MH i2c: E2 0E 00 [14:13:41]MH_I2C_Read... [14:13:41]Read from MH i2c: E2 0E 00 1F 00 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 C5 [14:13:41]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [14:13:41]wFMCommunicate OK [14:13:41]SAM_PROTO_GetShiftState done [14:13:41]FM_GetShiftState done [14:13:41]req_shift_opened done [14:13:41]requested_item shift.open_date is exist - process it [14:13:41]req_shift_open_date [14:13:41]req_shift_open_date done [14:13:41]produce_requested_data done [14:13:41]produce_requested_data return {"kkm.sn":"0300000007","kkm.ver":"001","fm.sn":"0000000000874715","fd.num":52626,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [14:13:41]process_action_free get_value [14:13:41]json_value_free [14:13:41]json_value_free done [14:13:41]process_json_proto returns [14:13:41]Send response to host [14:13:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000007","kkm.ver":"001","fm.sn":"0000000000874715","fd.num":52626,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [14:13:41]free response buf [14:13:41]execute_script done [14:13:41]execute_script returns [14:13:41]free content buf [14:13:41]Sock 10.Close socket [14:13:41]Sock 10.Thread stoped [14:13:41]OFD Sender: No OFD packet to send [14:13:44]accept exits with 9 [14:13:44]New connection [14:13:44]New thread 3067149668 created [14:13:44]Thread 3067293028 joined [14:13:44]Waiting for new connection... [14:13:44] Sock 9.Parse request [14:13:44]Sock 9.Check first char [14:13:44]Sock 9.First char is OK [14:13:44]request: POST /json_proto HTTP/1.0 [14:13:44]Method: POST [14:13:44]URL: /json_proto [14:13:44]Method is POST - this is cgi request [14:13:44]url: /json_proto [14:13:44]query_string will be loaded in cgi processing [14:13:44]execute_cgi json_proto POST (null) [14:13:44]execute_cgi path=json_proto method=POST [14:13:44]POST find Content-Length [14:13:44]Host: 172.17.60.7:8080 [14:13:44]Content-Length: 331 [14:13:44]Content-Type: application/json [14:13:44] [14:13:44]POST finish read [14:13:44]Found Content-Length = 331 [14:13:44]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" ] } } [14:13:44]execute_script... [14:13:44]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" ] } } [14:13:44]POST & json_proto [14:13:44]process_json_proto [14:13:44]json parsed OK: [14:13:44]protocol is kg_v1.0 [14:13:44]action value=get_value [14:13:44]process_action get_value [14:13:44]cmd_get_value [14:13:44]process_action get_value done [14:13:44]requested_data is exist [14:13:44]produce_requested_data [14:13:44]requested_item fm.sale.total is exist - process it [14:13:44]SAM_PROTO_GetFMData [14:13:44]wFMCommunicate request_size=4 [14:13:44]MH_SAM_APDU [14:13:44]CAPDU: 80 13 03 00 [14:13:44]Write to MH i2c: E2 08 00 20 00 80 13 03 00 00 00 00 00 9F [14:13:44]Write i2c OK [14:13:44]MH_I2C_Read... [14:13:44]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [14:13:44]Read from MH i2c: E2 [14:13:44]MH_I2C_Read... [14:13:44]Read from MH i2c: E2 FD 00 [14:13:44]MH_I2C_Read... [14:13:44]Read from MH i2c: E2 FD 00 20 00 00 C1 04 85 04 BD 04 6E 04 04 00 14 CA 00 00 69 04 A0 00 6F 04 04 00 F3 C9 00 00 B1 04 04 00 E2 0D 93 41 70 04 04 00 32 44 20 37 72 04 04 00 B0 C9 72 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BF 9E F6 06 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 77 71 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 08 [14:13:44]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 14 CA 00 00 69 04 A0 00 6F 04 04 00 F3 C9 00 00 B1 04 04 00 E2 0D 93 41 70 04 04 00 32 44 20 37 72 04 04 00 B0 C9 72 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BF 9E F6 06 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 77 71 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 [14:13:44]wFMCommunicate OK [14:13:44]wFMCommunicate request_size=4 [14:13:44]MH_SAM_APDU [14:13:44]CAPDU: 80 17 00 00 [14:13:44]Write to MH i2c: E2 08 00 21 00 80 17 00 00 00 00 00 00 A1 [14:13:44]Write i2c OK [14:13:44]MH_I2C_Read... [14:13:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:13:45]Read from MH i2c: E2 [14:13:45]MH_I2C_Read... [14:13:45]Read from MH i2c: E2 FD 00 [14:13:45]MH_I2C_Read... [14:13:45]Read from MH i2c: E2 FD 00 21 00 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 25 [14:13:45]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:13:45]wFMCommunicate OK [14:13:45]wFMCommunicate request_size=4 [14:13:45]MH_SAM_APDU [14:13:45]CAPDU: 80 17 00 00 [14:13:45]Write to MH i2c: E2 08 00 22 00 80 17 00 00 00 00 00 00 A2 [14:13:45]Write i2c OK [14:13:45]MH_I2C_Read... [14:13:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:13:45]Read from MH i2c: E2 [14:13:45]MH_I2C_Read... [14:13:45]Read from MH i2c: E2 FD 00 [14:13:45]MH_I2C_Read... [14:13:45]Read from MH i2c: E2 FD 00 22 00 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 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 90 00 42 [14:13:45]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 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 90 00 [14:13:45]wFMCommunicate OK [14:13:45]wFMCommunicate request_size=4 [14:13:45]MH_SAM_APDU [14:13:45]CAPDU: 80 17 00 00 [14:13:45]Write to MH i2c: E2 08 00 23 00 80 17 00 00 00 00 00 00 A3 [14:13:45]Write i2c OK [14:13:45]MH_I2C_Read... [14:13:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:13:45]Read from MH i2c: E2 [14:13:45]MH_I2C_Read... [14:13:45]Read from MH i2c: E2 FD 00 [14:13:45]MH_I2C_Read... [14:13:45]Read from MH i2c: E2 FD 00 23 00 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 28 [14:13:45]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:13:45]wFMCommunicate OK [14:13:45]wFMCommunicate request_size=4 [14:13:45]MH_SAM_APDU [14:13:45]CAPDU: 80 17 00 00 [14:13:45]Write to MH i2c: E2 08 00 24 00 80 17 00 00 00 00 00 00 A4 [14:13:45]Write i2c OK [14:13:45]MH_I2C_Read... [14:13:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [14:13:45]Read from MH i2c: E2 [14:13:45]MH_I2C_Read... [14:13:45]Read from MH i2c: E2 DE 00 [14:13:45]MH_I2C_Read... [14:13:45]Read from MH i2c: E2 DE 00 24 00 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 83 [14:13:45]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 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 [14:13:45]wFMCommunicate OK [14:13:45]SAM_PROTO_GetFMData done [14:13:45]requested_item fm.sale_refund.total is exist - process it [14:13:45]requested_item fm.buy.total is exist - process it [14:13:45]requested_item shift.sale.total is exist - process it [14:13:45]SAM_PROTO_GetShiftData [14:13:45]wFMCommunicate request_size=4 [14:13:45]MH_SAM_APDU [14:13:45]CAPDU: 80 13 02 00 [14:13:45]Write to MH i2c: E2 08 00 25 00 80 13 02 00 00 00 00 00 A3 [14:13:45]Write i2c OK [14:13:45]MH_I2C_Read... [14:13:46]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:13:46]Read from MH i2c: E2 [14:13:46]MH_I2C_Read... [14:13:46]Read from MH i2c: E2 FD 00 [14:13:46]MH_I2C_Read... [14:13:46]Read from MH i2c: E2 FD 00 25 00 00 AE 04 AA 04 AA 04 6E 04 04 00 25 00 00 00 69 04 9B 00 6F 04 04 00 25 00 00 00 B1 04 03 00 18 76 0D 70 04 03 00 B0 A1 03 72 04 03 00 68 D4 09 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 EE 6D 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 7F 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 DB [14:13:46]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 25 00 00 00 69 04 9B 00 6F 04 04 00 25 00 00 00 B1 04 03 00 18 76 0D 70 04 03 00 B0 A1 03 72 04 03 00 68 D4 09 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 EE 6D 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 7F 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [14:13:46]wFMCommunicate OK [14:13:46]wFMCommunicate request_size=4 [14:13:46]MH_SAM_APDU [14:13:46]CAPDU: 80 17 00 00 [14:13:46]Write to MH i2c: E2 08 00 26 00 80 17 00 00 00 00 00 00 A6 [14:13:46]Write i2c OK [14:13:46]MH_I2C_Read... [14:13:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:13:46]Read from MH i2c: E2 [14:13:46]MH_I2C_Read... [14:13:46]Read from MH i2c: E2 FD 00 [14:13:46]MH_I2C_Read... [14:13:46]Read from MH i2c: E2 FD 00 26 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 C8 [14:13:46]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 [14:13:46]wFMCommunicate OK [14:13:46]wFMCommunicate request_size=4 [14:13:46]MH_SAM_APDU [14:13:46]CAPDU: 80 17 00 00 [14:13:46]Write to MH i2c: E2 08 00 27 00 80 17 00 00 00 00 00 00 A7 [14:13:46]Write i2c OK [14:13:46]MH_I2C_Read... [14:13:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:13:46]Read from MH i2c: E2 [14:13:46]MH_I2C_Read... [14:13:46]Read from MH i2c: E2 FD 00 [14:13:46]MH_I2C_Read... [14:13:46]Read from MH i2c: E2 FD 00 27 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 5E [14:13:46]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 [14:13:46]wFMCommunicate OK [14:13:46]wFMCommunicate request_size=4 [14:13:46]MH_SAM_APDU [14:13:46]CAPDU: 80 17 00 00 [14:13:46]Write to MH i2c: E2 08 00 28 00 80 17 00 00 00 00 00 00 A8 [14:13:46]Write i2c OK [14:13:46]MH_I2C_Read... [14:13:47]OFD Sender: No OFD packet to send [14:13:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:13:47]Read from MH i2c: E2 [14:13:47]MH_I2C_Read... [14:13:47]Read from MH i2c: E2 FD 00 [14:13:47]MH_I2C_Read... [14:13:47]Read from MH i2c: E2 FD 00 28 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 1A [14:13:47]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 [14:13:47]wFMCommunicate OK [14:13:47]wFMCommunicate request_size=4 [14:13:47]MH_SAM_APDU [14:13:47]CAPDU: 80 17 00 00 [14:13:47]Write to MH i2c: E2 08 00 29 00 80 17 00 00 00 00 00 00 A9 [14:13:47]Write i2c OK [14:13:47]MH_I2C_Read... [14:13:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [14:13:47]Read from MH i2c: E2 [14:13:47]MH_I2C_Read... [14:13:47]Read from MH i2c: E2 CB 00 [14:13:47]MH_I2C_Read... [14:13:47]Read from MH i2c: E2 CB 00 29 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 92 [14:13:47]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 [14:13:47]wFMCommunicate OK [14:13:47]SAM_PROTO_GetShiftData done [14:13:47]requested_item shift.sale.total_cash is exist - process it [14:13:47]requested_item shift.sale_refund.total is exist - process it [14:13:47]requested_item shift.sale_refund.total_cash is exist - process it [14:13:47]requested_item shift.buy.total is exist - process it [14:13:47]requested_item shift.buy.total_cash is exist - process it [14:13:47]produce_requested_data done [14:13:47]produce_requested_data return {"fm.sale.total":11001563.86,"fm.sale_refund.total":26895.00,"fm.buy.total":0.00,"shift.sale.total":8822.00,"shift.sale.total_cash":2380.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} [14:13:47]process_action_free get_value [14:13:47]json_value_free [14:13:47]json_value_free done [14:13:47]process_json_proto returns [14:13:47]Send response to host [14:13:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11001563.86,"fm.sale_refund.total":26895.00,"fm.buy.total":0.00,"shift.sale.total":8822.00,"shift.sale.total_cash":2380.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}}} [14:13:47]free response buf [14:13:47]execute_script done [14:13:47]execute_script returns [14:13:47]free content buf [14:13:47]Sock 9.Close socket [14:13:47]Sock 9.Thread stoped [14:13:52]OFD Sender: No OFD packet to send [14:13:57]OFD Sender: No OFD packet to send [14:14:02]OFD Sender: No OFD packet to send [14:14:07]OFD Sender: No OFD packet to send [14:14:12]OFD Sender: No OFD packet to send [14:14:17]OFD Sender: No OFD packet to send [14:14:22]OFD Sender: No OFD packet to send [14:14:27]OFD Sender: No OFD packet to send [14:14:32]OFD Sender: No OFD packet to send [14:14:37]OFD Sender: No OFD packet to send [14:14:42]OFD Sender: No OFD packet to send [14:14:47]OFD Sender: No OFD packet to send [14:14:52]OFD Sender: No OFD packet to send [14:14:57]OFD Sender: No OFD packet to send [14:15:02]OFD Sender: No OFD packet to send [14:15:07]OFD Sender: No OFD packet to send [14:15:12]OFD Sender: No OFD packet to send [14:15:17]OFD Sender: No OFD packet to send [14:15:22]OFD Sender: No OFD packet to send [14:15:27]OFD Sender: No OFD packet to send [14:15:32]OFD Sender: No OFD packet to send [14:15:37]OFD Sender: No OFD packet to send [14:15:42]OFD Sender: No OFD packet to send [14:15:47]OFD Sender: No OFD packet to send [14:15:52]OFD Sender: No OFD packet to send [14:15:57]OFD Sender: No OFD packet to send [14:16:02]OFD Sender: No OFD packet to send [14:16:07]OFD Sender: No OFD packet to send [14:16:12]OFD Sender: No OFD packet to send [14:16:17]OFD Sender: No OFD packet to send [14:16:22]OFD Sender: No OFD packet to send [14:16:27]OFD Sender: No OFD packet to send [14:16:32]OFD Sender: No OFD packet to send [14:16:37]OFD Sender: No OFD packet to send [14:16:42]OFD Sender: No OFD packet to send [14:16:47]OFD Sender: No OFD packet to send [14:16:52]OFD Sender: No OFD packet to send [14:16:57]OFD Sender: No OFD packet to send [14:17:02]OFD Sender: No OFD packet to send [14:17:07]OFD Sender: No OFD packet to send [14:17:12]OFD Sender: No OFD packet to send [14:17:17]OFD Sender: No OFD packet to send [14:17:22]OFD Sender: No OFD packet to send [14:17:27]OFD Sender: No OFD packet to send [14:17:32]OFD Sender: No OFD packet to send [14:17:37]OFD Sender: No OFD packet to send [14:17:42]OFD Sender: No OFD packet to send [14:17:47]OFD Sender: No OFD packet to send [14:17:52]OFD Sender: No OFD packet to send [14:17:57]OFD Sender: No OFD packet to send [14:18:02]OFD Sender: No OFD packet to send [14:18:07]OFD Sender: No OFD packet to send [14:18:12]OFD Sender: No OFD packet to send [14:18:17]OFD Sender: No OFD packet to send [14:18:22]OFD Sender: No OFD packet to send [14:18:27]OFD Sender: No OFD packet to send [14:18:32]OFD Sender: No OFD packet to send [14:18:37]OFD Sender: No OFD packet to send [14:18:42]OFD Sender: No OFD packet to send [14:18:47]OFD Sender: No OFD packet to send [14:18:52]OFD Sender: No OFD packet to send [14:18:57]OFD Sender: No OFD packet to send [14:19:02]OFD Sender: No OFD packet to send [14:19:07]OFD Sender: No OFD packet to send [14:19:12]OFD Sender: No OFD packet to send [14:19:17]OFD Sender: No OFD packet to send [14:19:22]OFD Sender: No OFD packet to send [14:19:27]OFD Sender: No OFD packet to send [14:19:32]OFD Sender: No OFD packet to send [14:19:37]OFD Sender: No OFD packet to send [14:19:42]OFD Sender: No OFD packet to send [14:19:47]OFD Sender: No OFD packet to send [14:19:52]OFD Sender: No OFD packet to send [14:19:57]OFD Sender: No OFD packet to send [14:20:02]OFD Sender: No OFD packet to send [14:20:07]OFD Sender: No OFD packet to send [14:20:12]OFD Sender: No OFD packet to send [14:20:17]OFD Sender: No OFD packet to send [14:20:22]OFD Sender: No OFD packet to send [14:20:27]OFD Sender: No OFD packet to send [14:20:32]OFD Sender: No OFD packet to send [14:20:37]OFD Sender: No OFD packet to send [14:20:42]OFD Sender: No OFD packet to send [14:20:47]OFD Sender: No OFD packet to send [14:20:52]OFD Sender: No OFD packet to send [14:20:57]OFD Sender: No OFD packet to send [14:21:02]OFD Sender: No OFD packet to send [14:21:07]OFD Sender: No OFD packet to send [14:21:12]OFD Sender: No OFD packet to send [14:21:17]OFD Sender: No OFD packet to send [14:21:22]OFD Sender: No OFD packet to send [14:21:27]OFD Sender: No OFD packet to send [14:21:32]OFD Sender: No OFD packet to send [14:21:37]OFD Sender: No OFD packet to send [14:21:40]accept exits with 7 [14:21:40]New connection [14:21:40]New thread 3067293028 created [14:21:40]Thread 3067149668 joined [14:21:40]Waiting for new connection... [14:21:40] Sock 7.Parse request [14:21:40]Sock 7.Check first char [14:21:40]Sock 7.First char is OK [14:21:40]request: POST /json_proto HTTP/1.0 [14:21:40]Method: POST [14:21:40]URL: /json_proto [14:21:40]Method is POST - this is cgi request [14:21:40]url: /json_proto [14:21:40]query_string will be loaded in cgi processing [14:21:40]execute_cgi json_proto POST (null) [14:21:40]execute_cgi path=json_proto method=POST [14:21:40]POST find Content-Length [14:21:40]Host: 172.17.60.7:8080 [14:21:40]Content-Length: 827 [14:21:40]Content-Type: application/json [14:21:40] [14:21:40]POST finish read [14:21:40]Found Content-Length = 827 [14:21:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122758", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:21:40]execute_script... [14:21:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122758", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:21:40]POST & json_proto [14:21:40]process_json_proto [14:21:40]json parsed OK: [14:21:40]protocol is kg_v1.0 [14:21:40]action value=close_receipt [14:21:40]process_action close_receipt [14:21:40]cmd_close_receipt [14:21:40]MH_GetDate [14:21:40]Write to MH i2c: F0 00 00 2A 00 19 [14:21:40]Write i2c OK [14:21:40]MH_I2C_Read... [14:21:40]Read from MH i2c: F0 [14:21:40]MH_I2C_Read... [14:21:40]Read from MH i2c: F0 09 00 [14:21:40]MH_I2C_Read... [14:21:40]Read from MH i2c: F0 09 00 2A 00 00 F5 C8 B8 66 63 9B 67 64 C6 [14:21:41]GetLastDocTimeStamp 1723384489 [14:21:41]current date 1723386101 [14:21:41]FM_GetShiftState [14:21:41]SAM_PROTO_GetShiftState [14:21:41]wFMCommunicate request_size=4 [14:21:41]MH_SAM_APDU [14:21:41]CAPDU: 80 13 01 00 [14:21:41]Write to MH i2c: E2 08 00 2B 00 80 13 01 00 00 00 00 00 A8 [14:21:41]Write i2c OK [14:21:41]MH_I2C_Read... [14:21:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:21:41]Read from MH i2c: E2 [14:21:41]MH_I2C_Read... [14:21:41]Read from MH i2c: E2 0E 00 [14:21:41]MH_I2C_Read... [14:21:41]Read from MH i2c: E2 0E 00 2B 00 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 D1 [14:21:41]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [14:21:41]wFMCommunicate OK [14:21:41]SAM_PROTO_GetShiftState done [14:21:41]FM_GetShiftState done [14:21:41]opened in 1723336186 [14:21:41]opened+sec_in_day 1723422586 [14:21:41]quantity*price = 6700 [14:21:41]sum+1 = 6701 [14:21:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 67.00 НСП 1% : 0.59 НДС 12% : 7.11 Наличными: 0.00 Безнал.: 67.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 38 11.08.2024 14:21 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52627 ФПД: 86926156668952 /tax-web-control/client/api/v1/ticket?date=20240811T142141&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52627&fm=86926156668952&tin=02508201610067®Number=0000000000090834&sum=6700 0 [14:21:42]StoreToDocumentArchive [14:21:42]shift 446 fd 52627 [14:21:42]save to /storage/0446/doc_00052627 [14:21:42]save last doc name /storage/0446/doc_00052627 to /storage/kkm_last_doc_name [14:21:42]save OK [14:21:42]Clear old archive folders... [14:21:42]ProcessDocumentItem done err = 0, tmpTLVsize=284 [14:21:42]tlvbuf is 0126BB10 [14:21:42]SAM_PROTO_ClearQueue [14:21:42]wFMCommunicate request_size=4 [14:21:42]MH_SAM_APDU [14:21:42]CAPDU: 80 09 00 00 [14:21:42]Write to MH i2c: E2 08 00 38 00 80 09 00 00 00 00 00 00 AA [14:21:42]Write i2c OK [14:21:42]MH_I2C_Read... [14:21:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:21:42]Read from MH i2c: E2 [14:21:42]MH_I2C_Read... [14:21:42]Read from MH i2c: E2 03 00 [14:21:42]MH_I2C_Read... [14:21:42]Read from MH i2c: E2 03 00 38 00 00 90 00 AC [14:21:42]RAPDU: 90 00 [14:21:42]wFMCommunicate OK [14:21:42]SAM_PROTO_ClearQueue done [14:21:42]KKMCreateOFDPacket [14:21:42]OFDProtocolAddRootSTLVToBuf [14:21:42]FM_MakeSignedData [14:21:42]FM_MakeSignedData [14:21:42]SAM_PROTO_SignData [14:21:42]wFMCommunicate request_size=4 [14:21:42]MH_SAM_APDU [14:21:42]CAPDU: 80 0D 01 02 [14:21:42]Write to MH i2c: E2 08 00 39 00 80 0D 01 02 00 00 00 00 B2 [14:21:42]Write i2c OK [14:21:42]MH_I2C_Read... [14:21:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:21:42]Read from MH i2c: E2 [14:21:42]MH_I2C_Read... [14:21:42]Read from MH i2c: E2 03 00 [14:21:42]MH_I2C_Read... [14:21:42]Read from MH i2c: E2 03 00 39 00 00 90 00 AD [14:21:42]RAPDU: 90 00 [14:21:42]wFMCommunicate OK [14:21:42]wFMCommunicate request_size=255 [14:21:42]MH_SAM_APDU [14:21:42]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 F5 C8 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 [14:21:42]Write to MH i2c: E2 02 01 3A 00 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 F5 C8 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 00 00 92 [14:21:42]Write i2c OK [14:21:42]MH_I2C_Read... [14:21:42]OFD Sender: No OFD packet to send [14:21:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:21:42]Read from MH i2c: E2 [14:21:42]MH_I2C_Read... [14:21:42]Read from MH i2c: E2 03 00 [14:21:42]MH_I2C_Read... [14:21:42]Read from MH i2c: E2 03 00 3A 00 00 90 00 AE [14:21:42]RAPDU: 90 00 [14:21:42]wFMCommunicate OK [14:21:42]wFMCommunicate request_size=43 [14:21:42]MH_SAM_APDU [14:21:42]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 93 CD 00 00 35 04 06 00 4F 0F 12 B0 A0 18 [14:21:42]Write to MH i2c: E2 2E 00 3B 00 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 93 CD 00 00 35 04 06 00 4F 0F 12 B0 A0 18 00 00 D5 [14:21:42]Write i2c OK [14:21:42]MH_I2C_Read... [14:21:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:21:42]Read from MH i2c: E2 [14:21:42]MH_I2C_Read... [14:21:42]Read from MH i2c: E2 03 00 [14:21:42]MH_I2C_Read... [14:21:42]Read from MH i2c: E2 03 00 3B 00 00 90 00 AF [14:21:42]RAPDU: 90 00 [14:21:42]wFMCommunicate OK [14:21:42]wFMCommunicate request_size=4 [14:21:42]MH_SAM_APDU [14:21:42]CAPDU: 80 0D 03 02 [14:21:42]Write to MH i2c: E2 08 00 3C 00 80 0D 03 02 00 00 00 00 B7 [14:21:42]Write i2c OK [14:21:42]MH_I2C_Read... [14:21:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:21:42]Read from MH i2c: E2 [14:21:42]MH_I2C_Read... [14:21:42]Read from MH i2c: E2 0B 00 [14:21:42]MH_I2C_Read... [14:21:42]Read from MH i2c: E2 0B 00 3C 00 00 BC DB 94 02 1D FE B0 36 90 00 E6 [14:21:42]RAPDU: BC DB 94 02 1D FE B0 36 90 00 [14:21:42]wFMCommunicate OK [14:21:42]SAM_PROTO_SignData done [14:21:42]FM_MakeSignedData done [14:21:42]CreateOFDProtocolMessage [14:21:42]wFMCommunicate request_size=4 [14:21:42]MH_SAM_APDU [14:21:42]CAPDU: 80 11 00 00 [14:21:42]Write to MH i2c: E2 08 00 3D 00 80 11 00 00 00 00 00 00 B7 [14:21:42]Write i2c OK [14:21:42]MH_I2C_Read... [14:21:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:21:42]Read from MH i2c: E2 [14:21:42]MH_I2C_Read... [14:21:42]Read from MH i2c: E2 17 00 [14:21:42]MH_I2C_Read... [14:21:42]Read from MH i2c: E2 17 00 3D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 0A [14:21:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [14:21:42]wFMCommunicate OK [14:21:42]CreateOFDProtocolMessage done [14:21:42]OFDSenderStorePacket 52627 [14:21:42]StoreOFDPacket docnum=52627 [14:21:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 30 01 00 00 23 27 28 01 EF 1F 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 F5 C8 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 93 CD 00 00 35 04 06 00 4F 0F 12 B0 A0 18 BC DB 94 02 1D FE B0 36 [14:21:42]CheckFolder [14:21:42]dirname=/storage/ofd_packets [14:21:42]CheckFolder done [14:21:42]ProducePacketName [14:21:42]name=ofd_packets/00052627 [14:21:42]NVStorageSaveData ofd_packets/00052627 [14:21:42]File name is /storage/ofd_packets/00052627 [14:21:42]Write 334 bytes [14:21:42]NVStorageSaveData done [14:21:42]OFDSenderStorePacket done [14:21:42]KKMCreateOFDPacket done [14:21:42]NVStorageSaveData kkm_last_timestamp [14:21:42]File name is /storage/kkm_last_timestamp [14:21:42]Write 4 bytes [14:21:42]NVStorageSaveData done [14:21:42]ExternCall_PrintAddStr [14:21:42]wPrintStart [14:21:42]Write to MH i2c: 01 00 00 3E 00 3E [14:21:42]Write i2c OK [14:21:42]MH_I2C_Read... [14:21:42]Read from MH i2c: 01 [14:21:42]MH_I2C_Read... [14:21:42]Read from MH i2c: 01 07 00 [14:21:42]MH_I2C_Read... [14:21:42]Read from MH i2c: 01 07 00 3E 00 00 00 00 00 00 FF 0F 53 [14:21:42]RasterBufferAndPrint [14:21:42]line Счет N : (3)122758 [14:21:42]line ИНН: 02508201610067 [14:21:42]line Контрольно-Кассовый Чек [14:21:42]line ПРОДАЖА [14:21:42]line Товар: 6931280300549 [14:21:42]line Зажигалка Cricket ПН пьезо [14:21:42]line 1.000 * 67.00 [14:21:42]line = 67.00 [14:21:42]line НДС 12% НСП 1% [14:21:42]line > о реализуемом товаре [14:21:42]line ИТОГО: 67.00 [14:21:42]line НСП 1% : 0.59 [14:21:42]line НДС 12% : 7.11 [14:21:42]line Наличными: 0.00 [14:21:42]line Безнал.: 67.00 [14:21:42]line Место: АЗС № 54 "Партнер Нефть" [14:21:42]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [14:21:42]line СНО: Общий режим [14:21:42]line Чек 38 11.08.2024 14:21 [14:21:42]line Смена: 446 ФФД: 1.0 [14:21:42]line ЗНМ: 0300000007 [14:21:42]line РНМ: 0000000000090834 [14:21:42]line Версия ККМ: 001 [14:21:42]line Платежная система: О! деньги [14:21:42]line ФМ: 0000000000874715 [14:21:42]line ФД: 52627 [14:21:42]line ФПД: 86926156668952 [14:21:43]line /tax-web-control/client/api/v1/ticket?date=20240811T142141&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52627&fm=86926156668952&tin=02508201610067®Number=0000000000090834&sum=6700 [14:21:43]OFD Sender: Processing packet 52627 [packets to send 55, broken 54] [14:21:43]ProducePacketName [14:21:43]name=ofd_packets/00052627 [14:21:43]OFD Sender: To server: pG, [14:21:43]CommunicateWithHost lk.salyk.kg:30040 [14:21:43]ConnectInit lk.salyk.kg [14:21:43]line 0 [14:21:43]written 0, free lines is 4095 [14:21:43]Connected sock=10 [14:21:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 30 01 00 00 23 27 28 01 EF 1F 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2C 1A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 F5 C8 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 93 CD 00 00 35 04 06 00 4F 0F 12 B0 A0 18 BC DB 94 02 1D FE B0 36 [14:21:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 84 67 47 00 D1 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 34 37 31 35 10 04 04 00 93 CD 00 00 F4 03 04 00 90 70 B8 66 B6 04 01 00 00 63 9E E3 2D 06 2D 70 63 [14:21:43]CommunicateWithHost err = 0 [14:21:43]CheckOFDResponse [14:21:43]1017 (14) - 77093643461234 [14:21:43]1041 (16) - 0000000000874715 [14:21:43]1040 (4) - 52627 [14:21:43]1012 (4) - 11.08.2024 08:04 [14:21:43]1206 (1) - 0 [14:21:43]OFD Sender: Remove packet 52627 [14:21:43]ProducePacketName [14:21:43]name=ofd_packets/00052627 [14:21:43]NVStorageDeleteData [14:21:43]Write to MH i2c: 01 00 00 67 00 67 [14:21:43]Write i2c OK [14:21:43]MH_I2C_Read... [14:21:43]Read from MH i2c: 01 [14:21:43]MH_I2C_Read... [14:21:43]Read from MH i2c: 01 07 00 [14:21:43]MH_I2C_Read... [14:21:43]Read from MH i2c: 01 07 00 67 00 00 00 00 00 00 E9 0C 63 [14:21:43]RasterBufferAndPrint [14:21:43]line [14:21:43]line [14:21:43]line [14:21:43]line [14:21:43]line [14:21:43]written 0, free lines is 3313 [14:21:43]MH_Cut [14:21:43]Write to MH i2c: D1 01 00 6E 00 01 40 [14:21:43]Write i2c OK [14:21:43]MH_I2C_Read... [14:21:43]Read from MH i2c: D1 [14:21:43]MH_I2C_Read... [14:21:43]Read from MH i2c: D1 01 00 [14:21:43]MH_I2C_Read... [14:21:43]Read from MH i2c: D1 01 00 6E 00 00 3F [14:21:43]Write to MH i2c: 01 00 00 6F 00 6F [14:21:43]Write i2c OK [14:21:43]MH_I2C_Read... [14:21:44]OFD Sender: No OFD packet to send [14:21:44]*** Cut start [14:21:44]*** Purtial cut [14:21:44]*** Stage 1: CUTSNS_PIN = 1 [14:21:44]Read from MH i2c: 01 [14:21:44]MH_I2C_Read... [14:21:44]*** Stop cut motor [14:21:44]*** Cut end [14:21:44]Read from MH i2c: 01 07 00 [14:21:44]MH_I2C_Read... [14:21:44]Read from MH i2c: 01 07 00 6F 00 00 00 00 00 00 FF 0F 84 [14:21:44]process_action close_receipt done [14:21:44]requested_data is exist [14:21:44]produce_requested_data [14:21:44]requested_item fm.sn is exist - process it [14:21:44]wFMCommunicate request_size=4 [14:21:44]MH_SAM_APDU [14:21:44]CAPDU: 80 11 00 00 [14:21:44]Write to MH i2c: E2 08 00 70 00 80 11 00 00 00 00 00 00 EA [14:21:44]Write i2c OK [14:21:44]MH_I2C_Read... [14:21:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:21:44]Read from MH i2c: E2 [14:21:44]MH_I2C_Read... [14:21:44]Read from MH i2c: E2 17 00 [14:21:44]MH_I2C_Read... [14:21:44]Read from MH i2c: E2 17 00 70 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 3D [14:21:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [14:21:44]wFMCommunicate OK [14:21:44]requested_item fd.num is exist - process it [14:21:44]SAM_PROTO_GetFieldsCounters [14:21:44]wFMCommunicate request_size=4 [14:21:44]MH_SAM_APDU [14:21:44]CAPDU: 80 13 00 00 [14:21:44]Write to MH i2c: E2 08 00 71 00 80 13 00 00 00 00 00 00 ED [14:21:44]Write i2c OK [14:21:44]MH_I2C_Read... [14:21:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:21:44]Read from MH i2c: E2 [14:21:44]MH_I2C_Read... [14:21:44]Read from MH i2c: E2 62 00 [14:21:44]MH_I2C_Read... [14:21:44]Read from MH i2c: E2 62 00 71 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 93 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 9E [14:21: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 93 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:21:44]wFMCommunicate OK [14:21:44]SAM_PROTO_GetFieldsCounters done [14:21:44]requested_item shift.num is exist - process it [14:21:44]requested_item shift.opened is exist - process it [14:21:44]req_shift_opened [14:21:44]FM_GetShiftState [14:21:44]SAM_PROTO_GetShiftState [14:21:44]wFMCommunicate request_size=4 [14:21:44]MH_SAM_APDU [14:21:44]CAPDU: 80 13 01 00 [14:21:44]Write to MH i2c: E2 08 00 72 00 80 13 01 00 00 00 00 00 EF [14:21:44]Write i2c OK [14:21:44]MH_I2C_Read... [14:21:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:21:44]Read from MH i2c: E2 [14:21:44]MH_I2C_Read... [14:21:44]Read from MH i2c: E2 0E 00 [14:21:44]MH_I2C_Read... [14:21:44]Read from MH i2c: E2 0E 00 72 00 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 18 [14:21:44]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [14:21:44]wFMCommunicate OK [14:21:44]SAM_PROTO_GetShiftState done [14:21:44]FM_GetShiftState done [14:21:44]req_shift_opened done [14:21:44]requested_item shift.open_date is exist - process it [14:21:44]req_shift_open_date [14:21:44]req_shift_open_date done [14:21:44]produce_requested_data done [14:21:44]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52627,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [14:21:44]process_action_free close_receipt [14:21:44]json_value_free [14:21:44]json_value_free done [14:21:44]process_json_proto returns [14:21:44]Send response to host [14:21:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52627,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [14:21:44]free response buf [14:21:44]execute_script done [14:21:44]execute_script returns [14:21:44]free content buf [14:21:44]Sock 7.Close socket [14:21:44]Sock 7.Thread stoped [14:21:49]OFD Sender: No OFD packet to send [14:21:54]OFD Sender: No OFD packet to send [14:21:59]OFD Sender: No OFD packet to send [14:22:04]OFD Sender: No OFD packet to send [14:22:09]OFD Sender: No OFD packet to send [14:22:14]OFD Sender: No OFD packet to send [14:22:19]OFD Sender: No OFD packet to send [14:22:24]OFD Sender: No OFD packet to send [14:22:29]OFD Sender: No OFD packet to send [14:22:34]OFD Sender: No OFD packet to send [14:22:39]OFD Sender: No OFD packet to send [14:22:44]OFD Sender: No OFD packet to send [14:22:49]OFD Sender: No OFD packet to send [14:22:54]OFD Sender: No OFD packet to send [14:22:59]OFD Sender: No OFD packet to send [14:23:04]OFD Sender: No OFD packet to send [14:23:09]OFD Sender: No OFD packet to send [14:23:14]OFD Sender: No OFD packet to send [14:23:19]OFD Sender: No OFD packet to send [14:23:24]OFD Sender: No OFD packet to send [14:23:29]OFD Sender: No OFD packet to send [14:23:34]OFD Sender: No OFD packet to send [14:23:39]OFD Sender: No OFD packet to send [14:23:44]OFD Sender: No OFD packet to send [14:23:49]OFD Sender: No OFD packet to send [14:23:54]OFD Sender: No OFD packet to send [14:23:59]OFD Sender: No OFD packet to send [14:24:04]OFD Sender: No OFD packet to send [14:24:09]OFD Sender: No OFD packet to send [14:24:14]OFD Sender: No OFD packet to send [14:24:19]OFD Sender: No OFD packet to send [14:24:24]OFD Sender: No OFD packet to send [14:24:29]OFD Sender: No OFD packet to send [14:24:34]OFD Sender: No OFD packet to send [14:24:39]OFD Sender: No OFD packet to send [14:24:44]OFD Sender: No OFD packet to send [14:24:49]OFD Sender: No OFD packet to send [14:24:54]OFD Sender: No OFD packet to send [14:24:59]OFD Sender: No OFD packet to send [14:25:04]OFD Sender: No OFD packet to send [14:25:09]OFD Sender: No OFD packet to send [14:25:14]OFD Sender: No OFD packet to send [14:25:19]OFD Sender: No OFD packet to send [14:25:24]OFD Sender: No OFD packet to send [14:25:29]OFD Sender: No OFD packet to send [14:25:34]OFD Sender: No OFD packet to send [14:25:39]OFD Sender: No OFD packet to send [14:25:44]OFD Sender: No OFD packet to send [14:25:49]OFD Sender: No OFD packet to send [14:25:52]accept exits with 9 [14:25:52]New connection [14:25:52]New thread 3067149668 created [14:25:52]Thread 3067293028 joined [14:25:52]Waiting for new connection... [14:25:52] Sock 9.Parse request [14:25:52]Sock 9.Check first char [14:25:52]Sock 9.First char is OK [14:25:52]request: POST /json_proto HTTP/1.0 [14:25:52]Method: POST [14:25:52]URL: /json_proto [14:25:52]Method is POST - this is cgi request [14:25:52]url: /json_proto [14:25:52]query_string will be loaded in cgi processing [14:25:52]execute_cgi json_proto POST (null) [14:25:52]execute_cgi path=json_proto method=POST [14:25:52]POST find Content-Length [14:25:52]Host: 172.17.60.7:8080 [14:25:52]Content-Length: 788 [14:25:52]Content-Type: application/json [14:25:52] [14:25:52]POST finish read [14:25:52]Found Content-Length = 788 [14:25:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122759", "tax_sys" : 0, "items" : [ { "code": "48744997", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Compact Blue", "price" : 135.00, "quantity" : 2.000, "sum" : 270.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:25:52]execute_script... [14:25:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122759", "tax_sys" : 0, "items" : [ { "code": "48744997", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Compact Blue", "price" : 135.00, "quantity" : 2.000, "sum" : 270.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:25:52]POST & json_proto [14:25:52]process_json_proto [14:25:52]json parsed OK: [14:25:52]protocol is kg_v1.0 [14:25:52]action value=close_receipt [14:25:52]process_action close_receipt [14:25:52]cmd_close_receipt [14:25:52]MH_GetDate [14:25:52]Write to MH i2c: F0 00 00 73 00 62 [14:25:52]Write i2c OK [14:25:52]MH_I2C_Read... [14:25:52]Read from MH i2c: F0 [14:25:52]MH_I2C_Read... [14:25:52]Read from MH i2c: F0 09 00 [14:25:52]MH_I2C_Read... [14:25:52]Read from MH i2c: F0 09 00 73 00 00 F1 C9 B8 66 63 9B 67 64 0C [14:25:52]GetLastDocTimeStamp 1723386101 [14:25:52]current date 1723386353 [14:25:52]FM_GetShiftState [14:25:52]SAM_PROTO_GetShiftState [14:25:52]wFMCommunicate request_size=4 [14:25:52]MH_SAM_APDU [14:25:52]CAPDU: 80 13 01 00 [14:25:52]Write to MH i2c: E2 08 00 74 00 80 13 01 00 00 00 00 00 F1 [14:25:52]Write i2c OK [14:25:52]MH_I2C_Read... [14:25:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:25:52]Read from MH i2c: E2 [14:25:52]MH_I2C_Read... [14:25:52]Read from MH i2c: E2 0E 00 [14:25:52]MH_I2C_Read... [14:25:52]Read from MH i2c: E2 0E 00 74 00 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 1A [14:25:52]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [14:25:52]wFMCommunicate OK [14:25:52]SAM_PROTO_GetShiftState done [14:25:52]FM_GetShiftState done [14:25:52]opened in 1723336186 [14:25:52]opened+sec_in_day 1723422586 [14:25:52]quantity*price = 27000 [14:25:52]sum+1 = 27001 [14:25:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 270.00 НСП 1% : 2.39 НДС 12% : 28.67 Наличными: 0.00 Безнал.: 270.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 39 11.08.2024 14:25 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52628 ФПД: 125543162635743 /tax-web-control/client/api/v1/ticket?date=20240811T142553&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52628&fm=125543162635743&tin=02508201610067®Number=0000000000090834&sum=27000 0 [14:25:54]StoreToDocumentArchive [14:25:54]shift 446 fd 52628 [14:25:54]save to /storage/0446/doc_00052628 [14:25:54]save last doc name /storage/0446/doc_00052628 to /storage/kkm_last_doc_name [14:25:54]save OK [14:25:54]Clear old archive folders... [14:25:54]ProcessDocumentItem done err = 0, tmpTLVsize=274 [14:25:54]tlvbuf is 0125A030 [14:25:54]SAM_PROTO_ClearQueue [14:25:54]wFMCommunicate request_size=4 [14:25:54]MH_SAM_APDU [14:25:54]CAPDU: 80 09 00 00 [14:25:54]Write to MH i2c: E2 08 00 81 00 80 09 00 00 00 00 00 00 F3 [14:25:54]Write i2c OK [14:25:54]MH_I2C_Read... [14:25:54]Read from MH i2c: E2 [14:25:54]MH_I2C_Read... [14:25:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:25:54]Read from MH i2c: E2 03 00 [14:25:54]MH_I2C_Read... [14:25:54]Read from MH i2c: E2 03 00 81 00 00 90 00 F5 [14:25:54]RAPDU: 90 00 [14:25:54]wFMCommunicate OK [14:25:54]SAM_PROTO_ClearQueue done [14:25:54]KKMCreateOFDPacket [14:25:54]OFDProtocolAddRootSTLVToBuf [14:25:54]FM_MakeSignedData [14:25:54]FM_MakeSignedData [14:25:54]SAM_PROTO_SignData [14:25:54]wFMCommunicate request_size=4 [14:25:54]MH_SAM_APDU [14:25:54]CAPDU: 80 0D 01 02 [14:25:54]Write to MH i2c: E2 08 00 82 00 80 0D 01 02 00 00 00 00 FB [14:25:54]Write i2c OK [14:25:54]MH_I2C_Read... [14:25:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:25:54]Read from MH i2c: E2 [14:25:54]MH_I2C_Read... [14:25:54]Read from MH i2c: E2 03 00 [14:25:54]MH_I2C_Read... [14:25:54]Read from MH i2c: E2 03 00 82 00 00 90 00 F6 [14:25:54]RAPDU: 90 00 [14:25:54]wFMCommunicate OK [14:25:54]wFMCommunicate request_size=255 [14:25:54]MH_SAM_APDU [14:25:54]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 F1 C9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 [14:25:54]Write to MH i2c: E2 02 01 83 00 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 F1 C9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 00 00 B0 [14:25:54]Write i2c OK [14:25:54]MH_I2C_Read... [14:25:54]OFD Sender: No OFD packet to send [14:25:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:25:54]Read from MH i2c: E2 [14:25:54]MH_I2C_Read... [14:25:54]Read from MH i2c: E2 03 00 [14:25:54]MH_I2C_Read... [14:25:54]Read from MH i2c: E2 03 00 83 00 00 90 00 F7 [14:25:54]RAPDU: 90 00 [14:25:54]wFMCommunicate OK [14:25:54]wFMCommunicate request_size=33 [14:25:54]MH_SAM_APDU [14:25:54]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 37 31 35 10 04 04 00 94 CD 00 00 35 04 06 00 72 2E 4B 9C E5 DF [14:25:54]Write to MH i2c: E2 24 00 84 00 80 0D 02 02 1C 00 30 30 30 30 38 37 34 37 31 35 10 04 04 00 94 CD 00 00 35 04 06 00 72 2E 4B 9C E5 DF 00 00 39 [14:25:54]Write i2c OK [14:25:54]MH_I2C_Read... [14:25:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:25:54]Read from MH i2c: E2 [14:25:54]MH_I2C_Read... [14:25:54]Read from MH i2c: E2 03 00 [14:25:54]MH_I2C_Read... [14:25:54]Read from MH i2c: E2 03 00 84 00 00 90 00 F8 [14:25:54]RAPDU: 90 00 [14:25:54]wFMCommunicate OK [14:25:54]wFMCommunicate request_size=4 [14:25:54]MH_SAM_APDU [14:25:54]CAPDU: 80 0D 03 02 [14:25:54]Write to MH i2c: E2 08 00 85 00 80 0D 03 02 00 00 00 00 00 [14:25:54]Write i2c OK [14:25:54]MH_I2C_Read... [14:25:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:25:54]Read from MH i2c: E2 [14:25:54]MH_I2C_Read... [14:25:54]Read from MH i2c: E2 0B 00 [14:25:54]MH_I2C_Read... [14:25:54]Read from MH i2c: E2 0B 00 85 00 00 E9 07 86 A7 D3 44 4F CD 90 00 51 [14:25:54]RAPDU: E9 07 86 A7 D3 44 4F CD 90 00 [14:25:54]wFMCommunicate OK [14:25:54]SAM_PROTO_SignData done [14:25:54]FM_MakeSignedData done [14:25:54]CreateOFDProtocolMessage [14:25:54]wFMCommunicate request_size=4 [14:25:54]MH_SAM_APDU [14:25:54]CAPDU: 80 11 00 00 [14:25:54]Write to MH i2c: E2 08 00 86 00 80 11 00 00 00 00 00 00 00 [14:25:54]Write i2c OK [14:25:54]MH_I2C_Read... [14:25:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:25:54]Read from MH i2c: E2 [14:25:54]MH_I2C_Read... [14:25:54]Read from MH i2c: E2 17 00 [14:25:54]MH_I2C_Read... [14:25:54]Read from MH i2c: E2 17 00 86 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 53 [14:25:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [14:25:54]wFMCommunicate OK [14:25:54]CreateOFDProtocolMessage done [14:25:54]OFDSenderStorePacket 52628 [14:25:54]StoreOFDPacket docnum=52628 [14:25:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 26 01 00 00 36 63 1E 01 D2 C7 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 F1 C9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 94 CD 00 00 35 04 06 00 72 2E 4B 9C E5 DF E9 07 86 A7 D3 44 4F CD [14:25:54]CheckFolder [14:25:54]dirname=/storage/ofd_packets [14:25:54]CheckFolder done [14:25:54]ProducePacketName [14:25:54]name=ofd_packets/00052628 [14:25:54]NVStorageSaveData ofd_packets/00052628 [14:25:54]File name is /storage/ofd_packets/00052628 [14:25:54]Write 324 bytes [14:25:54]NVStorageSaveData done [14:25:54]OFDSenderStorePacket done [14:25:54]KKMCreateOFDPacket done [14:25:54]NVStorageSaveData kkm_last_timestamp [14:25:54]File name is /storage/kkm_last_timestamp [14:25:54]Write 4 bytes [14:25:54]NVStorageSaveData done [14:25:54]ExternCall_PrintAddStr [14:25:54]wPrintStart [14:25:54]Write to MH i2c: 01 00 00 87 00 87 [14:25:54]Write i2c OK [14:25:54]MH_I2C_Read... [14:25:54]Read from MH i2c: 01 [14:25:54]MH_I2C_Read... [14:25:54]Read from MH i2c: 01 07 00 [14:25:54]MH_I2C_Read... [14:25:54]Read from MH i2c: 01 07 00 87 00 00 00 00 00 00 FF 0F 9C [14:25:54]RasterBufferAndPrint [14:25:54]line Счет N : (3)122759 [14:25:54]line ИНН: 02508201610067 [14:25:54]line Контрольно-Кассовый Чек [14:25:54]line ПРОДАЖА [14:25:54]line Товар: 48744997 [14:25:54]line Сигареты Winston Compact Blue [14:25:54]line 2.000 * 135.00 [14:25:54]line = 270.00 [14:25:54]line НДС 12% НСП 1% [14:25:54]line > о реализуемом товаре [14:25:54]line ИТОГО: 270.00 [14:25:54]line НСП 1% : 2.39 [14:25:54]line НДС 12% : 28.67 [14:25:54]line Наличными: 0.00 [14:25:54]line Безнал.: 270.00 [14:25:54]line Место: АЗС № 54 "Партнер Нефть" [14:25:54]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [14:25:54]line СНО: Общий режим [14:25:54]line Чек 39 11.08.2024 14:25 [14:25:54]line Смена: 446 ФФД: 1.0 [14:25:54]line ЗНМ: 0300000007 [14:25:54]line РНМ: 0000000000090834 [14:25:54]line Версия ККМ: 001 [14:25:54]line Платежная система: О! деньги [14:25:54]line ФМ: 0000000000874715 [14:25:54]line ФД: 52628 [14:25:54]line ФПД: 125543162635743 [14:25:54]line /tax-web-control/client/api/v1/ticket?date=20240811T142553&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52628&fm=125543162635743&tin=02508201610067®Number=0000000000090834&sum=27000 [14:25:54]line 0 [14:25:54]OFD Sender: Processing packet 52628 [packets to send 55, broken 54] [14:25:54]ProducePacketName [14:25:54]name=ofd_packets/00052628 [14:25:54]OFD Sender: To server: pG, [14:25:54]CommunicateWithHost lk.salyk.kg:30040 [14:25:54]ConnectInit lk.salyk.kg [14:25:54]written 0, free lines is 4095 [14:25:55]Connected sock=10 [14:25:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 26 01 00 00 36 63 1E 01 D2 C7 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 34 39 39 37 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 69 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 F1 C9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 94 CD 00 00 35 04 06 00 72 2E 4B 9C E5 DF E9 07 86 A7 D3 44 4F CD [14:25:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 1D B5 47 00 41 5E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 94 CD 00 00 F4 03 04 00 8C 71 B8 66 B6 04 01 00 00 B7 1D 8C CA B5 D5 25 67 [14:25:55]CommunicateWithHost err = 0 [14:25:55]CheckOFDResponse [14:25:55]1017 (14) - 77093643461234 [14:25:55]1041 (16) - 0000000000874715 [14:25:55]1040 (4) - 52628 [14:25:55]1012 (4) - 11.08.2024 08:08 [14:25:55]1206 (1) - 0 [14:25:55]OFD Sender: Remove packet 52628 [14:25:55]ProducePacketName [14:25:55]name=ofd_packets/00052628 [14:25:55]NVStorageDeleteData [14:25:55]Write to MH i2c: 01 00 00 B1 00 B1 [14:25:55]Write i2c OK [14:25:55]MH_I2C_Read... [14:25:55]Read from MH i2c: 01 [14:25:55]MH_I2C_Read... [14:25:55]Read from MH i2c: 01 07 00 [14:25:55]MH_I2C_Read... [14:25:55]Read from MH i2c: 01 07 00 B1 00 00 00 00 00 00 BE 0C 82 [14:25:55]RasterBufferAndPrint [14:25:55]line [14:25:55]line [14:25:55]line [14:25:55]line [14:25:55]line [14:25:55]written 0, free lines is 3268 [14:25:55]MH_Cut [14:25:55]Write to MH i2c: D1 01 00 B8 00 01 8A [14:25:55]Write i2c OK [14:25:55]MH_I2C_Read... [14:25:55]Read from MH i2c: D1 [14:25:55]MH_I2C_Read... [14:25:55]Read from MH i2c: D1 01 00 [14:25:55]MH_I2C_Read... [14:25:55]Read from MH i2c: D1 01 00 B8 00 00 89 [14:25:55]Write to MH i2c: 01 00 00 B9 00 B9 [14:25:55]Write i2c OK [14:25:55]MH_I2C_Read... [14:25:55]OFD Sender: No OFD packet to send [14:25:56]*** Cut start [14:25:56]*** Purtial cut [14:25:56]*** Stage 1: CUTSNS_PIN = 1 [14:25:56]Read from MH i2c: 01 [14:25:56]MH_I2C_Read... [14:25:56]*** Stop cut motor [14:25:56]*** Cut end [14:25:56]Read from MH i2c: 01 07 00 [14:25:56]MH_I2C_Read... [14:25:56]Read from MH i2c: 01 07 00 B9 00 00 00 00 00 00 FF 0F CE [14:25:56]process_action close_receipt done [14:25:56]requested_data is exist [14:25:56]produce_requested_data [14:25:56]requested_item fm.sn is exist - process it [14:25:56]wFMCommunicate request_size=4 [14:25:56]MH_SAM_APDU [14:25:56]CAPDU: 80 11 00 00 [14:25:56]Write to MH i2c: E2 08 00 BA 00 80 11 00 00 00 00 00 00 34 [14:25:56]Write i2c OK [14:25:56]MH_I2C_Read... [14:25:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:25:56]Read from MH i2c: E2 [14:25:56]MH_I2C_Read... [14:25:56]Read from MH i2c: E2 17 00 [14:25:56]MH_I2C_Read... [14:25:56]Read from MH i2c: E2 17 00 BA 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 87 [14:25:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [14:25:56]wFMCommunicate OK [14:25:56]requested_item fd.num is exist - process it [14:25:56]SAM_PROTO_GetFieldsCounters [14:25:56]wFMCommunicate request_size=4 [14:25:56]MH_SAM_APDU [14:25:56]CAPDU: 80 13 00 00 [14:25:56]Write to MH i2c: E2 08 00 BB 00 80 13 00 00 00 00 00 00 37 [14:25:56]Write i2c OK [14:25:56]MH_I2C_Read... [14:25:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:25:56]Read from MH i2c: E2 [14:25:56]MH_I2C_Read... [14:25:56]Read from MH i2c: E2 62 00 [14:25:56]MH_I2C_Read... [14:25:56]Read from MH i2c: E2 62 00 BB 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 94 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 EC [14:25: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 94 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:25:56]wFMCommunicate OK [14:25:56]SAM_PROTO_GetFieldsCounters done [14:25:56]requested_item shift.num is exist - process it [14:25:56]requested_item shift.opened is exist - process it [14:25:56]req_shift_opened [14:25:56]FM_GetShiftState [14:25:56]SAM_PROTO_GetShiftState [14:25:56]wFMCommunicate request_size=4 [14:25:56]MH_SAM_APDU [14:25:56]CAPDU: 80 13 01 00 [14:25:56]Write to MH i2c: E2 08 00 BC 00 80 13 01 00 00 00 00 00 39 [14:25:56]Write i2c OK [14:25:56]MH_I2C_Read... [14:25:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:25:56]Read from MH i2c: E2 [14:25:56]MH_I2C_Read... [14:25:56]Read from MH i2c: E2 0E 00 [14:25:56]MH_I2C_Read... [14:25:56]Read from MH i2c: E2 0E 00 BC 00 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 62 [14:25:56]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [14:25:56]wFMCommunicate OK [14:25:56]SAM_PROTO_GetShiftState done [14:25:56]FM_GetShiftState done [14:25:56]req_shift_opened done [14:25:56]requested_item shift.open_date is exist - process it [14:25:56]req_shift_open_date [14:25:56]req_shift_open_date done [14:25:56]produce_requested_data done [14:25:56]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52628,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [14:25:56]process_action_free close_receipt [14:25:56]json_value_free [14:25:56]json_value_free done [14:25:56]process_json_proto returns [14:25:56]Send response to host [14:25:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52628,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [14:25:56]free response buf [14:25:56]execute_script done [14:25:56]execute_script returns [14:25:56]free content buf [14:25:56]Sock 9.Close socket [14:25:56]Sock 9.Thread stoped [14:26:00]OFD Sender: No OFD packet to send [14:26:05]OFD Sender: No OFD packet to send [14:26:10]OFD Sender: No OFD packet to send [14:26:15]OFD Sender: No OFD packet to send [14:26:20]OFD Sender: No OFD packet to send [14:26:25]OFD Sender: No OFD packet to send [14:26:30]OFD Sender: No OFD packet to send [14:26:35]OFD Sender: No OFD packet to send [14:26:40]OFD Sender: No OFD packet to send [14:26:45]OFD Sender: No OFD packet to send [14:26:50]OFD Sender: No OFD packet to send [14:26:55]OFD Sender: No OFD packet to send [14:27:00]OFD Sender: No OFD packet to send [14:27:05]OFD Sender: No OFD packet to send [14:27:10]OFD Sender: No OFD packet to send [14:27:15]OFD Sender: No OFD packet to send [14:27:20]OFD Sender: No OFD packet to send [14:27:25]OFD Sender: No OFD packet to send [14:27:30]OFD Sender: No OFD packet to send [14:27:35]OFD Sender: No OFD packet to send [14:27:40]OFD Sender: No OFD packet to send [14:27:45]OFD Sender: No OFD packet to send [14:27:50]OFD Sender: No OFD packet to send [14:27:56]OFD Sender: No OFD packet to send [14:28:01]OFD Sender: No OFD packet to send [14:28:06]OFD Sender: No OFD packet to send [14:28:11]OFD Sender: No OFD packet to send [14:28:16]OFD Sender: No OFD packet to send [14:28:21]OFD Sender: No OFD packet to send [14:28:26]OFD Sender: No OFD packet to send [14:28:31]OFD Sender: No OFD packet to send [14:28:36]OFD Sender: No OFD packet to send [14:28:41]OFD Sender: No OFD packet to send [14:28:46]OFD Sender: No OFD packet to send [14:28:51]OFD Sender: No OFD packet to send [14:28:56]OFD Sender: No OFD packet to send [14:29:01]OFD Sender: No OFD packet to send [14:29:06]OFD Sender: No OFD packet to send [14:29:11]OFD Sender: No OFD packet to send [14:29:16]OFD Sender: No OFD packet to send [14:29:21]OFD Sender: No OFD packet to send [14:29:26]OFD Sender: No OFD packet to send [14:29:31]OFD Sender: No OFD packet to send [14:29:36]OFD Sender: No OFD packet to send [14:29:41]OFD Sender: No OFD packet to send [14:29:46]OFD Sender: No OFD packet to send [14:29:51]OFD Sender: No OFD packet to send [14:29:56]OFD Sender: No OFD packet to send [14:30:01]OFD Sender: No OFD packet to send [14:30:06]OFD Sender: No OFD packet to send [14:30:11]OFD Sender: No OFD packet to send [14:30:16]OFD Sender: No OFD packet to send [14:30:21]OFD Sender: No OFD packet to send [14:30:26]OFD Sender: No OFD packet to send [14:30:31]OFD Sender: No OFD packet to send [14:30:36]OFD Sender: No OFD packet to send [14:30:41]OFD Sender: No OFD packet to send [14:30:46]OFD Sender: No OFD packet to send [14:30:51]OFD Sender: No OFD packet to send [14:30:56]OFD Sender: No OFD packet to send [14:31:01]OFD Sender: No OFD packet to send [14:31:06]OFD Sender: No OFD packet to send [14:31:11]OFD Sender: No OFD packet to send [14:31:16]OFD Sender: No OFD packet to send [14:31:21]OFD Sender: No OFD packet to send [14:31:26]OFD Sender: No OFD packet to send [14:31:31]OFD Sender: No OFD packet to send [14:31:36]OFD Sender: No OFD packet to send [14:31:41]OFD Sender: No OFD packet to send [14:31:46]OFD Sender: No OFD packet to send [14:31:51]OFD Sender: No OFD packet to send [14:31:56]OFD Sender: No OFD packet to send [14:32:01]OFD Sender: No OFD packet to send [14:32:06]OFD Sender: No OFD packet to send [14:32:11]OFD Sender: No OFD packet to send [14:32:16]OFD Sender: No OFD packet to send [14:32:21]OFD Sender: No OFD packet to send [14:32:26]OFD Sender: No OFD packet to send [14:32:31]OFD Sender: No OFD packet to send [14:32:36]OFD Sender: No OFD packet to send [14:32:41]OFD Sender: No OFD packet to send [14:32:46]OFD Sender: No OFD packet to send [14:32:51]OFD Sender: No OFD packet to send [14:32:56]OFD Sender: No OFD packet to send [14:33:01]OFD Sender: No OFD packet to send [14:33:06]OFD Sender: No OFD packet to send [14:33:11]OFD Sender: No OFD packet to send [14:33:16]OFD Sender: No OFD packet to send [14:33:21]OFD Sender: No OFD packet to send [14:33:26]OFD Sender: No OFD packet to send [14:33:31]OFD Sender: No OFD packet to send [14:33:36]OFD Sender: No OFD packet to send [14:33:41]OFD Sender: No OFD packet to send [14:33:46]OFD Sender: No OFD packet to send [14:33:51]OFD Sender: No OFD packet to send [14:33:56]OFD Sender: No OFD packet to send [14:34:01]OFD Sender: No OFD packet to send [14:34:06]OFD Sender: No OFD packet to send [14:34:11]OFD Sender: No OFD packet to send [14:34:16]OFD Sender: No OFD packet to send [14:34:21]OFD Sender: No OFD packet to send [14:34:26]OFD Sender: No OFD packet to send [14:34:31]OFD Sender: No OFD packet to send [14:34:33]accept exits with 7 [14:34:33]New connection [14:34:33]New thread 3067293028 created [14:34:33]Thread 3067149668 joined [14:34:33]Waiting for new connection... [14:34:33] Sock 7.Parse request [14:34:33]Sock 7.Check first char [14:34:33]Sock 7.First char is OK [14:34:33]request: POST /json_proto HTTP/1.0 [14:34:33]Method: POST [14:34:33]URL: /json_proto [14:34:33]Method is POST - this is cgi request [14:34:33]url: /json_proto [14:34:33]query_string will be loaded in cgi processing [14:34:33]execute_cgi json_proto POST (null) [14:34:33]execute_cgi path=json_proto method=POST [14:34:33]POST find Content-Length [14:34:33]Host: 172.17.60.7:8080 [14:34:33]Content-Length: 824 [14:34:33]Content-Type: application/json [14:34:33] [14:34:33]POST finish read [14:34:33]Found Content-Length = 824 [14:34:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122760", "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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:34:33]execute_script... [14:34:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122760", "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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:34:33]POST & json_proto [14:34:33]process_json_proto [14:34:33]json parsed OK: [14:34:33]protocol is kg_v1.0 [14:34:33]action value=close_receipt [14:34:33]process_action close_receipt [14:34:33]cmd_close_receipt [14:34:33]MH_GetDate [14:34:33]Write to MH i2c: F0 00 00 BD 00 AC [14:34:33]Write i2c OK [14:34:33]MH_I2C_Read... [14:34:33]Read from MH i2c: F0 [14:34:33]MH_I2C_Read... [14:34:33]Read from MH i2c: F0 09 00 [14:34:33]MH_I2C_Read... [14:34:33]Read from MH i2c: F0 09 00 BD 00 00 FA CB B8 66 63 9B 67 64 61 [14:34:33]GetLastDocTimeStamp 1723386353 [14:34:33]current date 1723386874 [14:34:33]FM_GetShiftState [14:34:33]SAM_PROTO_GetShiftState [14:34:33]wFMCommunicate request_size=4 [14:34:33]MH_SAM_APDU [14:34:33]CAPDU: 80 13 01 00 [14:34:33]Write to MH i2c: E2 08 00 BE 00 80 13 01 00 00 00 00 00 3B [14:34:33]Write i2c OK [14:34:33]MH_I2C_Read... [14:34:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:34:33]Read from MH i2c: E2 [14:34:33]MH_I2C_Read... [14:34:33]Read from MH i2c: E2 0E 00 [14:34:33]MH_I2C_Read... [14:34:33]Read from MH i2c: E2 0E 00 BE 00 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 64 [14:34:33]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [14:34:33]wFMCommunicate OK [14:34:33]SAM_PROTO_GetShiftState done [14:34:33]FM_GetShiftState done [14:34:33]opened in 1723336186 [14:34:33]opened+sec_in_day 1723422586 [14:34:33]quantity*price = 12500 [14:34:33]sum+1 = 12501 [14:34:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 0.00 Безнал.: 125.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 40 11.08.2024 14:34 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52629 ФПД: 110930534339113 /tax-web-control/client/api/v1/ticket?date=20240811T143434&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52629&fm=110930534339113&tin=02508201610067®Number=0000000000090834&sum=12500 0 [14:34:35]StoreToDocumentArchive [14:34:35]shift 446 fd 52629 [14:34:35]save to /storage/0446/doc_00052629 [14:34:35]save last doc name /storage/0446/doc_00052629 to /storage/kkm_last_doc_name [14:34:35]save OK [14:34:35]Clear old archive folders... [14:34:35]ProcessDocumentItem done err = 0, tmpTLVsize=278 [14:34:35]tlvbuf is 012A0090 [14:34:35]SAM_PROTO_ClearQueue [14:34:35]wFMCommunicate request_size=4 [14:34:35]MH_SAM_APDU [14:34:35]CAPDU: 80 09 00 00 [14:34:35]Write to MH i2c: E2 08 00 CB 00 80 09 00 00 00 00 00 00 3D [14:34:35]Write i2c OK [14:34:35]MH_I2C_Read... [14:34:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:34:35]Read from MH i2c: E2 [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: E2 03 00 [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: E2 03 00 CB 00 00 90 00 3F [14:34:35]RAPDU: 90 00 [14:34:35]wFMCommunicate OK [14:34:35]SAM_PROTO_ClearQueue done [14:34:35]KKMCreateOFDPacket [14:34:35]OFDProtocolAddRootSTLVToBuf [14:34:35]FM_MakeSignedData [14:34:35]FM_MakeSignedData [14:34:35]SAM_PROTO_SignData [14:34:35]wFMCommunicate request_size=4 [14:34:35]MH_SAM_APDU [14:34:35]CAPDU: 80 0D 01 02 [14:34:35]Write to MH i2c: E2 08 00 CC 00 80 0D 01 02 00 00 00 00 45 [14:34:35]Write i2c OK [14:34:35]MH_I2C_Read... [14:34:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:34:35]Read from MH i2c: E2 [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: E2 03 00 [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: E2 03 00 CC 00 00 90 00 40 [14:34:35]RAPDU: 90 00 [14:34:35]wFMCommunicate OK [14:34:35]wFMCommunicate request_size=255 [14:34:35]MH_SAM_APDU [14:34:35]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 28 00 00 00 F4 03 04 00 FA CB B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 [14:34:35]Write to MH i2c: E2 02 01 CD 00 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 28 00 00 00 F4 03 04 00 FA CB B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 00 00 BA [14:34:35]Write i2c OK [14:34:35]MH_I2C_Read... [14:34:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:34:35]Read from MH i2c: E2 [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: E2 03 00 [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: E2 03 00 CD 00 00 90 00 41 [14:34:35]RAPDU: 90 00 [14:34:35]wFMCommunicate OK [14:34:35]wFMCommunicate request_size=37 [14:34:35]MH_SAM_APDU [14:34:35]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 95 CD 00 00 35 04 06 00 64 E4 07 18 12 29 [14:34:35]Write to MH i2c: E2 28 00 CE 00 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 95 CD 00 00 35 04 06 00 64 E4 07 18 12 29 00 00 A3 [14:34:35]Write i2c OK [14:34:35]MH_I2C_Read... [14:34:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:34:35]Read from MH i2c: E2 [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: E2 03 00 [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: E2 03 00 CE 00 00 90 00 42 [14:34:35]RAPDU: 90 00 [14:34:35]wFMCommunicate OK [14:34:35]wFMCommunicate request_size=4 [14:34:35]MH_SAM_APDU [14:34:35]CAPDU: 80 0D 03 02 [14:34:35]Write to MH i2c: E2 08 00 CF 00 80 0D 03 02 00 00 00 00 4A [14:34:35]Write i2c OK [14:34:35]MH_I2C_Read... [14:34:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:34:35]Read from MH i2c: E2 [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: E2 0B 00 [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: E2 0B 00 CF 00 00 CE 00 F7 7A D5 25 6E C9 90 00 BB [14:34:35]RAPDU: CE 00 F7 7A D5 25 6E C9 90 00 [14:34:35]wFMCommunicate OK [14:34:35]SAM_PROTO_SignData done [14:34:35]FM_MakeSignedData done [14:34:35]CreateOFDProtocolMessage [14:34:35]wFMCommunicate request_size=4 [14:34:35]MH_SAM_APDU [14:34:35]CAPDU: 80 11 00 00 [14:34:35]Write to MH i2c: E2 08 00 D0 00 80 11 00 00 00 00 00 00 4A [14:34:35]Write i2c OK [14:34:35]MH_I2C_Read... [14:34:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:34:35]Read from MH i2c: E2 [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: E2 17 00 [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: E2 17 00 D0 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 9D [14:34:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [14:34:35]wFMCommunicate OK [14:34:35]CreateOFDProtocolMessage done [14:34:35]OFDSenderStorePacket 52629 [14:34:35]StoreOFDPacket docnum=52629 [14:34:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2A 01 00 00 FA 99 22 01 C7 64 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 28 00 00 00 F4 03 04 00 FA CB B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 95 CD 00 00 35 04 06 00 64 E4 07 18 12 29 CE 00 F7 7A D5 25 6E C9 [14:34:35]CheckFolder [14:34:35]dirname=/storage/ofd_packets [14:34:35]CheckFolder done [14:34:35]ProducePacketName [14:34:35]name=ofd_packets/00052629 [14:34:35]NVStorageSaveData ofd_packets/00052629 [14:34:35]File name is /storage/ofd_packets/00052629 [14:34:35]Write 328 bytes [14:34:35]NVStorageSaveData done [14:34:35]OFDSenderStorePacket done [14:34:35]KKMCreateOFDPacket done [14:34:35]NVStorageSaveData kkm_last_timestamp [14:34:35]File name is /storage/kkm_last_timestamp [14:34:35]Write 4 bytes [14:34:35]NVStorageSaveData done [14:34:35]ExternCall_PrintAddStr [14:34:35]wPrintStart [14:34:35]Write to MH i2c: 01 00 00 D1 00 D1 [14:34:35]Write i2c OK [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: 01 [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: 01 07 00 [14:34:35]MH_I2C_Read... [14:34:35]Read from MH i2c: 01 07 00 D1 00 00 00 00 00 00 FF 0F E6 [14:34:35]RasterBufferAndPrint [14:34:35]line Счет N : (3)122760 [14:34:35]line ИНН: 02508201610067 [14:34:35]line Контрольно-Кассовый Чек [14:34:35]line ПРОДАЖА [14:34:35]line Товар: 5449000054227 [14:34:35]line Напиток Кока-Кола 1л [14:34:35]line 1.000 * 125.00 [14:34:35]line = 125.00 [14:34:35]line НДС 12% НСП 1% [14:34:35]line > о реализуемом товаре [14:34:35]line ИТОГО: 125.00 [14:34:35]line НСП 1% : 1.11 [14:34:35]line НДС 12% : 13.27 [14:34:35]line Наличными: 0.00 [14:34:35]line Безнал.: 125.00 [14:34:35]line Место: АЗС № 54 "Партнер Нефть" [14:34:35]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [14:34:35]line СНО: Общий режим [14:34:35]line Чек 40 11.08.2024 14:34 [14:34:35]line Смена: 446 ФФД: 1.0 [14:34:35]line ЗНМ: 0300000007 [14:34:35]line РНМ: 0000000000090834 [14:34:35]line Версия ККМ: 001 [14:34:35]line Платежная система: О! деньги [14:34:35]line ФМ: 0000000000874715 [14:34:35]line ФД: 52629 [14:34:35]line ФПД: 110930534339113 [14:34:35]line /tax-web-control/client/api/v1/ticket?date=20240811T143434&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52629&fm=110930534339113&tin=02508201610067®Number=0000000000090834&sum=12500 [14:34:35]OFD Sender: Processing packet 52629 [packets to send 55, broken 54] [14:34:35]ProducePacketName [14:34:35]name=ofd_packets/00052629 [14:34:35]OFD Sender: To server: pG, [14:34:35]CommunicateWithHost lk.salyk.kg:30040 [14:34:35]ConnectInit lk.salyk.kg [14:34:35]line 0 [14:34:35]written 0, free lines is 4095 [14:34:36]Connected sock=10 [14:34:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2A 01 00 00 FA 99 22 01 C7 64 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 28 00 00 00 F4 03 04 00 FA CB B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 95 CD 00 00 35 04 06 00 64 E4 07 18 12 29 CE 00 F7 7A D5 25 6E C9 [14:34:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 42 1A 47 00 56 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 34 37 31 35 10 04 04 00 95 CD 00 00 F4 03 04 00 95 73 B8 66 B6 04 01 00 00 B3 86 59 05 31 EB 97 86 [14:34:36]CommunicateWithHost err = 0 [14:34:36]CheckOFDResponse [14:34:36]1017 (14) - 77093643461234 [14:34:36]1041 (16) - 0000000000874715 [14:34:36]1040 (4) - 52629 [14:34:36]1012 (4) - 11.08.2024 08:17 [14:34:36]1206 (1) - 0 [14:34:36]OFD Sender: Remove packet 52629 [14:34:36]ProducePacketName [14:34:36]name=ofd_packets/00052629 [14:34:36]NVStorageDeleteData [14:34:36]Write to MH i2c: 01 00 00 FA 00 FA [14:34:36]Write i2c OK [14:34:36]MH_I2C_Read... [14:34:36]Read from MH i2c: 01 [14:34:36]MH_I2C_Read... [14:34:36]Read from MH i2c: 01 07 00 [14:34:36]MH_I2C_Read... [14:34:36]Read from MH i2c: 01 07 00 FA 00 00 00 00 00 00 D2 0C DF [14:34:36]RasterBufferAndPrint [14:34:36]line [14:34:36]line [14:34:36]line [14:34:36]line [14:34:36]line [14:34:36]written 0, free lines is 3287 [14:34:36]MH_Cut [14:34:36]Write to MH i2c: D1 01 00 01 01 01 D4 [14:34:36]Write i2c OK [14:34:36]MH_I2C_Read... [14:34:36]Read from MH i2c: D1 [14:34:36]MH_I2C_Read... [14:34:36]Read from MH i2c: D1 01 00 [14:34:36]MH_I2C_Read... [14:34:36]Read from MH i2c: D1 01 00 01 01 00 D3 [14:34:36]Write to MH i2c: 01 00 00 02 01 03 [14:34:36]Write i2c OK [14:34:36]MH_I2C_Read... [14:34:36]OFD Sender: No OFD packet to send [14:34:37]*** Cut start [14:34:37]*** Purtial cut [14:34:37]*** Stage 1: CUTSNS_PIN = 1 [14:34:37]Read from MH i2c: 01 [14:34:37]MH_I2C_Read... [14:34:37]*** Stop cut motor [14:34:37]*** Cut end [14:34:37]Read from MH i2c: 01 07 00 [14:34:37]MH_I2C_Read... [14:34:37]Read from MH i2c: 01 07 00 02 01 00 00 00 00 00 FF 0F 18 [14:34:37]process_action close_receipt done [14:34:37]requested_data is exist [14:34:37]produce_requested_data [14:34:37]requested_item fm.sn is exist - process it [14:34:37]wFMCommunicate request_size=4 [14:34:37]MH_SAM_APDU [14:34:37]CAPDU: 80 11 00 00 [14:34:37]Write to MH i2c: E2 08 00 03 01 80 11 00 00 00 00 00 00 7E [14:34:37]Write i2c OK [14:34:37]MH_I2C_Read... [14:34:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:34:37]Read from MH i2c: E2 [14:34:37]MH_I2C_Read... [14:34:37]Read from MH i2c: E2 17 00 [14:34:37]MH_I2C_Read... [14:34:37]Read from MH i2c: E2 17 00 03 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 D1 [14:34:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [14:34:37]wFMCommunicate OK [14:34:37]requested_item fd.num is exist - process it [14:34:37]SAM_PROTO_GetFieldsCounters [14:34:37]wFMCommunicate request_size=4 [14:34:37]MH_SAM_APDU [14:34:37]CAPDU: 80 13 00 00 [14:34:37]Write to MH i2c: E2 08 00 04 01 80 13 00 00 00 00 00 00 81 [14:34:37]Write i2c OK [14:34:37]MH_I2C_Read... [14:34:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:34:37]Read from MH i2c: E2 [14:34:37]MH_I2C_Read... [14:34:37]Read from MH i2c: E2 62 00 [14:34:37]MH_I2C_Read... [14:34:37]Read from MH i2c: E2 62 00 04 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 95 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 3A [14:34: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 95 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:34:37]wFMCommunicate OK [14:34:37]SAM_PROTO_GetFieldsCounters done [14:34:37]requested_item shift.num is exist - process it [14:34:37]requested_item shift.opened is exist - process it [14:34:37]req_shift_opened [14:34:37]FM_GetShiftState [14:34:37]SAM_PROTO_GetShiftState [14:34:37]wFMCommunicate request_size=4 [14:34:37]MH_SAM_APDU [14:34:37]CAPDU: 80 13 01 00 [14:34:37]Write to MH i2c: E2 08 00 05 01 80 13 01 00 00 00 00 00 83 [14:34:37]Write i2c OK [14:34:37]MH_I2C_Read... [14:34:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:34:37]Read from MH i2c: E2 [14:34:37]MH_I2C_Read... [14:34:37]Read from MH i2c: E2 0E 00 [14:34:37]MH_I2C_Read... [14:34:37]Read from MH i2c: E2 0E 00 05 01 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 AC [14:34:37]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [14:34:37]wFMCommunicate OK [14:34:37]SAM_PROTO_GetShiftState done [14:34:37]FM_GetShiftState done [14:34:37]req_shift_opened done [14:34:37]requested_item shift.open_date is exist - process it [14:34:37]req_shift_open_date [14:34:37]req_shift_open_date done [14:34:37]produce_requested_data done [14:34:37]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52629,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [14:34:37]process_action_free close_receipt [14:34:37]json_value_free [14:34:37]json_value_free done [14:34:37]process_json_proto returns [14:34:37]Send response to host [14:34:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52629,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [14:34:37]free response buf [14:34:37]execute_script done [14:34:37]execute_script returns [14:34:37]free content buf [14:34:37]Sock 7.Close socket [14:34:37]Sock 7.Thread stoped [14:34:41]OFD Sender: No OFD packet to send [14:34:46]OFD Sender: No OFD packet to send [14:34:51]OFD Sender: No OFD packet to send [14:34:56]OFD Sender: No OFD packet to send [14:35:01]OFD Sender: No OFD packet to send [14:35:06]OFD Sender: No OFD packet to send [14:35:11]OFD Sender: No OFD packet to send [14:35:16]OFD Sender: No OFD packet to send [14:35:21]OFD Sender: No OFD packet to send [14:35:26]OFD Sender: No OFD packet to send [14:35:31]OFD Sender: No OFD packet to send [14:35:36]OFD Sender: No OFD packet to send [14:35:41]OFD Sender: No OFD packet to send [14:35:46]OFD Sender: No OFD packet to send [14:35:51]OFD Sender: No OFD packet to send [14:35:56]OFD Sender: No OFD packet to send [14:36:01]OFD Sender: No OFD packet to send [14:36:06]OFD Sender: No OFD packet to send [14:36:11]OFD Sender: No OFD packet to send [14:36:16]OFD Sender: No OFD packet to send [14:36:21]OFD Sender: No OFD packet to send [14:36:26]OFD Sender: No OFD packet to send [14:36:31]OFD Sender: No OFD packet to send [14:36:36]OFD Sender: No OFD packet to send [14:36:41]OFD Sender: No OFD packet to send [14:36:46]OFD Sender: No OFD packet to send [14:36:51]OFD Sender: No OFD packet to send [14:36:56]OFD Sender: No OFD packet to send [14:37:01]OFD Sender: No OFD packet to send [14:37:06]OFD Sender: No OFD packet to send [14:37:11]OFD Sender: No OFD packet to send [14:37:16]OFD Sender: No OFD packet to send [14:37:21]OFD Sender: No OFD packet to send [14:37:26]OFD Sender: No OFD packet to send [14:37:31]OFD Sender: No OFD packet to send [14:37:36]OFD Sender: No OFD packet to send [14:37:41]OFD Sender: No OFD packet to send [14:37:46]OFD Sender: No OFD packet to send [14:37:52]OFD Sender: No OFD packet to send [14:37:57]OFD Sender: No OFD packet to send [14:38:02]OFD Sender: No OFD packet to send [14:38:07]OFD Sender: No OFD packet to send [14:38:12]OFD Sender: No OFD packet to send [14:38:17]OFD Sender: No OFD packet to send [14:38:22]OFD Sender: No OFD packet to send [14:38:27]OFD Sender: No OFD packet to send [14:38:32]OFD Sender: No OFD packet to send [14:38:37]OFD Sender: No OFD packet to send [14:38:42]OFD Sender: No OFD packet to send [14:38:47]OFD Sender: No OFD packet to send [14:38:52]OFD Sender: No OFD packet to send [14:38:57]OFD Sender: No OFD packet to send [14:39:02]OFD Sender: No OFD packet to send [14:39:07]OFD Sender: No OFD packet to send [14:39:12]OFD Sender: No OFD packet to send [14:39:17]OFD Sender: No OFD packet to send [14:39:22]OFD Sender: No OFD packet to send [14:39:27]OFD Sender: No OFD packet to send [14:39:32]OFD Sender: No OFD packet to send [14:39:37]OFD Sender: No OFD packet to send [14:39:42]OFD Sender: No OFD packet to send [14:39:47]OFD Sender: No OFD packet to send [14:39:52]OFD Sender: No OFD packet to send [14:39:57]OFD Sender: No OFD packet to send [14:40:02]OFD Sender: No OFD packet to send [14:40:07]OFD Sender: No OFD packet to send [14:40:12]OFD Sender: No OFD packet to send [14:40:17]OFD Sender: No OFD packet to send [14:40:22]OFD Sender: No OFD packet to send [14:40:27]OFD Sender: No OFD packet to send [14:40:32]OFD Sender: No OFD packet to send [14:40:37]OFD Sender: No OFD packet to send [14:40:42]OFD Sender: No OFD packet to send [14:40:47]OFD Sender: No OFD packet to send [14:40:52]OFD Sender: No OFD packet to send [14:40:55]accept exits with 9 [14:40:55]New connection [14:40:55]New thread 3067149668 created [14:40:55]Thread 3067293028 joined [14:40:55]Waiting for new connection... [14:40:55] Sock 9.Parse request [14:40:55]Sock 9.Check first char [14:40:55]Sock 9.First char is OK [14:40:55]request: POST /json_proto HTTP/1.0 [14:40:55]Method: POST [14:40:55]URL: /json_proto [14:40:55]Method is POST - this is cgi request [14:40:55]url: /json_proto [14:40:55]query_string will be loaded in cgi processing [14:40:55]execute_cgi json_proto POST (null) [14:40:55]execute_cgi path=json_proto method=POST [14:40:55]POST find Content-Length [14:40:55]Host: 172.17.60.7:8080 [14:40:55]Content-Length: 1086 [14:40:55]Content-Type: application/json [14:40:55] [14:40:55]POST finish read [14:40:55]Found Content-Length = 1086 [14:40:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122761", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:40:55]execute_script... [14:40:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122761", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:40:55]POST & json_proto [14:40:55]process_json_proto [14:40:55]json parsed OK: [14:40:55]protocol is kg_v1.0 [14:40:55]action value=close_receipt [14:40:55]process_action close_receipt [14:40:55]cmd_close_receipt [14:40:55]MH_GetDate [14:40:55]Write to MH i2c: F0 00 00 06 01 F6 [14:40:55]Write i2c OK [14:40:55]MH_I2C_Read... [14:40:55]Read from MH i2c: F0 [14:40:55]MH_I2C_Read... [14:40:55]Read from MH i2c: F0 09 00 [14:40:55]MH_I2C_Read... [14:40:55]Read from MH i2c: F0 09 00 06 01 00 77 CD B8 66 63 9B 67 64 2A [14:40:55]GetLastDocTimeStamp 1723386874 [14:40:55]current date 1723387255 [14:40:55]FM_GetShiftState [14:40:55]SAM_PROTO_GetShiftState [14:40:55]wFMCommunicate request_size=4 [14:40:55]MH_SAM_APDU [14:40:55]CAPDU: 80 13 01 00 [14:40:55]Write to MH i2c: E2 08 00 07 01 80 13 01 00 00 00 00 00 85 [14:40:55]Write i2c OK [14:40:55]MH_I2C_Read... [14:40:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:40:55]Read from MH i2c: E2 [14:40:55]MH_I2C_Read... [14:40:55]Read from MH i2c: E2 0E 00 [14:40:55]MH_I2C_Read... [14:40:55]Read from MH i2c: E2 0E 00 07 01 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 AE [14:40:55]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [14:40:55]wFMCommunicate OK [14:40:55]SAM_PROTO_GetShiftState done [14:40:55]FM_GetShiftState done [14:40:55]opened in 1723336186 [14:40:55]opened+sec_in_day 1723422586 [14:40:55]quantity*price = 12500 [14:40:55]sum+1 = 12501 [14:40:55]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48745000 Сигареты Winston Purple Mix 1.000 * 135.00 = 135.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 0.00 Безнал.: 260.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 41 11.08.2024 14:40 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52630 ФПД: 62506878827063 /tax-web-control/client/api/v1/ticket?date=20240811T144055&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52630&fm=62506878827063&tin=02508201610067®Number=0000000000090834&sum=26000 0 [14:40:56]StoreToDocumentArchive [14:40:56]shift 446 fd 52630 [14:40:56]save to /storage/0446/doc_00052630 [14:40:56]save last doc name /storage/0446/doc_00052630 to /storage/kkm_last_doc_name [14:40:56]save OK [14:40:56]Clear old archive folders... [14:40:56]ProcessDocumentItem done err = 0, tmpTLVsize=394 [14:40:56]tlvbuf is 0128A3F0 [14:40:56]SAM_PROTO_ClearQueue [14:40:56]wFMCommunicate request_size=4 [14:40:56]MH_SAM_APDU [14:40:56]CAPDU: 80 09 00 00 [14:40:56]Write to MH i2c: E2 08 00 14 01 80 09 00 00 00 00 00 00 87 [14:40:56]Write i2c OK [14:40:56]MH_I2C_Read... [14:40:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:40:56]Read from MH i2c: E2 [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: E2 03 00 [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: E2 03 00 14 01 00 90 00 89 [14:40:56]RAPDU: 90 00 [14:40:56]wFMCommunicate OK [14:40:56]SAM_PROTO_ClearQueue done [14:40:56]KKMCreateOFDPacket [14:40:56]OFDProtocolAddRootSTLVToBuf [14:40:56]FM_MakeSignedData [14:40:56]FM_MakeSignedData [14:40:56]SAM_PROTO_SignData [14:40:56]wFMCommunicate request_size=4 [14:40:56]MH_SAM_APDU [14:40:56]CAPDU: 80 0D 01 02 [14:40:56]Write to MH i2c: E2 08 00 15 01 80 0D 01 02 00 00 00 00 8F [14:40:56]Write i2c OK [14:40:56]MH_I2C_Read... [14:40:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:40:56]Read from MH i2c: E2 [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: E2 03 00 [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: E2 03 00 15 01 00 90 00 8A [14:40:56]RAPDU: 90 00 [14:40:56]wFMCommunicate OK [14:40:56]wFMCommunicate request_size=255 [14:40:56]MH_SAM_APDU [14:40:56]CAPDU: 80 0D 02 02 FA 03 00 8A 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F [14:40:56]Write to MH i2c: E2 02 01 16 01 80 0D 02 02 FA 00 03 00 8A 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 5D [14:40:56]Write i2c OK [14:40:56]MH_I2C_Read... [14:40:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:40:56]Read from MH i2c: E2 [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: E2 03 00 [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: E2 03 00 16 01 00 90 00 8B [14:40:56]RAPDU: 90 00 [14:40:56]wFMCommunicate OK [14:40:56]wFMCommunicate request_size=153 [14:40:56]MH_SAM_APDU [14:40:56]CAPDU: 80 0D 02 02 94 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 77 CD B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 96 CD 00 00 35 04 06 00 38 D9 84 4E FA 37 [14:40:56]Write to MH i2c: E2 9C 00 17 01 80 0D 02 02 94 00 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 77 CD B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 96 CD 00 00 35 04 06 00 38 D9 84 4E FA 37 00 00 50 [14:40:56]Write i2c OK [14:40:56]MH_I2C_Read... [14:40:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:40:56]Read from MH i2c: E2 [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: E2 03 00 [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: E2 03 00 17 01 00 90 00 8C [14:40:56]RAPDU: 90 00 [14:40:56]wFMCommunicate OK [14:40:56]wFMCommunicate request_size=4 [14:40:56]MH_SAM_APDU [14:40:56]CAPDU: 80 0D 03 02 [14:40:56]Write to MH i2c: E2 08 00 18 01 80 0D 03 02 00 00 00 00 94 [14:40:56]Write i2c OK [14:40:56]MH_I2C_Read... [14:40:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:40:56]Read from MH i2c: E2 [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: E2 0B 00 [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: E2 0B 00 18 01 00 E9 98 7A 27 EC A3 22 E2 90 00 4A [14:40:56]RAPDU: E9 98 7A 27 EC A3 22 E2 90 00 [14:40:56]wFMCommunicate OK [14:40:56]SAM_PROTO_SignData done [14:40:56]FM_MakeSignedData done [14:40:56]CreateOFDProtocolMessage [14:40:56]wFMCommunicate request_size=4 [14:40:56]MH_SAM_APDU [14:40:56]CAPDU: 80 11 00 00 [14:40:56]Write to MH i2c: E2 08 00 19 01 80 11 00 00 00 00 00 00 94 [14:40:56]Write i2c OK [14:40:56]MH_I2C_Read... [14:40:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:40:56]Read from MH i2c: E2 [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: E2 17 00 [14:40:56]MH_I2C_Read... [14:40:56]Read from MH i2c: E2 17 00 19 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 E7 [14:40:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [14:40:56]wFMCommunicate OK [14:40:56]CreateOFDProtocolMessage done [14:40:56]OFDSenderStorePacket 52630 [14:40:56]StoreOFDPacket docnum=52630 [14:40:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 9E 01 00 00 37 7F 96 01 84 AE 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 77 CD B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 96 CD 00 00 35 04 06 00 38 D9 84 4E FA 37 E9 98 7A 27 EC A3 22 E2 [14:40:56]CheckFolder [14:40:56]dirname=/storage/ofd_packets [14:40:56]CheckFolder done [14:40:56]ProducePacketName [14:40:56]name=ofd_packets/00052630 [14:40:56]NVStorageSaveData ofd_packets/00052630 [14:40:56]File name is /storage/ofd_packets/00052630 [14:40:56]Write 444 bytes [14:40:56]NVStorageSaveData done [14:40:56]OFDSenderStorePacket done [14:40:56]KKMCreateOFDPacket done [14:40:56]NVStorageSaveData kkm_last_timestamp [14:40:56]File name is /storage/kkm_last_timestamp [14:40:57]Write 4 bytes [14:40:57]NVStorageSaveData done [14:40:57]ExternCall_PrintAddStr [14:40:57]wPrintStart [14:40:57]Write to MH i2c: 01 00 00 1A 01 1B [14:40:57]OFD Sender: Processing packet 52630 [packets to send 55, broken 54] [14:40:57]ProducePacketName [14:40:57]name=ofd_packets/00052630 [14:40:57]OFD Sender: To server: pG, [14:40:57]CommunicateWithHost lk.salyk.kg:30040 [14:40:57]ConnectInit lk.salyk.kg [14:40:57]Write i2c OK [14:40:57]MH_I2C_Read... [14:40:57]Read from MH i2c: 01 [14:40:57]MH_I2C_Read... [14:40:57]Read from MH i2c: 01 07 00 [14:40:57]MH_I2C_Read... [14:40:57]Read from MH i2c: 01 07 00 1A 01 00 00 00 00 00 FF 0F 30 [14:40:57]RasterBufferAndPrint [14:40:57]line Счет N : (3)122761 [14:40:57]line ИНН: 02508201610067 [14:40:57]line Контрольно-Кассовый Чек [14:40:57]line ПРОДАЖА [14:40:57]line Товар: 4870202521230 [14:40:57]line Напиток MAXI чай 1,2 черн.лимон [14:40:57]line 1.000 * 125.00 [14:40:57]line = 125.00 [14:40:57]line НДС 12% НСП 1% [14:40:57]line > о реализуемом товаре [14:40:57]line Товар: 48745000 [14:40:57]line Сигареты Winston Purple Mix [14:40:57]line 1.000 * 135.00 [14:40:57]line = 135.00 [14:40:57]line НДС 12% НСП 1% [14:40:57]line > о реализуемом товаре [14:40:57]line ИТОГО: 260.00 [14:40:57]line НСП 1% : 2.30 [14:40:57]line НДС 12% : 27.61 [14:40:57]line Наличными: 0.00 [14:40:57]line Безнал.: 260.00 [14:40:57]line Место: АЗС № 54 "Партнер Нефть" [14:40:57]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [14:40:57]line СНО: Общий режим [14:40:57]line Чек 41 11.08.2024 14:40 [14:40:57]line Смена: 446 ФФД: 1.0 [14:40:57]line ЗНМ: 0300000007 [14:40:57]line РНМ: 0000000000090834 [14:40:57]line Версия ККМ: 001 [14:40:57]line Платежная система: О! деньги [14:40:57]line ФМ: 0000000000874715 [14:40:57]line ФД: 52630 [14:40:57]line ФПД: 62506878827063 [14:40:57]line /tax-web-control/client/api/v1/ticket?date=20240811T144055&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52630&fm=62506878827063&tin=02508201610067®Number=0000000000090834&sum=26000 [14:40:57]line 0 [14:40:57]written 0, free lines is 4095 [14:40:57]Connected sock=10 [14:40:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 9E 01 00 00 37 7F 96 01 84 AE 5A 03 01 00 03 00 8A 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 41 58 49 20 D1 87 D0 B0 D0 B9 20 31 2C 32 20 D1 87 D0 B5 D1 80 D0 BD 2E D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 77 CD B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 96 CD 00 00 35 04 06 00 38 D9 84 4E FA 37 E9 98 7A 27 EC A3 22 E2 [14:40:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 37 5C 47 00 AB 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 34 37 31 35 10 04 04 00 96 CD 00 00 F4 03 04 00 12 75 B8 66 B6 04 01 00 00 EC E0 2C CD 39 D2 24 0A [14:40:57]CommunicateWithHost err = 0 [14:40:57]CheckOFDResponse [14:40:57]1017 (14) - 77093643461234 [14:40:57]1041 (16) - 0000000000874715 [14:40:57]1040 (4) - 52630 [14:40:57]1012 (4) - 11.08.2024 08:23 [14:40:57]1206 (1) - 0 [14:40:57]OFD Sender: Remove packet 52630 [14:40:57]ProducePacketName [14:40:57]name=ofd_packets/00052630 [14:40:57]NVStorageDeleteData [14:40:57]Write to MH i2c: 01 00 00 4A 01 4B [14:40:57]Write i2c OK [14:40:57]MH_I2C_Read... [14:40:57]Read from MH i2c: 01 [14:40:57]MH_I2C_Read... [14:40:57]Read from MH i2c: 01 07 00 [14:40:57]MH_I2C_Read... [14:40:57]Read from MH i2c: 01 07 00 4A 01 00 00 00 00 00 49 0C A7 [14:40:57]RasterBufferAndPrint [14:40:57]line [14:40:57]line [14:40:57]line [14:40:57]line [14:40:57]line [14:40:57]written 0, free lines is 3152 [14:40:57]MH_Cut [14:40:57]Write to MH i2c: D1 01 00 51 01 01 24 [14:40:57]Write i2c OK [14:40:57]MH_I2C_Read... [14:40:57]Read from MH i2c: D1 [14:40:57]MH_I2C_Read... [14:40:57]Read from MH i2c: D1 01 00 [14:40:57]MH_I2C_Read... [14:40:57]Read from MH i2c: D1 01 00 51 01 00 23 [14:40:57]Write to MH i2c: 01 00 00 52 01 53 [14:40:57]Write i2c OK [14:40:57]MH_I2C_Read... [14:40:58]OFD Sender: No OFD packet to send [14:40:58]*** Cut start [14:40:58]*** Purtial cut [14:40:58]*** Stage 1: CUTSNS_PIN = 1 [14:40:58]Read from MH i2c: 01 [14:40:58]MH_I2C_Read... [14:40:58]*** Stop cut motor [14:40:58]*** Cut end [14:40:58]Read from MH i2c: 01 07 00 [14:40:58]MH_I2C_Read... [14:40:58]Read from MH i2c: 01 07 00 52 01 00 00 00 00 00 FF 0F 68 [14:40:58]process_action close_receipt done [14:40:58]requested_data is exist [14:40:58]produce_requested_data [14:40:58]requested_item fm.sn is exist - process it [14:40:58]wFMCommunicate request_size=4 [14:40:58]MH_SAM_APDU [14:40:58]CAPDU: 80 11 00 00 [14:40:58]Write to MH i2c: E2 08 00 53 01 80 11 00 00 00 00 00 00 CE [14:40:58]Write i2c OK [14:40:58]MH_I2C_Read... [14:40:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:40:58]Read from MH i2c: E2 [14:40:58]MH_I2C_Read... [14:40:58]Read from MH i2c: E2 17 00 [14:40:58]MH_I2C_Read... [14:40:58]Read from MH i2c: E2 17 00 53 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 21 [14:40:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [14:40:58]wFMCommunicate OK [14:40:58]requested_item fd.num is exist - process it [14:40:58]SAM_PROTO_GetFieldsCounters [14:40:58]wFMCommunicate request_size=4 [14:40:58]MH_SAM_APDU [14:40:58]CAPDU: 80 13 00 00 [14:40:58]Write to MH i2c: E2 08 00 54 01 80 13 00 00 00 00 00 00 D1 [14:40:58]Write i2c OK [14:40:58]MH_I2C_Read... [14:40:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:40:59]Read from MH i2c: E2 [14:40:59]MH_I2C_Read... [14:40:59]Read from MH i2c: E2 62 00 [14:40:59]MH_I2C_Read... [14:40:59]Read from MH i2c: E2 62 00 54 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 96 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 8E [14:40:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 96 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:40:59]wFMCommunicate OK [14:40:59]SAM_PROTO_GetFieldsCounters done [14:40:59]requested_item shift.num is exist - process it [14:40:59]requested_item shift.opened is exist - process it [14:40:59]req_shift_opened [14:40:59]FM_GetShiftState [14:40:59]SAM_PROTO_GetShiftState [14:40:59]wFMCommunicate request_size=4 [14:40:59]MH_SAM_APDU [14:40:59]CAPDU: 80 13 01 00 [14:40:59]Write to MH i2c: E2 08 00 55 01 80 13 01 00 00 00 00 00 D3 [14:40:59]Write i2c OK [14:40:59]MH_I2C_Read... [14:40:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:40:59]Read from MH i2c: E2 [14:40:59]MH_I2C_Read... [14:40:59]Read from MH i2c: E2 0E 00 [14:40:59]MH_I2C_Read... [14:40:59]Read from MH i2c: E2 0E 00 55 01 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 FC [14:40:59]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [14:40:59]wFMCommunicate OK [14:40:59]SAM_PROTO_GetShiftState done [14:40:59]FM_GetShiftState done [14:40:59]req_shift_opened done [14:40:59]requested_item shift.open_date is exist - process it [14:40:59]req_shift_open_date [14:40:59]req_shift_open_date done [14:40:59]produce_requested_data done [14:40:59]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52630,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [14:40:59]process_action_free close_receipt [14:40:59]json_value_free [14:40:59]json_value_free done [14:40:59]process_json_proto returns [14:40:59]Send response to host [14:40:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52630,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [14:40:59]free response buf [14:40:59]execute_script done [14:40:59]execute_script returns [14:40:59]free content buf [14:40:59]Sock 9.Close socket [14:40:59]Sock 9.Thread stoped [14:41:03]OFD Sender: No OFD packet to send [14:41:08]OFD Sender: No OFD packet to send [14:41:13]OFD Sender: No OFD packet to send [14:41:18]OFD Sender: No OFD packet to send [14:41:23]OFD Sender: No OFD packet to send [14:41:28]OFD Sender: No OFD packet to send [14:41:33]OFD Sender: No OFD packet to send [14:41:38]OFD Sender: No OFD packet to send [14:41:43]OFD Sender: No OFD packet to send [14:41:48]OFD Sender: No OFD packet to send [14:41:53]OFD Sender: No OFD packet to send [14:41:58]OFD Sender: No OFD packet to send [14:42:03]OFD Sender: No OFD packet to send [14:42:08]OFD Sender: No OFD packet to send [14:42:13]OFD Sender: No OFD packet to send [14:42:18]OFD Sender: No OFD packet to send [14:42:23]OFD Sender: No OFD packet to send [14:42:28]OFD Sender: No OFD packet to send [14:42:33]OFD Sender: No OFD packet to send [14:42:38]OFD Sender: No OFD packet to send [14:42:43]OFD Sender: No OFD packet to send [14:42:48]OFD Sender: No OFD packet to send [14:42:53]OFD Sender: No OFD packet to send [14:42:58]OFD Sender: No OFD packet to send [14:43:03]OFD Sender: No OFD packet to send [14:43:08]OFD Sender: No OFD packet to send [14:43:13]OFD Sender: No OFD packet to send [14:43:18]OFD Sender: No OFD packet to send [14:43:23]OFD Sender: No OFD packet to send [14:43:28]OFD Sender: No OFD packet to send [14:43:33]OFD Sender: No OFD packet to send [14:43:38]OFD Sender: No OFD packet to send [14:43:43]OFD Sender: No OFD packet to send [14:43:48]OFD Sender: No OFD packet to send [14:43:53]OFD Sender: No OFD packet to send [14:43:58]OFD Sender: No OFD packet to send [14:44:03]OFD Sender: No OFD packet to send [14:44:08]OFD Sender: No OFD packet to send [14:44:13]OFD Sender: No OFD packet to send [14:44:18]OFD Sender: No OFD packet to send [14:44:23]OFD Sender: No OFD packet to send [14:44:28]OFD Sender: No OFD packet to send [14:44:33]OFD Sender: No OFD packet to send [14:44:38]OFD Sender: No OFD packet to send [14:44:43]OFD Sender: No OFD packet to send [14:44:48]OFD Sender: No OFD packet to send [14:44:53]OFD Sender: No OFD packet to send [14:44:58]OFD Sender: No OFD packet to send [14:45:03]OFD Sender: No OFD packet to send [14:45:08]OFD Sender: No OFD packet to send [14:45:13]OFD Sender: No OFD packet to send [14:45:18]OFD Sender: No OFD packet to send [14:45:23]OFD Sender: No OFD packet to send [14:45:28]OFD Sender: No OFD packet to send [14:45:33]OFD Sender: No OFD packet to send [14:45:38]OFD Sender: No OFD packet to send [14:45:43]OFD Sender: No OFD packet to send [14:45:48]OFD Sender: No OFD packet to send [14:45:53]OFD Sender: No OFD packet to send [14:45:58]OFD Sender: No OFD packet to send [14:46:03]OFD Sender: No OFD packet to send [14:46:08]OFD Sender: No OFD packet to send [14:46:13]OFD Sender: No OFD packet to send [14:46:18]OFD Sender: No OFD packet to send [14:46:23]OFD Sender: No OFD packet to send [14:46:28]OFD Sender: No OFD packet to send [14:46:33]OFD Sender: No OFD packet to send [14:46:38]OFD Sender: No OFD packet to send [14:46:43]OFD Sender: No OFD packet to send [14:46:48]OFD Sender: No OFD packet to send [14:46:53]OFD Sender: No OFD packet to send [14:46:58]OFD Sender: No OFD packet to send [14:47:03]OFD Sender: No OFD packet to send [14:47:08]OFD Sender: No OFD packet to send [14:47:13]OFD Sender: No OFD packet to send [14:47:18]OFD Sender: No OFD packet to send [14:47:23]OFD Sender: No OFD packet to send [14:47:28]OFD Sender: No OFD packet to send [14:47:33]OFD Sender: No OFD packet to send [14:47:38]OFD Sender: No OFD packet to send [14:47:43]OFD Sender: No OFD packet to send [14:47:48]OFD Sender: No OFD packet to send [14:47:53]OFD Sender: No OFD packet to send [14:47:58]OFD Sender: No OFD packet to send [14:48:03]OFD Sender: No OFD packet to send [14:48:08]OFD Sender: No OFD packet to send [14:48:13]OFD Sender: No OFD packet to send [14:48:18]OFD Sender: No OFD packet to send [14:48:23]OFD Sender: No OFD packet to send [14:48:28]OFD Sender: No OFD packet to send [14:48:33]OFD Sender: No OFD packet to send [14:48:38]OFD Sender: No OFD packet to send [14:48:43]OFD Sender: No OFD packet to send [14:48:48]OFD Sender: No OFD packet to send [14:48:53]OFD Sender: No OFD packet to send [14:48:58]OFD Sender: No OFD packet to send [14:49:03]OFD Sender: No OFD packet to send [14:49:08]OFD Sender: No OFD packet to send [14:49:13]OFD Sender: No OFD packet to send [14:49:18]OFD Sender: No OFD packet to send [14:49:23]OFD Sender: No OFD packet to send [14:49:28]OFD Sender: No OFD packet to send [14:49:33]OFD Sender: No OFD packet to send [14:49:38]OFD Sender: No OFD packet to send [14:49:43]OFD Sender: No OFD packet to send [14:49:48]OFD Sender: No OFD packet to send [14:49:53]OFD Sender: No OFD packet to send [14:49:58]OFD Sender: No OFD packet to send [14:50:03]OFD Sender: No OFD packet to send [14:50:08]OFD Sender: No OFD packet to send [14:50:13]OFD Sender: No OFD packet to send [14:50:18]OFD Sender: No OFD packet to send [14:50:23]OFD Sender: No OFD packet to send [14:50:28]OFD Sender: No OFD packet to send [14:50:33]OFD Sender: No OFD packet to send [14:50:38]OFD Sender: No OFD packet to send [14:50:43]OFD Sender: No OFD packet to send [14:50:48]OFD Sender: No OFD packet to send [14:50:53]OFD Sender: No OFD packet to send [14:50:58]OFD Sender: No OFD packet to send [14:51:03]OFD Sender: No OFD packet to send [14:51:08]OFD Sender: No OFD packet to send [14:51:13]OFD Sender: No OFD packet to send [14:51:18]OFD Sender: No OFD packet to send [14:51:23]OFD Sender: No OFD packet to send [14:51:28]OFD Sender: No OFD packet to send [14:51:33]OFD Sender: No OFD packet to send [14:51:38]OFD Sender: No OFD packet to send [14:51:43]OFD Sender: No OFD packet to send [14:51:48]OFD Sender: No OFD packet to send [14:51:53]OFD Sender: No OFD packet to send [14:51:58]OFD Sender: No OFD packet to send [14:52:03]OFD Sender: No OFD packet to send [14:52:08]OFD Sender: No OFD packet to send [14:52:13]OFD Sender: No OFD packet to send [14:52:18]OFD Sender: No OFD packet to send [14:52:23]OFD Sender: No OFD packet to send [14:52:28]OFD Sender: No OFD packet to send [14:52:33]OFD Sender: No OFD packet to send [14:52:38]OFD Sender: No OFD packet to send [14:52:43]OFD Sender: No OFD packet to send [14:52:48]OFD Sender: No OFD packet to send [14:52:53]OFD Sender: No OFD packet to send [14:52:58]OFD Sender: No OFD packet to send [14:53:03]OFD Sender: No OFD packet to send [14:53:08]OFD Sender: No OFD packet to send [14:53:13]OFD Sender: No OFD packet to send [14:53:18]OFD Sender: No OFD packet to send [14:53:23]OFD Sender: No OFD packet to send [14:53:28]OFD Sender: No OFD packet to send [14:53:33]OFD Sender: No OFD packet to send [14:53:38]OFD Sender: No OFD packet to send [14:53:43]OFD Sender: No OFD packet to send [14:53:48]OFD Sender: No OFD packet to send [14:53:53]OFD Sender: No OFD packet to send [14:53:58]OFD Sender: No OFD packet to send [14:54:03]OFD Sender: No OFD packet to send [14:54:08]OFD Sender: No OFD packet to send [14:54:13]OFD Sender: No OFD packet to send [14:54:18]OFD Sender: No OFD packet to send [14:54:23]OFD Sender: No OFD packet to send [14:54:28]OFD Sender: No OFD packet to send [14:54:33]OFD Sender: No OFD packet to send [14:54:38]OFD Sender: No OFD packet to send [14:54:43]OFD Sender: No OFD packet to send [14:54:48]OFD Sender: No OFD packet to send [14:54:53]OFD Sender: No OFD packet to send [14:54:58]OFD Sender: No OFD packet to send [14:55:03]OFD Sender: No OFD packet to send [14:55:08]OFD Sender: No OFD packet to send [14:55:13]OFD Sender: No OFD packet to send [14:55:18]OFD Sender: No OFD packet to send [14:55:23]OFD Sender: No OFD packet to send [14:55:28]OFD Sender: No OFD packet to send [14:55:33]OFD Sender: No OFD packet to send [14:55:38]OFD Sender: No OFD packet to send [14:55:43]OFD Sender: No OFD packet to send [14:55:48]OFD Sender: No OFD packet to send [14:55:53]OFD Sender: No OFD packet to send [14:55:58]OFD Sender: No OFD packet to send [14:56:03]OFD Sender: No OFD packet to send [14:56:08]OFD Sender: No OFD packet to send [14:56:13]OFD Sender: No OFD packet to send [14:56:18]OFD Sender: No OFD packet to send [14:56:23]OFD Sender: No OFD packet to send [14:56:28]OFD Sender: No OFD packet to send [14:56:33]OFD Sender: No OFD packet to send [14:56:38]OFD Sender: No OFD packet to send [14:56:43]OFD Sender: No OFD packet to send [14:56:48]OFD Sender: No OFD packet to send [14:56:53]OFD Sender: No OFD packet to send [14:56:58]OFD Sender: No OFD packet to send [14:57:03]OFD Sender: No OFD packet to send [14:57:08]OFD Sender: No OFD packet to send [14:57:14]OFD Sender: No OFD packet to send [14:57:19]OFD Sender: No OFD packet to send [14:57:24]OFD Sender: No OFD packet to send [14:57:29]OFD Sender: No OFD packet to send [14:57:34]OFD Sender: No OFD packet to send [14:57:39]OFD Sender: No OFD packet to send [14:57:44]OFD Sender: No OFD packet to send [14:57:49]OFD Sender: No OFD packet to send [14:57:54]OFD Sender: No OFD packet to send [14:57:59]OFD Sender: No OFD packet to send [14:58:04]OFD Sender: No OFD packet to send [14:58:09]OFD Sender: No OFD packet to send [14:58:14]OFD Sender: No OFD packet to send [14:58:19]OFD Sender: No OFD packet to send [14:58:24]OFD Sender: No OFD packet to send [14:58:29]OFD Sender: No OFD packet to send [14:58:34]OFD Sender: No OFD packet to send [14:58:39]OFD Sender: No OFD packet to send [14:58:44]OFD Sender: No OFD packet to send [14:58:49]OFD Sender: No OFD packet to send [14:58:54]OFD Sender: No OFD packet to send [14:58:59]OFD Sender: No OFD packet to send [14:59:04]OFD Sender: No OFD packet to send [14:59:09]OFD Sender: No OFD packet to send [14:59:14]OFD Sender: No OFD packet to send [14:59:19]OFD Sender: No OFD packet to send [14:59:24]OFD Sender: No OFD packet to send [14:59:29]OFD Sender: No OFD packet to send [14:59:34]OFD Sender: No OFD packet to send [14:59:39]OFD Sender: No OFD packet to send [14:59:44]OFD Sender: No OFD packet to send [14:59:49]OFD Sender: No OFD packet to send [14:59:54]OFD Sender: No OFD packet to send [14:59:59]OFD Sender: No OFD packet to send [15:00:04]OFD Sender: No OFD packet to send [15:00:09]OFD Sender: No OFD packet to send [15:00:11]accept exits with 7 [15:00:11]New connection [15:00:11]New thread 3067293028 created [15:00:11]Thread 3067149668 joined [15:00:11]Waiting for new connection... [15:00:11] Sock 7.Parse request [15:00:11]Sock 7.Check first char [15:00:11]Sock 7.First char is OK [15:00:11]request: POST /json_proto HTTP/1.0 [15:00:11]Method: POST [15:00:11]URL: /json_proto [15:00:11]Method is POST - this is cgi request [15:00:11]url: /json_proto [15:00:11]query_string will be loaded in cgi processing [15:00:11]execute_cgi json_proto POST (null) [15:00:11]execute_cgi path=json_proto method=POST [15:00:11]POST find Content-Length [15:00:11]Host: 172.17.60.7:8080 [15:00:11]Content-Length: 1027 [15:00:11]Content-Type: application/json [15:00:11] [15:00:11]POST finish read [15:00:11]Found Content-Length = 1027 [15:00:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122762", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230478", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Kiss Jolly", "price" : 118.00, "quantity" : 1.000, "sum" : 118.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 198.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:00:11]execute_script... [15:00:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122762", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230478", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Kiss Jolly", "price" : 118.00, "quantity" : 1.000, "sum" : 118.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 198.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:00:11]POST & json_proto [15:00:11]process_json_proto [15:00:11]json parsed OK: [15:00:11]protocol is kg_v1.0 [15:00:11]action value=close_receipt [15:00:11]process_action close_receipt [15:00:11]cmd_close_receipt [15:00:11]MH_GetDate [15:00:11]Write to MH i2c: F0 00 00 56 01 46 [15:00:11]Write i2c OK [15:00:11]MH_I2C_Read... [15:00:11]Read from MH i2c: F0 [15:00:11]MH_I2C_Read... [15:00:11]Read from MH i2c: F0 09 00 [15:00:11]MH_I2C_Read... [15:00:11]Read from MH i2c: F0 09 00 56 01 00 FC D1 B8 66 63 9B 67 64 03 [15:00:11]GetLastDocTimeStamp 1723387255 [15:00:11]current date 1723388412 [15:00:11]FM_GetShiftState [15:00:11]SAM_PROTO_GetShiftState [15:00:11]wFMCommunicate request_size=4 [15:00:11]MH_SAM_APDU [15:00:11]CAPDU: 80 13 01 00 [15:00:11]Write to MH i2c: E2 08 00 57 01 80 13 01 00 00 00 00 00 D5 [15:00:11]Write i2c OK [15:00:11]MH_I2C_Read... [15:00:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:00:11]Read from MH i2c: E2 [15:00:11]MH_I2C_Read... [15:00:11]Read from MH i2c: E2 0E 00 [15:00:11]MH_I2C_Read... [15:00:11]Read from MH i2c: E2 0E 00 57 01 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 FE [15:00:11]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [15:00:11]wFMCommunicate OK [15:00:11]SAM_PROTO_GetShiftState done [15:00:11]FM_GetShiftState done [15:00:11]opened in 1723336186 [15:00:11]opened+sec_in_day 1723422586 [15:00:11]quantity*price = 8000 [15:00:11]sum+1 = 8001 [15:00:11]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46230478 Сигареты Kiss Jolly 1.000 * 118.00 = 118.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 198.00 НСП 1% : 1.75 НДС 12% : 21.03 Наличными: 0.00 Безнал.: 198.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 42 11.08.2024 15:00 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52631 ФПД: 105236601271095 /tax-web-control/client/api/v1/ticket?date=20240811T150012&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52631&fm=105236601271095&tin=02508201610067®Number=0000000000090834&sum=19800 0 [15:00:12]StoreToDocumentArchive [15:00:12]shift 446 fd 52631 [15:00:12]save to /storage/0446/doc_00052631 [15:00:12]save last doc name /storage/0446/doc_00052631 to /storage/kkm_last_doc_name [15:00:12]save OK [15:00:12]Clear old archive folders... [15:00:12]ProcessDocumentItem done err = 0, tmpTLVsize=365 [15:00:12]tlvbuf is 01289F80 [15:00:12]SAM_PROTO_ClearQueue [15:00:12]wFMCommunicate request_size=4 [15:00:12]MH_SAM_APDU [15:00:12]CAPDU: 80 09 00 00 [15:00:12]Write to MH i2c: E2 08 00 64 01 80 09 00 00 00 00 00 00 D7 [15:00:12]Write i2c OK [15:00:12]MH_I2C_Read... [15:00:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:00:12]Read from MH i2c: E2 [15:00:12]MH_I2C_Read... [15:00:12]Read from MH i2c: E2 03 00 [15:00:12]MH_I2C_Read... [15:00:12]Read from MH i2c: E2 03 00 64 01 00 90 00 D9 [15:00:12]RAPDU: 90 00 [15:00:12]wFMCommunicate OK [15:00:12]SAM_PROTO_ClearQueue done [15:00:12]KKMCreateOFDPacket [15:00:12]OFDProtocolAddRootSTLVToBuf [15:00:12]FM_MakeSignedData [15:00:12]FM_MakeSignedData [15:00:12]SAM_PROTO_SignData [15:00:12]wFMCommunicate request_size=4 [15:00:12]MH_SAM_APDU [15:00:12]CAPDU: 80 0D 01 02 [15:00:12]Write to MH i2c: E2 08 00 65 01 80 0D 01 02 00 00 00 00 DF [15:00:12]Write i2c OK [15:00:12]MH_I2C_Read... [15:00:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:00:12]Read from MH i2c: E2 [15:00:12]MH_I2C_Read... [15:00:12]Read from MH i2c: E2 03 00 [15:00:12]MH_I2C_Read... [15:00:12]Read from MH i2c: E2 03 00 65 01 00 90 00 DA [15:00:12]RAPDU: 90 00 [15:00:12]wFMCommunicate OK [15:00:12]wFMCommunicate request_size=255 [15:00:12]MH_SAM_APDU [15:00:12]CAPDU: 80 0D 02 02 FA 03 00 6D 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5A 00 8A 04 08 00 34 36 32 33 30 34 37 38 06 04 1B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4B 69 73 73 20 4A 6F 6C 6C 79 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 2E 00 00 00 00 13 04 06 00 18 2E 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 [15:00:12]Write to MH i2c: E2 02 01 66 01 80 0D 02 02 FA 00 03 00 6D 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5A 00 8A 04 08 00 34 36 32 33 30 34 37 38 06 04 1B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4B 69 73 73 20 4A 6F 6C 6C 79 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 2E 00 00 00 00 13 04 06 00 18 2E 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 00 00 4D [15:00:12]Write i2c OK [15:00:12]MH_I2C_Read... [15:00:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:00:12]Read from MH i2c: E2 [15:00:12]MH_I2C_Read... [15:00:12]Read from MH i2c: E2 03 00 [15:00:12]MH_I2C_Read... [15:00:12]Read from MH i2c: E2 03 00 66 01 00 90 00 DB [15:00:12]RAPDU: 90 00 [15:00:12]wFMCommunicate OK [15:00:12]wFMCommunicate request_size=124 [15:00:12]MH_SAM_APDU [15:00:12]CAPDU: 80 0D 02 02 77 37 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 4D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 FC D1 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 97 CD 00 00 35 04 06 00 5F B6 4E 3C 73 37 [15:00:12]Write to MH i2c: E2 7F 00 67 01 80 0D 02 02 77 00 37 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 58 4D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 FC D1 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 97 CD 00 00 35 04 06 00 5F B6 4E 3C 73 37 00 00 6E [15:00:12]Write i2c OK [15:00:12]MH_I2C_Read... [15:00:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:00:12]Read from MH i2c: E2 [15:00:12]MH_I2C_Read... [15:00:12]Read from MH i2c: E2 03 00 [15:00:12]MH_I2C_Read... [15:00:12]Read from MH i2c: E2 03 00 67 01 00 90 00 DC [15:00:12]RAPDU: 90 00 [15:00:12]wFMCommunicate OK [15:00:12]wFMCommunicate request_size=4 [15:00:12]MH_SAM_APDU [15:00:12]CAPDU: 80 0D 03 02 [15:00:12]Write to MH i2c: E2 08 00 68 01 80 0D 03 02 00 00 00 00 E4 [15:00:12]Write i2c OK [15:00:12]MH_I2C_Read... [15:00:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:00:12]Read from MH i2c: E2 [15:00:12]MH_I2C_Read... [15:00:12]Read from MH i2c: E2 0B 00 [15:00:12]MH_I2C_Read... [15:00:12]Read from MH i2c: E2 0B 00 68 01 00 C6 E2 E8 D6 1B CC E8 87 90 00 A1 [15:00:12]RAPDU: C6 E2 E8 D6 1B CC E8 87 90 00 [15:00:12]wFMCommunicate OK [15:00:12]SAM_PROTO_SignData done [15:00:12]FM_MakeSignedData done [15:00:12]CreateOFDProtocolMessage [15:00:12]wFMCommunicate request_size=4 [15:00:12]MH_SAM_APDU [15:00:12]CAPDU: 80 11 00 00 [15:00:12]Write to MH i2c: E2 08 00 69 01 80 11 00 00 00 00 00 00 E4 [15:00:12]Write i2c OK [15:00:12]MH_I2C_Read... [15:00:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:00:12]Read from MH i2c: E2 [15:00:12]MH_I2C_Read... [15:00:12]Read from MH i2c: E2 17 00 [15:00:12]MH_I2C_Read... [15:00:12]Read from MH i2c: E2 17 00 69 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 37 [15:00:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [15:00:12]wFMCommunicate OK [15:00:12]CreateOFDProtocolMessage done [15:00:12]OFDSenderStorePacket 52631 [15:00:12]StoreOFDPacket docnum=52631 [15:00:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 81 01 00 00 5F 1A 79 01 9B C8 5A 03 01 00 03 00 6D 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5A 00 8A 04 08 00 34 36 32 33 30 34 37 38 06 04 1B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4B 69 73 73 20 4A 6F 6C 6C 79 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 2E 00 00 00 00 13 04 06 00 18 2E 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 00 00 00 00 00 00 39 04 06 00 58 4D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 FC D1 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 97 CD 00 00 35 04 06 00 5F B6 4E 3C 73 37 C6 E2 E8 D6 1B CC E8 87 [15:00:12]CheckFolder [15:00:12]dirname=/storage/ofd_packets [15:00:12]CheckFolder done [15:00:12]ProducePacketName [15:00:12]name=ofd_packets/00052631 [15:00:12]NVStorageSaveData ofd_packets/00052631 [15:00:12]File name is /storage/ofd_packets/00052631 [15:00:12]Write 415 bytes [15:00:12]NVStorageSaveData done [15:00:12]OFDSenderStorePacket done [15:00:12]KKMCreateOFDPacket done [15:00:12]NVStorageSaveData kkm_last_timestamp [15:00:12]File name is /storage/kkm_last_timestamp [15:00:12]Write 4 bytes [15:00:12]NVStorageSaveData done [15:00:12]ExternCall_PrintAddStr [15:00:12]wPrintStart [15:00:12]Write to MH i2c: 01 00 00 6A 01 6B [15:00:12]Write i2c OK [15:00:12]MH_I2C_Read... [15:00:12]Read from MH i2c: 01 [15:00:12]MH_I2C_Read... [15:00:12]Read from MH i2c: 01 07 00 [15:00:12]MH_I2C_Read... [15:00:12]Read from MH i2c: 01 07 00 6A 01 00 00 00 00 00 FF 0F 80 [15:00:12]RasterBufferAndPrint [15:00:12]line Счет N : (3)122762 [15:00:12]line ИНН: 02508201610067 [15:00:13]line Контрольно-Кассовый Чек [15:00:13]line ПРОДАЖА [15:00:13]line Товар: 4700000160211 [15:00:13]line Вода Легенда 0,5л [15:00:13]line 2.000 * 40.00 [15:00:13]line = 80.00 [15:00:13]line НДС 12% НСП 1% [15:00:13]line > о реализуемом товаре [15:00:13]line Товар: 46230478 [15:00:13]line Сигареты Kiss Jolly [15:00:13]line 1.000 * 118.00 [15:00:13]line = 118.00 [15:00:13]line НДС 12% НСП 1% [15:00:13]line > о реализуемом товаре [15:00:13]line ИТОГО: 198.00 [15:00:13]line НСП 1% : 1.75 [15:00:13]line НДС 12% : 21.03 [15:00:13]line Наличными: 0.00 [15:00:13]line Безнал.: 198.00 [15:00:13]line Место: АЗС № 54 "Партнер Нефть" [15:00:13]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [15:00:13]line СНО: Общий режим [15:00:13]line Чек 42 11.08.2024 15:00 [15:00:13]line Смена: 446 ФФД: 1.0 [15:00:13]line ЗНМ: 0300000007 [15:00:13]line РНМ: 0000000000090834 [15:00:13]line Версия ККМ: 001 [15:00:13]line Платежная система: О! деньги [15:00:13]line ФМ: 0000000000874715 [15:00:13]line ФД: 52631 [15:00:13]line ФПД: 105236601271095 [15:00:13]line /tax-web-control/client/api/v1/ticket?date=20240811T150012&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52631&fm=105236601271095&tin=02508201610067®Number=0000000000090834&sum=19800 [15:00:13]line 0 [15:00:13]OFD Sender: Processing packet 52631 [packets to send 55, broken 54] [15:00:13]ProducePacketName [15:00:13]name=ofd_packets/00052631 [15:00:13]OFD Sender: To server: pG, [15:00:13]CommunicateWithHost lk.salyk.kg:30040 [15:00:13]ConnectInit lk.salyk.kg [15:00:13]written 0, free lines is 4095 [15:00:13]Connected sock=10 [15:00:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 81 01 00 00 5F 1A 79 01 9B C8 5A 03 01 00 03 00 6D 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5A 00 8A 04 08 00 34 36 32 33 30 34 37 38 06 04 1B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4B 69 73 73 20 4A 6F 6C 6C 79 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 2E 00 00 00 00 13 04 06 00 18 2E 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 00 00 00 00 00 00 39 04 06 00 58 4D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 FC D1 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 97 CD 00 00 35 04 06 00 5F B6 4E 3C 73 37 C6 E2 E8 D6 1B CC E8 87 [15:00:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 8D D6 47 00 B3 EC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 97 CD 00 00 F4 03 04 00 97 79 B8 66 B6 04 01 00 00 2B DF FE 48 F3 23 8F EA [15:00:13]CommunicateWithHost err = 0 [15:00:13]CheckOFDResponse [15:00:13]1017 (14) - 77093643461234 [15:00:13]1041 (16) - 0000000000874715 [15:00:13]1040 (4) - 52631 [15:00:13]1012 (4) - 11.08.2024 08:43 [15:00:13]1206 (1) - 0 [15:00:13]OFD Sender: Remove packet 52631 [15:00:13]ProducePacketName [15:00:13]name=ofd_packets/00052631 [15:00:13]NVStorageDeleteData [15:00:13]Write to MH i2c: 01 00 00 99 01 9A [15:00:13]Write i2c OK [15:00:13]MH_I2C_Read... [15:00:13]Read from MH i2c: 01 [15:00:13]MH_I2C_Read... [15:00:13]Read from MH i2c: 01 07 00 [15:00:13]MH_I2C_Read... [15:00:13]Read from MH i2c: 01 07 00 99 01 00 00 00 00 00 79 0C 26 [15:00:13]RasterBufferAndPrint [15:00:13]line [15:00:13]line [15:00:13]line [15:00:13]line [15:00:13]line [15:00:13]written 0, free lines is 3198 [15:00:13]MH_Cut [15:00:13]Write to MH i2c: D1 01 00 A0 01 01 73 [15:00:13]Write i2c OK [15:00:13]MH_I2C_Read... [15:00:13]Read from MH i2c: D1 [15:00:13]MH_I2C_Read... [15:00:13]Read from MH i2c: D1 01 00 [15:00:13]MH_I2C_Read... [15:00:13]Read from MH i2c: D1 01 00 A0 01 00 72 [15:00:13]Write to MH i2c: 01 00 00 A1 01 A2 [15:00:13]Write i2c OK [15:00:13]MH_I2C_Read... [15:00:14]OFD Sender: No OFD packet to send [15:00:14]*** Cut start [15:00:14]*** Purtial cut [15:00:14]*** Stage 1: CUTSNS_PIN = 1 [15:00:15]Read from MH i2c: 01 [15:00:15]MH_I2C_Read... [15:00:15]*** Stop cut motor [15:00:15]*** Cut end [15:00:15]Read from MH i2c: 01 07 00 [15:00:15]MH_I2C_Read... [15:00:15]Read from MH i2c: 01 07 00 A1 01 00 00 00 00 00 FF 0F B7 [15:00:15]process_action close_receipt done [15:00:15]requested_data is exist [15:00:15]produce_requested_data [15:00:15]requested_item fm.sn is exist - process it [15:00:15]wFMCommunicate request_size=4 [15:00:15]MH_SAM_APDU [15:00:15]CAPDU: 80 11 00 00 [15:00:15]Write to MH i2c: E2 08 00 A2 01 80 11 00 00 00 00 00 00 1D [15:00:15]Write i2c OK [15:00:15]MH_I2C_Read... [15:00:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:00:15]Read from MH i2c: E2 [15:00:15]MH_I2C_Read... [15:00:15]Read from MH i2c: E2 17 00 [15:00:15]MH_I2C_Read... [15:00:15]Read from MH i2c: E2 17 00 A2 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 70 [15:00:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [15:00:15]wFMCommunicate OK [15:00:15]requested_item fd.num is exist - process it [15:00:15]SAM_PROTO_GetFieldsCounters [15:00:15]wFMCommunicate request_size=4 [15:00:15]MH_SAM_APDU [15:00:15]CAPDU: 80 13 00 00 [15:00:15]Write to MH i2c: E2 08 00 A3 01 80 13 00 00 00 00 00 00 20 [15:00:15]Write i2c OK [15:00:15]MH_I2C_Read... [15:00:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:00:15]Read from MH i2c: E2 [15:00:15]MH_I2C_Read... [15:00:15]Read from MH i2c: E2 62 00 [15:00:15]MH_I2C_Read... [15:00:15]Read from MH i2c: E2 62 00 A3 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 97 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 E1 [15:00: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 97 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:00:15]wFMCommunicate OK [15:00:15]SAM_PROTO_GetFieldsCounters done [15:00:15]requested_item shift.num is exist - process it [15:00:15]requested_item shift.opened is exist - process it [15:00:15]req_shift_opened [15:00:15]FM_GetShiftState [15:00:15]SAM_PROTO_GetShiftState [15:00:15]wFMCommunicate request_size=4 [15:00:15]MH_SAM_APDU [15:00:15]CAPDU: 80 13 01 00 [15:00:15]Write to MH i2c: E2 08 00 A4 01 80 13 01 00 00 00 00 00 22 [15:00:15]Write i2c OK [15:00:15]MH_I2C_Read... [15:00:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:00:15]Read from MH i2c: E2 [15:00:15]MH_I2C_Read... [15:00:15]Read from MH i2c: E2 0E 00 [15:00:15]MH_I2C_Read... [15:00:15]Read from MH i2c: E2 0E 00 A4 01 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 4B [15:00:15]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [15:00:15]wFMCommunicate OK [15:00:15]SAM_PROTO_GetShiftState done [15:00:15]FM_GetShiftState done [15:00:15]req_shift_opened done [15:00:15]requested_item shift.open_date is exist - process it [15:00:15]req_shift_open_date [15:00:15]req_shift_open_date done [15:00:15]produce_requested_data done [15:00:15]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52631,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [15:00:15]process_action_free close_receipt [15:00:15]json_value_free [15:00:15]json_value_free done [15:00:15]process_json_proto returns [15:00:15]Send response to host [15:00:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52631,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [15:00:15]free response buf [15:00:15]execute_script done [15:00:15]execute_script returns [15:00:15]free content buf [15:00:15]Sock 7.Close socket [15:00:15]Sock 7.Thread stoped [15:00:19]OFD Sender: No OFD packet to send [15:00:24]OFD Sender: No OFD packet to send [15:00:29]OFD Sender: No OFD packet to send [15:00:34]OFD Sender: No OFD packet to send [15:00:39]OFD Sender: No OFD packet to send [15:00:44]OFD Sender: No OFD packet to send [15:00:49]OFD Sender: No OFD packet to send [15:00:54]OFD Sender: No OFD packet to send [15:00:59]OFD Sender: No OFD packet to send [15:01:04]OFD Sender: No OFD packet to send [15:01:09]OFD Sender: No OFD packet to send [15:01:14]OFD Sender: No OFD packet to send [15:01:19]OFD Sender: No OFD packet to send [15:01:24]OFD Sender: No OFD packet to send [15:01:29]OFD Sender: No OFD packet to send [15:01:34]OFD Sender: No OFD packet to send [15:01:39]OFD Sender: No OFD packet to send [15:01:44]OFD Sender: No OFD packet to send [15:01:49]OFD Sender: No OFD packet to send [15:01:54]OFD Sender: No OFD packet to send [15:01:59]OFD Sender: No OFD packet to send [15:02:04]OFD Sender: No OFD packet to send [15:02:09]OFD Sender: No OFD packet to send [15:02:14]OFD Sender: No OFD packet to send [15:02:19]OFD Sender: No OFD packet to send [15:02:24]OFD Sender: No OFD packet to send [15:02:29]OFD Sender: No OFD packet to send [15:02:34]OFD Sender: No OFD packet to send [15:02:39]OFD Sender: No OFD packet to send [15:02:44]OFD Sender: No OFD packet to send [15:02:49]OFD Sender: No OFD packet to send [15:02:54]OFD Sender: No OFD packet to send [15:02:59]OFD Sender: No OFD packet to send [15:03:04]OFD Sender: No OFD packet to send [15:03:09]OFD Sender: No OFD packet to send [15:03:14]OFD Sender: No OFD packet to send [15:03:19]OFD Sender: No OFD packet to send [15:03:24]OFD Sender: No OFD packet to send [15:03:29]OFD Sender: No OFD packet to send [15:03:34]OFD Sender: No OFD packet to send [15:03:39]OFD Sender: No OFD packet to send [15:03:44]OFD Sender: No OFD packet to send [15:03:49]OFD Sender: No OFD packet to send [15:03:54]OFD Sender: No OFD packet to send [15:03:59]OFD Sender: No OFD packet to send [15:04:04]OFD Sender: No OFD packet to send [15:04:09]OFD Sender: No OFD packet to send [15:04:14]OFD Sender: No OFD packet to send [15:04:19]OFD Sender: No OFD packet to send [15:04:24]OFD Sender: No OFD packet to send [15:04:29]OFD Sender: No OFD packet to send [15:04:34]OFD Sender: No OFD packet to send [15:04:38]accept exits with 9 [15:04:38]New connection [15:04:38]New thread 3067149668 created [15:04:38]Thread 3067293028 joined [15:04:38]Waiting for new connection... [15:04:38] Sock 9.Parse request [15:04:38]Sock 9.Check first char [15:04:38]Sock 9.First char is OK [15:04:38]request: POST /json_proto HTTP/1.0 [15:04:38]Method: POST [15:04:38]URL: /json_proto [15:04:38]Method is POST - this is cgi request [15:04:38]url: /json_proto [15:04:38]query_string will be loaded in cgi processing [15:04:38]execute_cgi json_proto POST (null) [15:04:38]execute_cgi path=json_proto method=POST [15:04:38]POST find Content-Length [15:04:38]Host: 172.17.60.7:8080 [15:04:38]Content-Length: 1454 [15:04:38]Content-Type: application/json [15:04:38] [15:04:38]POST finish read [15:04:38]Found Content-Length = 1454 [15:04:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122763", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 2.000, "sum" : 240.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": "2000032760017", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043C\u044F\u0441\u043E110\u0433", "price" : 65.00, "quantity" : 5.000, "sum" : 325.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 615.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:04:38]execute_script... [15:04:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122763", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 2.000, "sum" : 240.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": "2000032760017", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043C\u044F\u0441\u043E110\u0433", "price" : 65.00, "quantity" : 5.000, "sum" : 325.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 615.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:04:38]POST & json_proto [15:04:38]process_json_proto [15:04:38]json parsed OK: [15:04:38]protocol is kg_v1.0 [15:04:38]action value=close_receipt [15:04:38]process_action close_receipt [15:04:38]cmd_close_receipt [15:04:38]MH_GetDate [15:04:38]Write to MH i2c: F0 00 00 A5 01 95 [15:04:38]Write i2c OK [15:04:38]MH_I2C_Read... [15:04:38]Read from MH i2c: F0 [15:04:38]MH_I2C_Read... [15:04:38]Read from MH i2c: F0 09 00 [15:04:38]MH_I2C_Read... [15:04:38]Read from MH i2c: F0 09 00 A5 01 00 07 D3 B8 66 63 9B 67 64 5F [15:04:38]GetLastDocTimeStamp 1723388412 [15:04:38]current date 1723388679 [15:04:38]FM_GetShiftState [15:04:38]SAM_PROTO_GetShiftState [15:04:38]wFMCommunicate request_size=4 [15:04:38]MH_SAM_APDU [15:04:38]CAPDU: 80 13 01 00 [15:04:38]Write to MH i2c: E2 08 00 A6 01 80 13 01 00 00 00 00 00 24 [15:04:38]Write i2c OK [15:04:38]MH_I2C_Read... [15:04:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:04:38]Read from MH i2c: E2 [15:04:38]MH_I2C_Read... [15:04:38]Read from MH i2c: E2 0E 00 [15:04:38]MH_I2C_Read... [15:04:38]Read from MH i2c: E2 0E 00 A6 01 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 4D [15:04:38]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [15:04:38]wFMCommunicate OK [15:04:38]SAM_PROTO_GetShiftState done [15:04:38]FM_GetShiftState done [15:04:38]opened in 1723336186 [15:04:38]opened+sec_in_day 1723422586 [15:04:38]quantity*price = 24000 [15:04:38]sum+1 = 24001 [15:04:38]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000032760017 Слойка DC треугольная мясо110г 5.000 * 65.00 = 325.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 615.00 НСП 1% : 5.44 НДС 12% : 65.31 Наличными: 0.00 Безнал.: 615.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 43 11.08.2024 15:04 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52632 ФПД: 67867980173444 /tax-web-control/client/api/v1/ticket?date=20240811T150439&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52632&fm=67867980173444&tin=02508201610067®Number=0000000000090834&sum=61500 0 [15:04:39]StoreToDocumentArchive [15:04:39]shift 446 fd 52632 [15:04:39]save to /storage/0446/doc_00052632 [15:04:39]save last doc name /storage/0446/doc_00052632 to /storage/kkm_last_doc_name [15:04:39]save OK [15:04:39]Clear old archive folders... [15:04:39]ProcessDocumentItem done err = 0, tmpTLVsize=531 [15:04:39]tlvbuf is 0123CAE0 [15:04:39]SAM_PROTO_ClearQueue [15:04:39]wFMCommunicate request_size=4 [15:04:39]MH_SAM_APDU [15:04:39]CAPDU: 80 09 00 00 [15:04:39]Write to MH i2c: E2 08 00 B3 01 80 09 00 00 00 00 00 00 26 [15:04:39]Write i2c OK [15:04:39]MH_I2C_Read... [15:04:39]Read from MH i2c: E2 [15:04:39]MH_I2C_Read... [15:04:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:04:39]Read from MH i2c: E2 03 00 [15:04:39]MH_I2C_Read... [15:04:39]Read from MH i2c: E2 03 00 B3 01 00 90 00 28 [15:04:39]RAPDU: 90 00 [15:04:39]wFMCommunicate OK [15:04:39]SAM_PROTO_ClearQueue done [15:04:39]KKMCreateOFDPacket [15:04:39]OFDProtocolAddRootSTLVToBuf [15:04:39]FM_MakeSignedData [15:04:39]FM_MakeSignedData [15:04:39]SAM_PROTO_SignData [15:04:39]wFMCommunicate request_size=4 [15:04:39]MH_SAM_APDU [15:04:39]CAPDU: 80 0D 01 02 [15:04:39]Write to MH i2c: E2 08 00 B4 01 80 0D 01 02 00 00 00 00 2E [15:04:39]OFD Sender: No OFD packet to send [15:04:39]Write i2c OK [15:04:39]MH_I2C_Read... [15:04:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:04:39]Read from MH i2c: E2 [15:04:39]MH_I2C_Read... [15:04:39]Read from MH i2c: E2 03 00 [15:04:39]MH_I2C_Read... [15:04:39]Read from MH i2c: E2 03 00 B4 01 00 90 00 29 [15:04:39]RAPDU: 90 00 [15:04:39]wFMCommunicate OK [15:04:39]wFMCommunicate request_size=255 [15:04:39]MH_SAM_APDU [15:04:39]CAPDU: 80 0D 02 02 FA 03 00 13 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 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 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 78 00 [15:04:39]Write to MH i2c: E2 02 01 B5 01 80 0D 02 02 FA 00 03 00 13 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 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 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 78 00 00 00 7F [15:04:39]Write i2c OK [15:04:39]MH_I2C_Read... [15:04:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:04:40]Read from MH i2c: E2 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 03 00 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 03 00 B5 01 00 90 00 2A [15:04:40]RAPDU: 90 00 [15:04:40]wFMCommunicate OK [15:04:40]wFMCommunicate request_size=255 [15:04:40]MH_SAM_APDU [15:04:40]CAPDU: 80 0D 02 02 FA 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 31 31 30 D0 B3 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 F4 7E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C F0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 19 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 3C F0 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 07 D3 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 [15:04:40]Write to MH i2c: E2 02 01 B6 01 80 0D 02 02 FA 00 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 31 31 30 D0 B3 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 F4 7E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C F0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 19 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 3C F0 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 07 D3 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 00 BE [15:04:40]Write i2c OK [15:04:40]MH_I2C_Read... [15:04:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:04:40]Read from MH i2c: E2 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 03 00 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 03 00 B6 01 00 90 00 2B [15:04:40]RAPDU: 90 00 [15:04:40]wFMCommunicate OK [15:04:40]wFMCommunicate request_size=40 [15:04:40]MH_SAM_APDU [15:04:40]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 98 CD 00 00 35 04 06 00 3D B9 BE D9 90 84 [15:04:40]Write to MH i2c: E2 2B 00 B7 01 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 98 CD 00 00 35 04 06 00 3D B9 BE D9 90 84 00 00 F5 [15:04:40]Write i2c OK [15:04:40]MH_I2C_Read... [15:04:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:04:40]Read from MH i2c: E2 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 03 00 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 03 00 B7 01 00 90 00 2C [15:04:40]RAPDU: 90 00 [15:04:40]wFMCommunicate OK [15:04:40]wFMCommunicate request_size=4 [15:04:40]MH_SAM_APDU [15:04:40]CAPDU: 80 0D 03 02 [15:04:40]Write to MH i2c: E2 08 00 B8 01 80 0D 03 02 00 00 00 00 34 [15:04:40]Write i2c OK [15:04:40]MH_I2C_Read... [15:04:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:04:40]Read from MH i2c: E2 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 0B 00 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 0B 00 B8 01 00 A6 66 31 84 51 B5 D3 E1 90 00 B0 [15:04:40]RAPDU: A6 66 31 84 51 B5 D3 E1 90 00 [15:04:40]wFMCommunicate OK [15:04:40]SAM_PROTO_SignData done [15:04:40]FM_MakeSignedData done [15:04:40]CreateOFDProtocolMessage [15:04:40]wFMCommunicate request_size=4 [15:04:40]MH_SAM_APDU [15:04:40]CAPDU: 80 11 00 00 [15:04:40]Write to MH i2c: E2 08 00 B9 01 80 11 00 00 00 00 00 00 34 [15:04:40]Write i2c OK [15:04:40]MH_I2C_Read... [15:04:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:04:40]Read from MH i2c: E2 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 17 00 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: E2 17 00 B9 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 87 [15:04:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [15:04:40]wFMCommunicate OK [15:04:40]CreateOFDProtocolMessage done [15:04:40]OFDSenderStorePacket 52632 [15:04:40]StoreOFDPacket docnum=52632 [15:04:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 27 02 00 00 B4 F2 1F 02 63 7B 5A 03 01 00 03 00 13 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 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 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 78 00 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 31 31 30 D0 B3 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 F4 7E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C F0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 19 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 3C F0 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 07 D3 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 98 CD 00 00 35 04 06 00 3D B9 BE D9 90 84 A6 66 31 84 51 B5 D3 E1 [15:04:40]CheckFolder [15:04:40]dirname=/storage/ofd_packets [15:04:40]CheckFolder done [15:04:40]ProducePacketName [15:04:40]name=ofd_packets/00052632 [15:04:40]NVStorageSaveData ofd_packets/00052632 [15:04:40]File name is /storage/ofd_packets/00052632 [15:04:40]Write 581 bytes [15:04:40]NVStorageSaveData done [15:04:40]OFDSenderStorePacket done [15:04:40]KKMCreateOFDPacket done [15:04:40]NVStorageSaveData kkm_last_timestamp [15:04:40]File name is /storage/kkm_last_timestamp [15:04:40]Write 4 bytes [15:04:40]NVStorageSaveData done [15:04:40]ExternCall_PrintAddStr [15:04:40]wPrintStart [15:04:40]Write to MH i2c: 01 00 00 BA 01 BB [15:04:40]Write i2c OK [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: 01 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: 01 07 00 [15:04:40]MH_I2C_Read... [15:04:40]Read from MH i2c: 01 07 00 BA 01 00 00 00 00 00 FF 0F D0 [15:04:40]RasterBufferAndPrint [15:04:40]line Счет N : (3)122763 [15:04:40]line ИНН: 02508201610067 [15:04:40]line Контрольно-Кассовый Чек [15:04:40]line ПРОДАЖА [15:04:40]line Товар: 5449000027474 [15:04:40]line Напиток FuzeTea зел чай манго,ромашка 1л [15:04:40]line 2.000 * 120.00 [15:04:40]line = 240.00 [15:04:40]line НДС 12% НСП 1% [15:04:40]line > о реализуемом товаре [15:04:40]line Товар: 4700000160358 [15:04:40]line Вода Легенда 1л [15:04:40]line 1.000 * 50.00 [15:04:40]line = 50.00 [15:04:40]line НДС 12% НСП 1% [15:04:40]line > о реализуемом товаре [15:04:40]line Товар: 2000032760017 [15:04:40]line Слойка DC треугольная мясо110г [15:04:40]line 5.000 * 65.00 [15:04:40]line = 325.00 [15:04:40]line НДС 12% НСП 1% [15:04:40]line > о реализуемом товаре [15:04:40]line ИТОГО: 615.00 [15:04:40]line НСП 1% : 5.44 [15:04:40]line НДС 12% : 65.31 [15:04:40]line Наличными: 0.00 [15:04:40]line Безнал.: 615.00 [15:04:40]line Место: АЗС № 54 "Партнер Нефть" [15:04:40]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [15:04:40]line СНО: Общий режим [15:04:40]line Чек 43 11.08.2024 15:04 [15:04:40]line Смена: 446 ФФД: 1.0 [15:04:40]line ЗНМ: 0300000007 [15:04:40]line РНМ: 0000000000090834 [15:04:40]line Версия ККМ: 001 [15:04:40]line Платежная система: О! деньги [15:04:40]line ФМ: 0000000000874715 [15:04:40]line ФД: 52632 [15:04:40]line ФПД: 67867980173444 [15:04:40]line /tax-web-control/client/api/v1/ticket?date=20240811T150439&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52632&fm=67867980173444&tin=02508201610067®Number=0000000000090834&sum=61500 [15:04:40]line 0 [15:04:40]OFD Sender: Processing packet 52632 [packets to send 55, broken 54] [15:04:40]ProducePacketName [15:04:40]name=ofd_packets/00052632 [15:04:40]OFD Sender: To server: pG, [15:04:40]CommunicateWithHost lk.salyk.kg:30040 [15:04:40]ConnectInit lk.salyk.kg [15:04:40]written 0, free lines is 4095 [15:04:41]Connected sock=10 [15:04:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 27 02 00 00 B4 F2 1F 02 63 7B 5A 03 01 00 03 00 13 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 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 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 78 00 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 31 31 30 D0 B3 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 F4 7E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C F0 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 19 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 3C F0 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 07 D3 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 98 CD 00 00 35 04 06 00 3D B9 BE D9 90 84 A6 66 31 84 51 B5 D3 E1 [15:04:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 BD 5D 47 00 6D 4A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 98 CD 00 00 F4 03 04 00 A2 7A B8 66 B6 04 01 00 00 2F C1 A9 0B 70 CD C3 72 [15:04:41]CommunicateWithHost err = 0 [15:04:41]CheckOFDResponse [15:04:41]1017 (14) - 77093643461234 [15:04:41]1041 (16) - 0000000000874715 [15:04:41]1040 (4) - 52632 [15:04:41]1012 (4) - 11.08.2024 08:47 [15:04:41]1206 (1) - 0 [15:04:41]OFD Sender: Remove packet 52632 [15:04:41]ProducePacketName [15:04:41]name=ofd_packets/00052632 [15:04:41]NVStorageDeleteData [15:04:41]Write to MH i2c: 01 00 00 F1 01 F2 [15:04:41]Write i2c OK [15:04:41]MH_I2C_Read... [15:04:41]Read from MH i2c: 01 [15:04:41]MH_I2C_Read... [15:04:41]Read from MH i2c: 01 07 00 [15:04:41]MH_I2C_Read... [15:04:41]Read from MH i2c: 01 07 00 F1 01 00 00 00 00 00 D9 0B DD [15:04:41]RasterBufferAndPrint [15:04:41]line [15:04:41]line [15:04:41]line [15:04:41]line [15:04:41]line [15:04:41]written 0, free lines is 3038 [15:04:41]MH_Cut [15:04:41]Write to MH i2c: D1 01 00 F8 01 01 CB [15:04:41]Write i2c OK [15:04:41]MH_I2C_Read... [15:04:41]Read from MH i2c: D1 [15:04:41]MH_I2C_Read... [15:04:41]Read from MH i2c: D1 01 00 [15:04:41]MH_I2C_Read... [15:04:41]Read from MH i2c: D1 01 00 F8 01 00 CA [15:04:41]Write to MH i2c: 01 00 00 F9 01 FA [15:04:41]Write i2c OK [15:04:41]MH_I2C_Read... [15:04:41]OFD Sender: No OFD packet to send [15:04:42]*** Cut start [15:04:42]*** Purtial cut [15:04:42]*** Stage 1: CUTSNS_PIN = 1 [15:04:42]Read from MH i2c: 01 [15:04:42]MH_I2C_Read... [15:04:42]*** Stop cut motor [15:04:42]*** Cut end [15:04:42]Read from MH i2c: 01 07 00 [15:04:42]MH_I2C_Read... [15:04:42]Read from MH i2c: 01 07 00 F9 01 00 00 00 00 00 FF 0F 0F [15:04:42]process_action close_receipt done [15:04:42]requested_data is exist [15:04:42]produce_requested_data [15:04:42]requested_item fm.sn is exist - process it [15:04:42]wFMCommunicate request_size=4 [15:04:42]MH_SAM_APDU [15:04:42]CAPDU: 80 11 00 00 [15:04:42]Write to MH i2c: E2 08 00 FA 01 80 11 00 00 00 00 00 00 75 [15:04:42]Write i2c OK [15:04:42]MH_I2C_Read... [15:04:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:04:42]Read from MH i2c: E2 [15:04:42]MH_I2C_Read... [15:04:42]Read from MH i2c: E2 17 00 [15:04:42]MH_I2C_Read... [15:04:42]Read from MH i2c: E2 17 00 FA 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 C8 [15:04:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [15:04:42]wFMCommunicate OK [15:04:42]requested_item fd.num is exist - process it [15:04:42]SAM_PROTO_GetFieldsCounters [15:04:42]wFMCommunicate request_size=4 [15:04:42]MH_SAM_APDU [15:04:42]CAPDU: 80 13 00 00 [15:04:42]Write to MH i2c: E2 08 00 FB 01 80 13 00 00 00 00 00 00 78 [15:04:42]Write i2c OK [15:04:42]MH_I2C_Read... [15:04:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:04:42]Read from MH i2c: E2 [15:04:42]MH_I2C_Read... [15:04:42]Read from MH i2c: E2 62 00 [15:04:42]MH_I2C_Read... [15:04:42]Read from MH i2c: E2 62 00 FB 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 98 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 3D [15:04: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 98 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:04:42]wFMCommunicate OK [15:04:42]SAM_PROTO_GetFieldsCounters done [15:04:42]requested_item shift.num is exist - process it [15:04:42]requested_item shift.opened is exist - process it [15:04:42]req_shift_opened [15:04:42]FM_GetShiftState [15:04:42]SAM_PROTO_GetShiftState [15:04:42]wFMCommunicate request_size=4 [15:04:42]MH_SAM_APDU [15:04:42]CAPDU: 80 13 01 00 [15:04:42]Write to MH i2c: E2 08 00 FC 01 80 13 01 00 00 00 00 00 7A [15:04:42]Write i2c OK [15:04:42]MH_I2C_Read... [15:04:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:04:42]Read from MH i2c: E2 [15:04:42]MH_I2C_Read... [15:04:42]Read from MH i2c: E2 0E 00 [15:04:42]MH_I2C_Read... [15:04:42]Read from MH i2c: E2 0E 00 FC 01 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 A3 [15:04:42]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [15:04:42]wFMCommunicate OK [15:04:42]SAM_PROTO_GetShiftState done [15:04:42]FM_GetShiftState done [15:04:42]req_shift_opened done [15:04:42]requested_item shift.open_date is exist - process it [15:04:42]req_shift_open_date [15:04:42]req_shift_open_date done [15:04:42]produce_requested_data done [15:04:42]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52632,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [15:04:42]process_action_free close_receipt [15:04:42]json_value_free [15:04:42]json_value_free done [15:04:42]process_json_proto returns [15:04:42]Send response to host [15:04:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52632,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [15:04:42]free response buf [15:04:42]execute_script done [15:04:43]execute_script returns [15:04:43]free content buf [15:04:43]Sock 9.Close socket [15:04:43]Sock 9.Thread stoped [15:04:46]OFD Sender: No OFD packet to send [15:04:51]OFD Sender: No OFD packet to send [15:04:56]OFD Sender: No OFD packet to send [15:05:01]OFD Sender: No OFD packet to send [15:05:06]OFD Sender: No OFD packet to send [15:05:11]OFD Sender: No OFD packet to send [15:05:16]OFD Sender: No OFD packet to send [15:05:21]OFD Sender: No OFD packet to send [15:05:26]OFD Sender: No OFD packet to send [15:05:31]OFD Sender: No OFD packet to send [15:05:36]OFD Sender: No OFD packet to send [15:05:41]OFD Sender: No OFD packet to send [15:05:46]OFD Sender: No OFD packet to send [15:05:51]OFD Sender: No OFD packet to send [15:05:56]OFD Sender: No OFD packet to send [15:06:01]OFD Sender: No OFD packet to send [15:06:06]OFD Sender: No OFD packet to send [15:06:11]OFD Sender: No OFD packet to send [15:06:16]OFD Sender: No OFD packet to send [15:06:21]OFD Sender: No OFD packet to send [15:06:26]OFD Sender: No OFD packet to send [15:06:31]OFD Sender: No OFD packet to send [15:06:36]OFD Sender: No OFD packet to send [15:06:41]OFD Sender: No OFD packet to send [15:06:46]OFD Sender: No OFD packet to send [15:06:51]OFD Sender: No OFD packet to send [15:06:56]OFD Sender: No OFD packet to send [15:07:01]OFD Sender: No OFD packet to send [15:07:06]OFD Sender: No OFD packet to send [15:07:11]OFD Sender: No OFD packet to send [15:07:16]OFD Sender: No OFD packet to send [15:07:21]OFD Sender: No OFD packet to send [15:07:26]OFD Sender: No OFD packet to send [15:07:31]OFD Sender: No OFD packet to send [15:07:36]OFD Sender: No OFD packet to send [15:07:41]OFD Sender: No OFD packet to send [15:07:46]OFD Sender: No OFD packet to send [15:07:51]OFD Sender: No OFD packet to send [15:07:56]OFD Sender: No OFD packet to send [15:08:02]OFD Sender: No OFD packet to send [15:08:07]OFD Sender: No OFD packet to send [15:08:12]OFD Sender: No OFD packet to send [15:08:17]OFD Sender: No OFD packet to send [15:08:22]OFD Sender: No OFD packet to send [15:08:27]OFD Sender: No OFD packet to send [15:08:32]OFD Sender: No OFD packet to send [15:08:37]OFD Sender: No OFD packet to send [15:08:42]OFD Sender: No OFD packet to send [15:08:47]OFD Sender: No OFD packet to send [15:08:52]OFD Sender: No OFD packet to send [15:08:57]OFD Sender: No OFD packet to send [15:09:02]OFD Sender: No OFD packet to send [15:09:07]OFD Sender: No OFD packet to send [15:09:12]OFD Sender: No OFD packet to send [15:09:17]OFD Sender: No OFD packet to send [15:09:22]OFD Sender: No OFD packet to send [15:09:27]OFD Sender: No OFD packet to send [15:09:32]OFD Sender: No OFD packet to send [15:09:37]OFD Sender: No OFD packet to send [15:09:42]OFD Sender: No OFD packet to send [15:09:47]OFD Sender: No OFD packet to send [15:09:52]OFD Sender: No OFD packet to send [15:09:57]OFD Sender: No OFD packet to send [15:10:02]OFD Sender: No OFD packet to send [15:10:07]OFD Sender: No OFD packet to send [15:10:12]OFD Sender: No OFD packet to send [15:10:17]OFD Sender: No OFD packet to send [15:10:22]OFD Sender: No OFD packet to send [15:10:27]OFD Sender: No OFD packet to send [15:10:32]OFD Sender: No OFD packet to send [15:10:37]OFD Sender: No OFD packet to send [15:10:42]OFD Sender: No OFD packet to send [15:10:47]OFD Sender: No OFD packet to send [15:10:52]OFD Sender: No OFD packet to send [15:10:57]OFD Sender: No OFD packet to send [15:11:02]OFD Sender: No OFD packet to send [15:11:07]OFD Sender: No OFD packet to send [15:11:12]OFD Sender: No OFD packet to send [15:11:17]OFD Sender: No OFD packet to send [15:11:22]OFD Sender: No OFD packet to send [15:11:27]OFD Sender: No OFD packet to send [15:11:32]OFD Sender: No OFD packet to send [15:11:37]OFD Sender: No OFD packet to send [15:11:42]OFD Sender: No OFD packet to send [15:11:47]OFD Sender: No OFD packet to send [15:11:52]OFD Sender: No OFD packet to send [15:11:57]OFD Sender: No OFD packet to send [15:12:02]OFD Sender: No OFD packet to send [15:12:07]OFD Sender: No OFD packet to send [15:12:12]OFD Sender: No OFD packet to send [15:12:17]OFD Sender: No OFD packet to send [15:12:18]accept exits with 7 [15:12:18]New connection [15:12:18]New thread 3067293028 created [15:12:18]Thread 3067149668 joined [15:12:18]Waiting for new connection... [15:12:18] Sock 7.Parse request [15:12:18]Sock 7.Check first char [15:12:18]Sock 7.First char is OK [15:12:18]request: POST /json_proto HTTP/1.0 [15:12:18]Method: POST [15:12:18]URL: /json_proto [15:12:18]Method is POST - this is cgi request [15:12:18]url: /json_proto [15:12:18]query_string will be loaded in cgi processing [15:12:18]execute_cgi json_proto POST (null) [15:12:18]execute_cgi path=json_proto method=POST [15:12:18]POST find Content-Length [15:12:18]Host: 172.17.60.7:8080 [15:12:18]Content-Length: 1082 [15:12:18]Content-Type: application/json [15:12:18] [15:12:18]POST finish read [15:12:18]Found Content-Length = 1082 [15:12:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122764", "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": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:12:18]execute_script... [15:12: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)122764", "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": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:12:18]POST & json_proto [15:12:18]process_json_proto [15:12:18]json parsed OK: [15:12:18]protocol is kg_v1.0 [15:12:18]action value=close_receipt [15:12:18]process_action close_receipt [15:12:18]cmd_close_receipt [15:12:18]MH_GetDate [15:12:18]Write to MH i2c: F0 00 00 FD 01 ED [15:12:18]Write i2c OK [15:12:18]MH_I2C_Read... [15:12:18]Read from MH i2c: F0 [15:12:18]MH_I2C_Read... [15:12:18]Read from MH i2c: F0 09 00 [15:12:18]MH_I2C_Read... [15:12:18]Read from MH i2c: F0 09 00 FD 01 00 D3 D4 B8 66 63 9B 67 64 84 [15:12:18]GetLastDocTimeStamp 1723388679 [15:12:18]current date 1723389139 [15:12:18]FM_GetShiftState [15:12:18]SAM_PROTO_GetShiftState [15:12:18]wFMCommunicate request_size=4 [15:12:18]MH_SAM_APDU [15:12:18]CAPDU: 80 13 01 00 [15:12:18]Write to MH i2c: E2 08 00 FE 01 80 13 01 00 00 00 00 00 7C [15:12:18]Write i2c OK [15:12:18]MH_I2C_Read... [15:12:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:12:18]Read from MH i2c: E2 [15:12:18]MH_I2C_Read... [15:12:18]Read from MH i2c: E2 0E 00 [15:12:18]MH_I2C_Read... [15:12:18]Read from MH i2c: E2 0E 00 FE 01 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 A5 [15:12:18]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [15:12:18]wFMCommunicate OK [15:12:18]SAM_PROTO_GetShiftState done [15:12:18]FM_GetShiftState done [15:12:18]opened in 1723336186 [15:12:18]opened+sec_in_day 1723422586 [15:12:18]quantity*price = 7000 [15:12:18]sum+1 = 7001 [15:12:18]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 0.00 Безнал.: 120.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 44 11.08.2024 15:12 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52633 ФПД: 40699442821243 /tax-web-control/client/api/v1/ticket?date=20240811T151219&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52633&fm=40699442821243&tin=02508201610067®Number=0000000000090834&sum=12000 0 [15:12:19]StoreToDocumentArchive [15:12:19]shift 446 fd 52633 [15:12:19]save to /storage/0446/doc_00052633 [15:12:19]save last doc name /storage/0446/doc_00052633 to /storage/kkm_last_doc_name [15:12:19]save OK [15:12:19]Clear old archive folders... [15:12:19]ProcessDocumentItem done err = 0, tmpTLVsize=382 [15:12:19]tlvbuf is 01258DC0 [15:12:19]SAM_PROTO_ClearQueue [15:12:19]wFMCommunicate request_size=4 [15:12:19]MH_SAM_APDU [15:12:19]CAPDU: 80 09 00 00 [15:12:19]Write to MH i2c: E2 08 00 0B 02 80 09 00 00 00 00 00 00 7F [15:12:19]Write i2c OK [15:12:19]MH_I2C_Read... [15:12:19]Read from MH i2c: E2 [15:12:19]MH_I2C_Read... [15:12:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:12:19]Read from MH i2c: E2 03 00 [15:12:19]MH_I2C_Read... [15:12:19]Read from MH i2c: E2 03 00 0B 02 00 90 00 81 [15:12:19]RAPDU: 90 00 [15:12:19]wFMCommunicate OK [15:12:19]SAM_PROTO_ClearQueue done [15:12:19]KKMCreateOFDPacket [15:12:19]OFDProtocolAddRootSTLVToBuf [15:12:19]FM_MakeSignedData [15:12:19]FM_MakeSignedData [15:12:19]SAM_PROTO_SignData [15:12:19]wFMCommunicate request_size=4 [15:12:19]MH_SAM_APDU [15:12:19]CAPDU: 80 0D 01 02 [15:12:19]Write to MH i2c: E2 08 00 0C 02 80 0D 01 02 00 00 00 00 87 [15:12:19]Write i2c OK [15:12:19]MH_I2C_Read... [15:12:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:12:19]Read from MH i2c: E2 [15:12:19]MH_I2C_Read... [15:12:19]Read from MH i2c: E2 03 00 [15:12:19]MH_I2C_Read... [15:12:19]Read from MH i2c: E2 03 00 0C 02 00 90 00 82 [15:12:19]RAPDU: 90 00 [15:12:19]wFMCommunicate OK [15:12:19]wFMCommunicate request_size=255 [15:12:19]MH_SAM_APDU [15:12:19]CAPDU: 80 0D 02 02 FA 03 00 7E 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 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 [15:12:19]Write to MH i2c: E2 02 01 0D 02 80 0D 02 02 FA 00 03 00 7E 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 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 6B [15:12:19]Write i2c OK [15:12:19]MH_I2C_Read... [15:12:19]Read from MH i2c: E2 [15:12:19]MH_I2C_Read... [15:12:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:12:19]Read from MH i2c: E2 03 00 [15:12:19]MH_I2C_Read... [15:12:19]Read from MH i2c: E2 03 00 0D 02 00 90 00 83 [15:12:19]RAPDU: 90 00 [15:12:19]wFMCommunicate OK [15:12:19]wFMCommunicate request_size=141 [15:12:19]MH_SAM_APDU [15:12:19]CAPDU: 80 0D 02 02 88 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 D3 D4 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 99 CD 00 00 35 04 06 00 25 04 13 D4 F8 7B [15:12:19]Write to MH i2c: E2 90 00 0E 02 80 0D 02 02 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 D3 D4 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 99 CD 00 00 35 04 06 00 25 04 13 D4 F8 7B 00 00 6B [15:12:19]Write i2c OK [15:12:19]MH_I2C_Read... [15:12:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:12:19]Read from MH i2c: E2 [15:12:19]MH_I2C_Read... [15:12:19]Read from MH i2c: E2 03 00 [15:12:19]MH_I2C_Read... [15:12:19]Read from MH i2c: E2 03 00 0E 02 00 90 00 84 [15:12:19]RAPDU: 90 00 [15:12:19]wFMCommunicate OK [15:12:19]wFMCommunicate request_size=4 [15:12:19]MH_SAM_APDU [15:12:19]CAPDU: 80 0D 03 02 [15:12:19]Write to MH i2c: E2 08 00 0F 02 80 0D 03 02 00 00 00 00 8C [15:12:19]Write i2c OK [15:12:19]MH_I2C_Read... [15:12:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:12:19]Read from MH i2c: E2 [15:12:19]MH_I2C_Read... [15:12:19]Read from MH i2c: E2 0B 00 [15:12:19]MH_I2C_Read... [15:12:19]Read from MH i2c: E2 0B 00 0F 02 00 93 E0 58 5C E9 D8 24 67 90 00 00 [15:12:19]RAPDU: 93 E0 58 5C E9 D8 24 67 90 00 [15:12:19]wFMCommunicate OK [15:12:19]SAM_PROTO_SignData done [15:12:19]FM_MakeSignedData done [15:12:19]CreateOFDProtocolMessage [15:12:19]wFMCommunicate request_size=4 [15:12:19]MH_SAM_APDU [15:12:19]CAPDU: 80 11 00 00 [15:12:19]Write to MH i2c: E2 08 00 10 02 80 11 00 00 00 00 00 00 8C [15:12:19]Write i2c OK [15:12:19]MH_I2C_Read... [15:12:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:12:19]Read from MH i2c: E2 [15:12:19]MH_I2C_Read... [15:12:19]Read from MH i2c: E2 17 00 [15:12:19]MH_I2C_Read... [15:12:19]Read from MH i2c: E2 17 00 10 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 DF [15:12:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [15:12:19]wFMCommunicate OK [15:12:19]CreateOFDProtocolMessage done [15:12:19]OFDSenderStorePacket 52633 [15:12:19]StoreOFDPacket docnum=52633 [15:12:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 92 01 00 00 80 4C 8A 01 FB 97 5A 03 01 00 03 00 7E 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 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 D3 D4 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 99 CD 00 00 35 04 06 00 25 04 13 D4 F8 7B 93 E0 58 5C E9 D8 24 67 [15:12:19]CheckFolder [15:12:19]dirname=/storage/ofd_packets [15:12:19]CheckFolder done [15:12:19]ProducePacketName [15:12:19]name=ofd_packets/00052633 [15:12:19]NVStorageSaveData ofd_packets/00052633 [15:12:19]File name is /storage/ofd_packets/00052633 [15:12:19]Write 432 bytes [15:12:19]NVStorageSaveData done [15:12:19]OFDSenderStorePacket done [15:12:19]KKMCreateOFDPacket done [15:12:19]NVStorageSaveData kkm_last_timestamp [15:12:19]File name is /storage/kkm_last_timestamp [15:12:20]Write 4 bytes [15:12:20]NVStorageSaveData done [15:12:20]ExternCall_PrintAddStr [15:12:20]wPrintStart [15:12:20]Write to MH i2c: 01 00 00 11 02 13 [15:12:20]OFD Sender: Processing packet 52633 [packets to send 55, broken 54] [15:12:20]ProducePacketName [15:12:20]name=ofd_packets/00052633 [15:12:20]OFD Sender: To server: pG, [15:12:20]CommunicateWithHost lk.salyk.kg:30040 [15:12:20]ConnectInit lk.salyk.kg [15:12:20]Write i2c OK [15:12:20]MH_I2C_Read... [15:12:20]Read from MH i2c: 01 [15:12:20]MH_I2C_Read... [15:12:20]Read from MH i2c: 01 07 00 [15:12:20]MH_I2C_Read... [15:12:20]Read from MH i2c: 01 07 00 11 02 00 00 00 00 00 FF 0F 28 [15:12:20]RasterBufferAndPrint [15:12:20]line Счет N : (3)122764 [15:12:20]line ИНН: 02508201610067 [15:12:20]line Контрольно-Кассовый Чек [15:12:20]line ПРОДАЖА [15:12:20]line Товар: 4630007400655 [15:12:20]line Семечки ДЖИНН 70г синий [15:12:20]line 1.000 * 70.00 [15:12:20]line = 70.00 [15:12:20]line НДС 12% НСП 1% [15:12:20]line > о реализуемом товаре [15:12:20]line Товар: 4700000160358 [15:12:20]line Вода Легенда 1л [15:12:20]line 1.000 * 50.00 [15:12:20]line = 50.00 [15:12:20]line НДС 12% НСП 1% [15:12:20]line > о реализуемом товаре [15:12:20]line ИТОГО: 120.00 [15:12:20]line НСП 1% : 1.06 [15:12:20]line НДС 12% : 12.74 [15:12:20]line Наличными: 0.00 [15:12:20]line Безнал.: 120.00 [15:12:20]line Место: АЗС № 54 "Партнер Нефть" [15:12:20]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [15:12:20]line СНО: Общий режим [15:12:20]line Чек 44 11.08.2024 15:12 [15:12:20]line Смена: 446 ФФД: 1.0 [15:12:20]line ЗНМ: 0300000007 [15:12:20]line РНМ: 0000000000090834 [15:12:20]line Версия ККМ: 001 [15:12:20]line Платежная система: О! деньги [15:12:20]line ФМ: 0000000000874715 [15:12:20]line ФД: 52633 [15:12:20]line ФПД: 40699442821243 [15:12:20]line /tax-web-control/client/api/v1/ticket?date=20240811T151219&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52633&fm=40699442821243&tin=02508201610067®Number=0000000000090834&sum=12000 [15:12:20]line 0 [15:12:20]written 0, free lines is 4095 [15:12:20]Connected sock=10 [15:12:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 92 01 00 00 80 4C 8A 01 FB 97 5A 03 01 00 03 00 7E 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 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E0 2E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 D3 D4 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 99 CD 00 00 35 04 06 00 25 04 13 D4 F8 7B 93 E0 58 5C E9 D8 24 67 [15:12:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 E8 FD 47 00 4C 47 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 99 CD 00 00 F4 03 04 00 6E 7C B8 66 B6 04 01 00 00 FD 20 67 20 D7 78 73 C3 [15:12:20]CommunicateWithHost err = 0 [15:12:20]CheckOFDResponse [15:12:20]1017 (14) - 77093643461234 [15:12:20]1041 (16) - 0000000000874715 [15:12:20]1040 (4) - 52633 [15:12:20]1012 (4) - 11.08.2024 08:55 [15:12:20]1206 (1) - 0 [15:12:20]OFD Sender: Remove packet 52633 [15:12:20]ProducePacketName [15:12:20]name=ofd_packets/00052633 [15:12:20]NVStorageDeleteData [15:12:20]Write to MH i2c: 01 00 00 40 02 42 [15:12:20]Write i2c OK [15:12:20]MH_I2C_Read... [15:12:20]Read from MH i2c: 01 [15:12:20]MH_I2C_Read... [15:12:20]Read from MH i2c: 01 07 00 [15:12:20]MH_I2C_Read... [15:12:20]Read from MH i2c: 01 07 00 40 02 00 00 00 00 00 70 0C C5 [15:12:20]RasterBufferAndPrint [15:12:20]line [15:12:20]line [15:12:20]line [15:12:20]line [15:12:20]line [15:12:20]written 0, free lines is 3189 [15:12:20]MH_Cut [15:12:20]Write to MH i2c: D1 01 00 47 02 01 1B [15:12:20]Write i2c OK [15:12:20]MH_I2C_Read... [15:12:20]Read from MH i2c: D1 [15:12:20]MH_I2C_Read... [15:12:20]Read from MH i2c: D1 01 00 [15:12:20]MH_I2C_Read... [15:12:20]Read from MH i2c: D1 01 00 47 02 00 1A [15:12:20]Write to MH i2c: 01 00 00 48 02 4A [15:12:20]Write i2c OK [15:12:20]MH_I2C_Read... [15:12:21]OFD Sender: No OFD packet to send [15:12:21]*** Cut start [15:12:21]*** Purtial cut [15:12:21]*** Stage 1: CUTSNS_PIN = 1 [15:12:22]Read from MH i2c: 01 [15:12:22]MH_I2C_Read... [15:12:22]*** Stop cut motor [15:12:22]*** Cut end [15:12:22]Read from MH i2c: 01 07 00 [15:12:22]MH_I2C_Read... [15:12:22]Read from MH i2c: 01 07 00 48 02 00 00 00 00 00 FF 0F 5F [15:12:22]process_action close_receipt done [15:12:22]requested_data is exist [15:12:22]produce_requested_data [15:12:22]requested_item fm.sn is exist - process it [15:12:22]wFMCommunicate request_size=4 [15:12:22]MH_SAM_APDU [15:12:22]CAPDU: 80 11 00 00 [15:12:22]Write to MH i2c: E2 08 00 49 02 80 11 00 00 00 00 00 00 C5 [15:12:22]Write i2c OK [15:12:22]MH_I2C_Read... [15:12:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:12:22]Read from MH i2c: E2 [15:12:22]MH_I2C_Read... [15:12:22]Read from MH i2c: E2 17 00 [15:12:22]MH_I2C_Read... [15:12:22]Read from MH i2c: E2 17 00 49 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 18 [15:12:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [15:12:22]wFMCommunicate OK [15:12:22]requested_item fd.num is exist - process it [15:12:22]SAM_PROTO_GetFieldsCounters [15:12:22]wFMCommunicate request_size=4 [15:12:22]MH_SAM_APDU [15:12:22]CAPDU: 80 13 00 00 [15:12:22]Write to MH i2c: E2 08 00 4A 02 80 13 00 00 00 00 00 00 C8 [15:12:22]Write i2c OK [15:12:22]MH_I2C_Read... [15:12:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:12:22]Read from MH i2c: E2 [15:12:22]MH_I2C_Read... [15:12:22]Read from MH i2c: E2 62 00 [15:12:22]MH_I2C_Read... [15:12:22]Read from MH i2c: E2 62 00 4A 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 99 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 91 [15:12: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 99 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:12:22]wFMCommunicate OK [15:12:22]SAM_PROTO_GetFieldsCounters done [15:12:22]requested_item shift.num is exist - process it [15:12:22]requested_item shift.opened is exist - process it [15:12:22]req_shift_opened [15:12:22]FM_GetShiftState [15:12:22]SAM_PROTO_GetShiftState [15:12:22]wFMCommunicate request_size=4 [15:12:22]MH_SAM_APDU [15:12:22]CAPDU: 80 13 01 00 [15:12:22]Write to MH i2c: E2 08 00 4B 02 80 13 01 00 00 00 00 00 CA [15:12:22]Write i2c OK [15:12:22]MH_I2C_Read... [15:12:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:12:22]Read from MH i2c: E2 [15:12:22]MH_I2C_Read... [15:12:22]Read from MH i2c: E2 0E 00 [15:12:22]MH_I2C_Read... [15:12:22]Read from MH i2c: E2 0E 00 4B 02 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 F3 [15:12:22]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [15:12:22]wFMCommunicate OK [15:12:22]SAM_PROTO_GetShiftState done [15:12:22]FM_GetShiftState done [15:12:22]req_shift_opened done [15:12:22]requested_item shift.open_date is exist - process it [15:12:22]req_shift_open_date [15:12:22]req_shift_open_date done [15:12:22]produce_requested_data done [15:12:22]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52633,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [15:12:22]process_action_free close_receipt [15:12:22]json_value_free [15:12:22]json_value_free done [15:12:22]process_json_proto returns [15:12:22]Send response to host [15:12:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52633,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [15:12:22]free response buf [15:12:22]execute_script done [15:12:22]execute_script returns [15:12:22]free content buf [15:12:22]Sock 7.Close socket [15:12:22]Sock 7.Thread stoped [15:12:26]OFD Sender: No OFD packet to send [15:12:31]OFD Sender: No OFD packet to send [15:12:36]OFD Sender: No OFD packet to send [15:12:41]OFD Sender: No OFD packet to send [15:12:46]OFD Sender: No OFD packet to send [15:12:51]OFD Sender: No OFD packet to send [15:12:56]OFD Sender: No OFD packet to send [15:13:01]OFD Sender: No OFD packet to send [15:13:06]OFD Sender: No OFD packet to send [15:13:11]OFD Sender: No OFD packet to send [15:13:16]OFD Sender: No OFD packet to send [15:13:21]OFD Sender: No OFD packet to send [15:13:26]OFD Sender: No OFD packet to send [15:13:31]OFD Sender: No OFD packet to send [15:13:36]OFD Sender: No OFD packet to send [15:13:41]OFD Sender: No OFD packet to send [15:13:46]OFD Sender: No OFD packet to send [15:13:51]OFD Sender: No OFD packet to send [15:13:56]OFD Sender: No OFD packet to send [15:14:01]OFD Sender: No OFD packet to send [15:14:06]OFD Sender: No OFD packet to send [15:14:11]OFD Sender: No OFD packet to send [15:14:16]OFD Sender: No OFD packet to send [15:14:21]OFD Sender: No OFD packet to send [15:14:26]OFD Sender: No OFD packet to send [15:14:31]OFD Sender: No OFD packet to send [15:14:36]OFD Sender: No OFD packet to send [15:14:41]OFD Sender: No OFD packet to send [15:14:46]OFD Sender: No OFD packet to send [15:14:51]OFD Sender: No OFD packet to send [15:14:56]OFD Sender: No OFD packet to send [15:15:01]OFD Sender: No OFD packet to send [15:15:06]OFD Sender: No OFD packet to send [15:15:11]OFD Sender: No OFD packet to send [15:15:16]OFD Sender: No OFD packet to send [15:15:21]OFD Sender: No OFD packet to send [15:15:26]OFD Sender: No OFD packet to send [15:15:31]OFD Sender: No OFD packet to send [15:15:36]OFD Sender: No OFD packet to send [15:15:41]OFD Sender: No OFD packet to send [15:15:46]OFD Sender: No OFD packet to send [15:15:51]OFD Sender: No OFD packet to send [15:15:56]OFD Sender: No OFD packet to send [15:16:01]OFD Sender: No OFD packet to send [15:16:06]OFD Sender: No OFD packet to send [15:16:11]OFD Sender: No OFD packet to send [15:16:16]OFD Sender: No OFD packet to send [15:16:21]OFD Sender: No OFD packet to send [15:16:26]OFD Sender: No OFD packet to send [15:16:31]OFD Sender: No OFD packet to send [15:16:36]OFD Sender: No OFD packet to send [15:16:41]OFD Sender: No OFD packet to send [15:16:41]accept exits with 9 [15:16:41]New connection [15:16:41]New thread 3067149668 created [15:16:41]Thread 3067293028 joined [15:16:41]Waiting for new connection... [15:16:41] Sock 9.Parse request [15:16:41]Sock 9.Check first char [15:16:41]Sock 9.First char is OK [15:16:41]request: POST /json_proto HTTP/1.0 [15:16:41]Method: POST [15:16:41]URL: /json_proto [15:16:41]Method is POST - this is cgi request [15:16:41]url: /json_proto [15:16:41]query_string will be loaded in cgi processing [15:16:41]execute_cgi json_proto POST (null) [15:16:41]execute_cgi path=json_proto method=POST [15:16:41]POST find Content-Length [15:16:41]Host: 172.17.60.7:8080 [15:16:41]Content-Length: 789 [15:16:41]Content-Type: application/json [15:16:41] [15:16:41]POST finish read [15:16:41]Found Content-Length = 789 [15:16:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122765", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:16:41]execute_script... [15:16:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122765", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:16:41]POST & json_proto [15:16:41]process_json_proto [15:16:41]json parsed OK: [15:16:41]protocol is kg_v1.0 [15:16:41]action value=close_receipt [15:16:41]process_action close_receipt [15:16:41]cmd_close_receipt [15:16:41]MH_GetDate [15:16:41]Write to MH i2c: F0 00 00 4C 02 3D [15:16:41]Write i2c OK [15:16:41]MH_I2C_Read... [15:16:41]Read from MH i2c: F0 [15:16:41]MH_I2C_Read... [15:16:41]Read from MH i2c: F0 09 00 [15:16:41]MH_I2C_Read... [15:16:41]Read from MH i2c: F0 09 00 4C 02 00 DA D5 B8 66 63 9B 67 64 DC [15:16:41]GetLastDocTimeStamp 1723389139 [15:16:41]current date 1723389402 [15:16:41]FM_GetShiftState [15:16:41]SAM_PROTO_GetShiftState [15:16:41]wFMCommunicate request_size=4 [15:16:41]MH_SAM_APDU [15:16:41]CAPDU: 80 13 01 00 [15:16:41]Write to MH i2c: E2 08 00 4D 02 80 13 01 00 00 00 00 00 CC [15:16:41]Write i2c OK [15:16:41]MH_I2C_Read... [15:16:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:16:41]Read from MH i2c: E2 [15:16:41]MH_I2C_Read... [15:16:41]Read from MH i2c: E2 0E 00 [15:16:41]MH_I2C_Read... [15:16:41]Read from MH i2c: E2 0E 00 4D 02 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 F5 [15:16:41]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [15:16:41]wFMCommunicate OK [15:16:41]SAM_PROTO_GetShiftState done [15:16:41]FM_GetShiftState done [15:16:41]opened in 1723336186 [15:16:41]opened+sec_in_day 1723422586 [15:16:41]quantity*price = 14000 [15:16:41]sum+1 = 14001 [15:16:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 45 11.08.2024 15:16 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52634 ФПД: 34418997201952 /tax-web-control/client/api/v1/ticket?date=20240811T151642&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52634&fm=34418997201952&tin=02508201610067®Number=0000000000090834&sum=14000 0 [15:16:43]StoreToDocumentArchive [15:16:43]shift 446 fd 52634 [15:16:43]save to /storage/0446/doc_00052634 [15:16:43]save last doc name /storage/0446/doc_00052634 to /storage/kkm_last_doc_name [15:16:43]save OK [15:16:43]Clear old archive folders... [15:16:43]ProcessDocumentItem done err = 0, tmpTLVsize=275 [15:16:43]tlvbuf is 01257CF0 [15:16:43]SAM_PROTO_ClearQueue [15:16:43]wFMCommunicate request_size=4 [15:16:43]MH_SAM_APDU [15:16:43]CAPDU: 80 09 00 00 [15:16:43]Write to MH i2c: E2 08 00 5A 02 80 09 00 00 00 00 00 00 CE [15:16:43]Write i2c OK [15:16:43]MH_I2C_Read... [15:16:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:16:43]Read from MH i2c: E2 [15:16:43]MH_I2C_Read... [15:16:43]Read from MH i2c: E2 03 00 [15:16:43]MH_I2C_Read... [15:16:43]Read from MH i2c: E2 03 00 5A 02 00 90 00 D0 [15:16:43]RAPDU: 90 00 [15:16:43]wFMCommunicate OK [15:16:43]SAM_PROTO_ClearQueue done [15:16:43]KKMCreateOFDPacket [15:16:43]OFDProtocolAddRootSTLVToBuf [15:16:43]FM_MakeSignedData [15:16:43]FM_MakeSignedData [15:16:43]SAM_PROTO_SignData [15:16:43]wFMCommunicate request_size=4 [15:16:43]MH_SAM_APDU [15:16:43]CAPDU: 80 0D 01 02 [15:16:43]Write to MH i2c: E2 08 00 5B 02 80 0D 01 02 00 00 00 00 D6 [15:16:43]Write i2c OK [15:16:43]MH_I2C_Read... [15:16:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:16:43]Read from MH i2c: E2 [15:16:43]MH_I2C_Read... [15:16:43]Read from MH i2c: E2 03 00 [15:16:43]MH_I2C_Read... [15:16:43]Read from MH i2c: E2 03 00 5B 02 00 90 00 D1 [15:16:43]RAPDU: 90 00 [15:16:43]wFMCommunicate OK [15:16:43]wFMCommunicate request_size=255 [15:16:43]MH_SAM_APDU [15:16:43]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 DA D5 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 [15:16:43]Write to MH i2c: E2 02 01 5C 02 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 DA D5 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 00 00 1E [15:16:43]Write i2c OK [15:16:43]MH_I2C_Read... [15:16:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:16:43]Read from MH i2c: E2 [15:16:43]MH_I2C_Read... [15:16:43]Read from MH i2c: E2 03 00 [15:16:43]MH_I2C_Read... [15:16:43]Read from MH i2c: E2 03 00 5C 02 00 90 00 D2 [15:16:43]RAPDU: 90 00 [15:16:43]wFMCommunicate OK [15:16:43]wFMCommunicate request_size=34 [15:16:43]MH_SAM_APDU [15:16:43]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9A CD 00 00 35 04 06 00 1F 4D CC 1A 0C 20 [15:16:43]Write to MH i2c: E2 25 00 5D 02 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9A CD 00 00 35 04 06 00 1F 4D CC 1A 0C 20 00 00 7F [15:16:43]Write i2c OK [15:16:43]MH_I2C_Read... [15:16:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:16:43]Read from MH i2c: E2 [15:16:43]MH_I2C_Read... [15:16:43]Read from MH i2c: E2 03 00 [15:16:43]MH_I2C_Read... [15:16:43]Read from MH i2c: E2 03 00 5D 02 00 90 00 D3 [15:16:43]RAPDU: 90 00 [15:16:43]wFMCommunicate OK [15:16:43]wFMCommunicate request_size=4 [15:16:43]MH_SAM_APDU [15:16:43]CAPDU: 80 0D 03 02 [15:16:43]Write to MH i2c: E2 08 00 5E 02 80 0D 03 02 00 00 00 00 DB [15:16:43]Write i2c OK [15:16:43]MH_I2C_Read... [15:16:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:16:43]Read from MH i2c: E2 [15:16:43]MH_I2C_Read... [15:16:43]Read from MH i2c: E2 0B 00 [15:16:43]MH_I2C_Read... [15:16:43]Read from MH i2c: E2 0B 00 5E 02 00 57 5F 99 30 17 96 9C 1B 90 00 BF [15:16:43]RAPDU: 57 5F 99 30 17 96 9C 1B 90 00 [15:16:43]wFMCommunicate OK [15:16:43]SAM_PROTO_SignData done [15:16:43]FM_MakeSignedData done [15:16:43]CreateOFDProtocolMessage [15:16:43]wFMCommunicate request_size=4 [15:16:43]MH_SAM_APDU [15:16:43]CAPDU: 80 11 00 00 [15:16:43]Write to MH i2c: E2 08 00 5F 02 80 11 00 00 00 00 00 00 DB [15:16:43]Write i2c OK [15:16:43]MH_I2C_Read... [15:16:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:16:43]Read from MH i2c: E2 [15:16:43]MH_I2C_Read... [15:16:43]Read from MH i2c: E2 17 00 [15:16:43]MH_I2C_Read... [15:16:43]Read from MH i2c: E2 17 00 5F 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 2E [15:16:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [15:16:43]wFMCommunicate OK [15:16:43]CreateOFDProtocolMessage done [15:16:43]OFDSenderStorePacket 52634 [15:16:43]StoreOFDPacket docnum=52634 [15:16:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 27 01 00 00 E0 95 1F 01 85 E0 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 DA D5 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9A CD 00 00 35 04 06 00 1F 4D CC 1A 0C 20 57 5F 99 30 17 96 9C 1B [15:16:43]CheckFolder [15:16:43]dirname=/storage/ofd_packets [15:16:43]CheckFolder done [15:16:43]ProducePacketName [15:16:43]name=ofd_packets/00052634 [15:16:43]NVStorageSaveData ofd_packets/00052634 [15:16:43]File name is /storage/ofd_packets/00052634 [15:16:43]Write 325 bytes [15:16:43]NVStorageSaveData done [15:16:43]OFDSenderStorePacket done [15:16:43]KKMCreateOFDPacket done [15:16:43]NVStorageSaveData kkm_last_timestamp [15:16:43]File name is /storage/kkm_last_timestamp [15:16:43]Write 4 bytes [15:16:43]NVStorageSaveData done [15:16:43]ExternCall_PrintAddStr [15:16:43]wPrintStart [15:16:43]Write to MH i2c: 01 00 00 60 02 62 [15:16:43]Write i2c OK [15:16:43]MH_I2C_Read... [15:16:43]Read from MH i2c: 01 [15:16:43]MH_I2C_Read... [15:16:43]Read from MH i2c: 01 07 00 [15:16:43]MH_I2C_Read... [15:16:43]Read from MH i2c: 01 07 00 60 02 00 00 00 00 00 FF 0F 77 [15:16:43]RasterBufferAndPrint [15:16:43]line Счет N : (3)122765 [15:16:43]line ИНН: 02508201610067 [15:16:43]line Контрольно-Кассовый Чек [15:16:43]line ПРОДАЖА [15:16:43]line Товар: 48743587 [15:16:43]line Сигареты Winston XStyle Silver [15:16:43]line 1.000 * 140.00 [15:16:43]line = 140.00 [15:16:43]line НДС 12% НСП 1% [15:16:43]line > о реализуемом товаре [15:16:43]line ИТОГО: 140.00 [15:16:43]line НСП 1% : 1.24 [15:16:43]line НДС 12% : 14.87 [15:16:43]line Наличными: 0.00 [15:16:43]line Безнал.: 140.00 [15:16:43]line Место: АЗС № 54 "Партнер Нефть" [15:16:43]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [15:16:43]line СНО: Общий режим [15:16:43]line Чек 45 11.08.2024 15:16 [15:16:43]line Смена: 446 ФФД: 1.0 [15:16:43]line ЗНМ: 0300000007 [15:16:43]line РНМ: 0000000000090834 [15:16:43]line Версия ККМ: 001 [15:16:43]line Платежная система: О! деньги [15:16:43]line ФМ: 0000000000874715 [15:16:43]line ФД: 52634 [15:16:43]line ФПД: 34418997201952 [15:16:43]line /tax-web-control/client/api/v1/ticket?date=20240811T151642&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52634&fm=34418997201952&tin=02508201610067®Number=0000000000090834&sum=14000 [15:16:43]line 0 [15:16:43]OFD Sender: Processing packet 52634 [packets to send 55, broken 54] [15:16:43]ProducePacketName [15:16:43]name=ofd_packets/00052634 [15:16:43]OFD Sender: To server: pG, [15:16:43]CommunicateWithHost lk.salyk.kg:30040 [15:16:43]ConnectInit lk.salyk.kg [15:16:43]written 0, free lines is 4095 [15:16:44]Connected sock=10 [15: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 34 37 31 35 27 01 00 00 E0 95 1F 01 85 E0 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 DA D5 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9A CD 00 00 35 04 06 00 1F 4D CC 1A 0C 20 57 5F 99 30 17 96 9C 1B [15:16:44]Write to MH i2c: 01 00 00 8A 02 8C [15:16:44]Write i2c OK [15:16:44]MH_I2C_Read... [15:16:44]Read from MH i2c: 01 [15:16:44]MH_I2C_Read... [15:16:44]Read from MH i2c: 01 07 00 [15:16:44]MH_I2C_Read... [15:16:44]Read from MH i2c: 01 07 00 8A 02 00 00 00 00 00 C9 0C 68 [15:16:44]RasterBufferAndPrint [15:16:44]line [15:16:44]line [15:16:44]line [15:16:44]line [15:16:44]line [15:16:44]written 0, free lines is 3279 [15:16:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 CF 20 47 00 54 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 34 37 31 35 10 04 04 00 9A CD 00 00 F4 03 04 00 75 7D B8 66 B6 04 01 00 00 35 1E 1C C5 17 79 E4 92 [15:16:44]CommunicateWithHost err = 0 [15:16:44]CheckOFDResponse [15:16:44]1017 (14) - 77093643461234 [15:16:44]1041 (16) - 0000000000874715 [15:16:44]1040 (4) - 52634 [15:16:44]1012 (4) - 11.08.2024 08:59 [15:16:44]1206 (1) - 0 [15:16:44]OFD Sender: Remove packet 52634 [15:16:44]ProducePacketName [15:16:44]name=ofd_packets/00052634 [15:16:44]NVStorageDeleteData [15:16:44]MH_Cut [15:16:44]Write to MH i2c: D1 01 00 91 02 01 65 [15:16:44]Write i2c OK [15:16:44]MH_I2C_Read... [15:16:44]Read from MH i2c: D1 [15:16:44]MH_I2C_Read... [15:16:44]Read from MH i2c: D1 01 00 [15:16:44]MH_I2C_Read... [15:16:44]Read from MH i2c: D1 01 00 91 02 00 64 [15:16:44]Write to MH i2c: 01 00 00 92 02 94 [15:16:44]Write i2c OK [15:16:44]MH_I2C_Read... [15:16:44]OFD Sender: No OFD packet to send [15:16:45]*** Cut start [15:16:45]*** Purtial cut [15:16:45]*** Stage 1: CUTSNS_PIN = 1 [15:16:45]Read from MH i2c: 01 [15:16:45]MH_I2C_Read... [15:16:45]*** Stop cut motor [15:16:45]*** Cut end [15:16:45]Read from MH i2c: 01 07 00 [15:16:45]MH_I2C_Read... [15:16:45]Read from MH i2c: 01 07 00 92 02 00 00 00 00 00 FF 0F A9 [15:16:45]process_action close_receipt done [15:16:45]requested_data is exist [15:16:45]produce_requested_data [15:16:45]requested_item fm.sn is exist - process it [15:16:45]wFMCommunicate request_size=4 [15:16:45]MH_SAM_APDU [15:16:45]CAPDU: 80 11 00 00 [15:16:45]Write to MH i2c: E2 08 00 93 02 80 11 00 00 00 00 00 00 0F [15:16:45]Write i2c OK [15:16:45]MH_I2C_Read... [15:16:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:16:45]Read from MH i2c: E2 [15:16:45]MH_I2C_Read... [15:16:45]Read from MH i2c: E2 17 00 [15:16:45]MH_I2C_Read... [15:16:45]Read from MH i2c: E2 17 00 93 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 62 [15:16:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [15:16:45]wFMCommunicate OK [15:16:45]requested_item fd.num is exist - process it [15:16:45]SAM_PROTO_GetFieldsCounters [15:16:45]wFMCommunicate request_size=4 [15:16:45]MH_SAM_APDU [15:16:45]CAPDU: 80 13 00 00 [15:16:45]Write to MH i2c: E2 08 00 94 02 80 13 00 00 00 00 00 00 12 [15:16:45]Write i2c OK [15:16:45]MH_I2C_Read... [15:16:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:16:45]Read from MH i2c: E2 [15:16:45]MH_I2C_Read... [15:16:45]Read from MH i2c: E2 62 00 [15:16:45]MH_I2C_Read... [15:16:45]Read from MH i2c: E2 62 00 94 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 9A CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 DF [15:16:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 9A CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:16:45]wFMCommunicate OK [15:16:45]SAM_PROTO_GetFieldsCounters done [15:16:45]requested_item shift.num is exist - process it [15:16:45]requested_item shift.opened is exist - process it [15:16:45]req_shift_opened [15:16:45]FM_GetShiftState [15:16:45]SAM_PROTO_GetShiftState [15:16:45]wFMCommunicate request_size=4 [15:16:45]MH_SAM_APDU [15:16:45]CAPDU: 80 13 01 00 [15:16:45]Write to MH i2c: E2 08 00 95 02 80 13 01 00 00 00 00 00 14 [15:16:45]Write i2c OK [15:16:45]MH_I2C_Read... [15:16:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:16:45]Read from MH i2c: E2 [15:16:45]MH_I2C_Read... [15:16:45]Read from MH i2c: E2 0E 00 [15:16:45]MH_I2C_Read... [15:16:45]Read from MH i2c: E2 0E 00 95 02 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 3D [15:16:45]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [15:16:45]wFMCommunicate OK [15:16:45]SAM_PROTO_GetShiftState done [15:16:45]FM_GetShiftState done [15:16:45]req_shift_opened done [15:16:45]requested_item shift.open_date is exist - process it [15:16:45]req_shift_open_date [15:16:45]req_shift_open_date done [15:16:45]produce_requested_data done [15:16:45]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52634,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [15:16:45]process_action_free close_receipt [15:16:45]json_value_free [15:16:45]json_value_free done [15:16:45]process_json_proto returns [15:16:45]Send response to host [15:16:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52634,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [15:16:45]free response buf [15:16:45]execute_script done [15:16:45]execute_script returns [15:16:45]free content buf [15:16:45]Sock 9.Close socket [15:16:45]Sock 9.Thread stoped [15:16:49]OFD Sender: No OFD packet to send [15:16:54]OFD Sender: No OFD packet to send [15:16:59]OFD Sender: No OFD packet to send [15:17:04]OFD Sender: No OFD packet to send [15:17:09]OFD Sender: No OFD packet to send [15:17:14]OFD Sender: No OFD packet to send [15:17:19]OFD Sender: No OFD packet to send [15:17:24]OFD Sender: No OFD packet to send [15:17:29]OFD Sender: No OFD packet to send [15:17:34]OFD Sender: No OFD packet to send [15:17:39]OFD Sender: No OFD packet to send [15:17:44]OFD Sender: No OFD packet to send [15:17:49]OFD Sender: No OFD packet to send [15:17:54]OFD Sender: No OFD packet to send [15:17:59]OFD Sender: No OFD packet to send [15:18:04]OFD Sender: No OFD packet to send [15:18:09]OFD Sender: No OFD packet to send [15:18:14]OFD Sender: No OFD packet to send [15:18:19]OFD Sender: No OFD packet to send [15:18:25]OFD Sender: No OFD packet to send [15:18:30]OFD Sender: No OFD packet to send [15:18:35]OFD Sender: No OFD packet to send [15:18:40]OFD Sender: No OFD packet to send [15:18:45]OFD Sender: No OFD packet to send [15:18:50]OFD Sender: No OFD packet to send [15:18:55]OFD Sender: No OFD packet to send [15:19:00]OFD Sender: No OFD packet to send [15:19:05]OFD Sender: No OFD packet to send [15:19:10]OFD Sender: No OFD packet to send [15:19:13]accept exits with 7 [15:19:13]New connection [15:19:13]New thread 3067293028 created [15:19:13]Thread 3067149668 joined [15:19:13]Waiting for new connection... [15:19:13] Sock 7.Parse request [15:19:13]Sock 7.Check first char [15:19:13]Sock 7.First char is OK [15:19:13]request: POST /json_proto HTTP/1.0 [15:19:13]Method: POST [15:19:13]URL: /json_proto [15:19:13]Method is POST - this is cgi request [15:19:13]url: /json_proto [15:19:13]query_string will be loaded in cgi processing [15:19:13]execute_cgi json_proto POST (null) [15:19:13]execute_cgi path=json_proto method=POST [15:19:13]POST find Content-Length [15:19:13]Host: 172.17.60.7:8080 [15:19:13]Content-Length: 1335 [15:19:13]Content-Type: application/json [15:19:13] [15:19:13]POST finish read [15:19:13]Found Content-Length = 1335 [15:19:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122766", "tax_sys" : 0, "items" : [ { "code": "4650243871781", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F Orange 0,45 \u0436/\u0431", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 156.00, "quantity" : 1.000, "sum" : 156.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 336.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:19:13]execute_script... [15:19:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122766", "tax_sys" : 0, "items" : [ { "code": "4650243871781", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F Orange 0,45 \u0436/\u0431", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 156.00, "quantity" : 1.000, "sum" : 156.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 336.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:19:13]POST & json_proto [15:19:13]process_json_proto [15:19:13]json parsed OK: [15:19:13]protocol is kg_v1.0 [15:19:13]action value=close_receipt [15:19:13]process_action close_receipt [15:19:13]cmd_close_receipt [15:19:13]MH_GetDate [15:19:13]Write to MH i2c: F0 00 00 96 02 87 [15:19:13]Write i2c OK [15:19:13]MH_I2C_Read... [15:19:13]Read from MH i2c: F0 [15:19:13]MH_I2C_Read... [15:19:13]Read from MH i2c: F0 09 00 [15:19:13]MH_I2C_Read... [15:19:13]Read from MH i2c: F0 09 00 96 02 00 72 D6 B8 66 63 9B 67 64 BF [15:19:13]GetLastDocTimeStamp 1723389402 [15:19:13]current date 1723389554 [15:19:13]FM_GetShiftState [15:19:13]SAM_PROTO_GetShiftState [15:19:13]wFMCommunicate request_size=4 [15:19:13]MH_SAM_APDU [15:19:13]CAPDU: 80 13 01 00 [15:19:13]Write to MH i2c: E2 08 00 97 02 80 13 01 00 00 00 00 00 16 [15:19:13]Write i2c OK [15:19:13]MH_I2C_Read... [15:19:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:19:13]Read from MH i2c: E2 [15:19:13]MH_I2C_Read... [15:19:13]Read from MH i2c: E2 0E 00 [15:19:13]MH_I2C_Read... [15:19:13]Read from MH i2c: E2 0E 00 97 02 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 3F [15:19:13]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [15:19:13]wFMCommunicate OK [15:19:13]SAM_PROTO_GetShiftState done [15:19:13]FM_GetShiftState done [15:19:13]opened in 1723336186 [15:19:13]opened+sec_in_day 1723422586 [15:19:13]quantity*price = 9000 [15:19:13]sum+1 = 9001 [15:19:13]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870022003312 Gorilla эн нап манго-кокос 0,45 ж/б 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480517 Пиво Живое 1л ПЭТ 1.000 * 156.00 = 156.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 336.00 НСП 1% : 2.98 НДС 12% : 35.69 Наличными: 0.00 Безнал.: 336.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 46 11.08.2024 15:19 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52635 ФПД: 167361921932830 /tax-web-control/client/api/v1/ticket?date=20240811T151914&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52635&fm=167361921932830&tin=02508201610067®Number=0000000000090834&sum=33600 0 [15:19:14]StoreToDocumentArchive [15:19:14]shift 446 fd 52635 [15:19:14]save to /storage/0446/doc_00052635 [15:19:14]save last doc name /storage/0446/doc_00052635 to /storage/kkm_last_doc_name [15:19:14]save OK [15:19:14]Clear old archive folders... [15:19:14]ProcessDocumentItem done err = 0, tmpTLVsize=505 [15:19:14]tlvbuf is B6FA8720 [15:19:14]SAM_PROTO_ClearQueue [15:19:14]wFMCommunicate request_size=4 [15:19:14]MH_SAM_APDU [15:19:14]CAPDU: 80 09 00 00 [15:19:14]Write to MH i2c: E2 08 00 A4 02 80 09 00 00 00 00 00 00 18 [15:19:14]Write i2c OK [15:19:14]MH_I2C_Read... [15:19:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:19:14]Read from MH i2c: E2 [15:19:14]MH_I2C_Read... [15:19:14]Read from MH i2c: E2 03 00 [15:19:14]MH_I2C_Read... [15:19:14]Read from MH i2c: E2 03 00 A4 02 00 90 00 1A [15:19:14]RAPDU: 90 00 [15:19:14]wFMCommunicate OK [15:19:14]SAM_PROTO_ClearQueue done [15:19:14]KKMCreateOFDPacket [15:19:14]OFDProtocolAddRootSTLVToBuf [15:19:14]FM_MakeSignedData [15:19:14]FM_MakeSignedData [15:19:14]SAM_PROTO_SignData [15:19:14]wFMCommunicate request_size=4 [15:19:14]MH_SAM_APDU [15:19:14]CAPDU: 80 0D 01 02 [15:19:14]Write to MH i2c: E2 08 00 A5 02 80 0D 01 02 00 00 00 00 20 [15:19:14]Write i2c OK [15:19:14]MH_I2C_Read... [15:19:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:19:14]Read from MH i2c: E2 [15:19:14]MH_I2C_Read... [15:19:14]Read from MH i2c: E2 03 00 [15:19:14]MH_I2C_Read... [15:19:14]Read from MH i2c: E2 03 00 A5 02 00 90 00 1B [15:19:14]RAPDU: 90 00 [15:19:14]wFMCommunicate OK [15:19:14]wFMCommunicate request_size=255 [15:19:14]MH_SAM_APDU [15:19:14]CAPDU: 80 0D 02 02 FA 03 00 F9 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 [15:19:14]Write to MH i2c: E2 02 01 A6 02 80 0D 02 02 FA 00 03 00 F9 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 00 00 33 [15:19:14]Write i2c OK [15:19:14]MH_I2C_Read... [15:19:15]OFD Sender: No OFD packet to send [15:19:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:19:15]Read from MH i2c: E2 [15:19:15]MH_I2C_Read... [15:19:15]Read from MH i2c: E2 03 00 [15:19:15]MH_I2C_Read... [15:19:15]Read from MH i2c: E2 03 00 A6 02 00 90 00 1C [15:19:15]RAPDU: 90 00 [15:19:15]wFMCommunicate OK [15:19:15]wFMCommunicate request_size=255 [15:19:15]MH_SAM_APDU [15:19:15]CAPDU: 80 0D 02 02 FA 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 83 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 83 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 72 D6 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9B CD 00 00 35 [15:19:15]Write to MH i2c: E2 02 01 A7 02 80 0D 02 02 FA 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 83 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 83 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 72 D6 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9B CD 00 00 35 00 00 DB [15:19:15]Write i2c OK [15:19:15]MH_I2C_Read... [15:19:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:19:15]Read from MH i2c: E2 [15:19:15]MH_I2C_Read... [15:19:15]Read from MH i2c: E2 03 00 [15:19:15]MH_I2C_Read... [15:19:15]Read from MH i2c: E2 03 00 A7 02 00 90 00 1D [15:19:15]RAPDU: 90 00 [15:19:15]wFMCommunicate OK [15:19:15]wFMCommunicate request_size=14 [15:19:15]MH_SAM_APDU [15:19:15]CAPDU: 80 0D 02 02 09 04 06 00 98 36 FB E7 DE 1E [15:19:15]Write to MH i2c: E2 11 00 A8 02 80 0D 02 02 09 00 04 06 00 98 36 FB E7 DE 1E 00 00 EC [15:19:15]Write i2c OK [15:19:15]MH_I2C_Read... [15:19:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:19:15]Read from MH i2c: E2 [15:19:15]MH_I2C_Read... [15:19:15]Read from MH i2c: E2 03 00 [15:19:15]MH_I2C_Read... [15:19:15]Read from MH i2c: E2 03 00 A8 02 00 90 00 1E [15:19:15]RAPDU: 90 00 [15:19:15]wFMCommunicate OK [15:19:15]wFMCommunicate request_size=4 [15:19:15]MH_SAM_APDU [15:19:15]CAPDU: 80 0D 03 02 [15:19:15]Write to MH i2c: E2 08 00 A9 02 80 0D 03 02 00 00 00 00 26 [15:19:15]Write i2c OK [15:19:15]MH_I2C_Read... [15:19:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:19:15]Read from MH i2c: E2 [15:19:15]MH_I2C_Read... [15:19:15]Read from MH i2c: E2 0B 00 [15:19:15]MH_I2C_Read... [15:19:15]Read from MH i2c: E2 0B 00 A9 02 00 D7 3C 84 B4 10 E2 52 3A 90 00 F0 [15:19:15]RAPDU: D7 3C 84 B4 10 E2 52 3A 90 00 [15:19:15]wFMCommunicate OK [15:19:15]SAM_PROTO_SignData done [15:19:15]FM_MakeSignedData done [15:19:15]CreateOFDProtocolMessage [15:19:15]wFMCommunicate request_size=4 [15:19:15]MH_SAM_APDU [15:19:15]CAPDU: 80 11 00 00 [15:19:15]Write to MH i2c: E2 08 00 AA 02 80 11 00 00 00 00 00 00 26 [15:19:15]Write i2c OK [15:19:15]MH_I2C_Read... [15:19:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:19:15]Read from MH i2c: E2 [15:19:15]MH_I2C_Read... [15:19:15]Read from MH i2c: E2 17 00 [15:19:15]MH_I2C_Read... [15:19:15]Read from MH i2c: E2 17 00 AA 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 79 [15:19:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [15:19:15]wFMCommunicate OK [15:19:15]CreateOFDProtocolMessage done [15:19:15]OFDSenderStorePacket 52635 [15:19:15]StoreOFDPacket docnum=52635 [15:19:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 02 00 00 5B AD 05 02 A2 7D 5A 03 01 00 03 00 F9 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 83 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 83 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 72 D6 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9B CD 00 00 35 04 06 00 98 36 FB E7 DE 1E D7 3C 84 B4 10 E2 52 3A [15:19:15]CheckFolder [15:19:15]dirname=/storage/ofd_packets [15:19:15]CheckFolder done [15:19:15]ProducePacketName [15:19:15]name=ofd_packets/00052635 [15:19:15]NVStorageSaveData ofd_packets/00052635 [15:19:15]File name is /storage/ofd_packets/00052635 [15:19:15]Write 555 bytes [15:19:15]NVStorageSaveData done [15:19:15]OFDSenderStorePacket done [15:19:15]KKMCreateOFDPacket done [15:19:15]NVStorageSaveData kkm_last_timestamp [15:19:15]File name is /storage/kkm_last_timestamp [15:19:15]Write 4 bytes [15:19:15]NVStorageSaveData done [15:19:15]ExternCall_PrintAddStr [15:19:15]wPrintStart [15:19:15]Write to MH i2c: 01 00 00 AB 02 AD [15:19:15]Write i2c OK [15:19:15]MH_I2C_Read... [15:19:15]Read from MH i2c: 01 [15:19:15]MH_I2C_Read... [15:19:15]Read from MH i2c: 01 07 00 [15:19:15]MH_I2C_Read... [15:19:15]Read from MH i2c: 01 07 00 AB 02 00 00 00 00 00 FF 0F C2 [15:19:15]RasterBufferAndPrint [15:19:15]line Счет N : (3)122766 [15:19:15]line ИНН: 02508201610067 [15:19:15]line Контрольно-Кассовый Чек [15:19:15]line ПРОДАЖА [15:19:15]line Товар: 4650243871781 [15:19:15]line Gorilla эн нап Orange 0,45 ж/б [15:19:15]line 1.000 * 90.00 [15:19:15]line = 90.00 [15:19:15]line НДС 12% НСП 1% [15:19:15]line > о реализуемом товаре [15:19:15]line Товар: 4870022003312 [15:19:15]line Gorilla эн нап манго-кокос 0,45 ж/б [15:19:15]line 1.000 * 90.00 [15:19:15]line = 90.00 [15:19:15]line НДС 12% НСП 1% [15:19:15]line > о реализуемом товаре [15:19:15]line Товар: 4700000480517 [15:19:15]line Пиво Живое 1л ПЭТ [15:19:15]line 1.000 * 156.00 [15:19:15]line = 156.00 [15:19:15]line НДС 12% НСП 1% [15:19:15]line > о реализуемом товаре [15:19:15]line ИТОГО: 336.00 [15:19:15]line НСП 1% : 2.98 [15:19:15]line НДС 12% : 35.69 [15:19:15]line Наличными: 0.00 [15:19:15]line Безнал.: 336.00 [15:19:15]line Место: АЗС № 54 "Партнер Нефть" [15:19:15]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [15:19:15]line СНО: Общий режим [15:19:15]line Чек 46 11.08.2024 15:19 [15:19:15]line Смена: 446 ФФД: 1.0 [15:19:15]line ЗНМ: 0300000007 [15:19:15]line РНМ: 0000000000090834 [15:19:15]line Версия ККМ: 001 [15:19:15]line Платежная система: О! деньги [15:19:15]line ФМ: 0000000000874715 [15:19:15]line ФД: 52635 [15:19:15]line ФПД: 167361921932830 [15:19:15]line /tax-web-control/client/api/v1/ticket?date=20240811T151914&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52635&fm=167361921932830&tin=02508201610067®Number=0000000000090834&sum=33600 [15:19:15]line 0 [15:19:15]written 0, free lines is 4095 [15:19:15]OFD Sender: Processing packet 52635 [packets to send 55, broken 54] [15:19:15]ProducePacketName [15:19:15]name=ofd_packets/00052635 [15:19:15]OFD Sender: To server: pG, [15:19:15]CommunicateWithHost lk.salyk.kg:30040 [15:19:15]ConnectInit lk.salyk.kg [15:19:16]Connected sock=10 [15:19:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 02 00 00 5B AD 05 02 A2 7D 5A 03 01 00 03 00 F9 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 37 38 31 06 04 25 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 4F 72 61 6E 67 65 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 F0 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 83 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 83 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 72 D6 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9B CD 00 00 35 04 06 00 98 36 FB E7 DE 1E D7 3C 84 B4 10 E2 52 3A [15:19:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 D8 16 47 00 0C 9B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9B CD 00 00 F4 03 04 00 0D 7E B8 66 B6 04 01 00 00 4E C4 4F C1 BB 4E F0 39 [15:19:16]CommunicateWithHost err = 0 [15:19:16]CheckOFDResponse [15:19:16]1017 (14) - 77093643461234 [15:19:16]1041 (16) - 0000000000874715 [15:19:16]1040 (4) - 52635 [15:19:16]1012 (4) - 11.08.2024 09:02 [15:19:16]1206 (1) - 0 [15:19:16]OFD Sender: Remove packet 52635 [15:19:16]ProducePacketName [15:19:16]name=ofd_packets/00052635 [15:19:16]NVStorageDeleteData [15:19:16]Write to MH i2c: 01 00 00 E1 02 E3 [15:19:16]Write i2c OK [15:19:16]MH_I2C_Read... [15:19:16]Read from MH i2c: 01 [15:19:16]MH_I2C_Read... [15:19:16]Read from MH i2c: 01 07 00 [15:19:16]MH_I2C_Read... [15:19:16]Read from MH i2c: 01 07 00 E1 02 00 00 00 00 00 FE 0B F3 [15:19:16]RasterBufferAndPrint [15:19:16]line [15:19:16]line [15:19:16]line [15:19:16]line [15:19:16]line [15:19:16]written 0, free lines is 3076 [15:19:16]MH_Cut [15:19:16]Write to MH i2c: D1 01 00 E8 02 01 BC [15:19:16]Write i2c OK [15:19:16]MH_I2C_Read... [15:19:16]Read from MH i2c: D1 [15:19:16]MH_I2C_Read... [15:19:16]Read from MH i2c: D1 01 00 [15:19:16]MH_I2C_Read... [15:19:16]Read from MH i2c: D1 01 00 E8 02 00 BB [15:19:16]Write to MH i2c: 01 00 00 E9 02 EB [15:19:16]Write i2c OK [15:19:16]MH_I2C_Read... [15:19:16]OFD Sender: No OFD packet to send [15:19:17]*** Cut start [15:19:17]*** Purtial cut [15:19:17]*** Stage 1: CUTSNS_PIN = 1 [15:19:17]Read from MH i2c: 01 [15:19:17]MH_I2C_Read... [15:19:17]*** Stop cut motor [15:19:17]*** Cut end [15:19:17]Read from MH i2c: 01 07 00 [15:19:17]MH_I2C_Read... [15:19:17]Read from MH i2c: 01 07 00 E9 02 00 00 00 00 00 FF 0F 00 [15:19:17]process_action close_receipt done [15:19:17]requested_data is exist [15:19:17]produce_requested_data [15:19:17]requested_item fm.sn is exist - process it [15:19:17]wFMCommunicate request_size=4 [15:19:17]MH_SAM_APDU [15:19:17]CAPDU: 80 11 00 00 [15:19:17]Write to MH i2c: E2 08 00 EA 02 80 11 00 00 00 00 00 00 66 [15:19:17]Write i2c OK [15:19:17]MH_I2C_Read... [15:19:17]Read from MH i2c: E2 [15:19:17]MH_I2C_Read... [15:19:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:19:17]Read from MH i2c: E2 17 00 [15:19:17]MH_I2C_Read... [15:19:17]Read from MH i2c: E2 17 00 EA 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 B9 [15:19:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [15:19:17]wFMCommunicate OK [15:19:17]requested_item fd.num is exist - process it [15:19:17]SAM_PROTO_GetFieldsCounters [15:19:17]wFMCommunicate request_size=4 [15:19:17]MH_SAM_APDU [15:19:17]CAPDU: 80 13 00 00 [15:19:17]Write to MH i2c: E2 08 00 EB 02 80 13 00 00 00 00 00 00 69 [15:19:17]Write i2c OK [15:19:17]MH_I2C_Read... [15:19:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:19:18]Read from MH i2c: E2 [15:19:18]MH_I2C_Read... [15:19:18]Read from MH i2c: E2 62 00 [15:19:18]MH_I2C_Read... [15:19:18]Read from MH i2c: E2 62 00 EB 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 9B CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 3A [15:19: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 9B CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:19:18]wFMCommunicate OK [15:19:18]SAM_PROTO_GetFieldsCounters done [15:19:18]requested_item shift.num is exist - process it [15:19:18]requested_item shift.opened is exist - process it [15:19:18]req_shift_opened [15:19:18]FM_GetShiftState [15:19:18]SAM_PROTO_GetShiftState [15:19:18]wFMCommunicate request_size=4 [15:19:18]MH_SAM_APDU [15:19:18]CAPDU: 80 13 01 00 [15:19:18]Write to MH i2c: E2 08 00 EC 02 80 13 01 00 00 00 00 00 6B [15:19:18]Write i2c OK [15:19:18]MH_I2C_Read... [15:19:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:19:18]Read from MH i2c: E2 [15:19:18]MH_I2C_Read... [15:19:18]Read from MH i2c: E2 0E 00 [15:19:18]MH_I2C_Read... [15:19:18]Read from MH i2c: E2 0E 00 EC 02 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 94 [15:19:18]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [15:19:18]wFMCommunicate OK [15:19:18]SAM_PROTO_GetShiftState done [15:19:18]FM_GetShiftState done [15:19:18]req_shift_opened done [15:19:18]requested_item shift.open_date is exist - process it [15:19:18]req_shift_open_date [15:19:18]req_shift_open_date done [15:19:18]produce_requested_data done [15:19:18]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52635,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [15:19:18]process_action_free close_receipt [15:19:18]json_value_free [15:19:18]json_value_free done [15:19:18]process_json_proto returns [15:19:18]Send response to host [15:19:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52635,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [15:19:18]free response buf [15:19:18]execute_script done [15:19:18]execute_script returns [15:19:18]free content buf [15:19:18]Sock 7.Close socket [15:19:18]Sock 7.Thread stoped [15:19:21]OFD Sender: No OFD packet to send [15:19:26]OFD Sender: No OFD packet to send [15:19:31]OFD Sender: No OFD packet to send [15:19:36]OFD Sender: No OFD packet to send [15:19:41]OFD Sender: No OFD packet to send [15:19:46]OFD Sender: No OFD packet to send [15:19:51]OFD Sender: No OFD packet to send [15:19:56]OFD Sender: No OFD packet to send [15:20:01]OFD Sender: No OFD packet to send [15:20:06]OFD Sender: No OFD packet to send [15:20:11]OFD Sender: No OFD packet to send [15:20:16]OFD Sender: No OFD packet to send [15:20:21]OFD Sender: No OFD packet to send [15:20:26]OFD Sender: No OFD packet to send [15:20:31]OFD Sender: No OFD packet to send [15:20:36]OFD Sender: No OFD packet to send [15:20:40]accept exits with 9 [15:20:40]New connection [15:20:40]New thread 3067149668 created [15:20:40]Thread 3067293028 joined [15:20:40]Waiting for new connection... [15:20:40] Sock 9.Parse request [15:20:40]Sock 9.Check first char [15:20:40]Sock 9.First char is OK [15:20:40]request: POST /json_proto HTTP/1.0 [15:20:40]Method: POST [15:20:40]URL: /json_proto [15:20:40]Method is POST - this is cgi request [15:20:40]url: /json_proto [15:20:40]query_string will be loaded in cgi processing [15:20:40]execute_cgi json_proto POST (null) [15:20:40]execute_cgi path=json_proto method=POST [15:20:40]POST find Content-Length [15:20:40]Host: 172.17.60.7:8080 [15:20:40]Content-Length: 1848 [15:20:40]Content-Type: application/json [15:20:40] [15:20:40]POST finish read [15:20:40]Found Content-Length = 1848 [15:20:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122767", "tax_sys" : 0, "items" : [ { "code": "4607084351378", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 6\u0448\u0442", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870209410797", "name": "\u041C\u043E\u0440\u043E\u0436\u0435\u043D\u043E\u0435 Bahroma \u042D\u0441\u043A\u0438\u043C\u043E \u041A\u0443\u0440\u0430\u0433\u0430 \u0432 \u0434\u0432\u043E\u0439\u043D\u043E", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 530.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:20:40]execute_script... [15:20:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122767", "tax_sys" : 0, "items" : [ { "code": "4607084351378", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 6\u0448\u0442", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870209410797", "name": "\u041C\u043E\u0440\u043E\u0436\u0435\u043D\u043E\u0435 Bahroma \u042D\u0441\u043A\u0438\u043C\u043E \u041A\u0443\u0440\u0430\u0433\u0430 \u0432 \u0434\u0432\u043E\u0439\u043D\u043E", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 530.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:20:40]POST & json_proto [15:20:40]process_json_proto [15:20:40]json parsed OK: [15:20:40]protocol is kg_v1.0 [15:20:40]action value=close_receipt [15:20:40]process_action close_receipt [15:20:40]cmd_close_receipt [15:20:40]MH_GetDate [15:20:40]Write to MH i2c: F0 00 00 ED 02 DE [15:20:40]Write i2c OK [15:20:40]MH_I2C_Read... [15:20:40]Read from MH i2c: F0 [15:20:40]MH_I2C_Read... [15:20:40]Read from MH i2c: F0 09 00 [15:20:40]MH_I2C_Read... [15:20:40]Read from MH i2c: F0 09 00 ED 02 00 C9 D6 B8 66 63 9B 67 64 6D [15:20:40]GetLastDocTimeStamp 1723389554 [15:20:40]current date 1723389641 [15:20:40]FM_GetShiftState [15:20:40]SAM_PROTO_GetShiftState [15:20:40]wFMCommunicate request_size=4 [15:20:40]MH_SAM_APDU [15:20:40]CAPDU: 80 13 01 00 [15:20:40]Write to MH i2c: E2 08 00 EE 02 80 13 01 00 00 00 00 00 6D [15:20:40]Write i2c OK [15:20:40]MH_I2C_Read... [15:20:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:20:40]Read from MH i2c: E2 [15:20:40]MH_I2C_Read... [15:20:40]Read from MH i2c: E2 0E 00 [15:20:40]MH_I2C_Read... [15:20:40]Read from MH i2c: E2 0E 00 EE 02 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 96 [15:20:40]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [15:20:40]wFMCommunicate OK [15:20:40]SAM_PROTO_GetShiftState done [15:20:40]FM_GetShiftState done [15:20:40]opened in 1723336186 [15:20:40]opened+sec_in_day 1723422586 [15:20:40]quantity*price = 17500 [15:20:40]sum+1 = 17501 [15:20:40]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870209410797 Мороженое Bahroma Эскимо Курага в двойно 1.000 * 160.00 = 160.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000027474 Напиток FuzeTea зел чай манго,ромашка 1л 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870112003956 Шок батончик ALBENI SUPER Альбени Супер 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 530.00 НСП 1% : 4.69 НДС 12% : 56.27 Наличными: 0.00 Безнал.: 530.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 47 11.08.2024 15:20 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52636 ФПД: 143138863245711 /tax-web-control/client/api/v1/ticket?date=20240811T152041&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52636&fm=143138863245711&tin=02508201610067®Number=0000000000090834&sum=53000 0 [15:20:41]StoreToDocumentArchive [15:20:41]shift 446 fd 52636 [15:20:41]save to /storage/0446/doc_00052636 [15:20:41]save last doc name /storage/0446/doc_00052636 to /storage/kkm_last_doc_name [15:20:41]save OK [15:20:41]Clear old archive folders... [15:20:41]ProcessDocumentItem done err = 0, tmpTLVsize=690 [15:20:41]tlvbuf is 0128EC90 [15:20:41]SAM_PROTO_ClearQueue [15:20:41]wFMCommunicate request_size=4 [15:20:41]MH_SAM_APDU [15:20:41]CAPDU: 80 09 00 00 [15:20:41]Write to MH i2c: E2 08 00 FB 02 80 09 00 00 00 00 00 00 6F [15:20:41]Write i2c OK [15:20:41]MH_I2C_Read... [15:20:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:20:42]Read from MH i2c: E2 [15:20:42]MH_I2C_Read... [15:20:42]Read from MH i2c: E2 03 00 [15:20:42]MH_I2C_Read... [15:20:42]Read from MH i2c: E2 03 00 FB 02 00 90 00 71 [15:20:42]RAPDU: 90 00 [15:20:42]wFMCommunicate OK [15:20:42]SAM_PROTO_ClearQueue done [15:20:42]KKMCreateOFDPacket [15:20:42]OFDProtocolAddRootSTLVToBuf [15:20:42]FM_MakeSignedData [15:20:42]FM_MakeSignedData [15:20:42]SAM_PROTO_SignData [15:20:42]wFMCommunicate request_size=4 [15:20:42]MH_SAM_APDU [15:20:42]CAPDU: 80 0D 01 02 [15:20:42]Write to MH i2c: E2 08 00 FC 02 80 0D 01 02 00 00 00 00 77 [15:20:42]Write i2c OK [15:20:42]MH_I2C_Read... [15:20:42]OFD Sender: No OFD packet to send [15:20:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:20:42]Read from MH i2c: E2 [15:20:42]MH_I2C_Read... [15:20:42]Read from MH i2c: E2 03 00 [15:20:42]MH_I2C_Read... [15:20:42]Read from MH i2c: E2 03 00 FC 02 00 90 00 72 [15:20:42]RAPDU: 90 00 [15:20:42]wFMCommunicate OK [15:20:42]wFMCommunicate request_size=255 [15:20:42]MH_SAM_APDU [15:20:42]CAPDU: 80 0D 02 02 FA 03 00 B2 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 37 38 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 36 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 88 00 8A 04 0D 00 34 38 37 30 32 30 39 34 31 30 37 39 37 06 04 44 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 42 61 68 72 6F 6D 61 20 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9A D1 83 D1 80 D0 B0 D0 B3 D0 B0 20 D0 B2 20 D0 B4 D0 B2 D0 BE D0 B9 D0 BD D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 [15:20:42]Write to MH i2c: E2 02 01 FD 02 80 0D 02 02 FA 00 03 00 B2 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 37 38 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 36 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 88 00 8A 04 0D 00 34 38 37 30 32 30 39 34 31 30 37 39 37 06 04 44 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 42 61 68 72 6F 6D 61 20 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9A D1 83 D1 80 D0 B0 D0 B3 D0 B0 20 D0 B2 20 D0 B4 D0 B2 D0 BE D0 B9 D0 BD D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 00 D6 [15:20:42]Write i2c OK [15:20:42]MH_I2C_Read... [15:20:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:20:42]Read from MH i2c: E2 [15:20:42]MH_I2C_Read... [15:20:42]Read from MH i2c: E2 03 00 [15:20:42]MH_I2C_Read... [15:20:42]Read from MH i2c: E2 03 00 FD 02 00 90 00 73 [15:20:42]RAPDU: 90 00 [15:20:42]wFMCommunicate OK [15:20:42]wFMCommunicate request_size=255 [15:20:42]MH_SAM_APDU [15:20:42]CAPDU: 80 0D 02 02 FA 00 01 BC 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 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D [15:20:42]Write to MH i2c: E2 02 01 FE 02 80 0D 02 02 FA 00 00 01 BC 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 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 C1 [15:20:42]Write i2c OK [15:20:42]MH_I2C_Read... [15:20:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:20:42]Read from MH i2c: E2 [15:20:42]MH_I2C_Read... [15:20:42]Read from MH i2c: E2 03 00 [15:20:42]MH_I2C_Read... [15:20:42]Read from MH i2c: E2 03 00 FE 02 00 90 00 74 [15:20:42]RAPDU: 90 00 [15:20:42]wFMCommunicate OK [15:20:42]wFMCommunicate request_size=199 [15:20:42]MH_SAM_APDU [15:20:42]CAPDU: 80 0D 02 02 C2 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 08 CF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 15 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 CF 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 C9 D6 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9C CD 00 00 35 04 06 00 82 2F 1D 18 E9 8F [15:20:42]Write to MH i2c: E2 CA 00 FF 02 80 0D 02 02 C2 00 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 08 CF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 15 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 CF 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 C9 D6 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9C CD 00 00 35 04 06 00 82 2F 1D 18 E9 8F 00 00 80 [15:20:42]Write i2c OK [15:20:42]MH_I2C_Read... [15:20:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:20:42]Read from MH i2c: E2 [15:20:42]MH_I2C_Read... [15:20:42]Read from MH i2c: E2 03 00 [15:20:42]MH_I2C_Read... [15:20:42]Read from MH i2c: E2 03 00 FF 02 00 90 00 75 [15:20:42]RAPDU: 90 00 [15:20:42]wFMCommunicate OK [15:20:42]wFMCommunicate request_size=4 [15:20:42]MH_SAM_APDU [15:20:42]CAPDU: 80 0D 03 02 [15:20:42]Write to MH i2c: E2 08 00 00 03 80 0D 03 02 00 00 00 00 7E [15:20:42]Write i2c OK [15:20:42]MH_I2C_Read... [15:20:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:20:42]Read from MH i2c: E2 [15:20:42]MH_I2C_Read... [15:20:42]Read from MH i2c: E2 0B 00 [15:20:42]MH_I2C_Read... [15:20:42]Read from MH i2c: E2 0B 00 00 03 00 1E 22 BB 01 72 91 46 F1 90 00 B5 [15:20:42]RAPDU: 1E 22 BB 01 72 91 46 F1 90 00 [15:20:42]wFMCommunicate OK [15:20:42]SAM_PROTO_SignData done [15:20:42]FM_MakeSignedData done [15:20:42]CreateOFDProtocolMessage [15:20:42]wFMCommunicate request_size=4 [15:20:42]MH_SAM_APDU [15:20:42]CAPDU: 80 11 00 00 [15:20:42]Write to MH i2c: E2 08 00 01 03 80 11 00 00 00 00 00 00 7E [15:20:42]Write i2c OK [15:20:42]MH_I2C_Read... [15:20:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:20:42]Read from MH i2c: E2 [15:20:42]MH_I2C_Read... [15:20:42]Read from MH i2c: E2 17 00 [15:20:42]MH_I2C_Read... [15:20:42]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 34 37 31 35 90 00 D1 [15:20:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [15:20:42]wFMCommunicate OK [15:20:42]CreateOFDProtocolMessage done [15:20:42]OFDSenderStorePacket 52636 [15:20:42]StoreOFDPacket docnum=52636 [15:20:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 C6 02 00 00 76 22 BE 02 84 28 5A 03 01 00 03 00 B2 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 37 38 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 36 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 88 00 8A 04 0D 00 34 38 37 30 32 30 39 34 31 30 37 39 37 06 04 44 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 42 61 68 72 6F 6D 61 20 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9A D1 83 D1 80 D0 B0 D0 B3 D0 B0 20 D0 B2 20 D0 B4 D0 B2 D0 BE D0 B9 D0 BD D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 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 08 CF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 15 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 CF 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 C9 D6 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9C CD 00 00 35 04 06 00 82 2F 1D 18 E9 8F 1E 22 BB 01 72 91 46 F1 [15:20:43]CheckFolder [15:20:43]dirname=/storage/ofd_packets [15:20:43]CheckFolder done [15:20:43]ProducePacketName [15:20:43]name=ofd_packets/00052636 [15:20:43]NVStorageSaveData ofd_packets/00052636 [15:20:43]File name is /storage/ofd_packets/00052636 [15:20:43]Write 740 bytes [15:20:43]NVStorageSaveData done [15:20:43]OFDSenderStorePacket done [15:20:43]KKMCreateOFDPacket done [15:20:43]NVStorageSaveData kkm_last_timestamp [15:20:43]File name is /storage/kkm_last_timestamp [15:20:43]Write 4 bytes [15:20:43]NVStorageSaveData done [15:20:43]ExternCall_PrintAddStr [15:20:43]wPrintStart [15:20:43]Write to MH i2c: 01 00 00 02 03 05 [15:20:43]Write i2c OK [15:20:43]MH_I2C_Read... [15:20:43]Read from MH i2c: 01 [15:20:43]MH_I2C_Read... [15:20:43]Read from MH i2c: 01 07 00 [15:20:43]MH_I2C_Read... [15:20:43]Read from MH i2c: 01 07 00 02 03 00 00 00 00 00 FF 0F 1A [15:20:43]RasterBufferAndPrint [15:20:43]line Счет N : (3)122767 [15:20:43]line ИНН: 02508201610067 [15:20:43]line Контрольно-Кассовый Чек [15:20:43]line ПРОДАЖА [15:20:43]line Товар: 4607084351378 [15:20:43]line Бисквит Чоко пай 6шт [15:20:43]line 1.000 * 175.00 [15:20:43]line = 175.00 [15:20:43]line НДС 12% НСП 1% [15:20:43]line > о реализуемом товаре [15:20:43]line Товар: 4870209410797 [15:20:43]line Мороженое Bahroma Эскимо Курага в двойно [15:20:43]line 1.000 * 160.00 [15:20:43]line = 160.00 [15:20:43]line НДС 12% НСП 1% [15:20:43]line > о реализуемом товаре [15:20:43]line Товар: 5449000027474 [15:20:43]line Напиток FuzeTea зел чай манго,ромашка 1л [15:20:43]line 1.000 * 120.00 [15:20:43]line = 120.00 [15:20:43]line НДС 12% НСП 1% [15:20:43]line > о реализуемом товаре [15:20:43]line Товар: 4870112003956 [15:20:43]line Шок батончик ALBENI SUPER Альбени Супер [15:20:43]line 1.000 * 75.00 [15:20:43]line = 75.00 [15:20:43]line НДС 12% НСП 1% [15:20:43]line > о реализуемом товаре [15:20:43]line ИТОГО: 530.00 [15:20:43]line НСП 1% : 4.69 [15:20:43]line НДС 12% : 56.27 [15:20:43]line Наличными: 0.00 [15:20:43]line Безнал.: 530.00 [15:20:43]line Место: АЗС № 54 "Партнер Нефть" [15:20:43]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [15:20:43]line СНО: Общий режим [15:20:43]line Чек 47 11.08.2024 15:20 [15:20:43]line Смена: 446 ФФД: 1.0 [15:20:43]line ЗНМ: 0300000007 [15:20:43]line РНМ: 0000000000090834 [15:20:43]line Версия ККМ: 001 [15:20:43]line Платежная система: О! деньги [15:20:43]line ФМ: 0000000000874715 [15:20:43]line ФД: 52636 [15:20:43]line ФПД: 143138863245711 [15:20:43]line /tax-web-control/client/api/v1/ticket?date=20240811T152041&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52636&fm=143138863245711&tin=02508201610067®Number=0000000000090834&sum=53000 [15:20:43]line 0 [15:20:43]written 0, free lines is 4095 [15:20:43]OFD Sender: Processing packet 52636 [packets to send 55, broken 54] [15:20:43]ProducePacketName [15:20:43]name=ofd_packets/00052636 [15:20:43]OFD Sender: To server: pG, [15:20:43]CommunicateWithHost lk.salyk.kg:30040 [15:20:43]ConnectInit lk.salyk.kg [15:20:43]Connected sock=10 [15:20:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 C6 02 00 00 76 22 BE 02 84 28 5A 03 01 00 03 00 B2 02 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 37 38 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 36 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 88 00 8A 04 0D 00 34 38 37 30 32 30 39 34 31 30 37 39 37 06 04 44 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 42 61 68 72 6F 6D 61 20 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9A D1 83 D1 80 D0 B0 D0 B3 D0 B0 20 D0 B2 20 D0 B4 D0 B2 D0 BE D0 B9 D0 BD D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 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 08 CF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D5 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 15 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 CF 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 C9 D6 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9C CD 00 00 35 04 06 00 82 2F 1D 18 E9 8F 1E 22 BB 01 72 91 46 F1 [15:20:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 30 2F 47 00 ED 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 34 37 31 35 10 04 04 00 9C CD 00 00 F4 03 04 00 65 7E B8 66 B6 04 01 00 00 47 20 21 D5 C3 EB 46 5F [15:20:43]CommunicateWithHost err = 0 [15:20:43]CheckOFDResponse [15:20:43]1017 (14) - 77093643461234 [15:20:43]1041 (16) - 0000000000874715 [15:20:43]1040 (4) - 52636 [15:20:43]1012 (4) - 11.08.2024 09:03 [15:20:43]1206 (1) - 0 [15:20:43]OFD Sender: Remove packet 52636 [15:20:43]ProducePacketName [15:20:43]name=ofd_packets/00052636 [15:20:43]NVStorageDeleteData [15:20:43]Write to MH i2c: 01 00 00 40 03 43 [15:20:43]Write i2c OK [15:20:43]MH_I2C_Read... [15:20:43]Read from MH i2c: 01 [15:20:43]MH_I2C_Read... [15:20:43]Read from MH i2c: 01 07 00 [15:20:43]MH_I2C_Read... [15:20:43]Read from MH i2c: 01 07 00 40 03 00 00 00 00 00 73 0B C8 [15:20:43]RasterBufferAndPrint [15:20:43]line [15:20:43]line [15:20:43]line [15:20:43]line [15:20:43]line [15:20:43]written 0, free lines is 2940 [15:20:43]MH_Cut [15:20:43]Write to MH i2c: D1 01 00 47 03 01 1C [15:20:43]Write i2c OK [15:20:43]MH_I2C_Read... [15:20:43]Read from MH i2c: D1 [15:20:43]MH_I2C_Read... [15:20:43]Read from MH i2c: D1 01 00 [15:20:43]MH_I2C_Read... [15:20:43]Read from MH i2c: D1 01 00 47 03 00 1B [15:20:43]Write to MH i2c: 01 00 00 48 03 4B [15:20:43]Write i2c OK [15:20:43]MH_I2C_Read... [15:20:44]OFD Sender: No OFD packet to send [15:20:45]*** Cut start [15:20:45]*** Purtial cut [15:20:45]*** Stage 1: CUTSNS_PIN = 1 [15:20:45]Read from MH i2c: 01 [15:20:45]MH_I2C_Read... [15:20:45]*** Stop cut motor [15:20:45]*** Cut end [15:20:45]Read from MH i2c: 01 07 00 [15:20:45]MH_I2C_Read... [15:20:45]Read from MH i2c: 01 07 00 48 03 00 00 00 00 00 FF 0F 60 [15:20:45]process_action close_receipt done [15:20:45]requested_data is exist [15:20:45]produce_requested_data [15:20:45]requested_item fm.sn is exist - process it [15:20:45]wFMCommunicate request_size=4 [15:20:45]MH_SAM_APDU [15:20:45]CAPDU: 80 11 00 00 [15:20:45]Write to MH i2c: E2 08 00 49 03 80 11 00 00 00 00 00 00 C6 [15:20:45]Write i2c OK [15:20:45]MH_I2C_Read... [15:20:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:20:45]Read from MH i2c: E2 [15:20:45]MH_I2C_Read... [15:20:45]Read from MH i2c: E2 17 00 [15:20:45]MH_I2C_Read... [15:20:45]Read from MH i2c: E2 17 00 49 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 19 [15:20:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [15:20:45]wFMCommunicate OK [15:20:45]requested_item fd.num is exist - process it [15:20:45]SAM_PROTO_GetFieldsCounters [15:20:45]wFMCommunicate request_size=4 [15:20:45]MH_SAM_APDU [15:20:45]CAPDU: 80 13 00 00 [15:20:45]Write to MH i2c: E2 08 00 4A 03 80 13 00 00 00 00 00 00 C9 [15:20:45]Write i2c OK [15:20:45]MH_I2C_Read... [15:20:45]Read from MH i2c: E2 [15:20:45]MH_I2C_Read... [15:20:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:20:45]Read from MH i2c: E2 62 00 [15:20:45]MH_I2C_Read... [15:20:45]Read from MH i2c: E2 62 00 4A 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 9C CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 9E [15:20:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 9C CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:20:45]wFMCommunicate OK [15:20:45]SAM_PROTO_GetFieldsCounters done [15:20:45]requested_item shift.num is exist - process it [15:20:45]requested_item shift.opened is exist - process it [15:20:45]req_shift_opened [15:20:45]FM_GetShiftState [15:20:45]SAM_PROTO_GetShiftState [15:20:45]wFMCommunicate request_size=4 [15:20:45]MH_SAM_APDU [15:20:45]CAPDU: 80 13 01 00 [15:20:45]Write to MH i2c: E2 08 00 4B 03 80 13 01 00 00 00 00 00 CB [15:20:45]Write i2c OK [15:20:45]MH_I2C_Read... [15:20:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:20:45]Read from MH i2c: E2 [15:20:45]MH_I2C_Read... [15:20:45]Read from MH i2c: E2 0E 00 [15:20:45]MH_I2C_Read... [15:20:45]Read from MH i2c: E2 0E 00 4B 03 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 F4 [15:20:45]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [15:20:45]wFMCommunicate OK [15:20:45]SAM_PROTO_GetShiftState done [15:20:45]FM_GetShiftState done [15:20:45]req_shift_opened done [15:20:45]requested_item shift.open_date is exist - process it [15:20:45]req_shift_open_date [15:20:45]req_shift_open_date done [15:20:45]produce_requested_data done [15:20:45]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52636,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [15:20:45]process_action_free close_receipt [15:20:45]json_value_free [15:20:45]json_value_free done [15:20:45]process_json_proto returns [15:20:45]Send response to host [15:20:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52636,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [15:20:45]free response buf [15:20:45]execute_script done [15:20:45]execute_script returns [15:20:45]free content buf [15:20:45]Sock 9.Close socket [15:20:45]Sock 9.Thread stoped [15:20:49]OFD Sender: No OFD packet to send [15:20:54]OFD Sender: No OFD packet to send [15:20:59]OFD Sender: No OFD packet to send [15:21:04]OFD Sender: No OFD packet to send [15:21:09]OFD Sender: No OFD packet to send [15:21:14]OFD Sender: No OFD packet to send [15:21:19]OFD Sender: No OFD packet to send [15:21:24]OFD Sender: No OFD packet to send [15:21:29]OFD Sender: No OFD packet to send [15:21:34]OFD Sender: No OFD packet to send [15:21:39]OFD Sender: No OFD packet to send [15:21:44]OFD Sender: No OFD packet to send [15:21:49]OFD Sender: No OFD packet to send [15:21:54]OFD Sender: No OFD packet to send [15:21:59]OFD Sender: No OFD packet to send [15:22:04]OFD Sender: No OFD packet to send [15:22:09]OFD Sender: No OFD packet to send [15:22:14]OFD Sender: No OFD packet to send [15:22:19]OFD Sender: No OFD packet to send [15:22:24]OFD Sender: No OFD packet to send [15:22:29]OFD Sender: No OFD packet to send [15:22:34]OFD Sender: No OFD packet to send [15:22:39]OFD Sender: No OFD packet to send [15:22:44]OFD Sender: No OFD packet to send [15:22:49]OFD Sender: No OFD packet to send [15:22:54]OFD Sender: No OFD packet to send [15:22:59]OFD Sender: No OFD packet to send [15:23:04]OFD Sender: No OFD packet to send [15:23:09]OFD Sender: No OFD packet to send [15:23:14]OFD Sender: No OFD packet to send [15:23:19]OFD Sender: No OFD packet to send [15:23:24]OFD Sender: No OFD packet to send [15:23:29]OFD Sender: No OFD packet to send [15:23:34]OFD Sender: No OFD packet to send [15:23:39]OFD Sender: No OFD packet to send [15:23:44]OFD Sender: No OFD packet to send [15:23:49]OFD Sender: No OFD packet to send [15:23:54]OFD Sender: No OFD packet to send [15:23:59]OFD Sender: No OFD packet to send [15:24:04]OFD Sender: No OFD packet to send [15:24:09]OFD Sender: No OFD packet to send [15:24:14]OFD Sender: No OFD packet to send [15:24:19]OFD Sender: No OFD packet to send [15:24:24]OFD Sender: No OFD packet to send [15:24:29]OFD Sender: No OFD packet to send [15:24:34]OFD Sender: No OFD packet to send [15:24:39]OFD Sender: No OFD packet to send [15:24:44]OFD Sender: No OFD packet to send [15:24:49]OFD Sender: No OFD packet to send [15:24:54]OFD Sender: No OFD packet to send [15:24:59]OFD Sender: No OFD packet to send [15:25:04]OFD Sender: No OFD packet to send [15:25:09]OFD Sender: No OFD packet to send [15:25:14]OFD Sender: No OFD packet to send [15:25:19]OFD Sender: No OFD packet to send [15:25:24]OFD Sender: No OFD packet to send [15:25:29]OFD Sender: No OFD packet to send [15:25:34]OFD Sender: No OFD packet to send [15:25:39]OFD Sender: No OFD packet to send [15:25:44]OFD Sender: No OFD packet to send [15:25:49]OFD Sender: No OFD packet to send [15:25:54]OFD Sender: No OFD packet to send [15:25:59]OFD Sender: No OFD packet to send [15:26:04]OFD Sender: No OFD packet to send [15:26:09]OFD Sender: No OFD packet to send [15:26:14]OFD Sender: No OFD packet to send [15:26:19]OFD Sender: No OFD packet to send [15:26:24]OFD Sender: No OFD packet to send [15:26:29]OFD Sender: No OFD packet to send [15:26:34]OFD Sender: No OFD packet to send [15:26:39]OFD Sender: No OFD packet to send [15:26:44]OFD Sender: No OFD packet to send [15:26:49]OFD Sender: No OFD packet to send [15:26:54]OFD Sender: No OFD packet to send [15:26:59]OFD Sender: No OFD packet to send [15:27:04]OFD Sender: No OFD packet to send [15:27:09]OFD Sender: No OFD packet to send [15:27:14]OFD Sender: No OFD packet to send [15:27:19]OFD Sender: No OFD packet to send [15:27:24]OFD Sender: No OFD packet to send [15:27:29]OFD Sender: No OFD packet to send [15:27:34]OFD Sender: No OFD packet to send [15:27:39]OFD Sender: No OFD packet to send [15:27:44]OFD Sender: No OFD packet to send [15:27:49]OFD Sender: No OFD packet to send [15:27:54]OFD Sender: No OFD packet to send [15:27:59]OFD Sender: No OFD packet to send [15:28:04]OFD Sender: No OFD packet to send [15:28:09]OFD Sender: No OFD packet to send [15:28:14]OFD Sender: No OFD packet to send [15:28:19]OFD Sender: No OFD packet to send [15:28:24]OFD Sender: No OFD packet to send [15:28:29]OFD Sender: No OFD packet to send [15:28:34]OFD Sender: No OFD packet to send [15:28:39]OFD Sender: No OFD packet to send [15:28:44]OFD Sender: No OFD packet to send [15:28:49]OFD Sender: No OFD packet to send [15:28:54]OFD Sender: No OFD packet to send [15:28:59]OFD Sender: No OFD packet to send [15:29:04]OFD Sender: No OFD packet to send [15:29:09]OFD Sender: No OFD packet to send [15:29:14]OFD Sender: No OFD packet to send [15:29:19]OFD Sender: No OFD packet to send [15:29:24]OFD Sender: No OFD packet to send [15:29:29]OFD Sender: No OFD packet to send [15:29:34]OFD Sender: No OFD packet to send [15:29:39]OFD Sender: No OFD packet to send [15:29:44]OFD Sender: No OFD packet to send [15:29:49]OFD Sender: No OFD packet to send [15:29:54]OFD Sender: No OFD packet to send [15:29:59]OFD Sender: No OFD packet to send [15:30:04]OFD Sender: No OFD packet to send [15:30:09]OFD Sender: No OFD packet to send [15:30:14]OFD Sender: No OFD packet to send [15:30:19]OFD Sender: No OFD packet to send [15:30:24]OFD Sender: No OFD packet to send [15:30:29]OFD Sender: No OFD packet to send [15:30:34]OFD Sender: No OFD packet to send [15:30:39]OFD Sender: No OFD packet to send [15:30:44]OFD Sender: No OFD packet to send [15:30:49]OFD Sender: No OFD packet to send [15:30:54]OFD Sender: No OFD packet to send [15:30:59]OFD Sender: No OFD packet to send [15:31:04]OFD Sender: No OFD packet to send [15:31:09]OFD Sender: No OFD packet to send [15:31:14]OFD Sender: No OFD packet to send [15:31:19]OFD Sender: No OFD packet to send [15:31:24]OFD Sender: No OFD packet to send [15:31:29]OFD Sender: No OFD packet to send [15:31:34]OFD Sender: No OFD packet to send [15:31:39]OFD Sender: No OFD packet to send [15:31:44]OFD Sender: No OFD packet to send [15:31:49]OFD Sender: No OFD packet to send [15:31:54]OFD Sender: No OFD packet to send [15:31:59]OFD Sender: No OFD packet to send [15:32:04]OFD Sender: No OFD packet to send [15:32:09]OFD Sender: No OFD packet to send [15:32:14]OFD Sender: No OFD packet to send [15:32:19]OFD Sender: No OFD packet to send [15:32:24]OFD Sender: No OFD packet to send [15:32:29]OFD Sender: No OFD packet to send [15:32:34]OFD Sender: No OFD packet to send [15:32:39]OFD Sender: No OFD packet to send [15:32:45]OFD Sender: No OFD packet to send [15:32:50]OFD Sender: No OFD packet to send [15:32:55]OFD Sender: No OFD packet to send [15:33:00]OFD Sender: No OFD packet to send [15:33:05]OFD Sender: No OFD packet to send [15:33:10]OFD Sender: No OFD packet to send [15:33:15]OFD Sender: No OFD packet to send [15:33:20]OFD Sender: No OFD packet to send [15:33:25]OFD Sender: No OFD packet to send [15:33:30]OFD Sender: No OFD packet to send [15:33:35]OFD Sender: No OFD packet to send [15:33:40]OFD Sender: No OFD packet to send [15:33:45]OFD Sender: No OFD packet to send [15:33:50]OFD Sender: No OFD packet to send [15:33:55]OFD Sender: No OFD packet to send [15:34:00]OFD Sender: No OFD packet to send [15:34:05]OFD Sender: No OFD packet to send [15:34:10]OFD Sender: No OFD packet to send [15:34:15]OFD Sender: No OFD packet to send [15:34:20]OFD Sender: No OFD packet to send [15:34:25]OFD Sender: No OFD packet to send [15:34:30]OFD Sender: No OFD packet to send [15:34:35]OFD Sender: No OFD packet to send [15:34:40]OFD Sender: No OFD packet to send [15:34:45]OFD Sender: No OFD packet to send [15:34:50]OFD Sender: No OFD packet to send [15:34:55]OFD Sender: No OFD packet to send [15:35:00]OFD Sender: No OFD packet to send [15:35:05]OFD Sender: No OFD packet to send [15:35:10]OFD Sender: No OFD packet to send [15:35:15]OFD Sender: No OFD packet to send [15:35:20]OFD Sender: No OFD packet to send [15:35:25]OFD Sender: No OFD packet to send [15:35:30]OFD Sender: No OFD packet to send [15:35:35]OFD Sender: No OFD packet to send [15:35:40]OFD Sender: No OFD packet to send [15:35:45]OFD Sender: No OFD packet to send [15:35:50]OFD Sender: No OFD packet to send [15:35:55]OFD Sender: No OFD packet to send [15:36:00]OFD Sender: No OFD packet to send [15:36:05]OFD Sender: No OFD packet to send [15:36:10]OFD Sender: No OFD packet to send [15:36:15]OFD Sender: No OFD packet to send [15:36:20]OFD Sender: No OFD packet to send [15:36:25]OFD Sender: No OFD packet to send [15:36:30]OFD Sender: No OFD packet to send [15:36:35]OFD Sender: No OFD packet to send [15:36:40]OFD Sender: No OFD packet to send [15:36:45]OFD Sender: No OFD packet to send [15:36:50]OFD Sender: No OFD packet to send [15:36:55]OFD Sender: No OFD packet to send [15:37:00]OFD Sender: No OFD packet to send [15:37:05]OFD Sender: No OFD packet to send [15:37:10]OFD Sender: No OFD packet to send [15:37:15]OFD Sender: No OFD packet to send [15:37:20]OFD Sender: No OFD packet to send [15:37:25]OFD Sender: No OFD packet to send [15:37:30]OFD Sender: No OFD packet to send [15:37:35]OFD Sender: No OFD packet to send [15:37:40]OFD Sender: No OFD packet to send [15:37:45]OFD Sender: No OFD packet to send [15:37:50]OFD Sender: No OFD packet to send [15:37:55]OFD Sender: No OFD packet to send [15:38:00]OFD Sender: No OFD packet to send [15:38:05]OFD Sender: No OFD packet to send [15:38:10]OFD Sender: No OFD packet to send [15:38:15]OFD Sender: No OFD packet to send [15:38:20]OFD Sender: No OFD packet to send [15:38:25]OFD Sender: No OFD packet to send [15:38:30]OFD Sender: No OFD packet to send [15:38:35]OFD Sender: No OFD packet to send [15:38:40]OFD Sender: No OFD packet to send [15:38:45]OFD Sender: No OFD packet to send [15:38:50]OFD Sender: No OFD packet to send [15:38:55]OFD Sender: No OFD packet to send [15:39:00]OFD Sender: No OFD packet to send [15:39:05]OFD Sender: No OFD packet to send [15:39:10]OFD Sender: No OFD packet to send [15:39:15]OFD Sender: No OFD packet to send [15:39:20]OFD Sender: No OFD packet to send [15:39:25]OFD Sender: No OFD packet to send [15:39:30]OFD Sender: No OFD packet to send [15:39:35]OFD Sender: No OFD packet to send [15:39:40]OFD Sender: No OFD packet to send [15:39:45]OFD Sender: No OFD packet to send [15:39:50]OFD Sender: No OFD packet to send [15:39:55]OFD Sender: No OFD packet to send [15:40:00]OFD Sender: No OFD packet to send [15:40:05]OFD Sender: No OFD packet to send [15:40:10]OFD Sender: No OFD packet to send [15:40:15]OFD Sender: No OFD packet to send [15:40:20]OFD Sender: No OFD packet to send [15:40:25]OFD Sender: No OFD packet to send [15:40:30]OFD Sender: No OFD packet to send [15:40:35]OFD Sender: No OFD packet to send [15:40:40]OFD Sender: No OFD packet to send [15:40:45]OFD Sender: No OFD packet to send [15:40:50]OFD Sender: No OFD packet to send [15:40:55]OFD Sender: No OFD packet to send [15:41:00]OFD Sender: No OFD packet to send [15:41:05]OFD Sender: No OFD packet to send [15:41:10]OFD Sender: No OFD packet to send [15:41:15]OFD Sender: No OFD packet to send [15:41:20]OFD Sender: No OFD packet to send [15:41:25]OFD Sender: No OFD packet to send [15:41:30]OFD Sender: No OFD packet to send [15:41:35]OFD Sender: No OFD packet to send [15:41:40]OFD Sender: No OFD packet to send [15:41:45]OFD Sender: No OFD packet to send [15:41:50]OFD Sender: No OFD packet to send [15:41:53]accept exits with 7 [15:41:53]New connection [15:41:53]New thread 3067293028 created [15:41:53]Thread 3067149668 joined [15:41:53]Waiting for new connection... [15:41:53] Sock 7.Parse request [15:41:53]Sock 7.Check first char [15:41:53]Sock 7.First char is OK [15:41:53]request: POST /json_proto HTTP/1.0 [15:41:53]Method: POST [15:41:53]URL: /json_proto [15:41:53]Method is POST - this is cgi request [15:41:53]url: /json_proto [15:41:53]query_string will be loaded in cgi processing [15:41:53]execute_cgi json_proto POST (null) [15:41:53]execute_cgi path=json_proto method=POST [15:41:53]POST find Content-Length [15:41:53]Host: 172.17.60.7:8080 [15:41:53]Content-Length: 798 [15:41:53]Content-Type: application/json [15:41:53] [15:41:53]POST finish read [15:41:53]Found Content-Length = 798 [15:41:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122768", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:41:53]execute_script... [15:41:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122768", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:41:53]POST & json_proto [15:41:53]process_json_proto [15:41:53]json parsed OK: [15:41:53]protocol is kg_v1.0 [15:41:53]action value=close_receipt [15:41:53]process_action close_receipt [15:41:53]cmd_close_receipt [15:41:53]MH_GetDate [15:41:53]Write to MH i2c: F0 00 00 4C 03 3E [15:41:53]Write i2c OK [15:41:53]MH_I2C_Read... [15:41:53]Read from MH i2c: F0 [15:41:53]MH_I2C_Read... [15:41:53]Read from MH i2c: F0 09 00 [15:41:53]MH_I2C_Read... [15:41:53]Read from MH i2c: F0 09 00 4C 03 00 C2 DB B8 66 63 9B 67 64 CB [15:41:53]GetLastDocTimeStamp 1723389641 [15:41:53]current date 1723390914 [15:41:53]FM_GetShiftState [15:41:53]SAM_PROTO_GetShiftState [15:41:53]wFMCommunicate request_size=4 [15:41:53]MH_SAM_APDU [15:41:53]CAPDU: 80 13 01 00 [15:41:53]Write to MH i2c: E2 08 00 4D 03 80 13 01 00 00 00 00 00 CD [15:41:53]Write i2c OK [15:41:53]MH_I2C_Read... [15:41:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:41:53]Read from MH i2c: E2 [15:41:53]MH_I2C_Read... [15:41:53]Read from MH i2c: E2 0E 00 [15:41:53]MH_I2C_Read... [15:41:53]Read from MH i2c: E2 0E 00 4D 03 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 F6 [15:41:53]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [15:41:53]wFMCommunicate OK [15:41:53]SAM_PROTO_GetShiftState done [15:41:53]FM_GetShiftState done [15:41:53]opened in 1723336186 [15:41:53]opened+sec_in_day 1723422586 [15:41:53]quantity*price = 6000 [15:41:53]sum+1 = 6001 [15:41:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 0.00 Безнал.: 60.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 48 11.08.2024 15:41 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52637 ФПД: 205675487658318 /tax-web-control/client/api/v1/ticket?date=20240811T154154&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52637&fm=205675487658318&tin=02508201610067®Number=0000000000090834&sum=6000 0 [15:41:55]StoreToDocumentArchive [15:41:55]shift 446 fd 52637 [15:41:55]save to /storage/0446/doc_00052637 [15:41:55]save last doc name /storage/0446/doc_00052637 to /storage/kkm_last_doc_name [15:41:55]save OK [15:41:55]Clear old archive folders... [15:41:55]ProcessDocumentItem done err = 0, tmpTLVsize=271 [15:41:55]tlvbuf is B6EFB090 [15:41:55]SAM_PROTO_ClearQueue [15:41:55]wFMCommunicate request_size=4 [15:41:55]MH_SAM_APDU [15:41:55]CAPDU: 80 09 00 00 [15:41:55]Write to MH i2c: E2 08 00 5A 03 80 09 00 00 00 00 00 00 CF [15:41:55]Write i2c OK [15:41:55]MH_I2C_Read... [15:41:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:41:55]Read from MH i2c: E2 [15:41:55]MH_I2C_Read... [15:41:55]Read from MH i2c: E2 03 00 [15:41:55]MH_I2C_Read... [15:41:55]Read from MH i2c: E2 03 00 5A 03 00 90 00 D1 [15:41:55]RAPDU: 90 00 [15:41:55]wFMCommunicate OK [15:41:55]SAM_PROTO_ClearQueue done [15:41:55]KKMCreateOFDPacket [15:41:55]OFDProtocolAddRootSTLVToBuf [15:41:55]FM_MakeSignedData [15:41:55]FM_MakeSignedData [15:41:55]SAM_PROTO_SignData [15:41:55]wFMCommunicate request_size=4 [15:41:55]MH_SAM_APDU [15:41:55]CAPDU: 80 0D 01 02 [15:41:55]Write to MH i2c: E2 08 00 5B 03 80 0D 01 02 00 00 00 00 D7 [15:41:55]Write i2c OK [15:41:55]MH_I2C_Read... [15:41:55]Read from MH i2c: E2 [15:41:55]MH_I2C_Read... [15:41:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:41:55]Read from MH i2c: E2 03 00 [15:41:55]MH_I2C_Read... [15:41:55]Read from MH i2c: E2 03 00 5B 03 00 90 00 D2 [15:41:55]RAPDU: 90 00 [15:41:55]wFMCommunicate OK [15:41:55]wFMCommunicate request_size=255 [15:41:55]MH_SAM_APDU [15:41:55]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 C2 DB B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 [15:41:55]Write to MH i2c: E2 02 01 5C 03 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 C2 DB B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 AF [15:41:55]Write i2c OK [15:41:55]MH_I2C_Read... [15:41:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:41:55]Read from MH i2c: E2 [15:41:55]MH_I2C_Read... [15:41:55]Read from MH i2c: E2 03 00 [15:41:55]MH_I2C_Read... [15:41:55]Read from MH i2c: E2 03 00 5C 03 00 90 00 D3 [15:41:55]RAPDU: 90 00 [15:41:55]wFMCommunicate OK [15:41:55]wFMCommunicate request_size=30 [15:41:55]MH_SAM_APDU [15:41:55]CAPDU: 80 0D 02 02 19 30 38 37 34 37 31 35 10 04 04 00 9D CD 00 00 35 04 06 00 BB 0F 8E 61 81 4E [15:41:55]Write to MH i2c: E2 21 00 5D 03 80 0D 02 02 19 00 30 38 37 34 37 31 35 10 04 04 00 9D CD 00 00 35 04 06 00 BB 0F 8E 61 81 4E 00 00 C5 [15:41:55]Write i2c OK [15:41:55]MH_I2C_Read... [15:41:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:41:55]Read from MH i2c: E2 [15:41:55]MH_I2C_Read... [15:41:55]Read from MH i2c: E2 03 00 [15:41:55]MH_I2C_Read... [15:41:55]Read from MH i2c: E2 03 00 5D 03 00 90 00 D4 [15:41:55]RAPDU: 90 00 [15:41:55]wFMCommunicate OK [15:41:55]wFMCommunicate request_size=4 [15:41:55]MH_SAM_APDU [15:41:55]CAPDU: 80 0D 03 02 [15:41:55]Write to MH i2c: E2 08 00 5E 03 80 0D 03 02 00 00 00 00 DC [15:41:55]Write i2c OK [15:41:55]MH_I2C_Read... [15:41:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:41:55]Read from MH i2c: E2 [15:41:55]MH_I2C_Read... [15:41:55]Read from MH i2c: E2 0B 00 [15:41:55]MH_I2C_Read... [15:41:55]Read from MH i2c: E2 0B 00 5E 03 00 9F CA 98 45 32 4B EF 53 90 00 E2 [15:41:55]RAPDU: 9F CA 98 45 32 4B EF 53 90 00 [15:41:55]wFMCommunicate OK [15:41:55]SAM_PROTO_SignData done [15:41:55]FM_MakeSignedData done [15:41:55]CreateOFDProtocolMessage [15:41:55]wFMCommunicate request_size=4 [15:41:55]MH_SAM_APDU [15:41:55]CAPDU: 80 11 00 00 [15:41:55]Write to MH i2c: E2 08 00 5F 03 80 11 00 00 00 00 00 00 DC [15:41:55]Write i2c OK [15:41:55]MH_I2C_Read... [15:41:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:41:55]Read from MH i2c: E2 [15:41:55]MH_I2C_Read... [15:41:55]Read from MH i2c: E2 17 00 [15:41:55]MH_I2C_Read... [15:41:55]Read from MH i2c: E2 17 00 5F 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 2F [15:41:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [15:41:55]wFMCommunicate OK [15:41:55]CreateOFDProtocolMessage done [15:41:55]OFDSenderStorePacket 52637 [15:41:55]StoreOFDPacket docnum=52637 [15:41:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 23 01 00 00 91 1C 1B 01 5B F9 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 C2 DB B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9D CD 00 00 35 04 06 00 BB 0F 8E 61 81 4E 9F CA 98 45 32 4B EF 53 [15:41:55]CheckFolder [15:41:55]dirname=/storage/ofd_packets [15:41:55]CheckFolder done [15:41:55]ProducePacketName [15:41:55]name=ofd_packets/00052637 [15:41:55]NVStorageSaveData ofd_packets/00052637 [15:41:55]File name is /storage/ofd_packets/00052637 [15:41:55]Write 321 bytes [15:41:55]NVStorageSaveData done [15:41:55]OFDSenderStorePacket done [15:41:55]KKMCreateOFDPacket done [15:41:55]NVStorageSaveData kkm_last_timestamp [15:41:55]File name is /storage/kkm_last_timestamp [15:41:55]Write 4 bytes [15:41:55]NVStorageSaveData done [15:41:55]ExternCall_PrintAddStr [15:41:55]wPrintStart [15:41:55]Write to MH i2c: 01 00 00 60 03 63 [15:41:55]Write i2c OK [15:41:55]MH_I2C_Read... [15:41:55]Read from MH i2c: 01 [15:41:55]MH_I2C_Read... [15:41:55]Read from MH i2c: 01 07 00 [15:41:55]MH_I2C_Read... [15:41:55]Read from MH i2c: 01 07 00 60 03 00 00 00 00 00 FF 0F 78 [15:41:55]RasterBufferAndPrint [15:41:55]line Счет N : (3)122768 [15:41:55]line ИНН: 02508201610067 [15:41:55]line Контрольно-Кассовый Чек [15:41:55]line ПРОДАЖА [15:41:55]line Товар: 4700000160204 [15:41:55]line Вода Легенда 1,5л [15:41:55]line 1.000 * 60.00 [15:41:55]line = 60.00 [15:41:55]line НДС 12% НСП 1% [15:41:55]line > о реализуемом товаре [15:41:55]line ИТОГО: 60.00 [15:41:55]line НСП 1% : 0.53 [15:41:55]line НДС 12% : 6.37 [15:41:55]line Наличными: 0.00 [15:41:55]line Безнал.: 60.00 [15:41:55]line Место: АЗС № 54 "Партнер Нефть" [15:41:55]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [15:41:55]line СНО: Общий режим [15:41:55]line Чек 48 11.08.2024 15:41 [15:41:55]line Смена: 446 ФФД: 1.0 [15:41:55]line ЗНМ: 0300000007 [15:41:55]line РНМ: 0000000000090834 [15:41:55]line Версия ККМ: 001 [15:41:55]line Платежная система: О! деньги [15:41:55]line ФМ: 0000000000874715 [15:41:55]line ФД: 52637 [15:41:55]line ФПД: 205675487658318 [15:41:55]line /tax-web-control/client/api/v1/ticket?date=20240811T154154&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52637&fm=205675487658318&tin=02508201610067®Number=0000000000090834&sum=6000 [15:41:55]line 0 [15:41:55]OFD Sender: Processing packet 52637 [packets to send 55, broken 54] [15:41:55]ProducePacketName [15:41:55]name=ofd_packets/00052637 [15:41:55]OFD Sender: To server: pG, [15:41:55]CommunicateWithHost lk.salyk.kg:30040 [15:41:55]ConnectInit lk.salyk.kg [15:41:55]written 0, free lines is 4095 [15:41:56]Connected sock=10 [15:41:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 23 01 00 00 91 1C 1B 01 5B F9 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 C2 DB B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9D CD 00 00 35 04 06 00 BB 0F 8E 61 81 4E 9F CA 98 45 32 4B EF 53 [15:41:56]Write to MH i2c: 01 00 00 89 03 8C [15:41:56]Write i2c OK [15:41:56]MH_I2C_Read... [15:41:56]Read from MH i2c: 01 [15:41:56]MH_I2C_Read... [15:41:56]Read from MH i2c: 01 07 00 [15:41:56]MH_I2C_Read... [15:41:56]Read from MH i2c: 01 07 00 89 03 00 00 00 00 00 C7 0C 66 [15:41:56]RasterBufferAndPrint [15:41:56]line [15:41:56]line [15:41:56]line [15:41:56]line [15:41:56]line [15:41:56]written 0, free lines is 3276 [15:41:56]MH_Cut [15:41:56]Write to MH i2c: D1 01 00 90 03 01 65 [15:41:56]Write i2c OK [15:41:56]MH_I2C_Read... [15:41:56]Read from MH i2c: D1 [15:41:56]MH_I2C_Read... [15:41:56]Read from MH i2c: D1 01 00 [15:41:56]MH_I2C_Read... [15:41:56]Read from MH i2c: D1 01 00 90 03 00 64 [15:41:56]Write to MH i2c: 01 00 00 91 03 94 [15:41:56]Write i2c OK [15:41:56]MH_I2C_Read... [15:41:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 CB 30 47 00 9A 4F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9D CD 00 00 F4 03 04 00 5D 83 B8 66 B6 04 01 00 00 9D 6B A8 04 29 71 6D 77 [15:41:56]CommunicateWithHost err = 0 [15:41:56]CheckOFDResponse [15:41:56]1017 (14) - 77093643461234 [15:41:56]1041 (16) - 0000000000874715 [15:41:56]1040 (4) - 52637 [15:41:56]1012 (4) - 11.08.2024 09:24 [15:41:56]1206 (1) - 0 [15:41:56]OFD Sender: Remove packet 52637 [15:41:56]ProducePacketName [15:41:56]name=ofd_packets/00052637 [15:41:56]NVStorageDeleteData [15:41:56]OFD Sender: No OFD packet to send [15:41:57]*** Cut start [15:41:57]*** Purtial cut [15:41:57]*** Stage 1: CUTSNS_PIN = 1 [15:41:57]Read from MH i2c: 01 [15:41:57]MH_I2C_Read... [15:41:57]*** Stop cut motor [15:41:57]*** Cut end [15:41:57]Read from MH i2c: 01 07 00 [15:41:57]MH_I2C_Read... [15:41:57]Read from MH i2c: 01 07 00 91 03 00 00 00 00 00 FF 0F A9 [15:41:57]process_action close_receipt done [15:41:57]requested_data is exist [15:41:57]produce_requested_data [15:41:57]requested_item fm.sn is exist - process it [15:41:57]wFMCommunicate request_size=4 [15:41:57]MH_SAM_APDU [15:41:57]CAPDU: 80 11 00 00 [15:41:57]Write to MH i2c: E2 08 00 92 03 80 11 00 00 00 00 00 00 0F [15:41:57]Write i2c OK [15:41:57]MH_I2C_Read... [15:41:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:41:57]Read from MH i2c: E2 [15:41:57]MH_I2C_Read... [15:41:57]Read from MH i2c: E2 17 00 [15:41:57]MH_I2C_Read... [15:41:57]Read from MH i2c: E2 17 00 92 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 62 [15:41:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [15:41:57]wFMCommunicate OK [15:41:57]requested_item fd.num is exist - process it [15:41:57]SAM_PROTO_GetFieldsCounters [15:41:57]wFMCommunicate request_size=4 [15:41:57]MH_SAM_APDU [15:41:57]CAPDU: 80 13 00 00 [15:41:57]Write to MH i2c: E2 08 00 93 03 80 13 00 00 00 00 00 00 12 [15:41:57]Write i2c OK [15:41:57]MH_I2C_Read... [15:41:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:41:57]Read from MH i2c: E2 [15:41:57]MH_I2C_Read... [15:41:57]Read from MH i2c: E2 62 00 [15:41:57]MH_I2C_Read... [15:41:57]Read from MH i2c: E2 62 00 93 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 9D CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 EB [15:41:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 9D CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:41:57]wFMCommunicate OK [15:41:57]SAM_PROTO_GetFieldsCounters done [15:41:57]requested_item shift.num is exist - process it [15:41:57]requested_item shift.opened is exist - process it [15:41:57]req_shift_opened [15:41:57]FM_GetShiftState [15:41:57]SAM_PROTO_GetShiftState [15:41:57]wFMCommunicate request_size=4 [15:41:57]MH_SAM_APDU [15:41:57]CAPDU: 80 13 01 00 [15:41:57]Write to MH i2c: E2 08 00 94 03 80 13 01 00 00 00 00 00 14 [15:41:57]Write i2c OK [15:41:57]MH_I2C_Read... [15:41:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:41:57]Read from MH i2c: E2 [15:41:57]MH_I2C_Read... [15:41:57]Read from MH i2c: E2 0E 00 [15:41:57]MH_I2C_Read... [15:41:57]Read from MH i2c: E2 0E 00 94 03 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 3D [15:41:57]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [15:41:57]wFMCommunicate OK [15:41:57]SAM_PROTO_GetShiftState done [15:41:57]FM_GetShiftState done [15:41:57]req_shift_opened done [15:41:57]requested_item shift.open_date is exist - process it [15:41:57]req_shift_open_date [15:41:57]req_shift_open_date done [15:41:57]produce_requested_data done [15:41:57]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52637,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [15:41:57]process_action_free close_receipt [15:41:57]json_value_free [15:41:57]json_value_free done [15:41:57]process_json_proto returns [15:41:57]Send response to host [15:41:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52637,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [15:41:57]free response buf [15:41:57]execute_script done [15:41:57]execute_script returns [15:41:57]free content buf [15:41:57]Sock 7.Close socket [15:41:57]Sock 7.Thread stoped [15:42:01]OFD Sender: No OFD packet to send [15:42:06]OFD Sender: No OFD packet to send [15:42:11]OFD Sender: No OFD packet to send [15:42:16]OFD Sender: No OFD packet to send [15:42:21]OFD Sender: No OFD packet to send [15:42:26]OFD Sender: No OFD packet to send [15:42:31]OFD Sender: No OFD packet to send [15:42:36]OFD Sender: No OFD packet to send [15:42:41]OFD Sender: No OFD packet to send [15:42:46]OFD Sender: No OFD packet to send [15:42:51]OFD Sender: No OFD packet to send [15:42:56]OFD Sender: No OFD packet to send [15:43:01]OFD Sender: No OFD packet to send [15:43:06]OFD Sender: No OFD packet to send [15:43:11]OFD Sender: No OFD packet to send [15:43:16]OFD Sender: No OFD packet to send [15:43:21]OFD Sender: No OFD packet to send [15:43:26]OFD Sender: No OFD packet to send [15:43:31]OFD Sender: No OFD packet to send [15:43:36]OFD Sender: No OFD packet to send [15:43:41]OFD Sender: No OFD packet to send [15:43:46]OFD Sender: No OFD packet to send [15:43:51]OFD Sender: No OFD packet to send [15:43:56]OFD Sender: No OFD packet to send [15:44:01]OFD Sender: No OFD packet to send [15:44:07]OFD Sender: No OFD packet to send [15:44:12]OFD Sender: No OFD packet to send [15:44:17]OFD Sender: No OFD packet to send [15:44:22]OFD Sender: No OFD packet to send [15:44:27]OFD Sender: No OFD packet to send [15:44:32]OFD Sender: No OFD packet to send [15:44:37]OFD Sender: No OFD packet to send [15:44:42]OFD Sender: No OFD packet to send [15:44:47]OFD Sender: No OFD packet to send [15:44:52]OFD Sender: No OFD packet to send [15:44:57]OFD Sender: No OFD packet to send [15:45:02]OFD Sender: No OFD packet to send [15:45:07]OFD Sender: No OFD packet to send [15:45:12]OFD Sender: No OFD packet to send [15:45:17]OFD Sender: No OFD packet to send [15:45:22]OFD Sender: No OFD packet to send [15:45:22]accept exits with 9 [15:45:22]New connection [15:45:22]New thread 3067149668 created [15:45:22]Thread 3067293028 joined [15:45:22]Waiting for new connection... [15:45:22] Sock 9.Parse request [15:45:22]Sock 9.Check first char [15:45:22]Sock 9.First char is OK [15:45:22]request: POST /json_proto HTTP/1.0 [15:45:22]Method: POST [15:45:22]URL: /json_proto [15:45:22]Method is POST - this is cgi request [15:45:22]url: /json_proto [15:45:22]query_string will be loaded in cgi processing [15:45:22]execute_cgi json_proto POST (null) [15:45:22]execute_cgi path=json_proto method=POST [15:45:22]POST find Content-Length [15:45:22]Host: 172.17.60.7:8080 [15:45:22]Content-Length: 1374 [15:45:22]Content-Type: application/json [15:45:22] [15:45:22]POST finish read [15:45:22]Found Content-Length = 1374 [15:45:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122769", "tax_sys" : 0, "items" : [ { "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:45:22]execute_script... [15:45: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)122769", "tax_sys" : 0, "items" : [ { "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:45:22]POST & json_proto [15:45:22]process_json_proto [15:45:22]json parsed OK: [15:45:22]protocol is kg_v1.0 [15:45:22]action value=close_receipt [15:45:22]process_action close_receipt [15:45:22]cmd_close_receipt [15:45:22]MH_GetDate [15:45:22]Write to MH i2c: F0 00 00 95 03 87 [15:45:22]Write i2c OK [15:45:22]MH_I2C_Read... [15:45:22]Read from MH i2c: F0 [15:45:22]MH_I2C_Read... [15:45:22]Read from MH i2c: F0 09 00 [15:45:22]MH_I2C_Read... [15:45:22]Read from MH i2c: F0 09 00 95 03 00 93 DC B8 66 63 9B 67 64 E6 [15:45:22]GetLastDocTimeStamp 1723390914 [15:45:22]current date 1723391123 [15:45:22]FM_GetShiftState [15:45:22]SAM_PROTO_GetShiftState [15:45:22]wFMCommunicate request_size=4 [15:45:22]MH_SAM_APDU [15:45:22]CAPDU: 80 13 01 00 [15:45:22]Write to MH i2c: E2 08 00 96 03 80 13 01 00 00 00 00 00 16 [15:45:22]Write i2c OK [15:45:22]MH_I2C_Read... [15:45:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:45:22]Read from MH i2c: E2 [15:45:22]MH_I2C_Read... [15:45:22]Read from MH i2c: E2 0E 00 [15:45:22]MH_I2C_Read... [15:45:22]Read from MH i2c: E2 0E 00 96 03 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 3F [15:45:22]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [15:45:22]wFMCommunicate OK [15:45:22]SAM_PROTO_GetShiftState done [15:45:22]FM_GetShiftState done [15:45:22]opened in 1723336186 [15:45:22]opened+sec_in_day 1723422586 [15:45:22]quantity*price = 10000 [15:45:22]sum+1 = 10001 [15:45:22]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 40822938 Напиток Фанта 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 54491472 Напиток Кока-Кола 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 250.00 НСП 1% : 2.20 НДС 12% : 26.54 Наличными: 0.00 Безнал.: 250.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 49 11.08.2024 15:45 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52638 ФПД: 150131849327995 /tax-web-control/client/api/v1/ticket?date=20240811T154523&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52638&fm=150131849327995&tin=02508201610067®Number=0000000000090834&sum=25000 0 [15:45:23]StoreToDocumentArchive [15:45:23]shift 446 fd 52638 [15:45:23]save to /storage/0446/doc_00052638 [15:45:23]save last doc name /storage/0446/doc_00052638 to /storage/kkm_last_doc_name [15:45:23]save OK [15:45:23]Clear old archive folders... [15:45:23]ProcessDocumentItem done err = 0, tmpTLVsize=496 [15:45:23]tlvbuf is B6F2D5A0 [15:45:23]SAM_PROTO_ClearQueue [15:45:23]wFMCommunicate request_size=4 [15:45:23]MH_SAM_APDU [15:45:23]CAPDU: 80 09 00 00 [15:45:23]Write to MH i2c: E2 08 00 A3 03 80 09 00 00 00 00 00 00 18 [15:45:23]Write i2c OK [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: E2 [15:45:23]MH_I2C_Read... [15:45:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:45:23]Read from MH i2c: E2 03 00 [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: E2 03 00 A3 03 00 90 00 1A [15:45:23]RAPDU: 90 00 [15:45:23]wFMCommunicate OK [15:45:23]SAM_PROTO_ClearQueue done [15:45:23]KKMCreateOFDPacket [15:45:23]OFDProtocolAddRootSTLVToBuf [15:45:23]FM_MakeSignedData [15:45:23]FM_MakeSignedData [15:45:23]SAM_PROTO_SignData [15:45:23]wFMCommunicate request_size=4 [15:45:23]MH_SAM_APDU [15:45:23]CAPDU: 80 0D 01 02 [15:45:23]Write to MH i2c: E2 08 00 A4 03 80 0D 01 02 00 00 00 00 20 [15:45:23]Write i2c OK [15:45:23]MH_I2C_Read... [15:45:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:45:23]Read from MH i2c: E2 [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: E2 03 00 [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: E2 03 00 A4 03 00 90 00 1B [15:45:23]RAPDU: 90 00 [15:45:23]wFMCommunicate OK [15:45:23]wFMCommunicate request_size=255 [15:45:23]MH_SAM_APDU [15:45:23]CAPDU: 80 0D 02 02 FA 03 00 F0 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 [15:45:23]Write to MH i2c: E2 02 01 A5 03 80 0D 02 02 FA 00 03 00 F0 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 00 00 B0 [15:45:23]Write i2c OK [15:45:23]MH_I2C_Read... [15:45:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:45:23]Read from MH i2c: E2 [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: E2 03 00 [15:45:23]MH_I2C_Read... [15:45:23]Read from MH i2c: E2 03 00 A5 03 00 90 00 1C [15:45:23]RAPDU: 90 00 [15:45:23]wFMCommunicate OK [15:45:23]wFMCommunicate request_size=255 [15:45:23]MH_SAM_APDU [15:45:23]CAPDU: 80 0D 02 02 FA D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5E 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 93 DC B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9E CD 00 00 35 04 06 00 88 8B 4B 8C 75 7B [15:45:23]Write to MH i2c: E2 02 01 A6 03 80 0D 02 02 FA 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5E 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 93 DC B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9E CD 00 00 35 04 06 00 88 8B 4B 8C 75 7B 00 00 4A [15:45:23]Write i2c OK [15:45:23]MH_I2C_Read... [15:45:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:45:24]Read from MH i2c: E2 [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: E2 03 00 [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: E2 03 00 A6 03 00 90 00 1D [15:45:24]RAPDU: 90 00 [15:45:24]wFMCommunicate OK [15:45:24]wFMCommunicate request_size=4 [15:45:24]MH_SAM_APDU [15:45:24]CAPDU: 80 0D 03 02 [15:45:24]Write to MH i2c: E2 08 00 A7 03 80 0D 03 02 00 00 00 00 25 [15:45:24]Write i2c OK [15:45:24]MH_I2C_Read... [15:45:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:45:24]Read from MH i2c: E2 [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: E2 0B 00 [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: E2 0B 00 A7 03 00 84 98 7F 28 C1 D4 CF D4 90 00 21 [15:45:24]RAPDU: 84 98 7F 28 C1 D4 CF D4 90 00 [15:45:24]wFMCommunicate OK [15:45:24]SAM_PROTO_SignData done [15:45:24]FM_MakeSignedData done [15:45:24]CreateOFDProtocolMessage [15:45:24]wFMCommunicate request_size=4 [15:45:24]MH_SAM_APDU [15:45:24]CAPDU: 80 11 00 00 [15:45:24]Write to MH i2c: E2 08 00 A8 03 80 11 00 00 00 00 00 00 25 [15:45:24]Write i2c OK [15:45:24]MH_I2C_Read... [15:45:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:45:24]Read from MH i2c: E2 [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: E2 17 00 [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: E2 17 00 A8 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 78 [15:45:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [15:45:24]wFMCommunicate OK [15:45:24]CreateOFDProtocolMessage done [15:45:24]OFDSenderStorePacket 52638 [15:45:24]StoreOFDPacket docnum=52638 [15:45:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 04 02 00 00 D9 3E FC 01 1A A2 5A 03 01 00 03 00 F0 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5E 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 93 DC B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9E CD 00 00 35 04 06 00 88 8B 4B 8C 75 7B 84 98 7F 28 C1 D4 CF D4 [15:45:24]CheckFolder [15:45:24]dirname=/storage/ofd_packets [15:45:24]CheckFolder done [15:45:24]ProducePacketName [15:45:24]name=ofd_packets/00052638 [15:45:24]NVStorageSaveData ofd_packets/00052638 [15:45:24]File name is /storage/ofd_packets/00052638 [15:45:24]Write 546 bytes [15:45:24]NVStorageSaveData done [15:45:24]OFDSenderStorePacket done [15:45:24]KKMCreateOFDPacket done [15:45:24]NVStorageSaveData kkm_last_timestamp [15:45:24]File name is /storage/kkm_last_timestamp [15:45:24]Write 4 bytes [15:45:24]NVStorageSaveData done [15:45:24]ExternCall_PrintAddStr [15:45:24]wPrintStart [15:45:24]Write to MH i2c: 01 00 00 A9 03 AC [15:45:24]Write i2c OK [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: 01 [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: 01 07 00 [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: 01 07 00 A9 03 00 00 00 00 00 FF 0F C1 [15:45:24]RasterBufferAndPrint [15:45:24]line Счет N : (3)122769 [15:45:24]line ИНН: 02508201610067 [15:45:24]line Контрольно-Кассовый Чек [15:45:24]line ПРОДАЖА [15:45:24]line Товар: 4870002326172 [15:45:24]line Вода ASU пит н.газ лимон ПЭТ 1л [15:45:24]line 1.000 * 100.00 [15:45:24]line = 100.00 [15:45:24]line НДС 12% НСП 1% [15:45:24]line > о реализуемом товаре [15:45:24]line Товар: 40822938 [15:45:24]line Напиток Фанта 0,5л [15:45:24]line 1.000 * 75.00 [15:45:24]line = 75.00 [15:45:24]line НДС 12% НСП 1% [15:45:24]line > о реализуемом товаре [15:45:24]line Товар: 54491472 [15:45:24]line Напиток Кока-Кола 0,5л [15:45:24]line 1.000 * 75.00 [15:45:24]line = 75.00 [15:45:24]line НДС 12% НСП 1% [15:45:24]line > о реализуемом товаре [15:45:24]line ИТОГО: 250.00 [15:45:24]line НСП 1% : 2.20 [15:45:24]line НДС 12% : 26.54 [15:45:24]line Наличными: 0.00 [15:45:24]line Безнал.: 250.00 [15:45:24]line Место: АЗС № 54 "Партнер Нефть" [15:45:24]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [15:45:24]line СНО: Общий режим [15:45:24]line Чек 49 11.08.2024 15:45 [15:45:24]line Смена: 446 ФФД: 1.0 [15:45:24]line ЗНМ: 0300000007 [15:45:24]line РНМ: 0000000000090834 [15:45:24]line Версия ККМ: 001 [15:45:24]line Платежная система: О! деньги [15:45:24]line ФМ: 0000000000874715 [15:45:24]line ФД: 52638 [15:45:24]line ФПД: 150131849327995 [15:45:24]line /tax-web-control/client/api/v1/ticket?date=20240811T154523&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52638&fm=150131849327995&tin=02508201610067®Number=0000000000090834&sum=25000 [15:45:24]line 0 [15:45:24]written 0, free lines is 4095 [15:45:24]OFD Sender: Processing packet 52638 [packets to send 55, broken 54] [15:45:24]ProducePacketName [15:45:24]name=ofd_packets/00052638 [15:45:24]OFD Sender: To server: pG, [15:45:24]CommunicateWithHost lk.salyk.kg:30040 [15:45:24]ConnectInit lk.salyk.kg [15:45:24]Connected sock=10 [15:45:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 04 02 00 00 D9 3E FC 01 1A A2 5A 03 01 00 03 00 F0 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5E 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A8 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 93 DC B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9E CD 00 00 35 04 06 00 88 8B 4B 8C 75 7B 84 98 7F 28 C1 D4 CF D4 [15:45:24]Write to MH i2c: 01 00 00 DF 03 E2 [15:45:24]Write i2c OK [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: 01 [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: 01 07 00 [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: 01 07 00 DF 03 00 00 00 00 00 F0 0B E4 [15:45:24]RasterBufferAndPrint [15:45:24]line [15:45:24]line [15:45:24]line [15:45:24]line [15:45:24]line [15:45:24]written 0, free lines is 3063 [15:45:24]MH_Cut [15:45:24]Write to MH i2c: D1 01 00 E6 03 01 BB [15:45:24]Write i2c OK [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: D1 [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: D1 01 00 [15:45:24]MH_I2C_Read... [15:45:24]Read from MH i2c: D1 01 00 E6 03 00 BA [15:45:24]Write to MH i2c: 01 00 00 E7 03 EA [15:45:24]Write i2c OK [15:45:24]MH_I2C_Read... [15:45:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 20 A0 47 00 F6 8E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9E CD 00 00 F4 03 04 00 2E 84 B8 66 B6 04 01 00 00 7A 97 49 FB AC 99 6F 9D [15:45:25]CommunicateWithHost err = 0 [15:45:25]CheckOFDResponse [15:45:25]1017 (14) - 77093643461234 [15:45:25]1041 (16) - 0000000000874715 [15:45:25]1040 (4) - 52638 [15:45:25]1012 (4) - 11.08.2024 09:28 [15:45:25]1206 (1) - 0 [15:45:25]OFD Sender: Remove packet 52638 [15:45:25]ProducePacketName [15:45:25]name=ofd_packets/00052638 [15:45:25]NVStorageDeleteData [15:45:25]OFD Sender: No OFD packet to send [15:45:25]*** Cut start [15:45:25]*** Purtial cut [15:45:25]*** Stage 1: CUTSNS_PIN = 1 [15:45:26]Read from MH i2c: 01 [15:45:26]MH_I2C_Read... [15:45:26]*** Stop cut motor [15:45:26]*** Cut end [15:45:26]Read from MH i2c: 01 07 00 [15:45:26]MH_I2C_Read... [15:45:26]Read from MH i2c: 01 07 00 E7 03 00 00 00 00 00 FF 0F FF [15:45:26]process_action close_receipt done [15:45:26]requested_data is exist [15:45:26]produce_requested_data [15:45:26]requested_item fm.sn is exist - process it [15:45:26]wFMCommunicate request_size=4 [15:45:26]MH_SAM_APDU [15:45:26]CAPDU: 80 11 00 00 [15:45:26]Write to MH i2c: E2 08 00 E8 03 80 11 00 00 00 00 00 00 65 [15:45:26]Write i2c OK [15:45:26]MH_I2C_Read... [15:45:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:45:26]Read from MH i2c: E2 [15:45:26]MH_I2C_Read... [15:45:26]Read from MH i2c: E2 17 00 [15:45:26]MH_I2C_Read... [15:45:26]Read from MH i2c: E2 17 00 E8 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 B8 [15:45:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [15:45:26]wFMCommunicate OK [15:45:26]requested_item fd.num is exist - process it [15:45:26]SAM_PROTO_GetFieldsCounters [15:45:26]wFMCommunicate request_size=4 [15:45:26]MH_SAM_APDU [15:45:26]CAPDU: 80 13 00 00 [15:45:26]Write to MH i2c: E2 08 00 E9 03 80 13 00 00 00 00 00 00 68 [15:45:26]Write i2c OK [15:45:26]MH_I2C_Read... [15:45:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:45:26]Read from MH i2c: E2 [15:45:26]MH_I2C_Read... [15:45:26]Read from MH i2c: E2 62 00 [15:45:26]MH_I2C_Read... [15:45:26]Read from MH i2c: E2 62 00 E9 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 9E CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 45 [15:45:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 9E CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:45:26]wFMCommunicate OK [15:45:26]SAM_PROTO_GetFieldsCounters done [15:45:26]requested_item shift.num is exist - process it [15:45:26]requested_item shift.opened is exist - process it [15:45:26]req_shift_opened [15:45:26]FM_GetShiftState [15:45:26]SAM_PROTO_GetShiftState [15:45:26]wFMCommunicate request_size=4 [15:45:26]MH_SAM_APDU [15:45:26]CAPDU: 80 13 01 00 [15:45:26]Write to MH i2c: E2 08 00 EA 03 80 13 01 00 00 00 00 00 6A [15:45:26]Write i2c OK [15:45:26]MH_I2C_Read... [15:45:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:45:26]Read from MH i2c: E2 [15:45:26]MH_I2C_Read... [15:45:26]Read from MH i2c: E2 0E 00 [15:45:26]MH_I2C_Read... [15:45:26]Read from MH i2c: E2 0E 00 EA 03 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 93 [15:45:26]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [15:45:26]wFMCommunicate OK [15:45:26]SAM_PROTO_GetShiftState done [15:45:26]FM_GetShiftState done [15:45:26]req_shift_opened done [15:45:26]requested_item shift.open_date is exist - process it [15:45:26]req_shift_open_date [15:45:26]req_shift_open_date done [15:45:26]produce_requested_data done [15:45:26]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52638,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [15:45:26]process_action_free close_receipt [15:45:26]json_value_free [15:45:26]json_value_free done [15:45:26]process_json_proto returns [15:45:26]Send response to host [15:45:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52638,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [15:45:26]free response buf [15:45:26]execute_script done [15:45:26]execute_script returns [15:45:26]free content buf [15:45:26]Sock 9.Close socket [15:45:26]Sock 9.Thread stoped [15:45:30]OFD Sender: No OFD packet to send [15:45:35]OFD Sender: No OFD packet to send [15:45:40]OFD Sender: No OFD packet to send [15:45:45]OFD Sender: No OFD packet to send [15:45:50]OFD Sender: No OFD packet to send [15:45:55]OFD Sender: No OFD packet to send [15:46:00]OFD Sender: No OFD packet to send [15:46:05]OFD Sender: No OFD packet to send [15:46:10]OFD Sender: No OFD packet to send [15:46:15]OFD Sender: No OFD packet to send [15:46:20]OFD Sender: No OFD packet to send [15:46:25]OFD Sender: No OFD packet to send [15:46:30]OFD Sender: No OFD packet to send [15:46:35]OFD Sender: No OFD packet to send [15:46:40]OFD Sender: No OFD packet to send [15:46:45]OFD Sender: No OFD packet to send [15:46:50]OFD Sender: No OFD packet to send [15:46:55]OFD Sender: No OFD packet to send [15:47:00]OFD Sender: No OFD packet to send [15:47:05]OFD Sender: No OFD packet to send [15:47:10]OFD Sender: No OFD packet to send [15:47:15]OFD Sender: No OFD packet to send [15:47:20]OFD Sender: No OFD packet to send [15:47:25]OFD Sender: No OFD packet to send [15:47:30]OFD Sender: No OFD packet to send [15:47:35]OFD Sender: No OFD packet to send [15:47:40]OFD Sender: No OFD packet to send [15:47:45]OFD Sender: No OFD packet to send [15:47:50]OFD Sender: No OFD packet to send [15:47:55]OFD Sender: No OFD packet to send [15:48:00]OFD Sender: No OFD packet to send [15:48:05]OFD Sender: No OFD packet to send [15:48:10]OFD Sender: No OFD packet to send [15:48:15]OFD Sender: No OFD packet to send [15:48:20]OFD Sender: No OFD packet to send [15:48:25]OFD Sender: No OFD packet to send [15:48:30]OFD Sender: No OFD packet to send [15:48:35]OFD Sender: No OFD packet to send [15:48:40]OFD Sender: No OFD packet to send [15:48:45]OFD Sender: No OFD packet to send [15:48:50]OFD Sender: No OFD packet to send [15:48:55]OFD Sender: No OFD packet to send [15:49:00]OFD Sender: No OFD packet to send [15:49:05]OFD Sender: No OFD packet to send [15:49:10]OFD Sender: No OFD packet to send [15:49:15]OFD Sender: No OFD packet to send [15:49:20]OFD Sender: No OFD packet to send [15:49:25]OFD Sender: No OFD packet to send [15:49:30]OFD Sender: No OFD packet to send [15:49:35]OFD Sender: No OFD packet to send [15:49:40]OFD Sender: No OFD packet to send [15:49:45]OFD Sender: No OFD packet to send [15:49:50]OFD Sender: No OFD packet to send [15:49:55]OFD Sender: No OFD packet to send [15:50:01]OFD Sender: No OFD packet to send [15:50:06]OFD Sender: No OFD packet to send [15:50:11]OFD Sender: No OFD packet to send [15:50:16]OFD Sender: No OFD packet to send [15:50:21]OFD Sender: No OFD packet to send [15:50:26]OFD Sender: No OFD packet to send [15:50:31]OFD Sender: No OFD packet to send [15:50:36]OFD Sender: No OFD packet to send [15:50:41]OFD Sender: No OFD packet to send [15:50:46]OFD Sender: No OFD packet to send [15:50:51]OFD Sender: No OFD packet to send [15:50:56]OFD Sender: No OFD packet to send [15:51:01]OFD Sender: No OFD packet to send [15:51:06]OFD Sender: No OFD packet to send [15:51:11]OFD Sender: No OFD packet to send [15:51:16]OFD Sender: No OFD packet to send [15:51:21]OFD Sender: No OFD packet to send [15:51:26]OFD Sender: No OFD packet to send [15:51:31]OFD Sender: No OFD packet to send [15:51:36]OFD Sender: No OFD packet to send [15:51:41]OFD Sender: No OFD packet to send [15:51:46]OFD Sender: No OFD packet to send [15:51:51]OFD Sender: No OFD packet to send [15:51:56]OFD Sender: No OFD packet to send [15:52:01]OFD Sender: No OFD packet to send [15:52:06]OFD Sender: No OFD packet to send [15:52:11]OFD Sender: No OFD packet to send [15:52:16]OFD Sender: No OFD packet to send [15:52:21]OFD Sender: No OFD packet to send [15:52:26]OFD Sender: No OFD packet to send [15:52:31]OFD Sender: No OFD packet to send [15:52:36]OFD Sender: No OFD packet to send [15:52:41]OFD Sender: No OFD packet to send [15:52:46]OFD Sender: No OFD packet to send [15:52:51]OFD Sender: No OFD packet to send [15:52:56]OFD Sender: No OFD packet to send [15:53:01]OFD Sender: No OFD packet to send [15:53:06]OFD Sender: No OFD packet to send [15:53:11]OFD Sender: No OFD packet to send [15:53:16]OFD Sender: No OFD packet to send [15:53:21]OFD Sender: No OFD packet to send [15:53:26]OFD Sender: No OFD packet to send [15:53:31]OFD Sender: No OFD packet to send [15:53:36]OFD Sender: No OFD packet to send [15:53:41]OFD Sender: No OFD packet to send [15:53:46]OFD Sender: No OFD packet to send [15:53:51]OFD Sender: No OFD packet to send [15:53:56]OFD Sender: No OFD packet to send [15:54:01]OFD Sender: No OFD packet to send [15:54:06]OFD Sender: No OFD packet to send [15:54:11]OFD Sender: No OFD packet to send [15:54:16]OFD Sender: No OFD packet to send [15:54:21]OFD Sender: No OFD packet to send [15:54:26]OFD Sender: No OFD packet to send [15:54:31]OFD Sender: No OFD packet to send [15:54:36]OFD Sender: No OFD packet to send [15:54:41]OFD Sender: No OFD packet to send [15:54:46]OFD Sender: No OFD packet to send [15:54:51]OFD Sender: No OFD packet to send [15:54:56]OFD Sender: No OFD packet to send [15:55:01]OFD Sender: No OFD packet to send [15:55:06]OFD Sender: No OFD packet to send [15:55:11]OFD Sender: No OFD packet to send [15:55:16]OFD Sender: No OFD packet to send [15:55:21]OFD Sender: No OFD packet to send [15:55:26]OFD Sender: No OFD packet to send [15:55:31]OFD Sender: No OFD packet to send [15:55:36]OFD Sender: No OFD packet to send [15:55:41]OFD Sender: No OFD packet to send [15:55:46]OFD Sender: No OFD packet to send [15:55:51]OFD Sender: No OFD packet to send [15:55:56]OFD Sender: No OFD packet to send [15:56:01]OFD Sender: No OFD packet to send [15:56:06]OFD Sender: No OFD packet to send [15:56:11]OFD Sender: No OFD packet to send [15:56:16]OFD Sender: No OFD packet to send [15:56:21]OFD Sender: No OFD packet to send [15:56:26]OFD Sender: No OFD packet to send [15:56:31]OFD Sender: No OFD packet to send [15:56:36]OFD Sender: No OFD packet to send [15:56:41]OFD Sender: No OFD packet to send [15:56:46]OFD Sender: No OFD packet to send [15:56:51]OFD Sender: No OFD packet to send [15:56:56]OFD Sender: No OFD packet to send [15:57:01]OFD Sender: No OFD packet to send [15:57:06]OFD Sender: No OFD packet to send [15:57:11]OFD Sender: No OFD packet to send [15:57:16]OFD Sender: No OFD packet to send [15:57:21]OFD Sender: No OFD packet to send [15:57:26]OFD Sender: No OFD packet to send [15:57:31]OFD Sender: No OFD packet to send [15:57:36]OFD Sender: No OFD packet to send [15:57:41]OFD Sender: No OFD packet to send [15:57:46]OFD Sender: No OFD packet to send [15:57:51]OFD Sender: No OFD packet to send [15:57:56]OFD Sender: No OFD packet to send [15:58:01]OFD Sender: No OFD packet to send [15:58:06]OFD Sender: No OFD packet to send [15:58:11]OFD Sender: No OFD packet to send [15:58:16]OFD Sender: No OFD packet to send [15:58:21]OFD Sender: No OFD packet to send [15:58:26]OFD Sender: No OFD packet to send [15:58:31]OFD Sender: No OFD packet to send [15:58:36]OFD Sender: No OFD packet to send [15:58:41]OFD Sender: No OFD packet to send [15:58:46]OFD Sender: No OFD packet to send [15:58:51]OFD Sender: No OFD packet to send [15:58:56]OFD Sender: No OFD packet to send [15:59:01]OFD Sender: No OFD packet to send [15:59:06]OFD Sender: No OFD packet to send [15:59:11]OFD Sender: No OFD packet to send [15:59:16]OFD Sender: No OFD packet to send [15:59:21]OFD Sender: No OFD packet to send [15:59:26]OFD Sender: No OFD packet to send [15:59:31]OFD Sender: No OFD packet to send [15:59:36]OFD Sender: No OFD packet to send [15:59:41]OFD Sender: No OFD packet to send [15:59:46]OFD Sender: No OFD packet to send [15:59:51]OFD Sender: No OFD packet to send [15:59:56]OFD Sender: No OFD packet to send [16:00:01]OFD Sender: No OFD packet to send [16:00:06]OFD Sender: No OFD packet to send [16:00:11]OFD Sender: No OFD packet to send [16:00:16]OFD Sender: No OFD packet to send [16:00:21]OFD Sender: No OFD packet to send [16:00:26]OFD Sender: No OFD packet to send [16:00:31]OFD Sender: No OFD packet to send [16:00:36]OFD Sender: No OFD packet to send [16:00:41]OFD Sender: No OFD packet to send [16:00:46]OFD Sender: No OFD packet to send [16:00:51]OFD Sender: No OFD packet to send [16:00:56]OFD Sender: No OFD packet to send [16:01:01]OFD Sender: No OFD packet to send [16:01:06]OFD Sender: No OFD packet to send [16:01:11]OFD Sender: No OFD packet to send [16:01:16]OFD Sender: No OFD packet to send [16:01:21]OFD Sender: No OFD packet to send [16:01:26]OFD Sender: No OFD packet to send [16:01:31]OFD Sender: No OFD packet to send [16:01:36]OFD Sender: No OFD packet to send [16:01:41]OFD Sender: No OFD packet to send [16:01:46]OFD Sender: No OFD packet to send [16:01:51]OFD Sender: No OFD packet to send [16:01:56]OFD Sender: No OFD packet to send [16:02:01]OFD Sender: No OFD packet to send [16:02:06]OFD Sender: No OFD packet to send [16:02:11]OFD Sender: No OFD packet to send [16:02:16]OFD Sender: No OFD packet to send [16:02:21]OFD Sender: No OFD packet to send [16:02:26]OFD Sender: No OFD packet to send [16:02:31]OFD Sender: No OFD packet to send [16:02:36]OFD Sender: No OFD packet to send [16:02:41]OFD Sender: No OFD packet to send [16:02:46]OFD Sender: No OFD packet to send [16:02:51]OFD Sender: No OFD packet to send [16:02:56]OFD Sender: No OFD packet to send [16:03:01]OFD Sender: No OFD packet to send [16:03:06]OFD Sender: No OFD packet to send [16:03:11]OFD Sender: No OFD packet to send [16:03:16]OFD Sender: No OFD packet to send [16:03:21]OFD Sender: No OFD packet to send [16:03:26]OFD Sender: No OFD packet to send [16:03:31]OFD Sender: No OFD packet to send [16:03:36]OFD Sender: No OFD packet to send [16:03:41]OFD Sender: No OFD packet to send [16:03:46]OFD Sender: No OFD packet to send [16:03:51]OFD Sender: No OFD packet to send [16:03:56]OFD Sender: No OFD packet to send [16:04:01]OFD Sender: No OFD packet to send [16:04:06]OFD Sender: No OFD packet to send [16:04:11]OFD Sender: No OFD packet to send [16:04:16]OFD Sender: No OFD packet to send [16:04:21]OFD Sender: No OFD packet to send [16:04:26]OFD Sender: No OFD packet to send [16:04:31]OFD Sender: No OFD packet to send [16:04:36]OFD Sender: No OFD packet to send [16:04:41]OFD Sender: No OFD packet to send [16:04:46]OFD Sender: No OFD packet to send [16:04:51]OFD Sender: No OFD packet to send [16:04:56]OFD Sender: No OFD packet to send [16:05:01]OFD Sender: No OFD packet to send [16:05:06]OFD Sender: No OFD packet to send [16:05:11]OFD Sender: No OFD packet to send [16:05:16]OFD Sender: No OFD packet to send [16:05:21]OFD Sender: No OFD packet to send [16:05:26]OFD Sender: No OFD packet to send [16:05:31]OFD Sender: No OFD packet to send [16:05:36]OFD Sender: No OFD packet to send [16:05:41]OFD Sender: No OFD packet to send [16:05:46]OFD Sender: No OFD packet to send [16:05:51]OFD Sender: No OFD packet to send [16:05:56]OFD Sender: No OFD packet to send [16:06:01]OFD Sender: No OFD packet to send [16:06:06]OFD Sender: No OFD packet to send [16:06:11]OFD Sender: No OFD packet to send [16:06:16]OFD Sender: No OFD packet to send [16:06:21]OFD Sender: No OFD packet to send [16:06:26]OFD Sender: No OFD packet to send [16:06:31]OFD Sender: No OFD packet to send [16:06:36]OFD Sender: No OFD packet to send [16:06:41]OFD Sender: No OFD packet to send [16:06:46]OFD Sender: No OFD packet to send [16:06:51]OFD Sender: No OFD packet to send [16:06:56]OFD Sender: No OFD packet to send [16:07:01]OFD Sender: No OFD packet to send [16:07:06]OFD Sender: No OFD packet to send [16:07:11]OFD Sender: No OFD packet to send [16:07:16]OFD Sender: No OFD packet to send [16:07:21]OFD Sender: No OFD packet to send [16:07:26]OFD Sender: No OFD packet to send [16:07:31]OFD Sender: No OFD packet to send [16:07:36]OFD Sender: No OFD packet to send [16:07:41]OFD Sender: No OFD packet to send [16:07:46]OFD Sender: No OFD packet to send [16:07:51]OFD Sender: No OFD packet to send [16:07:56]OFD Sender: No OFD packet to send [16:08:02]OFD Sender: No OFD packet to send [16:08:07]OFD Sender: No OFD packet to send [16:08:12]OFD Sender: No OFD packet to send [16:08:17]OFD Sender: No OFD packet to send [16:08:22]OFD Sender: No OFD packet to send [16:08:27]OFD Sender: No OFD packet to send [16:08:32]OFD Sender: No OFD packet to send [16:08:37]OFD Sender: No OFD packet to send [16:08:42]OFD Sender: No OFD packet to send [16:08:47]OFD Sender: No OFD packet to send [16:08:52]OFD Sender: No OFD packet to send [16:08:57]OFD Sender: No OFD packet to send [16:09:02]OFD Sender: No OFD packet to send [16:09:07]OFD Sender: No OFD packet to send [16:09:12]OFD Sender: No OFD packet to send [16:09:17]OFD Sender: No OFD packet to send [16:09:22]OFD Sender: No OFD packet to send [16:09:27]OFD Sender: No OFD packet to send [16:09:32]OFD Sender: No OFD packet to send [16:09:37]OFD Sender: No OFD packet to send [16:09:42]OFD Sender: No OFD packet to send [16:09:47]OFD Sender: No OFD packet to send [16:09:52]OFD Sender: No OFD packet to send [16:09:57]OFD Sender: No OFD packet to send [16:10:02]OFD Sender: No OFD packet to send [16:10:07]OFD Sender: No OFD packet to send [16:10:12]OFD Sender: No OFD packet to send [16:10:17]OFD Sender: No OFD packet to send [16:10:22]OFD Sender: No OFD packet to send [16:10:27]OFD Sender: No OFD packet to send [16:10:32]OFD Sender: No OFD packet to send [16:10:37]OFD Sender: No OFD packet to send [16:10:42]OFD Sender: No OFD packet to send [16:10:47]OFD Sender: No OFD packet to send [16:10:52]OFD Sender: No OFD packet to send [16:10:57]OFD Sender: No OFD packet to send [16:11:02]OFD Sender: No OFD packet to send [16:11:07]OFD Sender: No OFD packet to send [16:11:12]OFD Sender: No OFD packet to send [16:11:17]OFD Sender: No OFD packet to send [16:11:22]OFD Sender: No OFD packet to send [16:11:27]OFD Sender: No OFD packet to send [16:11:32]OFD Sender: No OFD packet to send [16:11:37]OFD Sender: No OFD packet to send [16:11:42]OFD Sender: No OFD packet to send [16:11:47]OFD Sender: No OFD packet to send [16:11:52]OFD Sender: No OFD packet to send [16:11:57]OFD Sender: No OFD packet to send [16:12:02]OFD Sender: No OFD packet to send [16:12:07]OFD Sender: No OFD packet to send [16:12:12]OFD Sender: No OFD packet to send [16:12:17]OFD Sender: No OFD packet to send [16:12:22]OFD Sender: No OFD packet to send [16:12:27]OFD Sender: No OFD packet to send [16:12:32]OFD Sender: No OFD packet to send [16:12:37]OFD Sender: No OFD packet to send [16:12:42]OFD Sender: No OFD packet to send [16:12:47]OFD Sender: No OFD packet to send [16:12:52]OFD Sender: No OFD packet to send [16:12:57]OFD Sender: No OFD packet to send [16:13:02]OFD Sender: No OFD packet to send [16:13:07]OFD Sender: No OFD packet to send [16:13:12]OFD Sender: No OFD packet to send [16:13:17]OFD Sender: No OFD packet to send [16:13:22]OFD Sender: No OFD packet to send [16:13:27]OFD Sender: No OFD packet to send [16:13:32]OFD Sender: No OFD packet to send [16:13:37]OFD Sender: No OFD packet to send [16:13:42]OFD Sender: No OFD packet to send [16:13:47]OFD Sender: No OFD packet to send [16:13:52]OFD Sender: No OFD packet to send [16:13:57]OFD Sender: No OFD packet to send [16:14:02]OFD Sender: No OFD packet to send [16:14:07]OFD Sender: No OFD packet to send [16:14:12]OFD Sender: No OFD packet to send [16:14:17]OFD Sender: No OFD packet to send [16:14:22]OFD Sender: No OFD packet to send [16:14:27]OFD Sender: No OFD packet to send [16:14:32]OFD Sender: No OFD packet to send [16:14:37]OFD Sender: No OFD packet to send [16:14:42]OFD Sender: No OFD packet to send [16:14:47]OFD Sender: No OFD packet to send [16:14:52]OFD Sender: No OFD packet to send [16:14:57]OFD Sender: No OFD packet to send [16:15:02]OFD Sender: No OFD packet to send [16:15:07]OFD Sender: No OFD packet to send [16:15:12]OFD Sender: No OFD packet to send [16:15:17]OFD Sender: No OFD packet to send [16:15:22]OFD Sender: No OFD packet to send [16:15:27]OFD Sender: No OFD packet to send [16:15:32]OFD Sender: No OFD packet to send [16:15:37]OFD Sender: No OFD packet to send [16:15:42]OFD Sender: No OFD packet to send [16:15:47]OFD Sender: No OFD packet to send [16:15:52]OFD Sender: No OFD packet to send [16:15:57]OFD Sender: No OFD packet to send [16:16:02]OFD Sender: No OFD packet to send [16:16:07]OFD Sender: No OFD packet to send [16:16:12]OFD Sender: No OFD packet to send [16:16:17]OFD Sender: No OFD packet to send [16:16:22]OFD Sender: No OFD packet to send [16:16:27]OFD Sender: No OFD packet to send [16:16:32]OFD Sender: No OFD packet to send [16:16:37]OFD Sender: No OFD packet to send [16:16:42]OFD Sender: No OFD packet to send [16:16:47]OFD Sender: No OFD packet to send [16:16:52]OFD Sender: No OFD packet to send [16:16:57]OFD Sender: No OFD packet to send [16:17:02]OFD Sender: No OFD packet to send [16:17:07]OFD Sender: No OFD packet to send [16:17:12]OFD Sender: No OFD packet to send [16:17:17]OFD Sender: No OFD packet to send [16:17:22]OFD Sender: No OFD packet to send [16:17:27]OFD Sender: No OFD packet to send [16:17:32]OFD Sender: No OFD packet to send [16:17:37]OFD Sender: No OFD packet to send [16:17:42]OFD Sender: No OFD packet to send [16:17:47]OFD Sender: No OFD packet to send [16:17:52]OFD Sender: No OFD packet to send [16:17:57]OFD Sender: No OFD packet to send [16:18:02]OFD Sender: No OFD packet to send [16:18:07]OFD Sender: No OFD packet to send [16:18:12]OFD Sender: No OFD packet to send [16:18:17]OFD Sender: No OFD packet to send [16:18:22]OFD Sender: No OFD packet to send [16:18:27]OFD Sender: No OFD packet to send [16:18:32]OFD Sender: No OFD packet to send [16:18:37]OFD Sender: No OFD packet to send [16:18:42]OFD Sender: No OFD packet to send [16:18:47]OFD Sender: No OFD packet to send [16:18:52]OFD Sender: No OFD packet to send [16:18:57]OFD Sender: No OFD packet to send [16:19:02]OFD Sender: No OFD packet to send [16:19:07]OFD Sender: No OFD packet to send [16:19:12]OFD Sender: No OFD packet to send [16:19:17]OFD Sender: No OFD packet to send [16:19:22]OFD Sender: No OFD packet to send [16:19:27]OFD Sender: No OFD packet to send [16:19:32]OFD Sender: No OFD packet to send [16:19:37]OFD Sender: No OFD packet to send [16:19:42]OFD Sender: No OFD packet to send [16:19:47]OFD Sender: No OFD packet to send [16:19:52]OFD Sender: No OFD packet to send [16:19:57]OFD Sender: No OFD packet to send [16:20:02]OFD Sender: No OFD packet to send [16:20:07]OFD Sender: No OFD packet to send [16:20:12]OFD Sender: No OFD packet to send [16:20:17]OFD Sender: No OFD packet to send [16:20:22]OFD Sender: No OFD packet to send [16:20:27]OFD Sender: No OFD packet to send [16:20:32]OFD Sender: No OFD packet to send [16:20:37]OFD Sender: No OFD packet to send [16:20:42]OFD Sender: No OFD packet to send [16:20:47]OFD Sender: No OFD packet to send [16:20:52]OFD Sender: No OFD packet to send [16:20:57]OFD Sender: No OFD packet to send [16:21:02]OFD Sender: No OFD packet to send [16:21:07]OFD Sender: No OFD packet to send [16:21:12]OFD Sender: No OFD packet to send [16:21:17]OFD Sender: No OFD packet to send [16:21:22]OFD Sender: No OFD packet to send [16:21:27]OFD Sender: No OFD packet to send [16:21:32]OFD Sender: No OFD packet to send [16:21:37]OFD Sender: No OFD packet to send [16:21:42]OFD Sender: No OFD packet to send [16:21:47]OFD Sender: No OFD packet to send [16:21:52]OFD Sender: No OFD packet to send [16:21:57]OFD Sender: No OFD packet to send [16:22:02]OFD Sender: No OFD packet to send [16:22:07]OFD Sender: No OFD packet to send [16:22:12]OFD Sender: No OFD packet to send [16:22:17]OFD Sender: No OFD packet to send [16:22:22]OFD Sender: No OFD packet to send [16:22:27]OFD Sender: No OFD packet to send [16:22:32]OFD Sender: No OFD packet to send [16:22:37]OFD Sender: No OFD packet to send [16:22:42]OFD Sender: No OFD packet to send [16:22:47]OFD Sender: No OFD packet to send [16:22:52]OFD Sender: No OFD packet to send [16:22:57]OFD Sender: No OFD packet to send [16:23:02]OFD Sender: No OFD packet to send [16:23:07]OFD Sender: No OFD packet to send [16:23:12]OFD Sender: No OFD packet to send [16:23:17]OFD Sender: No OFD packet to send [16:23:22]OFD Sender: No OFD packet to send [16:23:27]OFD Sender: No OFD packet to send [16:23:32]OFD Sender: No OFD packet to send [16:23:37]OFD Sender: No OFD packet to send [16:23:42]OFD Sender: No OFD packet to send [16:23:47]OFD Sender: No OFD packet to send [16:23:52]OFD Sender: No OFD packet to send [16:23:57]OFD Sender: No OFD packet to send [16:24:02]OFD Sender: No OFD packet to send [16:24:07]OFD Sender: No OFD packet to send [16:24:12]OFD Sender: No OFD packet to send [16:24:17]OFD Sender: No OFD packet to send [16:24:22]OFD Sender: No OFD packet to send [16:24:27]OFD Sender: No OFD packet to send [16:24:32]OFD Sender: No OFD packet to send [16:24:33]accept exits with 7 [16:24:33]New connection [16:24:33]New thread 3067293028 created [16:24:33]Thread 3067149668 joined [16:24:33]Waiting for new connection... [16:24:33] Sock 7.Parse request [16:24:33]Sock 7.Check first char [16:24:33]Sock 7.First char is OK [16:24:33]request: POST /json_proto HTTP/1.0 [16:24:33]Method: POST [16:24:33]URL: /json_proto [16:24:33]Method is POST - this is cgi request [16:24:33]url: /json_proto [16:24:33]query_string will be loaded in cgi processing [16:24:33]execute_cgi json_proto POST (null) [16:24:33]execute_cgi path=json_proto method=POST [16:24:33]POST find Content-Length [16:24:33]Host: 172.17.60.7:8080 [16:24:33]Content-Length: 643 [16:24:33]Content-Type: application/json [16:24:33] [16:24:33]POST finish read [16:24:33]Found Content-Length = 643 [16:24:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122770", "tax_sys" : 0, "items" : [ { "code": "2000039260010", "name": "\u041C\u0430\u0444\u0444\u0438\u043D \u0448\u043E\u043A\u043E\u043B\u0430\u0434 80\u0433", "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" ] } } [16:24:33]execute_script... [16:24:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122770", "tax_sys" : 0, "items" : [ { "code": "2000039260010", "name": "\u041C\u0430\u0444\u0444\u0438\u043D \u0448\u043E\u043A\u043E\u043B\u0430\u0434 80\u0433", "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" ] } } [16:24:33]POST & json_proto [16:24:33]process_json_proto [16:24:33]json parsed OK: [16:24:33]protocol is kg_v1.0 [16:24:33]action value=close_receipt [16:24:33]process_action close_receipt [16:24:33]cmd_close_receipt [16:24:33]MH_GetDate [16:24:33]Write to MH i2c: F0 00 00 EB 03 DD [16:24:33]Write i2c OK [16:24:33]MH_I2C_Read... [16:24:33]Read from MH i2c: F0 [16:24:33]MH_I2C_Read... [16:24:33]Read from MH i2c: F0 09 00 [16:24:33]MH_I2C_Read... [16:24:33]Read from MH i2c: F0 09 00 EB 03 00 C2 E5 B8 66 63 9B 67 64 74 [16:24:33]GetLastDocTimeStamp 1723391123 [16:24:33]current date 1723393474 [16:24:33]FM_GetShiftState [16:24:33]SAM_PROTO_GetShiftState [16:24:33]wFMCommunicate request_size=4 [16:24:33]MH_SAM_APDU [16:24:33]CAPDU: 80 13 01 00 [16:24:33]Write to MH i2c: E2 08 00 EC 03 80 13 01 00 00 00 00 00 6C [16:24:33]Write i2c OK [16:24:33]MH_I2C_Read... [16:24:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:24:33]Read from MH i2c: E2 [16:24:33]MH_I2C_Read... [16:24:33]Read from MH i2c: E2 0E 00 [16:24:33]MH_I2C_Read... [16:24:33]Read from MH i2c: E2 0E 00 EC 03 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 95 [16:24:33]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [16:24:33]wFMCommunicate OK [16:24:33]SAM_PROTO_GetShiftState done [16:24:33]FM_GetShiftState done [16:24:33]opened in 1723336186 [16:24:33]opened+sec_in_day 1723422586 [16:24:33]quantity*price = 7500 [16:24:33]sum+1 = 7501 [16:24:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 50 11.08.2024 16:24 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52639 ФПД: 212665479545980 /tax-web-control/client/api/v1/ticket?date=20240811T162435&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52639&fm=212665479545980&tin=02508201610067®Number=0000000000090834&sum=7500 0 [16:24:34]StoreToDocumentArchive [16:24:34]shift 446 fd 52639 [16:24:34]save to /storage/0446/doc_00052639 [16:24:34]save last doc name /storage/0446/doc_00052639 to /storage/kkm_last_doc_name [16:24:34]save OK [16:24:34]Clear old archive folders... [16:24:34]ProcessDocumentItem done err = 0, tmpTLVsize=274 [16:24:34]tlvbuf is 012993D0 [16:24:34]SAM_PROTO_ClearQueue [16:24:34]wFMCommunicate request_size=4 [16:24:34]MH_SAM_APDU [16:24:34]CAPDU: 80 09 00 00 [16:24:34]Write to MH i2c: E2 08 00 F9 03 80 09 00 00 00 00 00 00 6E [16:24:34]Write i2c OK [16:24:34]MH_I2C_Read... [16:24:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:24:34]Read from MH i2c: E2 [16:24:34]MH_I2C_Read... [16:24:34]Read from MH i2c: E2 03 00 [16:24:34]MH_I2C_Read... [16:24:34]Read from MH i2c: E2 03 00 F9 03 00 90 00 70 [16:24:34]RAPDU: 90 00 [16:24:34]wFMCommunicate OK [16:24:34]SAM_PROTO_ClearQueue done [16:24:34]KKMCreateOFDPacket [16:24:34]OFDProtocolAddRootSTLVToBuf [16:24:34]FM_MakeSignedData [16:24:34]FM_MakeSignedData [16:24:34]SAM_PROTO_SignData [16:24:34]wFMCommunicate request_size=4 [16:24:34]MH_SAM_APDU [16:24:34]CAPDU: 80 0D 01 02 [16:24:34]Write to MH i2c: E2 08 00 FA 03 80 0D 01 02 00 00 00 00 76 [16:24:34]Write i2c OK [16:24:34]MH_I2C_Read... [16:24:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:24:34]Read from MH i2c: E2 [16:24:34]MH_I2C_Read... [16:24:34]Read from MH i2c: E2 03 00 [16:24:34]MH_I2C_Read... [16:24:34]Read from MH i2c: E2 03 00 FA 03 00 90 00 71 [16:24:34]RAPDU: 90 00 [16:24:34]wFMCommunicate OK [16:24:34]wFMCommunicate request_size=255 [16:24:34]MH_SAM_APDU [16:24:34]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 39 32 36 30 30 31 30 06 04 20 00 D0 9C D0 B0 D1 84 D1 84 D0 B8 D0 BD 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 38 30 D0 B3 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 32 00 00 00 F4 03 04 00 C3 E5 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 [16:24:34]Write to MH i2c: E2 02 01 FB 03 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 39 32 36 30 30 31 30 06 04 20 00 D0 9C D0 B0 D1 84 D1 84 D0 B8 D0 BD 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 38 30 D0 B3 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 32 00 00 00 F4 03 04 00 C3 E5 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 00 00 92 [16:24:35]Write i2c OK [16:24:35]MH_I2C_Read... [16:24:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:24:35]Read from MH i2c: E2 [16:24:35]MH_I2C_Read... [16:24:35]Read from MH i2c: E2 03 00 [16:24:35]MH_I2C_Read... [16:24:35]Read from MH i2c: E2 03 00 FB 03 00 90 00 72 [16:24:35]RAPDU: 90 00 [16:24:35]wFMCommunicate OK [16:24:35]wFMCommunicate request_size=33 [16:24:35]MH_SAM_APDU [16:24:35]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9F CD 00 00 35 04 06 00 C1 6B 0A 5D 44 7C [16:24:35]Write to MH i2c: E2 24 00 FC 03 80 0D 02 02 1C 00 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9F CD 00 00 35 04 06 00 C1 6B 0A 5D 44 7C 00 00 C7 [16:24:35]Write i2c OK [16:24:35]MH_I2C_Read... [16:24:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:24:35]Read from MH i2c: E2 [16:24:35]MH_I2C_Read... [16:24:35]Read from MH i2c: E2 03 00 [16:24:35]MH_I2C_Read... [16:24:35]Read from MH i2c: E2 03 00 FC 03 00 90 00 73 [16:24:35]RAPDU: 90 00 [16:24:35]wFMCommunicate OK [16:24:35]wFMCommunicate request_size=4 [16:24:35]MH_SAM_APDU [16:24:35]CAPDU: 80 0D 03 02 [16:24:35]Write to MH i2c: E2 08 00 FD 03 80 0D 03 02 00 00 00 00 7B [16:24:35]Write i2c OK [16:24:35]MH_I2C_Read... [16:24:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:24:35]Read from MH i2c: E2 [16:24:35]MH_I2C_Read... [16:24:35]Read from MH i2c: E2 0B 00 [16:24:35]MH_I2C_Read... [16:24:35]Read from MH i2c: E2 0B 00 FD 03 00 F3 E8 80 41 17 6B 56 0D 90 00 FD [16:24:35]RAPDU: F3 E8 80 41 17 6B 56 0D 90 00 [16:24:35]wFMCommunicate OK [16:24:35]SAM_PROTO_SignData done [16:24:35]FM_MakeSignedData done [16:24:35]CreateOFDProtocolMessage [16:24:35]wFMCommunicate request_size=4 [16:24:35]MH_SAM_APDU [16:24:35]CAPDU: 80 11 00 00 [16:24:35]Write to MH i2c: E2 08 00 FE 03 80 11 00 00 00 00 00 00 7B [16:24:35]Write i2c OK [16:24:35]MH_I2C_Read... [16:24:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:24:35]Read from MH i2c: E2 [16:24:35]MH_I2C_Read... [16:24:35]Read from MH i2c: E2 17 00 [16:24:35]MH_I2C_Read... [16:24:35]Read from MH i2c: E2 17 00 FE 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 CE [16:24:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [16:24:35]wFMCommunicate OK [16:24:35]CreateOFDProtocolMessage done [16:24:35]OFDSenderStorePacket 52639 [16:24:35]StoreOFDPacket docnum=52639 [16:24:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 26 01 00 00 FB F2 1E 01 85 ED 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 39 32 36 30 30 31 30 06 04 20 00 D0 9C D0 B0 D1 84 D1 84 D0 B8 D0 BD 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 38 30 D0 B3 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 32 00 00 00 F4 03 04 00 C3 E5 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9F CD 00 00 35 04 06 00 C1 6B 0A 5D 44 7C F3 E8 80 41 17 6B 56 0D [16:24:35]CheckFolder [16:24:35]dirname=/storage/ofd_packets [16:24:35]CheckFolder done [16:24:35]ProducePacketName [16:24:35]name=ofd_packets/00052639 [16:24:35]NVStorageSaveData ofd_packets/00052639 [16:24:35]File name is /storage/ofd_packets/00052639 [16:24:35]Write 324 bytes [16:24:35]NVStorageSaveData done [16:24:35]OFDSenderStorePacket done [16:24:35]KKMCreateOFDPacket done [16:24:35]NVStorageSaveData kkm_last_timestamp [16:24:35]File name is /storage/kkm_last_timestamp [16:24:35]Write 4 bytes [16:24:35]NVStorageSaveData done [16:24:35]ExternCall_PrintAddStr [16:24:35]wPrintStart [16:24:35]Write to MH i2c: 01 00 00 FF 03 02 [16:24:35]Write i2c OK [16:24:35]MH_I2C_Read... [16:24:35]Read from MH i2c: 01 [16:24:35]MH_I2C_Read... [16:24:35]Read from MH i2c: 01 07 00 [16:24:35]MH_I2C_Read... [16:24:35]Read from MH i2c: 01 07 00 FF 03 00 00 00 00 00 FF 0F 17 [16:24:35]RasterBufferAndPrint [16:24:35]line Счет N : (3)122770 [16:24:35]line ИНН: 02508201610067 [16:24:35]line Контрольно-Кассовый Чек [16:24:35]line ПРОДАЖА [16:24:35]line Товар: 2000039260010 [16:24:35]line Маффин шоколад 80г [16:24:35]line 1.000 * 75.00 [16:24:35]line = 75.00 [16:24:35]line НДС 12% НСП 1% [16:24:35]line > о реализуемом товаре [16:24:35]line ИТОГО: 75.00 [16:24:35]line НСП 1% : 0.66 [16:24:35]line НДС 12% : 7.96 [16:24:35]line Наличными: 75.00 [16:24:35]line Безнал.: 0.00 [16:24:35]line Место: АЗС № 54 "Партнер Нефть" [16:24:35]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [16:24:35]line СНО: Общий режим [16:24:35]line Чек 50 11.08.2024 16:24 [16:24:35]line Смена: 446 ФФД: 1.0 [16:24:35]line ЗНМ: 0300000007 [16:24:35]line РНМ: 0000000000090834 [16:24:35]line Версия ККМ: 001 [16:24:35]line ФМ: 0000000000874715 [16:24:35]line ФД: 52639 [16:24:35]line ФПД: 212665479545980 [16:24:35]line /tax-web-control/client/api/v1/ticket?date=20240811T162435&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52639&fm=212665479545980&tin=02508201610067®Number=0000000000090834&sum=7500 [16:24:35]OFD Sender: Processing packet 52639 [packets to send 55, broken 54] [16:24:35]line 0 [16:24:35]ProducePacketName [16:24:35]name=ofd_packets/00052639 [16:24:35]OFD Sender: To server: pG, [16:24:35]CommunicateWithHost lk.salyk.kg:30040 [16:24:35]ConnectInit lk.salyk.kg [16:24:35]written 0, free lines is 4095 [16:24:35]Connected sock=10 [16:24:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 26 01 00 00 FB F2 1E 01 85 ED 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 39 32 36 30 30 31 30 06 04 20 00 D0 9C D0 B0 D1 84 D1 84 D0 B8 D0 BD 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 38 30 D0 B3 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 32 00 00 00 F4 03 04 00 C3 E5 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9F CD 00 00 35 04 06 00 C1 6B 0A 5D 44 7C F3 E8 80 41 17 6B 56 0D [16:24:36]Write to MH i2c: 01 00 00 26 04 2A [16:24:36]Write i2c OK [16:24:36]MH_I2C_Read... [16:24:36]Read from MH i2c: 01 [16:24:36]MH_I2C_Read... [16:24:36]Read from MH i2c: 01 07 00 [16:24:36]MH_I2C_Read... [16:24:36]Read from MH i2c: 01 07 00 26 04 00 00 00 00 00 F1 0C 2E [16:24:36]RasterBufferAndPrint [16:24:36]line [16:24:36]line [16:24:36]line [16:24:36]line [16:24:36]line [16:24:36]written 0, free lines is 3319 [16:24:36]MH_Cut [16:24:36]Write to MH i2c: D1 01 00 2D 04 01 03 [16:24:36]Write i2c OK [16:24:36]MH_I2C_Read... [16:24:36]Read from MH i2c: D1 [16:24:36]MH_I2C_Read... [16:24:36]Read from MH i2c: D1 01 00 [16:24:36]MH_I2C_Read... [16:24:36]Read from MH i2c: D1 01 00 2D 04 00 02 [16:24:36]Write to MH i2c: 01 00 00 2E 04 32 [16:24:36]Write i2c OK [16:24:36]MH_I2C_Read... [16:24:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 8F AF 47 00 8F 04 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 9F CD 00 00 F4 03 04 00 5D 8D B8 66 B6 04 01 00 00 75 9D 56 E7 AC 43 A2 B5 [16:24:36]CommunicateWithHost err = 0 [16:24:36]CheckOFDResponse [16:24:36]1017 (14) - 77093643461234 [16:24:36]1041 (16) - 0000000000874715 [16:24:36]1040 (4) - 52639 [16:24:36]1012 (4) - 11.08.2024 10:07 [16:24:36]1206 (1) - 0 [16:24:36]OFD Sender: Remove packet 52639 [16:24:36]ProducePacketName [16:24:36]name=ofd_packets/00052639 [16:24:36]NVStorageDeleteData [16:24:36]OFD Sender: No OFD packet to send [16:24:36]*** Cut start [16:24:36]*** Purtial cut [16:24:36]*** Stage 1: CUTSNS_PIN = 1 [16:24:37]Read from MH i2c: 01 [16:24:37]MH_I2C_Read... [16:24:37]*** Stop cut motor [16:24:37]*** Cut end [16:24:37]Read from MH i2c: 01 07 00 [16:24:37]MH_I2C_Read... [16:24:37]Read from MH i2c: 01 07 00 2E 04 00 00 00 00 00 FF 0F 47 [16:24:37]process_action close_receipt done [16:24:37]requested_data is exist [16:24:37]produce_requested_data [16:24:37]requested_item fm.sn is exist - process it [16:24:37]wFMCommunicate request_size=4 [16:24:37]MH_SAM_APDU [16:24:37]CAPDU: 80 11 00 00 [16:24:37]Write to MH i2c: E2 08 00 2F 04 80 11 00 00 00 00 00 00 AD [16:24:37]Write i2c OK [16:24:37]MH_I2C_Read... [16:24:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:24:37]Read from MH i2c: E2 [16:24:37]MH_I2C_Read... [16:24:37]Read from MH i2c: E2 17 00 [16:24:37]MH_I2C_Read... [16:24:37]Read from MH i2c: E2 17 00 2F 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 00 [16:24:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [16:24:37]wFMCommunicate OK [16:24:37]requested_item fd.num is exist - process it [16:24:37]SAM_PROTO_GetFieldsCounters [16:24:37]wFMCommunicate request_size=4 [16:24:37]MH_SAM_APDU [16:24:37]CAPDU: 80 13 00 00 [16:24:37]Write to MH i2c: E2 08 00 30 04 80 13 00 00 00 00 00 00 B0 [16:24:37]Write i2c OK [16:24:37]MH_I2C_Read... [16:24:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:24:37]Read from MH i2c: E2 [16:24:37]MH_I2C_Read... [16:24:37]Read from MH i2c: E2 62 00 [16:24:37]MH_I2C_Read... [16:24:37]Read from MH i2c: E2 62 00 30 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 9F CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 91 [16:24: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 9F CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:24:37]wFMCommunicate OK [16:24:37]SAM_PROTO_GetFieldsCounters done [16:24:37]requested_item shift.num is exist - process it [16:24:37]requested_item shift.opened is exist - process it [16:24:37]req_shift_opened [16:24:37]FM_GetShiftState [16:24:37]SAM_PROTO_GetShiftState [16:24:37]wFMCommunicate request_size=4 [16:24:37]MH_SAM_APDU [16:24:37]CAPDU: 80 13 01 00 [16:24:37]Write to MH i2c: E2 08 00 31 04 80 13 01 00 00 00 00 00 B2 [16:24:37]Write i2c OK [16:24:37]MH_I2C_Read... [16:24:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:24:37]Read from MH i2c: E2 [16:24:37]MH_I2C_Read... [16:24:37]Read from MH i2c: E2 0E 00 [16:24:37]MH_I2C_Read... [16:24:37]Read from MH i2c: E2 0E 00 31 04 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 DB [16:24:37]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [16:24:37]wFMCommunicate OK [16:24:37]SAM_PROTO_GetShiftState done [16:24:37]FM_GetShiftState done [16:24:37]req_shift_opened done [16:24:37]requested_item shift.open_date is exist - process it [16:24:37]req_shift_open_date [16:24:37]req_shift_open_date done [16:24:37]produce_requested_data done [16:24:37]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52639,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [16:24:37]process_action_free close_receipt [16:24:37]json_value_free [16:24:37]json_value_free done [16:24:37]process_json_proto returns [16:24:37]Send response to host [16:24:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52639,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [16:24:37]free response buf [16:24:37]execute_script done [16:24:37]execute_script returns [16:24:37]free content buf [16:24:37]Sock 7.Close socket [16:24:37]Sock 7.Thread stoped [16:24:41]OFD Sender: No OFD packet to send [16:24:45]accept exits with 9 [16:24:45]New connection [16:24:45]New thread 3067149668 created [16:24:45]Thread 3067293028 joined [16:24:45]Waiting for new connection... [16:24:45] Sock 9.Parse request [16:24:45]Sock 9.Check first char [16:24:45]Sock 9.First char is OK [16:24:45]request: POST /json_proto HTTP/1.0 [16:24:45]Method: POST [16:24:45]URL: /json_proto [16:24:45]Method is POST - this is cgi request [16:24:45]url: /json_proto [16:24:45]query_string will be loaded in cgi processing [16:24:45]execute_cgi json_proto POST (null) [16:24:45]execute_cgi path=json_proto method=POST [16:24:45]POST find Content-Length [16:24:45]Host: 172.17.60.7:8080 [16:24:45]Content-Length: 812 [16:24:45]Content-Type: application/json [16:24:45] [16:24:45]POST finish read [16:24:45]Found Content-Length = 812 [16:24:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122771", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:24:45]execute_script... [16:24:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122771", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:24:45]POST & json_proto [16:24:45]process_json_proto [16:24:45]json parsed OK: [16:24:45]protocol is kg_v1.0 [16:24:45]action value=close_receipt [16:24:45]process_action close_receipt [16:24:45]cmd_close_receipt [16:24:45]MH_GetDate [16:24:45]Write to MH i2c: F0 00 00 32 04 25 [16:24:45]Write i2c OK [16:24:45]MH_I2C_Read... [16:24:45]Read from MH i2c: F0 [16:24:45]MH_I2C_Read... [16:24:45]Read from MH i2c: F0 09 00 [16:24:45]MH_I2C_Read... [16:24:45]Read from MH i2c: F0 09 00 32 04 00 CE E5 B8 66 63 9B 67 64 C8 [16:24:45]GetLastDocTimeStamp 1723393475 [16:24:45]current date 1723393486 [16:24:45]FM_GetShiftState [16:24:45]SAM_PROTO_GetShiftState [16:24:45]wFMCommunicate request_size=4 [16:24:45]MH_SAM_APDU [16:24:45]CAPDU: 80 13 01 00 [16:24:45]Write to MH i2c: E2 08 00 33 04 80 13 01 00 00 00 00 00 B4 [16:24:45]Write i2c OK [16:24:45]MH_I2C_Read... [16:24:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:24:45]Read from MH i2c: E2 [16:24:45]MH_I2C_Read... [16:24:45]Read from MH i2c: E2 0E 00 [16:24:45]MH_I2C_Read... [16:24:45]Read from MH i2c: E2 0E 00 33 04 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 DD [16:24:45]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [16:24:45]wFMCommunicate OK [16:24:45]SAM_PROTO_GetShiftState done [16:24:45]FM_GetShiftState done [16:24:45]opened in 1723336186 [16:24:45]opened+sec_in_day 1723422586 [16:24:45]quantity*price = 13000 [16:24:45]sum+1 = 13001 [16:24:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 51 11.08.2024 16:24 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52640 ФПД: 64664042836914 /tax-web-control/client/api/v1/ticket?date=20240811T162446&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52640&fm=64664042836914&tin=02508201610067®Number=0000000000090834&sum=13000 0 [16:24:46]StoreToDocumentArchive [16:24:46]shift 446 fd 52640 [16:24:46]save to /storage/0446/doc_00052640 [16:24:46]save last doc name /storage/0446/doc_00052640 to /storage/kkm_last_doc_name [16:24:46]save OK [16:24:46]Clear old archive folders... [16:24:46]ProcessDocumentItem done err = 0, tmpTLVsize=282 [16:24:46]tlvbuf is 01277CF0 [16:24:46]SAM_PROTO_ClearQueue [16:24:46]wFMCommunicate request_size=4 [16:24:46]MH_SAM_APDU [16:24:46]CAPDU: 80 09 00 00 [16:24:46]Write to MH i2c: E2 08 00 40 04 80 09 00 00 00 00 00 00 B6 [16:24:46]Write i2c OK [16:24:46]MH_I2C_Read... [16:24:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:24:46]Read from MH i2c: E2 [16:24:46]MH_I2C_Read... [16:24:46]Read from MH i2c: E2 03 00 [16:24:46]MH_I2C_Read... [16:24:46]Read from MH i2c: E2 03 00 40 04 00 90 00 B8 [16:24:46]RAPDU: 90 00 [16:24:46]wFMCommunicate OK [16:24:46]SAM_PROTO_ClearQueue done [16:24:46]KKMCreateOFDPacket [16:24:46]OFDProtocolAddRootSTLVToBuf [16:24:46]FM_MakeSignedData [16:24:46]FM_MakeSignedData [16:24:46]SAM_PROTO_SignData [16:24:46]wFMCommunicate request_size=4 [16:24:46]MH_SAM_APDU [16:24:46]CAPDU: 80 0D 01 02 [16:24:46]Write to MH i2c: E2 08 00 41 04 80 0D 01 02 00 00 00 00 BE [16:24:46]Write i2c OK [16:24:46]MH_I2C_Read... [16:24:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:24:46]Read from MH i2c: E2 [16:24:46]MH_I2C_Read... [16:24:46]Read from MH i2c: E2 03 00 [16:24:46]MH_I2C_Read... [16:24:46]Read from MH i2c: E2 03 00 41 04 00 90 00 B9 [16:24:46]RAPDU: 90 00 [16:24:46]wFMCommunicate OK [16:24:46]wFMCommunicate request_size=255 [16:24:46]MH_SAM_APDU [16:24:46]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 CE E5 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 [16:24:46]Write to MH i2c: E2 02 01 42 04 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 CE E5 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 00 00 8F [16:24:47]Write i2c OK [16:24:47]MH_I2C_Read... [16:24:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:24:47]Read from MH i2c: E2 [16:24:47]MH_I2C_Read... [16:24:47]Read from MH i2c: E2 03 00 [16:24:47]MH_I2C_Read... [16:24:47]Read from MH i2c: E2 03 00 42 04 00 90 00 BA [16:24:47]RAPDU: 90 00 [16:24:47]wFMCommunicate OK [16:24:47]wFMCommunicate request_size=41 [16:24:47]MH_SAM_APDU [16:24:47]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A0 CD 00 00 35 04 06 00 3A CF C5 4D 93 B2 [16:24:47]Write to MH i2c: E2 2C 00 43 04 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A0 CD 00 00 35 04 06 00 3A CF C5 4D 93 B2 00 00 5D [16:24:47]Write i2c OK [16:24:47]MH_I2C_Read... [16:24:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:24:47]Read from MH i2c: E2 [16:24:47]MH_I2C_Read... [16:24:47]Read from MH i2c: E2 03 00 [16:24:47]MH_I2C_Read... [16:24:47]Read from MH i2c: E2 03 00 43 04 00 90 00 BB [16:24:47]RAPDU: 90 00 [16:24:47]wFMCommunicate OK [16:24:47]wFMCommunicate request_size=4 [16:24:47]MH_SAM_APDU [16:24:47]CAPDU: 80 0D 03 02 [16:24:47]Write to MH i2c: E2 08 00 44 04 80 0D 03 02 00 00 00 00 C3 [16:24:47]Write i2c OK [16:24:47]MH_I2C_Read... [16:24:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:24:47]Read from MH i2c: E2 [16:24:47]MH_I2C_Read... [16:24:47]Read from MH i2c: E2 0B 00 [16:24:47]MH_I2C_Read... [16:24:47]Read from MH i2c: E2 0B 00 44 04 00 55 C4 C3 3C F9 EA 31 4D 90 00 3D [16:24:47]RAPDU: 55 C4 C3 3C F9 EA 31 4D 90 00 [16:24:47]wFMCommunicate OK [16:24:47]SAM_PROTO_SignData done [16:24:47]FM_MakeSignedData done [16:24:47]CreateOFDProtocolMessage [16:24:47]wFMCommunicate request_size=4 [16:24:47]MH_SAM_APDU [16:24:47]CAPDU: 80 11 00 00 [16:24:47]Write to MH i2c: E2 08 00 45 04 80 11 00 00 00 00 00 00 C3 [16:24:47]Write i2c OK [16:24:47]MH_I2C_Read... [16:24:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:24:47]Read from MH i2c: E2 [16:24:47]MH_I2C_Read... [16:24:47]Read from MH i2c: E2 17 00 [16:24:47]MH_I2C_Read... [16:24:47]Read from MH i2c: E2 17 00 45 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 16 [16:24:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [16:24:47]wFMCommunicate OK [16:24:47]CreateOFDProtocolMessage done [16:24:47]OFDSenderStorePacket 52640 [16:24:47]StoreOFDPacket docnum=52640 [16:24:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2E 01 00 00 53 92 26 01 C9 30 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 CE E5 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A0 CD 00 00 35 04 06 00 3A CF C5 4D 93 B2 55 C4 C3 3C F9 EA 31 4D [16:24:47]CheckFolder [16:24:47]dirname=/storage/ofd_packets [16:24:47]CheckFolder done [16:24:47]ProducePacketName [16:24:47]name=ofd_packets/00052640 [16:24:47]NVStorageSaveData ofd_packets/00052640 [16:24:47]File name is /storage/ofd_packets/00052640 [16:24:47]Write 332 bytes [16:24:47]NVStorageSaveData done [16:24:47]OFDSenderStorePacket done [16:24:47]KKMCreateOFDPacket done [16:24:47]NVStorageSaveData kkm_last_timestamp [16:24:47]File name is /storage/kkm_last_timestamp [16:24:47]Write 4 bytes [16:24:47]NVStorageSaveData done [16:24:47]ExternCall_PrintAddStr [16:24:47]wPrintStart [16:24:47]Write to MH i2c: 01 00 00 46 04 4A [16:24:47]Write i2c OK [16:24:47]MH_I2C_Read... [16:24:47]Read from MH i2c: 01 [16:24:47]MH_I2C_Read... [16:24:47]Read from MH i2c: 01 07 00 [16:24:47]MH_I2C_Read... [16:24:47]Read from MH i2c: 01 07 00 46 04 00 00 00 00 00 FF 0F 5F [16:24:47]RasterBufferAndPrint [16:24:47]line Счет N : (3)122771 [16:24:47]line ИНН: 02508201610067 [16:24:47]line Контрольно-Кассовый Чек [16:24:47]line ПРОДАЖА [16:24:47]line Товар: 2000036220012 [16:24:47]line Кофе Капучино XL(GABB TRADE) [16:24:47]line 1.000 * 130.00 [16:24:47]line = 130.00 [16:24:47]line НДС 12% НСП 1% [16:24:47]line > о реализуемом товаре [16:24:47]line ИТОГО: 130.00 [16:24:47]line НСП 1% : 1.15 [16:24:47]line НДС 12% : 13.80 [16:24:47]line Наличными: 0.00 [16:24:47]line Безнал.: 130.00 [16:24:47]line Место: АЗС № 54 "Партнер Нефть" [16:24:47]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [16:24:47]line СНО: Общий режим [16:24:47]line Чек 51 11.08.2024 16:24 [16:24:47]line Смена: 446 ФФД: 1.0 [16:24:47]line ЗНМ: 0300000007 [16:24:47]line РНМ: 0000000000090834 [16:24:47]line Версия ККМ: 001 [16:24:47]line Платежная система: О! деньги [16:24:47]line ФМ: 0000000000874715 [16:24:47]line ФД: 52640 [16:24:47]line ФПД: 64664042836914 [16:24:47]line /tax-web-control/client/api/v1/ticket?date=20240811T162446&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52640&fm=64664042836914&tin=02508201610067®Number=0000000000090834&sum=13000 [16:24:47]OFD Sender: Processing packet 52640 [packets to send 55, broken 54] [16:24:47]ProducePacketName [16:24:47]name=ofd_packets/00052640 [16:24:47]OFD Sender: To server: pG, [16:24:47]CommunicateWithHost lk.salyk.kg:30040 [16:24:47]ConnectInit lk.salyk.kg [16:24:47]line 0 [16:24:47]written 0, free lines is 4095 [16:24:47]Connected sock=10 [16:24:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2E 01 00 00 53 92 26 01 C9 30 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 CE E5 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A0 CD 00 00 35 04 06 00 3A CF C5 4D 93 B2 55 C4 C3 3C F9 EA 31 4D [16:24:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 F6 9B 47 00 9B 7F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A0 CD 00 00 F4 03 04 00 69 8D B8 66 B6 04 01 00 00 56 10 95 4F 15 1A 2B 6A [16:24:48]CommunicateWithHost err = 0 [16:24:48]CheckOFDResponse [16:24:48]1017 (14) - 77093643461234 [16:24:48]1041 (16) - 0000000000874715 [16:24:48]1040 (4) - 52640 [16:24:48]1012 (4) - 11.08.2024 10:07 [16:24:48]1206 (1) - 0 [16:24:48]OFD Sender: Remove packet 52640 [16:24:48]ProducePacketName [16:24:48]name=ofd_packets/00052640 [16:24:48]NVStorageDeleteData [16:24:48]Write to MH i2c: 01 00 00 70 04 74 [16:24:48]Write i2c OK [16:24:48]MH_I2C_Read... [16:24:48]Read from MH i2c: 01 [16:24:48]MH_I2C_Read... [16:24:48]Read from MH i2c: 01 07 00 [16:24:48]MH_I2C_Read... [16:24:48]Read from MH i2c: 01 07 00 70 04 00 00 00 00 00 D7 0C 5E [16:24:48]RasterBufferAndPrint [16:24:48]line [16:24:48]line [16:24:48]line [16:24:48]line [16:24:48]line [16:24:48]written 0, free lines is 3294 [16:24:48]MH_Cut [16:24:48]Write to MH i2c: D1 01 00 77 04 01 4D [16:24:48]Write i2c OK [16:24:48]MH_I2C_Read... [16:24:48]Read from MH i2c: D1 [16:24:48]MH_I2C_Read... [16:24:48]Read from MH i2c: D1 01 00 [16:24:48]MH_I2C_Read... [16:24:48]Read from MH i2c: D1 01 00 77 04 00 4C [16:24:48]Write to MH i2c: 01 00 00 78 04 7C [16:24:48]Write i2c OK [16:24:48]MH_I2C_Read... [16:24:48]OFD Sender: No OFD packet to send [16:24:49]*** Cut start [16:24:49]*** Purtial cut [16:24:49]*** Stage 1: CUTSNS_PIN = 1 [16:24:49]Read from MH i2c: 01 [16:24:49]MH_I2C_Read... [16:24:49]*** Stop cut motor [16:24:49]*** Cut end [16:24:49]Read from MH i2c: 01 07 00 [16:24:49]MH_I2C_Read... [16:24:49]Read from MH i2c: 01 07 00 78 04 00 00 00 00 00 FF 0F 91 [16:24:49]process_action close_receipt done [16:24:49]requested_data is exist [16:24:49]produce_requested_data [16:24:49]requested_item fm.sn is exist - process it [16:24:49]wFMCommunicate request_size=4 [16:24:49]MH_SAM_APDU [16:24:49]CAPDU: 80 11 00 00 [16:24:49]Write to MH i2c: E2 08 00 79 04 80 11 00 00 00 00 00 00 F7 [16:24:49]Write i2c OK [16:24:49]MH_I2C_Read... [16:24:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:24:49]Read from MH i2c: E2 [16:24:49]MH_I2C_Read... [16:24:49]Read from MH i2c: E2 17 00 [16:24:49]MH_I2C_Read... [16:24:49]Read from MH i2c: E2 17 00 79 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 4A [16:24:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [16:24:49]wFMCommunicate OK [16:24:49]requested_item fd.num is exist - process it [16:24:49]SAM_PROTO_GetFieldsCounters [16:24:49]wFMCommunicate request_size=4 [16:24:49]MH_SAM_APDU [16:24:49]CAPDU: 80 13 00 00 [16:24:49]Write to MH i2c: E2 08 00 7A 04 80 13 00 00 00 00 00 00 FA [16:24:49]Write i2c OK [16:24:49]MH_I2C_Read... [16:24:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:24:49]Read from MH i2c: E2 [16:24:49]MH_I2C_Read... [16:24:49]Read from MH i2c: E2 62 00 [16:24:49]MH_I2C_Read... [16:24:49]Read from MH i2c: E2 62 00 7A 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A0 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 DF [16:24: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A0 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:24:49]wFMCommunicate OK [16:24:49]SAM_PROTO_GetFieldsCounters done [16:24:49]requested_item shift.num is exist - process it [16:24:49]requested_item shift.opened is exist - process it [16:24:49]req_shift_opened [16:24:49]FM_GetShiftState [16:24:49]SAM_PROTO_GetShiftState [16:24:49]wFMCommunicate request_size=4 [16:24:49]MH_SAM_APDU [16:24:49]CAPDU: 80 13 01 00 [16:24:49]Write to MH i2c: E2 08 00 7B 04 80 13 01 00 00 00 00 00 FC [16:24:49]Write i2c OK [16:24:49]MH_I2C_Read... [16:24:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:24:49]Read from MH i2c: E2 [16:24:49]MH_I2C_Read... [16:24:49]Read from MH i2c: E2 0E 00 [16:24:49]MH_I2C_Read... [16:24:49]Read from MH i2c: E2 0E 00 7B 04 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 25 [16:24:49]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [16:24:49]wFMCommunicate OK [16:24:49]SAM_PROTO_GetShiftState done [16:24:49]FM_GetShiftState done [16:24:49]req_shift_opened done [16:24:49]requested_item shift.open_date is exist - process it [16:24:49]req_shift_open_date [16:24:49]req_shift_open_date done [16:24:49]produce_requested_data done [16:24:49]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52640,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [16:24:49]process_action_free close_receipt [16:24:49]json_value_free [16:24:49]json_value_free done [16:24:49]process_json_proto returns [16:24:49]Send response to host [16:24:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52640,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [16:24:49]free response buf [16:24:49]execute_script done [16:24:49]execute_script returns [16:24:49]free content buf [16:24:49]Sock 9.Close socket [16:24:49]Sock 9.Thread stoped [16:24:53]OFD Sender: No OFD packet to send [16:24:58]OFD Sender: No OFD packet to send [16:25:03]OFD Sender: No OFD packet to send [16:25:08]OFD Sender: No OFD packet to send [16:25:13]OFD Sender: No OFD packet to send [16:25:18]OFD Sender: No OFD packet to send [16:25:23]OFD Sender: No OFD packet to send [16:25:28]OFD Sender: No OFD packet to send [16:25:33]OFD Sender: No OFD packet to send [16:25:38]OFD Sender: No OFD packet to send [16:25:43]OFD Sender: No OFD packet to send [16:25:48]OFD Sender: No OFD packet to send [16:25:53]OFD Sender: No OFD packet to send [16:25:58]OFD Sender: No OFD packet to send [16:26:03]OFD Sender: No OFD packet to send [16:26:08]OFD Sender: No OFD packet to send [16:26:13]OFD Sender: No OFD packet to send [16:26:18]OFD Sender: No OFD packet to send [16:26:23]OFD Sender: No OFD packet to send [16:26:28]OFD Sender: No OFD packet to send [16:26:33]OFD Sender: No OFD packet to send [16:26:38]OFD Sender: No OFD packet to send [16:26:43]OFD Sender: No OFD packet to send [16:26:48]OFD Sender: No OFD packet to send [16:26:53]OFD Sender: No OFD packet to send [16:26:58]OFD Sender: No OFD packet to send [16:27:03]OFD Sender: No OFD packet to send [16:27:08]OFD Sender: No OFD packet to send [16:27:13]OFD Sender: No OFD packet to send [16:27:18]OFD Sender: No OFD packet to send [16:27:23]OFD Sender: No OFD packet to send [16:27:28]OFD Sender: No OFD packet to send [16:27:33]OFD Sender: No OFD packet to send [16:27:38]OFD Sender: No OFD packet to send [16:27:43]OFD Sender: No OFD packet to send [16:27:48]OFD Sender: No OFD packet to send [16:27:53]OFD Sender: No OFD packet to send [16:27:58]OFD Sender: No OFD packet to send [16:28:03]OFD Sender: No OFD packet to send [16:28:08]OFD Sender: No OFD packet to send [16:28:13]OFD Sender: No OFD packet to send [16:28:18]OFD Sender: No OFD packet to send [16:28:23]OFD Sender: No OFD packet to send [16:28:28]OFD Sender: No OFD packet to send [16:28:33]OFD Sender: No OFD packet to send [16:28:38]OFD Sender: No OFD packet to send [16:28:43]OFD Sender: No OFD packet to send [16:28:48]OFD Sender: No OFD packet to send [16:28:53]OFD Sender: No OFD packet to send [16:28:58]OFD Sender: No OFD packet to send [16:29:03]OFD Sender: No OFD packet to send [16:29:08]OFD Sender: No OFD packet to send [16:29:13]OFD Sender: No OFD packet to send [16:29:18]OFD Sender: No OFD packet to send [16:29:23]OFD Sender: No OFD packet to send [16:29:28]OFD Sender: No OFD packet to send [16:29:33]OFD Sender: No OFD packet to send [16:29:39]OFD Sender: No OFD packet to send [16:29:44]OFD Sender: No OFD packet to send [16:29:49]OFD Sender: No OFD packet to send [16:29:54]OFD Sender: No OFD packet to send [16:29:59]OFD Sender: No OFD packet to send [16:30:04]OFD Sender: No OFD packet to send [16:30:09]OFD Sender: No OFD packet to send [16:30:14]OFD Sender: No OFD packet to send [16:30:19]OFD Sender: No OFD packet to send [16:30:24]OFD Sender: No OFD packet to send [16:30:29]OFD Sender: No OFD packet to send [16:30:34]OFD Sender: No OFD packet to send [16:30:39]OFD Sender: No OFD packet to send [16:30:44]OFD Sender: No OFD packet to send [16:30:49]OFD Sender: No OFD packet to send [16:30:54]OFD Sender: No OFD packet to send [16:30:59]OFD Sender: No OFD packet to send [16:31:04]OFD Sender: No OFD packet to send [16:31:09]OFD Sender: No OFD packet to send [16:31:14]OFD Sender: No OFD packet to send [16:31:19]OFD Sender: No OFD packet to send [16:31:24]OFD Sender: No OFD packet to send [16:31:29]OFD Sender: No OFD packet to send [16:31:34]OFD Sender: No OFD packet to send [16:31:39]OFD Sender: No OFD packet to send [16:31:44]OFD Sender: No OFD packet to send [16:31:49]OFD Sender: No OFD packet to send [16:31:54]OFD Sender: No OFD packet to send [16:31:59]OFD Sender: No OFD packet to send [16:32:04]OFD Sender: No OFD packet to send [16:32:09]OFD Sender: No OFD packet to send [16:32:14]OFD Sender: No OFD packet to send [16:32:19]OFD Sender: No OFD packet to send [16:32:24]OFD Sender: No OFD packet to send [16:32:29]OFD Sender: No OFD packet to send [16:32:34]OFD Sender: No OFD packet to send [16:32:39]OFD Sender: No OFD packet to send [16:32:44]OFD Sender: No OFD packet to send [16:32:49]OFD Sender: No OFD packet to send [16:32:54]OFD Sender: No OFD packet to send [16:32:59]OFD Sender: No OFD packet to send [16:33:04]OFD Sender: No OFD packet to send [16:33:09]OFD Sender: No OFD packet to send [16:33:14]OFD Sender: No OFD packet to send [16:33:19]OFD Sender: No OFD packet to send [16:33:24]OFD Sender: No OFD packet to send [16:33:29]OFD Sender: No OFD packet to send [16:33:34]OFD Sender: No OFD packet to send [16:33:39]OFD Sender: No OFD packet to send [16:33:44]OFD Sender: No OFD packet to send [16:33:49]OFD Sender: No OFD packet to send [16:33:54]OFD Sender: No OFD packet to send [16:33:59]OFD Sender: No OFD packet to send [16:34:04]OFD Sender: No OFD packet to send [16:34:09]OFD Sender: No OFD packet to send [16:34:14]OFD Sender: No OFD packet to send [16:34:19]OFD Sender: No OFD packet to send [16:34:24]OFD Sender: No OFD packet to send [16:34:29]OFD Sender: No OFD packet to send [16:34:34]OFD Sender: No OFD packet to send [16:34:39]OFD Sender: No OFD packet to send [16:34:44]OFD Sender: No OFD packet to send [16:34:49]OFD Sender: No OFD packet to send [16:34:54]OFD Sender: No OFD packet to send [16:34:59]OFD Sender: No OFD packet to send [16:35:04]OFD Sender: No OFD packet to send [16:35:09]OFD Sender: No OFD packet to send [16:35:14]OFD Sender: No OFD packet to send [16:35:19]OFD Sender: No OFD packet to send [16:35:24]OFD Sender: No OFD packet to send [16:35:29]OFD Sender: No OFD packet to send [16:35:34]OFD Sender: No OFD packet to send [16:35:39]OFD Sender: No OFD packet to send [16:35:44]OFD Sender: No OFD packet to send [16:35:49]OFD Sender: No OFD packet to send [16:35:54]OFD Sender: No OFD packet to send [16:35:59]OFD Sender: No OFD packet to send [16:36:04]OFD Sender: No OFD packet to send [16:36:09]OFD Sender: No OFD packet to send [16:36:14]OFD Sender: No OFD packet to send [16:36:19]OFD Sender: No OFD packet to send [16:36:24]OFD Sender: No OFD packet to send [16:36:29]OFD Sender: No OFD packet to send [16:36:34]OFD Sender: No OFD packet to send [16:36:39]OFD Sender: No OFD packet to send [16:36:44]OFD Sender: No OFD packet to send [16:36:49]OFD Sender: No OFD packet to send [16:36:54]OFD Sender: No OFD packet to send [16:36:59]OFD Sender: No OFD packet to send [16:37:04]OFD Sender: No OFD packet to send [16:37:09]OFD Sender: No OFD packet to send [16:37:14]OFD Sender: No OFD packet to send [16:37:19]OFD Sender: No OFD packet to send [16:37:24]OFD Sender: No OFD packet to send [16:37:29]OFD Sender: No OFD packet to send [16:37:34]OFD Sender: No OFD packet to send [16:37:39]OFD Sender: No OFD packet to send [16:37:44]OFD Sender: No OFD packet to send [16:37:49]OFD Sender: No OFD packet to send [16:37:54]OFD Sender: No OFD packet to send [16:37:59]OFD Sender: No OFD packet to send [16:38:04]OFD Sender: No OFD packet to send [16:38:09]OFD Sender: No OFD packet to send [16:38:14]OFD Sender: No OFD packet to send [16:38:19]OFD Sender: No OFD packet to send [16:38:24]OFD Sender: No OFD packet to send [16:38:29]OFD Sender: No OFD packet to send [16:38:34]OFD Sender: No OFD packet to send [16:38:39]OFD Sender: No OFD packet to send [16:38:44]OFD Sender: No OFD packet to send [16:38:49]OFD Sender: No OFD packet to send [16:38:54]OFD Sender: No OFD packet to send [16:38:59]OFD Sender: No OFD packet to send [16:39:04]OFD Sender: No OFD packet to send [16:39:09]OFD Sender: No OFD packet to send [16:39:14]OFD Sender: No OFD packet to send [16:39:19]OFD Sender: No OFD packet to send [16:39:24]OFD Sender: No OFD packet to send [16:39:29]OFD Sender: No OFD packet to send [16:39:34]OFD Sender: No OFD packet to send [16:39:39]accept exits with 7 [16:39:39]New connection [16:39:39]New thread 3067293028 created [16:39:39]Thread 3067149668 joined [16:39:39]Waiting for new connection... [16:39:39] Sock 7.Parse request [16:39:39]Sock 7.Check first char [16:39:39]Sock 7.First char is OK [16:39:39]request: POST /json_proto HTTP/1.0 [16:39:39]Method: POST [16:39:39]URL: /json_proto [16:39:39]Method is POST - this is cgi request [16:39:39]url: /json_proto [16:39:39]query_string will be loaded in cgi processing [16:39:39]execute_cgi json_proto POST (null) [16:39:39]execute_cgi path=json_proto method=POST [16:39:39]POST find Content-Length [16:39:39]Host: 172.17.60.7:8080 [16:39:39]Content-Length: 1047 [16:39:39]Content-Type: application/json [16:39:39] [16:39:39]POST finish read [16:39:39]Found Content-Length = 1047 [16:39:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122772", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:39:39]execute_script... [16:39: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)122772", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:39:39]POST & json_proto [16:39:39]process_json_proto [16:39:39]json parsed OK: [16:39:39]protocol is kg_v1.0 [16:39:39]action value=close_receipt [16:39:39]process_action close_receipt [16:39:39]cmd_close_receipt [16:39:39]MH_GetDate [16:39:39]Write to MH i2c: F0 00 00 7C 04 6F [16:39:39]Write i2c OK [16:39:39]MH_I2C_Read... [16:39:39]Read from MH i2c: F0 [16:39:39]MH_I2C_Read... [16:39:39]Read from MH i2c: F0 09 00 [16:39:39]MH_I2C_Read... [16:39:39]Read from MH i2c: F0 09 00 7C 04 00 4C E9 B8 66 63 9B 67 64 94 [16:39:39]GetLastDocTimeStamp 1723393486 [16:39:39]current date 1723394380 [16:39:39]FM_GetShiftState [16:39:39]SAM_PROTO_GetShiftState [16:39:39]wFMCommunicate request_size=4 [16:39:39]MH_SAM_APDU [16:39:39]CAPDU: 80 13 01 00 [16:39:39]Write to MH i2c: E2 08 00 7D 04 80 13 01 00 00 00 00 00 FE [16:39:39]Write i2c OK [16:39:39]MH_I2C_Read... [16:39:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:39:39]Read from MH i2c: E2 [16:39:39]MH_I2C_Read... [16:39:39]Read from MH i2c: E2 0E 00 [16:39:39]MH_I2C_Read... [16:39:39]Read from MH i2c: E2 0E 00 7D 04 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 27 [16:39:39]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [16:39:39]wFMCommunicate OK [16:39:39]SAM_PROTO_GetShiftState done [16:39:39]FM_GetShiftState done [16:39:39]opened in 1723336186 [16:39:39]opened+sec_in_day 1723422586 [16:39:39]quantity*price = 5000 [16:39:39]sum+1 = 5001 [16:39:39]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743587 Сигареты Winston XStyle Silver 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 0.00 Безнал.: 190.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 52 11.08.2024 16:39 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874715 ФД: 52641 ФПД: 149521003583182 /tax-web-control/client/api/v1/ticket?date=20240811T163940&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52641&fm=149521003583182&tin=02508201610067®Number=0000000000090834&sum=19000 0 [16:39:40]StoreToDocumentArchive [16:39:40]shift 446 fd 52641 [16:39:40]save to /storage/0446/doc_00052641 [16:39:40]save last doc name /storage/0446/doc_00052641 to /storage/kkm_last_doc_name [16:39:40]save OK [16:39:40]Clear old archive folders... [16:39:40]ProcessDocumentItem done err = 0, tmpTLVsize=374 [16:39:40]tlvbuf is 012B44C0 [16:39:40]SAM_PROTO_ClearQueue [16:39:40]wFMCommunicate request_size=4 [16:39:40]MH_SAM_APDU [16:39:40]CAPDU: 80 09 00 00 [16:39:40]Write to MH i2c: E2 08 00 8A 04 80 09 00 00 00 00 00 00 00 [16:39:40]Write i2c OK [16:39:40]MH_I2C_Read... [16:39:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:39:40]Read from MH i2c: E2 [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: E2 03 00 [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: E2 03 00 8A 04 00 90 00 02 [16:39:40]RAPDU: 90 00 [16:39:40]wFMCommunicate OK [16:39:40]SAM_PROTO_ClearQueue done [16:39:40]KKMCreateOFDPacket [16:39:40]OFDProtocolAddRootSTLVToBuf [16:39:40]FM_MakeSignedData [16:39:40]FM_MakeSignedData [16:39:40]SAM_PROTO_SignData [16:39:40]wFMCommunicate request_size=4 [16:39:40]MH_SAM_APDU [16:39:40]CAPDU: 80 0D 01 02 [16:39:40]Write to MH i2c: E2 08 00 8B 04 80 0D 01 02 00 00 00 00 08 [16:39:40]Write i2c OK [16:39:40]MH_I2C_Read... [16:39:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:39:40]Read from MH i2c: E2 [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: E2 03 00 [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: E2 03 00 8B 04 00 90 00 03 [16:39:40]RAPDU: 90 00 [16:39:40]wFMCommunicate OK [16:39:40]wFMCommunicate request_size=255 [16:39:40]MH_SAM_APDU [16:39:40]CAPDU: 80 0D 02 02 FA 03 00 76 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 [16:39:40]Write to MH i2c: E2 02 01 8C 04 80 0D 02 02 FA 00 03 00 76 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 00 00 F4 [16:39:40]Write i2c OK [16:39:40]MH_I2C_Read... [16:39:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:39:40]Read from MH i2c: E2 [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: E2 03 00 [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: E2 03 00 8C 04 00 90 00 04 [16:39:40]RAPDU: 90 00 [16:39:40]wFMCommunicate OK [16:39:40]wFMCommunicate request_size=133 [16:39:40]MH_SAM_APDU [16:39:40]CAPDU: 80 0D 02 02 80 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 4C E9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A1 CD 00 00 35 04 06 00 87 FD 12 4E 16 CE [16:39:40]Write to MH i2c: E2 88 00 8D 04 80 0D 02 02 80 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 4C E9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A1 CD 00 00 35 04 06 00 87 FD 12 4E 16 CE 00 00 1E [16:39:40]Write i2c OK [16:39:40]MH_I2C_Read... [16:39:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:39:40]Read from MH i2c: E2 [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: E2 03 00 [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: E2 03 00 8D 04 00 90 00 05 [16:39:40]RAPDU: 90 00 [16:39:40]wFMCommunicate OK [16:39:40]wFMCommunicate request_size=4 [16:39:40]MH_SAM_APDU [16:39:40]CAPDU: 80 0D 03 02 [16:39:40]Write to MH i2c: E2 08 00 8E 04 80 0D 03 02 00 00 00 00 0D [16:39:40]Write i2c OK [16:39:40]MH_I2C_Read... [16:39:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:39:40]Read from MH i2c: E2 [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: E2 0B 00 [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: E2 0B 00 8E 04 00 02 7B 3D 6B 87 9C 25 A1 90 00 1C [16:39:40]RAPDU: 02 7B 3D 6B 87 9C 25 A1 90 00 [16:39:40]wFMCommunicate OK [16:39:40]SAM_PROTO_SignData done [16:39:40]FM_MakeSignedData done [16:39:40]CreateOFDProtocolMessage [16:39:40]wFMCommunicate request_size=4 [16:39:40]MH_SAM_APDU [16:39:40]CAPDU: 80 11 00 00 [16:39:40]Write to MH i2c: E2 08 00 8F 04 80 11 00 00 00 00 00 00 0D [16:39:40]Write i2c OK [16:39:40]MH_I2C_Read... [16:39:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:39:40]Read from MH i2c: E2 [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: E2 17 00 [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: E2 17 00 8F 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 60 [16:39:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [16:39:40]wFMCommunicate OK [16:39:40]CreateOFDProtocolMessage done [16:39:40]OFDSenderStorePacket 52641 [16:39:40]StoreOFDPacket docnum=52641 [16:39:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 8A 01 00 00 BF A8 82 01 82 14 5A 03 01 00 03 00 76 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 4C E9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A1 CD 00 00 35 04 06 00 87 FD 12 4E 16 CE 02 7B 3D 6B 87 9C 25 A1 [16:39:40]CheckFolder [16:39:40]dirname=/storage/ofd_packets [16:39:40]CheckFolder done [16:39:40]ProducePacketName [16:39:40]name=ofd_packets/00052641 [16:39:40]NVStorageSaveData ofd_packets/00052641 [16:39:40]File name is /storage/ofd_packets/00052641 [16:39:40]Write 424 bytes [16:39:40]NVStorageSaveData done [16:39:40]OFDSenderStorePacket done [16:39:40]KKMCreateOFDPacket done [16:39:40]NVStorageSaveData kkm_last_timestamp [16:39:40]File name is /storage/kkm_last_timestamp [16:39:40]Write 4 bytes [16:39:40]NVStorageSaveData done [16:39:40]ExternCall_PrintAddStr [16:39:40]wPrintStart [16:39:40]Write to MH i2c: 01 00 00 90 04 94 [16:39:40]Write i2c OK [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: 01 [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: 01 07 00 [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: 01 07 00 90 04 00 00 00 00 00 FF 0F A9 [16:39:40]RasterBufferAndPrint [16:39:40]line Счет N : (3)122772 [16:39:40]line ИНН: 02508201610067 [16:39:40]line Контрольно-Кассовый Чек [16:39:40]line ПРОДАЖА [16:39:40]line Товар: 4700000160358 [16:39:40]line Вода Легенда 1л [16:39:40]line 1.000 * 50.00 [16:39:40]line = 50.00 [16:39:40]line НДС 12% НСП 1% [16:39:40]line > о реализуемом товаре [16:39:40]line Товар: 48743587 [16:39:40]line Сигареты Winston XStyle Silver [16:39:40]line 1.000 * 140.00 [16:39:40]line = 140.00 [16:39:40]line НДС 12% НСП 1% [16:39:40]line > о реализуемом товаре [16:39:40]line ИТОГО: 190.00 [16:39:40]line НСП 1% : 1.68 [16:39:40]line НДС 12% : 20.18 [16:39:40]line Наличными: 0.00 [16:39:40]line Безнал.: 190.00 [16:39:40]line Место: АЗС № 54 "Партнер Нефть" [16:39:40]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [16:39:40]line СНО: Общий режим [16:39:40]line Чек 52 11.08.2024 16:39 [16:39:40]line Смена: 446 ФФД: 1.0 [16:39:40]line ЗНМ: 0300000007 [16:39:40]line РНМ: 0000000000090834 [16:39:40]line Версия ККМ: 001 [16:39:41]line Платежная система: Бакай Банк [16:39:41]line ФМ: 0000000000874715 [16:39:41]line ФД: 52641 [16:39:41]line ФПД: 149521003583182 [16:39:41]line /tax-web-control/client/api/v1/ticket?date=20240811T163940&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52641&fm=149521003583182&tin=02508201610067®Number=0000000000090834&sum=19000 [16:39:41]line 0 [16:39:41]OFD Sender: Processing packet 52641 [packets to send 55, broken 54] [16:39:41]ProducePacketName [16:39:41]name=ofd_packets/00052641 [16:39:41]OFD Sender: To server: pG, [16:39:41]CommunicateWithHost lk.salyk.kg:30040 [16:39:41]ConnectInit lk.salyk.kg [16:39:41]written 0, free lines is 4095 [16:39:41]Connected sock=10 [16:39:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 8A 01 00 00 BF A8 82 01 82 14 5A 03 01 00 03 00 76 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 4C E9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A1 CD 00 00 35 04 06 00 87 FD 12 4E 16 CE 02 7B 3D 6B 87 9C 25 A1 [16:39:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 6F E3 47 00 90 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 34 37 31 35 10 04 04 00 A1 CD 00 00 F4 03 04 00 E7 90 B8 66 B6 04 01 00 00 2B 1F 10 0B 65 B8 91 1E [16:39:41]CommunicateWithHost err = 0 [16:39:41]CheckOFDResponse [16:39:41]1017 (14) - 77093643461234 [16:39:41]1041 (16) - 0000000000874715 [16:39:41]1040 (4) - 52641 [16:39:41]1012 (4) - 11.08.2024 10:22 [16:39:41]1206 (1) - 0 [16:39:41]OFD Sender: Remove packet 52641 [16:39:41]ProducePacketName [16:39:41]name=ofd_packets/00052641 [16:39:41]NVStorageDeleteData [16:39:41]Write to MH i2c: 01 00 00 C0 04 C4 [16:39:41]Write i2c OK [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: 01 [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: 01 07 00 [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: 01 07 00 C0 04 00 00 00 00 00 5C 0C 33 [16:39:41]RasterBufferAndPrint [16:39:41]line [16:39:41]line [16:39:41]line [16:39:41]line [16:39:41]line [16:39:41]written 0, free lines is 3169 [16:39:41]MH_Cut [16:39:41]Write to MH i2c: D1 01 00 C7 04 01 9D [16:39:41]Write i2c OK [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: D1 [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: D1 01 00 [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: D1 01 00 C7 04 00 9C [16:39:41]Write to MH i2c: 01 00 00 C8 04 CC [16:39:41]Write i2c OK [16:39:41]MH_I2C_Read... [16:39:42]OFD Sender: No OFD packet to send [16:39:42]*** Cut start [16:39:42]*** Purtial cut [16:39:42]*** Stage 1: CUTSNS_PIN = 1 [16:39:42]Read from MH i2c: 01 [16:39:42]MH_I2C_Read... [16:39:42]*** Stop cut motor [16:39:42]*** Cut end [16:39:42]Read from MH i2c: 01 07 00 [16:39:42]MH_I2C_Read... [16:39:42]Read from MH i2c: 01 07 00 C8 04 00 00 00 00 00 FF 0F E1 [16:39:42]process_action close_receipt done [16:39:42]requested_data is exist [16:39:42]produce_requested_data [16:39:42]requested_item fm.sn is exist - process it [16:39:42]wFMCommunicate request_size=4 [16:39:42]MH_SAM_APDU [16:39:42]CAPDU: 80 11 00 00 [16:39:42]Write to MH i2c: E2 08 00 C9 04 80 11 00 00 00 00 00 00 47 [16:39:42]Write i2c OK [16:39:42]MH_I2C_Read... [16:39:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:39:42]Read from MH i2c: E2 [16:39:42]MH_I2C_Read... [16:39:42]Read from MH i2c: E2 17 00 [16:39:42]MH_I2C_Read... [16:39:42]Read from MH i2c: E2 17 00 C9 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 9A [16:39:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [16:39:42]wFMCommunicate OK [16:39:42]requested_item fd.num is exist - process it [16:39:42]SAM_PROTO_GetFieldsCounters [16:39:42]wFMCommunicate request_size=4 [16:39:42]MH_SAM_APDU [16:39:42]CAPDU: 80 13 00 00 [16:39:42]Write to MH i2c: E2 08 00 CA 04 80 13 00 00 00 00 00 00 4A [16:39:42]Write i2c OK [16:39:42]MH_I2C_Read... [16:39:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:39:43]Read from MH i2c: E2 [16:39:43]MH_I2C_Read... [16:39:43]Read from MH i2c: E2 62 00 [16:39:43]MH_I2C_Read... [16:39:43]Read from MH i2c: E2 62 00 CA 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A1 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 33 [16:39: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A1 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:39:43]wFMCommunicate OK [16:39:43]SAM_PROTO_GetFieldsCounters done [16:39:43]requested_item shift.num is exist - process it [16:39:43]requested_item shift.opened is exist - process it [16:39:43]req_shift_opened [16:39:43]FM_GetShiftState [16:39:43]SAM_PROTO_GetShiftState [16:39:43]wFMCommunicate request_size=4 [16:39:43]MH_SAM_APDU [16:39:43]CAPDU: 80 13 01 00 [16:39:43]Write to MH i2c: E2 08 00 CB 04 80 13 01 00 00 00 00 00 4C [16:39:43]Write i2c OK [16:39:43]MH_I2C_Read... [16:39:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:39:43]Read from MH i2c: E2 [16:39:43]MH_I2C_Read... [16:39:43]Read from MH i2c: E2 0E 00 [16:39:43]MH_I2C_Read... [16:39:43]Read from MH i2c: E2 0E 00 CB 04 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 75 [16:39:43]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [16:39:43]wFMCommunicate OK [16:39:43]SAM_PROTO_GetShiftState done [16:39:43]FM_GetShiftState done [16:39:43]req_shift_opened done [16:39:43]requested_item shift.open_date is exist - process it [16:39:43]req_shift_open_date [16:39:43]req_shift_open_date done [16:39:43]produce_requested_data done [16:39:43]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52641,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [16:39:43]process_action_free close_receipt [16:39:43]json_value_free [16:39:43]json_value_free done [16:39:43]process_json_proto returns [16:39:43]Send response to host [16:39:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52641,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [16:39:43]free response buf [16:39:43]execute_script done [16:39:43]execute_script returns [16:39:43]free content buf [16:39:43]Sock 7.Close socket [16:39:43]Sock 7.Thread stoped [16:39:47]OFD Sender: No OFD packet to send [16:39:52]OFD Sender: No OFD packet to send [16:39:54]accept exits with 9 [16:39:54]New connection [16:39:54]New thread 3067149668 created [16:39:54]Thread 3067293028 joined [16:39:54]Waiting for new connection... [16:39:54] Sock 9.Parse request [16:39:54]Sock 9.Check first char [16:39:54]Sock 9.First char is OK [16:39:54]request: POST /json_proto HTTP/1.0 [16:39:54]Method: POST [16:39:54]URL: /json_proto [16:39:54]Method is POST - this is cgi request [16:39:54]url: /json_proto [16:39:54]query_string will be loaded in cgi processing [16:39:54]execute_cgi json_proto POST (null) [16:39:54]execute_cgi path=json_proto method=POST [16:39:54]POST find Content-Length [16:39:54]Host: 172.17.60.7:8080 [16:39:54]Content-Length: 787 [16:39:54]Content-Type: application/json [16:39:54] [16:39:54]POST finish read [16:39:54]Found Content-Length = 787 [16:39:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122773", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:39:54]execute_script... [16:39: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)122773", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:39:54]POST & json_proto [16:39:54]process_json_proto [16:39:54]json parsed OK: [16:39:54]protocol is kg_v1.0 [16:39:54]action value=close_receipt [16:39:54]process_action close_receipt [16:39:54]cmd_close_receipt [16:39:54]MH_GetDate [16:39:54]Write to MH i2c: F0 00 00 CC 04 BF [16:39:54]Write i2c OK [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: F0 [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: F0 09 00 [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: F0 09 00 CC 04 00 5C E9 B8 66 63 9B 67 64 F4 [16:39:54]GetLastDocTimeStamp 1723394380 [16:39:54]current date 1723394396 [16:39:54]FM_GetShiftState [16:39:54]SAM_PROTO_GetShiftState [16:39:54]wFMCommunicate request_size=4 [16:39:54]MH_SAM_APDU [16:39:54]CAPDU: 80 13 01 00 [16:39:54]Write to MH i2c: E2 08 00 CD 04 80 13 01 00 00 00 00 00 4E [16:39:54]Write i2c OK [16:39:54]MH_I2C_Read... [16:39:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:39:54]Read from MH i2c: E2 [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: E2 0E 00 [16:39:54]MH_I2C_Read... [16:39:54]Read from MH i2c: E2 0E 00 CD 04 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 77 [16:39:54]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [16:39:54]wFMCommunicate OK [16:39:54]SAM_PROTO_GetShiftState done [16:39:54]FM_GetShiftState done [16:39:54]opened in 1723336186 [16:39:54]opened+sec_in_day 1723422586 [16:39:54]quantity*price = 14000 [16:39:54]sum+1 = 14001 [16:39:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 53 11.08.2024 16:39 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52642 ФПД: 24761919955018 /tax-web-control/client/api/v1/ticket?date=20240811T163956&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52642&fm=24761919955018&tin=02508201610067®Number=0000000000090834&sum=14000 0 [16:39:55]StoreToDocumentArchive [16:39:55]shift 446 fd 52642 [16:39:55]save to /storage/0446/doc_00052642 [16:39:55]save last doc name /storage/0446/doc_00052642 to /storage/kkm_last_doc_name [16:39:55]save OK [16:39:55]Clear old archive folders... [16:39:55]ProcessDocumentItem done err = 0, tmpTLVsize=273 [16:39:55]tlvbuf is 012565E0 [16:39:55]SAM_PROTO_ClearQueue [16:39:55]wFMCommunicate request_size=4 [16:39:55]MH_SAM_APDU [16:39:55]CAPDU: 80 09 00 00 [16:39:55]Write to MH i2c: E2 08 00 DA 04 80 09 00 00 00 00 00 00 50 [16:39:55]Write i2c OK [16:39:55]MH_I2C_Read... [16:39:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:39:56]Read from MH i2c: E2 [16:39:56]MH_I2C_Read... [16:39:56]Read from MH i2c: E2 03 00 [16:39:56]MH_I2C_Read... [16:39:56]Read from MH i2c: E2 03 00 DA 04 00 90 00 52 [16:39:56]RAPDU: 90 00 [16:39:56]wFMCommunicate OK [16:39:56]SAM_PROTO_ClearQueue done [16:39:56]KKMCreateOFDPacket [16:39:56]OFDProtocolAddRootSTLVToBuf [16:39:56]FM_MakeSignedData [16:39:56]FM_MakeSignedData [16:39:56]SAM_PROTO_SignData [16:39:56]wFMCommunicate request_size=4 [16:39:56]MH_SAM_APDU [16:39:56]CAPDU: 80 0D 01 02 [16:39:56]Write to MH i2c: E2 08 00 DB 04 80 0D 01 02 00 00 00 00 58 [16:39:56]Write i2c OK [16:39:56]MH_I2C_Read... [16:39:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:39:56]Read from MH i2c: E2 [16:39:56]MH_I2C_Read... [16:39:56]Read from MH i2c: E2 03 00 [16:39:56]MH_I2C_Read... [16:39:56]Read from MH i2c: E2 03 00 DB 04 00 90 00 53 [16:39:56]RAPDU: 90 00 [16:39:56]wFMCommunicate OK [16:39:56]wFMCommunicate request_size=255 [16:39:56]MH_SAM_APDU [16:39:56]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 5C E9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 [16:39:56]Write to MH i2c: E2 02 01 DC 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 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 5C E9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 00 00 8F [16:39:56]Write i2c OK [16:39:56]MH_I2C_Read... [16:39:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:39:56]Read from MH i2c: E2 [16:39:56]MH_I2C_Read... [16:39:56]Read from MH i2c: E2 03 00 [16:39:56]MH_I2C_Read... [16:39:56]Read from MH i2c: E2 03 00 DC 04 00 90 00 54 [16:39:56]RAPDU: 90 00 [16:39:56]wFMCommunicate OK [16:39:56]wFMCommunicate request_size=32 [16:39:56]MH_SAM_APDU [16:39:56]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 37 31 35 10 04 04 00 A2 CD 00 00 35 04 06 00 16 85 55 71 60 4A [16:39:56]Write to MH i2c: E2 23 00 DD 04 80 0D 02 02 1B 00 30 30 30 38 37 34 37 31 35 10 04 04 00 A2 CD 00 00 35 04 06 00 16 85 55 71 60 4A 00 00 32 [16:39:56]Write i2c OK [16:39:56]MH_I2C_Read... [16:39:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:39:56]Read from MH i2c: E2 [16:39:56]MH_I2C_Read... [16:39:56]Read from MH i2c: E2 03 00 [16:39:56]MH_I2C_Read... [16:39:56]Read from MH i2c: E2 03 00 DD 04 00 90 00 55 [16:39:56]RAPDU: 90 00 [16:39:56]wFMCommunicate OK [16:39:56]wFMCommunicate request_size=4 [16:39:56]MH_SAM_APDU [16:39:56]CAPDU: 80 0D 03 02 [16:39:56]Write to MH i2c: E2 08 00 DE 04 80 0D 03 02 00 00 00 00 5D [16:39:56]Write i2c OK [16:39:56]MH_I2C_Read... [16:39:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:39:56]Read from MH i2c: E2 [16:39:56]MH_I2C_Read... [16:39:56]Read from MH i2c: E2 0B 00 [16:39:56]MH_I2C_Read... [16:39:56]Read from MH i2c: E2 0B 00 DE 04 00 C0 69 76 9E 9E 6D BC 89 90 00 EB [16:39:56]RAPDU: C0 69 76 9E 9E 6D BC 89 90 00 [16:39:56]wFMCommunicate OK [16:39:56]SAM_PROTO_SignData done [16:39:56]FM_MakeSignedData done [16:39:56]CreateOFDProtocolMessage [16:39:56]wFMCommunicate request_size=4 [16:39:56]MH_SAM_APDU [16:39:56]CAPDU: 80 11 00 00 [16:39:56]Write to MH i2c: E2 08 00 DF 04 80 11 00 00 00 00 00 00 5D [16:39:56]Write i2c OK [16:39:56]MH_I2C_Read... [16:39:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:39:56]Read from MH i2c: E2 [16:39:56]MH_I2C_Read... [16:39:56]Read from MH i2c: E2 17 00 [16:39:56]MH_I2C_Read... [16:39:56]Read from MH i2c: E2 17 00 DF 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 B0 [16:39:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [16:39:56]wFMCommunicate OK [16:39:56]CreateOFDProtocolMessage done [16:39:56]OFDSenderStorePacket 52642 [16:39:56]StoreOFDPacket docnum=52642 [16:39:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 25 01 00 00 21 3F 1D 01 0E 72 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 5C E9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A2 CD 00 00 35 04 06 00 16 85 55 71 60 4A C0 69 76 9E 9E 6D BC 89 [16:39:56]CheckFolder [16:39:56]dirname=/storage/ofd_packets [16:39:56]CheckFolder done [16:39:56]ProducePacketName [16:39:56]name=ofd_packets/00052642 [16:39:56]NVStorageSaveData ofd_packets/00052642 [16:39:56]File name is /storage/ofd_packets/00052642 [16:39:56]Write 323 bytes [16:39:56]NVStorageSaveData done [16:39:56]OFDSenderStorePacket done [16:39:56]KKMCreateOFDPacket done [16:39:56]NVStorageSaveData kkm_last_timestamp [16:39:56]File name is /storage/kkm_last_timestamp [16:39:56]Write 4 bytes [16:39:56]NVStorageSaveData done [16:39:56]ExternCall_PrintAddStr [16:39:56]wPrintStart [16:39:56]Write to MH i2c: 01 00 00 E0 04 E4 [16:39:56]Write i2c OK [16:39:56]MH_I2C_Read... [16:39:56]Read from MH i2c: 01 [16:39:56]MH_I2C_Read... [16:39:56]Read from MH i2c: 01 07 00 [16:39:56]MH_I2C_Read... [16:39:56]Read from MH i2c: 01 07 00 E0 04 00 00 00 00 00 FF 0F F9 [16:39:56]RasterBufferAndPrint [16:39:56]line Счет N : (3)122773 [16:39:56]line ИНН: 02508201610067 [16:39:56]line Контрольно-Кассовый Чек [16:39:56]line ПРОДАЖА [16:39:56]line Товар: 48747059 [16:39:56]line Сигареты Winston Legend Blue [16:39:56]line 1.000 * 140.00 [16:39:56]line = 140.00 [16:39:56]line НДС 12% НСП 1% [16:39:56]line > о реализуемом товаре [16:39:56]line ИТОГО: 140.00 [16:39:56]line НСП 1% : 1.24 [16:39:56]line НДС 12% : 14.87 [16:39:56]line Наличными: 0.00 [16:39:56]line Безнал.: 140.00 [16:39:56]line Место: АЗС № 54 "Партнер Нефть" [16:39:56]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [16:39:56]line СНО: Общий режим [16:39:56]line Чек 53 11.08.2024 16:39 [16:39:56]line Смена: 446 ФФД: 1.0 [16:39:56]line ЗНМ: 0300000007 [16:39:56]line РНМ: 0000000000090834 [16:39:56]line Версия ККМ: 001 [16:39:56]line Платежная система: О! деньги [16:39:56]line ФМ: 0000000000874715 [16:39:56]line ФД: 52642 [16:39:56]line ФПД: 24761919955018 [16:39:56]line /tax-web-control/client/api/v1/ticket?date=20240811T163956&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52642&fm=24761919955018&tin=02508201610067®Number=0000000000090834&sum=14000 [16:39:56]OFD Sender: Processing packet 52642 [packets to send 55, broken 54] [16:39:56]ProducePacketName [16:39:56]name=ofd_packets/00052642 [16:39:56]OFD Sender: To server: pG, [16:39:56]CommunicateWithHost lk.salyk.kg:30040 [16:39:56]ConnectInit lk.salyk.kg [16:39:56]line 0 [16:39:56]written 0, free lines is 4095 [16:39:57]Connected sock=11 [16:39:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 25 01 00 00 21 3F 1D 01 0E 72 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 5C E9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A2 CD 00 00 35 04 06 00 16 85 55 71 60 4A C0 69 76 9E 9E 6D BC 89 [16:39:57]Write to MH i2c: 01 00 00 0A 05 0F [16:39:57]Write i2c OK [16:39:57]MH_I2C_Read... [16:39:57]Read from MH i2c: 01 [16:39:57]MH_I2C_Read... [16:39:57]Read from MH i2c: 01 07 00 [16:39:57]MH_I2C_Read... [16:39:57]Read from MH i2c: 01 07 00 0A 05 00 00 00 00 00 B2 0C D4 [16:39:57]RasterBufferAndPrint [16:39:57]line [16:39:57]line [16:39:57]line [16:39:57]line [16:39:57]line [16:39:57]written 0, free lines is 3256 [16:39:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 07 69 47 00 E0 A2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A2 CD 00 00 F4 03 04 00 F6 90 B8 66 B6 04 01 00 00 80 AB 30 74 95 30 BD C2 [16:39:57]CommunicateWithHost err = 0 [16:39:57]CheckOFDResponse [16:39:57]1017 (14) - 77093643461234 [16:39:57]1041 (16) - 0000000000874715 [16:39:57]1040 (4) - 52642 [16:39:57]1012 (4) - 11.08.2024 10:22 [16:39:57]1206 (1) - 0 [16:39:57]OFD Sender: Remove packet 52642 [16:39:57]ProducePacketName [16:39:57]name=ofd_packets/00052642 [16:39:57]NVStorageDeleteData [16:39:57]MH_Cut [16:39:57]Write to MH i2c: D1 01 00 11 05 01 E8 [16:39:57]Write i2c OK [16:39:57]MH_I2C_Read... [16:39:57]Read from MH i2c: D1 [16:39:57]MH_I2C_Read... [16:39:57]Read from MH i2c: D1 01 00 [16:39:57]MH_I2C_Read... [16:39:57]Read from MH i2c: D1 01 00 11 05 00 E7 [16:39:57]Write to MH i2c: 01 00 00 12 05 17 [16:39:57]Write i2c OK [16:39:57]MH_I2C_Read... [16:39:57]OFD Sender: No OFD packet to send [16:39:58]*** Cut start [16:39:58]*** Purtial cut [16:39:58]*** Stage 1: CUTSNS_PIN = 1 [16:39:58]Read from MH i2c: 01 [16:39:58]MH_I2C_Read... [16:39:58]*** Stop cut motor [16:39:58]*** Cut end [16:39:58]Read from MH i2c: 01 07 00 [16:39:58]MH_I2C_Read... [16:39:58]Read from MH i2c: 01 07 00 12 05 00 00 00 00 00 FF 0F 2C [16:39:58]process_action close_receipt done [16:39:58]requested_data is exist [16:39:58]produce_requested_data [16:39:58]requested_item fm.sn is exist - process it [16:39:58]wFMCommunicate request_size=4 [16:39:58]MH_SAM_APDU [16:39:58]CAPDU: 80 11 00 00 [16:39:58]Write to MH i2c: E2 08 00 13 05 80 11 00 00 00 00 00 00 92 [16:39:58]Write i2c OK [16:39:58]MH_I2C_Read... [16:39:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:39:58]Read from MH i2c: E2 [16:39:58]MH_I2C_Read... [16:39:58]Read from MH i2c: E2 17 00 [16:39:58]MH_I2C_Read... [16:39:58]Read from MH i2c: E2 17 00 13 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 E5 [16:39:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [16:39:58]wFMCommunicate OK [16:39:58]requested_item fd.num is exist - process it [16:39:58]SAM_PROTO_GetFieldsCounters [16:39:58]wFMCommunicate request_size=4 [16:39:58]MH_SAM_APDU [16:39:58]CAPDU: 80 13 00 00 [16:39:58]Write to MH i2c: E2 08 00 14 05 80 13 00 00 00 00 00 00 95 [16:39:58]Write i2c OK [16:39:58]MH_I2C_Read... [16:39:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:39:58]Read from MH i2c: E2 [16:39:58]MH_I2C_Read... [16:39:58]Read from MH i2c: E2 62 00 [16:39:58]MH_I2C_Read... [16:39:58]Read from MH i2c: E2 62 00 14 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A2 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 82 [16:39: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A2 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:39:58]wFMCommunicate OK [16:39:58]SAM_PROTO_GetFieldsCounters done [16:39:58]requested_item shift.num is exist - process it [16:39:58]requested_item shift.opened is exist - process it [16:39:58]req_shift_opened [16:39:58]FM_GetShiftState [16:39:58]SAM_PROTO_GetShiftState [16:39:58]wFMCommunicate request_size=4 [16:39:58]MH_SAM_APDU [16:39:58]CAPDU: 80 13 01 00 [16:39:58]Write to MH i2c: E2 08 00 15 05 80 13 01 00 00 00 00 00 97 [16:39:58]Write i2c OK [16:39:58]MH_I2C_Read... [16:39:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:39:58]Read from MH i2c: E2 [16:39:58]MH_I2C_Read... [16:39:58]Read from MH i2c: E2 0E 00 [16:39:58]MH_I2C_Read... [16:39:58]Read from MH i2c: E2 0E 00 15 05 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 C0 [16:39:58]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [16:39:58]wFMCommunicate OK [16:39:58]SAM_PROTO_GetShiftState done [16:39:58]FM_GetShiftState done [16:39:58]req_shift_opened done [16:39:58]requested_item shift.open_date is exist - process it [16:39:58]req_shift_open_date [16:39:58]req_shift_open_date done [16:39:58]produce_requested_data done [16:39:58]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52642,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [16:39:58]process_action_free close_receipt [16:39:58]json_value_free [16:39:58]json_value_free done [16:39:58]process_json_proto returns [16:39:58]Send response to host [16:39:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52642,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [16:39:58]free response buf [16:39:58]execute_script done [16:39:58]execute_script returns [16:39:58]free content buf [16:39:58]Sock 9.Close socket [16:39:58]Sock 9.Thread stoped [16:40:02]OFD Sender: No OFD packet to send [16:40:07]OFD Sender: No OFD packet to send [16:40:12]OFD Sender: No OFD packet to send [16:40:17]OFD Sender: No OFD packet to send [16:40:22]OFD Sender: No OFD packet to send [16:40:27]OFD Sender: No OFD packet to send [16:40:32]OFD Sender: No OFD packet to send [16:40:37]OFD Sender: No OFD packet to send [16:40:42]OFD Sender: No OFD packet to send [16:40:47]OFD Sender: No OFD packet to send [16:40:52]OFD Sender: No OFD packet to send [16:40:57]OFD Sender: No OFD packet to send [16:41:02]OFD Sender: No OFD packet to send [16:41:07]OFD Sender: No OFD packet to send [16:41:12]OFD Sender: No OFD packet to send [16:41:17]OFD Sender: No OFD packet to send [16:41:22]OFD Sender: No OFD packet to send [16:41:27]OFD Sender: No OFD packet to send [16:41:32]OFD Sender: No OFD packet to send [16:41:37]OFD Sender: No OFD packet to send [16:41:42]OFD Sender: No OFD packet to send [16:41:47]OFD Sender: No OFD packet to send [16:41:52]OFD Sender: No OFD packet to send [16:41:57]OFD Sender: No OFD packet to send [16:42:02]OFD Sender: No OFD packet to send [16:42:07]OFD Sender: No OFD packet to send [16:42:12]OFD Sender: No OFD packet to send [16:42:17]OFD Sender: No OFD packet to send [16:42:22]OFD Sender: No OFD packet to send [16:42:27]OFD Sender: No OFD packet to send [16:42:32]OFD Sender: No OFD packet to send [16:42:37]OFD Sender: No OFD packet to send [16:42:42]OFD Sender: No OFD packet to send [16:42:47]OFD Sender: No OFD packet to send [16:42:52]OFD Sender: No OFD packet to send [16:42:57]OFD Sender: No OFD packet to send [16:43:02]OFD Sender: No OFD packet to send [16:43:08]OFD Sender: No OFD packet to send [16:43:13]OFD Sender: No OFD packet to send [16:43:18]OFD Sender: No OFD packet to send [16:43:23]OFD Sender: No OFD packet to send [16:43:28]OFD Sender: No OFD packet to send [16:43:33]OFD Sender: No OFD packet to send [16:43:38]OFD Sender: No OFD packet to send [16:43:43]OFD Sender: No OFD packet to send [16:43:48]OFD Sender: No OFD packet to send [16:43:53]OFD Sender: No OFD packet to send [16:43:58]OFD Sender: No OFD packet to send [16:43:59]accept exits with 7 [16:43:59]New connection [16:43:59]New thread 3067293028 created [16:43:59]Thread 3067149668 joined [16:43:59]Waiting for new connection... [16:43:59] Sock 7.Parse request [16:43:59]Sock 7.Check first char [16:43:59]Sock 7.First char is OK [16:43:59]request: POST /json_proto HTTP/1.0 [16:43:59]Method: POST [16:43:59]URL: /json_proto [16:43:59]Method is POST - this is cgi request [16:43:59]url: /json_proto [16:43:59]query_string will be loaded in cgi processing [16:43:59]execute_cgi json_proto POST (null) [16:43:59]execute_cgi path=json_proto method=POST [16:43:59]POST find Content-Length [16:43:59]Host: 172.17.60.7:8080 [16:43:59]Content-Length: 831 [16:43:59]Content-Type: application/json [16:43:59] [16:43:59]POST finish read [16:43:59]Found Content-Length = 831 [16:43:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122774", "tax_sys" : 0, "items" : [ { "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:43:59]execute_script... [16:43: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)122774", "tax_sys" : 0, "items" : [ { "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:43:59]POST & json_proto [16:43:59]process_json_proto [16:43:59]json parsed OK: [16:43:59]protocol is kg_v1.0 [16:43:59]action value=close_receipt [16:43:59]process_action close_receipt [16:43:59]cmd_close_receipt [16:43:59]MH_GetDate [16:43:59]Write to MH i2c: F0 00 00 16 05 0A [16:43:59]Write i2c OK [16:43:59]MH_I2C_Read... [16:43:59]Read from MH i2c: F0 [16:43:59]MH_I2C_Read... [16:43:59]Read from MH i2c: F0 09 00 [16:43:59]MH_I2C_Read... [16:43:59]Read from MH i2c: F0 09 00 16 05 00 51 EA B8 66 63 9B 67 64 35 [16:43:59]GetLastDocTimeStamp 1723394396 [16:43:59]current date 1723394641 [16:43:59]FM_GetShiftState [16:43:59]SAM_PROTO_GetShiftState [16:43:59]wFMCommunicate request_size=4 [16:43:59]MH_SAM_APDU [16:43:59]CAPDU: 80 13 01 00 [16:43:59]Write to MH i2c: E2 08 00 17 05 80 13 01 00 00 00 00 00 99 [16:43:59]Write i2c OK [16:43:59]MH_I2C_Read... [16:43:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:43:59]Read from MH i2c: E2 [16:43:59]MH_I2C_Read... [16:43:59]Read from MH i2c: E2 0E 00 [16:43:59]MH_I2C_Read... [16:43:59]Read from MH i2c: E2 0E 00 17 05 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 C2 [16:43:59]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [16:43:59]wFMCommunicate OK [16:43:59]SAM_PROTO_GetShiftState done [16:43:59]FM_GetShiftState done [16:43:59]opened in 1723336186 [16:43:59]opened+sec_in_day 1723422586 [16:43:59]quantity*price = 9500 [16:43:59]sum+1 = 9501 [16:43:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 54 11.08.2024 16:44 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52643 ФПД: 203603942792776 /tax-web-control/client/api/v1/ticket?date=20240811T164401&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52643&fm=203603942792776&tin=02508201610067®Number=0000000000090834&sum=9500 0 [16:44:01]StoreToDocumentArchive [16:44:01]shift 446 fd 52643 [16:44:01]save to /storage/0446/doc_00052643 [16:44:01]save last doc name /storage/0446/doc_00052643 to /storage/kkm_last_doc_name [16:44:01]save OK [16:44:01]Clear old archive folders... [16:44:01]ProcessDocumentItem done err = 0, tmpTLVsize=296 [16:44:01]tlvbuf is 01298D60 [16:44:01]SAM_PROTO_ClearQueue [16:44:01]wFMCommunicate request_size=4 [16:44:01]MH_SAM_APDU [16:44:01]CAPDU: 80 09 00 00 [16:44:01]Write to MH i2c: E2 08 00 24 05 80 09 00 00 00 00 00 00 9B [16:44:01]Write i2c OK [16:44:01]MH_I2C_Read... [16:44:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:44:01]Read from MH i2c: E2 [16:44:01]MH_I2C_Read... [16:44:01]Read from MH i2c: E2 03 00 [16:44:01]MH_I2C_Read... [16:44:01]Read from MH i2c: E2 03 00 24 05 00 90 00 9D [16:44:01]RAPDU: 90 00 [16:44:01]wFMCommunicate OK [16:44:01]SAM_PROTO_ClearQueue done [16:44:01]KKMCreateOFDPacket [16:44:01]OFDProtocolAddRootSTLVToBuf [16:44:01]FM_MakeSignedData [16:44:01]FM_MakeSignedData [16:44:01]SAM_PROTO_SignData [16:44:01]wFMCommunicate request_size=4 [16:44:01]MH_SAM_APDU [16:44:01]CAPDU: 80 0D 01 02 [16:44:01]Write to MH i2c: E2 08 00 25 05 80 0D 01 02 00 00 00 00 A3 [16:44:01]Write i2c OK [16:44:01]MH_I2C_Read... [16:44:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:44:01]Read from MH i2c: E2 [16:44:01]MH_I2C_Read... [16:44:01]Read from MH i2c: E2 03 00 [16:44:01]MH_I2C_Read... [16:44:01]Read from MH i2c: E2 03 00 25 05 00 90 00 9E [16:44:01]RAPDU: 90 00 [16:44:01]wFMCommunicate OK [16:44:01]wFMCommunicate request_size=255 [16:44:01]MH_SAM_APDU [16:44:01]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 36 00 00 00 F4 03 04 00 51 EA B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [16:44:01]Write to MH i2c: E2 02 01 26 05 80 0D 02 02 FA 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 36 00 00 00 F4 03 04 00 51 EA B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 71 [16:44:01]Write i2c OK [16:44:01]MH_I2C_Read... [16:44:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:44:01]Read from MH i2c: E2 [16:44:01]MH_I2C_Read... [16:44:01]Read from MH i2c: E2 03 00 [16:44:01]MH_I2C_Read... [16:44:01]Read from MH i2c: E2 03 00 26 05 00 90 00 9F [16:44:01]RAPDU: 90 00 [16:44:01]wFMCommunicate OK [16:44:01]wFMCommunicate request_size=55 [16:44:01]MH_SAM_APDU [16:44:01]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A3 CD 00 00 35 04 06 00 B9 2D 3C AF 5E 48 [16:44:01]Write to MH i2c: E2 3A 00 27 05 80 0D 02 02 32 00 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A3 CD 00 00 35 04 06 00 B9 2D 3C AF 5E 48 00 00 E5 [16:44:01]Write i2c OK [16:44:01]MH_I2C_Read... [16:44:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:44:01]Read from MH i2c: E2 [16:44:01]MH_I2C_Read... [16:44:01]Read from MH i2c: E2 03 00 [16:44:01]MH_I2C_Read... [16:44:01]Read from MH i2c: E2 03 00 27 05 00 90 00 A0 [16:44:01]RAPDU: 90 00 [16:44:01]wFMCommunicate OK [16:44:01]wFMCommunicate request_size=4 [16:44:01]MH_SAM_APDU [16:44:01]CAPDU: 80 0D 03 02 [16:44:01]Write to MH i2c: E2 08 00 28 05 80 0D 03 02 00 00 00 00 A8 [16:44:01]Write i2c OK [16:44:01]MH_I2C_Read... [16:44:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:44:01]Read from MH i2c: E2 [16:44:01]MH_I2C_Read... [16:44:01]Read from MH i2c: E2 0B 00 [16:44:01]MH_I2C_Read... [16:44:01]Read from MH i2c: E2 0B 00 28 05 00 92 C9 04 46 C1 66 1E 4A 90 00 DD [16:44:01]RAPDU: 92 C9 04 46 C1 66 1E 4A 90 00 [16:44:01]wFMCommunicate OK [16:44:01]SAM_PROTO_SignData done [16:44:01]FM_MakeSignedData done [16:44:01]CreateOFDProtocolMessage [16:44:01]wFMCommunicate request_size=4 [16:44:01]MH_SAM_APDU [16:44:01]CAPDU: 80 11 00 00 [16:44:01]Write to MH i2c: E2 08 00 29 05 80 11 00 00 00 00 00 00 A8 [16:44:01]Write i2c OK [16:44:01]MH_I2C_Read... [16:44:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:44:01]Read from MH i2c: E2 [16:44:01]MH_I2C_Read... [16:44:01]Read from MH i2c: E2 17 00 [16:44:01]MH_I2C_Read... [16:44:01]Read from MH i2c: E2 17 00 29 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 FB [16:44:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [16:44:01]wFMCommunicate OK [16:44:01]CreateOFDProtocolMessage done [16:44:01]OFDSenderStorePacket 52643 [16:44:01]StoreOFDPacket docnum=52643 [16:44:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 3C 01 00 00 BA 78 34 01 7B 52 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 36 00 00 00 F4 03 04 00 51 EA B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A3 CD 00 00 35 04 06 00 B9 2D 3C AF 5E 48 92 C9 04 46 C1 66 1E 4A [16:44:01]CheckFolder [16:44:01]dirname=/storage/ofd_packets [16:44:01]CheckFolder done [16:44:01]ProducePacketName [16:44:01]name=ofd_packets/00052643 [16:44:01]NVStorageSaveData ofd_packets/00052643 [16:44:01]File name is /storage/ofd_packets/00052643 [16:44:01]Write 346 bytes [16:44:01]NVStorageSaveData done [16:44:01]OFDSenderStorePacket done [16:44:01]KKMCreateOFDPacket done [16:44:01]NVStorageSaveData kkm_last_timestamp [16:44:01]File name is /storage/kkm_last_timestamp [16:44:01]Write 4 bytes [16:44:01]NVStorageSaveData done [16:44:01]ExternCall_PrintAddStr [16:44:01]wPrintStart [16:44:01]Write to MH i2c: 01 00 00 2A 05 2F [16:44:01]OFD Sender: Processing packet 52643 [packets to send 55, broken 54] [16:44:01]ProducePacketName [16:44:01]name=ofd_packets/00052643 [16:44:01]OFD Sender: To server: pG, [16:44:01]CommunicateWithHost lk.salyk.kg:30040 [16:44:01]ConnectInit lk.salyk.kg [16:44:01]Write i2c OK [16:44:01]MH_I2C_Read... [16:44:01]Read from MH i2c: 01 [16:44:01]MH_I2C_Read... [16:44:01]Read from MH i2c: 01 07 00 [16:44:01]MH_I2C_Read... [16:44:01]Read from MH i2c: 01 07 00 2A 05 00 00 00 00 00 FF 0F 44 [16:44:01]RasterBufferAndPrint [16:44:01]line Счет N : (3)122774 [16:44:01]line ИНН: 02508201610067 [16:44:01]line Контрольно-Кассовый Чек [16:44:01]line ПРОДАЖА [16:44:01]line Товар: 4631150682851 [16:44:01]line Нап En Dragon Mojito лайм,клуб ж/б 0,45л [16:44:01]line 1.000 * 95.00 [16:44:01]line = 95.00 [16:44:01]line НДС 12% НСП 1% [16:44:01]line > о реализуемом товаре [16:44:01]line ИТОГО: 95.00 [16:44:01]line НСП 1% : 0.84 [16:44:01]line НДС 12% : 10.09 [16:44:01]line Наличными: 0.00 [16:44:01]line Безнал.: 95.00 [16:44:01]line Место: АЗС № 54 "Партнер Нефть" [16:44:01]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [16:44:01]line СНО: Общий режим [16:44:01]line Чек 54 11.08.2024 16:44 [16:44:01]line Смена: 446 ФФД: 1.0 [16:44:01]line ЗНМ: 0300000007 [16:44:01]line РНМ: 0000000000090834 [16:44:01]line Версия ККМ: 001 [16:44:01]line Платежная система: О! деньги [16:44:01]line ФМ: 0000000000874715 [16:44:01]line ФД: 52643 [16:44:01]line ФПД: 203603942792776 [16:44:01]line /tax-web-control/client/api/v1/ticket?date=20240811T164401&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52643&fm=203603942792776&tin=02508201610067®Number=0000000000090834&sum=9500 [16:44:01]Connected sock=10 [16:44:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 3C 01 00 00 BA 78 34 01 7B 52 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 36 00 00 00 F4 03 04 00 51 EA B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A3 CD 00 00 35 04 06 00 B9 2D 3C AF 5E 48 92 C9 04 46 C1 66 1E 4A [16:44:01]line 0 [16:44:01]written 0, free lines is 4095 [16:44:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 C1 77 47 00 4B 9C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A3 CD 00 00 F4 03 04 00 EB 91 B8 66 B6 04 01 00 00 2E 25 DC EF 44 A7 95 3B [16:44:02]CommunicateWithHost err = 0 [16:44:02]CheckOFDResponse [16:44:02]1017 (14) - 77093643461234 [16:44:02]1041 (16) - 0000000000874715 [16:44:02]1040 (4) - 52643 [16:44:02]1012 (4) - 11.08.2024 10:26 [16:44:02]1206 (1) - 0 [16:44:02]OFD Sender: Remove packet 52643 [16:44:02]ProducePacketName [16:44:02]name=ofd_packets/00052643 [16:44:02]NVStorageDeleteData [16:44:02]Write to MH i2c: 01 00 00 54 05 59 [16:44:02]Write i2c OK [16:44:02]MH_I2C_Read... [16:44:02]Read from MH i2c: 01 [16:44:02]MH_I2C_Read... [16:44:02]Read from MH i2c: 01 07 00 [16:44:02]MH_I2C_Read... [16:44:02]Read from MH i2c: 01 07 00 54 05 00 00 00 00 00 C1 0C 2D [16:44:02]RasterBufferAndPrint [16:44:02]line [16:44:02]line [16:44:02]line [16:44:02]line [16:44:02]line [16:44:02]written 0, free lines is 3271 [16:44:02]MH_Cut [16:44:02]Write to MH i2c: D1 01 00 5B 05 01 32 [16:44:02]Write i2c OK [16:44:02]MH_I2C_Read... [16:44:02]Read from MH i2c: D1 [16:44:02]MH_I2C_Read... [16:44:02]Read from MH i2c: D1 01 00 [16:44:02]MH_I2C_Read... [16:44:02]Read from MH i2c: D1 01 00 5B 05 00 31 [16:44:02]Write to MH i2c: 01 00 00 5C 05 61 [16:44:02]Write i2c OK [16:44:02]MH_I2C_Read... [16:44:02]OFD Sender: No OFD packet to send [16:44:03]*** Cut start [16:44:03]*** Purtial cut [16:44:03]*** Stage 1: CUTSNS_PIN = 1 [16:44:03]Read from MH i2c: 01 [16:44:03]MH_I2C_Read... [16:44:03]*** Stop cut motor [16:44:03]*** Cut end [16:44:03]Read from MH i2c: 01 07 00 [16:44:03]MH_I2C_Read... [16:44:03]Read from MH i2c: 01 07 00 5C 05 00 00 00 00 00 FF 0F 76 [16:44:03]process_action close_receipt done [16:44:03]requested_data is exist [16:44:03]produce_requested_data [16:44:03]requested_item fm.sn is exist - process it [16:44:03]wFMCommunicate request_size=4 [16:44:03]MH_SAM_APDU [16:44:03]CAPDU: 80 11 00 00 [16:44:03]Write to MH i2c: E2 08 00 5D 05 80 11 00 00 00 00 00 00 DC [16:44:03]Write i2c OK [16:44:03]MH_I2C_Read... [16:44:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:44:03]Read from MH i2c: E2 [16:44:03]MH_I2C_Read... [16:44:03]Read from MH i2c: E2 17 00 [16:44:03]MH_I2C_Read... [16:44:03]Read from MH i2c: E2 17 00 5D 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 2F [16:44:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [16:44:03]wFMCommunicate OK [16:44:03]requested_item fd.num is exist - process it [16:44:03]SAM_PROTO_GetFieldsCounters [16:44:03]wFMCommunicate request_size=4 [16:44:03]MH_SAM_APDU [16:44:03]CAPDU: 80 13 00 00 [16:44:03]Write to MH i2c: E2 08 00 5E 05 80 13 00 00 00 00 00 00 DF [16:44:03]Write i2c OK [16:44:03]MH_I2C_Read... [16:44:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:44:03]Read from MH i2c: E2 [16:44:03]MH_I2C_Read... [16:44:03]Read from MH i2c: E2 62 00 [16:44:03]MH_I2C_Read... [16:44:03]Read from MH i2c: E2 62 00 5E 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A3 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 D0 [16:44:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A3 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:44:03]wFMCommunicate OK [16:44:03]SAM_PROTO_GetFieldsCounters done [16:44:03]requested_item shift.num is exist - process it [16:44:03]requested_item shift.opened is exist - process it [16:44:03]req_shift_opened [16:44:03]FM_GetShiftState [16:44:03]SAM_PROTO_GetShiftState [16:44:03]wFMCommunicate request_size=4 [16:44:03]MH_SAM_APDU [16:44:03]CAPDU: 80 13 01 00 [16:44:03]Write to MH i2c: E2 08 00 5F 05 80 13 01 00 00 00 00 00 E1 [16:44:03]Write i2c OK [16:44:03]MH_I2C_Read... [16:44:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:44:03]Read from MH i2c: E2 [16:44:03]MH_I2C_Read... [16:44:03]Read from MH i2c: E2 0E 00 [16:44:03]MH_I2C_Read... [16:44:03]Read from MH i2c: E2 0E 00 5F 05 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 0A [16:44:03]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [16:44:03]wFMCommunicate OK [16:44:03]SAM_PROTO_GetShiftState done [16:44:03]FM_GetShiftState done [16:44:03]req_shift_opened done [16:44:03]requested_item shift.open_date is exist - process it [16:44:03]req_shift_open_date [16:44:03]req_shift_open_date done [16:44:03]produce_requested_data done [16:44:03]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52643,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [16:44:03]process_action_free close_receipt [16:44:03]json_value_free [16:44:03]json_value_free done [16:44:03]process_json_proto returns [16:44:03]Send response to host [16:44:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52643,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [16:44:03]free response buf [16:44:03]execute_script done [16:44:03]execute_script returns [16:44:03]free content buf [16:44:03]Sock 7.Close socket [16:44:03]Sock 7.Thread stoped [16:44:07]OFD Sender: No OFD packet to send [16:44:12]OFD Sender: No OFD packet to send [16:44:17]OFD Sender: No OFD packet to send [16:44:22]OFD Sender: No OFD packet to send [16:44:27]OFD Sender: No OFD packet to send [16:44:32]OFD Sender: No OFD packet to send [16:44:37]OFD Sender: No OFD packet to send [16:44:42]OFD Sender: No OFD packet to send [16:44:47]OFD Sender: No OFD packet to send [16:44:52]OFD Sender: No OFD packet to send [16:44:57]OFD Sender: No OFD packet to send [16:45:02]OFD Sender: No OFD packet to send [16:45:07]OFD Sender: No OFD packet to send [16:45:12]OFD Sender: No OFD packet to send [16:45:17]OFD Sender: No OFD packet to send [16:45:22]OFD Sender: No OFD packet to send [16:45:27]OFD Sender: No OFD packet to send [16:45:32]OFD Sender: No OFD packet to send [16:45:37]OFD Sender: No OFD packet to send [16:45:42]OFD Sender: No OFD packet to send [16:45:47]OFD Sender: No OFD packet to send [16:45:52]OFD Sender: No OFD packet to send [16:45:57]OFD Sender: No OFD packet to send [16:46:02]OFD Sender: No OFD packet to send [16:46:07]OFD Sender: No OFD packet to send [16:46:12]OFD Sender: No OFD packet to send [16:46:17]OFD Sender: No OFD packet to send [16:46:22]OFD Sender: No OFD packet to send [16:46:27]OFD Sender: No OFD packet to send [16:46:32]OFD Sender: No OFD packet to send [16:46:37]OFD Sender: No OFD packet to send [16:46:42]OFD Sender: No OFD packet to send [16:46:47]OFD Sender: No OFD packet to send [16:46:52]OFD Sender: No OFD packet to send [16:46:57]OFD Sender: No OFD packet to send [16:47:02]OFD Sender: No OFD packet to send [16:47:07]OFD Sender: No OFD packet to send [16:47:12]OFD Sender: No OFD packet to send [16:47:17]OFD Sender: No OFD packet to send [16:47:22]OFD Sender: No OFD packet to send [16:47:27]OFD Sender: No OFD packet to send [16:47:32]OFD Sender: No OFD packet to send [16:47:37]OFD Sender: No OFD packet to send [16:47:42]OFD Sender: No OFD packet to send [16:47:47]OFD Sender: No OFD packet to send [16:47:52]OFD Sender: No OFD packet to send [16:47:57]OFD Sender: No OFD packet to send [16:48:02]OFD Sender: No OFD packet to send [16:48:07]OFD Sender: No OFD packet to send [16:48:12]OFD Sender: No OFD packet to send [16:48:17]OFD Sender: No OFD packet to send [16:48:22]OFD Sender: No OFD packet to send [16:48:27]OFD Sender: No OFD packet to send [16:48:32]OFD Sender: No OFD packet to send [16:48:37]OFD Sender: No OFD packet to send [16:48:42]OFD Sender: No OFD packet to send [16:48:47]OFD Sender: No OFD packet to send [16:48:52]OFD Sender: No OFD packet to send [16:48:57]OFD Sender: No OFD packet to send [16:49:02]OFD Sender: No OFD packet to send [16:49:07]OFD Sender: No OFD packet to send [16:49:12]OFD Sender: No OFD packet to send [16:49:17]OFD Sender: No OFD packet to send [16:49:22]OFD Sender: No OFD packet to send [16:49:27]OFD Sender: No OFD packet to send [16:49:32]OFD Sender: No OFD packet to send [16:49:37]OFD Sender: No OFD packet to send [16:49:42]OFD Sender: No OFD packet to send [16:49:47]OFD Sender: No OFD packet to send [16:49:52]OFD Sender: No OFD packet to send [16:49:57]OFD Sender: No OFD packet to send [16:50:02]OFD Sender: No OFD packet to send [16:50:08]OFD Sender: No OFD packet to send [16:50:13]OFD Sender: No OFD packet to send [16:50:18]OFD Sender: No OFD packet to send [16:50:23]OFD Sender: No OFD packet to send [16:50:28]OFD Sender: No OFD packet to send [16:50:33]OFD Sender: No OFD packet to send [16:50:38]OFD Sender: No OFD packet to send [16:50:43]OFD Sender: No OFD packet to send [16:50:48]OFD Sender: No OFD packet to send [16:50:53]OFD Sender: No OFD packet to send [16:50:58]OFD Sender: No OFD packet to send [16:51:03]OFD Sender: No OFD packet to send [16:51:08]OFD Sender: No OFD packet to send [16:51:13]OFD Sender: No OFD packet to send [16:51:18]OFD Sender: No OFD packet to send [16:51:23]OFD Sender: No OFD packet to send [16:51:28]OFD Sender: No OFD packet to send [16:51:33]OFD Sender: No OFD packet to send [16:51:38]OFD Sender: No OFD packet to send [16:51:43]OFD Sender: No OFD packet to send [16:51:48]OFD Sender: No OFD packet to send [16:51:53]OFD Sender: No OFD packet to send [16:51:58]OFD Sender: No OFD packet to send [16:52:03]OFD Sender: No OFD packet to send [16:52:08]OFD Sender: No OFD packet to send [16:52:13]OFD Sender: No OFD packet to send [16:52:18]OFD Sender: No OFD packet to send [16:52:23]OFD Sender: No OFD packet to send [16:52:28]OFD Sender: No OFD packet to send [16:52:33]OFD Sender: No OFD packet to send [16:52:38]OFD Sender: No OFD packet to send [16:52:43]OFD Sender: No OFD packet to send [16:52:48]OFD Sender: No OFD packet to send [16:52:53]OFD Sender: No OFD packet to send [16:52:58]OFD Sender: No OFD packet to send [16:53:03]OFD Sender: No OFD packet to send [16:53:08]OFD Sender: No OFD packet to send [16:53:13]OFD Sender: No OFD packet to send [16:53:18]OFD Sender: No OFD packet to send [16:53:23]OFD Sender: No OFD packet to send [16:53:28]OFD Sender: No OFD packet to send [16:53:33]OFD Sender: No OFD packet to send [16:53:38]OFD Sender: No OFD packet to send [16:53:43]OFD Sender: No OFD packet to send [16:53:48]OFD Sender: No OFD packet to send [16:53:53]OFD Sender: No OFD packet to send [16:53:58]OFD Sender: No OFD packet to send [16:54:03]OFD Sender: No OFD packet to send [16:54:08]OFD Sender: No OFD packet to send [16:54:13]OFD Sender: No OFD packet to send [16:54:18]OFD Sender: No OFD packet to send [16:54:23]OFD Sender: No OFD packet to send [16:54:28]OFD Sender: No OFD packet to send [16:54:33]OFD Sender: No OFD packet to send [16:54:38]OFD Sender: No OFD packet to send [16:54:43]OFD Sender: No OFD packet to send [16:54:48]OFD Sender: No OFD packet to send [16:54:53]OFD Sender: No OFD packet to send [16:54:58]OFD Sender: No OFD packet to send [16:55:03]OFD Sender: No OFD packet to send [16:55:08]OFD Sender: No OFD packet to send [16:55:13]OFD Sender: No OFD packet to send [16:55:18]OFD Sender: No OFD packet to send [16:55:23]OFD Sender: No OFD packet to send [16:55:28]OFD Sender: No OFD packet to send [16:55:33]OFD Sender: No OFD packet to send [16:55:38]OFD Sender: No OFD packet to send [16:55:43]OFD Sender: No OFD packet to send [16:55:48]OFD Sender: No OFD packet to send [16:55:53]OFD Sender: No OFD packet to send [16:55:58]OFD Sender: No OFD packet to send [16:56:03]OFD Sender: No OFD packet to send [16:56:08]OFD Sender: No OFD packet to send [16:56:13]OFD Sender: No OFD packet to send [16:56:18]OFD Sender: No OFD packet to send [16:56:23]OFD Sender: No OFD packet to send [16:56:28]OFD Sender: No OFD packet to send [16:56:33]OFD Sender: No OFD packet to send [16:56:38]OFD Sender: No OFD packet to send [16:56:43]OFD Sender: No OFD packet to send [16:56:48]OFD Sender: No OFD packet to send [16:56:53]OFD Sender: No OFD packet to send [16:56:58]OFD Sender: No OFD packet to send [16:57:03]OFD Sender: No OFD packet to send [16:57:08]OFD Sender: No OFD packet to send [16:57:13]OFD Sender: No OFD packet to send [16:57:18]OFD Sender: No OFD packet to send [16:57:23]OFD Sender: No OFD packet to send [16:57:28]OFD Sender: No OFD packet to send [16:57:33]OFD Sender: No OFD packet to send [16:57:38]OFD Sender: No OFD packet to send [16:57:43]OFD Sender: No OFD packet to send [16:57:48]OFD Sender: No OFD packet to send [16:57:53]OFD Sender: No OFD packet to send [16:57:58]OFD Sender: No OFD packet to send [16:58:03]OFD Sender: No OFD packet to send [16:58:08]OFD Sender: No OFD packet to send [16:58:13]OFD Sender: No OFD packet to send [16:58:18]OFD Sender: No OFD packet to send [16:58:23]OFD Sender: No OFD packet to send [16:58:28]OFD Sender: No OFD packet to send [16:58:33]OFD Sender: No OFD packet to send [16:58:38]OFD Sender: No OFD packet to send [16:58:43]OFD Sender: No OFD packet to send [16:58:48]OFD Sender: No OFD packet to send [16:58:53]OFD Sender: No OFD packet to send [16:58:58]OFD Sender: No OFD packet to send [16:59:03]OFD Sender: No OFD packet to send [16:59:08]OFD Sender: No OFD packet to send [16:59:13]OFD Sender: No OFD packet to send [16:59:18]OFD Sender: No OFD packet to send [16:59:23]OFD Sender: No OFD packet to send [16:59:28]OFD Sender: No OFD packet to send [16:59:33]OFD Sender: No OFD packet to send [16:59:38]OFD Sender: No OFD packet to send [16:59:43]OFD Sender: No OFD packet to send [16:59:48]OFD Sender: No OFD packet to send [16:59:53]OFD Sender: No OFD packet to send [16:59:58]OFD Sender: No OFD packet to send [17:00:03]OFD Sender: No OFD packet to send [17:00:08]OFD Sender: No OFD packet to send [17:00:13]OFD Sender: No OFD packet to send [17:00:18]OFD Sender: No OFD packet to send [17:00:23]OFD Sender: No OFD packet to send [17:00:28]OFD Sender: No OFD packet to send [17:00:33]OFD Sender: No OFD packet to send [17:00:38]OFD Sender: No OFD packet to send [17:00:43]OFD Sender: No OFD packet to send [17:00:48]OFD Sender: No OFD packet to send [17:00:53]OFD Sender: No OFD packet to send [17:00:58]OFD Sender: No OFD packet to send [17:01:03]OFD Sender: No OFD packet to send [17:01:08]OFD Sender: No OFD packet to send [17:01:13]OFD Sender: No OFD packet to send [17:01:18]OFD Sender: No OFD packet to send [17:01:23]OFD Sender: No OFD packet to send [17:01:28]OFD Sender: No OFD packet to send [17:01:33]OFD Sender: No OFD packet to send [17:01:38]OFD Sender: No OFD packet to send [17:01:43]OFD Sender: No OFD packet to send [17:01:48]OFD Sender: No OFD packet to send [17:01:53]OFD Sender: No OFD packet to send [17:01:58]OFD Sender: No OFD packet to send [17:02:03]OFD Sender: No OFD packet to send [17:02:08]OFD Sender: No OFD packet to send [17:02:13]OFD Sender: No OFD packet to send [17:02:18]OFD Sender: No OFD packet to send [17:02:23]OFD Sender: No OFD packet to send [17:02:28]OFD Sender: No OFD packet to send [17:02:33]OFD Sender: No OFD packet to send [17:02:38]OFD Sender: No OFD packet to send [17:02:43]OFD Sender: No OFD packet to send [17:02:48]OFD Sender: No OFD packet to send [17:02:53]OFD Sender: No OFD packet to send [17:02:58]OFD Sender: No OFD packet to send [17:03:03]OFD Sender: No OFD packet to send [17:03:08]OFD Sender: No OFD packet to send [17:03:13]OFD Sender: No OFD packet to send [17:03:18]OFD Sender: No OFD packet to send [17:03:23]OFD Sender: No OFD packet to send [17:03:28]OFD Sender: No OFD packet to send [17:03:33]OFD Sender: No OFD packet to send [17:03:38]OFD Sender: No OFD packet to send [17:03:43]OFD Sender: No OFD packet to send [17:03:48]OFD Sender: No OFD packet to send [17:03:53]OFD Sender: No OFD packet to send [17:03:58]OFD Sender: No OFD packet to send [17:04:03]OFD Sender: No OFD packet to send [17:04:08]OFD Sender: No OFD packet to send [17:04:13]OFD Sender: No OFD packet to send [17:04:18]OFD Sender: No OFD packet to send [17:04:23]OFD Sender: No OFD packet to send [17:04:28]OFD Sender: No OFD packet to send [17:04:33]OFD Sender: No OFD packet to send [17:04:38]OFD Sender: No OFD packet to send [17:04:43]OFD Sender: No OFD packet to send [17:04:48]OFD Sender: No OFD packet to send [17:04:53]OFD Sender: No OFD packet to send [17:04:58]OFD Sender: No OFD packet to send [17:05:03]OFD Sender: No OFD packet to send [17:05:08]OFD Sender: No OFD packet to send [17:05:13]OFD Sender: No OFD packet to send [17:05:18]OFD Sender: No OFD packet to send [17:05:23]OFD Sender: No OFD packet to send [17:05:28]OFD Sender: No OFD packet to send [17:05:33]OFD Sender: No OFD packet to send [17:05:38]OFD Sender: No OFD packet to send [17:05:43]OFD Sender: No OFD packet to send [17:05:48]OFD Sender: No OFD packet to send [17:05:53]OFD Sender: No OFD packet to send [17:05:58]OFD Sender: No OFD packet to send [17:06:03]OFD Sender: No OFD packet to send [17:06:08]OFD Sender: No OFD packet to send [17:06:13]OFD Sender: No OFD packet to send [17:06:18]OFD Sender: No OFD packet to send [17:06:23]OFD Sender: No OFD packet to send [17:06:28]OFD Sender: No OFD packet to send [17:06:33]OFD Sender: No OFD packet to send [17:06:38]OFD Sender: No OFD packet to send [17:06:43]OFD Sender: No OFD packet to send [17:06:48]OFD Sender: No OFD packet to send [17:06:53]OFD Sender: No OFD packet to send [17:06:58]OFD Sender: No OFD packet to send [17:07:03]OFD Sender: No OFD packet to send [17:07:08]OFD Sender: No OFD packet to send [17:07:13]OFD Sender: No OFD packet to send [17:07:18]OFD Sender: No OFD packet to send [17:07:23]OFD Sender: No OFD packet to send [17:07:28]OFD Sender: No OFD packet to send [17:07:33]OFD Sender: No OFD packet to send [17:07:38]OFD Sender: No OFD packet to send [17:07:43]OFD Sender: No OFD packet to send [17:07:48]OFD Sender: No OFD packet to send [17:07:53]OFD Sender: No OFD packet to send [17:07:58]OFD Sender: No OFD packet to send [17:08:03]OFD Sender: No OFD packet to send [17:08:09]OFD Sender: No OFD packet to send [17:08:14]OFD Sender: No OFD packet to send [17:08:19]OFD Sender: No OFD packet to send [17:08:24]OFD Sender: No OFD packet to send [17:08:29]OFD Sender: No OFD packet to send [17:08:34]OFD Sender: No OFD packet to send [17:08:39]OFD Sender: No OFD packet to send [17:08:44]OFD Sender: No OFD packet to send [17:08:49]OFD Sender: No OFD packet to send [17:08:54]OFD Sender: No OFD packet to send [17:08:59]OFD Sender: No OFD packet to send [17:09:04]OFD Sender: No OFD packet to send [17:09:09]OFD Sender: No OFD packet to send [17:09:14]OFD Sender: No OFD packet to send [17:09:19]OFD Sender: No OFD packet to send [17:09:24]OFD Sender: No OFD packet to send [17:09:29]OFD Sender: No OFD packet to send [17:09:34]OFD Sender: No OFD packet to send [17:09:39]OFD Sender: No OFD packet to send [17:09:44]OFD Sender: No OFD packet to send [17:09:49]OFD Sender: No OFD packet to send [17:09:54]OFD Sender: No OFD packet to send [17:09:59]OFD Sender: No OFD packet to send [17:10:04]OFD Sender: No OFD packet to send [17:10:09]OFD Sender: No OFD packet to send [17:10:14]OFD Sender: No OFD packet to send [17:10:19]OFD Sender: No OFD packet to send [17:10:24]OFD Sender: No OFD packet to send [17:10:29]OFD Sender: No OFD packet to send [17:10:34]OFD Sender: No OFD packet to send [17:10:39]OFD Sender: No OFD packet to send [17:10:44]OFD Sender: No OFD packet to send [17:10:49]OFD Sender: No OFD packet to send [17:10:54]OFD Sender: No OFD packet to send [17:10:59]OFD Sender: No OFD packet to send [17:11:04]OFD Sender: No OFD packet to send [17:11:09]OFD Sender: No OFD packet to send [17:11:14]OFD Sender: No OFD packet to send [17:11:19]OFD Sender: No OFD packet to send [17:11:24]OFD Sender: No OFD packet to send [17:11:29]OFD Sender: No OFD packet to send [17:11:34]OFD Sender: No OFD packet to send [17:11:39]OFD Sender: No OFD packet to send [17:11:44]OFD Sender: No OFD packet to send [17:11:49]OFD Sender: No OFD packet to send [17:11:54]OFD Sender: No OFD packet to send [17:11:59]OFD Sender: No OFD packet to send [17:12:04]OFD Sender: No OFD packet to send [17:12:09]OFD Sender: No OFD packet to send [17:12:14]OFD Sender: No OFD packet to send [17:12:19]OFD Sender: No OFD packet to send [17:12:24]OFD Sender: No OFD packet to send [17:12:29]OFD Sender: No OFD packet to send [17:12:34]OFD Sender: No OFD packet to send [17:12:39]OFD Sender: No OFD packet to send [17:12:44]OFD Sender: No OFD packet to send [17:12:49]OFD Sender: No OFD packet to send [17:12:54]OFD Sender: No OFD packet to send [17:12:59]OFD Sender: No OFD packet to send [17:13:04]OFD Sender: No OFD packet to send [17:13:09]OFD Sender: No OFD packet to send [17:13:14]OFD Sender: No OFD packet to send [17:13:19]OFD Sender: No OFD packet to send [17:13:24]OFD Sender: No OFD packet to send [17:13:29]OFD Sender: No OFD packet to send [17:13:34]OFD Sender: No OFD packet to send [17:13:39]OFD Sender: No OFD packet to send [17:13:44]OFD Sender: No OFD packet to send [17:13:49]OFD Sender: No OFD packet to send [17:13:54]OFD Sender: No OFD packet to send [17:13:59]OFD Sender: No OFD packet to send [17:14:04]OFD Sender: No OFD packet to send [17:14:09]OFD Sender: No OFD packet to send [17:14:14]OFD Sender: No OFD packet to send [17:14:19]OFD Sender: No OFD packet to send [17:14:24]OFD Sender: No OFD packet to send [17:14:29]OFD Sender: No OFD packet to send [17:14:34]OFD Sender: No OFD packet to send [17:14:39]OFD Sender: No OFD packet to send [17:14:44]OFD Sender: No OFD packet to send [17:14:49]OFD Sender: No OFD packet to send [17:14:54]OFD Sender: No OFD packet to send [17:14:59]OFD Sender: No OFD packet to send [17:15:04]OFD Sender: No OFD packet to send [17:15:09]OFD Sender: No OFD packet to send [17:15:14]OFD Sender: No OFD packet to send [17:15:19]OFD Sender: No OFD packet to send [17:15:24]OFD Sender: No OFD packet to send [17:15:29]OFD Sender: No OFD packet to send [17:15:34]OFD Sender: No OFD packet to send [17:15:39]OFD Sender: No OFD packet to send [17:15:44]OFD Sender: No OFD packet to send [17:15:49]OFD Sender: No OFD packet to send [17:15:54]OFD Sender: No OFD packet to send [17:15:59]OFD Sender: No OFD packet to send [17:16:04]OFD Sender: No OFD packet to send [17:16:09]OFD Sender: No OFD packet to send [17:16:14]OFD Sender: No OFD packet to send [17:16:19]OFD Sender: No OFD packet to send [17:16:24]OFD Sender: No OFD packet to send [17:16:29]OFD Sender: No OFD packet to send [17:16:34]OFD Sender: No OFD packet to send [17:16:39]OFD Sender: No OFD packet to send [17:16:44]OFD Sender: No OFD packet to send [17:16:49]OFD Sender: No OFD packet to send [17:16:54]OFD Sender: No OFD packet to send [17:16:59]OFD Sender: No OFD packet to send [17:17:04]OFD Sender: No OFD packet to send [17:17:09]OFD Sender: No OFD packet to send [17:17:14]OFD Sender: No OFD packet to send [17:17:19]OFD Sender: No OFD packet to send [17:17:24]OFD Sender: No OFD packet to send [17:17:29]OFD Sender: No OFD packet to send [17:17:34]OFD Sender: No OFD packet to send [17:17:39]OFD Sender: No OFD packet to send [17:17:44]OFD Sender: No OFD packet to send [17:17:49]OFD Sender: No OFD packet to send [17:17:54]OFD Sender: No OFD packet to send [17:17:59]OFD Sender: No OFD packet to send [17:18:04]OFD Sender: No OFD packet to send [17:18:09]OFD Sender: No OFD packet to send [17:18:14]OFD Sender: No OFD packet to send [17:18:19]OFD Sender: No OFD packet to send [17:18:24]OFD Sender: No OFD packet to send [17:18:29]OFD Sender: No OFD packet to send [17:18:34]OFD Sender: No OFD packet to send [17:18:39]OFD Sender: No OFD packet to send [17:18:44]OFD Sender: No OFD packet to send [17:18:49]OFD Sender: No OFD packet to send [17:18:54]OFD Sender: No OFD packet to send [17:18:59]OFD Sender: No OFD packet to send [17:19:04]OFD Sender: No OFD packet to send [17:19:09]OFD Sender: No OFD packet to send [17:19:14]OFD Sender: No OFD packet to send [17:19:19]OFD Sender: No OFD packet to send [17:19:24]OFD Sender: No OFD packet to send [17:19:29]OFD Sender: No OFD packet to send [17:19:34]OFD Sender: No OFD packet to send [17:19:39]OFD Sender: No OFD packet to send [17:19:44]OFD Sender: No OFD packet to send [17:19:49]OFD Sender: No OFD packet to send [17:19:54]OFD Sender: No OFD packet to send [17:19:59]OFD Sender: No OFD packet to send [17:20:04]OFD Sender: No OFD packet to send [17:20:09]OFD Sender: No OFD packet to send [17:20:14]OFD Sender: No OFD packet to send [17:20:19]OFD Sender: No OFD packet to send [17:20:24]OFD Sender: No OFD packet to send [17:20:29]OFD Sender: No OFD packet to send [17:20:34]OFD Sender: No OFD packet to send [17:20:39]OFD Sender: No OFD packet to send [17:20:44]OFD Sender: No OFD packet to send [17:20:49]OFD Sender: No OFD packet to send [17:20:54]OFD Sender: No OFD packet to send [17:20:59]OFD Sender: No OFD packet to send [17:21:04]OFD Sender: No OFD packet to send [17:21:09]OFD Sender: No OFD packet to send [17:21:14]OFD Sender: No OFD packet to send [17:21:19]OFD Sender: No OFD packet to send [17:21:24]OFD Sender: No OFD packet to send [17:21:29]OFD Sender: No OFD packet to send [17:21:34]OFD Sender: No OFD packet to send [17:21:39]OFD Sender: No OFD packet to send [17:21:44]OFD Sender: No OFD packet to send [17:21:49]OFD Sender: No OFD packet to send [17:21:54]OFD Sender: No OFD packet to send [17:21:59]OFD Sender: No OFD packet to send [17:22:04]OFD Sender: No OFD packet to send [17:22:09]OFD Sender: No OFD packet to send [17:22:14]OFD Sender: No OFD packet to send [17:22:19]OFD Sender: No OFD packet to send [17:22:24]OFD Sender: No OFD packet to send [17:22:29]OFD Sender: No OFD packet to send [17:22:34]OFD Sender: No OFD packet to send [17:22:39]OFD Sender: No OFD packet to send [17:22:44]OFD Sender: No OFD packet to send [17:22:49]OFD Sender: No OFD packet to send [17:22:54]OFD Sender: No OFD packet to send [17:22:59]OFD Sender: No OFD packet to send [17:23:04]OFD Sender: No OFD packet to send [17:23:09]OFD Sender: No OFD packet to send [17:23:14]OFD Sender: No OFD packet to send [17:23:19]OFD Sender: No OFD packet to send [17:23:24]OFD Sender: No OFD packet to send [17:23:29]OFD Sender: No OFD packet to send [17:23:34]OFD Sender: No OFD packet to send [17:23:39]OFD Sender: No OFD packet to send [17:23:44]OFD Sender: No OFD packet to send [17:23:49]OFD Sender: No OFD packet to send [17:23:54]OFD Sender: No OFD packet to send [17:23:59]OFD Sender: No OFD packet to send [17:24:04]OFD Sender: No OFD packet to send [17:24:09]OFD Sender: No OFD packet to send [17:24:14]OFD Sender: No OFD packet to send [17:24:19]OFD Sender: No OFD packet to send [17:24:24]OFD Sender: No OFD packet to send [17:24:29]OFD Sender: No OFD packet to send [17:24:34]OFD Sender: No OFD packet to send [17:24:39]OFD Sender: No OFD packet to send [17:24:44]OFD Sender: No OFD packet to send [17:24:49]OFD Sender: No OFD packet to send [17:24:54]OFD Sender: No OFD packet to send [17:24:59]OFD Sender: No OFD packet to send [17:25:04]OFD Sender: No OFD packet to send [17:25:09]OFD Sender: No OFD packet to send [17:25:14]OFD Sender: No OFD packet to send [17:25:19]OFD Sender: No OFD packet to send [17:25:24]OFD Sender: No OFD packet to send [17:25:29]OFD Sender: No OFD packet to send [17:25:34]OFD Sender: No OFD packet to send [17:25:39]OFD Sender: No OFD packet to send [17:25:44]OFD Sender: No OFD packet to send [17:25:49]OFD Sender: No OFD packet to send [17:25:54]OFD Sender: No OFD packet to send [17:25:59]OFD Sender: No OFD packet to send [17:26:05]OFD Sender: No OFD packet to send [17:26:10]OFD Sender: No OFD packet to send [17:26:15]OFD Sender: No OFD packet to send [17:26:20]OFD Sender: No OFD packet to send [17:26:25]OFD Sender: No OFD packet to send [17:26:30]OFD Sender: No OFD packet to send [17:26:35]OFD Sender: No OFD packet to send [17:26:40]OFD Sender: No OFD packet to send [17:26:45]OFD Sender: No OFD packet to send [17:26:50]OFD Sender: No OFD packet to send [17:26:55]OFD Sender: No OFD packet to send [17:27:00]OFD Sender: No OFD packet to send [17:27:05]OFD Sender: No OFD packet to send [17:27:10]OFD Sender: No OFD packet to send [17:27:15]OFD Sender: No OFD packet to send [17:27:20]OFD Sender: No OFD packet to send [17:27:25]OFD Sender: No OFD packet to send [17:27:30]OFD Sender: No OFD packet to send [17:27:35]OFD Sender: No OFD packet to send [17:27:40]OFD Sender: No OFD packet to send [17:27:45]OFD Sender: No OFD packet to send [17:27:50]OFD Sender: No OFD packet to send [17:27:55]OFD Sender: No OFD packet to send [17:28:00]OFD Sender: No OFD packet to send [17:28:05]OFD Sender: No OFD packet to send [17:28:10]OFD Sender: No OFD packet to send [17:28:15]OFD Sender: No OFD packet to send [17:28:20]OFD Sender: No OFD packet to send [17:28:25]OFD Sender: No OFD packet to send [17:28:30]OFD Sender: No OFD packet to send [17:28:35]OFD Sender: No OFD packet to send [17:28:40]OFD Sender: No OFD packet to send [17:28:45]OFD Sender: No OFD packet to send [17:28:50]OFD Sender: No OFD packet to send [17:28:55]OFD Sender: No OFD packet to send [17:29:00]OFD Sender: No OFD packet to send [17:29:05]OFD Sender: No OFD packet to send [17:29:10]OFD Sender: No OFD packet to send [17:29:15]OFD Sender: No OFD packet to send [17:29:20]OFD Sender: No OFD packet to send [17:29:25]OFD Sender: No OFD packet to send [17:29:30]OFD Sender: No OFD packet to send [17:29:35]OFD Sender: No OFD packet to send [17:29:40]OFD Sender: No OFD packet to send [17:29:45]OFD Sender: No OFD packet to send [17:29:50]OFD Sender: No OFD packet to send [17:29:55]OFD Sender: No OFD packet to send [17:30:00]OFD Sender: No OFD packet to send [17:30:05]OFD Sender: No OFD packet to send [17:30:10]OFD Sender: No OFD packet to send [17:30:15]OFD Sender: No OFD packet to send [17:30:20]OFD Sender: No OFD packet to send [17:30:25]OFD Sender: No OFD packet to send [17:30:30]OFD Sender: No OFD packet to send [17:30:35]OFD Sender: No OFD packet to send [17:30:40]OFD Sender: No OFD packet to send [17:30:45]OFD Sender: No OFD packet to send [17:30:50]OFD Sender: No OFD packet to send [17:30:55]OFD Sender: No OFD packet to send [17:31:00]OFD Sender: No OFD packet to send [17:31:05]OFD Sender: No OFD packet to send [17:31:10]OFD Sender: No OFD packet to send [17:31:15]OFD Sender: No OFD packet to send [17:31:20]OFD Sender: No OFD packet to send [17:31:25]OFD Sender: No OFD packet to send [17:31:30]OFD Sender: No OFD packet to send [17:31:35]OFD Sender: No OFD packet to send [17:31:40]OFD Sender: No OFD packet to send [17:31:45]OFD Sender: No OFD packet to send [17:31:50]OFD Sender: No OFD packet to send [17:31:55]OFD Sender: No OFD packet to send [17:32:00]OFD Sender: No OFD packet to send [17:32:05]OFD Sender: No OFD packet to send [17:32:10]OFD Sender: No OFD packet to send [17:32:15]OFD Sender: No OFD packet to send [17:32:20]OFD Sender: No OFD packet to send [17:32:25]OFD Sender: No OFD packet to send [17:32:30]OFD Sender: No OFD packet to send [17:32:35]OFD Sender: No OFD packet to send [17:32:40]OFD Sender: No OFD packet to send [17:32:45]OFD Sender: No OFD packet to send [17:32:50]OFD Sender: No OFD packet to send [17:32:55]OFD Sender: No OFD packet to send [17:33:00]OFD Sender: No OFD packet to send [17:33:05]OFD Sender: No OFD packet to send [17:33:10]OFD Sender: No OFD packet to send [17:33:15]OFD Sender: No OFD packet to send [17:33:20]OFD Sender: No OFD packet to send [17:33:25]OFD Sender: No OFD packet to send [17:33:30]OFD Sender: No OFD packet to send [17:33:35]OFD Sender: No OFD packet to send [17:33:40]OFD Sender: No OFD packet to send [17:33:45]OFD Sender: No OFD packet to send [17:33:50]OFD Sender: No OFD packet to send [17:33:55]OFD Sender: No OFD packet to send [17:34:00]OFD Sender: No OFD packet to send [17:34:05]OFD Sender: No OFD packet to send [17:34:10]OFD Sender: No OFD packet to send [17:34:15]OFD Sender: No OFD packet to send [17:34:20]OFD Sender: No OFD packet to send [17:34:25]OFD Sender: No OFD packet to send [17:34:30]OFD Sender: No OFD packet to send [17:34:35]OFD Sender: No OFD packet to send [17:34:40]OFD Sender: No OFD packet to send [17:34:45]OFD Sender: No OFD packet to send [17:34:50]OFD Sender: No OFD packet to send [17:34:55]OFD Sender: No OFD packet to send [17:35:00]OFD Sender: No OFD packet to send [17:35:05]OFD Sender: No OFD packet to send [17:35:10]OFD Sender: No OFD packet to send [17:35:15]OFD Sender: No OFD packet to send [17:35:20]OFD Sender: No OFD packet to send [17:35:25]OFD Sender: No OFD packet to send [17:35:30]OFD Sender: No OFD packet to send [17:35:35]OFD Sender: No OFD packet to send [17:35:40]OFD Sender: No OFD packet to send [17:35:45]OFD Sender: No OFD packet to send [17:35:50]OFD Sender: No OFD packet to send [17:35:55]OFD Sender: No OFD packet to send [17:36:00]OFD Sender: No OFD packet to send [17:36:05]OFD Sender: No OFD packet to send [17:36:10]OFD Sender: No OFD packet to send [17:36:15]OFD Sender: No OFD packet to send [17:36:20]OFD Sender: No OFD packet to send [17:36:25]OFD Sender: No OFD packet to send [17:36:30]OFD Sender: No OFD packet to send [17:36:35]OFD Sender: No OFD packet to send [17:36:40]OFD Sender: No OFD packet to send [17:36:45]OFD Sender: No OFD packet to send [17:36:50]OFD Sender: No OFD packet to send [17:36:55]OFD Sender: No OFD packet to send [17:37:00]OFD Sender: No OFD packet to send [17:37:05]OFD Sender: No OFD packet to send [17:37:10]OFD Sender: No OFD packet to send [17:37:15]OFD Sender: No OFD packet to send [17:37:20]OFD Sender: No OFD packet to send [17:37:25]OFD Sender: No OFD packet to send [17:37:30]OFD Sender: No OFD packet to send [17:37:35]OFD Sender: No OFD packet to send [17:37:40]OFD Sender: No OFD packet to send [17:37:45]OFD Sender: No OFD packet to send [17:37:50]OFD Sender: No OFD packet to send [17:37:55]OFD Sender: No OFD packet to send [17:38:00]OFD Sender: No OFD packet to send [17:38:05]OFD Sender: No OFD packet to send [17:38:10]OFD Sender: No OFD packet to send [17:38:15]OFD Sender: No OFD packet to send [17:38:20]OFD Sender: No OFD packet to send [17:38:25]OFD Sender: No OFD packet to send [17:38:30]OFD Sender: No OFD packet to send [17:38:35]OFD Sender: No OFD packet to send [17:38:40]OFD Sender: No OFD packet to send [17:38:45]OFD Sender: No OFD packet to send [17:38:50]OFD Sender: No OFD packet to send [17:38:55]OFD Sender: No OFD packet to send [17:39:00]OFD Sender: No OFD packet to send [17:39:05]OFD Sender: No OFD packet to send [17:39:10]OFD Sender: No OFD packet to send [17:39:15]OFD Sender: No OFD packet to send [17:39:20]OFD Sender: No OFD packet to send [17:39:25]OFD Sender: No OFD packet to send [17:39:30]OFD Sender: No OFD packet to send [17:39:35]OFD Sender: No OFD packet to send [17:39:40]OFD Sender: No OFD packet to send [17:39:45]OFD Sender: No OFD packet to send [17:39:50]OFD Sender: No OFD packet to send [17:39:55]OFD Sender: No OFD packet to send [17:40:00]OFD Sender: No OFD packet to send [17:40:05]OFD Sender: No OFD packet to send [17:40:10]OFD Sender: No OFD packet to send [17:40:15]OFD Sender: No OFD packet to send [17:40:20]OFD Sender: No OFD packet to send [17:40:25]OFD Sender: No OFD packet to send [17:40:30]OFD Sender: No OFD packet to send [17:40:35]OFD Sender: No OFD packet to send [17:40:40]OFD Sender: No OFD packet to send [17:40:45]OFD Sender: No OFD packet to send [17:40:50]OFD Sender: No OFD packet to send [17:40:55]OFD Sender: No OFD packet to send [17:41:00]OFD Sender: No OFD packet to send [17:41:05]OFD Sender: No OFD packet to send [17:41:10]OFD Sender: No OFD packet to send [17:41:15]OFD Sender: No OFD packet to send [17:41:20]OFD Sender: No OFD packet to send [17:41:25]OFD Sender: No OFD packet to send [17:41:30]OFD Sender: No OFD packet to send [17:41:35]OFD Sender: No OFD packet to send [17:41:40]OFD Sender: No OFD packet to send [17:41:45]OFD Sender: No OFD packet to send [17:41:50]OFD Sender: No OFD packet to send [17:41:55]OFD Sender: No OFD packet to send [17:42:00]OFD Sender: No OFD packet to send [17:42:05]OFD Sender: No OFD packet to send [17:42:10]OFD Sender: No OFD packet to send [17:42:15]OFD Sender: No OFD packet to send [17:42:20]OFD Sender: No OFD packet to send [17:42:25]OFD Sender: No OFD packet to send [17:42:30]OFD Sender: No OFD packet to send [17:42:35]OFD Sender: No OFD packet to send [17:42:40]OFD Sender: No OFD packet to send [17:42:45]OFD Sender: No OFD packet to send [17:42:50]OFD Sender: No OFD packet to send [17:42:55]OFD Sender: No OFD packet to send [17:43:00]OFD Sender: No OFD packet to send [17:43:05]OFD Sender: No OFD packet to send [17:43:10]OFD Sender: No OFD packet to send [17:43:15]OFD Sender: No OFD packet to send [17:43:20]OFD Sender: No OFD packet to send [17:43:25]OFD Sender: No OFD packet to send [17:43:30]OFD Sender: No OFD packet to send [17:43:35]OFD Sender: No OFD packet to send [17:43:40]OFD Sender: No OFD packet to send [17:43:45]OFD Sender: No OFD packet to send [17:43:50]OFD Sender: No OFD packet to send [17:43:55]OFD Sender: No OFD packet to send [17:44:00]OFD Sender: No OFD packet to send [17:44:05]OFD Sender: No OFD packet to send [17:44:11]OFD Sender: No OFD packet to send [17:44:16]OFD Sender: No OFD packet to send [17:44:21]OFD Sender: No OFD packet to send [17:44:26]OFD Sender: No OFD packet to send [17:44:31]OFD Sender: No OFD packet to send [17:44:36]OFD Sender: No OFD packet to send [17:44:41]OFD Sender: No OFD packet to send [17:44:46]OFD Sender: No OFD packet to send [17:44:51]OFD Sender: No OFD packet to send [17:44:53]accept exits with 9 [17:44:53]New connection [17:44:53]New thread 3067149668 created [17:44:53]Thread 3067293028 joined [17:44:53]Waiting for new connection... [17:44:53] Sock 9.Parse request [17:44:53]Sock 9.Check first char [17:44:53]Sock 9.First char is OK [17:44:53]request: POST /json_proto HTTP/1.0 [17:44:53]Method: POST [17:44:53]URL: /json_proto [17:44:53]Method is POST - this is cgi request [17:44:53]url: /json_proto [17:44:53]query_string will be loaded in cgi processing [17:44:53]execute_cgi json_proto POST (null) [17:44:53]execute_cgi path=json_proto method=POST [17:44:53]POST find Content-Length [17:44:53]Host: 172.17.60.7:8080 [17:44:53]Content-Length: 798 [17:44:53]Content-Type: application/json [17:44:53] [17:44:53]POST finish read [17:44:53]Found Content-Length = 798 [17:44:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122775", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:44:53]execute_script... [17:44:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122775", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:44:53]POST & json_proto [17:44:53]process_json_proto [17:44:53]json parsed OK: [17:44:53]protocol is kg_v1.0 [17:44:53]action value=close_receipt [17:44:53]process_action close_receipt [17:44:53]cmd_close_receipt [17:44:53]MH_GetDate [17:44:53]Write to MH i2c: F0 00 00 60 05 54 [17:44:53]Write i2c OK [17:44:53]MH_I2C_Read... [17:44:53]Read from MH i2c: F0 [17:44:53]MH_I2C_Read... [17:44:53]Read from MH i2c: F0 09 00 [17:44:53]MH_I2C_Read... [17:44:53]Read from MH i2c: F0 09 00 60 05 00 97 F8 B8 66 63 9B 67 64 D3 [17:44:53]GetLastDocTimeStamp 1723394641 [17:44:53]current date 1723398295 [17:44:53]FM_GetShiftState [17:44:53]SAM_PROTO_GetShiftState [17:44:53]wFMCommunicate request_size=4 [17:44:53]MH_SAM_APDU [17:44:53]CAPDU: 80 13 01 00 [17:44:53]Write to MH i2c: E2 08 00 61 05 80 13 01 00 00 00 00 00 E3 [17:44:53]Write i2c OK [17:44:53]MH_I2C_Read... [17:44:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:44:53]Read from MH i2c: E2 [17:44:53]MH_I2C_Read... [17:44:53]Read from MH i2c: E2 0E 00 [17:44:53]MH_I2C_Read... [17:44:53]Read from MH i2c: E2 0E 00 61 05 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 0C [17:44:53]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [17:44:53]wFMCommunicate OK [17:44:53]SAM_PROTO_GetShiftState done [17:44:53]FM_GetShiftState done [17:44:53]opened in 1723336186 [17:44:53]opened+sec_in_day 1723422586 [17:44:53]quantity*price = 4000 [17:44:53]sum+1 = 4001 [17:44:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 0.00 Безнал.: 40.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 55 11.08.2024 17:44 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52644 ФПД: 137113063327581 /tax-web-control/client/api/v1/ticket?date=20240811T174455&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52644&fm=137113063327581&tin=02508201610067®Number=0000000000090834&sum=4000 0 [17:44:54]StoreToDocumentArchive [17:44:54]shift 446 fd 52644 [17:44:54]save to /storage/0446/doc_00052644 [17:44:54]save last doc name /storage/0446/doc_00052644 to /storage/kkm_last_doc_name [17:44:54]save OK [17:44:54]Clear old archive folders... [17:44:54]ProcessDocumentItem done err = 0, tmpTLVsize=271 [17:44:54]tlvbuf is 01282980 [17:44:54]SAM_PROTO_ClearQueue [17:44:54]wFMCommunicate request_size=4 [17:44:54]MH_SAM_APDU [17:44:54]CAPDU: 80 09 00 00 [17:44:54]Write to MH i2c: E2 08 00 6E 05 80 09 00 00 00 00 00 00 E5 [17:44:54]Write i2c OK [17:44:54]MH_I2C_Read... [17:44:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:44:54]Read from MH i2c: E2 [17:44:54]MH_I2C_Read... [17:44:54]Read from MH i2c: E2 03 00 [17:44:54]MH_I2C_Read... [17:44:54]Read from MH i2c: E2 03 00 6E 05 00 90 00 E7 [17:44:54]RAPDU: 90 00 [17:44:54]wFMCommunicate OK [17:44:54]SAM_PROTO_ClearQueue done [17:44:54]KKMCreateOFDPacket [17:44:54]OFDProtocolAddRootSTLVToBuf [17:44:54]FM_MakeSignedData [17:44:54]FM_MakeSignedData [17:44:54]SAM_PROTO_SignData [17:44:54]wFMCommunicate request_size=4 [17:44:54]MH_SAM_APDU [17:44:54]CAPDU: 80 0D 01 02 [17:44:54]Write to MH i2c: E2 08 00 6F 05 80 0D 01 02 00 00 00 00 ED [17:44:54]Write i2c OK [17:44:54]MH_I2C_Read... [17:44:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:44:54]Read from MH i2c: E2 [17:44:54]MH_I2C_Read... [17:44:54]Read from MH i2c: E2 03 00 [17:44:54]MH_I2C_Read... [17:44:54]Read from MH i2c: E2 03 00 6F 05 00 90 00 E8 [17:44:54]RAPDU: 90 00 [17:44:54]wFMCommunicate OK [17:44:54]wFMCommunicate request_size=255 [17:44:54]MH_SAM_APDU [17:44:54]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 97 F8 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 [17:44:54]Write to MH i2c: E2 02 01 70 05 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 97 F8 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 74 [17:44:54]Write i2c OK [17:44:54]MH_I2C_Read... [17:44:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:44:55]Read from MH i2c: E2 [17:44:55]MH_I2C_Read... [17:44:55]Read from MH i2c: E2 03 00 [17:44:55]MH_I2C_Read... [17:44:55]Read from MH i2c: E2 03 00 70 05 00 90 00 E9 [17:44:55]RAPDU: 90 00 [17:44:55]wFMCommunicate OK [17:44:55]wFMCommunicate request_size=30 [17:44:55]MH_SAM_APDU [17:44:55]CAPDU: 80 0D 02 02 19 30 38 37 34 37 31 35 10 04 04 00 A4 CD 00 00 35 04 06 00 7C B4 1F 6F 07 5D [17:44:55]Write to MH i2c: E2 21 00 71 05 80 0D 02 02 19 00 30 38 37 34 37 31 35 10 04 04 00 A4 CD 00 00 35 04 06 00 7C B4 1F 6F 07 5D 00 00 7C [17:44:55]Write i2c OK [17:44:55]MH_I2C_Read... [17:44:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:44:55]Read from MH i2c: E2 [17:44:55]MH_I2C_Read... [17:44:55]Read from MH i2c: E2 03 00 [17:44:55]MH_I2C_Read... [17:44:55]Read from MH i2c: E2 03 00 71 05 00 90 00 EA [17:44:55]RAPDU: 90 00 [17:44:55]wFMCommunicate OK [17:44:55]wFMCommunicate request_size=4 [17:44:55]MH_SAM_APDU [17:44:55]CAPDU: 80 0D 03 02 [17:44:55]Write to MH i2c: E2 08 00 72 05 80 0D 03 02 00 00 00 00 F2 [17:44:55]Write i2c OK [17:44:55]MH_I2C_Read... [17:44:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:44:55]Read from MH i2c: E2 [17:44:55]MH_I2C_Read... [17:44:55]Read from MH i2c: E2 0B 00 [17:44:55]MH_I2C_Read... [17:44:55]Read from MH i2c: E2 0B 00 72 05 00 54 0A 17 10 D4 43 F9 71 90 00 F9 [17:44:55]RAPDU: 54 0A 17 10 D4 43 F9 71 90 00 [17:44:55]wFMCommunicate OK [17:44:55]SAM_PROTO_SignData done [17:44:55]FM_MakeSignedData done [17:44:55]CreateOFDProtocolMessage [17:44:55]wFMCommunicate request_size=4 [17:44:55]MH_SAM_APDU [17:44:55]CAPDU: 80 11 00 00 [17:44:55]Write to MH i2c: E2 08 00 73 05 80 11 00 00 00 00 00 00 F2 [17:44:55]Write i2c OK [17:44:55]MH_I2C_Read... [17:44:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:44:55]Read from MH i2c: E2 [17:44:55]MH_I2C_Read... [17:44:55]Read from MH i2c: E2 17 00 [17:44:55]MH_I2C_Read... [17:44:55]Read from MH i2c: E2 17 00 73 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 45 [17:44:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [17:44:55]wFMCommunicate OK [17:44:55]CreateOFDProtocolMessage done [17:44:55]OFDSenderStorePacket 52644 [17:44:55]StoreOFDPacket docnum=52644 [17:44:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 23 01 00 00 07 86 1B 01 46 01 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 97 F8 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A4 CD 00 00 35 04 06 00 7C B4 1F 6F 07 5D 54 0A 17 10 D4 43 F9 71 [17:44:55]CheckFolder [17:44:55]dirname=/storage/ofd_packets [17:44:55]CheckFolder done [17:44:55]ProducePacketName [17:44:55]name=ofd_packets/00052644 [17:44:55]NVStorageSaveData ofd_packets/00052644 [17:44:55]File name is /storage/ofd_packets/00052644 [17:44:55]Write 321 bytes [17:44:55]NVStorageSaveData done [17:44:55]OFDSenderStorePacket done [17:44:55]KKMCreateOFDPacket done [17:44:55]NVStorageSaveData kkm_last_timestamp [17:44:55]File name is /storage/kkm_last_timestamp [17:44:55]Write 4 bytes [17:44:55]NVStorageSaveData done [17:44:55]ExternCall_PrintAddStr [17:44:55]wPrintStart [17:44:55]Write to MH i2c: 01 00 00 74 05 79 [17:44:55]Write i2c OK [17:44:55]MH_I2C_Read... [17:44:55]Read from MH i2c: 01 [17:44:55]MH_I2C_Read... [17:44:55]Read from MH i2c: 01 07 00 [17:44:55]MH_I2C_Read... [17:44:55]Read from MH i2c: 01 07 00 74 05 00 00 00 00 00 FF 0F 8E [17:44:55]RasterBufferAndPrint [17:44:55]line Счет N : (3)122775 [17:44:55]line ИНН: 02508201610067 [17:44:55]line Контрольно-Кассовый Чек [17:44:55]line ПРОДАЖА [17:44:55]line Товар: 4700000160211 [17:44:55]line Вода Легенда 0,5л [17:44:55]line 1.000 * 40.00 [17:44:55]line = 40.00 [17:44:55]line НДС 12% НСП 1% [17:44:55]line > о реализуемом товаре [17:44:55]line ИТОГО: 40.00 [17:44:55]line НСП 1% : 0.35 [17:44:55]line НДС 12% : 4.25 [17:44:55]line Наличными: 0.00 [17:44:55]line Безнал.: 40.00 [17:44:55]line Место: АЗС № 54 "Партнер Нефть" [17:44:55]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [17:44:55]line СНО: Общий режим [17:44:55]line Чек 55 11.08.2024 17:44 [17:44:55]line Смена: 446 ФФД: 1.0 [17:44:55]line ЗНМ: 0300000007 [17:44:55]line РНМ: 0000000000090834 [17:44:55]line Версия ККМ: 001 [17:44:55]line Платежная система: О! деньги [17:44:55]line ФМ: 0000000000874715 [17:44:55]line ФД: 52644 [17:44:55]line ФПД: 137113063327581 [17:44:55]line /tax-web-control/client/api/v1/ticket?date=20240811T174455&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52644&fm=137113063327581&tin=02508201610067®Number=0000000000090834&sum=4000 [17:44:55]OFD Sender: Processing packet 52644 [packets to send 55, broken 54] [17:44:55]ProducePacketName [17:44:55]name=ofd_packets/00052644 [17:44:55]OFD Sender: To server: pG, [17:44:55]CommunicateWithHost lk.salyk.kg:30040 [17:44:55]ConnectInit lk.salyk.kg [17:44:55]line 0 [17:44:55]written 0, free lines is 4095 [17:44:55]Connected sock=10 [17:44:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 23 01 00 00 07 86 1B 01 46 01 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 97 F8 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A4 CD 00 00 35 04 06 00 7C B4 1F 6F 07 5D 54 0A 17 10 D4 43 F9 71 [17:44:56]Write to MH i2c: 01 00 00 9D 05 A2 [17:44:56]Write i2c OK [17:44:56]MH_I2C_Read... [17:44:56]Read from MH i2c: 01 [17:44:56]MH_I2C_Read... [17:44:56]Read from MH i2c: 01 07 00 [17:44:56]MH_I2C_Read... [17:44:56]Read from MH i2c: 01 07 00 9D 05 00 00 00 00 00 D1 0C 86 [17:44:56]RasterBufferAndPrint [17:44:56]line [17:44:56]line [17:44:56]line [17:44:56]line [17:44:56]line [17:44:56]written 0, free lines is 3287 [17:44:56]MH_Cut [17:44:56]Write to MH i2c: D1 01 00 A4 05 01 7B [17:44:56]Write i2c OK [17:44:56]MH_I2C_Read... [17:44:56]Read from MH i2c: D1 [17:44:56]MH_I2C_Read... [17:44:56]Read from MH i2c: D1 01 00 [17:44:56]MH_I2C_Read... [17:44:56]Read from MH i2c: D1 01 00 A4 05 00 7A [17:44:56]Write to MH i2c: 01 00 00 A5 05 AA [17:44:56]Write i2c OK [17:44:56]MH_I2C_Read... [17:44:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 46 35 47 00 38 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 34 37 31 35 10 04 04 00 A4 CD 00 00 F4 03 04 00 31 A0 B8 66 B6 04 01 00 00 66 E1 42 19 D9 82 3B 17 [17:44:56]CommunicateWithHost err = 0 [17:44:56]CheckOFDResponse [17:44:56]1017 (14) - 77093643461234 [17:44:56]1041 (16) - 0000000000874715 [17:44:56]1040 (4) - 52644 [17:44:56]1012 (4) - 11.08.2024 11:27 [17:44:56]1206 (1) - 0 [17:44:56]OFD Sender: Remove packet 52644 [17:44:56]ProducePacketName [17:44:56]name=ofd_packets/00052644 [17:44:56]NVStorageDeleteData [17:44:56]OFD Sender: No OFD packet to send [17:44:56]*** Cut start [17:44:56]*** Purtial cut [17:44:56]*** Stage 1: CUTSNS_PIN = 1 [17:44:57]Read from MH i2c: 01 [17:44:57]MH_I2C_Read... [17:44:57]*** Stop cut motor [17:44:57]*** Cut end [17:44:57]Read from MH i2c: 01 07 00 [17:44:57]MH_I2C_Read... [17:44:57]Read from MH i2c: 01 07 00 A5 05 00 00 00 00 00 FF 0F BF [17:44:57]process_action close_receipt done [17:44:57]requested_data is exist [17:44:57]produce_requested_data [17:44:57]requested_item fm.sn is exist - process it [17:44:57]wFMCommunicate request_size=4 [17:44:57]MH_SAM_APDU [17:44:57]CAPDU: 80 11 00 00 [17:44:57]Write to MH i2c: E2 08 00 A6 05 80 11 00 00 00 00 00 00 25 [17:44:57]Write i2c OK [17:44:57]MH_I2C_Read... [17:44:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:44:57]Read from MH i2c: E2 [17:44:57]MH_I2C_Read... [17:44:57]Read from MH i2c: E2 17 00 [17:44:57]MH_I2C_Read... [17:44:57]Read from MH i2c: E2 17 00 A6 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 78 [17:44:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [17:44:57]wFMCommunicate OK [17:44:57]requested_item fd.num is exist - process it [17:44:57]SAM_PROTO_GetFieldsCounters [17:44:57]wFMCommunicate request_size=4 [17:44:57]MH_SAM_APDU [17:44:57]CAPDU: 80 13 00 00 [17:44:57]Write to MH i2c: E2 08 00 A7 05 80 13 00 00 00 00 00 00 28 [17:44:57]Write i2c OK [17:44:57]MH_I2C_Read... [17:44:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:44:57]Read from MH i2c: E2 [17:44:57]MH_I2C_Read... [17:44:57]Read from MH i2c: E2 62 00 [17:44:57]MH_I2C_Read... [17:44:57]Read from MH i2c: E2 62 00 A7 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A4 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 1D [17:44:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A4 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:44:57]wFMCommunicate OK [17:44:57]SAM_PROTO_GetFieldsCounters done [17:44:57]requested_item shift.num is exist - process it [17:44:57]requested_item shift.opened is exist - process it [17:44:57]req_shift_opened [17:44:57]FM_GetShiftState [17:44:57]SAM_PROTO_GetShiftState [17:44:57]wFMCommunicate request_size=4 [17:44:57]MH_SAM_APDU [17:44:57]CAPDU: 80 13 01 00 [17:44:57]Write to MH i2c: E2 08 00 A8 05 80 13 01 00 00 00 00 00 2A [17:44:57]Write i2c OK [17:44:57]MH_I2C_Read... [17:44:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:44:57]Read from MH i2c: E2 [17:44:57]MH_I2C_Read... [17:44:57]Read from MH i2c: E2 0E 00 [17:44:57]MH_I2C_Read... [17:44:57]Read from MH i2c: E2 0E 00 A8 05 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 53 [17:44:57]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [17:44:57]wFMCommunicate OK [17:44:57]SAM_PROTO_GetShiftState done [17:44:57]FM_GetShiftState done [17:44:57]req_shift_opened done [17:44:57]requested_item shift.open_date is exist - process it [17:44:57]req_shift_open_date [17:44:57]req_shift_open_date done [17:44:57]produce_requested_data done [17:44:57]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52644,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [17:44:57]process_action_free close_receipt [17:44:57]json_value_free [17:44:57]json_value_free done [17:44:57]process_json_proto returns [17:44:57]Send response to host [17:44:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52644,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [17:44:57]free response buf [17:44:57]execute_script done [17:44:57]execute_script returns [17:44:57]free content buf [17:44:57]Sock 9.Close socket [17:44:57]Sock 9.Thread stoped [17:45:01]OFD Sender: No OFD packet to send [17:45:06]OFD Sender: No OFD packet to send [17:45:11]OFD Sender: No OFD packet to send [17:45:16]OFD Sender: No OFD packet to send [17:45:21]OFD Sender: No OFD packet to send [17:45:26]OFD Sender: No OFD packet to send [17:45:31]OFD Sender: No OFD packet to send [17:45:36]OFD Sender: No OFD packet to send [17:45:41]OFD Sender: No OFD packet to send [17:45:46]OFD Sender: No OFD packet to send [17:45:51]OFD Sender: No OFD packet to send [17:45:56]OFD Sender: No OFD packet to send [17:46:01]OFD Sender: No OFD packet to send [17:46:06]OFD Sender: No OFD packet to send [17:46:11]OFD Sender: No OFD packet to send [17:46:16]OFD Sender: No OFD packet to send [17:46:21]OFD Sender: No OFD packet to send [17:46:26]OFD Sender: No OFD packet to send [17:46:31]OFD Sender: No OFD packet to send [17:46:36]OFD Sender: No OFD packet to send [17:46:41]accept exits with 7 [17:46:41]New connection [17:46:41]New thread 3067293028 created [17:46:41]Thread 3067149668 joined [17:46:41]Waiting for new connection... [17:46:41] Sock 7.Parse request [17:46:41]Sock 7.Check first char [17:46:41]Sock 7.First char is OK [17:46:41]request: POST /json_proto HTTP/1.0 [17:46:41]Method: POST [17:46:41]URL: /json_proto [17:46:41]Method is POST - this is cgi request [17:46:41]url: /json_proto [17:46:41]query_string will be loaded in cgi processing [17:46:41]execute_cgi json_proto POST (null) [17:46:41]execute_cgi path=json_proto method=POST [17:46:41]POST find Content-Length [17:46:41]Host: 172.17.60.7:8080 [17:46:41]Content-Length: 821 [17:46:41]Content-Type: application/json [17:46:41] [17:46:41]POST finish read [17:46:41]Found Content-Length = 821 [17:46:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122776", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:46:41]execute_script... [17:46: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)122776", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:46:41]POST & json_proto [17:46:41]process_json_proto [17:46:41]json parsed OK: [17:46:41]protocol is kg_v1.0 [17:46:41]action value=close_receipt [17:46:41]process_action close_receipt [17:46:41]cmd_close_receipt [17:46:41]MH_GetDate [17:46:41]Write to MH i2c: F0 00 00 A9 05 9D [17:46:41]Write i2c OK [17:46:41]MH_I2C_Read... [17:46:41]Read from MH i2c: F0 [17:46:41]MH_I2C_Read... [17:46:41]Read from MH i2c: F0 09 00 [17:46:41]MH_I2C_Read... [17:46:41]Read from MH i2c: F0 09 00 A9 05 00 03 F9 B8 66 63 9B 67 64 89 [17:46:41]GetLastDocTimeStamp 1723398295 [17:46:41]current date 1723398403 [17:46:41]FM_GetShiftState [17:46:41]SAM_PROTO_GetShiftState [17:46:41]wFMCommunicate request_size=4 [17:46:41]MH_SAM_APDU [17:46:41]CAPDU: 80 13 01 00 [17:46:41]Write to MH i2c: E2 08 00 AA 05 80 13 01 00 00 00 00 00 2C [17:46:41]Write i2c OK [17:46:41]MH_I2C_Read... [17:46:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:46:41]Read from MH i2c: E2 [17:46:41]MH_I2C_Read... [17:46:41]Read from MH i2c: E2 0E 00 [17:46:41]MH_I2C_Read... [17:46:41]Read from MH i2c: E2 0E 00 AA 05 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 55 [17:46:41]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [17:46:41]wFMCommunicate OK [17:46:41]SAM_PROTO_GetShiftState done [17:46:41]FM_GetShiftState done [17:46:41]opened in 1723336186 [17:46:41]opened+sec_in_day 1723422586 [17:46:41]quantity*price = 8500 [17:46:41]sum+1 = 8501 [17:46:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 0.00 Безнал.: 85.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 56 11.08.2024 17:46 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52645 ФПД: 177961968401060 /tax-web-control/client/api/v1/ticket?date=20240811T174643&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52645&fm=177961968401060&tin=02508201610067®Number=0000000000090834&sum=8500 0 [17:46:42]StoreToDocumentArchive [17:46:42]shift 446 fd 52645 [17:46:42]save to /storage/0446/doc_00052645 [17:46:42]save last doc name /storage/0446/doc_00052645 to /storage/kkm_last_doc_name [17:46:42]save OK [17:46:42]Clear old archive folders... [17:46:42]ProcessDocumentItem done err = 0, tmpTLVsize=294 [17:46:42]tlvbuf is 01282930 [17:46:42]SAM_PROTO_ClearQueue [17:46:42]wFMCommunicate request_size=4 [17:46:42]MH_SAM_APDU [17:46:42]CAPDU: 80 09 00 00 [17:46:42]Write to MH i2c: E2 08 00 B7 05 80 09 00 00 00 00 00 00 2E [17:46:42]Write i2c OK [17:46:42]MH_I2C_Read... [17:46:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:46:42]Read from MH i2c: E2 [17:46:42]MH_I2C_Read... [17:46:42]Read from MH i2c: E2 03 00 [17:46:42]MH_I2C_Read... [17:46:42]Read from MH i2c: E2 03 00 B7 05 00 90 00 30 [17:46:42]RAPDU: 90 00 [17:46:42]wFMCommunicate OK [17:46:42]SAM_PROTO_ClearQueue done [17:46:42]KKMCreateOFDPacket [17:46:42]OFDProtocolAddRootSTLVToBuf [17:46:42]FM_MakeSignedData [17:46:42]FM_MakeSignedData [17:46:42]SAM_PROTO_SignData [17:46:42]wFMCommunicate request_size=4 [17:46:42]MH_SAM_APDU [17:46:42]CAPDU: 80 0D 01 02 [17:46:42]Write to MH i2c: E2 08 00 B8 05 80 0D 01 02 00 00 00 00 36 [17:46:42]Write i2c OK [17:46:42]MH_I2C_Read... [17:46:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:46:43]Read from MH i2c: E2 [17:46:43]MH_I2C_Read... [17:46:43]Read from MH i2c: E2 03 00 [17:46:43]MH_I2C_Read... [17:46:43]Read from MH i2c: E2 03 00 B8 05 00 90 00 31 [17:46:43]RAPDU: 90 00 [17:46:43]wFMCommunicate OK [17:46:43]wFMCommunicate request_size=255 [17:46:43]MH_SAM_APDU [17:46:43]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 03 F9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [17:46:43]Write to MH i2c: E2 02 01 B9 05 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 03 F9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 2B [17:46:43]Write i2c OK [17:46:43]MH_I2C_Read... [17:46:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:46:43]Read from MH i2c: E2 [17:46:43]MH_I2C_Read... [17:46:43]Read from MH i2c: E2 03 00 [17:46:43]MH_I2C_Read... [17:46:43]Read from MH i2c: E2 03 00 B9 05 00 90 00 32 [17:46:43]RAPDU: 90 00 [17:46:43]wFMCommunicate OK [17:46:43]wFMCommunicate request_size=53 [17:46:43]MH_SAM_APDU [17:46:43]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A5 CD 00 00 35 04 06 00 A1 DA FF E8 FA A4 [17:46:43]Write to MH i2c: E2 38 00 BA 05 80 0D 02 02 30 00 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A5 CD 00 00 35 04 06 00 A1 DA FF E8 FA A4 00 00 9F [17:46:43]Write i2c OK [17:46:43]MH_I2C_Read... [17:46:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:46:43]Read from MH i2c: E2 [17:46:43]MH_I2C_Read... [17:46:43]Read from MH i2c: E2 03 00 [17:46:43]MH_I2C_Read... [17:46:43]Read from MH i2c: E2 03 00 BA 05 00 90 00 33 [17:46:43]RAPDU: 90 00 [17:46:43]wFMCommunicate OK [17:46:43]wFMCommunicate request_size=4 [17:46:43]MH_SAM_APDU [17:46:43]CAPDU: 80 0D 03 02 [17:46:43]Write to MH i2c: E2 08 00 BB 05 80 0D 03 02 00 00 00 00 3B [17:46:43]Write i2c OK [17:46:43]MH_I2C_Read... [17:46:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:46:43]Read from MH i2c: E2 [17:46:43]MH_I2C_Read... [17:46:43]Read from MH i2c: E2 0B 00 [17:46:43]MH_I2C_Read... [17:46:43]Read from MH i2c: E2 0B 00 BB 05 00 9D B2 85 C2 C8 EC AF D7 90 00 0C [17:46:43]RAPDU: 9D B2 85 C2 C8 EC AF D7 90 00 [17:46:43]wFMCommunicate OK [17:46:43]SAM_PROTO_SignData done [17:46:43]FM_MakeSignedData done [17:46:43]CreateOFDProtocolMessage [17:46:43]wFMCommunicate request_size=4 [17:46:43]MH_SAM_APDU [17:46:43]CAPDU: 80 11 00 00 [17:46:43]Write to MH i2c: E2 08 00 BC 05 80 11 00 00 00 00 00 00 3B [17:46:43]Write i2c OK [17:46:43]MH_I2C_Read... [17:46:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:46:43]Read from MH i2c: E2 [17:46:43]MH_I2C_Read... [17:46:43]Read from MH i2c: E2 17 00 [17:46:43]MH_I2C_Read... [17:46:43]Read from MH i2c: E2 17 00 BC 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 8E [17:46:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [17:46:43]wFMCommunicate OK [17:46:43]CreateOFDProtocolMessage done [17:46:43]OFDSenderStorePacket 52645 [17:46:43]StoreOFDPacket docnum=52645 [17:46:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 3A 01 00 00 AC B5 32 01 23 6C 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 03 F9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A5 CD 00 00 35 04 06 00 A1 DA FF E8 FA A4 9D B2 85 C2 C8 EC AF D7 [17:46:43]CheckFolder [17:46:43]dirname=/storage/ofd_packets [17:46:43]CheckFolder done [17:46:43]ProducePacketName [17:46:43]name=ofd_packets/00052645 [17:46:43]NVStorageSaveData ofd_packets/00052645 [17:46:43]File name is /storage/ofd_packets/00052645 [17:46:43]Write 344 bytes [17:46:43]NVStorageSaveData done [17:46:43]OFDSenderStorePacket done [17:46:43]KKMCreateOFDPacket done [17:46:43]NVStorageSaveData kkm_last_timestamp [17:46:43]File name is /storage/kkm_last_timestamp [17:46:43]Write 4 bytes [17:46:43]NVStorageSaveData done [17:46:43]ExternCall_PrintAddStr [17:46:43]wPrintStart [17:46:43]Write to MH i2c: 01 00 00 BD 05 C2 [17:46:43]Write i2c OK [17:46:43]MH_I2C_Read... [17:46:43]Read from MH i2c: 01 [17:46:43]MH_I2C_Read... [17:46:43]Read from MH i2c: 01 07 00 [17:46:43]MH_I2C_Read... [17:46:43]Read from MH i2c: 01 07 00 BD 05 00 00 00 00 00 FF 0F D7 [17:46:43]RasterBufferAndPrint [17:46:43]line Счет N : (3)122776 [17:46:43]line ИНН: 02508201610067 [17:46:43]line Контрольно-Кассовый Чек [17:46:43]line ПРОДАЖА [17:46:43]line Товар: 4600682557456 [17:46:43]line Напиток FLash up energy эн ж/б 0,5/0,45л [17:46:43]line 1.000 * 85.00 [17:46:43]line = 85.00 [17:46:43]line НДС 12% НСП 1% [17:46:43]line > о реализуемом товаре [17:46:43]line ИТОГО: 85.00 [17:46:43]line НСП 1% : 0.75 [17:46:43]line НДС 12% : 9.03 [17:46:43]line Наличными: 0.00 [17:46:43]line Безнал.: 85.00 [17:46:43]line Место: АЗС № 54 "Партнер Нефть" [17:46:43]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [17:46:43]line СНО: Общий режим [17:46:43]line Чек 56 11.08.2024 17:46 [17:46:43]line Смена: 446 ФФД: 1.0 [17:46:43]line ЗНМ: 0300000007 [17:46:43]line РНМ: 0000000000090834 [17:46:43]line Версия ККМ: 001 [17:46:43]line Платежная система: О! деньги [17:46:43]line ФМ: 0000000000874715 [17:46:43]line ФД: 52645 [17:46:43]line ФПД: 177961968401060 [17:46:43]line /tax-web-control/client/api/v1/ticket?date=20240811T174643&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52645&fm=177961968401060&tin=02508201610067®Number=0000000000090834&sum=8500 [17:46:43]OFD Sender: Processing packet 52645 [packets to send 55, broken 54] [17:46:43]ProducePacketName [17:46:43]name=ofd_packets/00052645 [17:46:43]OFD Sender: To server: pG, [17:46:43]CommunicateWithHost lk.salyk.kg:30040 [17:46:43]ConnectInit lk.salyk.kg [17:46:43]line 0 [17:46:43]written 0, free lines is 4095 [17:46:44]Connected sock=10 [17:46:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 3A 01 00 00 AC B5 32 01 23 6C 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 03 F9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A5 CD 00 00 35 04 06 00 A1 DA FF E8 FA A4 9D B2 85 C2 C8 EC AF D7 [17:46:44]Write to MH i2c: 01 00 00 E7 05 EC [17:46:44]Write i2c OK [17:46:44]MH_I2C_Read... [17:46:44]Read from MH i2c: 01 [17:46:44]MH_I2C_Read... [17:46:44]Read from MH i2c: 01 07 00 [17:46:44]MH_I2C_Read... [17:46:44]Read from MH i2c: 01 07 00 E7 05 00 00 00 00 00 CC 0C CB [17:46:44]RasterBufferAndPrint [17:46:44]line [17:46:44]line [17:46:44]line [17:46:44]line [17:46:44]line [17:46:44]written 0, free lines is 3282 [17:46:44]MH_Cut [17:46:44]Write to MH i2c: D1 01 00 EE 05 01 C5 [17:46:44]Write i2c OK [17:46:44]MH_I2C_Read... [17:46:44]Read from MH i2c: D1 [17:46:44]MH_I2C_Read... [17:46:44]Read from MH i2c: D1 01 00 [17:46:44]MH_I2C_Read... [17:46:44]Read from MH i2c: D1 01 00 EE 05 00 C4 [17:46:44]Write to MH i2c: 01 00 00 EF 05 F4 [17:46:44]Write i2c OK [17:46:44]MH_I2C_Read... [17:46:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 2B 2C 47 00 31 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 34 37 31 35 10 04 04 00 A5 CD 00 00 F4 03 04 00 9D A0 B8 66 B6 04 01 00 00 84 0D FD 8E E5 56 36 48 [17:46:44]CommunicateWithHost err = 0 [17:46:44]CheckOFDResponse [17:46:44]1017 (14) - 77093643461234 [17:46:44]1041 (16) - 0000000000874715 [17:46:44]1040 (4) - 52645 [17:46:44]1012 (4) - 11.08.2024 11:29 [17:46:44]1206 (1) - 0 [17:46:44]OFD Sender: Remove packet 52645 [17:46:44]ProducePacketName [17:46:44]name=ofd_packets/00052645 [17:46:44]NVStorageDeleteData [17:46:44]OFD Sender: No OFD packet to send [17:46:45]*** Cut start [17:46:45]*** Purtial cut [17:46:45]*** Stage 1: CUTSNS_PIN = 1 [17:46:45]Read from MH i2c: 01 [17:46:45]MH_I2C_Read... [17:46:45]*** Stop cut motor [17:46:45]*** Cut end [17:46:45]Read from MH i2c: 01 07 00 [17:46:45]MH_I2C_Read... [17:46:45]Read from MH i2c: 01 07 00 EF 05 00 00 00 00 00 FF 0F 09 [17:46:45]process_action close_receipt done [17:46:45]requested_data is exist [17:46:45]produce_requested_data [17:46:45]requested_item fm.sn is exist - process it [17:46:45]wFMCommunicate request_size=4 [17:46:45]MH_SAM_APDU [17:46:45]CAPDU: 80 11 00 00 [17:46:45]Write to MH i2c: E2 08 00 F0 05 80 11 00 00 00 00 00 00 6F [17:46:45]Write i2c OK [17:46:45]MH_I2C_Read... [17:46:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:46:45]Read from MH i2c: E2 [17:46:45]MH_I2C_Read... [17:46:45]Read from MH i2c: E2 17 00 [17:46:45]MH_I2C_Read... [17:46:45]Read from MH i2c: E2 17 00 F0 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 C2 [17:46:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [17:46:45]wFMCommunicate OK [17:46:45]requested_item fd.num is exist - process it [17:46:45]SAM_PROTO_GetFieldsCounters [17:46:45]wFMCommunicate request_size=4 [17:46:45]MH_SAM_APDU [17:46:45]CAPDU: 80 13 00 00 [17:46:45]Write to MH i2c: E2 08 00 F1 05 80 13 00 00 00 00 00 00 72 [17:46:45]Write i2c OK [17:46:45]MH_I2C_Read... [17:46:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:46:45]Read from MH i2c: E2 [17:46:45]MH_I2C_Read... [17:46:45]Read from MH i2c: E2 62 00 [17:46:45]MH_I2C_Read... [17:46:45]Read from MH i2c: E2 62 00 F1 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A5 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 6B [17:46:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A5 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:46:45]wFMCommunicate OK [17:46:45]SAM_PROTO_GetFieldsCounters done [17:46:45]requested_item shift.num is exist - process it [17:46:45]requested_item shift.opened is exist - process it [17:46:45]req_shift_opened [17:46:45]FM_GetShiftState [17:46:45]SAM_PROTO_GetShiftState [17:46:45]wFMCommunicate request_size=4 [17:46:45]MH_SAM_APDU [17:46:45]CAPDU: 80 13 01 00 [17:46:45]Write to MH i2c: E2 08 00 F2 05 80 13 01 00 00 00 00 00 74 [17:46:45]Write i2c OK [17:46:45]MH_I2C_Read... [17:46:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:46:45]Read from MH i2c: E2 [17:46:45]MH_I2C_Read... [17:46:45]Read from MH i2c: E2 0E 00 [17:46:45]MH_I2C_Read... [17:46:45]Read from MH i2c: E2 0E 00 F2 05 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 9D [17:46:45]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [17:46:45]wFMCommunicate OK [17:46:45]SAM_PROTO_GetShiftState done [17:46:45]FM_GetShiftState done [17:46:45]req_shift_opened done [17:46:45]requested_item shift.open_date is exist - process it [17:46:45]req_shift_open_date [17:46:45]req_shift_open_date done [17:46:45]produce_requested_data done [17:46:45]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52645,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [17:46:45]process_action_free close_receipt [17:46:45]json_value_free [17:46:45]json_value_free done [17:46:45]process_json_proto returns [17:46:45]Send response to host [17:46:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52645,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [17:46:45]free response buf [17:46:45]execute_script done [17:46:45]execute_script returns [17:46:45]free content buf [17:46:45]Sock 7.Close socket [17:46:45]Sock 7.Thread stoped [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:49:00]OFD Sender: No OFD packet to send [17:49:05]OFD Sender: No OFD packet to send [17:49:10]OFD Sender: No OFD packet to send [17:49:15]OFD Sender: No OFD packet to send [17:49:20]OFD Sender: No OFD packet to send [17:49:25]OFD Sender: No OFD packet to send [17:49:30]OFD Sender: No OFD packet to send [17:49:35]OFD Sender: No OFD packet to send [17:49:40]OFD Sender: No OFD packet to send [17:49:45]OFD Sender: No OFD packet to send [17:49:50]OFD Sender: No OFD packet to send [17:49:55]OFD Sender: No OFD packet to send [17:50:00]OFD Sender: No OFD packet to send [17:50:02]accept exits with 9 [17:50:02]New connection [17:50:02]New thread 3067149668 created [17:50:02]Thread 3067293028 joined [17:50:02]Waiting for new connection... [17:50:02] Sock 9.Parse request [17:50:02]Sock 9.Check first char [17:50:02]Sock 9.First char is OK [17:50:02]request: POST /json_proto HTTP/1.0 [17:50:02]Method: POST [17:50:02]URL: /json_proto [17:50:02]Method is POST - this is cgi request [17:50:02]url: /json_proto [17:50:02]query_string will be loaded in cgi processing [17:50:02]execute_cgi json_proto POST (null) [17:50:02]execute_cgi path=json_proto method=POST [17:50:02]POST find Content-Length [17:50:02]Host: 172.17.60.7:8080 [17:50:02]Content-Length: 789 [17:50:02]Content-Type: application/json [17:50:02] [17:50:02]POST finish read [17:50:02]Found Content-Length = 789 [17:50:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122777", "tax_sys" : 0, "items" : [ { "code": "48741415", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Violet", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:50:02]execute_script... [17:50:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122777", "tax_sys" : 0, "items" : [ { "code": "48741415", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Violet", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:50:02]POST & json_proto [17:50:02]process_json_proto [17:50:02]json parsed OK: [17:50:02]protocol is kg_v1.0 [17:50:02]action value=close_receipt [17:50:02]process_action close_receipt [17:50:02]cmd_close_receipt [17:50:02]MH_GetDate [17:50:02]Write to MH i2c: F0 00 00 F3 05 E7 [17:50:02]Write i2c OK [17:50:02]MH_I2C_Read... [17:50:02]Read from MH i2c: F0 [17:50:02]MH_I2C_Read... [17:50:02]Read from MH i2c: F0 09 00 [17:50:02]MH_I2C_Read... [17:50:02]Read from MH i2c: F0 09 00 F3 05 00 CC F9 B8 66 63 9B 67 64 9C [17:50:02]GetLastDocTimeStamp 1723398403 [17:50:02]current date 1723398604 [17:50:02]FM_GetShiftState [17:50:02]SAM_PROTO_GetShiftState [17:50:02]wFMCommunicate request_size=4 [17:50:02]MH_SAM_APDU [17:50:02]CAPDU: 80 13 01 00 [17:50:02]Write to MH i2c: E2 08 00 F4 05 80 13 01 00 00 00 00 00 76 [17:50:02]Write i2c OK [17:50:02]MH_I2C_Read... [17:50:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:50:02]Read from MH i2c: E2 [17:50:02]MH_I2C_Read... [17:50:02]Read from MH i2c: E2 0E 00 [17:50:02]MH_I2C_Read... [17:50:02]Read from MH i2c: E2 0E 00 F4 05 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 9F [17:50:02]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [17:50:02]wFMCommunicate OK [17:50:02]SAM_PROTO_GetShiftState done [17:50:02]FM_GetShiftState done [17:50:02]opened in 1723336186 [17:50:02]opened+sec_in_day 1723422586 [17:50:02]quantity*price = 26000 [17:50:02]sum+1 = 26001 [17:50:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 0.00 Безнал.: 260.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 57 11.08.2024 17:50 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52646 ФПД: 107842168292912 /tax-web-control/client/api/v1/ticket?date=20240811T175004&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52646&fm=107842168292912&tin=02508201610067®Number=0000000000090834&sum=26000 0 [17:50:03]StoreToDocumentArchive [17:50:03]shift 446 fd 52646 [17:50:03]save to /storage/0446/doc_00052646 [17:50:03]save last doc name /storage/0446/doc_00052646 to /storage/kkm_last_doc_name [17:50:03]save OK [17:50:03]Clear old archive folders... [17:50:03]ProcessDocumentItem done err = 0, tmpTLVsize=275 [17:50:03]tlvbuf is 01282930 [17:50:03]SAM_PROTO_ClearQueue [17:50:03]wFMCommunicate request_size=4 [17:50:03]MH_SAM_APDU [17:50:03]CAPDU: 80 09 00 00 [17:50:03]Write to MH i2c: E2 08 00 01 06 80 09 00 00 00 00 00 00 79 [17:50:03]Write i2c OK [17:50:03]MH_I2C_Read... [17:50:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:50:03]Read from MH i2c: E2 [17:50:03]MH_I2C_Read... [17:50:03]Read from MH i2c: E2 03 00 [17:50:03]MH_I2C_Read... [17:50:03]Read from MH i2c: E2 03 00 01 06 00 90 00 7B [17:50:03]RAPDU: 90 00 [17:50:03]wFMCommunicate OK [17:50:03]SAM_PROTO_ClearQueue done [17:50:03]KKMCreateOFDPacket [17:50:03]OFDProtocolAddRootSTLVToBuf [17:50:03]FM_MakeSignedData [17:50:03]FM_MakeSignedData [17:50:03]SAM_PROTO_SignData [17:50:03]wFMCommunicate request_size=4 [17:50:03]MH_SAM_APDU [17:50:03]CAPDU: 80 0D 01 02 [17:50:03]Write to MH i2c: E2 08 00 02 06 80 0D 01 02 00 00 00 00 81 [17:50:03]Write i2c OK [17:50:03]MH_I2C_Read... [17:50:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:50:03]Read from MH i2c: E2 [17:50:03]MH_I2C_Read... [17:50:03]Read from MH i2c: E2 03 00 [17:50:03]MH_I2C_Read... [17:50:03]Read from MH i2c: E2 03 00 02 06 00 90 00 7C [17:50:03]RAPDU: 90 00 [17:50:03]wFMCommunicate OK [17:50:03]wFMCommunicate request_size=255 [17:50:03]MH_SAM_APDU [17:50:03]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 CC F9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 [17:50:03]Write to MH i2c: E2 02 01 03 06 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 CC F9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 00 00 DF [17:50:03]Write i2c OK [17:50:03]MH_I2C_Read... [17:50:04]Read from MH i2c: E2 [17:50:04]MH_I2C_Read... [17:50:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:50:04]Read from MH i2c: E2 03 00 [17:50:04]MH_I2C_Read... [17:50:04]Read from MH i2c: E2 03 00 03 06 00 90 00 7D [17:50:04]RAPDU: 90 00 [17:50:04]wFMCommunicate OK [17:50:04]wFMCommunicate request_size=34 [17:50:04]MH_SAM_APDU [17:50:04]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A6 CD 00 00 35 04 06 00 62 14 F6 22 06 30 [17:50:04]Write to MH i2c: E2 25 00 04 06 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A6 CD 00 00 35 04 06 00 62 14 F6 22 06 30 00 00 7C [17:50:04]Write i2c OK [17:50:04]MH_I2C_Read... [17:50:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:50:04]Read from MH i2c: E2 [17:50:04]MH_I2C_Read... [17:50:04]Read from MH i2c: E2 03 00 [17:50:04]MH_I2C_Read... [17:50:04]Read from MH i2c: E2 03 00 04 06 00 90 00 7E [17:50:04]RAPDU: 90 00 [17:50:04]wFMCommunicate OK [17:50:04]wFMCommunicate request_size=4 [17:50:04]MH_SAM_APDU [17:50:04]CAPDU: 80 0D 03 02 [17:50:04]Write to MH i2c: E2 08 00 05 06 80 0D 03 02 00 00 00 00 86 [17:50:04]Write i2c OK [17:50:04]MH_I2C_Read... [17:50:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:50:04]Read from MH i2c: E2 [17:50:04]MH_I2C_Read... [17:50:04]Read from MH i2c: E2 0B 00 [17:50:04]MH_I2C_Read... [17:50:04]Read from MH i2c: E2 0B 00 05 06 00 DC 32 66 86 0B 3F 5F 98 90 00 C2 [17:50:04]RAPDU: DC 32 66 86 0B 3F 5F 98 90 00 [17:50:04]wFMCommunicate OK [17:50:04]SAM_PROTO_SignData done [17:50:04]FM_MakeSignedData done [17:50:04]CreateOFDProtocolMessage [17:50:04]wFMCommunicate request_size=4 [17:50:04]MH_SAM_APDU [17:50:04]CAPDU: 80 11 00 00 [17:50:04]Write to MH i2c: E2 08 00 06 06 80 11 00 00 00 00 00 00 86 [17:50:04]Write i2c OK [17:50:04]MH_I2C_Read... [17:50:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:50:04]Read from MH i2c: E2 [17:50:04]MH_I2C_Read... [17:50:04]Read from MH i2c: E2 17 00 [17:50:04]MH_I2C_Read... [17:50:04]Read from MH i2c: E2 17 00 06 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 D9 [17:50:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [17:50:04]wFMCommunicate OK [17:50:04]CreateOFDProtocolMessage done [17:50:04]OFDSenderStorePacket 52646 [17:50:04]StoreOFDPacket docnum=52646 [17:50:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 27 01 00 00 C9 08 1F 01 B4 0F 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 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 CC F9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A6 CD 00 00 35 04 06 00 62 14 F6 22 06 30 DC 32 66 86 0B 3F 5F 98 [17:50:04]CheckFolder [17:50:04]dirname=/storage/ofd_packets [17:50:04]CheckFolder done [17:50:04]ProducePacketName [17:50:04]name=ofd_packets/00052646 [17:50:04]NVStorageSaveData ofd_packets/00052646 [17:50:04]File name is /storage/ofd_packets/00052646 [17:50:04]Write 325 bytes [17:50:04]NVStorageSaveData done [17:50:04]OFDSenderStorePacket done [17:50:04]KKMCreateOFDPacket done [17:50:04]NVStorageSaveData kkm_last_timestamp [17:50:04]File name is /storage/kkm_last_timestamp [17:50:04]Write 4 bytes [17:50:04]NVStorageSaveData done [17:50:04]ExternCall_PrintAddStr [17:50:04]wPrintStart [17:50:04]Write to MH i2c: 01 00 00 07 06 0D [17:50:04]Write i2c OK [17:50:04]MH_I2C_Read... [17:50:04]Read from MH i2c: 01 [17:50:04]MH_I2C_Read... [17:50:04]Read from MH i2c: 01 07 00 [17:50:04]MH_I2C_Read... [17:50:04]Read from MH i2c: 01 07 00 07 06 00 00 00 00 00 FF 0F 22 [17:50:04]RasterBufferAndPrint [17:50:04]line Счет N : (3)122777 [17:50:04]line ИНН: 02508201610067 [17:50:04]line Контрольно-Кассовый Чек [17:50:04]line ПРОДАЖА [17:50:04]line Товар: 48741415 [17:50:04]line Сигареты LD Super Slims Violet [17:50:04]line 2.000 * 130.00 [17:50:04]line = 260.00 [17:50:04]line НДС 12% НСП 1% [17:50:04]line > о реализуемом товаре [17:50:04]line ИТОГО: 260.00 [17:50:04]line НСП 1% : 2.30 [17:50:04]line НДС 12% : 27.61 [17:50:04]line Наличными: 0.00 [17:50:04]line Безнал.: 260.00 [17:50:04]line Место: АЗС № 54 "Партнер Нефть" [17:50:04]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [17:50:04]line СНО: Общий режим [17:50:04]line Чек 57 11.08.2024 17:50 [17:50:04]line Смена: 446 ФФД: 1.0 [17:50:04]line ЗНМ: 0300000007 [17:50:04]line РНМ: 0000000000090834 [17:50:04]line Версия ККМ: 001 [17:50:04]line Платежная система: О! деньги [17:50:04]line ФМ: 0000000000874715 [17:50:04]line ФД: 52646 [17:50:04]line ФПД: 107842168292912 [17:50:04]line /tax-web-control/client/api/v1/ticket?date=20240811T175004&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52646&fm=107842168292912&tin=02508201610067®Number=0000000000090834&sum=26000 [17:50:04]OFD Sender: Processing packet 52646 [packets to send 55, broken 54] [17:50:04]ProducePacketName [17:50:04]name=ofd_packets/00052646 [17:50:04]OFD Sender: To server: pG, [17:50:04]CommunicateWithHost lk.salyk.kg:30040 [17:50:04]ConnectInit lk.salyk.kg [17:50:04]line 0 [17:50:04]written 0, free lines is 4095 [17:50:04]Connected sock=10 [17:50:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 27 01 00 00 C9 08 1F 01 B4 0F 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 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 CC F9 B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A6 CD 00 00 35 04 06 00 62 14 F6 22 06 30 DC 32 66 86 0B 3F 5F 98 [17:50:05]Write to MH i2c: 01 00 00 31 06 37 [17:50:05]Write i2c OK [17:50:05]MH_I2C_Read... [17:50:05]Read from MH i2c: 01 [17:50:05]MH_I2C_Read... [17:50:05]Read from MH i2c: 01 07 00 [17:50:05]MH_I2C_Read... [17:50:05]Read from MH i2c: 01 07 00 31 06 00 00 00 00 00 AF 0C F9 [17:50:05]RasterBufferAndPrint [17:50:05]line [17:50:05]line [17:50:05]line [17:50:05]line [17:50:05]line [17:50:05]written 0, free lines is 3251 [17:50:05]MH_Cut [17:50:05]Write to MH i2c: D1 01 00 38 06 01 10 [17:50:05]Write i2c OK [17:50:05]MH_I2C_Read... [17:50:05]Read from MH i2c: D1 [17:50:05]MH_I2C_Read... [17:50:05]Read from MH i2c: D1 01 00 [17:50:05]MH_I2C_Read... [17:50:05]Read from MH i2c: D1 01 00 38 06 00 0F [17:50:05]Write to MH i2c: 01 00 00 39 06 3F [17:50:05]Write i2c OK [17:50:05]MH_I2C_Read... [17:50:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 87 85 47 00 4F 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 34 37 31 35 10 04 04 00 A6 CD 00 00 F4 03 04 00 66 A1 B8 66 B6 04 01 00 00 E7 FA FE 30 2C 97 43 2E [17:50:05]CommunicateWithHost err = 0 [17:50:05]CheckOFDResponse [17:50:05]1017 (14) - 77093643461234 [17:50:05]1041 (16) - 0000000000874715 [17:50:05]1040 (4) - 52646 [17:50:05]1012 (4) - 11.08.2024 11:32 [17:50:05]1206 (1) - 0 [17:50:05]OFD Sender: Remove packet 52646 [17:50:05]ProducePacketName [17:50:05]name=ofd_packets/00052646 [17:50:05]NVStorageDeleteData [17:50:05]OFD Sender: No OFD packet to send [17:50:06]*** Cut start [17:50:06]*** Purtial cut [17:50:06]*** Stage 1: CUTSNS_PIN = 1 [17:50:06]Read from MH i2c: 01 [17:50:06]MH_I2C_Read... [17:50:06]*** Stop cut motor [17:50:06]*** Cut end [17:50:06]Read from MH i2c: 01 07 00 [17:50:06]MH_I2C_Read... [17:50:06]Read from MH i2c: 01 07 00 39 06 00 00 00 00 00 FF 0F 54 [17:50:06]process_action close_receipt done [17:50:06]requested_data is exist [17:50:06]produce_requested_data [17:50:06]requested_item fm.sn is exist - process it [17:50:06]wFMCommunicate request_size=4 [17:50:06]MH_SAM_APDU [17:50:06]CAPDU: 80 11 00 00 [17:50:06]Write to MH i2c: E2 08 00 3A 06 80 11 00 00 00 00 00 00 BA [17:50:06]Write i2c OK [17:50:06]MH_I2C_Read... [17:50:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:50:06]Read from MH i2c: E2 [17:50:06]MH_I2C_Read... [17:50:06]Read from MH i2c: E2 17 00 [17:50:06]MH_I2C_Read... [17:50:06]Read from MH i2c: E2 17 00 3A 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 0D [17:50:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [17:50:06]wFMCommunicate OK [17:50:06]requested_item fd.num is exist - process it [17:50:06]SAM_PROTO_GetFieldsCounters [17:50:06]wFMCommunicate request_size=4 [17:50:06]MH_SAM_APDU [17:50:06]CAPDU: 80 13 00 00 [17:50:06]Write to MH i2c: E2 08 00 3B 06 80 13 00 00 00 00 00 00 BD [17:50:06]Write i2c OK [17:50:06]MH_I2C_Read... [17:50:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:50:06]Read from MH i2c: E2 [17:50:06]MH_I2C_Read... [17:50:06]Read from MH i2c: E2 62 00 [17:50:06]MH_I2C_Read... [17:50:06]Read from MH i2c: E2 62 00 3B 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A6 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 BA [17:50:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A6 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:50:06]wFMCommunicate OK [17:50:06]SAM_PROTO_GetFieldsCounters done [17:50:06]requested_item shift.num is exist - process it [17:50:06]requested_item shift.opened is exist - process it [17:50:06]req_shift_opened [17:50:06]FM_GetShiftState [17:50:06]SAM_PROTO_GetShiftState [17:50:06]wFMCommunicate request_size=4 [17:50:06]MH_SAM_APDU [17:50:06]CAPDU: 80 13 01 00 [17:50:06]Write to MH i2c: E2 08 00 3C 06 80 13 01 00 00 00 00 00 BF [17:50:06]Write i2c OK [17:50:06]MH_I2C_Read... [17:50:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:50:06]Read from MH i2c: E2 [17:50:06]MH_I2C_Read... [17:50:06]Read from MH i2c: E2 0E 00 [17:50:06]MH_I2C_Read... [17:50:06]Read from MH i2c: E2 0E 00 3C 06 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 E8 [17:50:06]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [17:50:06]wFMCommunicate OK [17:50:06]SAM_PROTO_GetShiftState done [17:50:06]FM_GetShiftState done [17:50:06]req_shift_opened done [17:50:06]requested_item shift.open_date is exist - process it [17:50:06]req_shift_open_date [17:50:06]req_shift_open_date done [17:50:06]produce_requested_data done [17:50:06]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52646,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [17:50:06]process_action_free close_receipt [17:50:06]json_value_free [17:50:06]json_value_free done [17:50:06]process_json_proto returns [17:50:06]Send response to host [17:50:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52646,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [17:50:06]free response buf [17:50:06]execute_script done [17:50:06]execute_script returns [17:50:06]free content buf [17:50:06]Sock 9.Close socket [17:50:06]Sock 9.Thread stoped [17:50:10]OFD Sender: No OFD packet to send [17:50:15]OFD Sender: No OFD packet to send [17:50:20]OFD Sender: No OFD packet to send [17:50:25]OFD Sender: No OFD packet to send [17:50:30]OFD Sender: No OFD packet to send [17:50:35]OFD Sender: No OFD packet to send [17:50:40]OFD Sender: No OFD packet to send [17:50:45]OFD Sender: No OFD packet to send [17:50:50]OFD Sender: No OFD packet to send [17:50:55]OFD Sender: No OFD packet to send [17:51:00]OFD Sender: No OFD packet to send [17:51:05]OFD Sender: No OFD packet to send [17:51:10]OFD Sender: No OFD packet to send [17:51:15]OFD Sender: No OFD packet to send [17:51:20]OFD Sender: No OFD packet to send [17:51:25]OFD Sender: No OFD packet to send [17:51:30]OFD Sender: No OFD packet to send [17:51:35]OFD Sender: No OFD packet to send [17:51:40]OFD Sender: No OFD packet to send [17:51:45]OFD Sender: No OFD packet to send [17:51:50]OFD Sender: No OFD packet to send [17:51:55]OFD Sender: No OFD packet to send [17:52:00]OFD Sender: No OFD packet to send [17:52:05]OFD Sender: No OFD packet to send [17:52:10]OFD Sender: No OFD packet to send [17:52:15]OFD Sender: No OFD packet to send [17:52:20]OFD Sender: No OFD packet to send [17:52:25]OFD Sender: No OFD packet to send [17:52:30]OFD Sender: No OFD packet to send [17:52:35]OFD Sender: No OFD packet to send [17:52:40]OFD Sender: No OFD packet to send [17:52:46]OFD Sender: No OFD packet to send [17:52:51]OFD Sender: No OFD packet to send [17:52:56]OFD Sender: No OFD packet to send [17:53:01]OFD Sender: No OFD packet to send [17:53:06]OFD Sender: No OFD packet to send [17:53:11]OFD Sender: No OFD packet to send [17:53:16]OFD Sender: No OFD packet to send [17:53:21]OFD Sender: No OFD packet to send [17:53:26]OFD Sender: No OFD packet to send [17:53:31]OFD Sender: No OFD packet to send [17:53:36]OFD Sender: No OFD packet to send [17:53:41]OFD Sender: No OFD packet to send [17:53:46]OFD Sender: No OFD packet to send [17:53:51]OFD Sender: No OFD packet to send [17:53:56]OFD Sender: No OFD packet to send [17:54:01]OFD Sender: No OFD packet to send [17:54:06]OFD Sender: No OFD packet to send [17:54:11]OFD Sender: No OFD packet to send [17:54:16]OFD Sender: No OFD packet to send [17:54:21]OFD Sender: No OFD packet to send [17:54:26]OFD Sender: No OFD packet to send [17:54:31]OFD Sender: No OFD packet to send [17:54:36]OFD Sender: No OFD packet to send [17:54:41]OFD Sender: No OFD packet to send [17:54:46]OFD Sender: No OFD packet to send [17:54:51]OFD Sender: No OFD packet to send [17:54:56]OFD Sender: No OFD packet to send [17:55:01]OFD Sender: No OFD packet to send [17:55:06]OFD Sender: No OFD packet to send [17:55:11]OFD Sender: No OFD packet to send [17:55:16]OFD Sender: No OFD packet to send [17:55:21]OFD Sender: No OFD packet to send [17:55:26]OFD Sender: No OFD packet to send [17:55:31]OFD Sender: No OFD packet to send [17:55:36]OFD Sender: No OFD packet to send [17:55:41]OFD Sender: No OFD packet to send [17:55:46]OFD Sender: No OFD packet to send [17:55:51]OFD Sender: No OFD packet to send [17:55:56]OFD Sender: No OFD packet to send [17:56:01]OFD Sender: No OFD packet to send [17:56:06]OFD Sender: No OFD packet to send [17:56:11]OFD Sender: No OFD packet to send [17:56:16]OFD Sender: No OFD packet to send [17:56:21]OFD Sender: No OFD packet to send [17:56:26]OFD Sender: No OFD packet to send [17:56:31]OFD Sender: No OFD packet to send [17:56:36]OFD Sender: No OFD packet to send [17:56:41]OFD Sender: No OFD packet to send [17:56:46]OFD Sender: No OFD packet to send [17:56:51]OFD Sender: No OFD packet to send [17:56:56]OFD Sender: No OFD packet to send [17:57:01]OFD Sender: No OFD packet to send [17:57:06]OFD Sender: No OFD packet to send [17:57:11]OFD Sender: No OFD packet to send [17:57:16]OFD Sender: No OFD packet to send [17:57:21]OFD Sender: No OFD packet to send [17:57:26]OFD Sender: No OFD packet to send [17:57:31]OFD Sender: No OFD packet to send [17:57:36]OFD Sender: No OFD packet to send [17:57:41]OFD Sender: No OFD packet to send [17:57:46]OFD Sender: No OFD packet to send [17:57:51]OFD Sender: No OFD packet to send [17:57:56]OFD Sender: No OFD packet to send [17:58:01]OFD Sender: No OFD packet to send [17:58:06]OFD Sender: No OFD packet to send [17:58:11]OFD Sender: No OFD packet to send [17:58:16]OFD Sender: No OFD packet to send [17:58:21]OFD Sender: No OFD packet to send [17:58:26]OFD Sender: No OFD packet to send [17:58:31]OFD Sender: No OFD packet to send [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:26]OFD Sender: No OFD packet to send [18:07:31]OFD Sender: No OFD packet to send [18:07:36]OFD Sender: No OFD packet to send [18:07:41]OFD Sender: No OFD packet to send [18:07:46]OFD Sender: No OFD packet to send [18:07:51]OFD Sender: No OFD packet to send [18:07:56]OFD Sender: No OFD packet to send [18:08:01]OFD Sender: No OFD packet to send [18:08:06]OFD Sender: No OFD packet to send [18:08:11]OFD Sender: No OFD packet to send [18:08:16]OFD Sender: No OFD packet to send [18:08:21]OFD Sender: No OFD packet to send [18:08:26]OFD Sender: No OFD packet to send [18:08:31]OFD Sender: No OFD packet to send [18:08:36]OFD Sender: No OFD packet to send [18:08:41]OFD Sender: No OFD packet to send [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:09]accept exits with 7 [18:09:09]New connection [18:09:09]New thread 3067293028 created [18:09:09]Thread 3067149668 joined [18:09:09]Waiting for new connection... [18:09:09] Sock 7.Parse request [18:09:09]Sock 7.Check first char [18:09:09]Sock 7.First char is OK [18:09:09]request: POST /json_proto HTTP/1.0 [18:09:09]Method: POST [18:09:09]URL: /json_proto [18:09:09]Method is POST - this is cgi request [18:09:09]url: /json_proto [18:09:09]query_string will be loaded in cgi processing [18:09:09]execute_cgi json_proto POST (null) [18:09:09]execute_cgi path=json_proto method=POST [18:09:09]POST find Content-Length [18:09:09]Host: 172.17.60.7:8080 [18:09:09]Content-Length: 1348 [18:09:09]Content-Type: application/json [18:09:09] [18:09:09]POST finish read [18:09:09]Found Content-Length = 1348 [18:09:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122778", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 297.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:09:09]execute_script... [18:09:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122778", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 297.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:09:09]POST & json_proto [18:09:09]process_json_proto [18:09:09]json parsed OK: [18:09:09]protocol is kg_v1.0 [18:09:09]action value=close_receipt [18:09:09]process_action close_receipt [18:09:09]cmd_close_receipt [18:09:09]MH_GetDate [18:09:09]Write to MH i2c: F0 00 00 3D 06 32 [18:09:09]Write i2c OK [18:09:09]MH_I2C_Read... [18:09:09]Read from MH i2c: F0 [18:09:09]MH_I2C_Read... [18:09:09]Read from MH i2c: F0 09 00 [18:09:09]MH_I2C_Read... [18:09:09]Read from MH i2c: F0 09 00 3D 06 00 46 FE B8 66 63 9B 67 64 66 [18:09:09]GetLastDocTimeStamp 1723398604 [18:09:09]current date 1723399750 [18:09:09]FM_GetShiftState [18:09:09]SAM_PROTO_GetShiftState [18:09:09]wFMCommunicate request_size=4 [18:09:09]MH_SAM_APDU [18:09:09]CAPDU: 80 13 01 00 [18:09:09]Write to MH i2c: E2 08 00 3E 06 80 13 01 00 00 00 00 00 C1 [18:09:09]Write i2c OK [18:09:09]MH_I2C_Read... [18:09:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:09:09]Read from MH i2c: E2 [18:09:09]MH_I2C_Read... [18:09:09]Read from MH i2c: E2 0E 00 [18:09:09]MH_I2C_Read... [18:09:09]Read from MH i2c: E2 0E 00 3E 06 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 EA [18:09:09]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [18:09:09]wFMCommunicate OK [18:09:09]SAM_PROTO_GetShiftState done [18:09:09]FM_GetShiftState done [18:09:09]opened in 1723336186 [18:09:09]opened+sec_in_day 1723422586 [18:09:09]quantity*price = 9000 [18:09:09]sum+1 = 9001 [18:09:09]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 6931280300549 Зажигалка Cricket ПН пьезо 1.000 * 67.00 = 67.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 297.00 НСП 1% : 2.63 НДС 12% : 31.54 Наличными: 0.00 Безнал.: 297.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 58 11.08.2024 18:09 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52647 ФПД: 199639917127785 /tax-web-control/client/api/v1/ticket?date=20240811T180910&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52647&fm=199639917127785&tin=02508201610067®Number=0000000000090834&sum=29700 0 [18:09:10]StoreToDocumentArchive [18:09:10]shift 446 fd 52647 [18:09:10]save to /storage/0446/doc_00052647 [18:09:10]save last doc name /storage/0446/doc_00052647 to /storage/kkm_last_doc_name [18:09:10]save OK [18:09:10]Clear old archive folders... [18:09:10]ProcessDocumentItem done err = 0, tmpTLVsize=510 [18:09:10]tlvbuf is 01257A60 [18:09:10]SAM_PROTO_ClearQueue [18:09:10]wFMCommunicate request_size=4 [18:09:10]MH_SAM_APDU [18:09:10]CAPDU: 80 09 00 00 [18:09:10]Write to MH i2c: E2 08 00 4B 06 80 09 00 00 00 00 00 00 C3 [18:09:10]Write i2c OK [18:09:10]MH_I2C_Read... [18:09:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:09:10]Read from MH i2c: E2 [18:09:10]MH_I2C_Read... [18:09:10]Read from MH i2c: E2 03 00 [18:09:10]MH_I2C_Read... [18:09:10]Read from MH i2c: E2 03 00 4B 06 00 90 00 C5 [18:09:10]RAPDU: 90 00 [18:09:10]wFMCommunicate OK [18:09:10]SAM_PROTO_ClearQueue done [18:09:10]KKMCreateOFDPacket [18:09:10]OFDProtocolAddRootSTLVToBuf [18:09:10]FM_MakeSignedData [18:09:10]FM_MakeSignedData [18:09:10]SAM_PROTO_SignData [18:09:10]wFMCommunicate request_size=4 [18:09:10]MH_SAM_APDU [18:09:10]CAPDU: 80 0D 01 02 [18:09:10]Write to MH i2c: E2 08 00 4C 06 80 0D 01 02 00 00 00 00 CB [18:09:10]Write i2c OK [18:09:10]MH_I2C_Read... [18:09:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:09:10]Read from MH i2c: E2 [18:09:10]MH_I2C_Read... [18:09:10]Read from MH i2c: E2 03 00 [18:09:10]MH_I2C_Read... [18:09:10]Read from MH i2c: E2 03 00 4C 06 00 90 00 C6 [18:09:10]RAPDU: 90 00 [18:09:10]wFMCommunicate OK [18:09:10]wFMCommunicate request_size=255 [18:09:10]MH_SAM_APDU [18:09:10]CAPDU: 80 0D 02 02 FA 03 00 FE 01 1E 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 [18:09:10]Write to MH i2c: E2 02 01 4D 06 80 0D 02 02 FA 00 03 00 FE 01 1E 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 00 00 25 [18:09:10]Write i2c OK [18:09:10]MH_I2C_Read... [18:09:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:09:10]Read from MH i2c: E2 [18:09:10]MH_I2C_Read... [18:09:10]Read from MH i2c: E2 03 00 [18:09:10]MH_I2C_Read... [18:09:10]Read from MH i2c: E2 03 00 4D 06 00 90 00 C7 [18:09:10]RAPDU: 90 00 [18:09:10]wFMCommunicate OK [18:09:10]wFMCommunicate request_size=255 [18:09:10]MH_SAM_APDU [18:09:10]CAPDU: 80 0D 02 02 FA 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 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 52 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 74 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 46 FE B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 [18:09:10]Write to MH i2c: E2 02 01 4E 06 80 0D 02 02 FA 00 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 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 52 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 74 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 46 FE B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 00 00 89 [18:09:10]Write i2c OK [18:09:10]MH_I2C_Read... [18:09:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:09:11]Read from MH i2c: E2 [18:09:11]MH_I2C_Read... [18:09:11]Read from MH i2c: E2 03 00 [18:09:11]MH_I2C_Read... [18:09:11]Read from MH i2c: E2 03 00 4E 06 00 90 00 C8 [18:09:11]RAPDU: 90 00 [18:09:11]wFMCommunicate OK [18:09:11]wFMCommunicate request_size=19 [18:09:11]MH_SAM_APDU [18:09:11]CAPDU: 80 0D 02 02 0E A7 CD 00 00 35 04 06 00 B5 92 4A 57 E8 69 [18:09:11]Write to MH i2c: E2 16 00 4F 06 80 0D 02 02 0E 00 A7 CD 00 00 35 04 06 00 B5 92 4A 57 E8 69 00 00 D7 [18:09:11]Write i2c OK [18:09:11]MH_I2C_Read... [18:09:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:09:11]Read from MH i2c: E2 [18:09:11]MH_I2C_Read... [18:09:11]Read from MH i2c: E2 03 00 [18:09:11]MH_I2C_Read... [18:09:11]Read from MH i2c: E2 03 00 4F 06 00 90 00 C9 [18:09:11]RAPDU: 90 00 [18:09:11]wFMCommunicate OK [18:09:11]wFMCommunicate request_size=4 [18:09:11]MH_SAM_APDU [18:09:11]CAPDU: 80 0D 03 02 [18:09:11]Write to MH i2c: E2 08 00 50 06 80 0D 03 02 00 00 00 00 D1 [18:09:11]Write i2c OK [18:09:11]MH_I2C_Read... [18:09:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:09:11]Read from MH i2c: E2 [18:09:11]MH_I2C_Read... [18:09:11]Read from MH i2c: E2 0B 00 [18:09:11]MH_I2C_Read... [18:09:11]Read from MH i2c: E2 0B 00 50 06 00 27 92 EF E0 9C 4C 26 A1 90 00 09 [18:09:11]RAPDU: 27 92 EF E0 9C 4C 26 A1 90 00 [18:09:11]wFMCommunicate OK [18:09:11]SAM_PROTO_SignData done [18:09:11]FM_MakeSignedData done [18:09:11]CreateOFDProtocolMessage [18:09:11]wFMCommunicate request_size=4 [18:09:11]MH_SAM_APDU [18:09:11]CAPDU: 80 11 00 00 [18:09:11]Write to MH i2c: E2 08 00 51 06 80 11 00 00 00 00 00 00 D1 [18:09:11]Write i2c OK [18:09:11]MH_I2C_Read... [18:09:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:09:11]Read from MH i2c: E2 [18:09:11]MH_I2C_Read... [18:09:11]Read from MH i2c: E2 17 00 [18:09:11]MH_I2C_Read... [18:09:11]Read from MH i2c: E2 17 00 51 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 24 [18:09:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [18:09:11]wFMCommunicate OK [18:09:11]CreateOFDProtocolMessage done [18:09:11]OFDSenderStorePacket 52647 [18:09:11]StoreOFDPacket docnum=52647 [18:09:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 12 02 00 00 43 BE 0A 02 40 FA 5A 03 01 00 03 00 FE 01 1E 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 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 52 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 74 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 46 FE B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A7 CD 00 00 35 04 06 00 B5 92 4A 57 E8 69 27 92 EF E0 9C 4C 26 A1 [18:09:11]CheckFolder [18:09:11]dirname=/storage/ofd_packets [18:09:11]CheckFolder done [18:09:11]ProducePacketName [18:09:11]name=ofd_packets/00052647 [18:09:11]NVStorageSaveData ofd_packets/00052647 [18:09:11]File name is /storage/ofd_packets/00052647 [18:09:11]Write 560 bytes [18:09:11]NVStorageSaveData done [18:09:11]OFDSenderStorePacket done [18:09:11]KKMCreateOFDPacket done [18:09:11]NVStorageSaveData kkm_last_timestamp [18:09:11]File name is /storage/kkm_last_timestamp [18:09:11]Write 4 bytes [18:09:11]NVStorageSaveData done [18:09:11]ExternCall_PrintAddStr [18:09:11]wPrintStart [18:09:11]Write to MH i2c: 01 00 00 52 06 58 [18:09:11]Write i2c OK [18:09:11]MH_I2C_Read... [18:09:11]Read from MH i2c: 01 [18:09:11]MH_I2C_Read... [18:09:11]Read from MH i2c: 01 07 00 [18:09:11]MH_I2C_Read... [18:09:11]Read from MH i2c: 01 07 00 52 06 00 00 00 00 00 FF 0F 6D [18:09:11]RasterBufferAndPrint [18:09:11]line Счет N : (3)122778 [18:09:11]line ИНН: 02508201610067 [18:09:11]line Контрольно-Кассовый Чек [18:09:11]line ПРОДАЖА [18:09:11]line Товар: 4870022003305 [18:09:11]line Напиток Gorilla эн нат ж/б 0,5/0,45л [18:09:11]line 1.000 * 90.00 [18:09:11]line = 90.00 [18:09:11]line НДС 12% НСП 1% [18:09:11]line > о реализуемом товаре [18:09:11]line Товар: 48743570 [18:09:11]line Сигареты Winston XStyle Blue [18:09:11]line 1.000 * 140.00 [18:09:11]line = 140.00 [18:09:11]line НДС 12% НСП 1% [18:09:11]line > о реализуемом товаре [18:09:11]line Товар: 6931280300549 [18:09:11]line Зажигалка Cricket ПН пьезо [18:09:11]line 1.000 * 67.00 [18:09:11]line = 67.00 [18:09:11]line НДС 12% НСП 1% [18:09:11]line > о реализуемом товаре [18:09:11]line ИТОГО: 297.00 [18:09:11]line НСП 1% : 2.63 [18:09:11]line НДС 12% : 31.54 [18:09:11]line Наличными: 0.00 [18:09:11]line Безнал.: 297.00 [18:09:11]line Место: АЗС № 54 "Партнер Нефть" [18:09:11]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [18:09:11]line СНО: Общий режим [18:09:11]line Чек 58 11.08.2024 18:09 [18:09:11]line Смена: 446 ФФД: 1.0 [18:09:11]line ЗНМ: 0300000007 [18:09:11]line РНМ: 0000000000090834 [18:09:11]line Версия ККМ: 001 [18:09:11]line Платежная система: О! деньги [18:09:11]line ФМ: 0000000000874715 [18:09:11]line ФД: 52647 [18:09:11]line ФПД: 199639917127785 [18:09:11]line /tax-web-control/client/api/v1/ticket?date=20240811T180910&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52647&fm=199639917127785&tin=02508201610067®Number=0000000000090834&sum=29700 [18:09:11]line 0 [18:09:11]OFD Sender: Processing packet 52647 [packets to send 55, broken 54] [18:09:11]ProducePacketName [18:09:11]name=ofd_packets/00052647 [18:09:11]OFD Sender: To server: pG, [18:09:11]CommunicateWithHost lk.salyk.kg:30040 [18:09:11]ConnectInit lk.salyk.kg [18:09:11]written 0, free lines is 4095 [18:09:11]Connected sock=11 [18:09:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 12 02 00 00 43 BE 0A 02 40 FA 5A 03 01 00 03 00 FE 01 1E 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 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 52 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 74 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 46 FE B8 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A7 CD 00 00 35 04 06 00 B5 92 4A 57 E8 69 27 92 EF E0 9C 4C 26 A1 [18:09:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 3F 45 47 00 B5 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 34 37 31 35 10 04 04 00 A7 CD 00 00 F4 03 04 00 E1 A5 B8 66 B6 04 01 00 00 3F 23 9D D2 B1 C7 CA C7 [18:09:12]CommunicateWithHost err = 0 [18:09:12]CheckOFDResponse [18:09:12]1017 (14) - 77093643461234 [18:09:12]1041 (16) - 0000000000874715 [18:09:12]1040 (4) - 52647 [18:09:12]1012 (4) - 11.08.2024 11:52 [18:09:12]1206 (1) - 0 [18:09:12]OFD Sender: Remove packet 52647 [18:09:12]ProducePacketName [18:09:12]name=ofd_packets/00052647 [18:09:12]NVStorageDeleteData [18:09:12]Write to MH i2c: 01 00 00 88 06 8E [18:09:12]Write i2c OK [18:09:12]MH_I2C_Read... [18:09:12]Read from MH i2c: 01 [18:09:12]MH_I2C_Read... [18:09:12]Read from MH i2c: 01 07 00 [18:09:12]MH_I2C_Read... [18:09:12]Read from MH i2c: 01 07 00 88 06 00 00 00 00 00 09 0C AA [18:09:12]RasterBufferAndPrint [18:09:12]line [18:09:12]line [18:09:12]line [18:09:12]line [18:09:12]line [18:09:12]written 0, free lines is 3087 [18:09:12]MH_Cut [18:09:12]Write to MH i2c: D1 01 00 8F 06 01 67 [18:09:12]Write i2c OK [18:09:12]MH_I2C_Read... [18:09:12]Read from MH i2c: D1 [18:09:12]MH_I2C_Read... [18:09:12]Read from MH i2c: D1 01 00 [18:09:12]MH_I2C_Read... [18:09:12]Read from MH i2c: D1 01 00 8F 06 00 66 [18:09:12]Write to MH i2c: 01 00 00 90 06 96 [18:09:12]Write i2c OK [18:09:12]MH_I2C_Read... [18:09:12]OFD Sender: No OFD packet to send [18:09:13]*** Cut start [18:09:13]*** Purtial cut [18:09:13]*** Stage 1: CUTSNS_PIN = 1 [18:09:13]Read from MH i2c: 01 [18:09:13]MH_I2C_Read... [18:09:13]*** Stop cut motor [18:09:13]*** Cut end [18:09:13]Read from MH i2c: 01 07 00 [18:09:13]MH_I2C_Read... [18:09:13]Read from MH i2c: 01 07 00 90 06 00 00 00 00 00 FF 0F AB [18:09:13]process_action close_receipt done [18:09:13]requested_data is exist [18:09:13]produce_requested_data [18:09:13]requested_item fm.sn is exist - process it [18:09:13]wFMCommunicate request_size=4 [18:09:13]MH_SAM_APDU [18:09:13]CAPDU: 80 11 00 00 [18:09:13]Write to MH i2c: E2 08 00 91 06 80 11 00 00 00 00 00 00 11 [18:09:13]Write i2c OK [18:09:13]MH_I2C_Read... [18:09:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:09:13]Read from MH i2c: E2 [18:09:13]MH_I2C_Read... [18:09:13]Read from MH i2c: E2 17 00 [18:09:13]MH_I2C_Read... [18:09:13]Read from MH i2c: E2 17 00 91 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 64 [18:09:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [18:09:13]wFMCommunicate OK [18:09:13]requested_item fd.num is exist - process it [18:09:13]SAM_PROTO_GetFieldsCounters [18:09:13]wFMCommunicate request_size=4 [18:09:13]MH_SAM_APDU [18:09:13]CAPDU: 80 13 00 00 [18:09:13]Write to MH i2c: E2 08 00 92 06 80 13 00 00 00 00 00 00 14 [18:09:13]Write i2c OK [18:09:13]MH_I2C_Read... [18:09:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:09:13]Read from MH i2c: E2 [18:09:13]MH_I2C_Read... [18:09:13]Read from MH i2c: E2 62 00 [18:09:13]MH_I2C_Read... [18:09:13]Read from MH i2c: E2 62 00 92 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A7 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 15 [18:09:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A7 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:09:13]wFMCommunicate OK [18:09:13]SAM_PROTO_GetFieldsCounters done [18:09:13]requested_item shift.num is exist - process it [18:09:13]requested_item shift.opened is exist - process it [18:09:13]req_shift_opened [18:09:13]FM_GetShiftState [18:09:13]SAM_PROTO_GetShiftState [18:09:13]wFMCommunicate request_size=4 [18:09:13]MH_SAM_APDU [18:09:13]CAPDU: 80 13 01 00 [18:09:13]Write to MH i2c: E2 08 00 93 06 80 13 01 00 00 00 00 00 16 [18:09:13]Write i2c OK [18:09:13]MH_I2C_Read... [18:09:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:09:13]Read from MH i2c: E2 [18:09:13]MH_I2C_Read... [18:09:13]Read from MH i2c: E2 0E 00 [18:09:13]MH_I2C_Read... [18:09:13]Read from MH i2c: E2 0E 00 93 06 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 3F [18:09:13]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [18:09:13]wFMCommunicate OK [18:09:13]SAM_PROTO_GetShiftState done [18:09:13]FM_GetShiftState done [18:09:13]req_shift_opened done [18:09:13]requested_item shift.open_date is exist - process it [18:09:13]req_shift_open_date [18:09:13]req_shift_open_date done [18:09:13]produce_requested_data done [18:09:13]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52647,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [18:09:13]process_action_free close_receipt [18:09:13]json_value_free [18:09:13]json_value_free done [18:09:13]process_json_proto returns [18:09:13]Send response to host [18:09:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52647,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [18:09:13]free response buf [18:09:13]execute_script done [18:09:13]execute_script returns [18:09:13]free content buf [18:09:13]Sock 7.Close socket [18:09:13]Sock 7.Thread stoped [18:09:17]OFD Sender: No OFD packet to send [18:09:22]OFD Sender: No OFD packet to send [18:09:27]OFD Sender: No OFD packet to send [18:09:32]OFD Sender: No OFD packet to send [18:09:37]OFD Sender: No OFD packet to send [18:09:42]OFD Sender: No OFD packet to send [18:09:47]OFD Sender: No OFD packet to send [18:09:52]OFD Sender: No OFD packet to send [18:09:57]OFD Sender: No OFD packet to send [18:10:02]OFD Sender: No OFD packet to send [18:10:07]OFD Sender: No OFD packet to send [18:10:12]OFD Sender: No OFD packet to send [18:10:17]OFD Sender: No OFD packet to send [18:10:22]OFD Sender: No OFD packet to send [18:10:27]OFD Sender: No OFD packet to send [18:10:32]OFD Sender: No OFD packet to send [18:10:37]OFD Sender: No OFD packet to send [18:10:42]OFD Sender: No OFD packet to send [18:10:47]OFD Sender: No OFD packet to send [18:10:52]OFD Sender: No OFD packet to send [18:10:57]OFD Sender: No OFD packet to send [18:11:02]OFD Sender: No OFD packet to send [18:11:07]OFD Sender: No OFD packet to send [18:11:12]OFD Sender: No OFD packet to send [18:11:17]OFD Sender: No OFD packet to send [18:11:22]OFD Sender: No OFD packet to send [18:11:27]OFD Sender: No OFD packet to send [18:11:32]OFD Sender: No OFD packet to send [18:11:37]OFD Sender: No OFD packet to send [18:11:42]OFD Sender: No OFD packet to send [18:11:47]OFD Sender: No OFD packet to send [18:11:52]OFD Sender: No OFD packet to send [18:11:57]OFD Sender: No OFD packet to send [18:12:02]OFD Sender: No OFD packet to send [18:12:07]OFD Sender: No OFD packet to send [18:12:12]OFD Sender: No OFD packet to send [18:12:17]OFD Sender: No OFD packet to send [18:12:22]OFD Sender: No OFD packet to send [18:12:27]OFD Sender: No OFD packet to send [18:12:32]OFD Sender: No OFD packet to send [18:12:37]OFD Sender: No OFD packet to send [18:12:42]OFD Sender: No OFD packet to send [18:12:47]OFD Sender: No OFD packet to send [18:12:52]OFD Sender: No OFD packet to send [18:12:57]OFD Sender: No OFD packet to send [18:13:02]OFD Sender: No OFD packet to send [18:13:07]OFD Sender: No OFD packet to send [18:13:12]OFD Sender: No OFD packet to send [18:13:17]OFD Sender: No OFD packet to send [18:13:22]OFD Sender: No OFD packet to send [18:13:27]OFD Sender: No OFD packet to send [18:13:32]OFD Sender: No OFD packet to send [18:13:37]OFD Sender: No OFD packet to send [18:13:42]OFD Sender: No OFD packet to send [18:13:47]OFD Sender: No OFD packet to send [18:13:52]OFD Sender: No OFD packet to send [18:13:57]OFD Sender: No OFD packet to send [18:14:02]OFD Sender: No OFD packet to send [18:14:07]OFD Sender: No OFD packet to send [18:14:12]OFD Sender: No OFD packet to send [18:14:17]OFD Sender: No OFD packet to send [18:14:22]OFD Sender: No OFD packet to send [18:14:27]OFD Sender: No OFD packet to send [18:14:32]OFD Sender: No OFD packet to send [18:14:37]OFD Sender: No OFD packet to send [18:14:42]OFD Sender: No OFD packet to send [18:14:47]OFD Sender: No OFD packet to send [18:14:52]OFD Sender: No OFD packet to send [18:14:57]OFD Sender: No OFD packet to send [18:15:02]OFD Sender: No OFD packet to send [18:15:07]OFD Sender: No OFD packet to send [18:15:12]OFD Sender: No OFD packet to send [18:15:17]OFD Sender: No OFD packet to send [18:15:22]OFD Sender: No OFD packet to send [18:15:27]OFD Sender: No OFD packet to send [18:15:33]OFD Sender: No OFD packet to send [18:15:38]OFD Sender: No OFD packet to send [18:15:43]OFD Sender: No OFD packet to send [18:15:48]OFD Sender: No OFD packet to send [18:15:53]OFD Sender: No OFD packet to send [18:15:58]OFD Sender: No OFD packet to send [18:16:03]OFD Sender: No OFD packet to send [18:16:08]OFD Sender: No OFD packet to send [18:16:13]OFD Sender: No OFD packet to send [18:16:18]OFD Sender: No OFD packet to send [18:16:23]OFD Sender: No OFD packet to send [18:16:28]OFD Sender: No OFD packet to send [18:16:33]OFD Sender: No OFD packet to send [18:16:38]OFD Sender: No OFD packet to send [18:16:43]OFD Sender: No OFD packet to send [18:16:48]OFD Sender: No OFD packet to send [18:16:53]OFD Sender: No OFD packet to send [18:16:58]OFD Sender: No OFD packet to send [18:17:03]OFD Sender: No OFD packet to send [18:17:08]OFD Sender: No OFD packet to send [18:17:13]OFD Sender: No OFD packet to send [18:17:18]OFD Sender: No OFD packet to send [18:17:23]OFD Sender: No OFD packet to send [18:17:28]OFD Sender: No OFD packet to send [18:17:33]OFD Sender: No OFD packet to send [18:17:38]OFD Sender: No OFD packet to send [18:17:43]OFD Sender: No OFD packet to send [18:17:48]OFD Sender: No OFD packet to send [18:17:53]OFD Sender: No OFD packet to send [18:17:58]OFD Sender: No OFD packet to send [18:18:03]OFD Sender: No OFD packet to send [18:18:08]OFD Sender: No OFD packet to send [18:18:13]OFD Sender: No OFD packet to send [18:18:18]OFD Sender: No OFD packet to send [18:18:23]OFD Sender: No OFD packet to send [18:18:28]OFD Sender: No OFD packet to send [18:18:33]OFD Sender: No OFD packet to send [18:18:38]OFD Sender: No OFD packet to send [18:18:43]OFD Sender: No OFD packet to send [18:18:48]OFD Sender: No OFD packet to send [18:18:53]OFD Sender: No OFD packet to send [18:18:58]OFD Sender: No OFD packet to send [18:19:03]OFD Sender: No OFD packet to send [18:19:08]OFD Sender: No OFD packet to send [18:19:13]OFD Sender: No OFD packet to send [18:19:18]OFD Sender: No OFD packet to send [18:19:23]OFD Sender: No OFD packet to send [18:19:28]OFD Sender: No OFD packet to send [18:19:33]OFD Sender: No OFD packet to send [18:19:38]OFD Sender: No OFD packet to send [18:19:43]OFD Sender: No OFD packet to send [18:19:48]OFD Sender: No OFD packet to send [18:19:53]OFD Sender: No OFD packet to send [18:19:58]OFD Sender: No OFD packet to send [18:20:03]OFD Sender: No OFD packet to send [18:20:08]OFD Sender: No OFD packet to send [18:20:13]OFD Sender: No OFD packet to send [18:20:18]OFD Sender: No OFD packet to send [18:20:23]OFD Sender: No OFD packet to send [18:20:28]OFD Sender: No OFD packet to send [18:20:33]OFD Sender: No OFD packet to send [18:20:38]OFD Sender: No OFD packet to send [18:20:43]OFD Sender: No OFD packet to send [18:20:48]OFD Sender: No OFD packet to send [18:20:53]OFD Sender: No OFD packet to send [18:20:58]OFD Sender: No OFD packet to send [18:21:03]OFD Sender: No OFD packet to send [18:21:08]OFD Sender: No OFD packet to send [18:21:13]OFD Sender: No OFD packet to send [18:21:18]OFD Sender: No OFD packet to send [18:21:23]OFD Sender: No OFD packet to send [18:21:28]OFD Sender: No OFD packet to send [18:21:33]OFD Sender: No OFD packet to send [18:21:38]OFD Sender: No OFD packet to send [18:21:43]OFD Sender: No OFD packet to send [18:21:48]OFD Sender: No OFD packet to send [18:21:53]OFD Sender: No OFD packet to send [18:21:58]OFD Sender: No OFD packet to send [18:22:03]OFD Sender: No OFD packet to send [18:22:08]OFD Sender: No OFD packet to send [18:22:13]OFD Sender: No OFD packet to send [18:22:18]OFD Sender: No OFD packet to send [18:22:23]OFD Sender: No OFD packet to send [18:22:28]OFD Sender: No OFD packet to send [18:22:33]OFD Sender: No OFD packet to send [18:22:38]OFD Sender: No OFD packet to send [18:22:43]OFD Sender: No OFD packet to send [18:22:48]OFD Sender: No OFD packet to send [18:22:53]OFD Sender: No OFD packet to send [18:22:58]OFD Sender: No OFD packet to send [18:23:03]OFD Sender: No OFD packet to send [18:23:08]OFD Sender: No OFD packet to send [18:23:13]OFD Sender: No OFD packet to send [18:23:18]OFD Sender: No OFD packet to send [18:23:23]OFD Sender: No OFD packet to send [18:23:28]OFD Sender: No OFD packet to send [18:23:33]OFD Sender: No OFD packet to send [18:23:38]OFD Sender: No OFD packet to send [18:23:43]OFD Sender: No OFD packet to send [18:23:48]OFD Sender: No OFD packet to send [18:23:53]OFD Sender: No OFD packet to send [18:23:58]OFD Sender: No OFD packet to send [18:24:03]OFD Sender: No OFD packet to send [18:24:08]OFD Sender: No OFD packet to send [18:24:13]OFD Sender: No OFD packet to send [18:24:18]OFD Sender: No OFD packet to send [18:24:23]OFD Sender: No OFD packet to send [18:24:28]OFD Sender: No OFD packet to send [18:24:33]OFD Sender: No OFD packet to send [18:24:38]OFD Sender: No OFD packet to send [18:24:43]OFD Sender: No OFD packet to send [18:24:48]OFD Sender: No OFD packet to send [18:24:53]OFD Sender: No OFD packet to send [18:24:58]OFD Sender: No OFD packet to send [18:25:03]OFD Sender: No OFD packet to send [18:25:08]OFD Sender: No OFD packet to send [18:25:13]OFD Sender: No OFD packet to send [18:25:18]OFD Sender: No OFD packet to send [18:25:23]OFD Sender: No OFD packet to send [18:25:28]OFD Sender: No OFD packet to send [18:25:33]OFD Sender: No OFD packet to send [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:08]OFD Sender: No OFD packet to send [18:32:13]OFD Sender: No OFD packet to send [18:32:18]OFD Sender: No OFD packet to send [18:32:23]OFD Sender: No OFD packet to send [18:32:28]OFD Sender: No OFD packet to send [18:32:33]OFD Sender: No OFD packet to send [18:32:38]OFD Sender: No OFD packet to send [18:32:43]OFD Sender: No OFD packet to send [18:32:48]OFD Sender: No OFD packet to send [18:32:53]OFD Sender: No OFD packet to send [18:32:58]OFD Sender: No OFD packet to send [18:33:03]OFD Sender: No OFD packet to send [18:33:08]OFD Sender: No OFD packet to send [18:33:13]OFD Sender: No OFD packet to send [18:33:18]OFD Sender: No OFD packet to send [18:33:23]OFD Sender: No OFD packet to send [18:33:28]OFD Sender: No OFD packet to send [18:33:33]OFD Sender: No OFD packet to send [18:33: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:29]OFD Sender: No OFD packet to send [18:35:34]OFD Sender: No OFD packet to send [18:35:39]OFD Sender: No OFD packet to send [18:35:44]OFD Sender: No OFD packet to send [18:35:49]OFD Sender: No OFD packet to send [18:35:54]OFD Sender: No OFD packet to send [18:35:59]OFD Sender: No OFD packet to send [18:36:04]OFD Sender: No OFD packet to send [18:36:09]OFD Sender: No OFD packet to send [18:36:14]OFD Sender: No OFD packet to send [18:36:19]OFD Sender: No OFD packet to send [18:36:24]OFD Sender: No OFD packet to send [18:36:29]OFD Sender: No OFD packet to send [18:36:34]OFD Sender: No OFD packet to send [18:36:39]OFD Sender: No OFD packet to send [18:36:44]OFD Sender: No OFD packet to send [18:36:49]OFD Sender: No OFD packet to send [18:36:54]OFD Sender: No OFD packet to send [18:36:59]OFD Sender: No OFD packet to send [18:37:04]OFD Sender: No OFD packet to send [18:37:09]OFD Sender: No OFD packet to send [18:37:14]OFD Sender: No OFD packet to send [18:37:19]OFD Sender: No OFD packet to send [18:37:24]OFD Sender: No OFD packet to send [18:37:29]OFD Sender: No OFD packet to send [18:37:34]OFD Sender: No OFD packet to send [18:37:39]OFD Sender: No OFD packet to send [18:37:44]OFD Sender: No OFD packet to send [18:37:49]OFD Sender: No OFD packet to send [18:37:54]OFD Sender: No OFD packet to send [18:37:59]OFD Sender: No OFD packet to send [18:38:04]OFD Sender: No OFD packet to send [18:38:09]OFD Sender: No OFD packet to send [18:38:14]OFD Sender: No OFD packet to send [18:38:19]OFD Sender: No OFD packet to send [18:38:24]OFD Sender: No OFD packet to send [18:38:29]OFD Sender: No OFD packet to send [18:38:34]OFD Sender: No OFD packet to send [18:38:39]OFD Sender: No OFD packet to send [18:38:44]OFD Sender: No OFD packet to send [18:38:49]OFD Sender: No OFD packet to send [18:38:54]OFD Sender: No OFD packet to send [18:38:59]OFD Sender: No OFD packet to send [18:39:04]OFD Sender: No OFD packet to send [18:39:09]OFD Sender: No OFD packet to send [18:39:14]OFD Sender: No OFD packet to send [18:39:19]OFD Sender: No OFD packet to send [18:39:24]OFD Sender: No OFD packet to send [18:39:29]OFD Sender: No OFD packet to send [18:39:34]OFD Sender: No OFD packet to send [18:39:39]OFD Sender: No OFD packet to send [18:39:44]OFD Sender: No OFD packet to send [18:39:49]OFD Sender: No OFD packet to send [18:39:54]OFD Sender: No OFD packet to send [18:39:59]OFD Sender: No OFD packet to send [18:40:04]OFD Sender: No OFD packet to send [18:40:09]OFD Sender: No OFD packet to send [18:40:14]OFD Sender: No OFD packet to send [18:40:19]OFD Sender: No OFD packet to send [18:40:24]OFD Sender: No OFD packet to send [18:40:29]OFD Sender: No OFD packet to send [18:40:34]OFD Sender: No OFD packet to send [18:40:39]OFD Sender: No OFD packet to send [18:40:44]OFD Sender: No OFD packet to send [18:40:49]OFD Sender: No OFD packet to send [18:40:54]OFD Sender: No OFD packet to send [18:40:59]OFD Sender: No OFD packet to send [18:41:04]OFD Sender: No OFD packet to send [18:41:09]OFD Sender: No OFD packet to send [18:41:14]OFD Sender: No OFD packet to send [18:41:19]OFD Sender: No OFD packet to send [18:41:24]OFD Sender: No OFD packet to send [18:41:29]OFD Sender: No OFD packet to send [18:41:34]OFD Sender: No OFD packet to send [18:41:39]OFD Sender: No OFD packet to send [18:41:44]OFD Sender: No OFD packet to send [18:41:49]OFD Sender: No OFD packet to send [18:41:54]OFD Sender: No OFD packet to send [18:41:59]OFD Sender: No OFD packet to send [18:42:04]OFD Sender: No OFD packet to send [18:42:09]OFD Sender: No OFD packet to send [18:42:14]OFD Sender: No OFD packet to send [18:42:19]OFD Sender: No OFD packet to send [18:42:24]OFD Sender: No OFD packet to send [18:42:29]OFD Sender: No OFD packet to send [18:42:34]OFD Sender: No OFD packet to send [18:42:39]OFD Sender: No OFD packet to send [18:42:44]OFD Sender: No OFD packet to send [18:42:49]OFD Sender: No OFD packet to send [18:42:54]OFD Sender: No OFD packet to send [18:42:59]OFD Sender: No OFD packet to send [18:43:04]OFD Sender: No OFD packet to send [18:43:09]OFD Sender: No OFD packet to send [18:43:14]OFD Sender: No OFD packet to send [18:43:19]OFD Sender: No OFD packet to send [18:43:24]OFD Sender: No OFD packet to send [18:43:29]OFD Sender: No OFD packet to send [18:43:34]OFD Sender: No OFD packet to send [18:43:39]OFD Sender: No OFD packet to send [18:43:44]OFD Sender: No OFD packet to send [18:43:49]OFD Sender: No OFD packet to send [18:43:54]OFD Sender: No OFD packet to send [18:43:59]OFD Sender: No OFD packet to send [18:44:04]OFD Sender: No OFD packet to send [18:44:09]OFD Sender: No OFD packet to send [18:44:14]OFD Sender: No OFD packet to send [18:44:19]OFD Sender: No OFD packet to send [18:44:24]OFD Sender: No OFD packet to send [18:44:29]OFD Sender: No OFD packet to send [18:44:34]OFD Sender: No OFD packet to send [18:44:39]OFD Sender: No OFD packet to send [18:44:44]OFD Sender: No OFD packet to send [18:44:49]OFD Sender: No OFD packet to send [18:44:54]OFD Sender: No OFD packet to send [18:44:59]OFD Sender: No OFD packet to send [18:45:04]OFD Sender: No OFD packet to send [18:45:09]OFD Sender: No OFD packet to send [18:45:14]OFD Sender: No OFD packet to send [18:45:19]OFD Sender: No OFD packet to send [18:45:24]OFD Sender: No OFD packet to send [18:45:29]OFD Sender: No OFD packet to send [18:45:34]OFD Sender: No OFD packet to send [18:45:39]OFD Sender: No OFD packet to send [18:45:44]OFD Sender: No OFD packet to send [18:45:49]OFD Sender: No OFD packet to send [18:45:54]OFD Sender: No OFD packet to send [18:45:59]OFD Sender: No OFD packet to send [18:46:04]OFD Sender: No OFD packet to send [18:46:09]OFD Sender: No OFD packet to send [18:46:14]OFD Sender: No OFD packet to send [18:46:19]OFD Sender: No OFD packet to send [18:46:24]OFD Sender: No OFD packet to send [18:46:29]OFD Sender: No OFD packet to send [18:46:34]OFD Sender: No OFD packet to send [18:46:39]OFD Sender: No OFD packet to send [18:46:44]OFD Sender: No OFD packet to send [18:46:49]OFD Sender: No OFD packet to send [18:46:54]OFD Sender: No OFD packet to send [18:46:59]OFD Sender: No OFD packet to send [18:47:04]OFD Sender: No OFD packet to send [18:47:09]OFD Sender: No OFD packet to send [18:47:14]OFD Sender: No OFD packet to send [18:47:19]OFD Sender: No OFD packet to send [18:47:24]OFD Sender: No OFD packet to send [18:47:29]OFD Sender: No OFD packet to send [18:47:34]OFD Sender: No OFD packet to send [18:47:39]OFD Sender: No OFD packet to send [18:47:44]OFD Sender: No OFD packet to send [18:47:49]OFD Sender: No OFD packet to send [18:47:54]OFD Sender: No OFD packet to send [18:47:59]OFD Sender: No OFD packet to send [18:48:04]OFD Sender: No OFD packet to send [18:48:09]OFD Sender: No OFD packet to send [18:48:14]OFD Sender: No OFD packet to send [18:48:19]OFD Sender: No OFD packet to send [18:48:24]OFD Sender: No OFD packet to send [18:48:29]OFD Sender: No OFD packet to send [18:48:34]OFD Sender: No OFD packet to send [18:48:39]OFD Sender: No OFD packet to send [18:48:44]OFD Sender: No OFD packet to send [18:48:49]OFD Sender: No OFD packet to send [18:48:54]OFD Sender: No OFD packet to send [18:48:59]OFD Sender: No OFD packet to send [18:49:04]OFD Sender: No OFD packet to send [18:49:09]OFD Sender: No OFD packet to send [18:49:14]OFD Sender: No OFD packet to send [18:49:19]OFD Sender: No OFD packet to send [18:49:24]OFD Sender: No OFD packet to send [18:49:29]OFD Sender: No OFD packet to send [18:49:34]OFD Sender: No OFD packet to send [18:49:39]OFD Sender: No OFD packet to send [18:49:44]OFD Sender: No OFD packet to send [18:49:49]OFD Sender: No OFD packet to send [18:49:54]OFD Sender: No OFD packet to send [18:49:59]OFD Sender: No OFD packet to send [18:50:04]OFD Sender: No OFD packet to send [18:50:09]OFD Sender: No OFD packet to send [18:50:14]OFD Sender: No OFD packet to send [18:50:19]OFD Sender: No OFD packet to send [18:50:24]OFD Sender: No OFD packet to send [18:50:29]OFD Sender: No OFD packet to send [18:50:34]OFD Sender: No OFD packet to send [18:50:39]OFD Sender: No OFD packet to send [18:50:44]OFD Sender: No OFD packet to send [18:50:49]OFD Sender: No OFD packet to send [18:50:54]OFD Sender: No OFD packet to send [18:50:59]OFD Sender: No OFD packet to send [18:51:04]OFD Sender: No OFD packet to send [18:51:09]OFD Sender: No OFD packet to send [18:51:14]OFD Sender: No OFD packet to send [18:51:19]OFD Sender: No OFD packet to send [18:51:24]OFD Sender: No OFD packet to send [18:51:29]OFD Sender: No OFD packet to send [18:51:34]OFD Sender: No OFD packet to send [18:51:40]OFD Sender: No OFD packet to send [18:51:45]OFD Sender: No OFD packet to send [18:51:50]OFD Sender: No OFD packet to send [18:51:55]OFD Sender: No OFD packet to send [18:52:00]OFD Sender: No OFD packet to send [18:52:05]OFD Sender: No OFD packet to send [18:52:10]OFD Sender: No OFD packet to send [18:52:15]OFD Sender: No OFD packet to send [18:52:20]OFD Sender: No OFD packet to send [18:52:25]OFD Sender: No OFD packet to send [18:52:30]OFD Sender: No OFD packet to send [18:52:35]OFD Sender: No OFD packet to send [18:52:40]OFD Sender: No OFD packet to send [18:52:45]OFD Sender: No OFD packet to send [18:52:50]OFD Sender: No OFD packet to send [18:52:55]OFD Sender: No OFD packet to send [18:53:00]OFD Sender: No OFD packet to send [18:53:05]OFD Sender: No OFD packet to send [18:53:10]OFD Sender: No OFD packet to send [18:53:15]OFD Sender: No OFD packet to send [18:53:20]OFD Sender: No OFD packet to send [18:53:25]OFD Sender: No OFD packet to send [18:53:30]OFD Sender: No OFD packet to send [18:53:35]OFD Sender: No OFD packet to send [18:53:40]OFD Sender: No OFD packet to send [18:53:45]OFD Sender: No OFD packet to send [18:53:50]OFD Sender: No OFD packet to send [18:53:55]OFD Sender: No OFD packet to send [18:54:00]OFD Sender: No OFD packet to send [18:54:05]OFD Sender: No OFD packet to send [18:54:10]OFD Sender: No OFD packet to send [18:54:15]OFD Sender: No OFD packet to send [18:54:20]OFD Sender: No OFD packet to send [18:54:25]OFD Sender: No OFD packet to send [18:54:30]OFD Sender: No OFD packet to send [18:54:35]OFD Sender: No OFD packet to send [18:54:40]OFD Sender: No OFD packet to send [18:54:45]OFD Sender: No OFD packet to send [18:54:50]OFD Sender: No OFD packet to send [18:54:55]OFD Sender: No OFD packet to send [18:55:00]OFD Sender: No OFD packet to send [18:55:05]OFD Sender: No OFD packet to send [18:55:10]OFD Sender: No OFD packet to send [18:55:15]OFD Sender: No OFD packet to send [18:55:20]OFD Sender: No OFD packet to send [18:55:25]OFD Sender: No OFD packet to send [18:55:30]OFD Sender: No OFD packet to send [18:55:35]OFD Sender: No OFD packet to send [18:55:40]OFD Sender: No OFD packet to send [18:55:45]OFD Sender: No OFD packet to send [18:55:50]OFD Sender: No OFD packet to send [18:55:55]OFD Sender: No OFD packet to send [18:56:00]OFD Sender: No OFD packet to send [18:56:05]OFD Sender: No OFD packet to send [18:56:10]OFD Sender: No OFD packet to send [18:56:15]OFD Sender: No OFD packet to send [18:56:20]OFD Sender: No OFD packet to send [18:56:25]OFD Sender: No OFD packet to send [18:56:30]OFD Sender: No OFD packet to send [18:56:35]OFD Sender: No OFD packet to send [18:56:40]OFD Sender: No OFD packet to send [18:56:45]OFD Sender: No OFD packet to send [18:56:50]OFD Sender: No OFD packet to send [18:56:55]OFD Sender: No OFD packet to send [18:57:00]OFD Sender: No OFD packet to send [18:57:05]OFD Sender: No OFD packet to send [18:57:10]OFD Sender: No OFD packet to send [18:57:15]OFD Sender: No OFD packet to send [18:57:20]OFD Sender: No OFD packet to send [18:57:25]OFD Sender: No OFD packet to send [18:57:30]OFD Sender: No OFD packet to send [18:57:35]OFD Sender: No OFD packet to send [18:57:40]OFD Sender: No OFD packet to send [18:57:45]OFD Sender: No OFD packet to send [18:57:50]OFD Sender: No OFD packet to send [18:57:55]OFD Sender: No OFD packet to send [18:58:00]OFD Sender: No OFD packet to send [18:58:05]OFD Sender: No OFD packet to send [18:58:10]OFD Sender: No OFD packet to send [18:58:15]OFD Sender: No OFD packet to send [18:58:20]OFD Sender: No OFD packet to send [18:58:25]OFD Sender: No OFD packet to send [18:58:30]OFD Sender: No OFD packet to send [18:58:35]OFD Sender: No OFD packet to send [18:58:40]OFD Sender: No OFD packet to send [18:58:45]OFD Sender: No OFD packet to send [18:58:50]OFD Sender: No OFD packet to send [18:58:55]OFD Sender: No OFD packet to send [18:59:00]OFD Sender: No OFD packet to send [18:59:05]OFD Sender: No OFD packet to send [18:59:10]OFD Sender: No OFD packet to send [18:59:15]OFD Sender: No OFD packet to send [18:59:20]OFD Sender: No OFD packet to send [18:59:25]OFD Sender: No OFD packet to send [18:59:30]OFD Sender: No OFD packet to send [18:59:35]OFD Sender: No OFD packet to send [18:59:40]OFD Sender: No OFD packet to send [18:59:45]OFD Sender: No OFD packet to send [18:59:50]OFD Sender: No OFD packet to send [18:59:55]OFD Sender: No OFD packet to send [19:00:00]OFD Sender: No OFD packet to send [19:00:05]OFD Sender: No OFD packet to send [19:00:10]OFD Sender: No OFD packet to send [19:00:15]OFD Sender: No OFD packet to send [19:00:20]OFD Sender: No OFD packet to send [19:00:25]OFD Sender: No OFD packet to send [19:00:30]OFD Sender: No OFD packet to send [19:00:35]OFD Sender: No OFD packet to send [19:00:40]OFD Sender: No OFD packet to send [19:00:45]OFD Sender: No OFD packet to send [19:00:50]OFD Sender: No OFD packet to send [19:00:55]OFD Sender: No OFD packet to send [19:01:00]OFD Sender: No OFD packet to send [19:01:05]OFD Sender: No OFD packet to send [19:01:10]OFD Sender: No OFD packet to send [19:01:15]OFD Sender: No OFD packet to send [19:01:20]OFD Sender: No OFD packet to send [19:01:25]OFD Sender: No OFD packet to send [19:01:30]OFD Sender: No OFD packet to send [19:01:35]OFD Sender: No OFD packet to send [19:01:40]OFD Sender: No OFD packet to send [19:01:45]OFD Sender: No OFD packet to send [19:01:50]OFD Sender: No OFD packet to send [19:01:55]OFD Sender: No OFD packet to send [19:02:00]OFD Sender: No OFD packet to send [19:02:05]OFD Sender: No OFD packet to send [19:02:10]OFD Sender: No OFD packet to send [19:02:15]OFD Sender: No OFD packet to send [19:02:20]OFD Sender: No OFD packet to send [19:02:25]OFD Sender: No OFD packet to send [19:02:30]OFD Sender: No OFD packet to send [19:02:35]OFD Sender: No OFD packet to send [19:02:40]OFD Sender: No OFD packet to send [19:02:45]OFD Sender: No OFD packet to send [19:02:50]OFD Sender: No OFD packet to send [19:02:55]OFD Sender: No OFD packet to send [19:03:00]OFD Sender: No OFD packet to send [19:03:05]OFD Sender: No OFD packet to send [19:03:10]OFD Sender: No OFD packet to send [19:03:15]OFD Sender: No OFD packet to send [19:03:20]OFD Sender: No OFD packet to send [19:03:25]OFD Sender: No OFD packet to send [19:03:30]OFD Sender: No OFD packet to send [19:03:35]OFD Sender: No OFD packet to send [19:03:40]OFD Sender: No OFD packet to send [19:03:45]OFD Sender: No OFD packet to send [19:03:50]OFD Sender: No OFD packet to send [19:03:55]OFD Sender: No OFD packet to send [19:04:00]OFD Sender: No OFD packet to send [19:04:05]OFD Sender: No OFD packet to send [19:04:10]OFD Sender: No OFD packet to send [19:04:15]OFD Sender: No OFD packet to send [19:04:20]OFD Sender: No OFD packet to send [19:04:25]OFD Sender: No OFD packet to send [19:04:30]OFD Sender: No OFD packet to send [19:04:35]OFD Sender: No OFD packet to send [19:04:40]OFD Sender: No OFD packet to send [19:04:45]OFD Sender: No OFD packet to send [19:04:50]OFD Sender: No OFD packet to send [19:04:55]OFD Sender: No OFD packet to send [19:05:00]OFD Sender: No OFD packet to send [19:05:05]OFD Sender: No OFD packet to send [19:05:10]OFD Sender: No OFD packet to send [19:05:15]OFD Sender: No OFD packet to send [19:05:20]OFD Sender: No OFD packet to send [19:05:25]OFD Sender: No OFD packet to send [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:30]OFD Sender: No OFD packet to send [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:36]OFD Sender: No OFD packet to send [19:09:41]OFD Sender: No OFD packet to send [19:09:46]OFD Sender: No OFD packet to send [19:09:51]OFD Sender: No OFD packet to send [19:09:56]OFD Sender: No OFD packet to send [19:10:01]OFD Sender: No OFD packet to send [19:10:06]OFD Sender: No OFD packet to send [19:10:08]accept exits with 9 [19:10:08]New connection [19:10:08]New thread 3067149668 created [19:10:08]Thread 3067293028 joined [19:10:08]Waiting for new connection... [19:10:08] Sock 9.Parse request [19:10:08]Sock 9.Check first char [19:10:08]Sock 9.First char is OK [19:10:08]request: POST /json_proto HTTP/1.0 [19:10:08]Method: POST [19:10:08]URL: /json_proto [19:10:08]Method is POST - this is cgi request [19:10:08]url: /json_proto [19:10:08]query_string will be loaded in cgi processing [19:10:08]execute_cgi json_proto POST (null) [19:10:08]execute_cgi path=json_proto method=POST [19:10:08]POST find Content-Length [19:10:08]Host: 172.17.60.7:8080 [19:10:08]Content-Length: 2097 [19:10:08]Content-Type: application/json [19:10:08] [19:10:08]POST finish read [19:10:08]Found Content-Length = 2097 [19:10:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122779", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 42.00, "quantity" : 1.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310036", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 537.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:10:08]execute_script... [19:10: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)122779", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000066473", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B", "price" : 42.00, "quantity" : 1.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310036", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 537.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:10:08]POST & json_proto [19:10:08]process_json_proto [19:10:08]json parsed OK: [19:10:08]protocol is kg_v1.0 [19:10:08]action value=close_receipt [19:10:08]process_action close_receipt [19:10:08]cmd_close_receipt [19:10:08]MH_GetDate [19:10:08]Write to MH i2c: F0 00 00 94 06 89 [19:10:08]Write i2c OK [19:10:08]MH_I2C_Read... [19:10:08]Read from MH i2c: F0 [19:10:08]MH_I2C_Read... [19:10:08]Read from MH i2c: F0 09 00 [19:10:08]MH_I2C_Read... [19:10:08]Read from MH i2c: F0 09 00 94 06 00 92 0C B9 66 63 9B 67 64 18 [19:10:08]GetLastDocTimeStamp 1723399750 [19:10:08]current date 1723403410 [19:10:08]FM_GetShiftState [19:10:08]SAM_PROTO_GetShiftState [19:10:08]wFMCommunicate request_size=4 [19:10:08]MH_SAM_APDU [19:10:08]CAPDU: 80 13 01 00 [19:10:08]Write to MH i2c: E2 08 00 95 06 80 13 01 00 00 00 00 00 18 [19:10:08]Write i2c OK [19:10:08]MH_I2C_Read... [19:10:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:10:09]Read from MH i2c: E2 [19:10:09]MH_I2C_Read... [19:10:09]Read from MH i2c: E2 0E 00 [19:10:09]MH_I2C_Read... [19:10:09]Read from MH i2c: E2 0E 00 95 06 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 41 [19:10:09]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [19:10:09]wFMCommunicate OK [19:10:09]SAM_PROTO_GetShiftState done [19:10:09]FM_GetShiftState done [19:10:09]opened in 1723336186 [19:10:09]opened+sec_in_day 1723422586 [19:10:09]quantity*price = 14000 [19:10:09]sum+1 = 14001 [19:10:09]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000006271 Напиток Фанта 1л 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 2.000 * 50.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870022003305 Напиток Gorilla эн нат ж/б 0,5/0,45л 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000066473 Вода Бонаква 1л 1.000 * 42.00 = 42.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000310036 Вода Жалалабат 27 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 537.00 НСП 1% : 4.75 НДС 12% : 57.03 Наличными: 0.00 Безнал.: 537.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 59 11.08.2024 19:10 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874715 ФД: 52648 ФПД: 156281666064344 /tax-web-control/client/api/v1/ticket?date=20240811T191010&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52648&fm=156281666064344&tin=02508201610067®Number=0000000000090834&sum=53700 0 [19:10:10]StoreToDocumentArchive [19:10:10]shift 446 fd 52648 [19:10:10]save to /storage/0446/doc_00052648 [19:10:10]save last doc name /storage/0446/doc_00052648 to /storage/kkm_last_doc_name [19:10:10]save OK [19:10:10]Clear old archive folders... [19:10:10]ProcessDocumentItem done err = 0, tmpTLVsize=805 [19:10:10]tlvbuf is 01259750 [19:10:10]SAM_PROTO_ClearQueue [19:10:10]wFMCommunicate request_size=4 [19:10:10]MH_SAM_APDU [19:10:10]CAPDU: 80 09 00 00 [19:10:10]Write to MH i2c: E2 08 00 A2 06 80 09 00 00 00 00 00 00 1A [19:10:10]Write i2c OK [19:10:10]MH_I2C_Read... [19:10:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:10:10]Read from MH i2c: E2 [19:10:10]MH_I2C_Read... [19:10:10]Read from MH i2c: E2 03 00 [19:10:10]MH_I2C_Read... [19:10:10]Read from MH i2c: E2 03 00 A2 06 00 90 00 1C [19:10:10]RAPDU: 90 00 [19:10:10]wFMCommunicate OK [19:10:10]SAM_PROTO_ClearQueue done [19:10:10]KKMCreateOFDPacket [19:10:10]OFDProtocolAddRootSTLVToBuf [19:10:10]FM_MakeSignedData [19:10:10]FM_MakeSignedData [19:10:10]SAM_PROTO_SignData [19:10:10]wFMCommunicate request_size=4 [19:10:10]MH_SAM_APDU [19:10:10]CAPDU: 80 0D 01 02 [19:10:10]Write to MH i2c: E2 08 00 A3 06 80 0D 01 02 00 00 00 00 22 [19:10:10]Write i2c OK [19:10:10]MH_I2C_Read... [19:10:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:10:10]Read from MH i2c: E2 [19:10:10]MH_I2C_Read... [19:10:10]Read from MH i2c: E2 03 00 [19:10:10]MH_I2C_Read... [19:10:10]Read from MH i2c: E2 03 00 A3 06 00 90 00 1D [19:10:10]RAPDU: 90 00 [19:10:10]wFMCommunicate OK [19:10:10]wFMCommunicate request_size=255 [19:10:10]MH_SAM_APDU [19:10:10]CAPDU: 80 0D 02 02 FA 03 00 25 03 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 [19:10:10]Write to MH i2c: E2 02 01 A4 06 80 0D 02 02 FA 00 03 00 25 03 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 00 00 5C [19:10:10]Write i2c OK [19:10:10]MH_I2C_Read... [19:10:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:10:10]Read from MH i2c: E2 [19:10:10]MH_I2C_Read... [19:10:10]Read from MH i2c: E2 03 00 [19:10:10]MH_I2C_Read... [19:10:10]Read from MH i2c: E2 03 00 A4 06 00 90 00 1E [19:10:10]RAPDU: 90 00 [19:10:10]wFMCommunicate OK [19:10:10]wFMCommunicate request_size=255 [19:10:10]MH_SAM_APDU [19:10:10]CAPDU: 80 0D 02 02 FA 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 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 [19:10:10]Write to MH i2c: E2 02 01 A5 06 80 0D 02 02 FA 00 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 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 00 DF [19:10:10]Write i2c OK [19:10:10]MH_I2C_Read... [19:10:11]OFD Sender: No OFD packet to send [19:10:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:10:11]Read from MH i2c: E2 [19:10:11]MH_I2C_Read... [19:10:11]Read from MH i2c: E2 03 00 [19:10:11]MH_I2C_Read... [19:10:11]Read from MH i2c: E2 03 00 A5 06 00 90 00 1F [19:10:11]RAPDU: 90 00 [19:10:11]wFMCommunicate OK [19:10:11]wFMCommunicate request_size=255 [19:10:11]MH_SAM_APDU [19:10:11]CAPDU: 80 0D 02 02 FA 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 D1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 16 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 D1 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 92 0C B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 [19:10:11]Write to MH i2c: E2 02 01 A6 06 80 0D 02 02 FA 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 D1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 16 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 D1 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 92 0C B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 00 00 13 [19:10:11]Write i2c OK [19:10:11]MH_I2C_Read... [19:10:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:10:11]Read from MH i2c: E2 [19:10:11]MH_I2C_Read... [19:10:11]Read from MH i2c: E2 03 00 [19:10:11]MH_I2C_Read... [19:10:11]Read from MH i2c: E2 03 00 A6 06 00 90 00 20 [19:10:11]RAPDU: 90 00 [19:10:11]wFMCommunicate OK [19:10:11]wFMCommunicate request_size=64 [19:10:11]MH_SAM_APDU [19:10:11]CAPDU: 80 0D 02 02 3B 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A8 CD 00 00 35 04 06 00 8E 23 29 30 CF D8 [19:10:11]Write to MH i2c: E2 43 00 A7 06 80 0D 02 02 3B 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A8 CD 00 00 35 04 06 00 8E 23 29 30 CF D8 00 00 99 [19:10:11]Write i2c OK [19:10:11]MH_I2C_Read... [19:10:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:10:11]Read from MH i2c: E2 [19:10:11]MH_I2C_Read... [19:10:11]Read from MH i2c: E2 03 00 [19:10:11]MH_I2C_Read... [19:10:11]Read from MH i2c: E2 03 00 A7 06 00 90 00 21 [19:10:11]RAPDU: 90 00 [19:10:11]wFMCommunicate OK [19:10:11]wFMCommunicate request_size=4 [19:10:11]MH_SAM_APDU [19:10:11]CAPDU: 80 0D 03 02 [19:10:11]Write to MH i2c: E2 08 00 A8 06 80 0D 03 02 00 00 00 00 29 [19:10:11]Write i2c OK [19:10:11]MH_I2C_Read... [19:10:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:10:11]Read from MH i2c: E2 [19:10:11]MH_I2C_Read... [19:10:11]Read from MH i2c: E2 0B 00 [19:10:11]MH_I2C_Read... [19:10:11]Read from MH i2c: E2 0B 00 A8 06 00 11 51 C3 A3 46 3A 97 27 90 00 30 [19:10:11]RAPDU: 11 51 C3 A3 46 3A 97 27 90 00 [19:10:11]wFMCommunicate OK [19:10:11]SAM_PROTO_SignData done [19:10:11]FM_MakeSignedData done [19:10:11]CreateOFDProtocolMessage [19:10:11]wFMCommunicate request_size=4 [19:10:11]MH_SAM_APDU [19:10:11]CAPDU: 80 11 00 00 [19:10:11]Write to MH i2c: E2 08 00 A9 06 80 11 00 00 00 00 00 00 29 [19:10:11]Write i2c OK [19:10:11]MH_I2C_Read... [19:10:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:10:11]Read from MH i2c: E2 [19:10:11]MH_I2C_Read... [19:10:11]Read from MH i2c: E2 17 00 [19:10:11]MH_I2C_Read... [19:10:11]Read from MH i2c: E2 17 00 A9 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 7C [19:10:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [19:10:11]wFMCommunicate OK [19:10:11]CreateOFDProtocolMessage done [19:10:11]OFDSenderStorePacket 52648 [19:10:11]StoreOFDPacket docnum=52648 [19:10:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 39 03 00 00 AE 4C 31 03 CF B5 5A 03 01 00 03 00 25 03 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 D1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 16 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 D1 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 92 0C B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A8 CD 00 00 35 04 06 00 8E 23 29 30 CF D8 11 51 C3 A3 46 3A 97 27 [19:10:11]CheckFolder [19:10:11]dirname=/storage/ofd_packets [19:10:11]CheckFolder done [19:10:11]ProducePacketName [19:10:11]name=ofd_packets/00052648 [19:10:11]NVStorageSaveData ofd_packets/00052648 [19:10:11]File name is /storage/ofd_packets/00052648 [19:10:11]Write 855 bytes [19:10:11]NVStorageSaveData done [19:10:11]OFDSenderStorePacket done [19:10:11]KKMCreateOFDPacket done [19:10:11]NVStorageSaveData kkm_last_timestamp [19:10:11]File name is /storage/kkm_last_timestamp [19:10:11]Write 4 bytes [19:10:11]NVStorageSaveData done [19:10:11]ExternCall_PrintAddStr [19:10:11]wPrintStart [19:10:11]Write to MH i2c: 01 00 00 AA 06 B0 [19:10:11]Write i2c OK [19:10:11]MH_I2C_Read... [19:10:11]Read from MH i2c: 01 [19:10:11]MH_I2C_Read... [19:10:11]Read from MH i2c: 01 07 00 [19:10:11]MH_I2C_Read... [19:10:11]Read from MH i2c: 01 07 00 AA 06 00 00 00 00 00 FF 0F C5 [19:10:11]RasterBufferAndPrint [19:10:11]line Счет N : (3)122779 [19:10:11]line ИНН: 02508201610067 [19:10:11]line Контрольно-Кассовый Чек [19:10:11]line ПРОДАЖА [19:10:11]line Товар: 48743587 [19:10:11]line Сигареты Winston XStyle Silver [19:10:11]line 1.000 * 140.00 [19:10:11]line = 140.00 [19:10:11]line НДС 12% НСП 1% [19:10:11]line > о реализуемом товаре [19:10:11]line Товар: 5449000006271 [19:10:11]line Напиток Фанта 1л [19:10:11]line 1.000 * 125.00 [19:10:11]line = 125.00 [19:10:11]line НДС 12% НСП 1% [19:10:11]line > о реализуемом товаре [19:10:11]line Товар: 4700000160358 [19:10:11]line Вода Легенда 1л [19:10:11]line 2.000 * 50.00 [19:10:11]line = 100.00 [19:10:11]line НДС 12% НСП 1% [19:10:11]line > о реализуемом товаре [19:10:11]line Товар: 4870022003305 [19:10:11]line Напиток Gorilla эн нат ж/б 0,5/0,45л [19:10:11]line 1.000 * 90.00 [19:10:11]line = 90.00 [19:10:11]line НДС 12% НСП 1% [19:10:11]line > о реализуемом товаре [19:10:11]line Товар: 5449000066473 [19:10:11]line Вода Бонаква 1л [19:10:11]line 1.000 * 42.00 [19:10:11]line = 42.00 [19:10:11]line НДС 12% НСП 1% [19:10:11]line > о реализуемом товаре [19:10:11]line Товар: 4700000310036 [19:10:11]line Вода Жалалабат 27 0,5л [19:10:11]line 1.000 * 40.00 [19:10:11]line = 40.00 [19:10:11]line НДС 12% НСП 1% [19:10:11]line > о реализуемом товаре [19:10:11]line ИТОГО: 537.00 [19:10:11]line НСП 1% : 4.75 [19:10:11]line НДС 12% : 57.03 [19:10:11]line Наличными: 0.00 [19:10:11]line Безнал.: 537.00 [19:10:11]line Место: АЗС № 54 "Партнер Нефть" [19:10:11]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [19:10:11]line СНО: Общий режим [19:10:11]line Чек 59 11.08.2024 19:10 [19:10:11]line Смена: 446 ФФД: 1.0 [19:10:11]line ЗНМ: 0300000007 [19:10:11]line РНМ: 0000000000090834 [19:10:11]line Версия ККМ: 001 [19:10:11]line Платежная система: Бакай Банк [19:10:11]line ФМ: 0000000000874715 [19:10:11]line ФД: 52648 [19:10:11]line ФПД: 156281666064344 [19:10:11]line /tax-web-control/client/api/v1/ticket?date=20240811T191010&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52648&fm=156281666064344&tin=02508201610067®Number=0000000000090834&sum=53700 [19:10:11]line 0 [19:10:11]OFD Sender: Processing packet 52648 [packets to send 55, broken 54] [19:10:11]ProducePacketName [19:10:11]name=ofd_packets/00052648 [19:10:11]OFD Sender: To server: pG, [19:10:11]CommunicateWithHost lk.salyk.kg:30040 [19:10:11]ConnectInit lk.salyk.kg [19:10:11]written 0, free lines is 4095 [19:10:12]Connected sock=7 [19:10:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 39 03 00 00 AE 4C 31 03 CF B5 5A 03 01 00 03 00 25 03 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 35 34 34 39 30 30 30 30 36 36 34 37 33 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 10 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 33 36 06 04 24 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 D1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 16 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C4 D1 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 92 0C B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A8 CD 00 00 35 04 06 00 8E 23 29 30 CF D8 11 51 C3 A3 46 3A 97 27 [19:10:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 AB 2E 47 00 BF 73 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A8 CD 00 00 F4 03 04 00 2E B4 B8 66 B6 04 01 00 00 B8 E9 93 85 59 35 30 EA [19:10:12]CommunicateWithHost err = 0 [19:10:12]CheckOFDResponse [19:10:12]1017 (14) - 77093643461234 [19:10:12]1041 (16) - 0000000000874715 [19:10:12]1040 (4) - 52648 [19:10:12]1012 (4) - 11.08.2024 12:53 [19:10:12]1206 (1) - 0 [19:10:12]OFD Sender: Remove packet 52648 [19:10:12]ProducePacketName [19:10:12]name=ofd_packets/00052648 [19:10:12]NVStorageDeleteData [19:10:12]Write to MH i2c: 01 00 00 F3 06 F9 [19:10:12]Write i2c OK [19:10:12]MH_I2C_Read... [19:10:12]Read from MH i2c: 01 [19:10:12]MH_I2C_Read... [19:10:12]Read from MH i2c: 01 07 00 [19:10:12]MH_I2C_Read... [19:10:12]Read from MH i2c: 01 07 00 F3 06 00 00 00 00 00 BD 0A C7 [19:10:12]RasterBufferAndPrint [19:10:12]line [19:10:12]line [19:10:12]line [19:10:12]line [19:10:12]line [19:10:12]written 0, free lines is 2761 [19:10:12]MH_Cut [19:10:12]Write to MH i2c: D1 01 00 FA 06 01 D2 [19:10:12]Write i2c OK [19:10:12]MH_I2C_Read... [19:10:12]Read from MH i2c: D1 [19:10:12]MH_I2C_Read... [19:10:12]Read from MH i2c: D1 01 00 [19:10:12]MH_I2C_Read... [19:10:12]Read from MH i2c: D1 01 00 FA 06 00 D1 [19:10:12]Write to MH i2c: 01 00 00 FB 06 01 [19:10:12]Write i2c OK [19:10:12]MH_I2C_Read... [19:10:13]OFD Sender: No OFD packet to send [19:10:13]*** Cut start [19:10:13]*** Purtial cut [19:10:13]*** Stage 1: CUTSNS_PIN = 1 [19:10:14]Read from MH i2c: 01 [19:10:14]MH_I2C_Read... [19:10:14]*** Stop cut motor [19:10:14]*** Cut end [19:10:14]Read from MH i2c: 01 07 00 [19:10:14]MH_I2C_Read... [19:10:14]Read from MH i2c: 01 07 00 FB 06 00 00 00 00 00 FF 0F 16 [19:10:14]process_action close_receipt done [19:10:14]requested_data is exist [19:10:14]produce_requested_data [19:10:14]requested_item fm.sn is exist - process it [19:10:14]wFMCommunicate request_size=4 [19:10:14]MH_SAM_APDU [19:10:14]CAPDU: 80 11 00 00 [19:10:14]Write to MH i2c: E2 08 00 FC 06 80 11 00 00 00 00 00 00 7C [19:10:14]Write i2c OK [19:10:14]MH_I2C_Read... [19:10:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:10:14]Read from MH i2c: E2 [19:10:14]MH_I2C_Read... [19:10:14]Read from MH i2c: E2 17 00 [19:10:14]MH_I2C_Read... [19:10:14]Read from MH i2c: E2 17 00 FC 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 CF [19:10:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [19:10:14]wFMCommunicate OK [19:10:14]requested_item fd.num is exist - process it [19:10:14]SAM_PROTO_GetFieldsCounters [19:10:14]wFMCommunicate request_size=4 [19:10:14]MH_SAM_APDU [19:10:14]CAPDU: 80 13 00 00 [19:10:14]Write to MH i2c: E2 08 00 FD 06 80 13 00 00 00 00 00 00 7F [19:10:14]Write i2c OK [19:10:14]MH_I2C_Read... [19:10:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:10:14]Read from MH i2c: E2 [19:10:14]MH_I2C_Read... [19:10:14]Read from MH i2c: E2 62 00 [19:10:14]MH_I2C_Read... [19:10:14]Read from MH i2c: E2 62 00 FD 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A8 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 84 [19:10:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A8 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:10:14]wFMCommunicate OK [19:10:14]SAM_PROTO_GetFieldsCounters done [19:10:14]requested_item shift.num is exist - process it [19:10:14]requested_item shift.opened is exist - process it [19:10:14]req_shift_opened [19:10:14]FM_GetShiftState [19:10:14]SAM_PROTO_GetShiftState [19:10:14]wFMCommunicate request_size=4 [19:10:14]MH_SAM_APDU [19:10:14]CAPDU: 80 13 01 00 [19:10:14]Write to MH i2c: E2 08 00 FE 06 80 13 01 00 00 00 00 00 81 [19:10:14]Write i2c OK [19:10:14]MH_I2C_Read... [19:10:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:10:14]Read from MH i2c: E2 [19:10:14]MH_I2C_Read... [19:10:14]Read from MH i2c: E2 0E 00 [19:10:14]MH_I2C_Read... [19:10:14]Read from MH i2c: E2 0E 00 FE 06 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 AA [19:10:14]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [19:10:14]wFMCommunicate OK [19:10:14]SAM_PROTO_GetShiftState done [19:10:14]FM_GetShiftState done [19:10:14]req_shift_opened done [19:10:14]requested_item shift.open_date is exist - process it [19:10:14]req_shift_open_date [19:10:14]req_shift_open_date done [19:10:14]produce_requested_data done [19:10:14]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52648,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [19:10:14]process_action_free close_receipt [19:10:14]json_value_free [19:10:14]json_value_free done [19:10:14]process_json_proto returns [19:10:14]Send response to host [19:10:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52648,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [19:10:14]free response buf [19:10:14]execute_script done [19:10:14]execute_script returns [19:10:14]free content buf [19:10:14]Sock 9.Close socket [19:10:14]Sock 9.Thread stoped [19:10:18]OFD Sender: No OFD packet to send [19:10:23]OFD Sender: No OFD packet to send [19:10:28]OFD Sender: No OFD packet to send [19:10:33]OFD Sender: No OFD packet to send [19:10:38]OFD Sender: No OFD packet to send [19:10:43]OFD Sender: No OFD packet to send [19:10:48]OFD Sender: No OFD packet to send [19:10:53]OFD Sender: No OFD packet to send [19:10:58]OFD Sender: No OFD packet to send [19:11:03]OFD Sender: No OFD packet to send [19:11:08]OFD Sender: No OFD packet to send [19:11:13]OFD Sender: No OFD packet to send [19:11:18]OFD Sender: No OFD packet to send [19:11:23]OFD Sender: No OFD packet to send [19:11:28]OFD Sender: No OFD packet to send [19:11:33]OFD Sender: No OFD packet to send [19:11:38]OFD Sender: No OFD packet to send [19:11:43]OFD Sender: No OFD packet to send [19:11:48]OFD Sender: No OFD packet to send [19:11:53]OFD Sender: No OFD packet to send [19:11:58]OFD Sender: No OFD packet to send [19:12:03]OFD Sender: No OFD packet to send [19:12:08]OFD Sender: No OFD packet to send [19:12:13]OFD Sender: No OFD packet to send [19:12:18]OFD Sender: No OFD packet to send [19:12:23]OFD Sender: No OFD packet to send [19:12:28]OFD Sender: No OFD packet to send [19:12:33]OFD Sender: No OFD packet to send [19:12:38]OFD Sender: No OFD packet to send [19:12:43]OFD Sender: No OFD packet to send [19:12:48]OFD Sender: No OFD packet to send [19:12:53]OFD Sender: No OFD packet to send [19:12:58]OFD Sender: No OFD packet to send [19:13:03]OFD Sender: No OFD packet to send [19:13:08]OFD Sender: No OFD packet to send [19:13:13]OFD Sender: No OFD packet to send [19:13:18]OFD Sender: No OFD packet to send [19:13:23]OFD Sender: No OFD packet to send [19:13:28]OFD Sender: No OFD packet to send [19:13:33]OFD Sender: No OFD packet to send [19:13:38]OFD Sender: No OFD packet to send [19:13:43]OFD Sender: No OFD packet to send [19:13:48]OFD Sender: No OFD packet to send [19:13:53]OFD Sender: No OFD packet to send [19:13:58]OFD Sender: No OFD packet to send [19:14:03]OFD Sender: No OFD packet to send [19:14:08]OFD Sender: No OFD packet to send [19:14:13]OFD Sender: No OFD packet to send [19:14:18]OFD Sender: No OFD packet to send [19:14:23]OFD Sender: No OFD packet to send [19:14:28]OFD Sender: No OFD packet to send [19:14:33]OFD Sender: No OFD packet to send [19:14:38]OFD Sender: No OFD packet to send [19:14:43]OFD Sender: No OFD packet to send [19:14:48]OFD Sender: No OFD packet to send [19:14:53]OFD Sender: No OFD packet to send [19:14:58]OFD Sender: No OFD packet to send [19:15:03]OFD Sender: No OFD packet to send [19:15:08]OFD Sender: No OFD packet to send [19:15:13]OFD Sender: No OFD packet to send [19:15:18]OFD Sender: No OFD packet to send [19:15:23]OFD Sender: No OFD packet to send [19:15:28]OFD Sender: No OFD packet to send [19:15:33]OFD Sender: No OFD packet to send [19:15:38]OFD Sender: No OFD packet to send [19:15:43]OFD Sender: No OFD packet to send [19:15:48]OFD Sender: No OFD packet to send [19:15:53]OFD Sender: No OFD packet to send [19:15:58]OFD Sender: No OFD packet to send [19:16:03]OFD Sender: No OFD packet to send [19:16:08]OFD Sender: No OFD packet to send [19:16:13]OFD Sender: No OFD packet to send [19:16:18]OFD Sender: No OFD packet to send [19:16:23]OFD Sender: No OFD packet to send [19:16:28]OFD Sender: No OFD packet to send [19:16:33]OFD Sender: No OFD packet to send [19:16:38]OFD Sender: No OFD packet to send [19:16:43]OFD Sender: No OFD packet to send [19:16:48]OFD Sender: No OFD packet to send [19:16:53]OFD Sender: No OFD packet to send [19:16:58]OFD Sender: No OFD packet to send [19:17:03]OFD Sender: No OFD packet to send [19:17:06]accept exits with 10 [19:17:06]New connection [19:17:06]New thread 3067293028 created [19:17:06]Thread 3067149668 joined [19:17:06]Waiting for new connection... [19:17:06] Sock 10.Parse request [19:17:06]Sock 10.Check first char [19:17:06]Sock 10.First char is OK [19:17:06]request: POST /json_proto HTTP/1.0 [19:17:06]Method: POST [19:17:06]URL: /json_proto [19:17:06]Method is POST - this is cgi request [19:17:06]url: /json_proto [19:17:06]query_string will be loaded in cgi processing [19:17:06]execute_cgi json_proto POST (null) [19:17:06]execute_cgi path=json_proto method=POST [19:17:06]POST find Content-Length [19:17:06]Host: 172.17.60.7:8080 [19:17:06]Content-Length: 630 [19:17:06]Content-Type: application/json [19:17:06] [19:17:06]POST finish read [19:17:06]Found Content-Length = 630 [19:17:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122780", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:17:06]execute_script... [19:17:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122780", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:17:06]POST & json_proto [19:17:06]process_json_proto [19:17:06]json parsed OK: [19:17:06]protocol is kg_v1.0 [19:17:06]action value=close_receipt [19:17:06]process_action close_receipt [19:17:06]cmd_close_receipt [19:17:06]MH_GetDate [19:17:06]Write to MH i2c: F0 00 00 FF 06 F4 [19:17:06]Write i2c OK [19:17:06]MH_I2C_Read... [19:17:06]Read from MH i2c: F0 [19:17:06]MH_I2C_Read... [19:17:06]Read from MH i2c: F0 09 00 [19:17:06]MH_I2C_Read... [19:17:06]Read from MH i2c: F0 09 00 FF 06 00 34 0E B9 66 63 9B 67 64 27 [19:17:06]GetLastDocTimeStamp 1723403410 [19:17:06]current date 1723403828 [19:17:06]FM_GetShiftState [19:17:06]SAM_PROTO_GetShiftState [19:17:06]wFMCommunicate request_size=4 [19:17:06]MH_SAM_APDU [19:17:06]CAPDU: 80 13 01 00 [19:17:06]Write to MH i2c: E2 08 00 00 07 80 13 01 00 00 00 00 00 84 [19:17:06]Write i2c OK [19:17:06]MH_I2C_Read... [19:17:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:17:06]Read from MH i2c: E2 [19:17:06]MH_I2C_Read... [19:17:06]Read from MH i2c: E2 0E 00 [19:17:06]MH_I2C_Read... [19:17:06]Read from MH i2c: E2 0E 00 00 07 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 AD [19:17:06]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [19:17:06]wFMCommunicate OK [19:17:06]SAM_PROTO_GetShiftState done [19:17:06]FM_GetShiftState done [19:17:06]opened in 1723336186 [19:17:06]opened+sec_in_day 1723422586 [19:17:06]quantity*price = 5000 [19:17:06]sum+1 = 5001 [19:17:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 60 11.08.2024 19:17 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52649 ФПД: 160151711359948 /tax-web-control/client/api/v1/ticket?date=20240811T191708&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52649&fm=160151711359948&tin=02508201610067®Number=0000000000090834&sum=5000 0 [19:17:07]StoreToDocumentArchive [19:17:07]shift 446 fd 52649 [19:17:07]save to /storage/0446/doc_00052649 [19:17:07]save last doc name /storage/0446/doc_00052649 to /storage/kkm_last_doc_name [19:17:07]save OK [19:17:07]Clear old archive folders... [19:17:07]ProcessDocumentItem done err = 0, tmpTLVsize=269 [19:17:07]tlvbuf is 012AD7E0 [19:17:07]SAM_PROTO_ClearQueue [19:17:07]wFMCommunicate request_size=4 [19:17:07]MH_SAM_APDU [19:17:07]CAPDU: 80 09 00 00 [19:17:07]Write to MH i2c: E2 08 00 0D 07 80 09 00 00 00 00 00 00 86 [19:17:07]Write i2c OK [19:17:07]MH_I2C_Read... [19:17:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:17:07]Read from MH i2c: E2 [19:17:07]MH_I2C_Read... [19:17:07]Read from MH i2c: E2 03 00 [19:17:07]MH_I2C_Read... [19:17:07]Read from MH i2c: E2 03 00 0D 07 00 90 00 88 [19:17:07]RAPDU: 90 00 [19:17:07]wFMCommunicate OK [19:17:07]SAM_PROTO_ClearQueue done [19:17:07]KKMCreateOFDPacket [19:17:07]OFDProtocolAddRootSTLVToBuf [19:17:07]FM_MakeSignedData [19:17:07]FM_MakeSignedData [19:17:07]SAM_PROTO_SignData [19:17:07]wFMCommunicate request_size=4 [19:17:07]MH_SAM_APDU [19:17:07]CAPDU: 80 0D 01 02 [19:17:07]Write to MH i2c: E2 08 00 0E 07 80 0D 01 02 00 00 00 00 8E [19:17:07]Write i2c OK [19:17:07]MH_I2C_Read... [19:17:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:17:07]Read from MH i2c: E2 [19:17:07]MH_I2C_Read... [19:17:07]Read from MH i2c: E2 03 00 [19:17:07]MH_I2C_Read... [19:17:07]Read from MH i2c: E2 03 00 0E 07 00 90 00 89 [19:17:07]RAPDU: 90 00 [19:17:07]wFMCommunicate OK [19:17:07]wFMCommunicate request_size=255 [19:17:07]MH_SAM_APDU [19:17:07]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 34 0E B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [19:17:07]Write to MH i2c: E2 02 01 0F 07 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 34 0E B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 00 [19:17:07]Write i2c OK [19:17:07]MH_I2C_Read... [19:17:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:17:08]Read from MH i2c: E2 [19:17:08]MH_I2C_Read... [19:17:08]Read from MH i2c: E2 03 00 [19:17:08]MH_I2C_Read... [19:17:08]Read from MH i2c: E2 03 00 0F 07 00 90 00 8A [19:17:08]RAPDU: 90 00 [19:17:08]wFMCommunicate OK [19:17:08]wFMCommunicate request_size=28 [19:17:08]MH_SAM_APDU [19:17:08]CAPDU: 80 0D 02 02 17 37 34 37 31 35 10 04 04 00 A9 CD 00 00 35 04 06 00 91 A8 39 DD A3 CC [19:17:08]Write to MH i2c: E2 1F 00 10 07 80 0D 02 02 17 00 37 34 37 31 35 10 04 04 00 A9 CD 00 00 35 04 06 00 91 A8 39 DD A3 CC 00 00 52 [19:17:08]Write i2c OK [19:17:08]MH_I2C_Read... [19:17:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:17:08]Read from MH i2c: E2 [19:17:08]MH_I2C_Read... [19:17:08]Read from MH i2c: E2 03 00 [19:17:08]MH_I2C_Read... [19:17:08]Read from MH i2c: E2 03 00 10 07 00 90 00 8B [19:17:08]RAPDU: 90 00 [19:17:08]wFMCommunicate OK [19:17:08]wFMCommunicate request_size=4 [19:17:08]MH_SAM_APDU [19:17:08]CAPDU: 80 0D 03 02 [19:17:08]Write to MH i2c: E2 08 00 11 07 80 0D 03 02 00 00 00 00 93 [19:17:08]Write i2c OK [19:17:08]MH_I2C_Read... [19:17:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:17:08]Read from MH i2c: E2 [19:17:08]MH_I2C_Read... [19:17:08]Read from MH i2c: E2 0B 00 [19:17:08]MH_I2C_Read... [19:17:08]Read from MH i2c: E2 0B 00 11 07 00 97 84 A1 0A FD DB C0 78 90 00 6A [19:17:08]RAPDU: 97 84 A1 0A FD DB C0 78 90 00 [19:17:08]wFMCommunicate OK [19:17:08]SAM_PROTO_SignData done [19:17:08]FM_MakeSignedData done [19:17:08]CreateOFDProtocolMessage [19:17:08]wFMCommunicate request_size=4 [19:17:08]MH_SAM_APDU [19:17:08]CAPDU: 80 11 00 00 [19:17:08]Write to MH i2c: E2 08 00 12 07 80 11 00 00 00 00 00 00 93 [19:17:08]Write i2c OK [19:17:08]MH_I2C_Read... [19:17:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:17:08]Read from MH i2c: E2 [19:17:08]MH_I2C_Read... [19:17:08]Read from MH i2c: E2 17 00 [19:17:08]MH_I2C_Read... [19:17:08]Read from MH i2c: E2 17 00 12 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 E6 [19:17:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [19:17:08]wFMCommunicate OK [19:17:08]CreateOFDProtocolMessage done [19:17:08]OFDSenderStorePacket 52649 [19:17:08]StoreOFDPacket docnum=52649 [19:17:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 21 01 00 00 F1 C0 19 01 20 42 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 34 0E B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A9 CD 00 00 35 04 06 00 91 A8 39 DD A3 CC 97 84 A1 0A FD DB C0 78 [19:17:08]CheckFolder [19:17:08]dirname=/storage/ofd_packets [19:17:08]CheckFolder done [19:17:08]ProducePacketName [19:17:08]name=ofd_packets/00052649 [19:17:08]NVStorageSaveData ofd_packets/00052649 [19:17:08]File name is /storage/ofd_packets/00052649 [19:17:08]Write 319 bytes [19:17:08]NVStorageSaveData done [19:17:08]OFDSenderStorePacket done [19:17:08]KKMCreateOFDPacket done [19:17:08]NVStorageSaveData kkm_last_timestamp [19:17:08]File name is /storage/kkm_last_timestamp [19:17:08]Write 4 bytes [19:17:08]NVStorageSaveData done [19:17:08]ExternCall_PrintAddStr [19:17:08]wPrintStart [19:17:08]Write to MH i2c: 01 00 00 13 07 1A [19:17:08]Write i2c OK [19:17:08]MH_I2C_Read... [19:17:08]Read from MH i2c: 01 [19:17:08]MH_I2C_Read... [19:17:08]Read from MH i2c: 01 07 00 [19:17:08]MH_I2C_Read... [19:17:08]Read from MH i2c: 01 07 00 13 07 00 00 00 00 00 FF 0F 2F [19:17:08]RasterBufferAndPrint [19:17:08]line Счет N : (3)122780 [19:17:08]line ИНН: 02508201610067 [19:17:08]line Контрольно-Кассовый Чек [19:17:08]line ПРОДАЖА [19:17:08]line Товар: 4700000160358 [19:17:08]line Вода Легенда 1л [19:17:08]line 1.000 * 50.00 [19:17:08]line = 50.00 [19:17:08]line НДС 12% НСП 1% [19:17:08]line > о реализуемом товаре [19:17:08]line ИТОГО: 50.00 [19:17:08]line НСП 1% : 0.44 [19:17:08]line НДС 12% : 5.31 [19:17:08]line Наличными: 50.00 [19:17:08]line Безнал.: 0.00 [19:17:08]line Место: АЗС № 54 "Партнер Нефть" [19:17:08]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [19:17:08]line СНО: Общий режим [19:17:08]line Чек 60 11.08.2024 19:17 [19:17:08]line Смена: 446 ФФД: 1.0 [19:17:08]line ЗНМ: 0300000007 [19:17:08]line РНМ: 0000000000090834 [19:17:08]line Версия ККМ: 001 [19:17:08]line ФМ: 0000000000874715 [19:17:08]line ФД: 52649 [19:17:08]line ФПД: 160151711359948 [19:17:08]line /tax-web-control/client/api/v1/ticket?date=20240811T191708&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52649&fm=160151711359948&tin=02508201610067®Number=0000000000090834&sum=5000 [19:17:08]OFD Sender: Processing packet 52649 [packets to send 55, broken 54] [19:17:08]ProducePacketName [19:17:08]name=ofd_packets/00052649 [19:17:08]OFD Sender: To server: pG, [19:17:08]CommunicateWithHost lk.salyk.kg:30040 [19:17:08]ConnectInit lk.salyk.kg [19:17:08]line 0 [19:17:08]written 0, free lines is 4095 [19:17:08]Connected sock=9 [19: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 34 37 31 35 21 01 00 00 F1 C0 19 01 20 42 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 34 0E B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 A9 CD 00 00 35 04 06 00 91 A8 39 DD A3 CC 97 84 A1 0A FD DB C0 78 [19:17:08]Write to MH i2c: 01 00 00 3A 07 41 [19:17:08]Write i2c OK [19:17:08]MH_I2C_Read... [19:17:08]Read from MH i2c: 01 [19:17:08]MH_I2C_Read... [19:17:08]Read from MH i2c: 01 07 00 [19:17:08]MH_I2C_Read... [19:17:08]Read from MH i2c: 01 07 00 3A 07 00 00 00 00 00 F1 0C 45 [19:17:08]RasterBufferAndPrint [19:17:08]line [19:17:08]line [19:17:08]line [19:17:08]line [19:17:08]line [19:17:09]written 0, free lines is 3319 [19:17:09]MH_Cut [19:17:09]Write to MH i2c: D1 01 00 41 07 01 1A [19:17:09]Write i2c OK [19:17:09]MH_I2C_Read... [19:17:09]Read from MH i2c: D1 [19:17:09]MH_I2C_Read... [19:17:09]Read from MH i2c: D1 01 00 [19:17:09]MH_I2C_Read... [19:17:09]Read from MH i2c: D1 01 00 41 07 00 19 [19:17:09]Write to MH i2c: 01 00 00 42 07 49 [19:17:09]Write i2c OK [19:17:09]MH_I2C_Read... [19:17:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 6E A5 47 00 CD 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 34 37 31 35 10 04 04 00 A9 CD 00 00 F4 03 04 00 CE B5 B8 66 B6 04 01 00 00 CF 9E 1A 82 DE 1B 5A 1D [19:17:09]CommunicateWithHost err = 0 [19:17:09]CheckOFDResponse [19:17:09]1017 (14) - 77093643461234 [19:17:09]1041 (16) - 0000000000874715 [19:17:09]1040 (4) - 52649 [19:17:09]1012 (4) - 11.08.2024 12:59 [19:17:09]1206 (1) - 0 [19:17:09]OFD Sender: Remove packet 52649 [19:17:09]ProducePacketName [19:17:09]name=ofd_packets/00052649 [19:17:09]NVStorageDeleteData [19:17:09]OFD Sender: No OFD packet to send [19:17:09]*** Cut start [19:17:09]*** Purtial cut [19:17:09]*** Stage 1: CUTSNS_PIN = 1 [19:17:10]Read from MH i2c: 01 [19:17:10]MH_I2C_Read... [19:17:10]*** Stop cut motor [19:17:10]*** Cut end [19:17:10]Read from MH i2c: 01 07 00 [19:17:10]MH_I2C_Read... [19:17:10]Read from MH i2c: 01 07 00 42 07 00 00 00 00 00 FF 0F 5E [19:17:10]process_action close_receipt done [19:17:10]requested_data is exist [19:17:10]produce_requested_data [19:17:10]requested_item fm.sn is exist - process it [19:17:10]wFMCommunicate request_size=4 [19:17:10]MH_SAM_APDU [19:17:10]CAPDU: 80 11 00 00 [19:17:10]Write to MH i2c: E2 08 00 43 07 80 11 00 00 00 00 00 00 C4 [19:17:10]Write i2c OK [19:17:10]MH_I2C_Read... [19:17:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:17:10]Read from MH i2c: E2 [19:17:10]MH_I2C_Read... [19:17:10]Read from MH i2c: E2 17 00 [19:17:10]MH_I2C_Read... [19:17:10]Read from MH i2c: E2 17 00 43 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 17 [19:17:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [19:17:10]wFMCommunicate OK [19:17:10]requested_item fd.num is exist - process it [19:17:10]SAM_PROTO_GetFieldsCounters [19:17:10]wFMCommunicate request_size=4 [19:17:10]MH_SAM_APDU [19:17:10]CAPDU: 80 13 00 00 [19:17:10]Write to MH i2c: E2 08 00 44 07 80 13 00 00 00 00 00 00 C7 [19:17:10]Write i2c OK [19:17:10]MH_I2C_Read... [19:17:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:17:10]Read from MH i2c: E2 [19:17:10]MH_I2C_Read... [19:17:10]Read from MH i2c: E2 62 00 [19:17:10]MH_I2C_Read... [19:17:10]Read from MH i2c: E2 62 00 44 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A9 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 D0 [19:17:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 A9 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:17:10]wFMCommunicate OK [19:17:10]SAM_PROTO_GetFieldsCounters done [19:17:10]requested_item shift.num is exist - process it [19:17:10]requested_item shift.opened is exist - process it [19:17:10]req_shift_opened [19:17:10]FM_GetShiftState [19:17:10]SAM_PROTO_GetShiftState [19:17:10]wFMCommunicate request_size=4 [19:17:10]MH_SAM_APDU [19:17:10]CAPDU: 80 13 01 00 [19:17:10]Write to MH i2c: E2 08 00 45 07 80 13 01 00 00 00 00 00 C9 [19:17:10]Write i2c OK [19:17:10]MH_I2C_Read... [19:17:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:17:10]Read from MH i2c: E2 [19:17:10]MH_I2C_Read... [19:17:10]Read from MH i2c: E2 0E 00 [19:17:10]MH_I2C_Read... [19:17:10]Read from MH i2c: E2 0E 00 45 07 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 F2 [19:17:10]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [19:17:10]wFMCommunicate OK [19:17:10]SAM_PROTO_GetShiftState done [19:17:10]FM_GetShiftState done [19:17:10]req_shift_opened done [19:17:10]requested_item shift.open_date is exist - process it [19:17:10]req_shift_open_date [19:17:10]req_shift_open_date done [19:17:10]produce_requested_data done [19:17:10]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52649,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [19:17:10]process_action_free close_receipt [19:17:10]json_value_free [19:17:10]json_value_free done [19:17:10]process_json_proto returns [19:17:10]Send response to host [19:17:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52649,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [19:17:10]free response buf [19:17:10]execute_script done [19:17:10]execute_script returns [19:17:10]free content buf [19:17:10]Sock 10.Close socket [19:17:10]Sock 10.Thread stoped [19:17:14]OFD Sender: No OFD packet to send [19:17:19]OFD Sender: No OFD packet to send [19:17:24]OFD Sender: No OFD packet to send [19:17:29]OFD Sender: No OFD packet to send [19:17:34]OFD Sender: No OFD packet to send [19:17:39]OFD Sender: No OFD packet to send [19:17:44]OFD Sender: No OFD packet to send [19:17:49]OFD Sender: No OFD packet to send [19:17:54]OFD Sender: No OFD packet to send [19:17:59]OFD Sender: No OFD packet to send [19:18:04]OFD Sender: No OFD packet to send [19:18:09]OFD Sender: No OFD packet to send [19:18:14]OFD Sender: No OFD packet to send [19:18:19]OFD Sender: No OFD packet to send [19:18:24]OFD Sender: No OFD packet to send [19:18:29]OFD Sender: No OFD packet to send [19:18:34]OFD Sender: No OFD packet to send [19:18:39]OFD Sender: No OFD packet to send [19:18:44]OFD Sender: No OFD packet to send [19:18:49]OFD Sender: No OFD packet to send [19:18:54]OFD Sender: No OFD packet to send [19:18:59]OFD Sender: No OFD packet to send [19:19:04]OFD Sender: No OFD packet to send [19:19:09]OFD Sender: No OFD packet to send [19:19:14]OFD Sender: No OFD packet to send [19:19:19]OFD Sender: No OFD packet to send [19:19:24]OFD Sender: No OFD packet to send [19:19:29]OFD Sender: No OFD packet to send [19:19:34]OFD Sender: No OFD packet to send [19:19:39]OFD Sender: No OFD packet to send [19:19:44]OFD Sender: No OFD packet to send [19:19:49]OFD Sender: No OFD packet to send [19:19:54]OFD Sender: No OFD packet to send [19:19:59]OFD Sender: No OFD packet to send [19:20:04]OFD Sender: No OFD packet to send [19:20:09]OFD Sender: No OFD packet to send [19:20:14]OFD Sender: No OFD packet to send [19:20:19]OFD Sender: No OFD packet to send [19:20:24]OFD Sender: No OFD packet to send [19:20:29]OFD Sender: No OFD packet to send [19:20:34]OFD Sender: No OFD packet to send [19:20:39]OFD Sender: No OFD packet to send [19:20:44]OFD Sender: No OFD packet to send [19:20:49]OFD Sender: No OFD packet to send [19:20:54]OFD Sender: No OFD packet to send [19:20:59]OFD Sender: No OFD packet to send [19:21:04]OFD Sender: No OFD packet to send [19:21:09]OFD Sender: No OFD packet to send [19:21:14]OFD Sender: No OFD packet to send [19:21:19]OFD Sender: No OFD packet to send [19:21:24]OFD Sender: No OFD packet to send [19:21:29]OFD Sender: No OFD packet to send [19:21:34]OFD Sender: No OFD packet to send [19:21:39]OFD Sender: No OFD packet to send [19:21:44]OFD Sender: No OFD packet to send [19:21:49]OFD Sender: No OFD packet to send [19:21:54]OFD Sender: No OFD packet to send [19:21:59]OFD Sender: No OFD packet to send [19:22:04]OFD Sender: No OFD packet to send [19:22:09]OFD Sender: No OFD packet to send [19:22:14]OFD Sender: No OFD packet to send [19:22:19]OFD Sender: No OFD packet to send [19:22:24]OFD Sender: No OFD packet to send [19:22:29]OFD Sender: No OFD packet to send [19:22:34]OFD Sender: No OFD packet to send [19:22:39]OFD Sender: No OFD packet to send [19:22:44]OFD Sender: No OFD packet to send [19:22:49]OFD Sender: No OFD packet to send [19:22:54]OFD Sender: No OFD packet to send [19:22:59]OFD Sender: No OFD packet to send [19:23:04]OFD Sender: No OFD packet to send [19:23:09]OFD Sender: No OFD packet to send [19:23:14]OFD Sender: No OFD packet to send [19:23:19]OFD Sender: No OFD packet to send [19:23:24]OFD Sender: No OFD packet to send [19:23:29]OFD Sender: No OFD packet to send [19:23:34]OFD Sender: No OFD packet to send [19:23:39]OFD Sender: No OFD packet to send [19:23:44]OFD Sender: No OFD packet to send [19:23:49]OFD Sender: No OFD packet to send [19:23:55]OFD Sender: No OFD packet to send [19:24:00]OFD Sender: No OFD packet to send [19:24:05]OFD Sender: No OFD packet to send [19:24:10]OFD Sender: No OFD packet to send [19:24:15]OFD Sender: No OFD packet to send [19:24:20]OFD Sender: No OFD packet to send [19:24:25]OFD Sender: No OFD packet to send [19:24:30]OFD Sender: No OFD packet to send [19:24:35]OFD Sender: No OFD packet to send [19:24:40]OFD Sender: No OFD packet to send [19:24:45]OFD Sender: No OFD packet to send [19:24:50]OFD Sender: No OFD packet to send [19:24:55]OFD Sender: No OFD packet to send [19:25:00]OFD Sender: No OFD packet to send [19:25:05]OFD Sender: No OFD packet to send [19:25:10]OFD Sender: No OFD packet to send [19:25:15]OFD Sender: No OFD packet to send [19:25:20]OFD Sender: No OFD packet to send [19:25:25]OFD Sender: No OFD packet to send [19:25:30]OFD Sender: No OFD packet to send [19:25:35]OFD Sender: No OFD packet to send [19:25:40]OFD Sender: No OFD packet to send [19:25:45]OFD Sender: No OFD packet to send [19:25:50]OFD Sender: No OFD packet to send [19:25:55]OFD Sender: No OFD packet to send [19:26:00]OFD Sender: No OFD packet to send [19:26:05]OFD Sender: No OFD packet to send [19:26:10]OFD Sender: No OFD packet to send [19:26:15]OFD Sender: No OFD packet to send [19:26:20]OFD Sender: No OFD packet to send [19:26:25]OFD Sender: No OFD packet to send [19:26:30]OFD Sender: No OFD packet to send [19:26:35]OFD Sender: No OFD packet to send [19:26:40]OFD Sender: No OFD packet to send [19:26:45]OFD Sender: No OFD packet to send [19:26:50]OFD Sender: No OFD packet to send [19:26:55]OFD Sender: No OFD packet to send [19:27:00]OFD Sender: No OFD packet to send [19:27:05]OFD Sender: No OFD packet to send [19:27:10]OFD Sender: No OFD packet to send [19:27:15]OFD Sender: No OFD packet to send [19:27:20]OFD Sender: No OFD packet to send [19:27:25]OFD Sender: No OFD packet to send [19:27:30]OFD Sender: No OFD packet to send [19:27:35]OFD Sender: No OFD packet to send [19:27:40]OFD Sender: No OFD packet to send [19:27:45]OFD Sender: No OFD packet to send [19:27:50]OFD Sender: No OFD packet to send [19:27:50]accept exits with 7 [19:27:50]New connection [19:27:50]New thread 3067149668 created [19:27:50]Thread 3067293028 joined [19:27:50]Waiting for new connection... [19:27:50] Sock 7.Parse request [19:27:50]Sock 7.Check first char [19:27:50]Sock 7.First char is OK [19:27:50]request: POST /json_proto HTTP/1.0 [19:27:50]Method: POST [19:27:50]URL: /json_proto [19:27:50]Method is POST - this is cgi request [19:27:50]url: /json_proto [19:27:50]query_string will be loaded in cgi processing [19:27:50]execute_cgi json_proto POST (null) [19:27:50]execute_cgi path=json_proto method=POST [19:27:50]POST find Content-Length [19:27:50]Host: 172.17.60.7:8080 [19:27:50]Content-Length: 613 [19:27:50]Content-Type: application/json [19:27:50] [19:27:50]POST finish read [19:27:50]Found Content-Length = 613 [19:27:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122781", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:27:50]execute_script... [19:27:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122781", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:27:50]POST & json_proto [19:27:50]process_json_proto [19:27:50]json parsed OK: [19:27:50]protocol is kg_v1.0 [19:27:50]action value=close_receipt [19:27:50]process_action close_receipt [19:27:50]cmd_close_receipt [19:27:50]MH_GetDate [19:27:50]Write to MH i2c: F0 00 00 46 07 3C [19:27:50]Write i2c OK [19:27:50]MH_I2C_Read... [19:27:50]Read from MH i2c: F0 [19:27:50]MH_I2C_Read... [19:27:50]Read from MH i2c: F0 09 00 [19:27:50]MH_I2C_Read... [19:27:50]Read from MH i2c: F0 09 00 46 07 00 B8 10 B9 66 63 9B 67 64 F5 [19:27:50]GetLastDocTimeStamp 1723403828 [19:27:50]current date 1723404472 [19:27:50]FM_GetShiftState [19:27:50]SAM_PROTO_GetShiftState [19:27:50]wFMCommunicate request_size=4 [19:27:50]MH_SAM_APDU [19:27:50]CAPDU: 80 13 01 00 [19:27:50]Write to MH i2c: E2 08 00 47 07 80 13 01 00 00 00 00 00 CB [19:27:50]Write i2c OK [19:27:50]MH_I2C_Read... [19:27:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:27:50]Read from MH i2c: E2 [19:27:50]MH_I2C_Read... [19:27:50]Read from MH i2c: E2 0E 00 [19:27:50]MH_I2C_Read... [19:27:50]Read from MH i2c: E2 0E 00 47 07 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 F4 [19:27:50]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [19:27:50]wFMCommunicate OK [19:27:50]SAM_PROTO_GetShiftState done [19:27:50]FM_GetShiftState done [19:27:50]opened in 1723336186 [19:27:50]opened+sec_in_day 1723422586 [19:27:50]quantity*price = 8000 [19:27:50]sum+1 = 8001 [19:27:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 61 11.08.2024 19:27 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52650 ФПД: 139306575299329 /tax-web-control/client/api/v1/ticket?date=20240811T192752&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52650&fm=139306575299329&tin=02508201610067®Number=0000000000090834&sum=8000 0 [19:27:51]StoreToDocumentArchive [19:27:51]shift 446 fd 52650 [19:27:51]save to /storage/0446/doc_00052650 [19:27:51]save last doc name /storage/0446/doc_00052650 to /storage/kkm_last_doc_name [19:27:51]save OK [19:27:51]Clear old archive folders... [19:27:51]ProcessDocumentItem done err = 0, tmpTLVsize=268 [19:27:51]tlvbuf is 012AD7E0 [19:27:51]SAM_PROTO_ClearQueue [19:27:51]wFMCommunicate request_size=4 [19:27:51]MH_SAM_APDU [19:27:51]CAPDU: 80 09 00 00 [19:27:51]Write to MH i2c: E2 08 00 54 07 80 09 00 00 00 00 00 00 CD [19:27:51]Write i2c OK [19:27:51]MH_I2C_Read... [19:27:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:27:51]Read from MH i2c: E2 [19:27:51]MH_I2C_Read... [19:27:51]Read from MH i2c: E2 03 00 [19:27:51]MH_I2C_Read... [19:27:51]Read from MH i2c: E2 03 00 54 07 00 90 00 CF [19:27:51]RAPDU: 90 00 [19:27:51]wFMCommunicate OK [19:27:51]SAM_PROTO_ClearQueue done [19:27:51]KKMCreateOFDPacket [19:27:51]OFDProtocolAddRootSTLVToBuf [19:27:51]FM_MakeSignedData [19:27:51]FM_MakeSignedData [19:27:51]SAM_PROTO_SignData [19:27:51]wFMCommunicate request_size=4 [19:27:51]MH_SAM_APDU [19:27:51]CAPDU: 80 0D 01 02 [19:27:51]Write to MH i2c: E2 08 00 55 07 80 0D 01 02 00 00 00 00 D5 [19:27:51]Write i2c OK [19:27:51]MH_I2C_Read... [19:27:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:27:51]Read from MH i2c: E2 [19:27:51]MH_I2C_Read... [19:27:51]Read from MH i2c: E2 03 00 [19:27:51]MH_I2C_Read... [19:27:51]Read from MH i2c: E2 03 00 55 07 00 90 00 D0 [19:27:51]RAPDU: 90 00 [19:27:51]wFMCommunicate OK [19:27:51]wFMCommunicate request_size=255 [19:27:51]MH_SAM_APDU [19:27:51]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 3D 00 00 00 F4 03 04 00 B8 10 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 [19:27:51]Write to MH i2c: E2 02 01 56 07 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 3D 00 00 00 F4 03 04 00 B8 10 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 00 00 CA [19:27:51]Write i2c OK [19:27:51]MH_I2C_Read... [19:27:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:27:52]Read from MH i2c: E2 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: E2 03 00 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: E2 03 00 56 07 00 90 00 D1 [19:27:52]RAPDU: 90 00 [19:27:52]wFMCommunicate OK [19:27:52]wFMCommunicate request_size=27 [19:27:52]MH_SAM_APDU [19:27:52]CAPDU: 80 0D 02 02 16 34 37 31 35 10 04 04 00 AA CD 00 00 35 04 06 00 7E B2 D6 EF 83 01 [19:27:52]Write to MH i2c: E2 1E 00 57 07 80 0D 02 02 16 00 34 37 31 35 10 04 04 00 AA CD 00 00 35 04 06 00 7E B2 D6 EF 83 01 00 00 1C [19:27:52]Write i2c OK [19:27:52]MH_I2C_Read... [19:27:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:27:52]Read from MH i2c: E2 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: E2 03 00 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: E2 03 00 57 07 00 90 00 D2 [19:27:52]RAPDU: 90 00 [19:27:52]wFMCommunicate OK [19:27:52]wFMCommunicate request_size=4 [19:27:52]MH_SAM_APDU [19:27:52]CAPDU: 80 0D 03 02 [19:27:52]Write to MH i2c: E2 08 00 58 07 80 0D 03 02 00 00 00 00 DA [19:27:52]Write i2c OK [19:27:52]MH_I2C_Read... [19:27:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:27:52]Read from MH i2c: E2 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: E2 0B 00 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: E2 0B 00 58 07 00 05 BC C6 5A 66 72 A6 7C 90 00 B6 [19:27:52]RAPDU: 05 BC C6 5A 66 72 A6 7C 90 00 [19:27:52]wFMCommunicate OK [19:27:52]SAM_PROTO_SignData done [19:27:52]FM_MakeSignedData done [19:27:52]CreateOFDProtocolMessage [19:27:52]wFMCommunicate request_size=4 [19:27:52]MH_SAM_APDU [19:27:52]CAPDU: 80 11 00 00 [19:27:52]Write to MH i2c: E2 08 00 59 07 80 11 00 00 00 00 00 00 DA [19:27:52]Write i2c OK [19:27:52]MH_I2C_Read... [19:27:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:27:52]Read from MH i2c: E2 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: E2 17 00 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: E2 17 00 59 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 2D [19:27:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [19:27:52]wFMCommunicate OK [19:27:52]CreateOFDProtocolMessage done [19:27:52]OFDSenderStorePacket 52650 [19:27:52]StoreOFDPacket docnum=52650 [19:27:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 20 01 00 00 DF 67 18 01 54 BC 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 3D 00 00 00 F4 03 04 00 B8 10 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AA CD 00 00 35 04 06 00 7E B2 D6 EF 83 01 05 BC C6 5A 66 72 A6 7C [19:27:52]CheckFolder [19:27:52]dirname=/storage/ofd_packets [19:27:52]CheckFolder done [19:27:52]ProducePacketName [19:27:52]name=ofd_packets/00052650 [19:27:52]NVStorageSaveData ofd_packets/00052650 [19:27:52]File name is /storage/ofd_packets/00052650 [19:27:52]Write 318 bytes [19:27:52]NVStorageSaveData done [19:27:52]OFDSenderStorePacket done [19:27:52]KKMCreateOFDPacket done [19:27:52]NVStorageSaveData kkm_last_timestamp [19:27:52]File name is /storage/kkm_last_timestamp [19:27:52]Write 4 bytes [19:27:52]NVStorageSaveData done [19:27:52]ExternCall_PrintAddStr [19:27:52]wPrintStart [19:27:52]Write to MH i2c: 01 00 00 5A 07 61 [19:27:52]Write i2c OK [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: 01 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: 01 07 00 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: 01 07 00 5A 07 00 00 00 00 00 FF 0F 76 [19:27:52]RasterBufferAndPrint [19:27:52]line Счет N : (3)122781 [19:27:52]line ИНН: 02508201610067 [19:27:52]line Контрольно-Кассовый Чек [19:27:52]line ПРОДАЖА [19:27:52]line Товар: 4870001570057 [19:27:52]line Напиток Pepsi 0,5л [19:27:52]line 1.000 * 80.00 [19:27:52]line = 80.00 [19:27:52]line НДС 12% НСП 1% [19:27:52]line > о реализуемом товаре [19:27:52]line ИТОГО: 80.00 [19:27:52]line НСП 1% : 0.71 [19:27:52]line НДС 12% : 8.50 [19:27:52]line Наличными: 80.00 [19:27:52]line Безнал.: 0.00 [19:27:52]line Место: АЗС № 54 "Партнер Нефть" [19:27:52]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [19:27:52]line СНО: Общий режим [19:27:52]line Чек 61 11.08.2024 19:27 [19:27:52]line Смена: 446 ФФД: 1.0 [19:27:52]line ЗНМ: 0300000007 [19:27:52]line РНМ: 0000000000090834 [19:27:52]line Версия ККМ: 001 [19:27:52]line ФМ: 0000000000874715 [19:27:52]line ФД: 52650 [19:27:52]line ФПД: 139306575299329 [19:27:52]line /tax-web-control/client/api/v1/ticket?date=20240811T192752&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52650&fm=139306575299329&tin=02508201610067®Number=0000000000090834&sum=8000 [19:27:52]line 0 [19:27:52]written 0, free lines is 4095 [19:27:52]OFD Sender: Processing packet 52650 [packets to send 55, broken 54] [19:27:52]ProducePacketName [19:27:52]name=ofd_packets/00052650 [19:27:52]OFD Sender: To server: pG, [19:27:52]CommunicateWithHost lk.salyk.kg:30040 [19:27:52]ConnectInit lk.salyk.kg [19:27:52]Connected sock=9 [19:27:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 20 01 00 00 DF 67 18 01 54 BC 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 3D 00 00 00 F4 03 04 00 B8 10 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AA CD 00 00 35 04 06 00 7E B2 D6 EF 83 01 05 BC C6 5A 66 72 A6 7C [19:27:52]Write to MH i2c: 01 00 00 81 07 88 [19:27:52]Write i2c OK [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: 01 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: 01 07 00 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: 01 07 00 81 07 00 00 00 00 00 ED 0C 88 [19:27:52]RasterBufferAndPrint [19:27:52]line [19:27:52]line [19:27:52]line [19:27:52]line [19:27:52]line [19:27:52]written 0, free lines is 3313 [19:27:52]MH_Cut [19:27:52]Write to MH i2c: D1 01 00 88 07 01 61 [19:27:52]Write i2c OK [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: D1 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: D1 01 00 [19:27:52]MH_I2C_Read... [19:27:52]Read from MH i2c: D1 01 00 88 07 00 60 [19:27:52]Write to MH i2c: 01 00 00 89 07 90 [19:27:52]Write i2c OK [19:27:52]MH_I2C_Read... [19:27:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 F0 04 47 00 5D FE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AA CD 00 00 F4 03 04 00 52 B8 B8 66 B6 04 01 00 00 F2 0E 23 98 26 F9 79 F7 [19:27:52]CommunicateWithHost err = 0 [19:27:52]CheckOFDResponse [19:27:52]1017 (14) - 77093643461234 [19:27:52]1041 (16) - 0000000000874715 [19:27:52]1040 (4) - 52650 [19:27:52]1012 (4) - 11.08.2024 13:10 [19:27:52]1206 (1) - 0 [19:27:52]OFD Sender: Remove packet 52650 [19:27:52]ProducePacketName [19:27:52]name=ofd_packets/00052650 [19:27:52]NVStorageDeleteData [19:27:53]OFD Sender: No OFD packet to send [19:27:53]*** Cut start [19:27:53]*** Purtial cut [19:27:53]*** Stage 1: CUTSNS_PIN = 1 [19:27:53]Read from MH i2c: 01 [19:27:53]MH_I2C_Read... [19:27:53]*** Stop cut motor [19:27:53]*** Cut end [19:27:53]Read from MH i2c: 01 07 00 [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: 01 07 00 89 07 00 00 00 00 00 FF 0F A5 [19:27:53]process_action close_receipt done [19:27:53]requested_data is exist [19:27:53]produce_requested_data [19:27:53]requested_item fm.sn is exist - process it [19:27:53]wFMCommunicate request_size=4 [19:27:53]MH_SAM_APDU [19:27:53]CAPDU: 80 11 00 00 [19:27:53]Write to MH i2c: E2 08 00 8A 07 80 11 00 00 00 00 00 00 0B [19:27:53]Write i2c OK [19:27:53]MH_I2C_Read... [19:27:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:27:53]Read from MH i2c: E2 [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: E2 17 00 [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: E2 17 00 8A 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 5E [19:27:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [19:27:53]wFMCommunicate OK [19:27:53]requested_item fd.num is exist - process it [19:27:53]SAM_PROTO_GetFieldsCounters [19:27:53]wFMCommunicate request_size=4 [19:27:53]MH_SAM_APDU [19:27:53]CAPDU: 80 13 00 00 [19:27:53]Write to MH i2c: E2 08 00 8B 07 80 13 00 00 00 00 00 00 0E [19:27:53]Write i2c OK [19:27:53]MH_I2C_Read... [19:27:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:27:53]Read from MH i2c: E2 [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: E2 62 00 [19:27:53]MH_I2C_Read... [19:27:53]Read from MH i2c: E2 62 00 8B 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 AA CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 1B [19: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 AA CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:27:54]wFMCommunicate OK [19:27:54]SAM_PROTO_GetFieldsCounters done [19:27:54]requested_item shift.num is exist - process it [19:27:54]requested_item shift.opened is exist - process it [19:27:54]req_shift_opened [19:27:54]FM_GetShiftState [19:27:54]SAM_PROTO_GetShiftState [19:27:54]wFMCommunicate request_size=4 [19:27:54]MH_SAM_APDU [19:27:54]CAPDU: 80 13 01 00 [19:27:54]Write to MH i2c: E2 08 00 8C 07 80 13 01 00 00 00 00 00 10 [19:27:54]Write i2c OK [19:27:54]MH_I2C_Read... [19:27:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:27:54]Read from MH i2c: E2 [19:27:54]MH_I2C_Read... [19:27:54]Read from MH i2c: E2 0E 00 [19:27:54]MH_I2C_Read... [19:27:54]Read from MH i2c: E2 0E 00 8C 07 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 39 [19:27:54]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [19:27:54]wFMCommunicate OK [19:27:54]SAM_PROTO_GetShiftState done [19:27:54]FM_GetShiftState done [19:27:54]req_shift_opened done [19:27:54]requested_item shift.open_date is exist - process it [19:27:54]req_shift_open_date [19:27:54]req_shift_open_date done [19:27:54]produce_requested_data done [19:27:54]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52650,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [19:27:54]process_action_free close_receipt [19:27:54]json_value_free [19:27:54]json_value_free done [19:27:54]process_json_proto returns [19:27:54]Send response to host [19:27:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52650,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [19:27:54]free response buf [19:27:54]execute_script done [19:27:54]execute_script returns [19:27:54]free content buf [19:27:54]Sock 7.Close socket [19:27:54]Sock 7.Thread stoped [19:27:58]OFD Sender: No OFD packet to send [19:28:03]OFD Sender: No OFD packet to send [19:28:08]OFD Sender: No OFD packet to send [19:28:13]OFD Sender: No OFD packet to send [19:28:18]OFD Sender: No OFD packet to send [19:28:23]OFD Sender: No OFD packet to send [19:28:28]OFD Sender: No OFD packet to send [19:28:33]OFD Sender: No OFD packet to send [19:28:38]OFD Sender: No OFD packet to send [19:28:43]OFD Sender: No OFD packet to send [19:28:48]OFD Sender: No OFD packet to send [19:28:53]OFD Sender: No OFD packet to send [19:28:58]OFD Sender: No OFD packet to send [19:29:03]OFD Sender: No OFD packet to send [19:29:08]OFD Sender: No OFD packet to send [19:29:13]OFD Sender: No OFD packet to send [19:29:18]OFD Sender: No OFD packet to send [19:29:23]OFD Sender: No OFD packet to send [19:29:28]OFD Sender: No OFD packet to send [19:29:30]accept exits with 10 [19:29:30]New connection [19:29:30]New thread 3067293028 created [19:29:30]Thread 3067149668 joined [19:29:30]Waiting for new connection... [19:29:30] Sock 10.Parse request [19:29:30]Sock 10.Check first char [19:29:30]Sock 10.First char is OK [19:29:30]request: POST /json_proto HTTP/1.0 [19:29:30]Method: POST [19:29:30]URL: /json_proto [19:29:30]Method is POST - this is cgi request [19:29:30]url: /json_proto [19:29:30]query_string will be loaded in cgi processing [19:29:30]execute_cgi json_proto POST (null) [19:29:30]execute_cgi path=json_proto method=POST [19:29:30]POST find Content-Length [19:29:30]Host: 172.17.60.7:8080 [19:29:30]Content-Length: 787 [19:29:30]Content-Type: application/json [19:29:30] [19:29:30]POST finish read [19:29:30]Found Content-Length = 787 [19:29:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122782", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:29:30]execute_script... [19:29: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)122782", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:29:30]POST & json_proto [19:29:30]process_json_proto [19:29:30]json parsed OK: [19:29:30]protocol is kg_v1.0 [19:29:30]action value=close_receipt [19:29:30]process_action close_receipt [19:29:30]cmd_close_receipt [19:29:30]MH_GetDate [19:29:30]Write to MH i2c: F0 00 00 8D 07 83 [19:29:30]Write i2c OK [19:29:30]MH_I2C_Read... [19:29:30]Read from MH i2c: F0 [19:29:30]MH_I2C_Read... [19:29:30]Read from MH i2c: F0 09 00 [19:29:30]MH_I2C_Read... [19:29:30]Read from MH i2c: F0 09 00 8D 07 00 1C 11 B9 66 63 9B 67 64 A1 [19:29:30]GetLastDocTimeStamp 1723404472 [19:29:30]current date 1723404572 [19:29:30]FM_GetShiftState [19:29:30]SAM_PROTO_GetShiftState [19:29:30]wFMCommunicate request_size=4 [19:29:30]MH_SAM_APDU [19:29:30]CAPDU: 80 13 01 00 [19:29:30]Write to MH i2c: E2 08 00 8E 07 80 13 01 00 00 00 00 00 12 [19:29:30]Write i2c OK [19:29:30]MH_I2C_Read... [19:29:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:29:30]Read from MH i2c: E2 [19:29:30]MH_I2C_Read... [19:29:30]Read from MH i2c: E2 0E 00 [19:29:30]MH_I2C_Read... [19:29:30]Read from MH i2c: E2 0E 00 8E 07 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 3B [19:29:30]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [19:29:30]wFMCommunicate OK [19:29:30]SAM_PROTO_GetShiftState done [19:29:30]FM_GetShiftState done [19:29:30]opened in 1723336186 [19:29:30]opened+sec_in_day 1723422586 [19:29:30]quantity*price = 14000 [19:29:30]sum+1 = 14001 [19:29:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 62 11.08.2024 19:29 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52651 ФПД: 226872325818035 /tax-web-control/client/api/v1/ticket?date=20240811T192932&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52651&fm=226872325818035&tin=02508201610067®Number=0000000000090834&sum=14000 0 [19:29:31]StoreToDocumentArchive [19:29:31]shift 446 fd 52651 [19:29:31]save to /storage/0446/doc_00052651 [19:29:31]save last doc name /storage/0446/doc_00052651 to /storage/kkm_last_doc_name [19:29:31]save OK [19:29:31]Clear old archive folders... [19:29:31]ProcessDocumentItem done err = 0, tmpTLVsize=273 [19:29:31]tlvbuf is 012AD790 [19:29:31]SAM_PROTO_ClearQueue [19:29:31]wFMCommunicate request_size=4 [19:29:31]MH_SAM_APDU [19:29:31]CAPDU: 80 09 00 00 [19:29:31]Write to MH i2c: E2 08 00 9B 07 80 09 00 00 00 00 00 00 14 [19:29:31]Write i2c OK [19:29:31]MH_I2C_Read... [19:29:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:29:31]Read from MH i2c: E2 [19:29:31]MH_I2C_Read... [19:29:31]Read from MH i2c: E2 03 00 [19:29:31]MH_I2C_Read... [19:29:31]Read from MH i2c: E2 03 00 9B 07 00 90 00 16 [19:29:31]RAPDU: 90 00 [19:29:31]wFMCommunicate OK [19:29:31]SAM_PROTO_ClearQueue done [19:29:31]KKMCreateOFDPacket [19:29:31]OFDProtocolAddRootSTLVToBuf [19:29:31]FM_MakeSignedData [19:29:31]FM_MakeSignedData [19:29:31]SAM_PROTO_SignData [19:29:31]wFMCommunicate request_size=4 [19:29:31]MH_SAM_APDU [19:29:31]CAPDU: 80 0D 01 02 [19:29:31]Write to MH i2c: E2 08 00 9C 07 80 0D 01 02 00 00 00 00 1C [19:29:31]Write i2c OK [19:29:31]MH_I2C_Read... [19:29:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:29:31]Read from MH i2c: E2 [19:29:31]MH_I2C_Read... [19:29:31]Read from MH i2c: E2 03 00 [19:29:31]MH_I2C_Read... [19:29:31]Read from MH i2c: E2 03 00 9C 07 00 90 00 17 [19:29:31]RAPDU: 90 00 [19:29:31]wFMCommunicate OK [19:29:31]wFMCommunicate request_size=255 [19:29:31]MH_SAM_APDU [19:29:31]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 1C 11 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 [19:29:31]Write to MH i2c: E2 02 01 9D 07 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 1C 11 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 00 00 45 [19:29:31]Write i2c OK [19:29:31]MH_I2C_Read... [19:29:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:29:32]Read from MH i2c: E2 [19:29:32]MH_I2C_Read... [19:29:32]Read from MH i2c: E2 03 00 [19:29:32]MH_I2C_Read... [19:29:32]Read from MH i2c: E2 03 00 9D 07 00 90 00 18 [19:29:32]RAPDU: 90 00 [19:29:32]wFMCommunicate OK [19:29:32]wFMCommunicate request_size=32 [19:29:32]MH_SAM_APDU [19:29:32]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 37 31 35 10 04 04 00 AB CD 00 00 35 04 06 00 CE 56 D4 63 C6 B3 [19:29:32]Write to MH i2c: E2 23 00 9E 07 80 0D 02 02 1B 00 30 30 30 38 37 34 37 31 35 10 04 04 00 AB CD 00 00 35 04 06 00 CE 56 D4 63 C6 B3 00 00 C8 [19:29:32]Write i2c OK [19:29:32]MH_I2C_Read... [19:29:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:29:32]Read from MH i2c: E2 [19:29:32]MH_I2C_Read... [19:29:32]Read from MH i2c: E2 03 00 [19:29:32]MH_I2C_Read... [19:29:32]Read from MH i2c: E2 03 00 9E 07 00 90 00 19 [19:29:32]RAPDU: 90 00 [19:29:32]wFMCommunicate OK [19:29:32]wFMCommunicate request_size=4 [19:29:32]MH_SAM_APDU [19:29:32]CAPDU: 80 0D 03 02 [19:29:32]Write to MH i2c: E2 08 00 9F 07 80 0D 03 02 00 00 00 00 21 [19:29:32]Write i2c OK [19:29:32]MH_I2C_Read... [19:29:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:29:32]Read from MH i2c: E2 [19:29:32]MH_I2C_Read... [19:29:32]Read from MH i2c: E2 0B 00 [19:29:32]MH_I2C_Read... [19:29:32]Read from MH i2c: E2 0B 00 9F 07 00 B5 D5 CE CC 63 E0 E6 1F 90 00 8E [19:29:32]RAPDU: B5 D5 CE CC 63 E0 E6 1F 90 00 [19:29:32]wFMCommunicate OK [19:29:32]SAM_PROTO_SignData done [19:29:32]FM_MakeSignedData done [19:29:32]CreateOFDProtocolMessage [19:29:32]wFMCommunicate request_size=4 [19:29:32]MH_SAM_APDU [19:29:32]CAPDU: 80 11 00 00 [19:29:32]Write to MH i2c: E2 08 00 A0 07 80 11 00 00 00 00 00 00 21 [19:29:32]Write i2c OK [19:29:32]MH_I2C_Read... [19:29:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:29:32]Read from MH i2c: E2 [19:29:32]MH_I2C_Read... [19:29:32]Read from MH i2c: E2 17 00 [19:29:32]MH_I2C_Read... [19:29:32]Read from MH i2c: E2 17 00 A0 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 74 [19:29:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [19:29:32]wFMCommunicate OK [19:29:32]CreateOFDProtocolMessage done [19:29:32]OFDSenderStorePacket 52651 [19:29:32]StoreOFDPacket docnum=52651 [19:29:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 25 01 00 00 CC 8E 1D 01 49 B0 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 1C 11 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AB CD 00 00 35 04 06 00 CE 56 D4 63 C6 B3 B5 D5 CE CC 63 E0 E6 1F [19:29:32]CheckFolder [19:29:32]dirname=/storage/ofd_packets [19:29:32]CheckFolder done [19:29:32]ProducePacketName [19:29:32]name=ofd_packets/00052651 [19:29:32]NVStorageSaveData ofd_packets/00052651 [19:29:32]File name is /storage/ofd_packets/00052651 [19:29:32]Write 323 bytes [19:29:32]NVStorageSaveData done [19:29:32]OFDSenderStorePacket done [19:29:32]KKMCreateOFDPacket done [19:29:32]NVStorageSaveData kkm_last_timestamp [19:29:32]File name is /storage/kkm_last_timestamp [19:29:32]Write 4 bytes [19:29:32]NVStorageSaveData done [19:29:32]ExternCall_PrintAddStr [19:29:32]wPrintStart [19:29:32]Write to MH i2c: 01 00 00 A1 07 A8 [19:29:32]Write i2c OK [19:29:32]MH_I2C_Read... [19:29:32]Read from MH i2c: 01 [19:29:32]MH_I2C_Read... [19:29:32]Read from MH i2c: 01 07 00 [19:29:32]MH_I2C_Read... [19:29:32]Read from MH i2c: 01 07 00 A1 07 00 00 00 00 00 FF 0F BD [19:29:32]RasterBufferAndPrint [19:29:32]line Счет N : (3)122782 [19:29:32]line ИНН: 02508201610067 [19:29:32]line Контрольно-Кассовый Чек [19:29:32]line ПРОДАЖА [19:29:32]line Товар: 48747059 [19:29:32]line Сигареты Winston Legend Blue [19:29:32]line 1.000 * 140.00 [19:29:32]line = 140.00 [19:29:32]line НДС 12% НСП 1% [19:29:32]line > о реализуемом товаре [19:29:32]line ИТОГО: 140.00 [19:29:32]line НСП 1% : 1.24 [19:29:32]line НДС 12% : 14.87 [19:29:32]line Наличными: 0.00 [19:29:32]line Безнал.: 140.00 [19:29:32]line Место: АЗС № 54 "Партнер Нефть" [19:29:32]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [19:29:32]line СНО: Общий режим [19:29:32]line Чек 62 11.08.2024 19:29 [19:29:32]line Смена: 446 ФФД: 1.0 [19:29:32]line ЗНМ: 0300000007 [19:29:32]line РНМ: 0000000000090834 [19:29:32]line Версия ККМ: 001 [19:29:32]line Платежная система: О! деньги [19:29:32]line ФМ: 0000000000874715 [19:29:32]line ФД: 52651 [19:29:32]line ФПД: 226872325818035 [19:29:32]line /tax-web-control/client/api/v1/ticket?date=20240811T192932&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52651&fm=226872325818035&tin=02508201610067®Number=0000000000090834&sum=14000 [19:29:32]OFD Sender: Processing packet 52651 [packets to send 55, broken 54] [19:29:32]ProducePacketName [19:29:32]name=ofd_packets/00052651 [19:29:32]OFD Sender: To server: pG, [19:29:32]CommunicateWithHost lk.salyk.kg:30040 [19:29:32]ConnectInit lk.salyk.kg [19:29:32]line 0 [19:29:32]written 0, free lines is 4095 [19:29:32]Connected sock=9 [19:29:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 25 01 00 00 CC 8E 1D 01 49 B0 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 1C 11 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AB CD 00 00 35 04 06 00 CE 56 D4 63 C6 B3 B5 D5 CE CC 63 E0 E6 1F [19:29:33]Write to MH i2c: 01 00 00 CB 07 D2 [19:29:33]Write i2c OK [19:29:33]MH_I2C_Read... [19:29:33]Read from MH i2c: 01 [19:29:33]MH_I2C_Read... [19:29:33]Read from MH i2c: 01 07 00 [19:29:33]MH_I2C_Read... [19:29:33]Read from MH i2c: 01 07 00 CB 07 00 00 00 00 00 B2 0C 97 [19:29:33]RasterBufferAndPrint [19:29:33]line [19:29:33]line [19:29:33]line [19:29:33]line [19:29:33]line [19:29:33]written 0, free lines is 3254 [19:29:33]MH_Cut [19:29:33]Write to MH i2c: D1 01 00 D2 07 01 AB [19:29:33]Write i2c OK [19:29:33]MH_I2C_Read... [19:29:33]Read from MH i2c: D1 [19:29:33]MH_I2C_Read... [19:29:33]Read from MH i2c: D1 01 00 [19:29:33]MH_I2C_Read... [19:29:33]Read from MH i2c: D1 01 00 D2 07 00 AA [19:29:33]Write to MH i2c: 01 00 00 D3 07 DA [19:29:33]Write i2c OK [19:29:33]MH_I2C_Read... [19:29:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 DF D7 47 00 A1 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 34 37 31 35 10 04 04 00 AB CD 00 00 F4 03 04 00 B6 B8 B8 66 B6 04 01 00 00 06 A4 5B 49 35 0D E0 66 [19:29:33]CommunicateWithHost err = 0 [19:29:33]CheckOFDResponse [19:29:33]1017 (14) - 77093643461234 [19:29:33]1041 (16) - 0000000000874715 [19:29:33]1040 (4) - 52651 [19:29:33]1012 (4) - 11.08.2024 13:12 [19:29:33]1206 (1) - 0 [19:29:33]OFD Sender: Remove packet 52651 [19:29:33]ProducePacketName [19:29:33]name=ofd_packets/00052651 [19:29:33]NVStorageDeleteData [19:29:33]OFD Sender: No OFD packet to send [19:29:33]*** Cut start [19:29:33]*** Purtial cut [19:29:33]*** Stage 1: CUTSNS_PIN = 1 [19:29:34]Read from MH i2c: 01 [19:29:34]MH_I2C_Read... [19:29:34]*** Stop cut motor [19:29:34]*** Cut end [19:29:34]Read from MH i2c: 01 07 00 [19:29:34]MH_I2C_Read... [19:29:34]Read from MH i2c: 01 07 00 D3 07 00 00 00 00 00 FF 0F EF [19:29:34]process_action close_receipt done [19:29:34]requested_data is exist [19:29:34]produce_requested_data [19:29:34]requested_item fm.sn is exist - process it [19:29:34]wFMCommunicate request_size=4 [19:29:34]MH_SAM_APDU [19:29:34]CAPDU: 80 11 00 00 [19:29:34]Write to MH i2c: E2 08 00 D4 07 80 11 00 00 00 00 00 00 55 [19:29:34]Write i2c OK [19:29:34]MH_I2C_Read... [19:29:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:29:34]Read from MH i2c: E2 [19:29:34]MH_I2C_Read... [19:29:34]Read from MH i2c: E2 17 00 [19:29:34]MH_I2C_Read... [19:29:34]Read from MH i2c: E2 17 00 D4 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 A8 [19:29:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [19:29:34]wFMCommunicate OK [19:29:34]requested_item fd.num is exist - process it [19:29:34]SAM_PROTO_GetFieldsCounters [19:29:34]wFMCommunicate request_size=4 [19:29:34]MH_SAM_APDU [19:29:34]CAPDU: 80 13 00 00 [19:29:34]Write to MH i2c: E2 08 00 D5 07 80 13 00 00 00 00 00 00 58 [19:29:34]Write i2c OK [19:29:34]MH_I2C_Read... [19:29:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:29:34]Read from MH i2c: E2 [19:29:34]MH_I2C_Read... [19:29:34]Read from MH i2c: E2 62 00 [19:29:34]MH_I2C_Read... [19:29:34]Read from MH i2c: E2 62 00 D5 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 AB CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 69 [19:29: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 AB CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:29:34]wFMCommunicate OK [19:29:34]SAM_PROTO_GetFieldsCounters done [19:29:34]requested_item shift.num is exist - process it [19:29:34]requested_item shift.opened is exist - process it [19:29:34]req_shift_opened [19:29:34]FM_GetShiftState [19:29:34]SAM_PROTO_GetShiftState [19:29:34]wFMCommunicate request_size=4 [19:29:34]MH_SAM_APDU [19:29:34]CAPDU: 80 13 01 00 [19:29:34]Write to MH i2c: E2 08 00 D6 07 80 13 01 00 00 00 00 00 5A [19:29:34]Write i2c OK [19:29:34]MH_I2C_Read... [19:29:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:29:34]Read from MH i2c: E2 [19:29:34]MH_I2C_Read... [19:29:34]Read from MH i2c: E2 0E 00 [19:29:34]MH_I2C_Read... [19:29:34]Read from MH i2c: E2 0E 00 D6 07 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 83 [19:29:34]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [19:29:34]wFMCommunicate OK [19:29:34]SAM_PROTO_GetShiftState done [19:29:34]FM_GetShiftState done [19:29:34]req_shift_opened done [19:29:34]requested_item shift.open_date is exist - process it [19:29:34]req_shift_open_date [19:29:34]req_shift_open_date done [19:29:34]produce_requested_data done [19:29:34]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52651,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [19:29:34]process_action_free close_receipt [19:29:34]json_value_free [19:29:34]json_value_free done [19:29:34]process_json_proto returns [19:29:34]Send response to host [19:29:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52651,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [19:29:34]free response buf [19:29:34]execute_script done [19:29:34]execute_script returns [19:29:34]free content buf [19:29:34]Sock 10.Close socket [19:29:34]Sock 10.Thread stoped [19:29:38]OFD Sender: No OFD packet to send [19:29:39]accept exits with 7 [19:29:39]New connection [19:29:39]New thread 3067149668 created [19:29:39]Thread 3067293028 joined [19:29:39]Waiting for new connection... [19:29:39] Sock 7.Parse request [19:29:39]Sock 7.Check first char [19:29:39]Sock 7.First char is OK [19:29:39]request: POST /json_proto HTTP/1.0 [19:29:39]Method: POST [19:29:39]URL: /json_proto [19:29:39]Method is POST - this is cgi request [19:29:39]url: /json_proto [19:29:39]query_string will be loaded in cgi processing [19:29:39]execute_cgi json_proto POST (null) [19:29:39]execute_cgi path=json_proto method=POST [19:29:39]POST find Content-Length [19:29:39]Host: 172.17.60.7:8080 [19:29:39]Content-Length: 661 [19:29:39]Content-Type: application/json [19:29:39] [19:29:39]POST finish read [19:29:39]Found Content-Length = 661 [19:29:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122783", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:29:39]execute_script... [19:29: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)122783", "tax_sys" : 0, "items" : [ { "code": "6931280300549", "name": "\u0417\u0430\u0436\u0438\u0433\u0430\u043B\u043A\u0430 Cricket \u041F\u041D \u043F\u044C\u0435\u0437\u043E", "price" : 67.00, "quantity" : 1.000, "sum" : 67.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 67.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:29:39]POST & json_proto [19:29:39]process_json_proto [19:29:39]json parsed OK: [19:29:39]protocol is kg_v1.0 [19:29:39]action value=close_receipt [19:29:39]process_action close_receipt [19:29:39]cmd_close_receipt [19:29:39]MH_GetDate [19:29:39]Write to MH i2c: F0 00 00 D7 07 CD [19:29:39]Write i2c OK [19:29:39]MH_I2C_Read... [19:29:39]Read from MH i2c: F0 [19:29:39]MH_I2C_Read... [19:29:39]Read from MH i2c: F0 09 00 [19:29:39]MH_I2C_Read... [19:29:39]Read from MH i2c: F0 09 00 D7 07 00 25 11 B9 66 63 9B 67 64 F4 [19:29:39]GetLastDocTimeStamp 1723404572 [19:29:39]current date 1723404581 [19:29:39]FM_GetShiftState [19:29:39]SAM_PROTO_GetShiftState [19:29:39]wFMCommunicate request_size=4 [19:29:39]MH_SAM_APDU [19:29:39]CAPDU: 80 13 01 00 [19:29:39]Write to MH i2c: E2 08 00 D8 07 80 13 01 00 00 00 00 00 5C [19:29:39]Write i2c OK [19:29:39]MH_I2C_Read... [19:29:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:29:39]Read from MH i2c: E2 [19:29:39]MH_I2C_Read... [19:29:39]Read from MH i2c: E2 0E 00 [19:29:39]MH_I2C_Read... [19:29:39]Read from MH i2c: E2 0E 00 D8 07 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 85 [19:29:39]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [19:29:39]wFMCommunicate OK [19:29:39]SAM_PROTO_GetShiftState done [19:29:39]FM_GetShiftState done [19:29:39]opened in 1723336186 [19:29:39]opened+sec_in_day 1723422586 [19:29:39]quantity*price = 6700 [19:29:39]sum+1 = 6701 [19:29:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 67.00 НСП 1% : 0.59 НДС 12% : 7.11 Наличными: 67.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 63 11.08.2024 19:29 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52652 ФПД: 155337904814932 /tax-web-control/client/api/v1/ticket?date=20240811T192941&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52652&fm=155337904814932&tin=02508201610067®Number=0000000000090834&sum=6700 0 [19:29:40]StoreToDocumentArchive [19:29:40]shift 446 fd 52652 [19:29:40]save to /storage/0446/doc_00052652 [19:29:40]save last doc name /storage/0446/doc_00052652 to /storage/kkm_last_doc_name [19:29:40]save OK [19:29:40]Clear old archive folders... [19:29:40]ProcessDocumentItem done err = 0, tmpTLVsize=284 [19:29:40]tlvbuf is 01291A80 [19:29:40]SAM_PROTO_ClearQueue [19:29:40]wFMCommunicate request_size=4 [19:29:40]MH_SAM_APDU [19:29:40]CAPDU: 80 09 00 00 [19:29:40]Write to MH i2c: E2 08 00 E5 07 80 09 00 00 00 00 00 00 5E [19:29:40]Write i2c OK [19:29:40]MH_I2C_Read... [19:29:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:29:40]Read from MH i2c: E2 [19:29:40]MH_I2C_Read... [19:29:40]Read from MH i2c: E2 03 00 [19:29:40]MH_I2C_Read... [19:29:40]Read from MH i2c: E2 03 00 E5 07 00 90 00 60 [19:29:40]RAPDU: 90 00 [19:29:40]wFMCommunicate OK [19:29:40]SAM_PROTO_ClearQueue done [19:29:40]KKMCreateOFDPacket [19:29:40]OFDProtocolAddRootSTLVToBuf [19:29:40]FM_MakeSignedData [19:29:40]FM_MakeSignedData [19:29:40]SAM_PROTO_SignData [19:29:40]wFMCommunicate request_size=4 [19:29:40]MH_SAM_APDU [19:29:40]CAPDU: 80 0D 01 02 [19:29:40]Write to MH i2c: E2 08 00 E6 07 80 0D 01 02 00 00 00 00 66 [19:29:40]Write i2c OK [19:29:40]MH_I2C_Read... [19:29:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:29:40]Read from MH i2c: E2 [19:29:40]MH_I2C_Read... [19:29:40]Read from MH i2c: E2 03 00 [19:29:40]MH_I2C_Read... [19:29:40]Read from MH i2c: E2 03 00 E6 07 00 90 00 61 [19:29:40]RAPDU: 90 00 [19:29:40]wFMCommunicate OK [19:29:40]wFMCommunicate request_size=255 [19:29:40]MH_SAM_APDU [19:29:40]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 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 3F 00 00 00 F4 03 04 00 25 11 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 [19:29:40]Write to MH i2c: E2 02 01 E7 07 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 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 3F 00 00 00 F4 03 04 00 25 11 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 00 00 D9 [19:29:40]Write i2c OK [19:29:40]MH_I2C_Read... [19:29:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:29:41]Read from MH i2c: E2 [19:29:41]MH_I2C_Read... [19:29:41]Read from MH i2c: E2 03 00 [19:29:41]MH_I2C_Read... [19:29:41]Read from MH i2c: E2 03 00 E7 07 00 90 00 62 [19:29:41]RAPDU: 90 00 [19:29:41]wFMCommunicate OK [19:29:41]wFMCommunicate request_size=43 [19:29:41]MH_SAM_APDU [19:29:41]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AC CD 00 00 35 04 06 00 8D 47 6C A2 FB 54 [19:29:41]Write to MH i2c: E2 2E 00 E8 07 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AC CD 00 00 35 04 06 00 8D 47 6C A2 FB 54 00 00 FB [19:29:41]Write i2c OK [19:29:41]MH_I2C_Read... [19:29:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:29:41]Read from MH i2c: E2 [19:29:41]MH_I2C_Read... [19:29:41]Read from MH i2c: E2 03 00 [19:29:41]MH_I2C_Read... [19:29:41]Read from MH i2c: E2 03 00 E8 07 00 90 00 63 [19:29:41]RAPDU: 90 00 [19:29:41]wFMCommunicate OK [19:29:41]wFMCommunicate request_size=4 [19:29:41]MH_SAM_APDU [19:29:41]CAPDU: 80 0D 03 02 [19:29:41]Write to MH i2c: E2 08 00 E9 07 80 0D 03 02 00 00 00 00 6B [19:29:41]Write i2c OK [19:29:41]MH_I2C_Read... [19:29:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:29:41]Read from MH i2c: E2 [19:29:41]MH_I2C_Read... [19:29:41]Read from MH i2c: E2 0B 00 [19:29:41]MH_I2C_Read... [19:29:41]Read from MH i2c: E2 0B 00 E9 07 00 3C 67 01 CA BA A4 CF 6E 90 00 75 [19:29:41]RAPDU: 3C 67 01 CA BA A4 CF 6E 90 00 [19:29:41]wFMCommunicate OK [19:29:41]SAM_PROTO_SignData done [19:29:41]FM_MakeSignedData done [19:29:41]CreateOFDProtocolMessage [19:29:41]wFMCommunicate request_size=4 [19:29:41]MH_SAM_APDU [19:29:41]CAPDU: 80 11 00 00 [19:29:41]Write to MH i2c: E2 08 00 EA 07 80 11 00 00 00 00 00 00 6B [19:29:41]Write i2c OK [19:29:41]MH_I2C_Read... [19:29:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:29:41]Read from MH i2c: E2 [19:29:41]MH_I2C_Read... [19:29:41]Read from MH i2c: E2 17 00 [19:29:41]MH_I2C_Read... [19:29:41]Read from MH i2c: E2 17 00 EA 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 BE [19:29:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [19:29:41]wFMCommunicate OK [19:29:41]CreateOFDProtocolMessage done [19:29:41]OFDSenderStorePacket 52652 [19:29:41]StoreOFDPacket docnum=52652 [19:29:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 30 01 00 00 77 6E 28 01 BC 21 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 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 3F 00 00 00 F4 03 04 00 25 11 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AC CD 00 00 35 04 06 00 8D 47 6C A2 FB 54 3C 67 01 CA BA A4 CF 6E [19:29:41]CheckFolder [19:29:41]dirname=/storage/ofd_packets [19:29:41]CheckFolder done [19:29:41]ProducePacketName [19:29:41]name=ofd_packets/00052652 [19:29:41]NVStorageSaveData ofd_packets/00052652 [19:29:41]File name is /storage/ofd_packets/00052652 [19:29:41]Write 334 bytes [19:29:41]NVStorageSaveData done [19:29:41]OFDSenderStorePacket done [19:29:41]KKMCreateOFDPacket done [19:29:41]NVStorageSaveData kkm_last_timestamp [19:29:41]File name is /storage/kkm_last_timestamp [19:29:41]Write 4 bytes [19:29:41]NVStorageSaveData done [19:29:41]ExternCall_PrintAddStr [19:29:41]wPrintStart [19:29:41]Write to MH i2c: 01 00 00 EB 07 F2 [19:29:41]Write i2c OK [19:29:41]MH_I2C_Read... [19:29:41]Read from MH i2c: 01 [19:29:41]MH_I2C_Read... [19:29:41]Read from MH i2c: 01 07 00 [19:29:41]MH_I2C_Read... [19:29:41]Read from MH i2c: 01 07 00 EB 07 00 00 00 00 00 FF 0F 07 [19:29:41]RasterBufferAndPrint [19:29:41]line Счет N : (3)122783 [19:29:41]line ИНН: 02508201610067 [19:29:41]line Контрольно-Кассовый Чек [19:29:41]line ПРОДАЖА [19:29:41]line Товар: 6931280300549 [19:29:41]line Зажигалка Cricket ПН пьезо [19:29:41]line 1.000 * 67.00 [19:29:41]line = 67.00 [19:29:41]line НДС 12% НСП 1% [19:29:41]line > о реализуемом товаре [19:29:41]line ИТОГО: 67.00 [19:29:41]line НСП 1% : 0.59 [19:29:41]line НДС 12% : 7.11 [19:29:41]line Наличными: 67.00 [19:29:41]line Безнал.: 0.00 [19:29:41]line Место: АЗС № 54 "Партнер Нефть" [19:29:41]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [19:29:41]line СНО: Общий режим [19:29:41]line Чек 63 11.08.2024 19:29 [19:29:41]line Смена: 446 ФФД: 1.0 [19:29:41]line ЗНМ: 0300000007 [19:29:41]line РНМ: 0000000000090834 [19:29:41]line Версия ККМ: 001 [19:29:41]line ФМ: 0000000000874715 [19:29:41]line ФД: 52652 [19:29:41]line ФПД: 155337904814932 [19:29:41]line /tax-web-control/client/api/v1/ticket?date=20240811T192941&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52652&fm=155337904814932&tin=02508201610067®Number=0000000000090834&sum=6700 [19:29:41]line 0 [19:29:41]written 0, free lines is 4095 [19:29:41]OFD Sender: Processing packet 52652 [packets to send 55, broken 54] [19:29:41]ProducePacketName [19:29:41]name=ofd_packets/00052652 [19:29:41]OFD Sender: To server: pG, [19:29:41]CommunicateWithHost lk.salyk.kg:30040 [19:29:41]ConnectInit lk.salyk.kg [19:29:41]Write to MH i2c: 01 00 00 12 08 1A [19:29:41]Write i2c OK [19:29:41]MH_I2C_Read... [19:29:41]Read from MH i2c: 01 [19:29:41]MH_I2C_Read... [19:29:41]Read from MH i2c: 01 07 00 [19:29:41]MH_I2C_Read... [19:29:41]Read from MH i2c: 01 07 00 12 08 00 00 00 00 00 F2 0C 1F [19:29:41]RasterBufferAndPrint [19:29:41]line [19:29:41]line [19:29:41]line [19:29:41]line [19:29:41]line [19:29:41]written 0, free lines is 3321 [19:29:41]MH_Cut [19:29:41]Write to MH i2c: D1 01 00 19 08 01 F3 [19:29:41]Write i2c OK [19:29:41]MH_I2C_Read... [19:29:41]Read from MH i2c: D1 [19:29:41]MH_I2C_Read... [19:29:41]Read from MH i2c: D1 01 00 [19:29:41]MH_I2C_Read... [19:29:41]Read from MH i2c: D1 01 00 19 08 00 F2 [19:29:41]Write to MH i2c: 01 00 00 1A 08 22 [19:29:41]Write i2c OK [19:29:41]MH_I2C_Read... [19:29:41]Connected sock=9 [19:29:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 30 01 00 00 77 6E 28 01 BC 21 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 36 39 33 31 32 38 30 33 30 30 35 34 39 06 04 2A 00 D0 97 D0 B0 D0 B6 D0 B8 D0 B3 D0 B0 D0 BB D0 BA D0 B0 20 43 72 69 63 6B 65 74 20 D0 9F D0 9D 20 D0 BF D1 8C D0 B5 D0 B7 D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 2C 1A 00 00 00 00 13 04 06 00 2C 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 02 00 00 00 00 07 04 06 00 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 3F 00 00 00 F4 03 04 00 25 11 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AC CD 00 00 35 04 06 00 8D 47 6C A2 FB 54 3C 67 01 CA BA A4 CF 6E [19:29:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 2D 6D 47 00 FC E5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AC CD 00 00 F4 03 04 00 BF B8 B8 66 B6 04 01 00 00 C9 B5 02 30 A6 1D 67 C4 [19:29:42]CommunicateWithHost err = 0 [19:29:42]CheckOFDResponse [19:29:42]1017 (14) - 77093643461234 [19:29:42]1041 (16) - 0000000000874715 [19:29:42]1040 (4) - 52652 [19:29:42]1012 (4) - 11.08.2024 13:12 [19:29:42]1206 (1) - 0 [19:29:42]OFD Sender: Remove packet 52652 [19:29:42]ProducePacketName [19:29:42]name=ofd_packets/00052652 [19:29:42]NVStorageDeleteData [19:29:42]*** Cut start [19:29:42]*** Purtial cut [19:29:42]*** Stage 1: CUTSNS_PIN = 1 [19:29:42]OFD Sender: No OFD packet to send [19:29:42]Read from MH i2c: 01 [19:29:42]MH_I2C_Read... [19:29:42]*** Stop cut motor [19:29:42]*** Cut end [19:29:42]Read from MH i2c: 01 07 00 [19:29:42]MH_I2C_Read... [19:29:42]Read from MH i2c: 01 07 00 1A 08 00 00 00 00 00 FF 0F 37 [19:29:42]process_action close_receipt done [19:29:42]requested_data is exist [19:29:42]produce_requested_data [19:29:42]requested_item fm.sn is exist - process it [19:29:42]wFMCommunicate request_size=4 [19:29:42]MH_SAM_APDU [19:29:42]CAPDU: 80 11 00 00 [19:29:42]Write to MH i2c: E2 08 00 1B 08 80 11 00 00 00 00 00 00 9D [19:29:42]Write i2c OK [19:29:42]MH_I2C_Read... [19:29:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:29:42]Read from MH i2c: E2 [19:29:42]MH_I2C_Read... [19:29:42]Read from MH i2c: E2 17 00 [19:29:42]MH_I2C_Read... [19:29:42]Read from MH i2c: E2 17 00 1B 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 F0 [19:29:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [19:29:42]wFMCommunicate OK [19:29:42]requested_item fd.num is exist - process it [19:29:42]SAM_PROTO_GetFieldsCounters [19:29:42]wFMCommunicate request_size=4 [19:29:42]MH_SAM_APDU [19:29:42]CAPDU: 80 13 00 00 [19:29:42]Write to MH i2c: E2 08 00 1C 08 80 13 00 00 00 00 00 00 A0 [19:29:42]Write i2c OK [19:29:42]MH_I2C_Read... [19:29:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:29:42]Read from MH i2c: E2 [19:29:42]MH_I2C_Read... [19:29:42]Read from MH i2c: E2 62 00 [19:29:42]MH_I2C_Read... [19:29:42]Read from MH i2c: E2 62 00 1C 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 AC CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 B5 [19:29: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 AC CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:29:42]wFMCommunicate OK [19:29:42]SAM_PROTO_GetFieldsCounters done [19:29:43]requested_item shift.num is exist - process it [19:29:43]requested_item shift.opened is exist - process it [19:29:43]req_shift_opened [19:29:43]FM_GetShiftState [19:29:43]SAM_PROTO_GetShiftState [19:29:43]wFMCommunicate request_size=4 [19:29:43]MH_SAM_APDU [19:29:43]CAPDU: 80 13 01 00 [19:29:43]Write to MH i2c: E2 08 00 1D 08 80 13 01 00 00 00 00 00 A2 [19:29:43]Write i2c OK [19:29:43]MH_I2C_Read... [19:29:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:29:43]Read from MH i2c: E2 [19:29:43]MH_I2C_Read... [19:29:43]Read from MH i2c: E2 0E 00 [19:29:43]MH_I2C_Read... [19:29:43]Read from MH i2c: E2 0E 00 1D 08 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 CB [19:29:43]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [19:29:43]wFMCommunicate OK [19:29:43]SAM_PROTO_GetShiftState done [19:29:43]FM_GetShiftState done [19:29:43]req_shift_opened done [19:29:43]requested_item shift.open_date is exist - process it [19:29:43]req_shift_open_date [19:29:43]req_shift_open_date done [19:29:43]produce_requested_data done [19:29:43]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52652,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [19:29:43]process_action_free close_receipt [19:29:43]json_value_free [19:29:43]json_value_free done [19:29:43]process_json_proto returns [19:29:43]Send response to host [19:29:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52652,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [19:29:43]free response buf [19:29:43]execute_script done [19:29:43]execute_script returns [19:29:43]free content buf [19:29:43]Sock 7.Close socket [19:29:43]Sock 7.Thread stoped [19:29:47]OFD Sender: No OFD packet to send [19:29:52]OFD Sender: No OFD packet to send [19:29:57]OFD Sender: No OFD packet to send [19:30:02]OFD Sender: No OFD packet to send [19:30:05]accept exits with 10 [19:30:05]New connection [19:30:05]New thread 3067293028 created [19:30:05]Thread 3067149668 joined [19:30:05]Waiting for new connection... [19:30:05] Sock 10.Parse request [19:30:05]Sock 10.Check first char [19:30:05]Sock 10.First char is OK [19:30:05]request: POST /json_proto HTTP/1.0 [19:30:05]Method: POST [19:30:05]URL: /json_proto [19:30:05]Method is POST - this is cgi request [19:30:05]url: /json_proto [19:30:05]query_string will be loaded in cgi processing [19:30:05]execute_cgi json_proto POST (null) [19:30:05]execute_cgi path=json_proto method=POST [19:30:05]POST find Content-Length [19:30:05]Host: 172.17.60.7:8080 [19:30:05]Content-Length: 1077 [19:30:05]Content-Type: application/json [19:30:05] [19:30:05]POST finish read [19:30:05]Found Content-Length = 1077 [19:30:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122784", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.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 }]} ], "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" : 24.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:30:05]execute_script... [19:30: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)122784", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.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 }]} ], "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" : 24.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:30:05]POST & json_proto [19:30:05]process_json_proto [19:30:05]json parsed OK: [19:30:05]protocol is kg_v1.0 [19:30:05]action value=close_receipt [19:30:05]process_action close_receipt [19:30:05]cmd_close_receipt [19:30:05]MH_GetDate [19:30:05]Write to MH i2c: F0 00 00 1E 08 15 [19:30:05]Write i2c OK [19:30:05]MH_I2C_Read... [19:30:05]Read from MH i2c: F0 [19:30:05]MH_I2C_Read... [19:30:05]Read from MH i2c: F0 09 00 [19:30:05]MH_I2C_Read... [19:30:05]Read from MH i2c: F0 09 00 1E 08 00 3F 11 B9 66 63 9B 67 64 56 [19:30:05]GetLastDocTimeStamp 1723404581 [19:30:05]current date 1723404607 [19:30:05]FM_GetShiftState [19:30:05]SAM_PROTO_GetShiftState [19:30:05]wFMCommunicate request_size=4 [19:30:05]MH_SAM_APDU [19:30:05]CAPDU: 80 13 01 00 [19:30:05]Write to MH i2c: E2 08 00 1F 08 80 13 01 00 00 00 00 00 A4 [19:30:05]Write i2c OK [19:30:05]MH_I2C_Read... [19:30:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:30:05]Read from MH i2c: E2 [19:30:05]MH_I2C_Read... [19:30:05]Read from MH i2c: E2 0E 00 [19:30:05]MH_I2C_Read... [19:30:05]Read from MH i2c: E2 0E 00 1F 08 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 CD [19:30:05]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [19:30:05]wFMCommunicate OK [19:30:05]SAM_PROTO_GetShiftState done [19:30:05]FM_GetShiftState done [19:30:05]opened in 1723336186 [19:30:05]opened+sec_in_day 1723422586 [19:30:05]quantity*price = 2000 [19:30:05]sum+1 = 2001 [19:30:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000031750019 Пакет Партнер Нефть 1.000 * 4.00 = 4.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 24.00 НСП 1% : 0.21 НДС 12% : 2.54 Наличными: 0.00 Безнал.: 24.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 64 11.08.2024 19:30 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874715 ФД: 52653 ФПД: 184399091999541 /tax-web-control/client/api/v1/ticket?date=20240811T193007&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52653&fm=184399091999541&tin=02508201610067®Number=0000000000090834&sum=2400 0 [19:30:06]StoreToDocumentArchive [19:30:06]shift 446 fd 52653 [19:30:06]save to /storage/0446/doc_00052653 [19:30:06]save last doc name /storage/0446/doc_00052653 to /storage/kkm_last_doc_name [19:30:06]save OK [19:30:06]Clear old archive folders... [19:30:06]ProcessDocumentItem done err = 0, tmpTLVsize=381 [19:30:06]tlvbuf is 01256CA0 [19:30:06]SAM_PROTO_ClearQueue [19:30:06]wFMCommunicate request_size=4 [19:30:06]MH_SAM_APDU [19:30:06]CAPDU: 80 09 00 00 [19:30:06]Write to MH i2c: E2 08 00 2C 08 80 09 00 00 00 00 00 00 A6 [19:30:06]Write i2c OK [19:30:06]MH_I2C_Read... [19:30:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:30:06]Read from MH i2c: E2 [19:30:06]MH_I2C_Read... [19:30:06]Read from MH i2c: E2 03 00 [19:30:06]MH_I2C_Read... [19:30:06]Read from MH i2c: E2 03 00 2C 08 00 90 00 A8 [19:30:06]RAPDU: 90 00 [19:30:06]wFMCommunicate OK [19:30:06]SAM_PROTO_ClearQueue done [19:30:06]KKMCreateOFDPacket [19:30:06]OFDProtocolAddRootSTLVToBuf [19:30:06]FM_MakeSignedData [19:30:06]FM_MakeSignedData [19:30:06]SAM_PROTO_SignData [19:30:06]wFMCommunicate request_size=4 [19:30:06]MH_SAM_APDU [19:30:06]CAPDU: 80 0D 01 02 [19:30:06]Write to MH i2c: E2 08 00 2D 08 80 0D 01 02 00 00 00 00 AE [19:30:06]Write i2c OK [19:30:06]MH_I2C_Read... [19:30:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:30:07]Read from MH i2c: E2 [19:30:07]MH_I2C_Read... [19:30:07]Read from MH i2c: E2 03 00 [19:30:07]MH_I2C_Read... [19:30:07]Read from MH i2c: E2 03 00 2D 08 00 90 00 A9 [19:30:07]RAPDU: 90 00 [19:30:07]wFMCommunicate OK [19:30:07]wFMCommunicate request_size=255 [19:30:07]MH_SAM_APDU [19:30:07]CAPDU: 80 0D 02 02 FA 03 00 7D 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 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 60 09 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 15 00 00 [19:30:07]Write to MH i2c: E2 02 01 2E 08 80 0D 02 02 FA 00 03 00 7D 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 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 60 09 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 15 00 00 00 00 EE [19:30:07]Write i2c OK [19:30:07]MH_I2C_Read... [19:30:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:30:07]Read from MH i2c: E2 [19:30:07]MH_I2C_Read... [19:30:07]Read from MH i2c: E2 03 00 [19:30:07]MH_I2C_Read... [19:30:07]Read from MH i2c: E2 03 00 2E 08 00 90 00 AA [19:30:07]RAPDU: 90 00 [19:30:07]wFMCommunicate OK [19:30:07]wFMCommunicate request_size=140 [19:30:07]MH_SAM_APDU [19:30:07]CAPDU: 80 0D 02 02 87 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 09 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 3F 11 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AD CD 00 00 35 04 06 00 A7 B5 C2 60 23 35 [19:30:07]Write to MH i2c: E2 8F 00 2F 08 80 0D 02 02 87 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 09 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 3F 11 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AD CD 00 00 35 04 06 00 A7 B5 C2 60 23 35 00 00 10 [19:30:07]Write i2c OK [19:30:07]MH_I2C_Read... [19:30:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:30:07]Read from MH i2c: E2 [19:30:07]MH_I2C_Read... [19:30:07]Read from MH i2c: E2 03 00 [19:30:07]MH_I2C_Read... [19:30:07]Read from MH i2c: E2 03 00 2F 08 00 90 00 AB [19:30:07]RAPDU: 90 00 [19:30:07]wFMCommunicate OK [19:30:07]wFMCommunicate request_size=4 [19:30:07]MH_SAM_APDU [19:30:07]CAPDU: 80 0D 03 02 [19:30:07]Write to MH i2c: E2 08 00 30 08 80 0D 03 02 00 00 00 00 B3 [19:30:07]Write i2c OK [19:30:07]MH_I2C_Read... [19:30:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:30:07]Read from MH i2c: E2 [19:30:07]MH_I2C_Read... [19:30:07]Read from MH i2c: E2 0B 00 [19:30:07]MH_I2C_Read... [19:30:07]Read from MH i2c: E2 0B 00 30 08 00 08 35 9A 4D 89 6C 6D CE 90 00 08 [19:30:07]RAPDU: 08 35 9A 4D 89 6C 6D CE 90 00 [19:30:07]wFMCommunicate OK [19:30:07]SAM_PROTO_SignData done [19:30:07]FM_MakeSignedData done [19:30:07]CreateOFDProtocolMessage [19:30:07]wFMCommunicate request_size=4 [19:30:07]MH_SAM_APDU [19:30:07]CAPDU: 80 11 00 00 [19:30:07]Write to MH i2c: E2 08 00 31 08 80 11 00 00 00 00 00 00 B3 [19:30:07]Write i2c OK [19:30:07]MH_I2C_Read... [19:30:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:30:07]Read from MH i2c: E2 [19:30:07]MH_I2C_Read... [19:30:07]Read from MH i2c: E2 17 00 [19:30:07]MH_I2C_Read... [19:30:07]Read from MH i2c: E2 17 00 31 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 06 [19:30:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [19:30:07]wFMCommunicate OK [19:30:07]CreateOFDProtocolMessage done [19:30:07]OFDSenderStorePacket 52653 [19:30:07]StoreOFDPacket docnum=52653 [19:30:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 91 01 00 00 84 87 89 01 C1 40 5A 03 01 00 03 00 7D 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 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 60 09 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 15 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 09 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 3F 11 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AD CD 00 00 35 04 06 00 A7 B5 C2 60 23 35 08 35 9A 4D 89 6C 6D CE [19:30:07]CheckFolder [19:30:07]dirname=/storage/ofd_packets [19:30:07]CheckFolder done [19:30:07]ProducePacketName [19:30:07]name=ofd_packets/00052653 [19:30:07]NVStorageSaveData ofd_packets/00052653 [19:30:07]File name is /storage/ofd_packets/00052653 [19:30:07]Write 431 bytes [19:30:07]NVStorageSaveData done [19:30:07]OFDSenderStorePacket done [19:30:07]KKMCreateOFDPacket done [19:30:07]NVStorageSaveData kkm_last_timestamp [19:30:07]File name is /storage/kkm_last_timestamp [19:30:07]Write 4 bytes [19:30:07]NVStorageSaveData done [19:30:07]ExternCall_PrintAddStr [19:30:07]wPrintStart [19:30:07]Write to MH i2c: 01 00 00 32 08 3A [19:30:07]OFD Sender: Processing packet 52653 [packets to send 55, broken 54] [19:30:07]ProducePacketName [19:30:07]name=ofd_packets/00052653 [19:30:07]OFD Sender: To server: pG, [19:30:07]CommunicateWithHost lk.salyk.kg:30040 [19:30:07]ConnectInit lk.salyk.kg [19:30:07]Write i2c OK [19:30:07]MH_I2C_Read... [19:30:07]Read from MH i2c: 01 [19:30:07]MH_I2C_Read... [19:30:07]Read from MH i2c: 01 07 00 [19:30:07]MH_I2C_Read... [19:30:07]Read from MH i2c: 01 07 00 32 08 00 00 00 00 00 FF 0F 4F [19:30:07]RasterBufferAndPrint [19:30:07]line Счет N : (3)122784 [19:30:07]line ИНН: 02508201610067 [19:30:07]line Контрольно-Кассовый Чек [19:30:07]line ПРОДАЖА [19:30:07]line Товар: 46226624 [19:30:07]line Mentos ПВ Клубника 6*100*2 [19:30:07]line 2.000 * 10.00 [19:30:07]line = 20.00 [19:30:07]line НДС 12% НСП 1% [19:30:07]line > о реализуемом товаре [19:30:07]line Товар: 2000031750019 [19:30:07]line Пакет Партнер Нефть [19:30:07]line 1.000 * 4.00 [19:30:07]line = 4.00 [19:30:07]line НДС 12% НСП 1% [19:30:07]line > о реализуемом товаре [19:30:07]line ИТОГО: 24.00 [19:30:07]line НСП 1% : 0.21 [19:30:07]line НДС 12% : 2.54 [19:30:07]line Наличными: 0.00 [19:30:07]line Безнал.: 24.00 [19:30:07]line Место: АЗС № 54 "Партнер Нефть" [19:30:07]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [19:30:07]line СНО: Общий режим [19:30:07]line Чек 64 11.08.2024 19:30 [19:30:07]line Смена: 446 ФФД: 1.0 [19:30:07]line ЗНМ: 0300000007 [19:30:07]line РНМ: 0000000000090834 [19:30:07]line Версия ККМ: 001 [19:30:07]line Платежная система: Бакай Банк [19:30:07]line ФМ: 0000000000874715 [19:30:07]line ФД: 52653 [19:30:07]line ФПД: 184399091999541 [19:30:07]line /tax-web-control/client/api/v1/ticket?date=20240811T193007&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52653&fm=184399091999541&tin=02508201610067®Number=0000000000090834&sum=2400 [19:30:07]line 0 [19:30:07]written 0, free lines is 4095 [19:30:08]Connected sock=9 [19:30:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 91 01 00 00 84 87 89 01 C1 40 5A 03 01 00 03 00 7D 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 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 60 09 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 15 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 09 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 3F 11 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AD CD 00 00 35 04 06 00 A7 B5 C2 60 23 35 08 35 9A 4D 89 6C 6D CE [19:30:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 C9 A8 47 00 0D 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 34 37 31 35 10 04 04 00 AD CD 00 00 F4 03 04 00 DA B8 B8 66 B6 04 01 00 00 71 5A B7 06 77 C5 1A 85 [19:30:08]CommunicateWithHost err = 0 [19:30:08]CheckOFDResponse [19:30:08]1017 (14) - 77093643461234 [19:30:08]1041 (16) - 0000000000874715 [19:30:08]1040 (4) - 52653 [19:30:08]1012 (4) - 11.08.2024 13:12 [19:30:08]1206 (1) - 0 [19:30:08]OFD Sender: Remove packet 52653 [19:30:08]ProducePacketName [19:30:08]name=ofd_packets/00052653 [19:30:08]NVStorageDeleteData [19:30:08]Write to MH i2c: 01 00 00 61 08 69 [19:30:08]Write i2c OK [19:30:08]MH_I2C_Read... [19:30:08]Read from MH i2c: 01 [19:30:08]MH_I2C_Read... [19:30:08]Read from MH i2c: 01 07 00 [19:30:08]MH_I2C_Read... [19:30:08]Read from MH i2c: 01 07 00 61 08 00 00 00 00 00 97 0C 13 [19:30:08]RasterBufferAndPrint [19:30:08]line [19:30:08]line [19:30:08]line [19:30:08]line [19:30:08]line [19:30:08]written 0, free lines is 3227 [19:30:08]MH_Cut [19:30:08]Write to MH i2c: D1 01 00 68 08 01 42 [19:30:08]Write i2c OK [19:30:08]MH_I2C_Read... [19:30:08]Read from MH i2c: D1 [19:30:08]MH_I2C_Read... [19:30:08]Read from MH i2c: D1 01 00 [19:30:08]MH_I2C_Read... [19:30:08]Read from MH i2c: D1 01 00 68 08 00 41 [19:30:08]Write to MH i2c: 01 00 00 69 08 71 [19:30:08]Write i2c OK [19:30:08]MH_I2C_Read... [19:30:08]OFD Sender: No OFD packet to send [19:30:09]*** Cut start [19:30:09]*** Purtial cut [19:30:09]*** Stage 1: CUTSNS_PIN = 1 [19:30:09]Read from MH i2c: 01 [19:30:09]MH_I2C_Read... [19:30:09]*** Stop cut motor [19:30:09]*** Cut end [19:30:09]Read from MH i2c: 01 07 00 [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: 01 07 00 69 08 00 00 00 00 00 FF 0F 86 [19:30:09]process_action close_receipt done [19:30:09]requested_data is exist [19:30:09]produce_requested_data [19:30:09]requested_item fm.sn is exist - process it [19:30:09]wFMCommunicate request_size=4 [19:30:09]MH_SAM_APDU [19:30:09]CAPDU: 80 11 00 00 [19:30:09]Write to MH i2c: E2 08 00 6A 08 80 11 00 00 00 00 00 00 EC [19:30:09]Write i2c OK [19:30:09]MH_I2C_Read... [19:30:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:30:09]Read from MH i2c: E2 [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: E2 17 00 [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: E2 17 00 6A 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 3F [19:30:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [19:30:09]wFMCommunicate OK [19:30:09]requested_item fd.num is exist - process it [19:30:09]SAM_PROTO_GetFieldsCounters [19:30:09]wFMCommunicate request_size=4 [19:30:09]MH_SAM_APDU [19:30:09]CAPDU: 80 13 00 00 [19:30:09]Write to MH i2c: E2 08 00 6B 08 80 13 00 00 00 00 00 00 EF [19:30:09]Write i2c OK [19:30:09]MH_I2C_Read... [19:30:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:30:09]Read from MH i2c: E2 [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: E2 62 00 [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: E2 62 00 6B 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 AD CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 08 [19:30: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 AD CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:30:09]wFMCommunicate OK [19:30:09]SAM_PROTO_GetFieldsCounters done [19:30:09]requested_item shift.num is exist - process it [19:30:09]requested_item shift.opened is exist - process it [19:30:09]req_shift_opened [19:30:09]FM_GetShiftState [19:30:09]SAM_PROTO_GetShiftState [19:30:09]wFMCommunicate request_size=4 [19:30:09]MH_SAM_APDU [19:30:09]CAPDU: 80 13 01 00 [19:30:09]Write to MH i2c: E2 08 00 6C 08 80 13 01 00 00 00 00 00 F1 [19:30:09]Write i2c OK [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: E2 [19:30:09]MH_I2C_Read... [19:30:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:30:09]Read from MH i2c: E2 0E 00 [19:30:09]MH_I2C_Read... [19:30:09]Read from MH i2c: E2 0E 00 6C 08 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 1A [19:30:09]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [19:30:09]wFMCommunicate OK [19:30:09]SAM_PROTO_GetShiftState done [19:30:09]FM_GetShiftState done [19:30:09]req_shift_opened done [19:30:09]requested_item shift.open_date is exist - process it [19:30:09]req_shift_open_date [19:30:09]req_shift_open_date done [19:30:09]produce_requested_data done [19:30:09]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52653,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [19:30:09]process_action_free close_receipt [19:30:09]json_value_free [19:30:09]json_value_free done [19:30:09]process_json_proto returns [19:30:09]Send response to host [19:30:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52653,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [19:30:09]free response buf [19:30:09]execute_script done [19:30:09]execute_script returns [19:30:09]free content buf [19:30:09]Sock 10.Close socket [19:30:09]Sock 10.Thread stoped [19:30:13]OFD Sender: No OFD packet to send [19:30:18]OFD Sender: No OFD packet to send [19:30:23]OFD Sender: No OFD packet to send [19:30:28]OFD Sender: No OFD packet to send [19:30:33]OFD Sender: No OFD packet to send [19:30:38]OFD Sender: No OFD packet to send [19:30:43]OFD Sender: No OFD packet to send [19:30:48]OFD Sender: No OFD packet to send [19:30:53]OFD Sender: No OFD packet to send [19:30:58]OFD Sender: No OFD packet to send [19:31:03]OFD Sender: No OFD packet to send [19:31:08]OFD Sender: No OFD packet to send [19:31:13]OFD Sender: No OFD packet to send [19:31:18]OFD Sender: No OFD packet to send [19:31:23]OFD Sender: No OFD packet to send [19:31:28]OFD Sender: No OFD packet to send [19:31:33]OFD Sender: No OFD packet to send [19:31:38]OFD Sender: No OFD packet to send [19:31:44]OFD Sender: No OFD packet to send [19:31:49]OFD Sender: No OFD packet to send [19:31:54]OFD Sender: No OFD packet to send [19:31:59]OFD Sender: No OFD packet to send [19:32:04]OFD Sender: No OFD packet to send [19:32:09]OFD Sender: No OFD packet to send [19:32:14]OFD Sender: No OFD packet to send [19:32:19]OFD Sender: No OFD packet to send [19:32:24]OFD Sender: No OFD packet to send [19:32:29]OFD Sender: No OFD packet to send [19:32:34]OFD Sender: No OFD packet to send [19:32:39]OFD Sender: No OFD packet to send [19:32:44]OFD Sender: No OFD packet to send [19:32:49]OFD Sender: No OFD packet to send [19:32:54]OFD Sender: No OFD packet to send [19:32:59]OFD Sender: No OFD packet to send [19:33:04]OFD Sender: No OFD packet to send [19:33:09]OFD Sender: No OFD packet to send [19:33:14]OFD Sender: No OFD packet to send [19:33:19]OFD Sender: No OFD packet to send [19:33:24]OFD Sender: No OFD packet to send [19:33:29]OFD Sender: No OFD packet to send [19:33:34]OFD Sender: No OFD packet to send [19:33:39]OFD Sender: No OFD packet to send [19:33:44]OFD Sender: No OFD packet to send [19:33:49]OFD Sender: No OFD packet to send [19:33:54]OFD Sender: No OFD packet to send [19:33:59]OFD Sender: No OFD packet to send [19:34:04]OFD Sender: No OFD packet to send [19:34:09]OFD Sender: No OFD packet to send [19:34:14]OFD Sender: No OFD packet to send [19:34:19]OFD Sender: No OFD packet to send [19:34:24]OFD Sender: No OFD packet to send [19:34:29]OFD Sender: No OFD packet to send [19:34:34]OFD Sender: No OFD packet to send [19:34:39]OFD Sender: No OFD packet to send [19:34:44]OFD Sender: No OFD packet to send [19:34:49]OFD Sender: No OFD packet to send [19:34:54]OFD Sender: No OFD packet to send [19:34:59]OFD Sender: No OFD packet to send [19:35:04]OFD Sender: No OFD packet to send [19:35:09]OFD Sender: No OFD packet to send [19:35:14]OFD Sender: No OFD packet to send [19:35:19]OFD Sender: No OFD packet to send [19:35:24]OFD Sender: No OFD packet to send [19:35:29]OFD Sender: No OFD packet to send [19:35:34]OFD Sender: No OFD packet to send [19:35:39]OFD Sender: No OFD packet to send [19:35:43]accept exits with 7 [19:35:43]New connection [19:35:43]New thread 3067149668 created [19:35:43]Thread 3067293028 joined [19:35:43]Waiting for new connection... [19:35:43] Sock 7.Parse request [19:35:43]Sock 7.Check first char [19:35:43]Sock 7.First char is OK [19:35:43]request: POST /json_proto HTTP/1.0 [19:35:43]Method: POST [19:35:43]URL: /json_proto [19:35:43]Method is POST - this is cgi request [19:35:43]url: /json_proto [19:35:43]query_string will be loaded in cgi processing [19:35:43]execute_cgi json_proto POST (null) [19:35:43]execute_cgi path=json_proto method=POST [19:35:43]POST find Content-Length [19:35:43]Host: 172.17.60.7:8080 [19:35:43]Content-Length: 655 [19:35:43]Content-Type: application/json [19:35:43] [19:35:43]POST finish read [19:35:43]Found Content-Length = 655 [19:35:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122785", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:35:43]execute_script... [19:35: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)122785", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:35:43]POST & json_proto [19:35:43]process_json_proto [19:35:43]json parsed OK: [19:35:43]protocol is kg_v1.0 [19:35:43]action value=close_receipt [19:35:43]process_action close_receipt [19:35:43]cmd_close_receipt [19:35:43]MH_GetDate [19:35:43]Write to MH i2c: F0 00 00 6D 08 64 [19:35:43]Write i2c OK [19:35:43]MH_I2C_Read... [19:35:43]Read from MH i2c: F0 [19:35:43]MH_I2C_Read... [19:35:43]Read from MH i2c: F0 09 00 [19:35:43]MH_I2C_Read... [19:35:43]Read from MH i2c: F0 09 00 6D 08 00 91 12 B9 66 63 9B 67 64 F8 [19:35:43]GetLastDocTimeStamp 1723404607 [19:35:43]current date 1723404945 [19:35:43]FM_GetShiftState [19:35:43]SAM_PROTO_GetShiftState [19:35:43]wFMCommunicate request_size=4 [19:35:43]MH_SAM_APDU [19:35:43]CAPDU: 80 13 01 00 [19:35:43]Write to MH i2c: E2 08 00 6E 08 80 13 01 00 00 00 00 00 F3 [19:35:43]Write i2c OK [19:35:43]MH_I2C_Read... [19:35:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:35:43]Read from MH i2c: E2 [19:35:43]MH_I2C_Read... [19:35:43]Read from MH i2c: E2 0E 00 [19:35:43]MH_I2C_Read... [19:35:43]Read from MH i2c: E2 0E 00 6E 08 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 1C [19:35:43]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [19:35:43]wFMCommunicate OK [19:35:43]SAM_PROTO_GetShiftState done [19:35:43]FM_GetShiftState done [19:35:43]opened in 1723336186 [19:35:43]opened+sec_in_day 1723422586 [19:35:43]quantity*price = 8500 [19:35:43]sum+1 = 8501 [19:35:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 65 11.08.2024 19:35 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52654 ФПД: 77906342317002 /tax-web-control/client/api/v1/ticket?date=20240811T193545&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52654&fm=77906342317002&tin=02508201610067®Number=0000000000090834&sum=8500 0 [19:35:44]StoreToDocumentArchive [19:35:44]shift 446 fd 52654 [19:35:44]save to /storage/0446/doc_00052654 [19:35:44]save last doc name /storage/0446/doc_00052654 to /storage/kkm_last_doc_name [19:35:44]save OK [19:35:44]Clear old archive folders... [19:35:44]ProcessDocumentItem done err = 0, tmpTLVsize=294 [19:35:44]tlvbuf is B6EFB4D0 [19:35:44]SAM_PROTO_ClearQueue [19:35:44]wFMCommunicate request_size=4 [19:35:44]MH_SAM_APDU [19:35:44]CAPDU: 80 09 00 00 [19:35:44]Write to MH i2c: E2 08 00 7B 08 80 09 00 00 00 00 00 00 F5 [19:35:44]Write i2c OK [19:35:44]MH_I2C_Read... [19:35:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:35:44]Read from MH i2c: E2 [19:35:44]MH_I2C_Read... [19:35:44]Read from MH i2c: E2 03 00 [19:35:44]MH_I2C_Read... [19:35:44]Read from MH i2c: E2 03 00 7B 08 00 90 00 F7 [19:35:44]RAPDU: 90 00 [19:35:44]wFMCommunicate OK [19:35:44]SAM_PROTO_ClearQueue done [19:35:44]KKMCreateOFDPacket [19:35:44]OFDProtocolAddRootSTLVToBuf [19:35:44]FM_MakeSignedData [19:35:44]FM_MakeSignedData [19:35:44]SAM_PROTO_SignData [19:35:44]wFMCommunicate request_size=4 [19:35:44]MH_SAM_APDU [19:35:44]CAPDU: 80 0D 01 02 [19:35:44]Write to MH i2c: E2 08 00 7C 08 80 0D 01 02 00 00 00 00 FD [19:35:44]Write i2c OK [19:35:44]MH_I2C_Read... [19:35:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:35:44]Read from MH i2c: E2 [19:35:44]MH_I2C_Read... [19:35:44]Read from MH i2c: E2 03 00 [19:35:44]MH_I2C_Read... [19:35:44]Read from MH i2c: E2 03 00 7C 08 00 90 00 F8 [19:35:44]RAPDU: 90 00 [19:35:44]wFMCommunicate OK [19:35:44]wFMCommunicate request_size=255 [19:35:44]MH_SAM_APDU [19:35:44]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 91 12 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [19:35:44]Write to MH i2c: E2 02 01 7D 08 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 91 12 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 A3 [19:35:44]Write i2c OK [19:35:44]MH_I2C_Read... [19:35:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:35:45]Read from MH i2c: E2 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 03 00 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 03 00 7D 08 00 90 00 F9 [19:35:45]RAPDU: 90 00 [19:35:45]wFMCommunicate OK [19:35:45]wFMCommunicate request_size=53 [19:35:45]MH_SAM_APDU [19:35:45]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AE CD 00 00 35 04 06 00 46 DA FB DC 0B CA [19:35:45]Write to MH i2c: E2 38 00 7E 08 80 0D 02 02 30 00 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AE CD 00 00 35 04 06 00 46 DA FB DC 0B CA 00 00 3B [19:35:45]Write i2c OK [19:35:45]MH_I2C_Read... [19:35:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:35:45]Read from MH i2c: E2 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 03 00 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 03 00 7E 08 00 90 00 FA [19:35:45]RAPDU: 90 00 [19:35:45]wFMCommunicate OK [19:35:45]wFMCommunicate request_size=4 [19:35:45]MH_SAM_APDU [19:35:45]CAPDU: 80 0D 03 02 [19:35:45]Write to MH i2c: E2 08 00 7F 08 80 0D 03 02 00 00 00 00 02 [19:35:45]Write i2c OK [19:35:45]MH_I2C_Read... [19:35:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:35:45]Read from MH i2c: E2 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 0B 00 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 0B 00 7F 08 00 CF 21 6B 64 92 E2 9F 6E 90 00 43 [19:35:45]RAPDU: CF 21 6B 64 92 E2 9F 6E 90 00 [19:35:45]wFMCommunicate OK [19:35:45]SAM_PROTO_SignData done [19:35:45]FM_MakeSignedData done [19:35:45]CreateOFDProtocolMessage [19:35:45]wFMCommunicate request_size=4 [19:35:45]MH_SAM_APDU [19:35:45]CAPDU: 80 11 00 00 [19:35:45]Write to MH i2c: E2 08 00 80 08 80 11 00 00 00 00 00 00 02 [19:35:45]Write i2c OK [19:35:45]MH_I2C_Read... [19:35:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:35:45]Read from MH i2c: E2 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 17 00 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 17 00 80 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 55 [19:35:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [19:35:45]wFMCommunicate OK [19:35:45]CreateOFDProtocolMessage done [19:35:45]OFDSenderStorePacket 52654 [19:35:45]StoreOFDPacket docnum=52654 [19:35:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 3A 01 00 00 70 88 32 01 69 3A 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 91 12 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AE CD 00 00 35 04 06 00 46 DA FB DC 0B CA CF 21 6B 64 92 E2 9F 6E [19:35:45]CheckFolder [19:35:45]dirname=/storage/ofd_packets [19:35:45]CheckFolder done [19:35:45]ProducePacketName [19:35:45]name=ofd_packets/00052654 [19:35:45]NVStorageSaveData ofd_packets/00052654 [19:35:45]File name is /storage/ofd_packets/00052654 [19:35:45]Write 344 bytes [19:35:45]NVStorageSaveData done [19:35:45]OFDSenderStorePacket done [19:35:45]KKMCreateOFDPacket done [19:35:45]NVStorageSaveData kkm_last_timestamp [19:35:45]File name is /storage/kkm_last_timestamp [19:35:45]Write 4 bytes [19:35:45]NVStorageSaveData done [19:35:45]ExternCall_PrintAddStr [19:35:45]wPrintStart [19:35:45]Write to MH i2c: 01 00 00 81 08 89 [19:35:45]Write i2c OK [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: 01 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: 01 07 00 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: 01 07 00 81 08 00 00 00 00 00 FF 0F 9E [19:35:45]RasterBufferAndPrint [19:35:45]line Счет N : (3)122785 [19:35:45]line ИНН: 02508201610067 [19:35:45]line Контрольно-Кассовый Чек [19:35:45]line ПРОДАЖА [19:35:45]line Товар: 4600682557456 [19:35:45]line Напиток FLash up energy эн ж/б 0,5/0,45л [19:35:45]line 1.000 * 85.00 [19:35:45]line = 85.00 [19:35:45]line НДС 12% НСП 1% [19:35:45]line > о реализуемом товаре [19:35:45]line ИТОГО: 85.00 [19:35:45]line НСП 1% : 0.75 [19:35:45]line НДС 12% : 9.03 [19:35:45]line Наличными: 85.00 [19:35:45]line Безнал.: 0.00 [19:35:45]line Место: АЗС № 54 "Партнер Нефть" [19:35:45]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [19:35:45]line СНО: Общий режим [19:35:45]line Чек 65 11.08.2024 19:35 [19:35:45]line Смена: 446 ФФД: 1.0 [19:35:45]line ЗНМ: 0300000007 [19:35:45]line РНМ: 0000000000090834 [19:35:45]line Версия ККМ: 001 [19:35:45]line ФМ: 0000000000874715 [19:35:45]line ФД: 52654 [19:35:45]line ФПД: 77906342317002 [19:35:45]line /tax-web-control/client/api/v1/ticket?date=20240811T193545&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52654&fm=77906342317002&tin=02508201610067®Number=0000000000090834&sum=8500 [19:35:45]line 0 [19:35:45]OFD Sender: Processing packet 52654 [packets to send 55, broken 54] [19:35:45]ProducePacketName [19:35:45]name=ofd_packets/00052654 [19:35:45]OFD Sender: To server: pG, [19:35:45]CommunicateWithHost lk.salyk.kg:30040 [19:35:45]ConnectInit lk.salyk.kg [19:35:45]written 0, free lines is 4095 [19:35:45]Connected sock=10 [19:35:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 3A 01 00 00 70 88 32 01 69 3A 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 91 12 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AE CD 00 00 35 04 06 00 46 DA FB DC 0B CA CF 21 6B 64 92 E2 9F 6E [19:35:46]Write to MH i2c: 01 00 00 A9 08 B1 [19:35:46]Write i2c OK [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: 01 [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: 01 07 00 [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: 01 07 00 A9 08 00 00 00 00 00 EC 0C B0 [19:35:46]RasterBufferAndPrint [19:35:46]line [19:35:46]line [19:35:46]line [19:35:46]line [19:35:46]line [19:35:46]written 0, free lines is 3312 [19:35:46]MH_Cut [19:35:46]Write to MH i2c: D1 01 00 B0 08 01 8A [19:35:46]Write i2c OK [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: D1 [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: D1 01 00 [19:35:46]MH_I2C_Read... [19:35:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 F4 03 47 00 0C 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 34 37 31 35 10 04 04 00 AE CD 00 00 F4 03 04 00 2B BA B8 66 B6 04 01 00 00 76 79 C7 E9 3B F2 00 13 [19:35:46]CommunicateWithHost err = 0 [19:35:46]CheckOFDResponse [19:35:46]1017 (14) - 77093643461234 [19:35:46]1041 (16) - 0000000000874715 [19:35:46]1040 (4) - 52654 [19:35:46]1012 (4) - 11.08.2024 13:18 [19:35:46]1206 (1) - 0 [19:35:46]OFD Sender: Remove packet 52654 [19:35:46]ProducePacketName [19:35:46]name=ofd_packets/00052654 [19:35:46]NVStorageDeleteData [19:35:46]Read from MH i2c: D1 01 00 B0 08 00 89 [19:35:46]Write to MH i2c: 01 00 00 B1 08 B9 [19:35:46]Write i2c OK [19:35:46]MH_I2C_Read... [19:35:46]OFD Sender: No OFD packet to send [19:35:46]*** Cut start [19:35:46]*** Purtial cut [19:35:46]*** Stage 1: CUTSNS_PIN = 1 [19:35:47]Read from MH i2c: 01 [19:35:47]MH_I2C_Read... [19:35:47]*** Stop cut motor [19:35:47]*** Cut end [19:35:47]Read from MH i2c: 01 07 00 [19:35:47]MH_I2C_Read... [19:35:47]Read from MH i2c: 01 07 00 B1 08 00 00 00 00 00 FF 0F CE [19:35:47]process_action close_receipt done [19:35:47]requested_data is exist [19:35:47]produce_requested_data [19:35:47]requested_item fm.sn is exist - process it [19:35:47]wFMCommunicate request_size=4 [19:35:47]MH_SAM_APDU [19:35:47]CAPDU: 80 11 00 00 [19:35:47]Write to MH i2c: E2 08 00 B2 08 80 11 00 00 00 00 00 00 34 [19:35:47]Write i2c OK [19:35:47]MH_I2C_Read... [19:35:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:35:47]Read from MH i2c: E2 [19:35:47]MH_I2C_Read... [19:35:47]Read from MH i2c: E2 17 00 [19:35:47]MH_I2C_Read... [19:35:47]Read from MH i2c: E2 17 00 B2 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 87 [19:35:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [19:35:47]wFMCommunicate OK [19:35:47]requested_item fd.num is exist - process it [19:35:47]SAM_PROTO_GetFieldsCounters [19:35:47]wFMCommunicate request_size=4 [19:35:47]MH_SAM_APDU [19:35:47]CAPDU: 80 13 00 00 [19:35:47]Write to MH i2c: E2 08 00 B3 08 80 13 00 00 00 00 00 00 37 [19:35:47]Write i2c OK [19:35:47]MH_I2C_Read... [19:35:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:35:47]Read from MH i2c: E2 [19:35:47]MH_I2C_Read... [19:35:47]Read from MH i2c: E2 62 00 [19:35:47]MH_I2C_Read... [19:35:47]Read from MH i2c: E2 62 00 B3 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 AE CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 54 [19:35:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 AE CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:35:47]wFMCommunicate OK [19:35:47]SAM_PROTO_GetFieldsCounters done [19:35:47]requested_item shift.num is exist - process it [19:35:47]requested_item shift.opened is exist - process it [19:35:47]req_shift_opened [19:35:47]FM_GetShiftState [19:35:47]SAM_PROTO_GetShiftState [19:35:47]wFMCommunicate request_size=4 [19:35:47]MH_SAM_APDU [19:35:47]CAPDU: 80 13 01 00 [19:35:47]Write to MH i2c: E2 08 00 B4 08 80 13 01 00 00 00 00 00 39 [19:35:47]Write i2c OK [19:35:47]MH_I2C_Read... [19:35:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:35:47]Read from MH i2c: E2 [19:35:47]MH_I2C_Read... [19:35:47]Read from MH i2c: E2 0E 00 [19:35:47]MH_I2C_Read... [19:35:47]Read from MH i2c: E2 0E 00 B4 08 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 62 [19:35:47]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [19:35:47]wFMCommunicate OK [19:35:47]SAM_PROTO_GetShiftState done [19:35:47]FM_GetShiftState done [19:35:47]req_shift_opened done [19:35:47]requested_item shift.open_date is exist - process it [19:35:47]req_shift_open_date [19:35:47]req_shift_open_date done [19:35:47]produce_requested_data done [19:35:47]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52654,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [19:35:47]process_action_free close_receipt [19:35:47]json_value_free [19:35:47]json_value_free done [19:35:47]process_json_proto returns [19:35:47]Send response to host [19:35:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52654,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [19:35:47]free response buf [19:35:47]execute_script done [19:35:47]execute_script returns [19:35:47]free content buf [19:35:47]Sock 7.Close socket [19:35:47]Sock 7.Thread stoped [19:35:51]OFD Sender: No OFD packet to send [19:35:56]OFD Sender: No OFD packet to send [19:36:01]OFD Sender: No OFD packet to send [19:36:06]OFD Sender: No OFD packet to send [19:36:11]OFD Sender: No OFD packet to send [19:36:16]OFD Sender: No OFD packet to send [19:36:21]OFD Sender: No OFD packet to send [19:36:26]OFD Sender: No OFD packet to send [19:36:31]OFD Sender: No OFD packet to send [19:36:36]OFD Sender: No OFD packet to send [19:36:41]OFD Sender: No OFD packet to send [19:36:46]OFD Sender: No OFD packet to send [19:36:51]OFD Sender: No OFD packet to send [19:36:56]OFD Sender: No OFD packet to send [19:37:01]OFD Sender: No OFD packet to send [19:37:06]OFD Sender: No OFD packet to send [19:37:11]OFD Sender: No OFD packet to send [19:37:16]OFD Sender: No OFD packet to send [19:37:21]OFD Sender: No OFD packet to send [19:37:26]OFD Sender: No OFD packet to send [19:37:31]OFD Sender: No OFD packet to send [19:37:36]OFD Sender: No OFD packet to send [19:37:41]OFD Sender: No OFD packet to send [19:37:46]OFD Sender: No OFD packet to send [19:37:51]OFD Sender: No OFD packet to send [19:37:56]OFD Sender: No OFD packet to send [19:38:01]OFD Sender: No OFD packet to send [19:38:06]OFD Sender: No OFD packet to send [19:38:11]OFD Sender: No OFD packet to send [19:38:16]OFD Sender: No OFD packet to send [19:38:21]OFD Sender: No OFD packet to send [19:38:26]OFD Sender: No OFD packet to send [19:38:31]OFD Sender: No OFD packet to send [19:38:36]OFD Sender: No OFD packet to send [19:38:41]OFD Sender: No OFD packet to send [19:38:46]OFD Sender: No OFD packet to send [19:38:51]OFD Sender: No OFD packet to send [19:38:56]OFD Sender: No OFD packet to send [19:39:01]OFD Sender: No OFD packet to send [19:39:06]OFD Sender: No OFD packet to send [19:39:11]OFD Sender: No OFD packet to send [19:39:16]OFD Sender: No OFD packet to send [19:39:21]OFD Sender: No OFD packet to send [19:39:26]OFD Sender: No OFD packet to send [19:39:31]OFD Sender: No OFD packet to send [19:39:36]OFD Sender: No OFD packet to send [19:39:41]OFD Sender: No OFD packet to send [19:39:46]OFD Sender: No OFD packet to send [19:39:51]OFD Sender: No OFD packet to send [19:39:56]OFD Sender: No OFD packet to send [19:40:01]OFD Sender: No OFD packet to send [19:40:06]OFD Sender: No OFD packet to send [19:40:11]OFD Sender: No OFD packet to send [19:40:16]OFD Sender: No OFD packet to send [19:40:21]OFD Sender: No OFD packet to send [19:40:26]OFD Sender: No OFD packet to send [19:40:31]OFD Sender: No OFD packet to send [19:40:36]OFD Sender: No OFD packet to send [19:40:41]OFD Sender: No OFD packet to send [19:40:46]OFD Sender: No OFD packet to send [19:40:51]OFD Sender: No OFD packet to send [19:40:56]OFD Sender: No OFD packet to send [19:41:01]OFD Sender: No OFD packet to send [19:41:06]OFD Sender: No OFD packet to send [19:41:11]OFD Sender: No OFD packet to send [19:41:16]OFD Sender: No OFD packet to send [19:41:21]OFD Sender: No OFD packet to send [19:41:26]OFD Sender: No OFD packet to send [19:41:31]OFD Sender: No OFD packet to send [19:41:36]OFD Sender: No OFD packet to send [19:41:41]OFD Sender: No OFD packet to send [19:41:46]OFD Sender: No OFD packet to send [19:41:51]OFD Sender: No OFD packet to send [19:41:56]OFD Sender: No OFD packet to send [19:42:02]OFD Sender: No OFD packet to send [19:42:07]OFD Sender: No OFD packet to send [19:42:12]OFD Sender: No OFD packet to send [19:42:17]OFD Sender: No OFD packet to send [19:42:22]OFD Sender: No OFD packet to send [19:42:27]OFD Sender: No OFD packet to send [19:42:32]OFD Sender: No OFD packet to send [19:42:37]OFD Sender: No OFD packet to send [19:42:42]OFD Sender: No OFD packet to send [19:42:47]OFD Sender: No OFD packet to send [19:42:52]OFD Sender: No OFD packet to send [19:42:57]OFD Sender: No OFD packet to send [19:43:02]OFD Sender: No OFD packet to send [19:43:07]OFD Sender: No OFD packet to send [19:43:12]OFD Sender: No OFD packet to send [19:43:17]OFD Sender: No OFD packet to send [19:43:22]OFD Sender: No OFD packet to send [19:43:27]OFD Sender: No OFD packet to send [19:43:32]OFD Sender: No OFD packet to send [19:43:37]OFD Sender: No OFD packet to send [19:43:42]OFD Sender: No OFD packet to send [19:43:47]OFD Sender: No OFD packet to send [19:43:52]OFD Sender: No OFD packet to send [19:43:57]OFD Sender: No OFD packet to send [19:44:02]OFD Sender: No OFD packet to send [19:44:07]OFD Sender: No OFD packet to send [19:44:12]OFD Sender: No OFD packet to send [19:44:17]OFD Sender: No OFD packet to send [19:44:22]OFD Sender: No OFD packet to send [19:44:27]OFD Sender: No OFD packet to send [19:44:32]OFD Sender: No OFD packet to send [19:44:37]OFD Sender: No OFD packet to send [19:44:42]OFD Sender: No OFD packet to send [19:44:47]OFD Sender: No OFD packet to send [19:44:52]OFD Sender: No OFD packet to send [19:44:57]OFD Sender: No OFD packet to send [19:45:02]OFD Sender: No OFD packet to send [19:45:07]OFD Sender: No OFD packet to send [19:45:12]OFD Sender: No OFD packet to send [19:45:17]OFD Sender: No OFD packet to send [19:45:22]OFD Sender: No OFD packet to send [19:45:27]OFD Sender: No OFD packet to send [19:45:32]OFD Sender: No OFD packet to send [19:45:37]OFD Sender: No OFD packet to send [19:45:42]OFD Sender: No OFD packet to send [19:45:47]OFD Sender: No OFD packet to send [19:45:52]OFD Sender: No OFD packet to send [19:45:57]OFD Sender: No OFD packet to send [19:46:02]OFD Sender: No OFD packet to send [19:46:07]OFD Sender: No OFD packet to send [19:46:12]OFD Sender: No OFD packet to send [19:46:17]OFD Sender: No OFD packet to send [19:46:22]OFD Sender: No OFD packet to send [19:46:27]OFD Sender: No OFD packet to send [19:46:32]OFD Sender: No OFD packet to send [19:46:37]OFD Sender: No OFD packet to send [19:46:42]OFD Sender: No OFD packet to send [19:46:47]OFD Sender: No OFD packet to send [19:46:52]OFD Sender: No OFD packet to send [19:46:57]OFD Sender: No OFD packet to send [19:47:02]OFD Sender: No OFD packet to send [19:47:07]OFD Sender: No OFD packet to send [19:47:12]OFD Sender: No OFD packet to send [19:47:17]OFD Sender: No OFD packet to send [19:47:22]OFD Sender: No OFD packet to send [19:47:27]OFD Sender: No OFD packet to send [19:47:32]OFD Sender: No OFD packet to send [19:47:37]OFD Sender: No OFD packet to send [19:47:42]OFD Sender: No OFD packet to send [19:47:47]OFD Sender: No OFD packet to send [19:47:52]OFD Sender: No OFD packet to send [19:47:57]OFD Sender: No OFD packet to send [19:48:02]OFD Sender: No OFD packet to send [19:48:07]OFD Sender: No OFD packet to send [19:48:12]OFD Sender: No OFD packet to send [19:48:17]OFD Sender: No OFD packet to send [19:48:22]OFD Sender: No OFD packet to send [19:48:27]OFD Sender: No OFD packet to send [19:48:32]OFD Sender: No OFD packet to send [19:48:37]OFD Sender: No OFD packet to send [19:48:42]OFD Sender: No OFD packet to send [19:48:47]OFD Sender: No OFD packet to send [19:48:52]OFD Sender: No OFD packet to send [19:48:57]OFD Sender: No OFD packet to send [19:49:02]OFD Sender: No OFD packet to send [19:49:07]OFD Sender: No OFD packet to send [19:49:12]OFD Sender: No OFD packet to send [19:49:17]OFD Sender: No OFD packet to send [19:49:22]OFD Sender: No OFD packet to send [19:49:27]OFD Sender: No OFD packet to send [19:49:32]OFD Sender: No OFD packet to send [19:49:37]OFD Sender: No OFD packet to send [19:49:42]OFD Sender: No OFD packet to send [19:49:47]OFD Sender: No OFD packet to send [19:49:52]OFD Sender: No OFD packet to send [19:49:57]OFD Sender: No OFD packet to send [19:50:02]OFD Sender: No OFD packet to send [19:50:07]OFD Sender: No OFD packet to send [19:50:12]OFD Sender: No OFD packet to send [19:50:17]OFD Sender: No OFD packet to send [19:50:22]OFD Sender: No OFD packet to send [19:50:27]OFD Sender: No OFD packet to send [19:50:32]OFD Sender: No OFD packet to send [19:50:37]OFD Sender: No OFD packet to send [19:50:42]OFD Sender: No OFD packet to send [19:50:47]OFD Sender: No OFD packet to send [19:50:52]OFD Sender: No OFD packet to send [19:50:57]OFD Sender: No OFD packet to send [19:51:02]OFD Sender: No OFD packet to send [19:51:07]OFD Sender: No OFD packet to send [19:51:12]OFD Sender: No OFD packet to send [19:51:17]OFD Sender: No OFD packet to send [19:51:22]OFD Sender: No OFD packet to send [19:51:27]OFD Sender: No OFD packet to send [19:51:32]OFD Sender: No OFD packet to send [19:51:37]OFD Sender: No OFD packet to send [19:51:42]OFD Sender: No OFD packet to send [19:51:47]OFD Sender: No OFD packet to send [19:51:52]OFD Sender: No OFD packet to send [19:51:57]OFD Sender: No OFD packet to send [19:52:02]OFD Sender: No OFD packet to send [19:52:07]OFD Sender: No OFD packet to send [19:52:12]OFD Sender: No OFD packet to send [19:52:17]OFD Sender: No OFD packet to send [19:52:22]OFD Sender: No OFD packet to send [19:52:27]OFD Sender: No OFD packet to send [19:52:32]OFD Sender: No OFD packet to send [19:52:37]OFD Sender: No OFD packet to send [19:52:42]OFD Sender: No OFD packet to send [19:52:47]OFD Sender: No OFD packet to send [19:52:52]OFD Sender: No OFD packet to send [19:52:57]OFD Sender: No OFD packet to send [19:52:58]accept exits with 9 [19:52:58]New connection [19:52:58]New thread 3067293028 created [19:52:58]Thread 3067149668 joined [19:52:58]Waiting for new connection... [19:52:58] Sock 9.Parse request [19:52:58]Sock 9.Check first char [19:52:58]Sock 9.First char is OK [19:52:58]request: POST /json_proto HTTP/1.0 [19:52:58]Method: POST [19:52:58]URL: /json_proto [19:52:58]Method is POST - this is cgi request [19:52:58]url: /json_proto [19:52:58]query_string will be loaded in cgi processing [19:52:58]execute_cgi json_proto POST (null) [19:52:58]execute_cgi path=json_proto method=POST [19:52:58]POST find Content-Length [19:52:58]Host: 172.17.60.7:8080 [19:52:58]Content-Length: 620 [19:52:58]Content-Type: application/json [19:52:58] [19:52:58]POST finish read [19:52:58]Found Content-Length = 620 [19:52:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122786", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:52:58]execute_script... [19: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)122786", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:52:58]POST & json_proto [19:52:58]process_json_proto [19:52:58]json parsed OK: [19:52:58]protocol is kg_v1.0 [19:52:58]action value=close_receipt [19:52:58]process_action close_receipt [19:52:58]cmd_close_receipt [19:52:58]MH_GetDate [19:52:58]Write to MH i2c: F0 00 00 B5 08 AC [19:52:58]Write i2c OK [19:52:58]MH_I2C_Read... [19:52:58]Read from MH i2c: F0 [19:52:58]MH_I2C_Read... [19:52:58]Read from MH i2c: F0 09 00 [19:52:58]MH_I2C_Read... [19:52:58]Read from MH i2c: F0 09 00 B5 08 00 9C 16 B9 66 63 9B 67 64 4F [19:52:58]GetLastDocTimeStamp 1723404945 [19:52:58]current date 1723405980 [19:52:58]FM_GetShiftState [19:52:58]SAM_PROTO_GetShiftState [19:52:58]wFMCommunicate request_size=4 [19:52:58]MH_SAM_APDU [19:52:58]CAPDU: 80 13 01 00 [19:52:58]Write to MH i2c: E2 08 00 B6 08 80 13 01 00 00 00 00 00 3B [19:52:58]Write i2c OK [19:52:58]MH_I2C_Read... [19:52:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:52:58]Read from MH i2c: E2 [19:52:58]MH_I2C_Read... [19:52:58]Read from MH i2c: E2 0E 00 [19:52:58]MH_I2C_Read... [19:52:58]Read from MH i2c: E2 0E 00 B6 08 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 64 [19:52:58]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [19:52:58]wFMCommunicate OK [19:52:58]SAM_PROTO_GetShiftState done [19:52:58]FM_GetShiftState done [19:52:58]opened in 1723336186 [19:52:58]opened+sec_in_day 1723422586 [19:52:58]quantity*price = 13500 [19:52:58]sum+1 = 13501 [19:52:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 66 11.08.2024 19:53 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52655 ФПД: 134846594481598 /tax-web-control/client/api/v1/ticket?date=20240811T195300&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52655&fm=134846594481598&tin=02508201610067®Number=0000000000090834&sum=13500 0 [19:52:59]StoreToDocumentArchive [19:52:59]shift 446 fd 52655 [19:52:59]save to /storage/0446/doc_00052655 [19:52:59]save last doc name /storage/0446/doc_00052655 to /storage/kkm_last_doc_name [19:52:59]save OK [19:52:59]Clear old archive folders... [19:52:59]ProcessDocumentItem done err = 0, tmpTLVsize=272 [19:52:59]tlvbuf is 012A3780 [19:52:59]SAM_PROTO_ClearQueue [19:52:59]wFMCommunicate request_size=4 [19:52:59]MH_SAM_APDU [19:52:59]CAPDU: 80 09 00 00 [19:52:59]Write to MH i2c: E2 08 00 C3 08 80 09 00 00 00 00 00 00 3D [19:52:59]Write i2c OK [19:52:59]MH_I2C_Read... [19:52:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:52:59]Read from MH i2c: E2 [19:52:59]MH_I2C_Read... [19:52:59]Read from MH i2c: E2 03 00 [19:52:59]MH_I2C_Read... [19:52:59]Read from MH i2c: E2 03 00 C3 08 00 90 00 3F [19:52:59]RAPDU: 90 00 [19:52:59]wFMCommunicate OK [19:52:59]SAM_PROTO_ClearQueue done [19:52:59]KKMCreateOFDPacket [19:52:59]OFDProtocolAddRootSTLVToBuf [19:52:59]FM_MakeSignedData [19:52:59]FM_MakeSignedData [19:52:59]SAM_PROTO_SignData [19:52:59]wFMCommunicate request_size=4 [19:52:59]MH_SAM_APDU [19:52:59]CAPDU: 80 0D 01 02 [19:52:59]Write to MH i2c: E2 08 00 C4 08 80 0D 01 02 00 00 00 00 45 [19:52:59]Write i2c OK [19:52:59]MH_I2C_Read... [19:52:59]Read from MH i2c: E2 [19:52:59]MH_I2C_Read... [19:52:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:52:59]Read from MH i2c: E2 03 00 [19:52:59]MH_I2C_Read... [19:52:59]Read from MH i2c: E2 03 00 C4 08 00 90 00 40 [19:52:59]RAPDU: 90 00 [19:52:59]wFMCommunicate OK [19:52:59]wFMCommunicate request_size=255 [19:52:59]MH_SAM_APDU [19:52:59]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 9C 16 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 [19:52:59]Write to MH i2c: E2 02 01 C5 08 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 9C 16 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 D1 [19:52:59]Write i2c OK [19:52:59]MH_I2C_Read... [19:52:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:52:59]Read from MH i2c: E2 [19:52:59]MH_I2C_Read... [19:52:59]Read from MH i2c: E2 03 00 [19:52:59]MH_I2C_Read... [19:52:59]Read from MH i2c: E2 03 00 C5 08 00 90 00 41 [19:52:59]RAPDU: 90 00 [19:52:59]wFMCommunicate OK [19:52:59]wFMCommunicate request_size=31 [19:52:59]MH_SAM_APDU [19:52:59]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 37 31 35 10 04 04 00 AF CD 00 00 35 04 06 00 7A A4 6B 5C FD BE [19:52:59]Write to MH i2c: E2 22 00 C6 08 80 0D 02 02 1A 00 30 30 38 37 34 37 31 35 10 04 04 00 AF CD 00 00 35 04 06 00 7A A4 6B 5C FD BE 00 00 8F [19:52:59]Write i2c OK [19:52:59]MH_I2C_Read... [19:53:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:53:00]Read from MH i2c: E2 [19:53:00]MH_I2C_Read... [19:53:00]Read from MH i2c: E2 03 00 [19:53:00]MH_I2C_Read... [19:53:00]Read from MH i2c: E2 03 00 C6 08 00 90 00 42 [19:53:00]RAPDU: 90 00 [19:53:00]wFMCommunicate OK [19:53:00]wFMCommunicate request_size=4 [19:53:00]MH_SAM_APDU [19:53:00]CAPDU: 80 0D 03 02 [19:53:00]Write to MH i2c: E2 08 00 C7 08 80 0D 03 02 00 00 00 00 4A [19:53:00]Write i2c OK [19:53:00]MH_I2C_Read... [19:53:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:53:00]Read from MH i2c: E2 [19:53:00]MH_I2C_Read... [19:53:00]Read from MH i2c: E2 0B 00 [19:53:00]MH_I2C_Read... [19:53:00]Read from MH i2c: E2 0B 00 C7 08 00 FA D4 D8 80 AB E8 68 6D 90 00 D9 [19:53:00]RAPDU: FA D4 D8 80 AB E8 68 6D 90 00 [19:53:00]wFMCommunicate OK [19:53:00]SAM_PROTO_SignData done [19:53:00]FM_MakeSignedData done [19:53:00]CreateOFDProtocolMessage [19:53:00]wFMCommunicate request_size=4 [19:53:00]MH_SAM_APDU [19:53:00]CAPDU: 80 11 00 00 [19:53:00]Write to MH i2c: E2 08 00 C8 08 80 11 00 00 00 00 00 00 4A [19:53:00]Write i2c OK [19:53:00]MH_I2C_Read... [19:53:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:53:00]Read from MH i2c: E2 [19:53:00]MH_I2C_Read... [19:53:00]Read from MH i2c: E2 17 00 [19:53:00]MH_I2C_Read... [19:53:00]Read from MH i2c: E2 17 00 C8 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 9D [19:53:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [19:53:00]wFMCommunicate OK [19:53:00]CreateOFDProtocolMessage done [19:53:00]OFDSenderStorePacket 52655 [19:53:00]StoreOFDPacket docnum=52655 [19:53:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 24 01 00 00 CA 3E 1C 01 52 27 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 9C 16 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AF CD 00 00 35 04 06 00 7A A4 6B 5C FD BE FA D4 D8 80 AB E8 68 6D [19:53:00]CheckFolder [19:53:00]dirname=/storage/ofd_packets [19:53:00]CheckFolder done [19:53:00]ProducePacketName [19:53:00]name=ofd_packets/00052655 [19:53:00]NVStorageSaveData ofd_packets/00052655 [19:53:00]File name is /storage/ofd_packets/00052655 [19:53:00]Write 322 bytes [19:53:00]NVStorageSaveData done [19:53:00]OFDSenderStorePacket done [19:53:00]KKMCreateOFDPacket done [19:53:00]NVStorageSaveData kkm_last_timestamp [19:53:00]File name is /storage/kkm_last_timestamp [19:53:00]Write 4 bytes [19:53:00]NVStorageSaveData done [19:53:00]ExternCall_PrintAddStr [19:53:00]wPrintStart [19:53:00]Write to MH i2c: 01 00 00 C9 08 D1 [19:53:00]Write i2c OK [19:53:00]MH_I2C_Read... [19:53:00]Read from MH i2c: 01 [19:53:00]MH_I2C_Read... [19:53:00]Read from MH i2c: 01 07 00 [19:53:00]MH_I2C_Read... [19:53:00]Read from MH i2c: 01 07 00 C9 08 00 00 00 00 00 FF 0F E6 [19:53:00]RasterBufferAndPrint [19:53:00]line Счет N : (3)122786 [19:53:00]line ИНН: 02508201610067 [19:53:00]line Контрольно-Кассовый Чек [19:53:00]line ПРОДАЖА [19:53:00]line Товар: 48745000 [19:53:00]line Сигареты Winston Purple Mix [19:53:00]line 1.000 * 135.00 [19:53:00]line = 135.00 [19:53:00]line НДС 12% НСП 1% [19:53:00]line > о реализуемом товаре [19:53:00]line ИТОГО: 135.00 [19:53:00]line НСП 1% : 1.19 [19:53:00]line НДС 12% : 14.34 [19:53:00]line Наличными: 135.00 [19:53:00]line Безнал.: 0.00 [19:53:00]line Место: АЗС № 54 "Партнер Нефть" [19:53:00]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [19:53:00]line СНО: Общий режим [19:53:00]line Чек 66 11.08.2024 19:53 [19:53:00]line Смена: 446 ФФД: 1.0 [19:53:00]line ЗНМ: 0300000007 [19:53:00]line РНМ: 0000000000090834 [19:53:00]line Версия ККМ: 001 [19:53:00]line ФМ: 0000000000874715 [19:53:00]line ФД: 52655 [19:53:00]line ФПД: 134846594481598 [19:53:00]line /tax-web-control/client/api/v1/ticket?date=20240811T195300&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52655&fm=134846594481598&tin=02508201610067®Number=0000000000090834&sum=13500 [19:53:00]line 0 [19:53:00]OFD Sender: Processing packet 52655 [packets to send 55, broken 54] [19:53:00]ProducePacketName [19:53:00]name=ofd_packets/00052655 [19:53:00]OFD Sender: To server: pG, [19:53:00]CommunicateWithHost lk.salyk.kg:30040 [19:53:00]ConnectInit lk.salyk.kg [19:53:00]written 0, free lines is 4095 [19:53:00]Connected sock=10 [19: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 34 37 31 35 24 01 00 00 CA 3E 1C 01 52 27 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 9C 16 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AF CD 00 00 35 04 06 00 7A A4 6B 5C FD BE FA D4 D8 80 AB E8 68 6D [19:53:00]Write to MH i2c: 01 00 00 F0 08 F8 [19:53:00]Write i2c OK [19:53:00]MH_I2C_Read... [19:53:00]Read from MH i2c: 01 [19:53:00]MH_I2C_Read... [19:53:00]Read from MH i2c: 01 07 00 [19:53:00]MH_I2C_Read... [19:53:00]Read from MH i2c: 01 07 00 F0 08 00 00 00 00 00 EA 0C F5 [19:53:00]RasterBufferAndPrint [19:53:00]line [19:53:00]line [19:53:00]line [19:53:00]line [19:53:00]line [19:53:00]written 0, free lines is 3312 [19:53:00]MH_Cut [19:53:00]Write to MH i2c: D1 01 00 F7 08 01 D1 [19:53:00]Write i2c OK [19:53:00]MH_I2C_Read... [19:53:00]Read from MH i2c: D1 [19:53:00]MH_I2C_Read... [19:53:00]Read from MH i2c: D1 01 00 [19:53:00]MH_I2C_Read... [19:53:00]Read from MH i2c: D1 01 00 F7 08 00 D0 [19:53:00]Write to MH i2c: 01 00 00 F8 08 00 [19:53:00]Write i2c OK [19:53:00]MH_I2C_Read... [19:53:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 82 C4 47 00 05 AF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 AF CD 00 00 F4 03 04 00 36 BE B8 66 B6 04 01 00 00 23 AD 4F B9 CA 7B 4A 76 [19:53:00]CommunicateWithHost err = 0 [19:53:00]CheckOFDResponse [19:53:00]1017 (14) - 77093643461234 [19:53:00]1041 (16) - 0000000000874715 [19:53:00]1040 (4) - 52655 [19:53:00]1012 (4) - 11.08.2024 13:35 [19:53:00]1206 (1) - 0 [19:53:00]OFD Sender: Remove packet 52655 [19:53:00]ProducePacketName [19:53:00]name=ofd_packets/00052655 [19:53:00]NVStorageDeleteData [19:53:01]OFD Sender: No OFD packet to send [19:53:01]*** Cut start [19:53:01]*** Purtial cut [19:53:01]*** Stage 1: CUTSNS_PIN = 1 [19:53:01]Read from MH i2c: 01 [19:53:01]MH_I2C_Read... [19:53:01]*** Stop cut motor [19:53:01]*** Cut end [19:53:01]Read from MH i2c: 01 07 00 [19:53:01]MH_I2C_Read... [19:53:01]Read from MH i2c: 01 07 00 F8 08 00 00 00 00 00 FF 0F 15 [19:53:01]process_action close_receipt done [19:53:01]requested_data is exist [19:53:01]produce_requested_data [19:53:01]requested_item fm.sn is exist - process it [19:53:01]wFMCommunicate request_size=4 [19:53:01]MH_SAM_APDU [19:53:01]CAPDU: 80 11 00 00 [19:53:01]Write to MH i2c: E2 08 00 F9 08 80 11 00 00 00 00 00 00 7B [19:53:02]Write i2c OK [19:53:02]MH_I2C_Read... [19:53:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:53:02]Read from MH i2c: E2 [19:53:02]MH_I2C_Read... [19:53:02]Read from MH i2c: E2 17 00 [19:53:02]MH_I2C_Read... [19:53:02]Read from MH i2c: E2 17 00 F9 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 CE [19:53:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [19:53:02]wFMCommunicate OK [19:53:02]requested_item fd.num is exist - process it [19:53:02]SAM_PROTO_GetFieldsCounters [19:53:02]wFMCommunicate request_size=4 [19:53:02]MH_SAM_APDU [19:53:02]CAPDU: 80 13 00 00 [19:53:02]Write to MH i2c: E2 08 00 FA 08 80 13 00 00 00 00 00 00 7E [19:53:02]Write i2c OK [19:53:02]MH_I2C_Read... [19:53:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:53:02]Read from MH i2c: E2 [19:53:02]MH_I2C_Read... [19:53:02]Read from MH i2c: E2 62 00 [19:53:02]MH_I2C_Read... [19:53:02]Read from MH i2c: E2 62 00 FA 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 AF CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 9F [19: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 AF CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:53:02]wFMCommunicate OK [19:53:02]SAM_PROTO_GetFieldsCounters done [19:53:02]requested_item shift.num is exist - process it [19:53:02]requested_item shift.opened is exist - process it [19:53:02]req_shift_opened [19:53:02]FM_GetShiftState [19:53:02]SAM_PROTO_GetShiftState [19:53:02]wFMCommunicate request_size=4 [19:53:02]MH_SAM_APDU [19:53:02]CAPDU: 80 13 01 00 [19:53:02]Write to MH i2c: E2 08 00 FB 08 80 13 01 00 00 00 00 00 80 [19:53:02]Write i2c OK [19:53:02]MH_I2C_Read... [19:53:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:53:02]Read from MH i2c: E2 [19:53:02]MH_I2C_Read... [19:53:02]Read from MH i2c: E2 0E 00 [19:53:02]MH_I2C_Read... [19:53:02]Read from MH i2c: E2 0E 00 FB 08 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 A9 [19:53:02]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [19:53:02]wFMCommunicate OK [19:53:02]SAM_PROTO_GetShiftState done [19:53:02]FM_GetShiftState done [19:53:02]req_shift_opened done [19:53:02]requested_item shift.open_date is exist - process it [19:53:02]req_shift_open_date [19:53:02]req_shift_open_date done [19:53:02]produce_requested_data done [19:53:02]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52655,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [19:53:02]process_action_free close_receipt [19:53:02]json_value_free [19:53:02]json_value_free done [19:53:02]process_json_proto returns [19:53:02]Send response to host [19:53:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52655,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [19:53:02]free response buf [19:53:02]execute_script done [19:53:02]execute_script returns [19:53:02]free content buf [19:53:02]Sock 9.Close socket [19:53:02]Sock 9.Thread stoped [19:53:06]OFD Sender: No OFD packet to send [19:53:11]OFD Sender: No OFD packet to send [19:53:16]OFD Sender: No OFD packet to send [19:53:21]OFD Sender: No OFD packet to send [19:53:26]OFD Sender: No OFD packet to send [19:53:31]OFD Sender: No OFD packet to send [19:53:36]OFD Sender: No OFD packet to send [19:53:41]OFD Sender: No OFD packet to send [19:53:46]OFD Sender: No OFD packet to send [19:53:49]accept exits with 7 [19:53:49]New connection [19:53:49]New thread 3067149668 created [19:53:49]Thread 3067293028 joined [19:53:49]Waiting for new connection... [19:53:49] Sock 7.Parse request [19:53:49]Sock 7.Check first char [19:53:49]Sock 7.First char is OK [19:53:49]request: POST /json_proto HTTP/1.0 [19:53:49]Method: POST [19:53:49]URL: /json_proto [19:53:49]Method is POST - this is cgi request [19:53:49]url: /json_proto [19:53:49]query_string will be loaded in cgi processing [19:53:49]execute_cgi json_proto POST (null) [19:53:49]execute_cgi path=json_proto method=POST [19:53:49]POST find Content-Length [19:53:49]Host: 172.17.60.7:8080 [19:53:49]Content-Length: 832 [19:53:49]Content-Type: application/json [19:53:49] [19:53:49]POST finish read [19:53:49]Found Content-Length = 832 [19:53:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122787", "tax_sys" : 0, "items" : [ { "code": "4600721026653", "name": "\u041F\u0438\u0432\u043E ESSA \u043B\u0430\u0439\u043C \u043C\u044F\u0442\u0430 6,5% \u0441\u0442 0,45\u043B", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 276.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:53:49]execute_script... [19:53: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 : (3)122787", "tax_sys" : 0, "items" : [ { "code": "4600721026653", "name": "\u041F\u0438\u0432\u043E ESSA \u043B\u0430\u0439\u043C \u043C\u044F\u0442\u0430 6,5% \u0441\u0442 0,45\u043B", "price" : 138.00, "quantity" : 2.000, "sum" : 276.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 276.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:53:49]POST & json_proto [19:53:49]process_json_proto [19:53:49]json parsed OK: [19:53:49]protocol is kg_v1.0 [19:53:49]action value=close_receipt [19:53:49]process_action close_receipt [19:53:49]cmd_close_receipt [19:53:49]MH_GetDate [19:53:49]Write to MH i2c: F0 00 00 FC 08 F3 [19:53:49]Write i2c OK [19:53:49]MH_I2C_Read... [19:53:49]Read from MH i2c: F0 [19:53:49]MH_I2C_Read... [19:53:49]Read from MH i2c: F0 09 00 [19:53:49]MH_I2C_Read... [19:53:49]Read from MH i2c: F0 09 00 FC 08 00 CF 16 B9 66 63 9B 67 64 C9 [19:53:49]GetLastDocTimeStamp 1723405980 [19:53:49]current date 1723406031 [19:53:49]FM_GetShiftState [19:53:49]SAM_PROTO_GetShiftState [19:53:49]wFMCommunicate request_size=4 [19:53:49]MH_SAM_APDU [19:53:49]CAPDU: 80 13 01 00 [19:53:49]Write to MH i2c: E2 08 00 FD 08 80 13 01 00 00 00 00 00 82 [19:53:49]Write i2c OK [19:53:49]MH_I2C_Read... [19:53:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:53:49]Read from MH i2c: E2 [19:53:49]MH_I2C_Read... [19:53:49]Read from MH i2c: E2 0E 00 [19:53:49]MH_I2C_Read... [19:53:49]Read from MH i2c: E2 0E 00 FD 08 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 AB [19:53:49]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [19:53:49]wFMCommunicate OK [19:53:49]SAM_PROTO_GetShiftState done [19:53:49]FM_GetShiftState done [19:53:49]opened in 1723336186 [19:53:49]opened+sec_in_day 1723422586 [19:53:49]quantity*price = 27600 [19:53:49]sum+1 = 27601 [19:53:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 276.00 НСП 1% : 2.44 НДС 12% : 29.31 Наличными: 0.00 Безнал.: 276.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 67 11.08.2024 19:53 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52656 ФПД: 246037818217562 /tax-web-control/client/api/v1/ticket?date=20240811T195351&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52656&fm=246037818217562&tin=02508201610067®Number=0000000000090834&sum=27600 0 [19:53:50]StoreToDocumentArchive [19:53:50]shift 446 fd 52656 [19:53:50]save to /storage/0446/doc_00052656 [19:53:50]save last doc name /storage/0446/doc_00052656 to /storage/kkm_last_doc_name [19:53:50]save OK [19:53:50]Clear old archive folders... [19:53:50]ProcessDocumentItem done err = 0, tmpTLVsize=290 [19:53:50]tlvbuf is 01291FA0 [19:53:50]SAM_PROTO_ClearQueue [19:53:50]wFMCommunicate request_size=4 [19:53:50]MH_SAM_APDU [19:53:50]CAPDU: 80 09 00 00 [19:53:50]Write to MH i2c: E2 08 00 0A 09 80 09 00 00 00 00 00 00 85 [19:53:50]Write i2c OK [19:53:50]MH_I2C_Read... [19:53:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:53:50]Read from MH i2c: E2 [19:53:50]MH_I2C_Read... [19:53:50]Read from MH i2c: E2 03 00 [19:53:50]MH_I2C_Read... [19:53:50]Read from MH i2c: E2 03 00 0A 09 00 90 00 87 [19:53:50]RAPDU: 90 00 [19:53:50]wFMCommunicate OK [19:53:50]SAM_PROTO_ClearQueue done [19:53:50]KKMCreateOFDPacket [19:53:50]OFDProtocolAddRootSTLVToBuf [19:53:50]FM_MakeSignedData [19:53:50]FM_MakeSignedData [19:53:50]SAM_PROTO_SignData [19:53:50]wFMCommunicate request_size=4 [19:53:50]MH_SAM_APDU [19:53:50]CAPDU: 80 0D 01 02 [19:53:50]Write to MH i2c: E2 08 00 0B 09 80 0D 01 02 00 00 00 00 8D [19:53:50]Write i2c OK [19:53:50]MH_I2C_Read... [19:53:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:53:50]Read from MH i2c: E2 [19:53:50]MH_I2C_Read... [19:53:50]Read from MH i2c: E2 03 00 [19:53:50]MH_I2C_Read... [19:53:50]Read from MH i2c: E2 03 00 0B 09 00 90 00 88 [19:53:50]RAPDU: 90 00 [19:53:50]wFMCommunicate OK [19:53:50]wFMCommunicate request_size=255 [19:53:50]MH_SAM_APDU [19:53:50]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 36 36 35 33 06 04 30 00 D0 9F D0 B8 D0 B2 D0 BE 20 45 53 53 41 20 D0 BB D0 B0 D0 B9 D0 BC 20 D0 BC D1 8F D1 82 D0 B0 20 36 2C 35 25 20 D1 81 D1 82 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 6B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 CF 16 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [19:53:50]Write to MH i2c: E2 02 01 0C 09 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 36 36 35 33 06 04 30 00 D0 9F D0 B8 D0 B2 D0 BE 20 45 53 53 41 20 D0 BB D0 B0 D0 B9 D0 BC 20 D0 BC D1 8F D1 82 D0 B0 20 36 2C 35 25 20 D1 81 D1 82 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 6B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 CF 16 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 04 [19:53:51]Write i2c OK [19:53:51]MH_I2C_Read... [19:53:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:53:51]Read from MH i2c: E2 [19:53:51]MH_I2C_Read... [19:53:51]Read from MH i2c: E2 03 00 [19:53:51]MH_I2C_Read... [19:53:51]Read from MH i2c: E2 03 00 0C 09 00 90 00 89 [19:53:51]RAPDU: 90 00 [19:53:51]wFMCommunicate OK [19:53:51]wFMCommunicate request_size=49 [19:53:51]MH_SAM_APDU [19:53:51]CAPDU: 80 0D 02 02 2C 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B0 CD 00 00 35 04 06 00 DF C5 24 C1 94 5A [19:53:51]Write to MH i2c: E2 34 00 0D 09 80 0D 02 02 2C 00 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B0 CD 00 00 35 04 06 00 DF C5 24 C1 94 5A 00 00 B0 [19:53:51]Write i2c OK [19:53:51]MH_I2C_Read... [19:53:51]OFD Sender: No OFD packet to send [19:53:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:53:51]Read from MH i2c: E2 [19:53:51]MH_I2C_Read... [19:53:51]Read from MH i2c: E2 03 00 [19:53:51]MH_I2C_Read... [19:53:51]Read from MH i2c: E2 03 00 0D 09 00 90 00 8A [19:53:51]RAPDU: 90 00 [19:53:51]wFMCommunicate OK [19:53:51]wFMCommunicate request_size=4 [19:53:51]MH_SAM_APDU [19:53:51]CAPDU: 80 0D 03 02 [19:53:51]Write to MH i2c: E2 08 00 0E 09 80 0D 03 02 00 00 00 00 92 [19:53:51]Write i2c OK [19:53:51]MH_I2C_Read... [19:53:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:53:51]Read from MH i2c: E2 [19:53:51]MH_I2C_Read... [19:53:51]Read from MH i2c: E2 0B 00 [19:53:51]MH_I2C_Read... [19:53:51]Read from MH i2c: E2 0B 00 0E 09 00 A4 E3 F9 6E 6F 5D 9E AB 90 00 96 [19:53:51]RAPDU: A4 E3 F9 6E 6F 5D 9E AB 90 00 [19:53:51]wFMCommunicate OK [19:53:51]SAM_PROTO_SignData done [19:53:51]FM_MakeSignedData done [19:53:51]CreateOFDProtocolMessage [19:53:51]wFMCommunicate request_size=4 [19:53:51]MH_SAM_APDU [19:53:51]CAPDU: 80 11 00 00 [19:53:51]Write to MH i2c: E2 08 00 0F 09 80 11 00 00 00 00 00 00 92 [19:53:51]Write i2c OK [19:53:51]MH_I2C_Read... [19:53:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:53:51]Read from MH i2c: E2 [19:53:51]MH_I2C_Read... [19:53:51]Read from MH i2c: E2 17 00 [19:53:51]MH_I2C_Read... [19:53:51]Read from MH i2c: E2 17 00 0F 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 E5 [19:53:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [19:53:51]wFMCommunicate OK [19:53:51]CreateOFDProtocolMessage done [19:53:51]OFDSenderStorePacket 52656 [19:53:51]StoreOFDPacket docnum=52656 [19:53:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 36 01 00 00 09 2A 2E 01 6D 09 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 36 36 35 33 06 04 30 00 D0 9F D0 B8 D0 B2 D0 BE 20 45 53 53 41 20 D0 BB D0 B0 D0 B9 D0 BC 20 D0 BC D1 8F D1 82 D0 B0 20 36 2C 35 25 20 D1 81 D1 82 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 6B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 CF 16 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B0 CD 00 00 35 04 06 00 DF C5 24 C1 94 5A A4 E3 F9 6E 6F 5D 9E AB [19:53:51]CheckFolder [19:53:51]dirname=/storage/ofd_packets [19:53:51]CheckFolder done [19:53:51]ProducePacketName [19:53:51]name=ofd_packets/00052656 [19:53:51]NVStorageSaveData ofd_packets/00052656 [19:53:51]File name is /storage/ofd_packets/00052656 [19:53:51]Write 340 bytes [19:53:51]NVStorageSaveData done [19:53:51]OFDSenderStorePacket done [19:53:51]KKMCreateOFDPacket done [19:53:51]NVStorageSaveData kkm_last_timestamp [19:53:51]File name is /storage/kkm_last_timestamp [19:53:51]Write 4 bytes [19:53:51]NVStorageSaveData done [19:53:51]ExternCall_PrintAddStr [19:53:51]wPrintStart [19:53:51]Write to MH i2c: 01 00 00 10 09 19 [19:53:51]Write i2c OK [19:53:51]MH_I2C_Read... [19:53:51]Read from MH i2c: 01 [19:53:51]MH_I2C_Read... [19:53:51]Read from MH i2c: 01 07 00 [19:53:51]MH_I2C_Read... [19:53:51]Read from MH i2c: 01 07 00 10 09 00 00 00 00 00 FF 0F 2E [19:53:51]RasterBufferAndPrint [19:53:51]line Счет N : (3)122787 [19:53:51]line ИНН: 02508201610067 [19:53:51]line Контрольно-Кассовый Чек [19:53:51]line ПРОДАЖА [19:53:51]line Товар: 4600721026653 [19:53:51]line Пиво ESSA лайм мята 6,5% ст 0,45л [19:53:51]line 2.000 * 138.00 [19:53:51]line = 276.00 [19:53:51]line НДС 12% НСП 1% [19:53:51]line > о реализуемом товаре [19:53:51]line ИТОГО: 276.00 [19:53:51]line НСП 1% : 2.44 [19:53:51]line НДС 12% : 29.31 [19:53:51]line Наличными: 0.00 [19:53:51]line Безнал.: 276.00 [19:53:51]line Место: АЗС № 54 "Партнер Нефть" [19:53:51]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [19:53:51]line СНО: Общий режим [19:53:51]line Чек 67 11.08.2024 19:53 [19:53:51]line Смена: 446 ФФД: 1.0 [19:53:51]line ЗНМ: 0300000007 [19:53:51]line РНМ: 0000000000090834 [19:53:51]line Версия ККМ: 001 [19:53:51]line Платежная система: О! деньги [19:53:51]line ФМ: 0000000000874715 [19:53:51]line ФД: 52656 [19:53:51]line ФПД: 246037818217562 [19:53:51]line /tax-web-control/client/api/v1/ticket?date=20240811T195351&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52656&fm=246037818217562&tin=02508201610067®Number=0000000000090834&sum=27600 [19:53:51]line 0 [19:53:51]written 0, free lines is 4095 [19:53:51]OFD Sender: Processing packet 52656 [packets to send 55, broken 54] [19:53:51]ProducePacketName [19:53:51]name=ofd_packets/00052656 [19:53:51]OFD Sender: To server: pG, [19:53:51]CommunicateWithHost lk.salyk.kg:30040 [19:53:51]ConnectInit lk.salyk.kg [19:53:51]Connected sock=10 [19:53:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 36 01 00 00 09 2A 2E 01 6D 09 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 36 36 35 33 06 04 30 00 D0 9F D0 B8 D0 B2 D0 BE 20 45 53 53 41 20 D0 BB D0 B0 D0 B9 D0 BC 20 D0 BC D1 8F D1 82 D0 B0 20 36 2C 35 25 20 D1 81 D1 82 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 D0 6B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 6B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 CF 16 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B0 CD 00 00 35 04 06 00 DF C5 24 C1 94 5A A4 E3 F9 6E 6F 5D 9E AB [19:53:52]Write to MH i2c: 01 00 00 3A 09 43 [19:53:52]Write i2c OK [19:53:52]MH_I2C_Read... [19:53:52]Read from MH i2c: 01 [19:53:52]MH_I2C_Read... [19:53:52]Read from MH i2c: 01 07 00 [19:53:52]MH_I2C_Read... [19:53:52]Read from MH i2c: 01 07 00 3A 09 00 00 00 00 00 CC 0C 22 [19:53:52]RasterBufferAndPrint [19:53:52]line [19:53:52]line [19:53:52]line [19:53:52]line [19:53:52]line [19:53:52]written 0, free lines is 3283 [19:53:52]MH_Cut [19:53:52]Write to MH i2c: D1 01 00 41 09 01 1C [19:53:52]Write i2c OK [19:53:52]MH_I2C_Read... [19:53:52]Read from MH i2c: D1 [19:53:52]MH_I2C_Read... [19:53:52]Read from MH i2c: D1 01 00 [19:53:52]MH_I2C_Read... [19:53:52]Read from MH i2c: D1 01 00 41 09 00 1B [19:53:52]Write to MH i2c: 01 00 00 42 09 4B [19:53:52]Write i2c OK [19:53:52]MH_I2C_Read... [19:53:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 4E 70 47 00 EC 45 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B0 CD 00 00 F4 03 04 00 6A BE B8 66 B6 04 01 00 00 0A D7 80 83 88 9C 37 21 [19:53:52]CommunicateWithHost err = 0 [19:53:52]CheckOFDResponse [19:53:52]1017 (14) - 77093643461234 [19:53:52]1041 (16) - 0000000000874715 [19:53:52]1040 (4) - 52656 [19:53:52]1012 (4) - 11.08.2024 13:36 [19:53:52]1206 (1) - 0 [19:53:52]OFD Sender: Remove packet 52656 [19:53:52]ProducePacketName [19:53:52]name=ofd_packets/00052656 [19:53:52]NVStorageDeleteData [19:53:52]OFD Sender: No OFD packet to send [19:53:52]*** Cut start [19:53:52]*** Purtial cut [19:53:52]*** Stage 1: CUTSNS_PIN = 1 [19:53:53]Read from MH i2c: 01 [19:53:53]MH_I2C_Read... [19:53:53]*** Stop cut motor [19:53:53]*** Cut end [19:53:53]Read from MH i2c: 01 07 00 [19:53:53]MH_I2C_Read... [19:53:53]Read from MH i2c: 01 07 00 42 09 00 00 00 00 00 FF 0F 60 [19:53:53]process_action close_receipt done [19:53:53]requested_data is exist [19:53:53]produce_requested_data [19:53:53]requested_item fm.sn is exist - process it [19:53:53]wFMCommunicate request_size=4 [19:53:53]MH_SAM_APDU [19:53:53]CAPDU: 80 11 00 00 [19:53:53]Write to MH i2c: E2 08 00 43 09 80 11 00 00 00 00 00 00 C6 [19:53:53]Write i2c OK [19:53:53]MH_I2C_Read... [19:53:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:53:53]Read from MH i2c: E2 [19:53:53]MH_I2C_Read... [19:53:53]Read from MH i2c: E2 17 00 [19:53:53]MH_I2C_Read... [19:53:53]Read from MH i2c: E2 17 00 43 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 19 [19:53:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [19:53:53]wFMCommunicate OK [19:53:53]requested_item fd.num is exist - process it [19:53:53]SAM_PROTO_GetFieldsCounters [19:53:53]wFMCommunicate request_size=4 [19:53:53]MH_SAM_APDU [19:53:53]CAPDU: 80 13 00 00 [19:53:53]Write to MH i2c: E2 08 00 44 09 80 13 00 00 00 00 00 00 C9 [19:53:53]Write i2c OK [19:53:53]MH_I2C_Read... [19:53:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:53:53]Read from MH i2c: E2 [19:53:53]MH_I2C_Read... [19:53:53]Read from MH i2c: E2 62 00 [19:53:53]MH_I2C_Read... [19:53:53]Read from MH i2c: E2 62 00 44 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B0 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 EE [19:53: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B0 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:53:53]wFMCommunicate OK [19:53:53]SAM_PROTO_GetFieldsCounters done [19:53:53]requested_item shift.num is exist - process it [19:53:53]requested_item shift.opened is exist - process it [19:53:53]req_shift_opened [19:53:53]FM_GetShiftState [19:53:53]SAM_PROTO_GetShiftState [19:53:53]wFMCommunicate request_size=4 [19:53:53]MH_SAM_APDU [19:53:53]CAPDU: 80 13 01 00 [19:53:53]Write to MH i2c: E2 08 00 45 09 80 13 01 00 00 00 00 00 CB [19:53:53]Write i2c OK [19:53:53]MH_I2C_Read... [19:53:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:53:53]Read from MH i2c: E2 [19:53:53]MH_I2C_Read... [19:53:53]Read from MH i2c: E2 0E 00 [19:53:53]MH_I2C_Read... [19:53:53]Read from MH i2c: E2 0E 00 45 09 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 F4 [19:53:53]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [19:53:53]wFMCommunicate OK [19:53:53]SAM_PROTO_GetShiftState done [19:53:53]FM_GetShiftState done [19:53:53]req_shift_opened done [19:53:53]requested_item shift.open_date is exist - process it [19:53:53]req_shift_open_date [19:53:53]req_shift_open_date done [19:53:53]produce_requested_data done [19:53:53]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52656,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [19:53:53]process_action_free close_receipt [19:53:53]json_value_free [19:53:53]json_value_free done [19:53:53]process_json_proto returns [19:53:53]Send response to host [19:53:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52656,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [19:53:53]free response buf [19:53:53]execute_script done [19:53:53]execute_script returns [19:53:53]free content buf [19:53:53]Sock 7.Close socket [19:53:53]Sock 7.Thread stoped [19:53:57]OFD Sender: No OFD packet to send [19:54:02]OFD Sender: No OFD packet to send [19:54:07]OFD Sender: No OFD packet to send [19:54:12]OFD Sender: No OFD packet to send [19:54:17]OFD Sender: No OFD packet to send [19:54:22]OFD Sender: No OFD packet to send [19:54:27]OFD Sender: No OFD packet to send [19:54:32]OFD Sender: No OFD packet to send [19:54:37]OFD Sender: No OFD packet to send [19:54:42]OFD Sender: No OFD packet to send [19:54:47]OFD Sender: No OFD packet to send [19:54:52]OFD Sender: No OFD packet to send [19:54:57]OFD Sender: No OFD packet to send [19:55:02]OFD Sender: No OFD packet to send [19:55:07]OFD Sender: No OFD packet to send [19:55:12]OFD Sender: No OFD packet to send [19:55:17]OFD Sender: No OFD packet to send [19:55:22]OFD Sender: No OFD packet to send [19:55:27]OFD Sender: No OFD packet to send [19:55:32]OFD Sender: No OFD packet to send [19:55:37]OFD Sender: No OFD packet to send [19:55:42]OFD Sender: No OFD packet to send [19:55:47]OFD Sender: No OFD packet to send [19:55:52]OFD Sender: No OFD packet to send [19:55:57]OFD Sender: No OFD packet to send [19:56:02]OFD Sender: No OFD packet to send [19:56:07]OFD Sender: No OFD packet to send [19:56:12]OFD Sender: No OFD packet to send [19:56:17]OFD Sender: No OFD packet to send [19:56:22]OFD Sender: No OFD packet to send [19:56:27]OFD Sender: No OFD packet to send [19:56:32]OFD Sender: No OFD packet to send [19:56:37]OFD Sender: No OFD packet to send [19:56:42]OFD Sender: No OFD packet to send [19:56:47]OFD Sender: No OFD packet to send [19:56:52]OFD Sender: No OFD packet to send [19:56:57]OFD Sender: No OFD packet to send [19:57:02]OFD Sender: No OFD packet to send [19:57:07]OFD Sender: No OFD packet to send [19:57:12]OFD Sender: No OFD packet to send [19:57:17]OFD Sender: No OFD packet to send [19:57:22]OFD Sender: No OFD packet to send [19:57:27]OFD Sender: No OFD packet to send [19:57:32]OFD Sender: No OFD packet to send [19:57:37]OFD Sender: No OFD packet to send [19:57:42]OFD Sender: No OFD packet to send [19:57:47]OFD Sender: No OFD packet to send [19:57:52]OFD Sender: No OFD packet to send [19:57:57]OFD Sender: No OFD packet to send [19:58:02]OFD Sender: No OFD packet to send [19:58:07]OFD Sender: No OFD packet to send [19:58:12]OFD Sender: No OFD packet to send [19:58:17]OFD Sender: No OFD packet to send [19:58:22]OFD Sender: No OFD packet to send [19:58:27]OFD Sender: No OFD packet to send [19:58:32]OFD Sender: No OFD packet to send [19:58:37]OFD Sender: No OFD packet to send [19:58:42]OFD Sender: No OFD packet to send [19:58:47]OFD Sender: No OFD packet to send [19:58:52]OFD Sender: No OFD packet to send [19:58:57]OFD Sender: No OFD packet to send [19:59:02]OFD Sender: No OFD packet to send [19:59:07]OFD Sender: No OFD packet to send [19:59:12]OFD Sender: No OFD packet to send [19:59:17]OFD Sender: No OFD packet to send [19:59:22]OFD Sender: No OFD packet to send [19:59:27]OFD Sender: No OFD packet to send [19:59:32]OFD Sender: No OFD packet to send [19:59:37]OFD Sender: No OFD packet to send [19:59:42]OFD Sender: No OFD packet to send [19:59:47]OFD Sender: No OFD packet to send [19:59:52]OFD Sender: No OFD packet to send [19:59:57]OFD Sender: No OFD packet to send [20:00:02]OFD Sender: No OFD packet to send [20:00:07]OFD Sender: No OFD packet to send [20:00: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:36]accept exits with 9 [20:01:36]New connection [20:01:36]New thread 3067293028 created [20:01:36]Thread 3067149668 joined [20:01:36]Waiting for new connection... [20:01:36] Sock 9.Parse request [20:01:36]Sock 9.Check first char [20:01:36]Sock 9.First char is OK [20:01:36]request: POST /json_proto HTTP/1.0 [20:01:36]Method: POST [20:01:36]URL: /json_proto [20:01:36]Method is POST - this is cgi request [20:01:36]url: /json_proto [20:01:36]query_string will be loaded in cgi processing [20:01:36]execute_cgi json_proto POST (null) [20:01:36]execute_cgi path=json_proto method=POST [20:01:36]POST find Content-Length [20:01:36]Host: 172.17.60.7:8080 [20:01:36]Content-Length: 622 [20:01:36]Content-Type: application/json [20:01:36] [20:01:36]POST finish read [20:01:36]Found Content-Length = 622 [20:01:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122788", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:01:36]execute_script... [20:01:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122788", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:01:36]POST & json_proto [20:01:36]process_json_proto [20:01:36]json parsed OK: [20:01:36]protocol is kg_v1.0 [20:01:36]action value=close_receipt [20:01:36]process_action close_receipt [20:01:36]cmd_close_receipt [20:01:36]MH_GetDate [20:01:36]Write to MH i2c: F0 00 00 46 09 3E [20:01:36]Write i2c OK [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: F0 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: F0 09 00 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: F0 09 00 46 09 00 A2 18 B9 66 63 9B 67 64 E9 [20:01:36]GetLastDocTimeStamp 1723406031 [20:01:36]current date 1723406498 [20:01:36]FM_GetShiftState [20:01:36]SAM_PROTO_GetShiftState [20:01:36]wFMCommunicate request_size=4 [20:01:36]MH_SAM_APDU [20:01:36]CAPDU: 80 13 01 00 [20:01:36]Write to MH i2c: E2 08 00 47 09 80 13 01 00 00 00 00 00 CD [20:01:36]Write i2c OK [20:01:36]MH_I2C_Read... [20:01:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:01:36]Read from MH i2c: E2 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 0E 00 [20:01:36]MH_I2C_Read... [20:01:36]Read from MH i2c: E2 0E 00 47 09 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 F6 [20:01:36]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [20:01:36]wFMCommunicate OK [20:01:36]SAM_PROTO_GetShiftState done [20:01:36]FM_GetShiftState done [20:01:36]opened in 1723336186 [20:01:36]opened+sec_in_day 1723422586 [20:01:36]quantity*price = 15000 [20:01:36]sum+1 = 15001 [20:01:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 68 11.08.2024 20:01 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52657 ФПД: 279687555269887 /tax-web-control/client/api/v1/ticket?date=20240811T200138&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52657&fm=279687555269887&tin=02508201610067®Number=0000000000090834&sum=15000 0 [20:01:37]StoreToDocumentArchive [20:01:37]shift 446 fd 52657 [20:01:37]save to /storage/0446/doc_00052657 [20:01:37]save last doc name /storage/0446/doc_00052657 to /storage/kkm_last_doc_name [20:01:37]save OK [20:01:37]Clear old archive folders... [20:01:37]ProcessDocumentItem done err = 0, tmpTLVsize=274 [20:01:37]tlvbuf is 0123D650 [20:01:37]SAM_PROTO_ClearQueue [20:01:37]wFMCommunicate request_size=4 [20:01:37]MH_SAM_APDU [20:01:37]CAPDU: 80 09 00 00 [20:01:37]Write to MH i2c: E2 08 00 54 09 80 09 00 00 00 00 00 00 CF [20:01:37]Write i2c OK [20:01:37]MH_I2C_Read... [20:01:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:01:37]Read from MH i2c: E2 [20:01:37]MH_I2C_Read... [20:01:37]Read from MH i2c: E2 03 00 [20:01:37]MH_I2C_Read... [20:01:37]Read from MH i2c: E2 03 00 54 09 00 90 00 D1 [20:01:37]RAPDU: 90 00 [20:01:37]wFMCommunicate OK [20:01:37]SAM_PROTO_ClearQueue done [20:01:37]KKMCreateOFDPacket [20:01:37]OFDProtocolAddRootSTLVToBuf [20:01:37]FM_MakeSignedData [20:01:37]FM_MakeSignedData [20:01:37]SAM_PROTO_SignData [20:01:37]wFMCommunicate request_size=4 [20:01:37]MH_SAM_APDU [20:01:37]CAPDU: 80 0D 01 02 [20:01:37]Write to MH i2c: E2 08 00 55 09 80 0D 01 02 00 00 00 00 D7 [20:01:37]Write i2c OK [20:01:37]MH_I2C_Read... [20:01:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:01:37]Read from MH i2c: E2 [20:01:37]MH_I2C_Read... [20:01:37]Read from MH i2c: E2 03 00 [20:01:37]MH_I2C_Read... [20:01:37]Read from MH i2c: E2 03 00 55 09 00 90 00 D2 [20:01:37]RAPDU: 90 00 [20:01:37]wFMCommunicate OK [20:01:37]wFMCommunicate request_size=255 [20:01:37]MH_SAM_APDU [20:01:37]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 A2 18 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 [20:01:37]Write to MH i2c: E2 02 01 56 09 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 A2 18 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 00 00 CA [20:01:37]Write i2c OK [20:01:37]MH_I2C_Read... [20:01:38]Read from MH i2c: E2 [20:01:38]MH_I2C_Read... [20:01:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:01:38]Read from MH i2c: E2 03 00 [20:01:38]MH_I2C_Read... [20:01:38]Read from MH i2c: E2 03 00 56 09 00 90 00 D3 [20:01:38]RAPDU: 90 00 [20:01:38]wFMCommunicate OK [20:01:38]wFMCommunicate request_size=33 [20:01:38]MH_SAM_APDU [20:01:38]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B1 CD 00 00 35 04 06 00 FE 5F D5 61 44 FF [20:01:38]Write to MH i2c: E2 24 00 57 09 80 0D 02 02 1C 00 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B1 CD 00 00 35 04 06 00 FE 5F D5 61 44 FF 00 00 BD [20:01:38]Write i2c OK [20:01:38]MH_I2C_Read... [20:01:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:01:38]Read from MH i2c: E2 [20:01:38]MH_I2C_Read... [20:01:38]Read from MH i2c: E2 03 00 [20:01:38]MH_I2C_Read... [20:01:38]Read from MH i2c: E2 03 00 57 09 00 90 00 D4 [20:01:38]RAPDU: 90 00 [20:01:38]wFMCommunicate OK [20:01:38]wFMCommunicate request_size=4 [20:01:38]MH_SAM_APDU [20:01:38]CAPDU: 80 0D 03 02 [20:01:38]Write to MH i2c: E2 08 00 58 09 80 0D 03 02 00 00 00 00 DC [20:01:38]Write i2c OK [20:01:38]MH_I2C_Read... [20:01:38]OFD Sender: No OFD packet to send [20:01:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:01:38]Read from MH i2c: E2 [20:01:38]MH_I2C_Read... [20:01:38]Read from MH i2c: E2 0B 00 [20:01:38]MH_I2C_Read... [20:01:38]Read from MH i2c: E2 0B 00 58 09 00 2E 5F 19 C4 6A C0 0F B7 90 00 37 [20:01:38]RAPDU: 2E 5F 19 C4 6A C0 0F B7 90 00 [20:01:38]wFMCommunicate OK [20:01:38]SAM_PROTO_SignData done [20:01:38]FM_MakeSignedData done [20:01:38]CreateOFDProtocolMessage [20:01:38]wFMCommunicate request_size=4 [20:01:38]MH_SAM_APDU [20:01:38]CAPDU: 80 11 00 00 [20:01:38]Write to MH i2c: E2 08 00 59 09 80 11 00 00 00 00 00 00 DC [20:01:38]Write i2c OK [20:01:38]MH_I2C_Read... [20:01:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:01:38]Read from MH i2c: E2 [20:01:38]MH_I2C_Read... [20:01:38]Read from MH i2c: E2 17 00 [20:01:38]MH_I2C_Read... [20:01:38]Read from MH i2c: E2 17 00 59 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 2F [20:01:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [20:01:38]wFMCommunicate OK [20:01:38]CreateOFDProtocolMessage done [20:01:38]OFDSenderStorePacket 52657 [20:01:38]StoreOFDPacket docnum=52657 [20:01:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 26 01 00 00 63 AF 1E 01 64 E8 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 A2 18 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B1 CD 00 00 35 04 06 00 FE 5F D5 61 44 FF 2E 5F 19 C4 6A C0 0F B7 [20:01:38]CheckFolder [20:01:38]dirname=/storage/ofd_packets [20:01:38]CheckFolder done [20:01:38]ProducePacketName [20:01:38]name=ofd_packets/00052657 [20:01:38]NVStorageSaveData ofd_packets/00052657 [20:01:38]File name is /storage/ofd_packets/00052657 [20:01:38]Write 324 bytes [20:01:38]NVStorageSaveData done [20:01:38]OFDSenderStorePacket done [20:01:38]KKMCreateOFDPacket done [20:01:38]NVStorageSaveData kkm_last_timestamp [20:01:38]File name is /storage/kkm_last_timestamp [20:01:38]Write 4 bytes [20:01:38]NVStorageSaveData done [20:01:38]ExternCall_PrintAddStr [20:01:38]wPrintStart [20:01:38]Write to MH i2c: 01 00 00 5A 09 63 [20:01:38]Write i2c OK [20:01:38]MH_I2C_Read... [20:01:38]Read from MH i2c: 01 [20:01:38]MH_I2C_Read... [20:01:38]Read from MH i2c: 01 07 00 [20:01:38]MH_I2C_Read... [20:01:38]Read from MH i2c: 01 07 00 5A 09 00 00 00 00 00 FF 0F 78 [20:01:38]RasterBufferAndPrint [20:01:38]line Счет N : (3)122788 [20:01:38]line ИНН: 02508201610067 [20:01:38]line Контрольно-Кассовый Чек [20:01:38]line ПРОДАЖА [20:01:38]line Товар: 46230614 [20:01:38]line Сигареты Richmond Red Edition [20:01:38]line 1.000 * 150.00 [20:01:38]line = 150.00 [20:01:38]line НДС 12% НСП 1% [20:01:38]line > о реализуемом товаре [20:01:38]line ИТОГО: 150.00 [20:01:38]line НСП 1% : 1.33 [20:01:38]line НДС 12% : 15.93 [20:01:38]line Наличными: 150.00 [20:01:38]line Безнал.: 0.00 [20:01:38]line Место: АЗС № 54 "Партнер Нефть" [20:01:38]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [20:01:38]line СНО: Общий режим [20:01:38]OFD Sender: Processing packet 52657 [packets to send 55, broken 54] [20:01:38]ProducePacketName [20:01:38]name=ofd_packets/00052657 [20:01:38]OFD Sender: To server: pG, [20:01:38]CommunicateWithHost lk.salyk.kg:30040 [20:01:38]ConnectInit lk.salyk.kg [20:01:38]line Чек 68 11.08.2024 20:01 [20:01:38]line Смена: 446 ФФД: 1.0 [20:01:38]line ЗНМ: 0300000007 [20:01:38]line РНМ: 0000000000090834 [20:01:38]line Версия ККМ: 001 [20:01:38]line ФМ: 0000000000874715 [20:01:38]line ФД: 52657 [20:01:38]line ФПД: 279687555269887 [20:01:38]line /tax-web-control/client/api/v1/ticket?date=20240811T200138&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52657&fm=279687555269887&tin=02508201610067®Number=0000000000090834&sum=15000 [20:01:38]Connected sock=10 [20:01:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 26 01 00 00 63 AF 1E 01 64 E8 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 36 32 33 30 36 31 34 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 52 65 64 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 85 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 A2 18 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B1 CD 00 00 35 04 06 00 FE 5F D5 61 44 FF 2E 5F 19 C4 6A C0 0F B7 [20:01:38]line 0 [20:01:38]written 0, free lines is 4095 [20:01:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 5F F1 47 00 28 19 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B1 CD 00 00 F4 03 04 00 3C C0 B8 66 B6 04 01 00 00 6A 1A A1 C7 5D AF CC F4 [20:01:38]CommunicateWithHost err = 0 [20:01:38]CheckOFDResponse [20:01:38]1017 (14) - 77093643461234 [20:01:38]1041 (16) - 0000000000874715 [20:01:38]1040 (4) - 52657 [20:01:38]1012 (4) - 11.08.2024 13:44 [20:01:38]1206 (1) - 0 [20:01:38]OFD Sender: Remove packet 52657 [20:01:38]ProducePacketName [20:01:38]name=ofd_packets/00052657 [20:01:38]NVStorageDeleteData [20:01:38]Write to MH i2c: 01 00 00 82 09 8B [20:01:38]Write i2c OK [20:01:38]MH_I2C_Read... [20:01:38]Read from MH i2c: 01 [20:01:38]MH_I2C_Read... [20:01:38]Read from MH i2c: 01 07 00 [20:01:38]MH_I2C_Read... [20:01:38]Read from MH i2c: 01 07 00 82 09 00 00 00 00 00 D1 0C 6F [20:01:38]RasterBufferAndPrint [20:01:38]line [20:01:38]line [20:01:38]line [20:01:38]line [20:01:38]line [20:01:38]written 0, free lines is 3286 [20:01:38]MH_Cut [20:01:38]Write to MH i2c: D1 01 00 89 09 01 64 [20:01:38]Write i2c OK [20:01:38]MH_I2C_Read... [20:01:38]Read from MH i2c: D1 [20:01:38]MH_I2C_Read... [20:01:38]Read from MH i2c: D1 01 00 [20:01:38]MH_I2C_Read... [20:01:38]Read from MH i2c: D1 01 00 89 09 00 63 [20:01:38]Write to MH i2c: 01 00 00 8A 09 93 [20:01:38]Write i2c OK [20:01:38]MH_I2C_Read... [20:01:39]OFD Sender: No OFD packet to send [20:01:39]*** Cut start [20:01:39]*** Purtial cut [20:01:39]*** Stage 1: CUTSNS_PIN = 1 [20:01:40]Read from MH i2c: 01 [20:01:40]MH_I2C_Read... [20:01:40]*** Stop cut motor [20:01:40]*** Cut end [20:01:40]Read from MH i2c: 01 07 00 [20:01:40]MH_I2C_Read... [20:01:40]Read from MH i2c: 01 07 00 8A 09 00 00 00 00 00 FF 0F A8 [20:01:40]process_action close_receipt done [20:01:40]requested_data is exist [20:01:40]produce_requested_data [20:01:40]requested_item fm.sn is exist - process it [20:01:40]wFMCommunicate request_size=4 [20:01:40]MH_SAM_APDU [20:01:40]CAPDU: 80 11 00 00 [20:01:40]Write to MH i2c: E2 08 00 8B 09 80 11 00 00 00 00 00 00 0E [20:01:40]Write i2c OK [20:01:40]MH_I2C_Read... [20:01:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:01:40]Read from MH i2c: E2 [20:01:40]MH_I2C_Read... [20:01:40]Read from MH i2c: E2 17 00 [20:01:40]MH_I2C_Read... [20:01:40]Read from MH i2c: E2 17 00 8B 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 61 [20:01:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [20:01:40]wFMCommunicate OK [20:01:40]requested_item fd.num is exist - process it [20:01:40]SAM_PROTO_GetFieldsCounters [20:01:40]wFMCommunicate request_size=4 [20:01:40]MH_SAM_APDU [20:01:40]CAPDU: 80 13 00 00 [20:01:40]Write to MH i2c: E2 08 00 8C 09 80 13 00 00 00 00 00 00 11 [20:01:40]Write i2c OK [20:01:40]MH_I2C_Read... [20:01:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:01:40]Read from MH i2c: E2 [20:01:40]MH_I2C_Read... [20:01:40]Read from MH i2c: E2 62 00 [20:01:40]MH_I2C_Read... [20:01:40]Read from MH i2c: E2 62 00 8C 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B1 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 3A [20:01:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B1 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:01:40]wFMCommunicate OK [20:01:40]SAM_PROTO_GetFieldsCounters done [20:01:40]requested_item shift.num is exist - process it [20:01:40]requested_item shift.opened is exist - process it [20:01:40]req_shift_opened [20:01:40]FM_GetShiftState [20:01:40]SAM_PROTO_GetShiftState [20:01:40]wFMCommunicate request_size=4 [20:01:40]MH_SAM_APDU [20:01:40]CAPDU: 80 13 01 00 [20:01:40]Write to MH i2c: E2 08 00 8D 09 80 13 01 00 00 00 00 00 13 [20:01:40]Write i2c OK [20:01:40]MH_I2C_Read... [20:01:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:01:40]Read from MH i2c: E2 [20:01:40]MH_I2C_Read... [20:01:40]Read from MH i2c: E2 0E 00 [20:01:40]MH_I2C_Read... [20:01:40]Read from MH i2c: E2 0E 00 8D 09 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 3C [20:01:40]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [20:01:40]wFMCommunicate OK [20:01:40]SAM_PROTO_GetShiftState done [20:01:40]FM_GetShiftState done [20:01:40]req_shift_opened done [20:01:40]requested_item shift.open_date is exist - process it [20:01:40]req_shift_open_date [20:01:40]req_shift_open_date done [20:01:40]produce_requested_data done [20:01:40]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52657,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [20:01:40]process_action_free close_receipt [20:01:40]json_value_free [20:01:40]json_value_free done [20:01:40]process_json_proto returns [20:01:40]Send response to host [20:01:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52657,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [20:01:40]free response buf [20:01:40]execute_script done [20:01:40]execute_script returns [20:01:40]free content buf [20:01:40]Sock 9.Close socket [20:01:40]Sock 9.Thread stoped [20:01:44]OFD Sender: No OFD packet to send [20:01:49]OFD Sender: No OFD packet to send [20:01:54]OFD Sender: No OFD packet to send [20:01:59]OFD Sender: No OFD packet to send [20:02:04]OFD Sender: No OFD packet to send [20:02:09]OFD Sender: No OFD packet to send [20:02:14]OFD Sender: No OFD packet to send [20:02:19]OFD Sender: No OFD packet to send [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:24]OFD Sender: No OFD packet to send [20:04:29]OFD Sender: No OFD packet to send [20:04:34]OFD Sender: No OFD packet to send [20:04:39]OFD Sender: No OFD packet to send [20:04:44]OFD Sender: No OFD packet to send [20:04:49]OFD Sender: No OFD packet to send [20:04:54]OFD Sender: No OFD packet to send [20:04:59]OFD Sender: No OFD packet to send [20:05:04]OFD Sender: No OFD packet to send [20:05:09]OFD Sender: No OFD packet to send [20:05:14]OFD Sender: No OFD packet to send [20:05:19]OFD Sender: No OFD packet to send [20:05:24]OFD Sender: No OFD packet to send [20:05:29]OFD Sender: No OFD packet to send [20:05:34]OFD Sender: No OFD packet to send [20:05:39]OFD Sender: No OFD packet to send [20:05:44]OFD Sender: No OFD packet to send [20:05:47]accept exits with 7 [20:05:47]New connection [20:05:47]New thread 3067149668 created [20:05:47]Thread 3067293028 joined [20:05:47]Waiting for new connection... [20:05:47] Sock 7.Parse request [20:05:47]Sock 7.Check first char [20:05:47]Sock 7.First char is OK [20:05:47]request: POST /json_proto HTTP/1.0 [20:05:47]Method: POST [20:05:47]URL: /json_proto [20:05:47]Method is POST - this is cgi request [20:05:47]url: /json_proto [20:05:47]query_string will be loaded in cgi processing [20:05:47]execute_cgi json_proto POST (null) [20:05:47]execute_cgi path=json_proto method=POST [20:05:47]POST find Content-Length [20:05:47]Host: 172.17.60.7:8080 [20:05:47]Content-Length: 1029 [20:05:47]Content-Type: application/json [20:05:47] [20:05:47]POST finish read [20:05:47]Found Content-Length = 1029 [20:05:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122789", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329487", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1,5\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:05:47]execute_script... [20:05:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122789", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329487", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1,5\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:05:47]POST & json_proto [20:05:47]process_json_proto [20:05:47]json parsed OK: [20:05:47]protocol is kg_v1.0 [20:05:47]action value=close_receipt [20:05:47]process_action close_receipt [20:05:47]cmd_close_receipt [20:05:47]MH_GetDate [20:05:47]Write to MH i2c: F0 00 00 8E 09 86 [20:05:47]Write i2c OK [20:05:47]MH_I2C_Read... [20:05:47]Read from MH i2c: F0 [20:05:47]MH_I2C_Read... [20:05:47]Read from MH i2c: F0 09 00 [20:05:47]MH_I2C_Read... [20:05:47]Read from MH i2c: F0 09 00 8E 09 00 9D 19 B9 66 63 9B 67 64 2D [20:05:47]GetLastDocTimeStamp 1723406498 [20:05:47]current date 1723406749 [20:05:47]FM_GetShiftState [20:05:47]SAM_PROTO_GetShiftState [20:05:47]wFMCommunicate request_size=4 [20:05:47]MH_SAM_APDU [20:05:47]CAPDU: 80 13 01 00 [20:05:47]Write to MH i2c: E2 08 00 8F 09 80 13 01 00 00 00 00 00 15 [20:05:47]Write i2c OK [20:05:47]MH_I2C_Read... [20:05:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:05:47]Read from MH i2c: E2 [20:05:47]MH_I2C_Read... [20:05:47]Read from MH i2c: E2 0E 00 [20:05:47]MH_I2C_Read... [20:05:47]Read from MH i2c: E2 0E 00 8F 09 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 3E [20:05:47]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [20:05:47]wFMCommunicate OK [20:05:47]SAM_PROTO_GetShiftState done [20:05:47]FM_GetShiftState done [20:05:47]opened in 1723336186 [20:05:47]opened+sec_in_day 1723422586 [20:05:47]quantity*price = 5000 [20:05:47]sum+1 = 5001 [20:05:47]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002329487 Напиток Pepsi 1,5л 1.000 * 175.00 = 175.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 0.00 Безнал.: 225.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 69 11.08.2024 20:05 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52658 ФПД: 236823838321903 /tax-web-control/client/api/v1/ticket?date=20240811T200549&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52658&fm=236823838321903&tin=02508201610067®Number=0000000000090834&sum=22500 0 [20:05:48]StoreToDocumentArchive [20:05:48]shift 446 fd 52658 [20:05:48]save to /storage/0446/doc_00052658 [20:05:48]save last doc name /storage/0446/doc_00052658 to /storage/kkm_last_doc_name [20:05:48]save OK [20:05:48]Clear old archive folders... [20:05:48]ProcessDocumentItem done err = 0, tmpTLVsize=367 [20:05:48]tlvbuf is 0129D8A0 [20:05:48]SAM_PROTO_ClearQueue [20:05:48]wFMCommunicate request_size=4 [20:05:48]MH_SAM_APDU [20:05:48]CAPDU: 80 09 00 00 [20:05:48]Write to MH i2c: E2 08 00 9C 09 80 09 00 00 00 00 00 00 17 [20:05:48]Write i2c OK [20:05:48]MH_I2C_Read... [20:05:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:05:49]Read from MH i2c: E2 [20:05:49]MH_I2C_Read... [20:05:49]Read from MH i2c: E2 03 00 [20:05:49]MH_I2C_Read... [20:05:49]Read from MH i2c: E2 03 00 9C 09 00 90 00 19 [20:05:49]RAPDU: 90 00 [20:05:49]wFMCommunicate OK [20:05:49]SAM_PROTO_ClearQueue done [20:05:49]KKMCreateOFDPacket [20:05:49]OFDProtocolAddRootSTLVToBuf [20:05:49]FM_MakeSignedData [20:05:49]FM_MakeSignedData [20:05:49]SAM_PROTO_SignData [20:05:49]wFMCommunicate request_size=4 [20:05:49]MH_SAM_APDU [20:05:49]CAPDU: 80 0D 01 02 [20:05:49]Write to MH i2c: E2 08 00 9D 09 80 0D 01 02 00 00 00 00 1F [20:05:49]Write i2c OK [20:05:49]MH_I2C_Read... [20:05:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:05:49]Read from MH i2c: E2 [20:05:49]MH_I2C_Read... [20:05:49]Read from MH i2c: E2 03 00 [20:05:49]MH_I2C_Read... [20:05:49]Read from MH i2c: E2 03 00 9D 09 00 90 00 1A [20:05:49]RAPDU: 90 00 [20:05:49]wFMCommunicate OK [20:05:49]wFMCommunicate request_size=255 [20:05:49]MH_SAM_APDU [20:05:49]CAPDU: 80 0D 02 02 FA 03 00 6F 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 [20:05:49]Write to MH i2c: E2 02 01 9E 09 80 0D 02 02 FA 00 03 00 6F 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 43 [20:05:49]Write i2c OK [20:05:49]MH_I2C_Read... [20:05:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:05:49]Read from MH i2c: E2 [20:05:49]MH_I2C_Read... [20:05:49]Read from MH i2c: E2 03 00 [20:05:49]MH_I2C_Read... [20:05:49]Read from MH i2c: E2 03 00 9E 09 00 90 00 1B [20:05:49]RAPDU: 90 00 [20:05:49]wFMCommunicate OK [20:05:49]wFMCommunicate request_size=126 [20:05:49]MH_SAM_APDU [20:05:49]CAPDU: 80 0D 02 02 79 06 00 55 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 57 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 9D 19 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B2 CD 00 00 35 04 06 00 D7 63 D8 C1 EC EF [20:05:49]Write to MH i2c: E2 81 00 9F 09 80 0D 02 02 79 00 06 00 55 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E4 57 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 9D 19 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B2 CD 00 00 35 04 06 00 D7 63 D8 C1 EC EF 00 00 F2 [20:05:49]Write i2c OK [20:05:49]MH_I2C_Read... [20:05:49]OFD Sender: No OFD packet to send [20:05:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:05:49]Read from MH i2c: E2 [20:05:49]MH_I2C_Read... [20:05:49]Read from MH i2c: E2 03 00 [20:05:49]MH_I2C_Read... [20:05:49]Read from MH i2c: E2 03 00 9F 09 00 90 00 1C [20:05:49]RAPDU: 90 00 [20:05:49]wFMCommunicate OK [20:05:49]wFMCommunicate request_size=4 [20:05:49]MH_SAM_APDU [20:05:49]CAPDU: 80 0D 03 02 [20:05:49]Write to MH i2c: E2 08 00 A0 09 80 0D 03 02 00 00 00 00 24 [20:05:49]Write i2c OK [20:05:49]MH_I2C_Read... [20:05:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:05:49]Read from MH i2c: E2 [20:05:49]MH_I2C_Read... [20:05:49]Read from MH i2c: E2 0B 00 [20:05:49]MH_I2C_Read... [20:05:49]Read from MH i2c: E2 0B 00 A0 09 00 FF 3C 0A 64 6A 89 12 E7 90 00 BA [20:05:49]RAPDU: FF 3C 0A 64 6A 89 12 E7 90 00 [20:05:49]wFMCommunicate OK [20:05:49]SAM_PROTO_SignData done [20:05:49]FM_MakeSignedData done [20:05:49]CreateOFDProtocolMessage [20:05:49]wFMCommunicate request_size=4 [20:05:49]MH_SAM_APDU [20:05:49]CAPDU: 80 11 00 00 [20:05:49]Write to MH i2c: E2 08 00 A1 09 80 11 00 00 00 00 00 00 24 [20:05:49]Write i2c OK [20:05:49]MH_I2C_Read... [20:05:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:05:49]Read from MH i2c: E2 [20:05:49]MH_I2C_Read... [20:05:49]Read from MH i2c: E2 17 00 [20:05:49]MH_I2C_Read... [20:05:49]Read from MH i2c: E2 17 00 A1 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 77 [20:05:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [20:05:49]wFMCommunicate OK [20:05:49]CreateOFDProtocolMessage done [20:05:49]OFDSenderStorePacket 52658 [20:05:49]StoreOFDPacket docnum=52658 [20:05:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 83 01 00 00 A9 EB 7B 01 3D 50 5A 03 01 00 03 00 6F 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 00 00 00 00 39 04 06 00 E4 57 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 9D 19 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B2 CD 00 00 35 04 06 00 D7 63 D8 C1 EC EF FF 3C 0A 64 6A 89 12 E7 [20:05:49]CheckFolder [20:05:49]dirname=/storage/ofd_packets [20:05:49]CheckFolder done [20:05:49]ProducePacketName [20:05:49]name=ofd_packets/00052658 [20:05:49]NVStorageSaveData ofd_packets/00052658 [20:05:49]File name is /storage/ofd_packets/00052658 [20:05:49]Write 417 bytes [20:05:49]NVStorageSaveData done [20:05:49]OFDSenderStorePacket done [20:05:49]KKMCreateOFDPacket done [20:05:49]NVStorageSaveData kkm_last_timestamp [20:05:49]File name is /storage/kkm_last_timestamp [20:05:49]Write 4 bytes [20:05:49]NVStorageSaveData done [20:05:49]ExternCall_PrintAddStr [20:05:49]wPrintStart [20:05:49]Write to MH i2c: 01 00 00 A2 09 AB [20:05:49]Write i2c OK [20:05:49]MH_I2C_Read... [20:05:49]Read from MH i2c: 01 [20:05:49]MH_I2C_Read... [20:05:49]Read from MH i2c: 01 07 00 [20:05:49]MH_I2C_Read... [20:05:49]OFD Sender: Processing packet 52658 [packets to send 55, broken 54] [20:05:49]ProducePacketName [20:05:49]name=ofd_packets/00052658 [20:05:49]OFD Sender: To server: pG, [20:05:49]CommunicateWithHost lk.salyk.kg:30040 [20:05:49]ConnectInit lk.salyk.kg [20:05:49]Read from MH i2c: 01 07 00 A2 09 00 00 00 00 00 FF 0F C0 [20:05:49]RasterBufferAndPrint [20:05:49]line Счет N : (3)122789 [20:05:49]line ИНН: 02508201610067 [20:05:49]line Контрольно-Кассовый Чек [20:05:49]line ПРОДАЖА [20:05:49]line Товар: 4700000160358 [20:05:49]line Вода Легенда 1л [20:05:49]line 1.000 * 50.00 [20:05:49]line = 50.00 [20:05:49]line НДС 12% НСП 1% [20:05:49]line > о реализуемом товаре [20:05:49]line Товар: 4870002329487 [20:05:49]line Напиток Pepsi 1,5л [20:05:49]line 1.000 * 175.00 [20:05:49]line = 175.00 [20:05:49]line НДС 12% НСП 1% [20:05:49]line > о реализуемом товаре [20:05:49]line ИТОГО: 225.00 [20:05:49]line НСП 1% : 1.99 [20:05:49]line НДС 12% : 23.89 [20:05:49]line Наличными: 0.00 [20:05:49]line Безнал.: 225.00 [20:05:49]line Место: АЗС № 54 "Партнер Нефть" [20:05:49]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [20:05:49]line СНО: Общий режим [20:05:49]line Чек 69 11.08.2024 20:05 [20:05:49]line Смена: 446 ФФД: 1.0 [20:05:49]line ЗНМ: 0300000007 [20:05:49]line РНМ: 0000000000090834 [20:05:49]line Версия ККМ: 001 [20:05:49]line Платежная система: О! деньги [20:05:49]line ФМ: 0000000000874715 [20:05:49]line ФД: 52658 [20:05:49]line ФПД: 236823838321903 [20:05:49]line /tax-web-control/client/api/v1/ticket?date=20240811T200549&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52658&fm=236823838321903&tin=02508201610067®Number=0000000000090834&sum=22500 [20:05:49]line 0 [20:05:49]written 0, free lines is 4095 [20:05:50]Connected sock=10 [20:05:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 83 01 00 00 A9 EB 7B 01 3D 50 5A 03 01 00 03 00 6F 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 00 00 00 00 39 04 06 00 E4 57 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 9D 19 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B2 CD 00 00 35 04 06 00 D7 63 D8 C1 EC EF FF 3C 0A 64 6A 89 12 E7 [20:05:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 EC DE 47 00 5C 34 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B2 CD 00 00 F4 03 04 00 38 C1 B8 66 B6 04 01 00 00 A9 9C DF 65 AD 91 F9 F9 [20:05:50]CommunicateWithHost err = 0 [20:05:50]CheckOFDResponse [20:05:50]1017 (14) - 77093643461234 [20:05:50]1041 (16) - 0000000000874715 [20:05:50]1040 (4) - 52658 [20:05:50]1012 (4) - 11.08.2024 13:48 [20:05:50]1206 (1) - 0 [20:05:50]OFD Sender: Remove packet 52658 [20:05:50]ProducePacketName [20:05:50]name=ofd_packets/00052658 [20:05:50]NVStorageDeleteData [20:05:50]Write to MH i2c: 01 00 00 D1 09 DA [20:05:50]Write i2c OK [20:05:50]MH_I2C_Read... [20:05:50]Read from MH i2c: 01 [20:05:50]MH_I2C_Read... [20:05:50]Read from MH i2c: 01 07 00 [20:05:50]MH_I2C_Read... [20:05:50]Read from MH i2c: 01 07 00 D1 09 00 00 00 00 00 7D 0C 6A [20:05:50]RasterBufferAndPrint [20:05:50]line [20:05:50]line [20:05:50]line [20:05:50]line [20:05:50]line [20:05:50]written 0, free lines is 3201 [20:05:50]MH_Cut [20:05:50]Write to MH i2c: D1 01 00 D8 09 01 B3 [20:05:50]Write i2c OK [20:05:50]MH_I2C_Read... [20:05:50]Read from MH i2c: D1 [20:05:50]MH_I2C_Read... [20:05:50]Read from MH i2c: D1 01 00 [20:05:50]MH_I2C_Read... [20:05:50]Read from MH i2c: D1 01 00 D8 09 00 B2 [20:05:50]Write to MH i2c: 01 00 00 D9 09 E2 [20:05:50]Write i2c OK [20:05:50]MH_I2C_Read... [20:05:50]OFD Sender: No OFD packet to send [20:05:51]*** Cut start [20:05:51]*** Purtial cut [20:05:51]*** Stage 1: CUTSNS_PIN = 1 [20:05:51]Read from MH i2c: 01 [20:05:51]MH_I2C_Read... [20:05:51]*** Stop cut motor [20:05:51]*** Cut end [20:05:51]Read from MH i2c: 01 07 00 [20:05:51]MH_I2C_Read... [20:05:51]Read from MH i2c: 01 07 00 D9 09 00 00 00 00 00 FF 0F F7 [20:05:51]process_action close_receipt done [20:05:51]requested_data is exist [20:05:51]produce_requested_data [20:05:51]requested_item fm.sn is exist - process it [20:05:51]wFMCommunicate request_size=4 [20:05:51]MH_SAM_APDU [20:05:51]CAPDU: 80 11 00 00 [20:05:51]Write to MH i2c: E2 08 00 DA 09 80 11 00 00 00 00 00 00 5D [20:05:51]Write i2c OK [20:05:51]MH_I2C_Read... [20:05:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:05:51]Read from MH i2c: E2 [20:05:51]MH_I2C_Read... [20:05:51]Read from MH i2c: E2 17 00 [20:05:51]MH_I2C_Read... [20:05:51]Read from MH i2c: E2 17 00 DA 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 B0 [20:05:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [20:05:51]wFMCommunicate OK [20:05:51]requested_item fd.num is exist - process it [20:05:51]SAM_PROTO_GetFieldsCounters [20:05:51]wFMCommunicate request_size=4 [20:05:51]MH_SAM_APDU [20:05:51]CAPDU: 80 13 00 00 [20:05:51]Write to MH i2c: E2 08 00 DB 09 80 13 00 00 00 00 00 00 60 [20:05:51]Write i2c OK [20:05:51]MH_I2C_Read... [20:05:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:05:51]Read from MH i2c: E2 [20:05:51]MH_I2C_Read... [20:05:51]Read from MH i2c: E2 62 00 [20:05:51]MH_I2C_Read... [20:05:51]Read from MH i2c: E2 62 00 DB 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B2 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 8D [20:05: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B2 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:05:51]wFMCommunicate OK [20:05:51]SAM_PROTO_GetFieldsCounters done [20:05:51]requested_item shift.num is exist - process it [20:05:51]requested_item shift.opened is exist - process it [20:05:51]req_shift_opened [20:05:51]FM_GetShiftState [20:05:51]SAM_PROTO_GetShiftState [20:05:51]wFMCommunicate request_size=4 [20:05:51]MH_SAM_APDU [20:05:51]CAPDU: 80 13 01 00 [20:05:51]Write to MH i2c: E2 08 00 DC 09 80 13 01 00 00 00 00 00 62 [20:05:51]Write i2c OK [20:05:51]MH_I2C_Read... [20:05:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:05:51]Read from MH i2c: E2 [20:05:51]MH_I2C_Read... [20:05:51]Read from MH i2c: E2 0E 00 [20:05:51]MH_I2C_Read... [20:05:51]Read from MH i2c: E2 0E 00 DC 09 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 8B [20:05:51]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [20:05:51]wFMCommunicate OK [20:05:51]SAM_PROTO_GetShiftState done [20:05:51]FM_GetShiftState done [20:05:51]req_shift_opened done [20:05:51]requested_item shift.open_date is exist - process it [20:05:51]req_shift_open_date [20:05:51]req_shift_open_date done [20:05:51]produce_requested_data done [20:05:51]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52658,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [20:05:51]process_action_free close_receipt [20:05:51]json_value_free [20:05:51]json_value_free done [20:05:51]process_json_proto returns [20:05:51]Send response to host [20:05:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52658,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [20:05:51]free response buf [20:05:51]execute_script done [20:05:51]execute_script returns [20:05:51]free content buf [20:05:51]Sock 7.Close socket [20:05:51]Sock 7.Thread stoped [20:05:55]OFD Sender: No OFD packet to send [20:06:00]OFD Sender: No OFD packet to send [20:06:05]OFD Sender: No OFD packet to send [20:06:10]OFD Sender: No OFD packet to send [20:06:15]OFD Sender: No OFD packet to send [20:06:20]OFD Sender: No OFD packet to send [20:06:25]OFD Sender: No OFD packet to send [20:06:30]OFD Sender: No OFD packet to send [20:06:35]OFD Sender: No OFD packet to send [20:06:40]OFD Sender: No OFD packet to send [20:06:43]accept exits with 9 [20:06:43]New connection [20:06:43]New thread 3067293028 created [20:06:43]Thread 3067149668 joined [20:06:43]Waiting for new connection... [20:06:43] Sock 9.Parse request [20:06:43]Sock 9.Check first char [20:06:43]Sock 9.First char is OK [20:06:43]request: POST /json_proto HTTP/1.0 [20:06:43]Method: POST [20:06:43]URL: /json_proto [20:06:43]Method is POST - this is cgi request [20:06:43]url: /json_proto [20:06:43]query_string will be loaded in cgi processing [20:06:43]execute_cgi json_proto POST (null) [20:06:43]execute_cgi path=json_proto method=POST [20:06:43]POST find Content-Length [20:06:43]Host: 172.17.60.7:8080 [20:06:43]Content-Length: 798 [20:06:43]Content-Type: application/json [20:06:43] [20:06:43]POST finish read [20:06:43]Found Content-Length = 798 [20:06:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122790", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:06:43]execute_script... [20:06: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)122790", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:06:43]POST & json_proto [20:06:43]process_json_proto [20:06:43]json parsed OK: [20:06:43]protocol is kg_v1.0 [20:06:43]action value=close_receipt [20:06:43]process_action close_receipt [20:06:43]cmd_close_receipt [20:06:43]MH_GetDate [20:06:43]Write to MH i2c: F0 00 00 DD 09 D5 [20:06:43]Write i2c OK [20:06:43]MH_I2C_Read... [20:06:43]Read from MH i2c: F0 [20:06:43]MH_I2C_Read... [20:06:43]Read from MH i2c: F0 09 00 [20:06:43]MH_I2C_Read... [20:06:43]Read from MH i2c: F0 09 00 DD 09 00 D5 19 B9 66 63 9B 67 64 B4 [20:06:43]GetLastDocTimeStamp 1723406749 [20:06:43]current date 1723406805 [20:06:43]FM_GetShiftState [20:06:43]SAM_PROTO_GetShiftState [20:06:43]wFMCommunicate request_size=4 [20:06:43]MH_SAM_APDU [20:06:43]CAPDU: 80 13 01 00 [20:06:43]Write to MH i2c: E2 08 00 DE 09 80 13 01 00 00 00 00 00 64 [20:06:43]Write i2c OK [20:06:43]MH_I2C_Read... [20:06:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:06:43]Read from MH i2c: E2 [20:06:43]MH_I2C_Read... [20:06:43]Read from MH i2c: E2 0E 00 [20:06:43]MH_I2C_Read... [20:06:43]Read from MH i2c: E2 0E 00 DE 09 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 8D [20:06:43]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [20:06:43]wFMCommunicate OK [20:06:43]SAM_PROTO_GetShiftState done [20:06:43]FM_GetShiftState done [20:06:43]opened in 1723336186 [20:06:43]opened+sec_in_day 1723422586 [20:06:43]quantity*price = 6000 [20:06:43]sum+1 = 6001 [20:06:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 0.00 Безнал.: 60.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 70 11.08.2024 20:06 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52659 ФПД: 76704078454055 /tax-web-control/client/api/v1/ticket?date=20240811T200645&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52659&fm=76704078454055&tin=02508201610067®Number=0000000000090834&sum=6000 0 [20:06:44]StoreToDocumentArchive [20:06:44]shift 446 fd 52659 [20:06:44]save to /storage/0446/doc_00052659 [20:06:44]save last doc name /storage/0446/doc_00052659 to /storage/kkm_last_doc_name [20:06:44]save OK [20:06:44]Clear old archive folders... [20:06:44]ProcessDocumentItem done err = 0, tmpTLVsize=271 [20:06:44]tlvbuf is B6EFB130 [20:06:44]SAM_PROTO_ClearQueue [20:06:44]wFMCommunicate request_size=4 [20:06:44]MH_SAM_APDU [20:06:44]CAPDU: 80 09 00 00 [20:06:44]Write to MH i2c: E2 08 00 EB 09 80 09 00 00 00 00 00 00 66 [20:06:44]Write i2c OK [20:06:44]MH_I2C_Read... [20:06:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:06:44]Read from MH i2c: E2 [20:06:44]MH_I2C_Read... [20:06:44]Read from MH i2c: E2 03 00 [20:06:44]MH_I2C_Read... [20:06:44]Read from MH i2c: E2 03 00 EB 09 00 90 00 68 [20:06:44]RAPDU: 90 00 [20:06:44]wFMCommunicate OK [20:06:44]SAM_PROTO_ClearQueue done [20:06:44]KKMCreateOFDPacket [20:06:44]OFDProtocolAddRootSTLVToBuf [20:06:44]FM_MakeSignedData [20:06:44]FM_MakeSignedData [20:06:44]SAM_PROTO_SignData [20:06:44]wFMCommunicate request_size=4 [20:06:44]MH_SAM_APDU [20:06:44]CAPDU: 80 0D 01 02 [20:06:44]Write to MH i2c: E2 08 00 EC 09 80 0D 01 02 00 00 00 00 6E [20:06:44]Write i2c OK [20:06:44]MH_I2C_Read... [20:06:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:06:44]Read from MH i2c: E2 [20:06:44]MH_I2C_Read... [20:06:44]Read from MH i2c: E2 03 00 [20:06:44]MH_I2C_Read... [20:06:44]Read from MH i2c: E2 03 00 EC 09 00 90 00 69 [20:06:44]RAPDU: 90 00 [20:06:44]wFMCommunicate OK [20:06:44]wFMCommunicate request_size=255 [20:06:44]MH_SAM_APDU [20:06:44]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 D5 19 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 [20:06:44]Write to MH i2c: E2 02 01 ED 09 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 D5 19 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 AE [20:06:44]Write i2c OK [20:06:44]MH_I2C_Read... [20:06:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:06:45]Read from MH i2c: E2 [20:06:45]MH_I2C_Read... [20:06:45]Read from MH i2c: E2 03 00 [20:06:45]MH_I2C_Read... [20:06:45]Read from MH i2c: E2 03 00 ED 09 00 90 00 6A [20:06:45]RAPDU: 90 00 [20:06:45]wFMCommunicate OK [20:06:45]wFMCommunicate request_size=30 [20:06:45]MH_SAM_APDU [20:06:45]CAPDU: 80 0D 02 02 19 30 38 37 34 37 31 35 10 04 04 00 B3 CD 00 00 35 04 06 00 45 C3 0F 59 5D 27 [20:06:45]Write to MH i2c: E2 21 00 EE 09 80 0D 02 02 19 00 30 38 37 34 37 31 35 10 04 04 00 B3 CD 00 00 35 04 06 00 45 C3 0F 59 5D 27 00 00 DE [20:06:45]Write i2c OK [20:06:45]MH_I2C_Read... [20:06:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:06:45]Read from MH i2c: E2 [20:06:45]MH_I2C_Read... [20:06:45]Read from MH i2c: E2 03 00 [20:06:45]MH_I2C_Read... [20:06:45]Read from MH i2c: E2 03 00 EE 09 00 90 00 6B [20:06:45]RAPDU: 90 00 [20:06:45]wFMCommunicate OK [20:06:45]wFMCommunicate request_size=4 [20:06:45]MH_SAM_APDU [20:06:45]CAPDU: 80 0D 03 02 [20:06:45]Write to MH i2c: E2 08 00 EF 09 80 0D 03 02 00 00 00 00 73 [20:06:45]Write i2c OK [20:06:45]MH_I2C_Read... [20:06:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:06:45]Read from MH i2c: E2 [20:06:45]MH_I2C_Read... [20:06:45]Read from MH i2c: E2 0B 00 [20:06:45]MH_I2C_Read... [20:06:45]Read from MH i2c: E2 0B 00 EF 09 00 DB 55 FA 68 3E 48 05 A9 90 00 3A [20:06:45]RAPDU: DB 55 FA 68 3E 48 05 A9 90 00 [20:06:45]wFMCommunicate OK [20:06:45]SAM_PROTO_SignData done [20:06:45]FM_MakeSignedData done [20:06:45]CreateOFDProtocolMessage [20:06:45]wFMCommunicate request_size=4 [20:06:45]MH_SAM_APDU [20:06:45]CAPDU: 80 11 00 00 [20:06:45]Write to MH i2c: E2 08 00 F0 09 80 11 00 00 00 00 00 00 73 [20:06:45]Write i2c OK [20:06:45]MH_I2C_Read... [20:06:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:06:45]Read from MH i2c: E2 [20:06:45]MH_I2C_Read... [20:06:45]Read from MH i2c: E2 17 00 [20:06:45]MH_I2C_Read... [20:06:45]Read from MH i2c: E2 17 00 F0 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 C6 [20:06:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [20:06:45]wFMCommunicate OK [20:06:45]CreateOFDProtocolMessage done [20:06:45]OFDSenderStorePacket 52659 [20:06:45]StoreOFDPacket docnum=52659 [20:06:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 23 01 00 00 4B 9C 1B 01 AD 09 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 D5 19 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B3 CD 00 00 35 04 06 00 45 C3 0F 59 5D 27 DB 55 FA 68 3E 48 05 A9 [20:06:45]CheckFolder [20:06:45]dirname=/storage/ofd_packets [20:06:45]CheckFolder done [20:06:45]ProducePacketName [20:06:45]name=ofd_packets/00052659 [20:06:45]NVStorageSaveData ofd_packets/00052659 [20:06:45]File name is /storage/ofd_packets/00052659 [20:06:45]Write 321 bytes [20:06:45]NVStorageSaveData done [20:06:45]OFDSenderStorePacket done [20:06:45]KKMCreateOFDPacket done [20:06:45]NVStorageSaveData kkm_last_timestamp [20:06:45]File name is /storage/kkm_last_timestamp [20:06:45]Write 4 bytes [20:06:45]NVStorageSaveData done [20:06:45]ExternCall_PrintAddStr [20:06:45]wPrintStart [20:06:45]Write to MH i2c: 01 00 00 F1 09 FA [20:06:45]Write i2c OK [20:06:45]MH_I2C_Read... [20:06:45]Read from MH i2c: 01 [20:06:45]MH_I2C_Read... [20:06:45]Read from MH i2c: 01 07 00 [20:06:45]MH_I2C_Read... [20:06:45]Read from MH i2c: 01 07 00 F1 09 00 00 00 00 00 FF 0F 0F [20:06:45]RasterBufferAndPrint [20:06:45]line Счет N : (3)122790 [20:06:45]line ИНН: 02508201610067 [20:06:45]line Контрольно-Кассовый Чек [20:06:45]line ПРОДАЖА [20:06:45]line Товар: 4700000160204 [20:06:45]line Вода Легенда 1,5л [20:06:45]line 1.000 * 60.00 [20:06:45]line = 60.00 [20:06:45]line НДС 12% НСП 1% [20:06:45]line > о реализуемом товаре [20:06:45]line ИТОГО: 60.00 [20:06:45]line НСП 1% : 0.53 [20:06:45]line НДС 12% : 6.37 [20:06:45]line Наличными: 0.00 [20:06:45]line Безнал.: 60.00 [20:06:45]line Место: АЗС № 54 "Партнер Нефть" [20:06:45]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [20:06:45]line СНО: Общий режим [20:06:45]line Чек 70 11.08.2024 20:06 [20:06:45]line Смена: 446 ФФД: 1.0 [20:06:45]line ЗНМ: 0300000007 [20:06:45]line РНМ: 0000000000090834 [20:06:45]line Версия ККМ: 001 [20:06:45]line Платежная система: О! деньги [20:06:45]line ФМ: 0000000000874715 [20:06:45]line ФД: 52659 [20:06:45]line ФПД: 76704078454055 [20:06:45]line /tax-web-control/client/api/v1/ticket?date=20240811T200645&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52659&fm=76704078454055&tin=02508201610067®Number=0000000000090834&sum=6000 [20:06:45]line 0 [20:06:45]OFD Sender: Processing packet 52659 [packets to send 55, broken 54] [20:06:45]ProducePacketName [20:06:45]name=ofd_packets/00052659 [20:06:45]OFD Sender: To server: pG, [20:06:45]CommunicateWithHost lk.salyk.kg:30040 [20:06:45]ConnectInit lk.salyk.kg [20:06:45]written 0, free lines is 4095 [20:06:45]Connected sock=10 [20:06:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 23 01 00 00 4B 9C 1B 01 AD 09 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 D5 19 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B3 CD 00 00 35 04 06 00 45 C3 0F 59 5D 27 DB 55 FA 68 3E 48 05 A9 [20:06:45]Write to MH i2c: 01 00 00 1A 0A 24 [20:06:45]Write i2c OK [20:06:45]MH_I2C_Read... [20:06:45]Read from MH i2c: 01 [20:06:45]MH_I2C_Read... [20:06:45]Read from MH i2c: 01 07 00 [20:06:45]MH_I2C_Read... [20:06:45]Read from MH i2c: 01 07 00 1A 0A 00 00 00 00 00 E2 0C 19 [20:06:45]RasterBufferAndPrint [20:06:45]line [20:06:45]line [20:06:45]line [20:06:45]line [20:06:45]line [20:06:45]written 0, free lines is 3304 [20:06:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 CC 43 47 00 9A 47 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B3 CD 00 00 F4 03 04 00 6F C1 B8 66 B6 04 01 00 00 48 99 36 53 8E 34 AF 73 [20:06:45]CommunicateWithHost err = 0 [20:06:45]CheckOFDResponse [20:06:45]1017 (14) - 77093643461234 [20:06:45]1041 (16) - 0000000000874715 [20:06:45]1040 (4) - 52659 [20:06:45]1012 (4) - 11.08.2024 13:49 [20:06:45]1206 (1) - 0 [20:06:45]OFD Sender: Remove packet 52659 [20:06:45]ProducePacketName [20:06:45]name=ofd_packets/00052659 [20:06:45]NVStorageDeleteData [20:06:45]MH_Cut [20:06:45]Write to MH i2c: D1 01 00 21 0A 01 FD [20:06:45]Write i2c OK [20:06:45]MH_I2C_Read... [20:06:45]Read from MH i2c: D1 [20:06:45]MH_I2C_Read... [20:06:45]Read from MH i2c: D1 01 00 [20:06:45]MH_I2C_Read... [20:06:45]Read from MH i2c: D1 01 00 21 0A 00 FC [20:06:45]Write to MH i2c: 01 00 00 22 0A 2C [20:06:45]Write i2c OK [20:06:45]MH_I2C_Read... [20:06:46]OFD Sender: No OFD packet to send [20:06:46]*** Cut start [20:06:46]*** Purtial cut [20:06:46]*** Stage 1: CUTSNS_PIN = 1 [20:06:47]Read from MH i2c: 01 [20:06:47]MH_I2C_Read... [20:06:47]*** Stop cut motor [20:06:47]*** Cut end [20:06:47]Read from MH i2c: 01 07 00 [20:06:47]MH_I2C_Read... [20:06:47]Read from MH i2c: 01 07 00 22 0A 00 00 00 00 00 FF 0F 41 [20:06:47]process_action close_receipt done [20:06:47]requested_data is exist [20:06:47]produce_requested_data [20:06:47]requested_item fm.sn is exist - process it [20:06:47]wFMCommunicate request_size=4 [20:06:47]MH_SAM_APDU [20:06:47]CAPDU: 80 11 00 00 [20:06:47]Write to MH i2c: E2 08 00 23 0A 80 11 00 00 00 00 00 00 A7 [20:06:47]Write i2c OK [20:06:47]MH_I2C_Read... [20:06:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:06:47]Read from MH i2c: E2 [20:06:47]MH_I2C_Read... [20:06:47]Read from MH i2c: E2 17 00 [20:06:47]MH_I2C_Read... [20:06:47]Read from MH i2c: E2 17 00 23 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 FA [20:06:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [20:06:47]wFMCommunicate OK [20:06:47]requested_item fd.num is exist - process it [20:06:47]SAM_PROTO_GetFieldsCounters [20:06:47]wFMCommunicate request_size=4 [20:06:47]MH_SAM_APDU [20:06:47]CAPDU: 80 13 00 00 [20:06:47]Write to MH i2c: E2 08 00 24 0A 80 13 00 00 00 00 00 00 AA [20:06:47]Write i2c OK [20:06:47]MH_I2C_Read... [20:06:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:06:47]Read from MH i2c: E2 [20:06:47]MH_I2C_Read... [20:06:47]Read from MH i2c: E2 62 00 [20:06:47]MH_I2C_Read... [20:06:47]Read from MH i2c: E2 62 00 24 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B3 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 DB [20:06:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B3 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:06:47]wFMCommunicate OK [20:06:47]SAM_PROTO_GetFieldsCounters done [20:06:47]requested_item shift.num is exist - process it [20:06:47]requested_item shift.opened is exist - process it [20:06:47]req_shift_opened [20:06:47]FM_GetShiftState [20:06:47]SAM_PROTO_GetShiftState [20:06:47]wFMCommunicate request_size=4 [20:06:47]MH_SAM_APDU [20:06:47]CAPDU: 80 13 01 00 [20:06:47]Write to MH i2c: E2 08 00 25 0A 80 13 01 00 00 00 00 00 AC [20:06:47]Write i2c OK [20:06:47]MH_I2C_Read... [20:06:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:06:47]Read from MH i2c: E2 [20:06:47]MH_I2C_Read... [20:06:47]Read from MH i2c: E2 0E 00 [20:06:47]MH_I2C_Read... [20:06:47]Read from MH i2c: E2 0E 00 25 0A 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 D5 [20:06:47]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [20:06:47]wFMCommunicate OK [20:06:47]SAM_PROTO_GetShiftState done [20:06:47]FM_GetShiftState done [20:06:47]req_shift_opened done [20:06:47]requested_item shift.open_date is exist - process it [20:06:47]req_shift_open_date [20:06:47]req_shift_open_date done [20:06:47]produce_requested_data done [20:06:47]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52659,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [20:06:47]process_action_free close_receipt [20:06:47]json_value_free [20:06:47]json_value_free done [20:06:47]process_json_proto returns [20:06:47]Send response to host [20:06:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52659,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [20:06:47]free response buf [20:06:47]execute_script done [20:06:47]execute_script returns [20:06:47]free content buf [20:06:47]Sock 9.Close socket [20:06:47]Sock 9.Thread stoped [20:06:51]OFD Sender: No OFD packet to send [20:06:56]OFD Sender: No OFD packet to send [20:07:01]OFD Sender: No OFD packet to send [20:07:06]OFD Sender: No OFD packet to send [20:07:11]OFD Sender: No OFD packet to send [20:07:16]OFD Sender: No OFD packet to send [20:07:21]OFD Sender: No OFD packet to send [20:07:26]OFD Sender: No OFD packet to send [20:07:31]OFD Sender: No OFD packet to send [20:07:36]OFD Sender: No OFD packet to send [20:07:41]OFD Sender: No OFD packet to send [20:07:46]OFD Sender: No OFD packet to send [20:07:51]OFD Sender: No OFD packet to send [20:07:56]OFD Sender: No OFD packet to send [20:08:01]OFD Sender: No OFD packet to send [20:08:06]OFD Sender: No OFD packet to send [20:08:11]OFD Sender: No OFD packet to send [20:08:16]OFD Sender: No OFD packet to send [20:08:21]OFD Sender: No OFD packet to send [20:08:26]OFD Sender: No OFD packet to send [20:08:31]OFD Sender: No OFD packet to send [20:08:36]OFD Sender: No OFD packet to send [20:08:41]OFD Sender: No OFD packet to send [20:08:46]OFD Sender: No OFD packet to send [20:08:51]OFD Sender: No OFD packet to send [20:08:56]OFD Sender: No OFD packet to send [20:09:01]OFD Sender: No OFD packet to send [20:09:06]OFD Sender: No OFD packet to send [20:09:11]OFD Sender: No OFD packet to send [20:09:16]OFD Sender: No OFD packet to send [20:09:21]OFD Sender: No OFD packet to send [20:09:26]OFD Sender: No OFD packet to send [20:09:31]OFD Sender: No OFD packet to send [20:09:36]OFD Sender: No OFD packet to send [20:09:41]OFD Sender: No OFD packet to send [20:09:46]OFD Sender: No OFD packet to send [20:09:51]OFD Sender: No OFD packet to send [20:09:56]OFD Sender: No OFD packet to send [20:10:01]OFD Sender: No OFD packet to send [20:10:06]OFD Sender: No OFD packet to send [20:10:11]OFD Sender: No OFD packet to send [20:10:16]OFD Sender: No OFD packet to send [20:10:21]OFD Sender: No OFD packet to send [20:10:26]OFD Sender: No OFD packet to send [20:10:31]OFD Sender: No OFD packet to send [20:10:36]OFD Sender: No OFD packet to send [20:10:41]OFD Sender: No OFD packet to send [20:10:46]OFD Sender: No OFD packet to send [20:10:51]OFD Sender: No OFD packet to send [20:10:56]OFD Sender: No OFD packet to send [20:11:01]OFD Sender: No OFD packet to send [20:11:06]OFD Sender: No OFD packet to send [20:11:11]OFD Sender: No OFD packet to send [20:11:16]OFD Sender: No OFD packet to send [20:11:21]OFD Sender: No OFD packet to send [20:11:26]OFD Sender: No OFD packet to send [20:11:31]OFD Sender: No OFD packet to send [20:11:36]OFD Sender: No OFD packet to send [20:11:41]OFD Sender: No OFD packet to send [20:11:46]OFD Sender: No OFD packet to send [20:11:51]OFD Sender: No OFD packet to send [20:11:56]OFD Sender: No OFD packet to send [20:12:01]OFD Sender: No OFD packet to send [20:12:06]OFD Sender: No OFD packet to send [20:12:11]OFD Sender: No OFD packet to send [20:12:16]OFD Sender: No OFD packet to send [20:12:21]OFD Sender: No OFD packet to send [20:12:26]OFD Sender: No OFD packet to send [20:12:31]OFD Sender: No OFD packet to send [20:12:36]OFD Sender: No OFD packet to send [20:12:41]OFD Sender: No OFD packet to send [20:12:46]OFD Sender: No OFD packet to send [20:12:51]OFD Sender: No OFD packet to send [20:12:56]OFD Sender: No OFD packet to send [20:13:01]OFD Sender: No OFD packet to send [20:13:06]OFD Sender: No OFD packet to send [20:13:11]OFD Sender: No OFD packet to send [20:13:16]OFD Sender: No OFD packet to send [20:13:21]OFD Sender: No OFD packet to send [20:13:31]OFD Sender: No OFD packet to send [20:13:36]OFD Sender: No OFD packet to send [20:13:41]OFD Sender: No OFD packet to send [20:13:46]OFD Sender: No OFD packet to send [20:13:51]OFD Sender: No OFD packet to send [20:13:56]OFD Sender: No OFD packet to send [20:14:01]OFD Sender: No OFD packet to send [20:14:06]OFD Sender: No OFD packet to send [20:14:11]OFD Sender: No OFD packet to send [20:14:16]OFD Sender: No OFD packet to send [20:14:21]OFD Sender: No OFD packet to send [20:14:26]OFD Sender: No OFD packet to send [20:14:31]OFD Sender: No OFD packet to send [20:14:36]OFD Sender: No OFD packet to send [20:14:41]OFD Sender: No OFD packet to send [20:14:46]OFD Sender: No OFD packet to send [20:14:51]OFD Sender: No OFD packet to send [20:14:56]OFD Sender: No OFD packet to send [20:15:01]OFD Sender: No OFD packet to send [20:15:06]OFD Sender: No OFD packet to send [20:15:11]OFD Sender: No OFD packet to send [20:15:16]OFD Sender: No OFD packet to send [20:15:21]OFD Sender: No OFD packet to send [20:15:26]OFD Sender: No OFD packet to send [20:15:31]OFD Sender: No OFD packet to send [20:15:36]OFD Sender: No OFD packet to send [20:15:40]ConnectInit Can't connect to host [20:15:41]OFD Sender: No OFD packet to send [20:15:46]OFD Sender: No OFD packet to send [20:15:51]OFD Sender: No OFD packet to send [20:15:57]OFD Sender: No OFD packet to send [20:16:02]OFD Sender: No OFD packet to send [20:16:07]OFD Sender: No OFD packet to send [20:16:12]OFD Sender: No OFD packet to send [20:16:17]OFD Sender: No OFD packet to send [20:16:22]OFD Sender: No OFD packet to send [20:16:27]OFD Sender: No OFD packet to send [20:16:32]OFD Sender: No OFD packet to send [20:16:37]OFD Sender: No OFD packet to send [20:16:42]OFD Sender: No OFD packet to send [20:16:47]OFD Sender: No OFD packet to send [20:16:52]OFD Sender: No OFD packet to send [20:16:57]OFD Sender: No OFD packet to send [20:17:02]OFD Sender: No OFD packet to send [20:17:07]OFD Sender: No OFD packet to send [20:17:12]OFD Sender: No OFD packet to send [20:17:17]OFD Sender: No OFD packet to send [20:17:22]OFD Sender: No OFD packet to send [20:17:27]OFD Sender: No OFD packet to send [20:17:32]OFD Sender: No OFD packet to send [20:17:37]OFD Sender: No OFD packet to send [20:17:42]OFD Sender: No OFD packet to send [20:17:47]OFD Sender: No OFD packet to send [20:17:52]OFD Sender: No OFD packet to send [20:17:57]OFD Sender: No OFD packet to send [20:18:02]OFD Sender: No OFD packet to send [20:18:07]OFD Sender: No OFD packet to send [20:18:12]OFD Sender: No OFD packet to send [20:18:17]OFD Sender: No OFD packet to send [20:18:22]OFD Sender: No OFD packet to send [20:18:27]OFD Sender: No OFD packet to send [20:18:32]OFD Sender: No OFD packet to send [20:18:37]OFD Sender: No OFD packet to send [20:18:42]OFD Sender: No OFD packet to send [20:18:44]accept exits with 7 [20:18:44]New connection [20:18:44]New thread 3067149668 created [20:18:44]Thread 3067293028 joined [20:18:44]Waiting for new connection... [20:18:44] Sock 7.Parse request [20:18:44]Sock 7.Check first char [20:18:44]Sock 7.First char is OK [20:18:44]request: POST /json_proto HTTP/1.0 [20:18:44]Method: POST [20:18:44]URL: /json_proto [20:18:44]Method is POST - this is cgi request [20:18:44]url: /json_proto [20:18:44]query_string will be loaded in cgi processing [20:18:44]execute_cgi json_proto POST (null) [20:18:44]execute_cgi path=json_proto method=POST [20:18:44]POST find Content-Length [20:18:44]Host: 172.17.60.7:8080 [20:18:44]Content-Length: 1167 [20:18:44]Content-Type: application/json [20:18:44] [20:18:44]POST finish read [20:18:44]Found Content-Length = 1167 [20:18:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122791", "tax_sys" : 0, "items" : [ { "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 90.00, "quantity" : 4.000, "sum" : 360.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032760017", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043C\u044F\u0441\u043E110\u0433", "price" : 65.00, "quantity" : 4.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 620.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:18:44]execute_script... [20:18:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122791", "tax_sys" : 0, "items" : [ { "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 90.00, "quantity" : 4.000, "sum" : 360.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032760017", "name": "\u0421\u043B\u043E\u0439\u043A\u0430 DC \u0442\u0440\u0435\u0443\u0433\u043E\u043B\u044C\u043D\u0430\u044F \u043C\u044F\u0441\u043E110\u0433", "price" : 65.00, "quantity" : 4.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 620.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:18:44]POST & json_proto [20:18:44]process_json_proto [20:18:44]json parsed OK: [20:18:44]protocol is kg_v1.0 [20:18:44]action value=close_receipt [20:18:44]process_action close_receipt [20:18:44]cmd_close_receipt [20:18:44]MH_GetDate [20:18:44]Write to MH i2c: F0 00 00 26 0A 1F [20:18:44]Write i2c OK [20:18:44]MH_I2C_Read... [20:18:44]Read from MH i2c: F0 [20:18:44]MH_I2C_Read... [20:18:44]Read from MH i2c: F0 09 00 [20:18:44]MH_I2C_Read... [20:18:44]Read from MH i2c: F0 09 00 26 0A 00 A6 1C B9 66 63 9B 67 64 D2 [20:18:44]GetLastDocTimeStamp 1723406805 [20:18:44]current date 1723407526 [20:18:44]FM_GetShiftState [20:18:44]SAM_PROTO_GetShiftState [20:18:44]wFMCommunicate request_size=4 [20:18:44]MH_SAM_APDU [20:18:44]CAPDU: 80 13 01 00 [20:18:44]Write to MH i2c: E2 08 00 27 0A 80 13 01 00 00 00 00 00 AE [20:18:44]Write i2c OK [20:18:44]MH_I2C_Read... [20:18:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:18:44]Read from MH i2c: E2 [20:18:44]MH_I2C_Read... [20:18:44]Read from MH i2c: E2 0E 00 [20:18:44]MH_I2C_Read... [20:18:44]Read from MH i2c: E2 0E 00 27 0A 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 D7 [20:18:44]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [20:18:44]wFMCommunicate OK [20:18:44]SAM_PROTO_GetShiftState done [20:18:44]FM_GetShiftState done [20:18:44]opened in 1723336186 [20:18:44]opened+sec_in_day 1723422586 [20:18:44]quantity*price = 36000 [20:18:44]sum+1 = 36001 [20:18:44]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000032760017 Слойка DC треугольная мясо110г 4.000 * 65.00 = 260.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 620.00 НСП 1% : 5.49 НДС 12% : 65.84 Наличными: 0.00 Безнал.: 620.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 71 11.08.2024 20:18 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874715 ФД: 52660 ФПД: 195430726650148 /tax-web-control/client/api/v1/ticket?date=20240811T201846&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52660&fm=195430726650148&tin=02508201610067®Number=0000000000090834&sum=62000 0 [20:18:45]StoreToDocumentArchive [20:18:45]shift 446 fd 52660 [20:18:45]save to /storage/0446/doc_00052660 [20:18:45]save last doc name /storage/0446/doc_00052660 to /storage/kkm_last_doc_name [20:18:45]save OK [20:18:45]Clear old archive folders... [20:18:45]ProcessDocumentItem done err = 0, tmpTLVsize=418 [20:18:45]tlvbuf is 0129C6E0 [20:18:45]SAM_PROTO_ClearQueue [20:18:45]wFMCommunicate request_size=4 [20:18:45]MH_SAM_APDU [20:18:45]CAPDU: 80 09 00 00 [20:18:45]Write to MH i2c: E2 08 00 34 0A 80 09 00 00 00 00 00 00 B0 [20:18:45]Write i2c OK [20:18:45]MH_I2C_Read... [20:18:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:18:45]Read from MH i2c: E2 [20:18:45]MH_I2C_Read... [20:18:45]Read from MH i2c: E2 03 00 [20:18:45]MH_I2C_Read... [20:18:45]Read from MH i2c: E2 03 00 34 0A 00 90 00 B2 [20:18:45]RAPDU: 90 00 [20:18:45]wFMCommunicate OK [20:18:45]SAM_PROTO_ClearQueue done [20:18:45]KKMCreateOFDPacket [20:18:45]OFDProtocolAddRootSTLVToBuf [20:18:45]FM_MakeSignedData [20:18:45]FM_MakeSignedData [20:18:45]SAM_PROTO_SignData [20:18:45]wFMCommunicate request_size=4 [20:18:45]MH_SAM_APDU [20:18:45]CAPDU: 80 0D 01 02 [20:18:45]Write to MH i2c: E2 08 00 35 0A 80 0D 01 02 00 00 00 00 B8 [20:18:45]Write i2c OK [20:18:45]MH_I2C_Read... [20:18:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:18:46]Read from MH i2c: E2 [20:18:46]MH_I2C_Read... [20:18:46]Read from MH i2c: E2 03 00 [20:18:46]MH_I2C_Read... [20:18:46]Read from MH i2c: E2 03 00 35 0A 00 90 00 B3 [20:18:46]RAPDU: 90 00 [20:18:46]wFMCommunicate OK [20:18:46]wFMCommunicate request_size=255 [20:18:46]MH_SAM_APDU [20:18:46]CAPDU: 80 0D 02 02 FA 03 00 A2 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 A0 8C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 31 31 30 D0 B3 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 [20:18:46]Write to MH i2c: E2 02 01 36 0A 80 0D 02 02 FA 00 03 00 A2 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 A0 8C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 31 31 30 D0 B3 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 00 54 [20:18:46]Write i2c OK [20:18:46]MH_I2C_Read... [20:18:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:18:46]Read from MH i2c: E2 [20:18:46]MH_I2C_Read... [20:18:46]Read from MH i2c: E2 03 00 [20:18:46]MH_I2C_Read... [20:18:46]Read from MH i2c: E2 03 00 36 0A 00 90 00 B4 [20:18:46]RAPDU: 90 00 [20:18:46]wFMCommunicate OK [20:18:46]wFMCommunicate request_size=177 [20:18:46]MH_SAM_APDU [20:18:46]CAPDU: 80 0D 02 02 AC 00 01 BC 04 01 00 01 FC 03 06 00 30 F2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 19 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 F2 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 A6 1C B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B4 CD 00 00 35 04 06 00 B1 BE 43 0A 49 24 [20:18:46]Write to MH i2c: E2 B4 00 37 0A 80 0D 02 02 AC 00 00 01 BC 04 01 00 01 FC 03 06 00 30 F2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 19 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 F2 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 A6 1C B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B4 CD 00 00 35 04 06 00 B1 BE 43 0A 49 24 00 00 E4 [20:18:46]Write i2c OK [20:18:46]MH_I2C_Read... [20:18:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:18:46]Read from MH i2c: E2 [20:18:46]MH_I2C_Read... [20:18:46]Read from MH i2c: E2 03 00 [20:18:46]MH_I2C_Read... [20:18:46]Read from MH i2c: E2 03 00 37 0A 00 90 00 B5 [20:18:46]RAPDU: 90 00 [20:18:46]wFMCommunicate OK [20:18:46]wFMCommunicate request_size=4 [20:18:46]MH_SAM_APDU [20:18:46]CAPDU: 80 0D 03 02 [20:18:46]Write to MH i2c: E2 08 00 38 0A 80 0D 03 02 00 00 00 00 BD [20:18:46]Write i2c OK [20:18:46]MH_I2C_Read... [20:18:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:18:46]Read from MH i2c: E2 [20:18:46]MH_I2C_Read... [20:18:46]Read from MH i2c: E2 0B 00 [20:18:46]MH_I2C_Read... [20:18:46]Read from MH i2c: E2 0B 00 38 0A 00 30 EB 1A BC 0D F7 70 63 90 00 86 [20:18:46]RAPDU: 30 EB 1A BC 0D F7 70 63 90 00 [20:18:46]wFMCommunicate OK [20:18:46]SAM_PROTO_SignData done [20:18:46]FM_MakeSignedData done [20:18:46]CreateOFDProtocolMessage [20:18:46]wFMCommunicate request_size=4 [20:18:46]MH_SAM_APDU [20:18:46]CAPDU: 80 11 00 00 [20:18:46]Write to MH i2c: E2 08 00 39 0A 80 11 00 00 00 00 00 00 BD [20:18:46]Write i2c OK [20:18:46]MH_I2C_Read... [20:18:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:18:46]Read from MH i2c: E2 [20:18:46]MH_I2C_Read... [20:18:46]Read from MH i2c: E2 17 00 [20:18:46]MH_I2C_Read... [20:18:46]Read from MH i2c: E2 17 00 39 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 10 [20:18:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [20:18:46]wFMCommunicate OK [20:18:46]CreateOFDProtocolMessage done [20:18:46]OFDSenderStorePacket 52660 [20:18:46]StoreOFDPacket docnum=52660 [20:18:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 B6 01 00 00 04 45 AE 01 02 93 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 A0 8C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 31 31 30 D0 B3 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 F2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 19 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 F2 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 A6 1C B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B4 CD 00 00 35 04 06 00 B1 BE 43 0A 49 24 30 EB 1A BC 0D F7 70 63 [20:18:46]CheckFolder [20:18:46]dirname=/storage/ofd_packets [20:18:46]CheckFolder done [20:18:46]ProducePacketName [20:18:46]name=ofd_packets/00052660 [20:18:46]NVStorageSaveData ofd_packets/00052660 [20:18:46]File name is /storage/ofd_packets/00052660 [20:18:46]Write 468 bytes [20:18:46]NVStorageSaveData done [20:18:46]OFDSenderStorePacket done [20:18:46]KKMCreateOFDPacket done [20:18:46]NVStorageSaveData kkm_last_timestamp [20:18:46]File name is /storage/kkm_last_timestamp [20:18:46]Write 4 bytes [20:18:46]NVStorageSaveData done [20:18:46]ExternCall_PrintAddStr [20:18:46]wPrintStart [20:18:46]Write to MH i2c: 01 00 00 3A 0A 44 [20:18:46]Write i2c OK [20:18:46]MH_I2C_Read... [20:18:46]Read from MH i2c: 01 [20:18:46]MH_I2C_Read... [20:18:46]Read from MH i2c: 01 07 00 [20:18:46]MH_I2C_Read... [20:18:46]Read from MH i2c: 01 07 00 3A 0A 00 00 00 00 00 FF 0F 59 [20:18:46]RasterBufferAndPrint [20:18:46]line Счет N : (3)122791 [20:18:46]line ИНН: 02508201610067 [20:18:46]line Контрольно-Кассовый Чек [20:18:46]line ПРОДАЖА [20:18:46]line Товар: 4870022003312 [20:18:46]line Gorilla эн нап манго-кокос 0,45 ж/б [20:18:46]line 4.000 * 90.00 [20:18:46]line = 360.00 [20:18:46]line НДС 12% НСП 1% [20:18:46]line > о реализуемом товаре [20:18:46]line Товар: 2000032760017 [20:18:46]line Слойка DC треугольная мясо110г [20:18:46]line 4.000 * 65.00 [20:18:46]line = 260.00 [20:18:46]line НДС 12% НСП 1% [20:18:46]line > о реализуемом товаре [20:18:46]line ИТОГО: 620.00 [20:18:46]line НСП 1% : 5.49 [20:18:46]line НДС 12% : 65.84 [20:18:46]line Наличными: 0.00 [20:18:46]line Безнал.: 620.00 [20:18:46]line Место: АЗС № 54 "Партнер Нефть" [20:18:46]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [20:18:46]line СНО: Общий режим [20:18:46]line Чек 71 11.08.2024 20:18 [20:18:46]line Смена: 446 ФФД: 1.0 [20:18:46]line ЗНМ: 0300000007 [20:18:46]line РНМ: 0000000000090834 [20:18:46]line Версия ККМ: 001 [20:18:46]line Платежная система: Бакай Банк [20:18:46]line ФМ: 0000000000874715 [20:18:46]line ФД: 52660 [20:18:46]line ФПД: 195430726650148 [20:18:46]line /tax-web-control/client/api/v1/ticket?date=20240811T201846&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52660&fm=195430726650148&tin=02508201610067®Number=0000000000090834&sum=62000 [20:18:46]line 0 [20:18:46]written 0, free lines is 4095 [20:18:46]OFD Sender: Processing packet 52660 [packets to send 55, broken 54] [20:18:46]ProducePacketName [20:18:46]name=ofd_packets/00052660 [20:18:46]OFD Sender: To server: pG, [20:18:46]CommunicateWithHost lk.salyk.kg:30040 [20:18:46]ConnectInit lk.salyk.kg [20:18:47]Connected sock=10 [20:18:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 B6 01 00 00 04 45 AE 01 02 93 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 A0 8C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 32 30 30 30 30 33 32 37 36 30 30 31 37 06 04 34 00 D0 A1 D0 BB D0 BE D0 B9 D0 BA D0 B0 20 44 43 20 D1 82 D1 80 D0 B5 D1 83 D0 B3 D0 BE D0 BB D1 8C D0 BD D0 B0 D1 8F 20 D0 BC D1 8F D1 81 D0 BE 31 31 30 D0 B3 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 F2 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 19 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 30 F2 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 A6 1C B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B4 CD 00 00 35 04 06 00 B1 BE 43 0A 49 24 30 EB 1A BC 0D F7 70 63 [20:18:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 68 2E 47 00 60 1A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B4 CD 00 00 F4 03 04 00 41 C4 B8 66 B6 04 01 00 00 D0 60 6A 4E D1 9C 8B 0D [20:18:47]CommunicateWithHost err = 0 [20:18:47]CheckOFDResponse [20:18:47]1017 (14) - 77093643461234 [20:18:47]1041 (16) - 0000000000874715 [20:18:47]1040 (4) - 52660 [20:18:47]1012 (4) - 11.08.2024 14:01 [20:18:47]1206 (1) - 0 [20:18:47]OFD Sender: Remove packet 52660 [20:18:47]ProducePacketName [20:18:47]name=ofd_packets/00052660 [20:18:47]NVStorageDeleteData [20:18:47]Write to MH i2c: 01 00 00 6B 0A 75 [20:18:47]Write i2c OK [20:18:47]MH_I2C_Read... [20:18:47]Read from MH i2c: 01 [20:18:47]MH_I2C_Read... [20:18:47]Read from MH i2c: 01 07 00 [20:18:47]MH_I2C_Read... [20:18:47]Read from MH i2c: 01 07 00 6B 0A 00 00 00 00 00 6B 0C F3 [20:18:47]RasterBufferAndPrint [20:18:47]line [20:18:47]line [20:18:47]line [20:18:47]line [20:18:47]line [20:18:47]written 0, free lines is 3184 [20:18:47]MH_Cut [20:18:47]Write to MH i2c: D1 01 00 72 0A 01 4E [20:18:47]Write i2c OK [20:18:47]MH_I2C_Read... [20:18:47]Read from MH i2c: D1 [20:18:47]MH_I2C_Read... [20:18:47]Read from MH i2c: D1 01 00 [20:18:47]MH_I2C_Read... [20:18:47]Read from MH i2c: D1 01 00 72 0A 00 4D [20:18:47]Write to MH i2c: 01 00 00 73 0A 7D [20:18:47]Write i2c OK [20:18:47]MH_I2C_Read... [20:18:47]OFD Sender: No OFD packet to send [20:18:48]*** Cut start [20:18:48]*** Purtial cut [20:18:48]*** Stage 1: CUTSNS_PIN = 1 [20:18:48]Read from MH i2c: 01 [20:18:48]MH_I2C_Read... [20:18:48]*** Stop cut motor [20:18:48]*** Cut end [20:18:48]Read from MH i2c: 01 07 00 [20:18:48]MH_I2C_Read... [20:18:48]Read from MH i2c: 01 07 00 73 0A 00 00 00 00 00 FF 0F 92 [20:18:48]process_action close_receipt done [20:18:48]requested_data is exist [20:18:48]produce_requested_data [20:18:48]requested_item fm.sn is exist - process it [20:18:48]wFMCommunicate request_size=4 [20:18:48]MH_SAM_APDU [20:18:48]CAPDU: 80 11 00 00 [20:18:48]Write to MH i2c: E2 08 00 74 0A 80 11 00 00 00 00 00 00 F8 [20:18:48]Write i2c OK [20:18:48]MH_I2C_Read... [20:18:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:18:48]Read from MH i2c: E2 [20:18:48]MH_I2C_Read... [20:18:48]Read from MH i2c: E2 17 00 [20:18:48]MH_I2C_Read... [20:18:48]Read from MH i2c: E2 17 00 74 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 4B [20:18:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [20:18:48]wFMCommunicate OK [20:18:48]requested_item fd.num is exist - process it [20:18:48]SAM_PROTO_GetFieldsCounters [20:18:48]wFMCommunicate request_size=4 [20:18:48]MH_SAM_APDU [20:18:48]CAPDU: 80 13 00 00 [20:18:48]Write to MH i2c: E2 08 00 75 0A 80 13 00 00 00 00 00 00 FB [20:18:48]Write i2c OK [20:18:48]MH_I2C_Read... [20:18:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:18:48]Read from MH i2c: E2 [20:18:48]MH_I2C_Read... [20:18:48]Read from MH i2c: E2 62 00 [20:18:48]MH_I2C_Read... [20:18:48]Read from MH i2c: E2 62 00 75 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B4 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 30 [20:18: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B4 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:18:48]wFMCommunicate OK [20:18:48]SAM_PROTO_GetFieldsCounters done [20:18:48]requested_item shift.num is exist - process it [20:18:48]requested_item shift.opened is exist - process it [20:18:48]req_shift_opened [20:18:48]FM_GetShiftState [20:18:48]SAM_PROTO_GetShiftState [20:18:48]wFMCommunicate request_size=4 [20:18:48]MH_SAM_APDU [20:18:48]CAPDU: 80 13 01 00 [20:18:48]Write to MH i2c: E2 08 00 76 0A 80 13 01 00 00 00 00 00 FD [20:18:48]Write i2c OK [20:18:48]MH_I2C_Read... [20:18:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:18:48]Read from MH i2c: E2 [20:18:48]MH_I2C_Read... [20:18:48]Read from MH i2c: E2 0E 00 [20:18:48]MH_I2C_Read... [20:18:48]Read from MH i2c: E2 0E 00 76 0A 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 26 [20:18:48]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [20:18:48]wFMCommunicate OK [20:18:48]SAM_PROTO_GetShiftState done [20:18:48]FM_GetShiftState done [20:18:48]req_shift_opened done [20:18:48]requested_item shift.open_date is exist - process it [20:18:48]req_shift_open_date [20:18:48]req_shift_open_date done [20:18:48]produce_requested_data done [20:18:48]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52660,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [20:18:48]process_action_free close_receipt [20:18:48]json_value_free [20:18:48]json_value_free done [20:18:48]process_json_proto returns [20:18:48]Send response to host [20:18:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52660,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [20:18:48]free response buf [20:18:48]execute_script done [20:18:48]execute_script returns [20:18:48]free content buf [20:18:48]Sock 7.Close socket [20:18:48]Sock 7.Thread stoped [20:18:52]OFD Sender: No OFD packet to send [20:18:57]OFD Sender: No OFD packet to send [20:19:02]OFD Sender: No OFD packet to send [20:19:07]OFD Sender: No OFD packet to send [20:19:12]OFD Sender: No OFD packet to send [20:19:17]OFD Sender: No OFD packet to send [20:19:22]OFD Sender: No OFD packet to send [20:19:27]OFD Sender: No OFD packet to send [20:19:32]OFD Sender: No OFD packet to send [20:19:37]OFD Sender: No OFD packet to send [20:19:42]OFD Sender: No OFD packet to send [20:19:48]OFD Sender: No OFD packet to send [20:19:53]OFD Sender: No OFD packet to send [20:19:58]OFD Sender: No OFD packet to send [20:20:03]OFD Sender: No OFD packet to send [20:20:08]OFD Sender: No OFD packet to send [20:20:13]OFD Sender: No OFD packet to send [20:20:18]OFD Sender: No OFD packet to send [20:20:23]OFD Sender: No OFD packet to send [20:20:28]OFD Sender: No OFD packet to send [20:20:33]OFD Sender: No OFD packet to send [20:20:38]OFD Sender: No OFD packet to send [20:20:43]OFD Sender: No OFD packet to send [20:20:48]OFD Sender: No OFD packet to send [20:20:53]OFD Sender: No OFD packet to send [20:20:58]OFD Sender: No OFD packet to send [20:21:03]OFD Sender: No OFD packet to send [20:21:08]OFD Sender: No OFD packet to send [20:21:13]OFD Sender: No OFD packet to send [20:21:18]OFD Sender: No OFD packet to send [20:21:23]OFD Sender: No OFD packet to send [20:21:28]OFD Sender: No OFD packet to send [20:21:33]OFD Sender: No OFD packet to send [20:21:38]OFD Sender: No OFD packet to send [20:21:43]OFD Sender: No OFD packet to send [20:21:48]OFD Sender: No OFD packet to send [20:21:53]OFD Sender: No OFD packet to send [20:21:58]OFD Sender: No OFD packet to send [20:22:03]OFD Sender: No OFD packet to send [20:22:08]OFD Sender: No OFD packet to send [20:22:13]OFD Sender: No OFD packet to send [20:22:18]OFD Sender: No OFD packet to send [20:22:23]OFD Sender: No OFD packet to send [20:22:28]OFD Sender: No OFD packet to send [20:22:33]OFD Sender: No OFD packet to send [20:22:38]OFD Sender: No OFD packet to send [20:22:43]OFD Sender: No OFD packet to send [20:22:48]OFD Sender: No OFD packet to send [20:22:53]OFD Sender: No OFD packet to send [20:22:58]OFD Sender: No OFD packet to send [20:23:03]OFD Sender: No OFD packet to send [20:23:08]OFD Sender: No OFD packet to send [20:23:13]OFD Sender: No OFD packet to send [20:23:18]OFD Sender: No OFD packet to send [20:23:23]OFD Sender: No OFD packet to send [20:23:28]OFD Sender: No OFD packet to send [20:23:33]OFD Sender: No OFD packet to send [20:23:38]OFD Sender: No OFD packet to send [20:23:43]OFD Sender: No OFD packet to send [20:23:48]OFD Sender: No OFD packet to send [20:23:53]OFD Sender: No OFD packet to send [20:23:58]OFD Sender: No OFD packet to send [20:24:03]OFD Sender: No OFD packet to send [20:24:08]OFD Sender: No OFD packet to send [20:24:13]OFD Sender: No OFD packet to send [20:24:18]OFD Sender: No OFD packet to send [20:24:23]OFD Sender: No OFD packet to send [20:24:28]OFD Sender: No OFD packet to send [20:24:33]OFD Sender: No OFD packet to send [20:24:38]OFD Sender: No OFD packet to send [20:24:43]OFD Sender: No OFD packet to send [20:24:48]OFD Sender: No OFD packet to send [20:24:53]OFD Sender: No OFD packet to send [20:24:58]OFD Sender: No OFD packet to send [20:25:03]OFD Sender: No OFD packet to send [20:25:08]OFD Sender: No OFD packet to send [20:25:13]OFD Sender: No OFD packet to send [20:25:18]OFD Sender: No OFD packet to send [20:25:23]OFD Sender: No OFD packet to send [20:25:28]OFD Sender: No OFD packet to send [20:25:33]OFD Sender: No OFD packet to send [20:25:38]OFD Sender: No OFD packet to send [20:25:43]OFD Sender: No OFD packet to send [20:25:48]OFD Sender: No OFD packet to send [20:25:53]OFD Sender: No OFD packet to send [20:25:58]OFD Sender: No OFD packet to send [20:26:03]OFD Sender: No OFD packet to send [20:26:08]OFD Sender: No OFD packet to send [20:26:13]OFD Sender: No OFD packet to send [20:26:18]OFD Sender: No OFD packet to send [20:26:23]OFD Sender: No OFD packet to send [20:26:28]OFD Sender: No OFD packet to send [20:26:33]OFD Sender: No OFD packet to send [20:26:38]OFD Sender: No OFD packet to send [20:26:43]OFD Sender: No OFD packet to send [20:26:48]OFD Sender: No OFD packet to send [20:26:53]OFD Sender: No OFD packet to send [20:26:58]OFD Sender: No OFD packet to send [20:27:03]OFD Sender: No OFD packet to send [20:27:08]OFD Sender: No OFD packet to send [20:27:13]OFD Sender: No OFD packet to send [20:27:18]OFD Sender: No OFD packet to send [20:27:23]OFD Sender: No OFD packet to send [20:27:28]OFD Sender: No OFD packet to send [20:27:33]OFD Sender: No OFD packet to send [20:27:38]OFD Sender: No OFD packet to send [20:27:43]OFD Sender: No OFD packet to send [20:27:48]OFD Sender: No OFD packet to send [20:27:53]OFD Sender: No OFD packet to send [20:27:58]OFD Sender: No OFD packet to send [20:28:03]OFD Sender: No OFD packet to send [20:28:08]OFD Sender: No OFD packet to send [20:28:13]OFD Sender: No OFD packet to send [20:28:18]OFD Sender: No OFD packet to send [20:28:23]OFD Sender: No OFD packet to send [20:28:28]OFD Sender: No OFD packet to send [20:28:33]OFD Sender: No OFD packet to send [20:28:38]OFD Sender: No OFD packet to send [20:28:43]OFD Sender: No OFD packet to send [20:28:48]OFD Sender: No OFD packet to send [20:28:53]OFD Sender: No OFD packet to send [20:28:58]OFD Sender: No OFD packet to send [20:29:03]OFD Sender: No OFD packet to send [20:29:08]OFD Sender: No OFD packet to send [20:29:13]OFD Sender: No OFD packet to send [20:29:18]OFD Sender: No OFD packet to send [20:29:23]OFD Sender: No OFD packet to send [20:29:28]OFD Sender: No OFD packet to send [20:29:33]OFD Sender: No OFD packet to send [20:29:38]OFD Sender: No OFD packet to send [20:29:43]OFD Sender: No OFD packet to send [20:29:48]OFD Sender: No OFD packet to send [20:29:53]OFD Sender: No OFD packet to send [20:29:58]OFD Sender: No OFD packet to send [20:30:03]OFD Sender: No OFD packet to send [20:30:08]OFD Sender: No OFD packet to send [20:30:13]OFD Sender: No OFD packet to send [20:30:18]OFD Sender: No OFD packet to send [20:30:23]OFD Sender: No OFD packet to send [20:30:28]OFD Sender: No OFD packet to send [20:30:33]OFD Sender: No OFD packet to send [20:30:38]OFD Sender: No OFD packet to send [20:30:43]OFD Sender: No OFD packet to send [20:30:48]OFD Sender: No OFD packet to send [20:30:53]OFD Sender: No OFD packet to send [20:30:58]OFD Sender: No OFD packet to send [20:31:03]OFD Sender: No OFD packet to send [20:31:08]OFD Sender: No OFD packet to send [20:31:13]OFD Sender: No OFD packet to send [20:31:18]OFD Sender: No OFD packet to send [20:31:23]OFD Sender: No OFD packet to send [20:31:28]OFD Sender: No OFD packet to send [20:31:33]OFD Sender: No OFD packet to send [20:31:38]OFD Sender: No OFD packet to send [20:31:43]OFD Sender: No OFD packet to send [20:31:48]OFD Sender: No OFD packet to send [20:31:53]OFD Sender: No OFD packet to send [20:31:58]OFD Sender: No OFD packet to send [20:32:03]OFD Sender: No OFD packet to send [20:32:08]OFD Sender: No OFD packet to send [20:32:13]OFD Sender: No OFD packet to send [20:32:18]OFD Sender: No OFD packet to send [20:32:23]OFD Sender: No OFD packet to send [20:32:28]OFD Sender: No OFD packet to send [20:32:33]OFD Sender: No OFD packet to send [20:32:38]OFD Sender: No OFD packet to send [20:32:43]OFD Sender: No OFD packet to send [20:32:48]OFD Sender: No OFD packet to send [20:32:53]OFD Sender: No OFD packet to send [20:32:58]OFD Sender: No OFD packet to send [20:33:03]OFD Sender: No OFD packet to send [20:33:08]OFD Sender: No OFD packet to send [20:33:13]OFD Sender: No OFD packet to send [20:33:18]OFD Sender: No OFD packet to send [20:33:23]OFD Sender: No OFD packet to send [20:33:28]OFD Sender: No OFD packet to send [20:33:33]OFD Sender: No OFD packet to send [20:33:38]OFD Sender: No OFD packet to send [20:33:43]OFD Sender: No OFD packet to send [20:33:48]OFD Sender: No OFD packet to send [20:33:53]OFD Sender: No OFD packet to send [20:33:58]OFD Sender: No OFD packet to send [20:34:03]OFD Sender: No OFD packet to send [20:34:08]OFD Sender: No OFD packet to send [20:34:13]OFD Sender: No OFD packet to send [20:34:18]OFD Sender: No OFD packet to send [20:34:23]OFD Sender: No OFD packet to send [20:34:28]OFD Sender: No OFD packet to send [20:34:33]OFD Sender: No OFD packet to send [20:34:38]OFD Sender: No OFD packet to send [20:34:43]OFD Sender: No OFD packet to send [20:34:48]OFD Sender: No OFD packet to send [20:34:53]OFD Sender: No OFD packet to send [20:34:58]OFD Sender: No OFD packet to send [20:35:03]OFD Sender: No OFD packet to send [20:35:08]OFD Sender: No OFD packet to send [20:35:13]OFD Sender: No OFD packet to send [20:35:18]OFD Sender: No OFD packet to send [20:35:23]OFD Sender: No OFD packet to send [20:35:28]OFD Sender: No OFD packet to send [20:35:33]OFD Sender: No OFD packet to send [20:35:38]OFD Sender: No OFD packet to send [20:35:43]OFD Sender: No OFD packet to send [20:35:48]OFD Sender: No OFD packet to send [20:35:53]OFD Sender: No OFD packet to send [20:35:58]OFD Sender: No OFD packet to send [20:36:03]OFD Sender: No OFD packet to send [20:36:08]OFD Sender: No OFD packet to send [20:36:13]OFD Sender: No OFD packet to send [20:36:18]OFD Sender: No OFD packet to send [20:36:23]OFD Sender: No OFD packet to send [20:36:28]OFD Sender: No OFD packet to send [20:36:33]OFD Sender: No OFD packet to send [20:36:38]OFD Sender: No OFD packet to send [20:36:43]OFD Sender: No OFD packet to send [20:36:48]OFD Sender: No OFD packet to send [20:36:53]OFD Sender: No OFD packet to send [20:36:58]OFD Sender: No OFD packet to send [20:37:03]OFD Sender: No OFD packet to send [20:37:08]OFD Sender: No OFD packet to send [20:37:13]OFD Sender: No OFD packet to send [20:37:18]OFD Sender: No OFD packet to send [20:37:23]OFD Sender: No OFD packet to send [20:37:28]OFD Sender: No OFD packet to send [20:37:34]OFD Sender: No OFD packet to send [20:37:39]OFD Sender: No OFD packet to send [20:37:44]OFD Sender: No OFD packet to send [20:37:49]OFD Sender: No OFD packet to send [20:37:54]OFD Sender: No OFD packet to send [20:37:59]OFD Sender: No OFD packet to send [20:38:04]OFD Sender: No OFD packet to send [20:38:09]OFD Sender: No OFD packet to send [20:38:14]OFD Sender: No OFD packet to send [20:38:19]OFD Sender: No OFD packet to send [20:38:24]OFD Sender: No OFD packet to send [20:38:29]OFD Sender: No OFD packet to send [20:38:34]OFD Sender: No OFD packet to send [20:38:39]OFD Sender: No OFD packet to send [20:38:44]OFD Sender: No OFD packet to send [20:38:49]OFD Sender: No OFD packet to send [20:38:54]OFD Sender: No OFD packet to send [20:38:59]OFD Sender: No OFD packet to send [20:39:04]OFD Sender: No OFD packet to send [20:39:09]OFD Sender: No OFD packet to send [20:39:14]OFD Sender: No OFD packet to send [20:39:19]OFD Sender: No OFD packet to send [20:39:24]OFD Sender: No OFD packet to send [20:39:29]OFD Sender: No OFD packet to send [20:39:34]OFD Sender: No OFD packet to send [20:39:39]OFD Sender: No OFD packet to send [20:39:44]OFD Sender: No OFD packet to send [20:39:49]OFD Sender: No OFD packet to send [20:39:54]OFD Sender: No OFD packet to send [20:39:59]OFD Sender: No OFD packet to send [20:40:04]OFD Sender: No OFD packet to send [20:40:09]OFD Sender: No OFD packet to send [20:40:14]OFD Sender: No OFD packet to send [20:40:19]OFD Sender: No OFD packet to send [20:40:24]OFD Sender: No OFD packet to send [20:40:29]OFD Sender: No OFD packet to send [20:40:34]OFD Sender: No OFD packet to send [20:40:39]OFD Sender: No OFD packet to send [20:40:44]OFD Sender: No OFD packet to send [20:40:49]OFD Sender: No OFD packet to send [20:40:54]OFD Sender: No OFD packet to send [20:40:59]OFD Sender: No OFD packet to send [20:41:04]OFD Sender: No OFD packet to send [20:41:09]OFD Sender: No OFD packet to send [20:41:14]OFD Sender: No OFD packet to send [20:41:19]OFD Sender: No OFD packet to send [20:41:24]OFD Sender: No OFD packet to send [20:41:29]OFD Sender: No OFD packet to send [20:41:32]accept exits with 9 [20:41:32]New connection [20:41:32]New thread 3067293028 created [20:41:32]Thread 3067149668 joined [20:41:32]Waiting for new connection... [20:41:32] Sock 9.Parse request [20:41:32]Sock 9.Check first char [20:41:32]Sock 9.First char is OK [20:41:32]request: POST /json_proto HTTP/1.0 [20:41:32]Method: POST [20:41:32]URL: /json_proto [20:41:32]Method is POST - this is cgi request [20:41:32]url: /json_proto [20:41:32]query_string will be loaded in cgi processing [20:41:32]execute_cgi json_proto POST (null) [20:41:32]execute_cgi path=json_proto method=POST [20:41:32]POST find Content-Length [20:41:32]Host: 172.17.60.7:8080 [20:41:32]Content-Length: 822 [20:41:32]Content-Type: application/json [20:41:32] [20:41:32]POST finish read [20:41:32]Found Content-Length = 822 [20:41:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122792", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:41:32]execute_script... [20:41:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122792", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:41:32]POST & json_proto [20:41:32]process_json_proto [20:41:32]json parsed OK: [20:41:32]protocol is kg_v1.0 [20:41:32]action value=close_receipt [20:41:32]process_action close_receipt [20:41:32]cmd_close_receipt [20:41:32]MH_GetDate [20:41:32]Write to MH i2c: F0 00 00 77 0A 70 [20:41:32]Write i2c OK [20:41:32]MH_I2C_Read... [20:41:32]Read from MH i2c: F0 [20:41:32]MH_I2C_Read... [20:41:32]Read from MH i2c: F0 09 00 [20:41:32]MH_I2C_Read... [20:41:32]Read from MH i2c: F0 09 00 77 0A 00 FE 21 B9 66 63 9B 67 64 80 [20:41:32]GetLastDocTimeStamp 1723407526 [20:41:32]current date 1723408894 [20:41:32]FM_GetShiftState [20:41:32]SAM_PROTO_GetShiftState [20:41:32]wFMCommunicate request_size=4 [20:41:32]MH_SAM_APDU [20:41:32]CAPDU: 80 13 01 00 [20:41:32]Write to MH i2c: E2 08 00 78 0A 80 13 01 00 00 00 00 00 FF [20:41:32]Write i2c OK [20:41:32]MH_I2C_Read... [20:41:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:41:32]Read from MH i2c: E2 [20:41:32]MH_I2C_Read... [20:41:32]Read from MH i2c: E2 0E 00 [20:41:32]MH_I2C_Read... [20:41:32]Read from MH i2c: E2 0E 00 78 0A 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 28 [20:41:32]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [20:41:32]wFMCommunicate OK [20:41:32]SAM_PROTO_GetShiftState done [20:41:32]FM_GetShiftState done [20:41:32]opened in 1723336186 [20:41:32]opened+sec_in_day 1723422586 [20:41:32]quantity*price = 19000 [20:41:32]sum+1 = 19001 [20:41:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 0.00 Безнал.: 190.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 72 11.08.2024 20:41 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52661 ФПД: 29253928960483 /tax-web-control/client/api/v1/ticket?date=20240811T204134&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52661&fm=29253928960483&tin=02508201610067®Number=0000000000090834&sum=19000 0 [20:41:33]StoreToDocumentArchive [20:41:33]shift 446 fd 52661 [20:41:33]save to /storage/0446/doc_00052661 [20:41:33]save last doc name /storage/0446/doc_00052661 to /storage/kkm_last_doc_name [20:41:33]save OK [20:41:33]Clear old archive folders... [20:41:33]ProcessDocumentItem done err = 0, tmpTLVsize=293 [20:41:33]tlvbuf is 01282930 [20:41:33]SAM_PROTO_ClearQueue [20:41:33]wFMCommunicate request_size=4 [20:41:33]MH_SAM_APDU [20:41:33]CAPDU: 80 09 00 00 [20:41:33]Write to MH i2c: E2 08 00 85 0A 80 09 00 00 00 00 00 00 01 [20:41:33]Write i2c OK [20:41:33]MH_I2C_Read... [20:41:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:41:33]Read from MH i2c: E2 [20:41:33]MH_I2C_Read... [20:41:33]Read from MH i2c: E2 03 00 [20:41:33]MH_I2C_Read... [20:41:33]Read from MH i2c: E2 03 00 85 0A 00 90 00 03 [20:41:33]RAPDU: 90 00 [20:41:33]wFMCommunicate OK [20:41:33]SAM_PROTO_ClearQueue done [20:41:33]KKMCreateOFDPacket [20:41:33]OFDProtocolAddRootSTLVToBuf [20:41:33]FM_MakeSignedData [20:41:33]FM_MakeSignedData [20:41:33]SAM_PROTO_SignData [20:41:33]wFMCommunicate request_size=4 [20:41:33]MH_SAM_APDU [20:41:33]CAPDU: 80 0D 01 02 [20:41:33]Write to MH i2c: E2 08 00 86 0A 80 0D 01 02 00 00 00 00 09 [20:41:33]Write i2c OK [20:41:33]MH_I2C_Read... [20:41:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:41:33]Read from MH i2c: E2 [20:41:33]MH_I2C_Read... [20:41:33]Read from MH i2c: E2 03 00 [20:41:33]MH_I2C_Read... [20:41:33]Read from MH i2c: E2 03 00 86 0A 00 90 00 04 [20:41:33]RAPDU: 90 00 [20:41:33]wFMCommunicate OK [20:41:33]wFMCommunicate request_size=255 [20:41:33]MH_SAM_APDU [20:41:33]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 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 FE 21 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [20:41:33]Write to MH i2c: E2 02 01 87 0A 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 FE 21 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 E6 [20:41:33]Write i2c OK [20:41:33]MH_I2C_Read... [20:41:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:41:34]Read from MH i2c: E2 [20:41:34]MH_I2C_Read... [20:41:34]Read from MH i2c: E2 03 00 [20:41:34]MH_I2C_Read... [20:41:34]Read from MH i2c: E2 03 00 87 0A 00 90 00 05 [20:41:34]RAPDU: 90 00 [20:41:34]wFMCommunicate OK [20:41:34]wFMCommunicate request_size=52 [20:41:34]MH_SAM_APDU [20:41:34]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B5 CD 00 00 35 04 06 00 1A 9B 36 0B 41 E3 [20:41:34]Write to MH i2c: E2 37 00 88 0A 80 0D 02 02 2F 00 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B5 CD 00 00 35 04 06 00 1A 9B 36 0B 41 E3 00 00 6A [20:41:34]Write i2c OK [20:41:34]MH_I2C_Read... [20:41:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:41:34]Read from MH i2c: E2 [20:41:34]MH_I2C_Read... [20:41:34]Read from MH i2c: E2 03 00 [20:41:34]MH_I2C_Read... [20:41:34]Read from MH i2c: E2 03 00 88 0A 00 90 00 06 [20:41:34]RAPDU: 90 00 [20:41:34]wFMCommunicate OK [20:41:34]wFMCommunicate request_size=4 [20:41:34]MH_SAM_APDU [20:41:34]CAPDU: 80 0D 03 02 [20:41:34]Write to MH i2c: E2 08 00 89 0A 80 0D 03 02 00 00 00 00 0E [20:41:34]Write i2c OK [20:41:34]MH_I2C_Read... [20:41:34]OFD Sender: No OFD packet to send [20:41:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:41:34]Read from MH i2c: E2 [20:41:34]MH_I2C_Read... [20:41:34]Read from MH i2c: E2 0B 00 [20:41:34]MH_I2C_Read... [20:41:34]Read from MH i2c: E2 0B 00 89 0A 00 CA 7C 23 C4 8F E5 88 7B 90 00 B3 [20:41:34]RAPDU: CA 7C 23 C4 8F E5 88 7B 90 00 [20:41:34]wFMCommunicate OK [20:41:34]SAM_PROTO_SignData done [20:41:34]FM_MakeSignedData done [20:41:34]CreateOFDProtocolMessage [20:41:34]wFMCommunicate request_size=4 [20:41:34]MH_SAM_APDU [20:41:34]CAPDU: 80 11 00 00 [20:41:34]Write to MH i2c: E2 08 00 8A 0A 80 11 00 00 00 00 00 00 0E [20:41:34]Write i2c OK [20:41:34]MH_I2C_Read... [20:41:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:41:34]Read from MH i2c: E2 [20:41:34]MH_I2C_Read... [20:41:34]Read from MH i2c: E2 17 00 [20:41:34]MH_I2C_Read... [20:41:34]Read from MH i2c: E2 17 00 8A 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 61 [20:41:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [20:41:34]wFMCommunicate OK [20:41:34]CreateOFDProtocolMessage done [20:41:34]OFDSenderStorePacket 52661 [20:41:34]StoreOFDPacket docnum=52661 [20:41:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 39 01 00 00 0E BE 31 01 7F 1C 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 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 FE 21 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B5 CD 00 00 35 04 06 00 1A 9B 36 0B 41 E3 CA 7C 23 C4 8F E5 88 7B [20:41:34]CheckFolder [20:41:34]dirname=/storage/ofd_packets [20:41:34]CheckFolder done [20:41:34]ProducePacketName [20:41:34]name=ofd_packets/00052661 [20:41:34]NVStorageSaveData ofd_packets/00052661 [20:41:34]File name is /storage/ofd_packets/00052661 [20:41:34]Write 343 bytes [20:41:34]NVStorageSaveData done [20:41:34]OFDSenderStorePacket done [20:41:34]KKMCreateOFDPacket done [20:41:34]NVStorageSaveData kkm_last_timestamp [20:41:34]File name is /storage/kkm_last_timestamp [20:41:34]Write 4 bytes [20:41:34]NVStorageSaveData done [20:41:34]ExternCall_PrintAddStr [20:41:34]wPrintStart [20:41:34]Write to MH i2c: 01 00 00 8B 0A 95 [20:41:34]Write i2c OK [20:41:34]MH_I2C_Read... [20:41:34]Read from MH i2c: 01 [20:41:34]MH_I2C_Read... [20:41:34]Read from MH i2c: 01 07 00 [20:41:34]MH_I2C_Read... [20:41:34]Read from MH i2c: 01 07 00 8B 0A 00 00 00 00 00 FF 0F AA [20:41:34]RasterBufferAndPrint [20:41:34]line Счет N : (3)122792 [20:41:34]line ИНН: 02508201610067 [20:41:34]line Контрольно-Кассовый Чек [20:41:34]line ПРОДАЖА [20:41:34]line Товар: 4700000480050 [20:41:34]line Напиток Nitro Energy эн green ж/б 0,45л [20:41:34]line 2.000 * 95.00 [20:41:34]line = 190.00 [20:41:34]line НДС 12% НСП 1% [20:41:34]line > о реализуемом товаре [20:41:34]line ИТОГО: 190.00 [20:41:34]line НСП 1% : 1.68 [20:41:34]line НДС 12% : 20.18 [20:41:34]line Наличными: 0.00 [20:41:34]line Безнал.: 190.00 [20:41:34]line Место: АЗС № 54 "Партнер Нефть" [20:41:34]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [20:41:34]line СНО: Общий режим [20:41:34]line Чек 72 11.08.2024 20:41 [20:41:34]line Смена: 446 ФФД: 1.0 [20:41:34]line ЗНМ: 0300000007 [20:41:34]line РНМ: 0000000000090834 [20:41:34]line Версия ККМ: 001 [20:41:34]line Платежная система: О! деньги [20:41:34]line ФМ: 0000000000874715 [20:41:34]line ФД: 52661 [20:41:34]line ФПД: 29253928960483 [20:41:34]line /tax-web-control/client/api/v1/ticket?date=20240811T204134&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52661&fm=29253928960483&tin=02508201610067®Number=0000000000090834&sum=19000 [20:41:34]line 0 [20:41:34]OFD Sender: Processing packet 52661 [packets to send 55, broken 54] [20:41:34]ProducePacketName [20:41:34]name=ofd_packets/00052661 [20:41:34]OFD Sender: To server: pG, [20:41:34]CommunicateWithHost lk.salyk.kg:30040 [20:41:34]ConnectInit lk.salyk.kg [20:41:34]written 0, free lines is 4095 [20:41:34]Connected sock=10 [20:41:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 39 01 00 00 0E BE 31 01 7F 1C 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 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 FE 21 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B5 CD 00 00 35 04 06 00 1A 9B 36 0B 41 E3 CA 7C 23 C4 8F E5 88 7B [20:41:35]Write to MH i2c: 01 00 00 B5 0A BF [20:41:35]Write i2c OK [20:41:35]MH_I2C_Read... [20:41:35]Read from MH i2c: 01 [20:41:35]MH_I2C_Read... [20:41:35]Read from MH i2c: 01 07 00 [20:41:35]MH_I2C_Read... [20:41:35]Read from MH i2c: 01 07 00 B5 0A 00 00 00 00 00 B5 0C 87 [20:41:35]RasterBufferAndPrint [20:41:35]line [20:41:35]line [20:41:35]line [20:41:35]line [20:41:35]line [20:41:35]written 0, free lines is 3259 [20:41:35]MH_Cut [20:41:35]Write to MH i2c: D1 01 00 BC 0A 01 98 [20:41:35]Write i2c OK [20:41:35]MH_I2C_Read... [20:41:35]Read from MH i2c: D1 [20:41:35]MH_I2C_Read... [20:41:35]Read from MH i2c: D1 01 00 [20:41:35]MH_I2C_Read... [20:41:35]Read from MH i2c: D1 01 00 BC 0A 00 97 [20:41:35]Write to MH i2c: 01 00 00 BD 0A C7 [20:41:35]Write i2c OK [20:41:35]MH_I2C_Read... [20:41:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 7E 5D 47 00 F4 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 34 37 31 35 10 04 04 00 B5 CD 00 00 F4 03 04 00 99 C9 B8 66 B6 04 01 00 00 60 E4 85 7B A4 07 D4 39 [20:41:35]CommunicateWithHost err = 0 [20:41:35]CheckOFDResponse [20:41:35]1017 (14) - 77093643461234 [20:41:35]1041 (16) - 0000000000874715 [20:41:35]1040 (4) - 52661 [20:41:35]1012 (4) - 11.08.2024 14:24 [20:41:35]1206 (1) - 0 [20:41:35]OFD Sender: Remove packet 52661 [20:41:35]ProducePacketName [20:41:35]name=ofd_packets/00052661 [20:41:35]NVStorageDeleteData [20:41:35]OFD Sender: No OFD packet to send [20:41:35]*** Cut start [20:41:35]*** Purtial cut [20:41:35]*** Stage 1: CUTSNS_PIN = 1 [20:41:36]Read from MH i2c: 01 [20:41:36]MH_I2C_Read... [20:41:36]*** Stop cut motor [20:41:36]*** Cut end [20:41:36]Read from MH i2c: 01 07 00 [20:41:36]MH_I2C_Read... [20:41:36]Read from MH i2c: 01 07 00 BD 0A 00 00 00 00 00 FF 0F DC [20:41:36]process_action close_receipt done [20:41:36]requested_data is exist [20:41:36]produce_requested_data [20:41:36]requested_item fm.sn is exist - process it [20:41:36]wFMCommunicate request_size=4 [20:41:36]MH_SAM_APDU [20:41:36]CAPDU: 80 11 00 00 [20:41:36]Write to MH i2c: E2 08 00 BE 0A 80 11 00 00 00 00 00 00 42 [20:41:36]Write i2c OK [20:41:36]MH_I2C_Read... [20:41:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:41:36]Read from MH i2c: E2 [20:41:36]MH_I2C_Read... [20:41:36]Read from MH i2c: E2 17 00 [20:41:36]MH_I2C_Read... [20:41:36]Read from MH i2c: E2 17 00 BE 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 95 [20:41:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [20:41:36]wFMCommunicate OK [20:41:36]requested_item fd.num is exist - process it [20:41:36]SAM_PROTO_GetFieldsCounters [20:41:36]wFMCommunicate request_size=4 [20:41:36]MH_SAM_APDU [20:41:36]CAPDU: 80 13 00 00 [20:41:36]Write to MH i2c: E2 08 00 BF 0A 80 13 00 00 00 00 00 00 45 [20:41:36]Write i2c OK [20:41:36]MH_I2C_Read... [20:41:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:41:36]Read from MH i2c: E2 [20:41:36]MH_I2C_Read... [20:41:36]Read from MH i2c: E2 62 00 [20:41:36]MH_I2C_Read... [20:41:36]Read from MH i2c: E2 62 00 BF 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B5 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 7E [20:41:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B5 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:41:36]wFMCommunicate OK [20:41:36]SAM_PROTO_GetFieldsCounters done [20:41:36]requested_item shift.num is exist - process it [20:41:36]requested_item shift.opened is exist - process it [20:41:36]req_shift_opened [20:41:36]FM_GetShiftState [20:41:36]SAM_PROTO_GetShiftState [20:41:36]wFMCommunicate request_size=4 [20:41:36]MH_SAM_APDU [20:41:36]CAPDU: 80 13 01 00 [20:41:36]Write to MH i2c: E2 08 00 C0 0A 80 13 01 00 00 00 00 00 47 [20:41:36]Write i2c OK [20:41:36]MH_I2C_Read... [20:41:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:41:36]Read from MH i2c: E2 [20:41:36]MH_I2C_Read... [20:41:36]Read from MH i2c: E2 0E 00 [20:41:36]MH_I2C_Read... [20:41:36]Read from MH i2c: E2 0E 00 C0 0A 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 70 [20:41:36]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [20:41:36]wFMCommunicate OK [20:41:36]SAM_PROTO_GetShiftState done [20:41:36]FM_GetShiftState done [20:41:36]req_shift_opened done [20:41:36]requested_item shift.open_date is exist - process it [20:41:36]req_shift_open_date [20:41:36]req_shift_open_date done [20:41:36]produce_requested_data done [20:41:36]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52661,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [20:41:36]process_action_free close_receipt [20:41:36]json_value_free [20:41:36]json_value_free done [20:41:36]process_json_proto returns [20:41:36]Send response to host [20:41:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52661,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [20:41:36]free response buf [20:41:36]execute_script done [20:41:36]execute_script returns [20:41:36]free content buf [20:41:36]Sock 9.Close socket [20:41:36]Sock 9.Thread stoped [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:10]OFD Sender: No OFD packet to send [20:43:15]OFD Sender: No OFD packet to send [20:43:20]OFD Sender: No OFD packet to send [20:43:25]OFD Sender: No OFD packet to send [20:43:30]OFD Sender: No OFD packet to send [20:43:35]OFD Sender: No OFD packet to send [20:43:40]OFD Sender: No OFD packet to send [20:43:45]OFD Sender: No OFD packet to send [20:43:50]OFD Sender: No OFD packet to send [20:43:55]OFD Sender: No OFD packet to send [20:44:00]OFD Sender: No OFD packet to send [20:44:05]OFD Sender: No OFD packet to send [20:44:10]OFD Sender: No OFD packet to send [20:44:15]OFD Sender: No OFD packet to send [20:44:20]OFD Sender: No OFD packet to send [20:44:25]OFD Sender: No OFD packet to send [20:44:30]OFD Sender: No OFD packet to send [20:44:35]OFD Sender: No OFD packet to send [20:44:40]OFD Sender: No OFD packet to send [20:44:45]OFD Sender: No OFD packet to send [20:44:50]OFD Sender: No OFD packet to send [20:44:55]OFD Sender: No OFD packet to send [20:45:00]OFD Sender: No OFD packet to send [20:45:05]OFD Sender: No OFD packet to send [20:45:10]OFD Sender: No OFD packet to send [20:45:15]OFD Sender: No OFD packet to send [20:45:20]OFD Sender: No OFD packet to send [20:45:25]OFD Sender: No OFD packet to send [20:45:30]OFD Sender: No OFD packet to send [20:45:35]OFD Sender: No OFD packet to send [20:45:40]OFD Sender: No OFD packet to send [20:45:45]OFD Sender: No OFD packet to send [20:45:50]OFD Sender: No OFD packet to send [20:45:55]OFD Sender: No OFD packet to send [20:46:00]OFD Sender: No OFD packet to send [20:46:05]OFD Sender: No OFD packet to send [20:46:10]OFD Sender: No OFD packet to send [20:46:15]OFD Sender: No OFD packet to send [20:46:20]OFD Sender: No OFD packet to send [20:46:25]OFD Sender: No OFD packet to send [20:46:30]OFD Sender: No OFD packet to send [20:46:35]OFD Sender: No OFD packet to send [20:46:40]OFD Sender: No OFD packet to send [20:46:45]OFD Sender: No OFD packet to send [20:46:50]OFD Sender: No OFD packet to send [20:46:55]OFD Sender: No OFD packet to send [20:47:00]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:42]accept exits with 7 [20:51:42]New connection [20:51:42]New thread 3067149668 created [20:51:42]Thread 3067293028 joined [20:51:42]Waiting for new connection... [20:51:42] Sock 7.Parse request [20:51:42]Sock 7.Check first char [20:51:42]Sock 7.First char is OK [20:51:42]request: POST /json_proto HTTP/1.0 [20:51:42]Method: POST [20:51:42]URL: /json_proto [20:51:42]Method is POST - this is cgi request [20:51:42]url: /json_proto [20:51:42]query_string will be loaded in cgi processing [20:51:42]execute_cgi json_proto POST (null) [20:51:42]execute_cgi path=json_proto method=POST [20:51:42]POST find Content-Length [20:51:42]Host: 172.17.60.7:8080 [20:51:42]Content-Length: 1103 [20:51:42]Content-Type: application/json [20:51:42] [20:51:42]POST finish read [20:51:42]Found Content-Length = 1103 [20:51:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122793", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:51:42]execute_script... [20:51:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122793", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4631150682851", "name": "\u041D\u0430\u043F En Dragon Mojito \u043B\u0430\u0439\u043C,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:51:42]POST & json_proto [20:51:42]process_json_proto [20:51:42]json parsed OK: [20:51:42]protocol is kg_v1.0 [20:51:42]action value=close_receipt [20:51:42]process_action close_receipt [20:51:42]cmd_close_receipt [20:51:42]MH_GetDate [20:51:42]Write to MH i2c: F0 00 00 C1 0A BA [20:51:42]Write i2c OK [20:51:42]MH_I2C_Read... [20:51:42]Read from MH i2c: F0 [20:51:42]MH_I2C_Read... [20:51:42]Read from MH i2c: F0 09 00 [20:51:42]MH_I2C_Read... [20:51:42]Read from MH i2c: F0 09 00 C1 0A 00 60 24 B9 66 63 9B 67 64 2F [20:51:42]GetLastDocTimeStamp 1723408894 [20:51:42]current date 1723409504 [20:51:42]FM_GetShiftState [20:51:42]SAM_PROTO_GetShiftState [20:51:42]wFMCommunicate request_size=4 [20:51:42]MH_SAM_APDU [20:51:42]CAPDU: 80 13 01 00 [20:51:42]Write to MH i2c: E2 08 00 C2 0A 80 13 01 00 00 00 00 00 49 [20:51:42]Write i2c OK [20:51:42]MH_I2C_Read... [20:51:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:51:42]Read from MH i2c: E2 [20:51:42]MH_I2C_Read... [20:51:42]Read from MH i2c: E2 0E 00 [20:51:42]MH_I2C_Read... [20:51:42]Read from MH i2c: E2 0E 00 C2 0A 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 72 [20:51:42]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [20:51:42]wFMCommunicate OK [20:51:42]SAM_PROTO_GetShiftState done [20:51:42]FM_GetShiftState done [20:51:42]opened in 1723336186 [20:51:42]opened+sec_in_day 1723422586 [20:51:42]quantity*price = 9500 [20:51:42]sum+1 = 9501 [20:51:42]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4631150682851 Нап En Dragon Mojito лайм,клуб ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 0.00 Безнал.: 190.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 73 11.08.2024 20:51 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52662 ФПД: 223586706736973 /tax-web-control/client/api/v1/ticket?date=20240811T205144&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52662&fm=223586706736973&tin=02508201610067®Number=0000000000090834&sum=19000 0 [20:51:43]StoreToDocumentArchive [20:51:43]shift 446 fd 52662 [20:51:43]save to /storage/0446/doc_00052662 [20:51:43]save last doc name /storage/0446/doc_00052662 to /storage/kkm_last_doc_name [20:51:43]save OK [20:51:43]Clear old archive folders... [20:51:43]ProcessDocumentItem done err = 0, tmpTLVsize=419 [20:51:43]tlvbuf is 01291370 [20:51:43]SAM_PROTO_ClearQueue [20:51:43]wFMCommunicate request_size=4 [20:51:43]MH_SAM_APDU [20:51:43]CAPDU: 80 09 00 00 [20:51:43]Write to MH i2c: E2 08 00 CF 0A 80 09 00 00 00 00 00 00 4B [20:51:43]Write i2c OK [20:51:43]MH_I2C_Read... [20:51:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:51:43]Read from MH i2c: E2 [20:51:43]MH_I2C_Read... [20:51:43]Read from MH i2c: E2 03 00 [20:51:43]MH_I2C_Read... [20:51:43]Read from MH i2c: E2 03 00 CF 0A 00 90 00 4D [20:51:43]RAPDU: 90 00 [20:51:43]wFMCommunicate OK [20:51:43]SAM_PROTO_ClearQueue done [20:51:43]KKMCreateOFDPacket [20:51:43]OFDProtocolAddRootSTLVToBuf [20:51:43]FM_MakeSignedData [20:51:43]FM_MakeSignedData [20:51:43]SAM_PROTO_SignData [20:51:43]wFMCommunicate request_size=4 [20:51:43]MH_SAM_APDU [20:51:43]CAPDU: 80 0D 01 02 [20:51:43]Write to MH i2c: E2 08 00 D0 0A 80 0D 01 02 00 00 00 00 53 [20:51:43]Write i2c OK [20:51:43]MH_I2C_Read... [20:51:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:51:44]Read from MH i2c: E2 [20:51:44]MH_I2C_Read... [20:51:44]Read from MH i2c: E2 03 00 [20:51:44]MH_I2C_Read... [20:51:44]Read from MH i2c: E2 03 00 D0 0A 00 90 00 4E [20:51:44]RAPDU: 90 00 [20:51:44]wFMCommunicate OK [20:51:44]wFMCommunicate request_size=255 [20:51:44]MH_SAM_APDU [20:51:44]CAPDU: 80 0D 02 02 FA 03 00 A3 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 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 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 [20:51:44]Write to MH i2c: E2 02 01 D1 0A 80 0D 02 02 FA 00 03 00 A3 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 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 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 00 00 28 [20:51:44]Write i2c OK [20:51:44]MH_I2C_Read... [20:51:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:51:44]Read from MH i2c: E2 [20:51:44]MH_I2C_Read... [20:51:44]Read from MH i2c: E2 03 00 [20:51:44]MH_I2C_Read... [20:51:44]Read from MH i2c: E2 03 00 D1 0A 00 90 00 4F [20:51:44]RAPDU: 90 00 [20:51:44]wFMCommunicate OK [20:51:44]wFMCommunicate request_size=178 [20:51:44]MH_SAM_APDU [20:51:44]CAPDU: 80 0D 02 02 AD 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 60 24 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B6 CD 00 00 35 04 06 00 CB 59 D6 3B 47 4D [20:51:44]Write to MH i2c: E2 B5 00 D2 0A 80 0D 02 02 AD 00 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 60 24 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B6 CD 00 00 35 04 06 00 CB 59 D6 3B 47 4D 00 00 41 [20:51:44]Write i2c OK [20:51:44]MH_I2C_Read... [20:51:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:51:44]Read from MH i2c: E2 [20:51:44]MH_I2C_Read... [20:51:44]Read from MH i2c: E2 03 00 [20:51:44]MH_I2C_Read... [20:51:44]Read from MH i2c: E2 03 00 D2 0A 00 90 00 50 [20:51:44]RAPDU: 90 00 [20:51:44]wFMCommunicate OK [20:51:44]wFMCommunicate request_size=4 [20:51:44]MH_SAM_APDU [20:51:44]CAPDU: 80 0D 03 02 [20:51:44]Write to MH i2c: E2 08 00 D3 0A 80 0D 03 02 00 00 00 00 58 [20:51:44]Write i2c OK [20:51:44]MH_I2C_Read... [20:51:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:51:44]Read from MH i2c: E2 [20:51:44]MH_I2C_Read... [20:51:44]Read from MH i2c: E2 0B 00 [20:51:44]MH_I2C_Read... [20:51:44]Read from MH i2c: E2 0B 00 D3 0A 00 40 DF E0 B3 79 E0 0D 38 90 00 A9 [20:51:44]RAPDU: 40 DF E0 B3 79 E0 0D 38 90 00 [20:51:44]wFMCommunicate OK [20:51:44]SAM_PROTO_SignData done [20:51:44]FM_MakeSignedData done [20:51:44]CreateOFDProtocolMessage [20:51:44]wFMCommunicate request_size=4 [20:51:44]MH_SAM_APDU [20:51:44]CAPDU: 80 11 00 00 [20:51:44]Write to MH i2c: E2 08 00 D4 0A 80 11 00 00 00 00 00 00 58 [20:51:44]Write i2c OK [20:51:44]MH_I2C_Read... [20:51:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:51:44]Read from MH i2c: E2 [20:51:44]MH_I2C_Read... [20:51:44]Read from MH i2c: E2 17 00 [20:51:44]MH_I2C_Read... [20:51:44]Read from MH i2c: E2 17 00 D4 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 AB [20:51:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [20:51:44]wFMCommunicate OK [20:51:44]CreateOFDProtocolMessage done [20:51:44]OFDSenderStorePacket 52662 [20:51:44]StoreOFDPacket docnum=52662 [20:51:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 B7 01 00 00 4C D2 AF 01 DC 11 5A 03 01 00 03 00 A3 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 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 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 60 24 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B6 CD 00 00 35 04 06 00 CB 59 D6 3B 47 4D 40 DF E0 B3 79 E0 0D 38 [20:51:44]CheckFolder [20:51:44]dirname=/storage/ofd_packets [20:51:44]CheckFolder done [20:51:44]ProducePacketName [20:51:44]name=ofd_packets/00052662 [20:51:44]NVStorageSaveData ofd_packets/00052662 [20:51:44]File name is /storage/ofd_packets/00052662 [20:51:44]Write 469 bytes [20:51:44]NVStorageSaveData done [20:51:44]OFDSenderStorePacket done [20:51:44]KKMCreateOFDPacket done [20:51:44]NVStorageSaveData kkm_last_timestamp [20:51:44]File name is /storage/kkm_last_timestamp [20:51:44]Write 4 bytes [20:51:44]NVStorageSaveData done [20:51:44]ExternCall_PrintAddStr [20:51:44]wPrintStart [20:51:44]Write to MH i2c: 01 00 00 D5 0A DF [20:51:44]OFD Sender: Processing packet 52662 [packets to send 55, broken 54] [20:51:44]ProducePacketName [20:51:44]name=ofd_packets/00052662 [20:51:44]Write i2c OK [20:51:44]MH_I2C_Read... [20:51:44]OFD Sender: To server: pG, [20:51:44]CommunicateWithHost lk.salyk.kg:30040 [20:51:44]ConnectInit lk.salyk.kg [20:51:44]Read from MH i2c: 01 [20:51:44]MH_I2C_Read... [20:51:44]Read from MH i2c: 01 07 00 [20:51:44]MH_I2C_Read... [20:51:44]Read from MH i2c: 01 07 00 D5 0A 00 00 00 00 00 FF 0F F4 [20:51:44]RasterBufferAndPrint [20:51:44]line Счет N : (3)122793 [20:51:44]line ИНН: 02508201610067 [20:51:44]line Контрольно-Кассовый Чек [20:51:44]line ПРОДАЖА [20:51:44]line Товар: 4700000480050 [20:51:44]line Напиток Nitro Energy эн green ж/б 0,45л [20:51:44]line 1.000 * 95.00 [20:51:44]line = 95.00 [20:51:44]line НДС 12% НСП 1% [20:51:44]line > о реализуемом товаре [20:51:44]line Товар: 4631150682851 [20:51:44]line Нап En Dragon Mojito лайм,клуб ж/б 0,45л [20:51:44]line 1.000 * 95.00 [20:51:44]line = 95.00 [20:51:44]line НДС 12% НСП 1% [20:51:44]line > о реализуемом товаре [20:51:44]line ИТОГО: 190.00 [20:51:44]line НСП 1% : 1.68 [20:51:44]line НДС 12% : 20.18 [20:51:44]line Наличными: 0.00 [20:51:44]line Безнал.: 190.00 [20:51:44]line Место: АЗС № 54 "Партнер Нефть" [20:51:44]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [20:51:44]line СНО: Общий режим [20:51:44]line Чек 73 11.08.2024 20:51 [20:51:44]line Смена: 446 ФФД: 1.0 [20:51:44]line ЗНМ: 0300000007 [20:51:44]line РНМ: 0000000000090834 [20:51:44]line Версия ККМ: 001 [20:51:44]line Платежная система: О! деньги [20:51:44]line ФМ: 0000000000874715 [20:51:44]line ФД: 52662 [20:51:44]line ФПД: 223586706736973 [20:51:44]line /tax-web-control/client/api/v1/ticket?date=20240811T205144&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52662&fm=223586706736973&tin=02508201610067®Number=0000000000090834&sum=19000 [20:51:44]line 0 [20:51:44]written 0, free lines is 4095 [20:51:45]Connected sock=10 [20:51:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 B7 01 00 00 4C D2 AF 01 DC 11 5A 03 01 00 03 00 A3 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 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 7A 00 8A 04 0D 00 34 36 33 31 31 35 30 36 38 32 38 35 31 06 04 36 00 D0 9D D0 B0 D0 BF 20 45 6E 20 44 72 61 67 6F 6E 20 4D 6F 6A 69 74 6F 20 D0 BB D0 B0 D0 B9 D0 BC 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 38 4A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 60 24 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B6 CD 00 00 35 04 06 00 CB 59 D6 3B 47 4D 40 DF E0 B3 79 E0 0D 38 [20:51:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 36 46 47 00 3C 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 34 37 31 35 10 04 04 00 B6 CD 00 00 F4 03 04 00 FB CB B8 66 B6 04 01 00 00 C8 99 37 B1 28 9D 12 8F [20:51:45]CommunicateWithHost err = 0 [20:51:45]CheckOFDResponse [20:51:45]1017 (14) - 77093643461234 [20:51:45]1041 (16) - 0000000000874715 [20:51:45]1040 (4) - 52662 [20:51:45]1012 (4) - 11.08.2024 14:34 [20:51:45]1206 (1) - 0 [20:51:45]OFD Sender: Remove packet 52662 [20:51:45]ProducePacketName [20:51:45]name=ofd_packets/00052662 [20:51:45]NVStorageDeleteData [20:51:45]Write to MH i2c: 01 00 00 06 0B 11 [20:51:45]Write i2c OK [20:51:45]MH_I2C_Read... [20:51:45]Read from MH i2c: 01 [20:51:45]MH_I2C_Read... [20:51:45]Read from MH i2c: 01 07 00 [20:51:45]MH_I2C_Read... [20:51:45]Read from MH i2c: 01 07 00 06 0B 00 00 00 00 00 48 0C 6C [20:51:45]RasterBufferAndPrint [20:51:45]line [20:51:45]line [20:51:45]line [20:51:45]line [20:51:45]line [20:51:45]written 0, free lines is 3151 [20:51:45]MH_Cut [20:51:45]Write to MH i2c: D1 01 00 0D 0B 01 EA [20:51:45]Write i2c OK [20:51:45]MH_I2C_Read... [20:51:45]Read from MH i2c: D1 [20:51:45]MH_I2C_Read... [20:51:45]Read from MH i2c: D1 01 00 [20:51:45]MH_I2C_Read... [20:51:45]Read from MH i2c: D1 01 00 0D 0B 00 E9 [20:51:45]Write to MH i2c: 01 00 00 0E 0B 19 [20:51:45]Write i2c OK [20:51:45]MH_I2C_Read... [20:51:45]OFD Sender: No OFD packet to send [20:51:46]*** Cut start [20:51:46]*** Purtial cut [20:51:46]*** Stage 1: CUTSNS_PIN = 1 [20:51:46]Read from MH i2c: 01 [20:51:46]MH_I2C_Read... [20:51:46]*** Stop cut motor [20:51:46]*** Cut end [20:51:46]Read from MH i2c: 01 07 00 [20:51:46]MH_I2C_Read... [20:51:46]Read from MH i2c: 01 07 00 0E 0B 00 00 00 00 00 FF 0F 2E [20:51:46]process_action close_receipt done [20:51:46]requested_data is exist [20:51:46]produce_requested_data [20:51:46]requested_item fm.sn is exist - process it [20:51:46]wFMCommunicate request_size=4 [20:51:46]MH_SAM_APDU [20:51:46]CAPDU: 80 11 00 00 [20:51:46]Write to MH i2c: E2 08 00 0F 0B 80 11 00 00 00 00 00 00 94 [20:51:46]Write i2c OK [20:51:46]MH_I2C_Read... [20:51:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:51:46]Read from MH i2c: E2 [20:51:46]MH_I2C_Read... [20:51:46]Read from MH i2c: E2 17 00 [20:51:46]MH_I2C_Read... [20:51:46]Read from MH i2c: E2 17 00 0F 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 E7 [20:51:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [20:51:46]wFMCommunicate OK [20:51:46]requested_item fd.num is exist - process it [20:51:46]SAM_PROTO_GetFieldsCounters [20:51:46]wFMCommunicate request_size=4 [20:51:46]MH_SAM_APDU [20:51:46]CAPDU: 80 13 00 00 [20:51:46]Write to MH i2c: E2 08 00 10 0B 80 13 00 00 00 00 00 00 97 [20:51:46]Write i2c OK [20:51:46]MH_I2C_Read... [20:51:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:51:46]Read from MH i2c: E2 [20:51:46]MH_I2C_Read... [20:51:46]Read from MH i2c: E2 62 00 [20:51:46]MH_I2C_Read... [20:51:46]Read from MH i2c: E2 62 00 10 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B6 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 D4 [20:51: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B6 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:51:46]wFMCommunicate OK [20:51:46]SAM_PROTO_GetFieldsCounters done [20:51:46]requested_item shift.num is exist - process it [20:51:46]requested_item shift.opened is exist - process it [20:51:46]req_shift_opened [20:51:46]FM_GetShiftState [20:51:46]SAM_PROTO_GetShiftState [20:51:46]wFMCommunicate request_size=4 [20:51:46]MH_SAM_APDU [20:51:46]CAPDU: 80 13 01 00 [20:51:46]Write to MH i2c: E2 08 00 11 0B 80 13 01 00 00 00 00 00 99 [20:51:46]Write i2c OK [20:51:46]MH_I2C_Read... [20:51:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:51:47]Read from MH i2c: E2 [20:51:47]MH_I2C_Read... [20:51:47]Read from MH i2c: E2 0E 00 [20:51:47]MH_I2C_Read... [20:51:47]Read from MH i2c: E2 0E 00 11 0B 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 C2 [20:51:47]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [20:51:47]wFMCommunicate OK [20:51:47]SAM_PROTO_GetShiftState done [20:51:47]FM_GetShiftState done [20:51:47]req_shift_opened done [20:51:47]requested_item shift.open_date is exist - process it [20:51:47]req_shift_open_date [20:51:47]req_shift_open_date done [20:51:47]produce_requested_data done [20:51:47]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52662,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [20:51:47]process_action_free close_receipt [20:51:47]json_value_free [20:51:47]json_value_free done [20:51:47]process_json_proto returns [20:51:47]Send response to host [20:51:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52662,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [20:51:47]free response buf [20:51:47]execute_script done [20:51:47]execute_script returns [20:51:47]free content buf [20:51:47]Sock 7.Close socket [20:51:47]Sock 7.Thread stoped [20:51:50]OFD Sender: No OFD packet to send [20:51:55]OFD Sender: No OFD packet to send [20:52:00]OFD Sender: No OFD packet to send [20:52:05]OFD Sender: No OFD packet to send [20:52:10]OFD Sender: No OFD packet to send [20:52:15]OFD Sender: No OFD packet to send [20:52:20]OFD Sender: No OFD packet to send [20:52:25]OFD Sender: No OFD packet to send [20:52:30]OFD Sender: No OFD packet to send [20:52:35]OFD Sender: No OFD packet to send [20:52:40]OFD Sender: No OFD packet to send [20:52:45]OFD Sender: No OFD packet to send [20:52:50]OFD Sender: No OFD packet to send [20:52:55]OFD Sender: No OFD packet to send [20:53:00]OFD Sender: No OFD packet to send [20:53:05]OFD Sender: No OFD packet to send [20:53:10]OFD Sender: No OFD packet to send [20:53:15]OFD Sender: No OFD packet to send [20:53:20]OFD Sender: No OFD packet to send [20:53:25]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:15]accept exits with 9 [20:54:15]New connection [20:54:15]New thread 3067293028 created [20:54:15]Thread 3067149668 joined [20:54:15]Waiting for new connection... [20:54:15] Sock 9.Parse request [20:54:15]Sock 9.Check first char [20:54:15]Sock 9.First char is OK [20:54:15]request: POST /json_proto HTTP/1.0 [20:54:15]Method: POST [20:54:15]URL: /json_proto [20:54:15]Method is POST - this is cgi request [20:54:15]url: /json_proto [20:54:15]query_string will be loaded in cgi processing [20:54:15]execute_cgi json_proto POST (null) [20:54:15]execute_cgi path=json_proto method=POST [20:54:15]POST find Content-Length [20:54:15]Host: 172.17.60.7:8080 [20:54:15]Content-Length: 820 [20:54:15]Content-Type: application/json [20:54:15] [20:54:15]POST finish read [20:54:15]Found Content-Length = 820 [20:54:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122794", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:54:15]execute_script... [20:54:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122794", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:54:15]POST & json_proto [20:54:15]process_json_proto [20:54:15]json parsed OK: [20:54:15]protocol is kg_v1.0 [20:54:15]action value=close_receipt [20:54:15]process_action close_receipt [20:54:15]cmd_close_receipt [20:54:15]MH_GetDate [20:54:15]Write to MH i2c: F0 00 00 12 0B 0C [20:54:15]Write i2c OK [20:54:15]MH_I2C_Read... [20:54:15]Read from MH i2c: F0 [20:54:15]MH_I2C_Read... [20:54:15]Read from MH i2c: F0 09 00 [20:54:15]MH_I2C_Read... [20:54:15]Read from MH i2c: F0 09 00 12 0B 00 F9 24 B9 66 63 9B 67 64 1A [20:54:15]GetLastDocTimeStamp 1723409504 [20:54:15]current date 1723409657 [20:54:15]FM_GetShiftState [20:54:15]SAM_PROTO_GetShiftState [20:54:15]wFMCommunicate request_size=4 [20:54:15]MH_SAM_APDU [20:54:15]CAPDU: 80 13 01 00 [20:54:15]Write to MH i2c: E2 08 00 13 0B 80 13 01 00 00 00 00 00 9B [20:54:15]Write i2c OK [20:54:15]MH_I2C_Read... [20:54:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:54:15]Read from MH i2c: E2 [20:54:15]MH_I2C_Read... [20:54:15]Read from MH i2c: E2 0E 00 [20:54:15]MH_I2C_Read... [20:54:15]Read from MH i2c: E2 0E 00 13 0B 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 C4 [20:54:15]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [20:54:15]wFMCommunicate OK [20:54:15]SAM_PROTO_GetShiftState done [20:54:15]FM_GetShiftState done [20:54:15]opened in 1723336186 [20:54:15]opened+sec_in_day 1723422586 [20:54:15]quantity*price = 9500 [20:54:15]sum+1 = 9501 [20:54:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 74 11.08.2024 20:54 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52663 ФПД: 232452253396230 /tax-web-control/client/api/v1/ticket?date=20240811T205417&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52663&fm=232452253396230&tin=02508201610067®Number=0000000000090834&sum=9500 0 [20:54:16]StoreToDocumentArchive [20:54:16]shift 446 fd 52663 [20:54:16]save to /storage/0446/doc_00052663 [20:54:16]save last doc name /storage/0446/doc_00052663 to /storage/kkm_last_doc_name [20:54:16]save OK [20:54:16]Clear old archive folders... [20:54:16]ProcessDocumentItem done err = 0, tmpTLVsize=293 [20:54:16]tlvbuf is 0123CFE0 [20:54:16]SAM_PROTO_ClearQueue [20:54:16]wFMCommunicate request_size=4 [20:54:16]MH_SAM_APDU [20:54:16]CAPDU: 80 09 00 00 [20:54:16]Write to MH i2c: E2 08 00 20 0B 80 09 00 00 00 00 00 00 9D [20:54:16]Write i2c OK [20:54:16]MH_I2C_Read... [20:54:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:54:16]Read from MH i2c: E2 [20:54:16]MH_I2C_Read... [20:54:16]Read from MH i2c: E2 03 00 [20:54:16]MH_I2C_Read... [20:54:16]Read from MH i2c: E2 03 00 20 0B 00 90 00 9F [20:54:16]RAPDU: 90 00 [20:54:16]wFMCommunicate OK [20:54:16]SAM_PROTO_ClearQueue done [20:54:16]KKMCreateOFDPacket [20:54:16]OFDProtocolAddRootSTLVToBuf [20:54:16]FM_MakeSignedData [20:54:16]FM_MakeSignedData [20:54:16]SAM_PROTO_SignData [20:54:16]wFMCommunicate request_size=4 [20:54:16]MH_SAM_APDU [20:54:16]CAPDU: 80 0D 01 02 [20:54:16]Write to MH i2c: E2 08 00 21 0B 80 0D 01 02 00 00 00 00 A5 [20:54:16]Write i2c OK [20:54:16]MH_I2C_Read... [20:54:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:54:16]Read from MH i2c: E2 [20:54:16]MH_I2C_Read... [20:54:16]Read from MH i2c: E2 03 00 [20:54:16]MH_I2C_Read... [20:54:16]Read from MH i2c: E2 03 00 21 0B 00 90 00 A0 [20:54:16]RAPDU: 90 00 [20:54:16]wFMCommunicate OK [20:54:16]wFMCommunicate request_size=255 [20:54:16]MH_SAM_APDU [20:54:16]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 F9 24 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [20:54:16]Write to MH i2c: E2 02 01 22 0B 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 F9 24 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 8A [20:54:16]Write i2c OK [20:54:16]MH_I2C_Read... [20:54:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:54:17]Read from MH i2c: E2 [20:54:17]MH_I2C_Read... [20:54:17]Read from MH i2c: E2 03 00 [20:54:17]MH_I2C_Read... [20:54:17]Read from MH i2c: E2 03 00 22 0B 00 90 00 A1 [20:54:17]RAPDU: 90 00 [20:54:17]wFMCommunicate OK [20:54:17]wFMCommunicate request_size=52 [20:54:17]MH_SAM_APDU [20:54:17]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B7 CD 00 00 35 04 06 00 D3 6A 01 FD AD 06 [20:54:17]Write to MH i2c: E2 37 00 23 0B 80 0D 02 02 2F 00 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B7 CD 00 00 35 04 06 00 D3 6A 01 FD AD 06 00 00 DC [20:54:17]Write i2c OK [20:54:17]MH_I2C_Read... [20:54:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:54:17]Read from MH i2c: E2 [20:54:17]MH_I2C_Read... [20:54:17]Read from MH i2c: E2 03 00 [20:54:17]MH_I2C_Read... [20:54:17]Read from MH i2c: E2 03 00 23 0B 00 90 00 A2 [20:54:17]RAPDU: 90 00 [20:54:17]wFMCommunicate OK [20:54:17]wFMCommunicate request_size=4 [20:54:17]MH_SAM_APDU [20:54:17]CAPDU: 80 0D 03 02 [20:54:17]Write to MH i2c: E2 08 00 24 0B 80 0D 03 02 00 00 00 00 AA [20:54:17]Write i2c OK [20:54:17]MH_I2C_Read... [20:54:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:54:17]Read from MH i2c: E2 [20:54:17]MH_I2C_Read... [20:54:17]Read from MH i2c: E2 0B 00 [20:54:17]MH_I2C_Read... [20:54:17]Read from MH i2c: E2 0B 00 24 0B 00 FE 35 6B 3D F0 DC 08 2A 90 00 84 [20:54:17]RAPDU: FE 35 6B 3D F0 DC 08 2A 90 00 [20:54:17]wFMCommunicate OK [20:54:17]SAM_PROTO_SignData done [20:54:17]FM_MakeSignedData done [20:54:17]CreateOFDProtocolMessage [20:54:17]wFMCommunicate request_size=4 [20:54:17]MH_SAM_APDU [20:54:17]CAPDU: 80 11 00 00 [20:54:17]Write to MH i2c: E2 08 00 25 0B 80 11 00 00 00 00 00 00 AA [20:54:17]Write i2c OK [20:54:17]MH_I2C_Read... [20:54:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:54:17]Read from MH i2c: E2 [20:54:17]MH_I2C_Read... [20:54:17]Read from MH i2c: E2 17 00 [20:54:17]MH_I2C_Read... [20:54:17]Read from MH i2c: E2 17 00 25 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 FD [20:54:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [20:54:17]wFMCommunicate OK [20:54:17]CreateOFDProtocolMessage done [20:54:17]OFDSenderStorePacket 52663 [20:54:17]StoreOFDPacket docnum=52663 [20:54:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 39 01 00 00 79 4E 31 01 3B 85 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 F9 24 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B7 CD 00 00 35 04 06 00 D3 6A 01 FD AD 06 FE 35 6B 3D F0 DC 08 2A [20:54:17]CheckFolder [20:54:17]dirname=/storage/ofd_packets [20:54:17]CheckFolder done [20:54:17]ProducePacketName [20:54:17]name=ofd_packets/00052663 [20:54:17]NVStorageSaveData ofd_packets/00052663 [20:54:17]File name is /storage/ofd_packets/00052663 [20:54:17]Write 343 bytes [20:54:17]NVStorageSaveData done [20:54:17]OFDSenderStorePacket done [20:54:17]KKMCreateOFDPacket done [20:54:17]NVStorageSaveData kkm_last_timestamp [20:54:17]File name is /storage/kkm_last_timestamp [20:54:17]Write 4 bytes [20:54:17]OFD Sender: Processing packet 52663 [packets to send 55, broken 54] [20:54:17]ProducePacketName [20:54:17]name=ofd_packets/00052663 [20:54:17]OFD Sender: To server: pG, [20:54:17]CommunicateWithHost lk.salyk.kg:30040 [20:54:17]ConnectInit lk.salyk.kg [20:54:17]NVStorageSaveData done [20:54:17]ExternCall_PrintAddStr [20:54:17]wPrintStart [20:54:17]Write to MH i2c: 01 00 00 26 0B 31 [20:54:17]Write i2c OK [20:54:17]MH_I2C_Read... [20:54:17]Read from MH i2c: 01 [20:54:17]MH_I2C_Read... [20:54:17]Read from MH i2c: 01 07 00 [20:54:17]MH_I2C_Read... [20:54:17]Read from MH i2c: 01 07 00 26 0B 00 00 00 00 00 FF 0F 46 [20:54:17]RasterBufferAndPrint [20:54:17]line Счет N : (3)122794 [20:54:17]line ИНН: 02508201610067 [20:54:17]line Контрольно-Кассовый Чек [20:54:17]line ПРОДАЖА [20:54:17]line Товар: 4700000480050 [20:54:17]line Напиток Nitro Energy эн green ж/б 0,45л [20:54:17]line 1.000 * 95.00 [20:54:17]line = 95.00 [20:54:17]line НДС 12% НСП 1% [20:54:17]line > о реализуемом товаре [20:54:17]line ИТОГО: 95.00 [20:54:17]line НСП 1% : 0.84 [20:54:17]line НДС 12% : 10.09 [20:54:17]line Наличными: 0.00 [20:54:17]line Безнал.: 95.00 [20:54:17]line Место: АЗС № 54 "Партнер Нефть" [20:54:17]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [20:54:17]line СНО: Общий режим [20:54:17]line Чек 74 11.08.2024 20:54 [20:54:17]line Смена: 446 ФФД: 1.0 [20:54:17]line ЗНМ: 0300000007 [20:54:17]line РНМ: 0000000000090834 [20:54:17]line Версия ККМ: 001 [20:54:17]line Платежная система: О! деньги [20:54:17]line ФМ: 0000000000874715 [20:54:17]line ФД: 52663 [20:54:17]line ФПД: 232452253396230 [20:54:17]line /tax-web-control/client/api/v1/ticket?date=20240811T205417&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52663&fm=232452253396230&tin=02508201610067®Number=0000000000090834&sum=9500 [20:54:17]line 0 [20:54:17]Connected sock=10 [20:54:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 written 0, free lines is 4095 [20:54:17]34 37 31 35 39 01 00 00 79 4E 31 01 3B 85 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 F9 24 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B7 CD 00 00 35 04 06 00 D3 6A 01 FD AD 06 FE 35 6B 3D F0 DC 08 2A [20:54:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 8D 64 47 00 3D 61 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B7 CD 00 00 F4 03 04 00 93 CC B8 66 B6 04 01 00 00 9D DC 69 F5 4E F0 34 EC [20:54:17]CommunicateWithHost err = 0 [20:54:17]CheckOFDResponse [20:54:17]1017 (14) - 77093643461234 [20:54:17]1041 (16) - 0000000000874715 [20:54:17]1040 (4) - 52663 [20:54:17]1012 (4) - 11.08.2024 14:37 [20:54:17]1206 (1) - 0 [20:54:17]OFD Sender: Remove packet 52663 [20:54:17]ProducePacketName [20:54:17]name=ofd_packets/00052663 [20:54:17]NVStorageDeleteData [20:54:18]Write to MH i2c: 01 00 00 50 0B 5B [20:54:18]Write i2c OK [20:54:18]MH_I2C_Read... [20:54:18]Read from MH i2c: 01 [20:54:18]MH_I2C_Read... [20:54:18]Read from MH i2c: 01 07 00 [20:54:18]MH_I2C_Read... [20:54:18]Read from MH i2c: 01 07 00 50 0B 00 00 00 00 00 AC 0C 1A [20:54:18]RasterBufferAndPrint [20:54:18]line [20:54:18]line [20:54:18]line [20:54:18]line [20:54:18]line [20:54:18]written 0, free lines is 3249 [20:54:18]MH_Cut [20:54:18]Write to MH i2c: D1 01 00 57 0B 01 34 [20:54:18]Write i2c OK [20:54:18]MH_I2C_Read... [20:54:18]Read from MH i2c: D1 [20:54:18]MH_I2C_Read... [20:54:18]Read from MH i2c: D1 01 00 [20:54:18]MH_I2C_Read... [20:54:18]Read from MH i2c: D1 01 00 57 0B 00 33 [20:54:18]Write to MH i2c: 01 00 00 58 0B 63 [20:54:18]Write i2c OK [20:54:18]MH_I2C_Read... [20:54:18]OFD Sender: No OFD packet to send [20:54:18]*** Cut start [20:54:18]*** Purtial cut [20:54:18]*** Stage 1: CUTSNS_PIN = 1 [20:54:19]Read from MH i2c: 01 [20:54:19]MH_I2C_Read... [20:54:19]*** Stop cut motor [20:54:19]*** Cut end [20:54:19]Read from MH i2c: 01 07 00 [20:54:19]MH_I2C_Read... [20:54:19]Read from MH i2c: 01 07 00 58 0B 00 00 00 00 00 FF 0F 78 [20:54:19]process_action close_receipt done [20:54:19]requested_data is exist [20:54:19]produce_requested_data [20:54:19]requested_item fm.sn is exist - process it [20:54:19]wFMCommunicate request_size=4 [20:54:19]MH_SAM_APDU [20:54:19]CAPDU: 80 11 00 00 [20:54:19]Write to MH i2c: E2 08 00 59 0B 80 11 00 00 00 00 00 00 DE [20:54:19]Write i2c OK [20:54:19]MH_I2C_Read... [20:54:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:54:19]Read from MH i2c: E2 [20:54:19]MH_I2C_Read... [20:54:19]Read from MH i2c: E2 17 00 [20:54:19]MH_I2C_Read... [20:54:19]Read from MH i2c: E2 17 00 59 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 31 [20:54:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [20:54:19]wFMCommunicate OK [20:54:19]requested_item fd.num is exist - process it [20:54:19]SAM_PROTO_GetFieldsCounters [20:54:19]wFMCommunicate request_size=4 [20:54:19]MH_SAM_APDU [20:54:19]CAPDU: 80 13 00 00 [20:54:19]Write to MH i2c: E2 08 00 5A 0B 80 13 00 00 00 00 00 00 E1 [20:54:19]Write i2c OK [20:54:19]MH_I2C_Read... [20:54:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:54:19]Read from MH i2c: E2 [20:54:19]MH_I2C_Read... [20:54:19]Read from MH i2c: E2 62 00 [20:54:19]MH_I2C_Read... [20:54:19]Read from MH i2c: E2 62 00 5A 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B7 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 22 [20:54:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B7 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:54:19]wFMCommunicate OK [20:54:19]SAM_PROTO_GetFieldsCounters done [20:54:19]requested_item shift.num is exist - process it [20:54:19]requested_item shift.opened is exist - process it [20:54:19]req_shift_opened [20:54:19]FM_GetShiftState [20:54:19]SAM_PROTO_GetShiftState [20:54:19]wFMCommunicate request_size=4 [20:54:19]MH_SAM_APDU [20:54:19]CAPDU: 80 13 01 00 [20:54:19]Write to MH i2c: E2 08 00 5B 0B 80 13 01 00 00 00 00 00 E3 [20:54:19]Write i2c OK [20:54:19]MH_I2C_Read... [20:54:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:54:19]Read from MH i2c: E2 [20:54:19]MH_I2C_Read... [20:54:19]Read from MH i2c: E2 0E 00 [20:54:19]MH_I2C_Read... [20:54:19]Read from MH i2c: E2 0E 00 5B 0B 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 0C [20:54:19]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [20:54:19]wFMCommunicate OK [20:54:19]SAM_PROTO_GetShiftState done [20:54:19]FM_GetShiftState done [20:54:19]req_shift_opened done [20:54:19]requested_item shift.open_date is exist - process it [20:54:19]req_shift_open_date [20:54:19]req_shift_open_date done [20:54:19]produce_requested_data done [20:54:19]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52663,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [20:54:19]process_action_free close_receipt [20:54:19]json_value_free [20:54:19]json_value_free done [20:54:19]process_json_proto returns [20:54:19]Send response to host [20:54:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52663,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [20:54:19]free response buf [20:54:19]execute_script done [20:54:19]execute_script returns [20:54:19]free content buf [20:54:19]Sock 9.Close socket [20:54:19]Sock 9.Thread stoped [20:54:23]OFD Sender: No OFD packet to send [20:54:28]OFD Sender: No OFD packet to send [20:54:33]OFD Sender: No OFD packet to send [20:54:38]OFD Sender: No OFD packet to send [20:54:43]OFD Sender: No OFD packet to send [20:54:48]OFD Sender: No OFD packet to send [20:54:53]OFD Sender: No OFD packet to send [20:54:58]OFD Sender: No OFD packet to send [20:55:03]OFD Sender: No OFD packet to send [20:55:08]OFD Sender: No OFD packet to send [20:55:13]OFD Sender: No OFD packet to send [20:55:18]OFD Sender: No OFD packet to send [20:55:23]OFD Sender: No OFD packet to send [20:55:28]OFD Sender: No OFD packet to send [20:55:33]OFD Sender: No OFD packet to send [20:55:38]OFD Sender: No OFD packet to send [20:55:43]OFD Sender: No OFD packet to send [20:55:44]accept exits with 7 [20:55:44]New connection [20:55:44]New thread 3067149668 created [20:55:44]Thread 3067293028 joined [20:55:44]Waiting for new connection... [20:55:44] Sock 7.Parse request [20:55:44]Sock 7.Check first char [20:55:44]Sock 7.First char is OK [20:55:44]request: POST /json_proto HTTP/1.0 [20:55:44]Method: POST [20:55:44]URL: /json_proto [20:55:44]Method is POST - this is cgi request [20:55:44]url: /json_proto [20:55:44]query_string will be loaded in cgi processing [20:55:44]execute_cgi json_proto POST (null) [20:55:44]execute_cgi path=json_proto method=POST [20:55:44]POST find Content-Length [20:55:44]Host: 172.17.60.7:8080 [20:55:44]Content-Length: 888 [20:55:44]Content-Type: application/json [20:55:44] [20:55:44]POST finish read [20:55:44]Found Content-Length = 888 [20:55:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122795", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:55:44]execute_script... [20:55:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122795", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:55:44]POST & json_proto [20:55:44]process_json_proto [20:55:44]json parsed OK: [20:55:44]protocol is kg_v1.0 [20:55:44]action value=close_receipt [20:55:44]process_action close_receipt [20:55:44]cmd_close_receipt [20:55:44]MH_GetDate [20:55:44]Write to MH i2c: F0 00 00 5C 0B 56 [20:55:44]Write i2c OK [20:55:44]MH_I2C_Read... [20:55:44]Read from MH i2c: F0 [20:55:44]MH_I2C_Read... [20:55:44]Read from MH i2c: F0 09 00 [20:55:44]MH_I2C_Read... [20:55:44]Read from MH i2c: F0 09 00 5C 0B 00 52 25 B9 66 63 9B 67 64 BE [20:55:44]GetLastDocTimeStamp 1723409657 [20:55:44]current date 1723409746 [20:55:44]FM_GetShiftState [20:55:44]SAM_PROTO_GetShiftState [20:55:44]wFMCommunicate request_size=4 [20:55:44]MH_SAM_APDU [20:55:44]CAPDU: 80 13 01 00 [20:55:44]Write to MH i2c: E2 08 00 5D 0B 80 13 01 00 00 00 00 00 E5 [20:55:44]Write i2c OK [20:55:44]MH_I2C_Read... [20:55:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:55:44]Read from MH i2c: E2 [20:55:44]MH_I2C_Read... [20:55:44]Read from MH i2c: E2 0E 00 [20:55:44]MH_I2C_Read... [20:55:44]Read from MH i2c: E2 0E 00 5D 0B 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 0E [20:55:44]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [20:55:44]wFMCommunicate OK [20:55:44]SAM_PROTO_GetShiftState done [20:55:44]FM_GetShiftState done [20:55:44]opened in 1723336186 [20:55:44]opened+sec_in_day 1723422586 [20:55:44]quantity*price = 8500 [20:55:44]sum+1 = 8501 [20:55:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 0.00 Безнал.: 85.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 75 11.08.2024 20:55 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874715 ФД: 52664 ФПД: 263558241459488 /tax-web-control/client/api/v1/ticket?date=20240811T205546&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52664&fm=263558241459488&tin=02508201610067®Number=0000000000090834&sum=8500 0 [20:55:45]StoreToDocumentArchive [20:55:45]shift 446 fd 52664 [20:55:45]save to /storage/0446/doc_00052664 [20:55:45]save last doc name /storage/0446/doc_00052664 to /storage/kkm_last_doc_name [20:55:45]save OK [20:55:45]Clear old archive folders... [20:55:45]ProcessDocumentItem done err = 0, tmpTLVsize=302 [20:55:45]tlvbuf is 01279170 [20:55:45]SAM_PROTO_ClearQueue [20:55:45]wFMCommunicate request_size=4 [20:55:45]MH_SAM_APDU [20:55:45]CAPDU: 80 09 00 00 [20:55:45]Write to MH i2c: E2 08 00 6A 0B 80 09 00 00 00 00 00 00 E7 [20:55:45]Write i2c OK [20:55:45]MH_I2C_Read... [20:55:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:55:45]Read from MH i2c: E2 [20:55:45]MH_I2C_Read... [20:55:45]Read from MH i2c: E2 03 00 [20:55:45]MH_I2C_Read... [20:55:45]Read from MH i2c: E2 03 00 6A 0B 00 90 00 E9 [20:55:45]RAPDU: 90 00 [20:55:45]wFMCommunicate OK [20:55:45]SAM_PROTO_ClearQueue done [20:55:45]KKMCreateOFDPacket [20:55:45]OFDProtocolAddRootSTLVToBuf [20:55:45]FM_MakeSignedData [20:55:45]FM_MakeSignedData [20:55:45]SAM_PROTO_SignData [20:55:45]wFMCommunicate request_size=4 [20:55:45]MH_SAM_APDU [20:55:45]CAPDU: 80 0D 01 02 [20:55:45]Write to MH i2c: E2 08 00 6B 0B 80 0D 01 02 00 00 00 00 EF [20:55:45]Write i2c OK [20:55:45]MH_I2C_Read... [20:55:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:55:45]Read from MH i2c: E2 [20:55:45]MH_I2C_Read... [20:55:45]Read from MH i2c: E2 03 00 [20:55:45]MH_I2C_Read... [20:55:45]Read from MH i2c: E2 03 00 6B 0B 00 90 00 EA [20:55:45]RAPDU: 90 00 [20:55:45]wFMCommunicate OK [20:55:45]wFMCommunicate request_size=255 [20:55:45]MH_SAM_APDU [20:55:45]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 52 25 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 [20:55:45]Write to MH i2c: E2 02 01 6C 0B 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 52 25 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 00 00 CD [20:55:45]Write i2c OK [20:55:45]MH_I2C_Read... [20:55:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:55:46]Read from MH i2c: E2 [20:55:46]MH_I2C_Read... [20:55:46]Read from MH i2c: E2 03 00 [20:55:46]MH_I2C_Read... [20:55:46]Read from MH i2c: E2 03 00 6C 0B 00 90 00 EB [20:55:46]RAPDU: 90 00 [20:55:46]wFMCommunicate OK [20:55:46]wFMCommunicate request_size=61 [20:55:46]MH_SAM_APDU [20:55:46]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B8 CD 00 00 35 04 06 00 EF B4 6F 5C 1D 20 [20:55:46]Write to MH i2c: E2 40 00 6D 0B 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B8 CD 00 00 35 04 06 00 EF B4 6F 5C 1D 20 00 00 56 [20:55:46]Write i2c OK [20:55:46]MH_I2C_Read... [20:55:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:55:46]Read from MH i2c: E2 [20:55:46]MH_I2C_Read... [20:55:46]Read from MH i2c: E2 03 00 [20:55:46]MH_I2C_Read... [20:55:46]Read from MH i2c: E2 03 00 6D 0B 00 90 00 EC [20:55:46]RAPDU: 90 00 [20:55:46]wFMCommunicate OK [20:55:46]wFMCommunicate request_size=4 [20:55:46]MH_SAM_APDU [20:55:46]CAPDU: 80 0D 03 02 [20:55:46]Write to MH i2c: E2 08 00 6E 0B 80 0D 03 02 00 00 00 00 F4 [20:55:46]Write i2c OK [20:55:46]MH_I2C_Read... [20:55:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:55:46]Read from MH i2c: E2 [20:55:46]MH_I2C_Read... [20:55:46]Read from MH i2c: E2 0B 00 [20:55:46]MH_I2C_Read... [20:55:46]Read from MH i2c: E2 0B 00 6E 0B 00 9A 8D 21 6B E3 A3 30 F6 90 00 54 [20:55:46]RAPDU: 9A 8D 21 6B E3 A3 30 F6 90 00 [20:55:46]wFMCommunicate OK [20:55:46]SAM_PROTO_SignData done [20:55:46]FM_MakeSignedData done [20:55:46]CreateOFDProtocolMessage [20:55:46]wFMCommunicate request_size=4 [20:55:46]MH_SAM_APDU [20:55:46]CAPDU: 80 11 00 00 [20:55:46]Write to MH i2c: E2 08 00 6F 0B 80 11 00 00 00 00 00 00 F4 [20:55:46]Write i2c OK [20:55:46]MH_I2C_Read... [20:55:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:55:46]Read from MH i2c: E2 [20:55:46]MH_I2C_Read... [20:55:46]Read from MH i2c: E2 17 00 [20:55:46]MH_I2C_Read... [20:55:46]Read from MH i2c: E2 17 00 6F 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 47 [20:55:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [20:55:46]wFMCommunicate OK [20:55:46]CreateOFDProtocolMessage done [20:55:46]OFDSenderStorePacket 52664 [20:55:46]StoreOFDPacket docnum=52664 [20:55:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 42 01 00 00 C1 C5 3A 01 59 47 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 52 25 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B8 CD 00 00 35 04 06 00 EF B4 6F 5C 1D 20 9A 8D 21 6B E3 A3 30 F6 [20:55:46]CheckFolder [20:55:46]dirname=/storage/ofd_packets [20:55:46]CheckFolder done [20:55:46]ProducePacketName [20:55:46]name=ofd_packets/00052664 [20:55:46]NVStorageSaveData ofd_packets/00052664 [20:55:46]File name is /storage/ofd_packets/00052664 [20:55:46]Write 352 bytes [20:55:46]NVStorageSaveData done [20:55:46]OFDSenderStorePacket done [20:55:46]KKMCreateOFDPacket done [20:55:46]NVStorageSaveData kkm_last_timestamp [20:55:46]File name is /storage/kkm_last_timestamp [20:55:46]Write 4 bytes [20:55:46]NVStorageSaveData done [20:55:46]ExternCall_PrintAddStr [20:55:46]wPrintStart [20:55:46]Write to MH i2c: 01 00 00 70 0B 7B [20:55:46]Write i2c OK [20:55:46]MH_I2C_Read... [20:55:46]Read from MH i2c: 01 [20:55:46]MH_I2C_Read... [20:55:46]Read from MH i2c: 01 07 00 [20:55:46]MH_I2C_Read... [20:55:46]Read from MH i2c: 01 07 00 70 0B 00 00 00 00 00 FF 0F 90 [20:55:46]RasterBufferAndPrint [20:55:46]line Счет N : (3)122795 [20:55:46]line ИНН: 02508201610067 [20:55:46]line Контрольно-Кассовый Чек [20:55:46]line ПРОДАЖА [20:55:46]line Товар: 4870001571030 [20:55:46]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [20:55:46]line 1.000 * 85.00 [20:55:46]line = 85.00 [20:55:46]line НДС 12% НСП 1% [20:55:46]line > о реализуемом товаре [20:55:46]line ИТОГО: 85.00 [20:55:46]line НСП 1% : 0.75 [20:55:46]line НДС 12% : 9.03 [20:55:46]line Наличными: 0.00 [20:55:46]line Безнал.: 85.00 [20:55:46]line Место: АЗС № 54 "Партнер Нефть" [20:55:46]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [20:55:46]line СНО: Общий режим [20:55:46]line Чек 75 11.08.2024 20:55 [20:55:46]line Смена: 446 ФФД: 1.0 [20:55:46]line ЗНМ: 0300000007 [20:55:46]line РНМ: 0000000000090834 [20:55:46]line Версия ККМ: 001 [20:55:46]line Платежная система: Бакай Банк [20:55:46]line ФМ: 0000000000874715 [20:55:46]line ФД: 52664 [20:55:46]line ФПД: 263558241459488 [20:55:46]line /tax-web-control/client/api/v1/ticket?date=20240811T205546&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52664&fm=263558241459488&tin=02508201610067®Number=0000000000090834&sum=8500 [20:55:46]line 0 [20:55:46]OFD Sender: Processing packet 52664 [packets to send 55, broken 54] [20:55:46]ProducePacketName [20:55:46]name=ofd_packets/00052664 [20:55:46]OFD Sender: To server: pG, [20:55:46]CommunicateWithHost lk.salyk.kg:30040 [20:55:46]ConnectInit lk.salyk.kg [20:55:46]written 0, free lines is 4095 [20:55:46]Connected sock=10 [20:55:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 42 01 00 00 C1 C5 3A 01 59 47 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 34 21 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 52 25 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B8 CD 00 00 35 04 06 00 EF B4 6F 5C 1D 20 9A 8D 21 6B E3 A3 30 F6 [20:55:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 E1 D5 47 00 0E 1F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B8 CD 00 00 F4 03 04 00 ED CC B8 66 B6 04 01 00 00 B9 8B BC 6D 6E 60 C6 BE [20:55:47]CommunicateWithHost err = 0 [20:55:47]CheckOFDResponse [20:55:47]1017 (14) - 77093643461234 [20:55:47]1041 (16) - 0000000000874715 [20:55:47]1040 (4) - 52664 [20:55:47]1012 (4) - 11.08.2024 14:38 [20:55:47]1206 (1) - 0 [20:55:47]OFD Sender: Remove packet 52664 [20:55:47]ProducePacketName [20:55:47]name=ofd_packets/00052664 [20:55:47]NVStorageDeleteData [20:55:47]Write to MH i2c: 01 00 00 9A 0B A5 [20:55:47]Write i2c OK [20:55:47]MH_I2C_Read... [20:55:47]Read from MH i2c: 01 [20:55:47]MH_I2C_Read... [20:55:47]Read from MH i2c: 01 07 00 [20:55:47]MH_I2C_Read... [20:55:47]Read from MH i2c: 01 07 00 9A 0B 00 00 00 00 00 C2 0C 7A [20:55:47]RasterBufferAndPrint [20:55:47]line [20:55:47]line [20:55:47]line [20:55:47]line [20:55:47]line [20:55:47]written 0, free lines is 3270 [20:55:47]MH_Cut [20:55:47]Write to MH i2c: D1 01 00 A1 0B 01 7E [20:55:47]Write i2c OK [20:55:47]MH_I2C_Read... [20:55:47]Read from MH i2c: D1 [20:55:47]MH_I2C_Read... [20:55:47]Read from MH i2c: D1 01 00 [20:55:47]MH_I2C_Read... [20:55:47]Read from MH i2c: D1 01 00 A1 0B 00 7D [20:55:47]Write to MH i2c: 01 00 00 A2 0B AD [20:55:47]Write i2c OK [20:55:47]MH_I2C_Read... [20:55:47]OFD Sender: No OFD packet to send [20:55:47]*** Cut start [20:55:47]*** Purtial cut [20:55:47]*** Stage 1: CUTSNS_PIN = 1 [20:55:48]Read from MH i2c: 01 [20:55:48]MH_I2C_Read... [20:55:48]*** Stop cut motor [20:55:48]*** Cut end [20:55:48]Read from MH i2c: 01 07 00 [20:55:48]MH_I2C_Read... [20:55:48]Read from MH i2c: 01 07 00 A2 0B 00 00 00 00 00 FF 0F C2 [20:55:48]process_action close_receipt done [20:55:48]requested_data is exist [20:55:48]produce_requested_data [20:55:48]requested_item fm.sn is exist - process it [20:55:48]wFMCommunicate request_size=4 [20:55:48]MH_SAM_APDU [20:55:48]CAPDU: 80 11 00 00 [20:55:48]Write to MH i2c: E2 08 00 A3 0B 80 11 00 00 00 00 00 00 28 [20:55:48]Write i2c OK [20:55:48]MH_I2C_Read... [20:55:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:55:48]Read from MH i2c: E2 [20:55:48]MH_I2C_Read... [20:55:48]Read from MH i2c: E2 17 00 [20:55:48]MH_I2C_Read... [20:55:48]Read from MH i2c: E2 17 00 A3 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 7B [20:55:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [20:55:48]wFMCommunicate OK [20:55:48]requested_item fd.num is exist - process it [20:55:48]SAM_PROTO_GetFieldsCounters [20:55:48]wFMCommunicate request_size=4 [20:55:48]MH_SAM_APDU [20:55:48]CAPDU: 80 13 00 00 [20:55:48]Write to MH i2c: E2 08 00 A4 0B 80 13 00 00 00 00 00 00 2B [20:55:48]Write i2c OK [20:55:48]MH_I2C_Read... [20:55:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:55:48]Read from MH i2c: E2 [20:55:48]MH_I2C_Read... [20:55:48]Read from MH i2c: E2 62 00 [20:55:48]MH_I2C_Read... [20:55:48]Read from MH i2c: E2 62 00 A4 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B8 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 70 [20:55: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B8 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:55:48]wFMCommunicate OK [20:55:48]SAM_PROTO_GetFieldsCounters done [20:55:48]requested_item shift.num is exist - process it [20:55:48]requested_item shift.opened is exist - process it [20:55:48]req_shift_opened [20:55:48]FM_GetShiftState [20:55:48]SAM_PROTO_GetShiftState [20:55:48]wFMCommunicate request_size=4 [20:55:48]MH_SAM_APDU [20:55:48]CAPDU: 80 13 01 00 [20:55:48]Write to MH i2c: E2 08 00 A5 0B 80 13 01 00 00 00 00 00 2D [20:55:48]Write i2c OK [20:55:48]MH_I2C_Read... [20:55:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:55:48]Read from MH i2c: E2 [20:55:48]MH_I2C_Read... [20:55:48]Read from MH i2c: E2 0E 00 [20:55:48]MH_I2C_Read... [20:55:48]Read from MH i2c: E2 0E 00 A5 0B 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 56 [20:55:48]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [20:55:48]wFMCommunicate OK [20:55:48]SAM_PROTO_GetShiftState done [20:55:48]FM_GetShiftState done [20:55:48]req_shift_opened done [20:55:48]requested_item shift.open_date is exist - process it [20:55:48]req_shift_open_date [20:55:48]req_shift_open_date done [20:55:48]produce_requested_data done [20:55:48]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52664,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [20:55:48]process_action_free close_receipt [20:55:48]json_value_free [20:55:48]json_value_free done [20:55:48]process_json_proto returns [20:55:48]Send response to host [20:55:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52664,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [20:55:48]free response buf [20:55:48]execute_script done [20:55:48]execute_script returns [20:55:48]free content buf [20:55:48]Sock 7.Close socket [20:55:48]Sock 7.Thread stoped [20:55:52]OFD Sender: No OFD packet to send [20:55:57]OFD Sender: No OFD packet to send [20:56:02]OFD Sender: No OFD packet to send [20:56:07]OFD Sender: No OFD packet to send [20:56:12]OFD Sender: No OFD packet to send [20:56:17]OFD Sender: No OFD packet to send [20:56:22]OFD Sender: No OFD packet to send [20:56:27]OFD Sender: No OFD packet to send [20:56:32]OFD Sender: No OFD packet to send [20:56:37]OFD Sender: No OFD packet to send [20:56:42]OFD Sender: No OFD packet to send [20:56:47]OFD Sender: No OFD packet to send [20:56:52]OFD Sender: No OFD packet to send [20:56:57]OFD Sender: No OFD packet to send [20:57:02]OFD Sender: No OFD packet to send [20:57:07]OFD Sender: No OFD packet to send [20:57:12]OFD Sender: No OFD packet to send [20:57:17]OFD Sender: No OFD packet to send [20:57:22]OFD Sender: No OFD packet to send [20:57:27]OFD Sender: No OFD packet to send [20:57:32]OFD Sender: No OFD packet to send [20:57:37]OFD Sender: No OFD packet to send [20:57:42]OFD Sender: No OFD packet to send [20:57:47]OFD Sender: No OFD packet to send [20:57:52]OFD Sender: No OFD packet to send [20:57:57]OFD Sender: No OFD packet to send [20:58:02]OFD Sender: No OFD packet to send [20:58:07]OFD Sender: No OFD packet to send [20:58:12]OFD Sender: No OFD packet to send [20:58:17]OFD Sender: No OFD packet to send [20:58:22]OFD Sender: No OFD packet to send [20:58:27]OFD Sender: No OFD packet to send [20:58:32]OFD Sender: No OFD packet to send [20:58:37]OFD Sender: No OFD packet to send [20:58:42]OFD Sender: No OFD packet to send [20:58:47]OFD Sender: No OFD packet to send [20:58:52]OFD Sender: No OFD packet to send [20:58:53]accept exits with 9 [20:58:53]New connection [20:58:53]New thread 3067293028 created [20:58:53]Thread 3067149668 joined [20:58:53]Waiting for new connection... [20:58:53] Sock 9.Parse request [20:58:53]Sock 9.Check first char [20:58:53]Sock 9.First char is OK [20:58:53]request: POST /json_proto HTTP/1.0 [20:58:53]Method: POST [20:58:53]URL: /json_proto [20:58:53]Method is POST - this is cgi request [20:58:53]url: /json_proto [20:58:53]query_string will be loaded in cgi processing [20:58:53]execute_cgi json_proto POST (null) [20:58:53]execute_cgi path=json_proto method=POST [20:58:53]POST find Content-Length [20:58:53]Host: 172.17.60.7:8080 [20:58:53]Content-Length: 1344 [20:58:53]Content-Type: application/json [20:58:53] [20:58:53]POST finish read [20:58:53]Found Content-Length = 1344 [20:58:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122796", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870240014831", "name": "\u041D\u0430\u0433\u0440.\u0422\u0430\u0431\u0430\u0447.\u041F\u0430\u043B\u043E\u0447.HEETS Summer Wave", "price" : 141.00, "quantity" : 1.000, "sum" : 141.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870216765088", "name": "\u041D\u0430\u0433\u0440.\u0422\u0430\u0431.\u041F\u0430\u043B\u043E\u0447. HEETS Purple Wave", "price" : 141.00, "quantity" : 1.000, "sum" : 141.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 433.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:58:53]execute_script... [20:58:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122796", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870240014831", "name": "\u041D\u0430\u0433\u0440.\u0422\u0430\u0431\u0430\u0447.\u041F\u0430\u043B\u043E\u0447.HEETS Summer Wave", "price" : 141.00, "quantity" : 1.000, "sum" : 141.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870216765088", "name": "\u041D\u0430\u0433\u0440.\u0422\u0430\u0431.\u041F\u0430\u043B\u043E\u0447. HEETS Purple Wave", "price" : 141.00, "quantity" : 1.000, "sum" : 141.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 433.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:58:53]POST & json_proto [20:58:53]process_json_proto [20:58:53]json parsed OK: [20:58:53]protocol is kg_v1.0 [20:58:53]action value=close_receipt [20:58:53]process_action close_receipt [20:58:53]cmd_close_receipt [20:58:53]MH_GetDate [20:58:53]Write to MH i2c: F0 00 00 A6 0B A0 [20:58:53]Write i2c OK [20:58:53]MH_I2C_Read... [20:58:53]Read from MH i2c: F0 [20:58:53]MH_I2C_Read... [20:58:53]Read from MH i2c: F0 09 00 [20:58:53]MH_I2C_Read... [20:58:53]Read from MH i2c: F0 09 00 A6 0B 00 10 26 B9 66 63 9B 67 64 C7 [20:58:53]GetLastDocTimeStamp 1723409746 [20:58:53]current date 1723409936 [20:58:53]FM_GetShiftState [20:58:53]SAM_PROTO_GetShiftState [20:58:53]wFMCommunicate request_size=4 [20:58:53]MH_SAM_APDU [20:58:53]CAPDU: 80 13 01 00 [20:58:53]Write to MH i2c: E2 08 00 A7 0B 80 13 01 00 00 00 00 00 2F [20:58:53]Write i2c OK [20:58:53]MH_I2C_Read... [20:58:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:58:54]Read from MH i2c: E2 [20:58:54]MH_I2C_Read... [20:58:54]Read from MH i2c: E2 0E 00 [20:58:54]MH_I2C_Read... [20:58:54]Read from MH i2c: E2 0E 00 A7 0B 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 58 [20:58:54]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [20:58:54]wFMCommunicate OK [20:58:54]SAM_PROTO_GetShiftState done [20:58:54]FM_GetShiftState done [20:58:54]opened in 1723336186 [20:58:54]opened+sec_in_day 1723422586 [20:58:54]quantity*price = 15100 [20:58:54]sum+1 = 15101 [20:58:54]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870240014831 Нагр.Табач.Палоч.HEETS Summer Wave 1.000 * 141.00 = 141.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870216765088 Нагр.Таб.Палоч. HEETS Purple Wave 1.000 * 141.00 = 141.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 433.00 НСП 1% : 3.84 НДС 12% : 45.97 Наличными: 0.00 Безнал.: 433.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 76 11.08.2024 20:58 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874715 ФД: 52665 ФПД: 51679892439768 /tax-web-control/client/api/v1/ticket?date=20240811T205856&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52665&fm=51679892439768&tin=02508201610067®Number=0000000000090834&sum=43300 0 [20:58:55]StoreToDocumentArchive [20:58:55]shift 446 fd 52665 [20:58:55]save to /storage/0446/doc_00052665 [20:58:55]save last doc name /storage/0446/doc_00052665 to /storage/kkm_last_doc_name [20:58:55]save OK [20:58:55]Clear old archive folders... [20:58:55]ProcessDocumentItem done err = 0, tmpTLVsize=511 [20:58:55]tlvbuf is 0128DFE0 [20:58:55]SAM_PROTO_ClearQueue [20:58:55]wFMCommunicate request_size=4 [20:58:55]MH_SAM_APDU [20:58:55]CAPDU: 80 09 00 00 [20:58:55]Write to MH i2c: E2 08 00 B4 0B 80 09 00 00 00 00 00 00 31 [20:58:55]Write i2c OK [20:58:55]MH_I2C_Read... [20:58:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:58:55]Read from MH i2c: E2 [20:58:55]MH_I2C_Read... [20:58:55]Read from MH i2c: E2 03 00 [20:58:55]MH_I2C_Read... [20:58:55]Read from MH i2c: E2 03 00 B4 0B 00 90 00 33 [20:58:55]RAPDU: 90 00 [20:58:55]wFMCommunicate OK [20:58:55]SAM_PROTO_ClearQueue done [20:58:55]KKMCreateOFDPacket [20:58:55]OFDProtocolAddRootSTLVToBuf [20:58:55]FM_MakeSignedData [20:58:55]FM_MakeSignedData [20:58:55]SAM_PROTO_SignData [20:58:55]wFMCommunicate request_size=4 [20:58:55]MH_SAM_APDU [20:58:55]CAPDU: 80 0D 01 02 [20:58:55]Write to MH i2c: E2 08 00 B5 0B 80 0D 01 02 00 00 00 00 39 [20:58:55]Write i2c OK [20:58:55]MH_I2C_Read... [20:58:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:58:55]Read from MH i2c: E2 [20:58:55]MH_I2C_Read... [20:58:55]Read from MH i2c: E2 03 00 [20:58:55]MH_I2C_Read... [20:58:55]Read from MH i2c: E2 03 00 B5 0B 00 90 00 34 [20:58:55]RAPDU: 90 00 [20:58:55]wFMCommunicate OK [20:58:55]wFMCommunicate request_size=255 [20:58:55]MH_SAM_APDU [20:58:55]CAPDU: 80 0D 02 02 FA 03 00 FF 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 34 30 30 31 34 38 33 31 06 04 30 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 D0 B0 D1 87 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 48 45 45 54 53 20 53 75 6D 6D 65 72 20 57 61 76 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 [20:58:55]Write to MH i2c: E2 02 01 B6 0B 80 0D 02 02 FA 00 03 00 FF 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 34 30 30 31 34 38 33 31 06 04 30 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 D0 B0 D1 87 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 48 45 45 54 53 20 53 75 6D 6D 65 72 20 57 61 76 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 00 00 3A [20:58:55]Write i2c OK [20:58:55]MH_I2C_Read... [20:58:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:58:55]Read from MH i2c: E2 [20:58:55]MH_I2C_Read... [20:58:55]Read from MH i2c: E2 03 00 [20:58:55]MH_I2C_Read... [20:58:55]Read from MH i2c: E2 03 00 B6 0B 00 90 00 35 [20:58:55]RAPDU: 90 00 [20:58:55]wFMCommunicate OK [20:58:55]wFMCommunicate request_size=255 [20:58:55]MH_SAM_APDU [20:58:55]CAPDU: 80 0D 02 02 FA 35 30 38 38 06 04 2D 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 50 75 72 70 6C 65 20 57 61 76 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 24 A9 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 10 26 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 [20:58:55]Write to MH i2c: E2 02 01 B7 0B 80 0D 02 02 FA 00 35 30 38 38 06 04 2D 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 50 75 72 70 6C 65 20 57 61 76 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 24 A9 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 10 26 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 00 62 [20:58:55]Write i2c OK [20:58:55]MH_I2C_Read... [20:58:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:58:56]Read from MH i2c: E2 [20:58:56]MH_I2C_Read... [20:58:56]Read from MH i2c: E2 03 00 [20:58:56]MH_I2C_Read... [20:58:56]Read from MH i2c: E2 03 00 B7 0B 00 90 00 36 [20:58:56]RAPDU: 90 00 [20:58:56]wFMCommunicate OK [20:58:56]wFMCommunicate request_size=20 [20:58:56]MH_SAM_APDU [20:58:56]CAPDU: 80 0D 02 02 0F 00 B9 CD 00 00 35 04 06 00 2F 00 A9 A1 82 D8 [20:58:56]Write to MH i2c: E2 17 00 B8 0B 80 0D 02 02 0F 00 00 B9 CD 00 00 35 04 06 00 2F 00 A9 A1 82 D8 00 00 F3 [20:58:56]Write i2c OK [20:58:56]MH_I2C_Read... [20:58:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:58:56]Read from MH i2c: E2 [20:58:56]MH_I2C_Read... [20:58:56]Read from MH i2c: E2 03 00 [20:58:56]MH_I2C_Read... [20:58:56]Read from MH i2c: E2 03 00 B8 0B 00 90 00 37 [20:58:56]RAPDU: 90 00 [20:58:56]wFMCommunicate OK [20:58:56]wFMCommunicate request_size=4 [20:58:56]MH_SAM_APDU [20:58:56]CAPDU: 80 0D 03 02 [20:58:56]Write to MH i2c: E2 08 00 B9 0B 80 0D 03 02 00 00 00 00 3F [20:58:56]Write i2c OK [20:58:56]MH_I2C_Read... [20:58:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:58:56]Read from MH i2c: E2 [20:58:56]MH_I2C_Read... [20:58:56]Read from MH i2c: E2 0B 00 [20:58:56]MH_I2C_Read... [20:58:56]Read from MH i2c: E2 0B 00 B9 0B 00 FF 88 77 FA 7B FC F5 1F 90 00 C3 [20:58:56]RAPDU: FF 88 77 FA 7B FC F5 1F 90 00 [20:58:56]wFMCommunicate OK [20:58:56]SAM_PROTO_SignData done [20:58:56]FM_MakeSignedData done [20:58:56]CreateOFDProtocolMessage [20:58:56]wFMCommunicate request_size=4 [20:58:56]MH_SAM_APDU [20:58:56]CAPDU: 80 11 00 00 [20:58:56]Write to MH i2c: E2 08 00 BA 0B 80 11 00 00 00 00 00 00 3F [20:58:56]Write i2c OK [20:58:56]MH_I2C_Read... [20:58:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:58:56]Read from MH i2c: E2 [20:58:56]MH_I2C_Read... [20:58:56]Read from MH i2c: E2 17 00 [20:58:56]MH_I2C_Read... [20:58:56]Read from MH i2c: E2 17 00 BA 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 92 [20:58:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [20:58:56]wFMCommunicate OK [20:58:56]CreateOFDProtocolMessage done [20:58:56]OFDSenderStorePacket 52665 [20:58:56]StoreOFDPacket docnum=52665 [20:58:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 13 02 00 00 9E 45 0B 02 CD D9 5A 03 01 00 03 00 FF 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 34 30 30 31 34 38 33 31 06 04 30 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 D0 B0 D1 87 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 48 45 45 54 53 20 53 75 6D 6D 65 72 20 57 61 76 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 35 30 38 38 06 04 2D 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 50 75 72 70 6C 65 20 57 61 76 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 24 A9 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 10 26 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B9 CD 00 00 35 04 06 00 2F 00 A9 A1 82 D8 FF 88 77 FA 7B FC F5 1F [20:58:56]CheckFolder [20:58:56]dirname=/storage/ofd_packets [20:58:56]CheckFolder done [20:58:56]ProducePacketName [20:58:56]name=ofd_packets/00052665 [20:58:56]NVStorageSaveData ofd_packets/00052665 [20:58:56]File name is /storage/ofd_packets/00052665 [20:58:56]Write 561 bytes [20:58:56]NVStorageSaveData done [20:58:56]OFDSenderStorePacket done [20:58:56]KKMCreateOFDPacket done [20:58:56]NVStorageSaveData kkm_last_timestamp [20:58:56]File name is /storage/kkm_last_timestamp [20:58:56]Write 4 bytes [20:58:56]NVStorageSaveData done [20:58:56]ExternCall_PrintAddStr [20:58:56]wPrintStart [20:58:56]Write to MH i2c: 01 00 00 BB 0B C6 [20:58:56]Write i2c OK [20:58:56]MH_I2C_Read... [20:58:56]Read from MH i2c: 01 [20:58:56]MH_I2C_Read... [20:58:56]Read from MH i2c: 01 07 00 [20:58:56]MH_I2C_Read... [20:58:56]Read from MH i2c: 01 07 00 BB 0B 00 00 00 00 00 FF 0F DB [20:58:56]RasterBufferAndPrint [20:58:56]line Счет N : (3)122796 [20:58:56]line ИНН: 02508201610067 [20:58:56]line Контрольно-Кассовый Чек [20:58:56]line ПРОДАЖА [20:58:56]line Товар: 48741958 [20:58:56]line Сигареты Parliament Aqua Blue [20:58:56]line 1.000 * 151.00 [20:58:56]line = 151.00 [20:58:56]line НДС 12% НСП 1% [20:58:56]line > о реализуемом товаре [20:58:56]line Товар: 4870240014831 [20:58:56]line Нагр.Табач.Палоч.HEETS Summer Wave [20:58:56]line 1.000 * 141.00 [20:58:56]line = 141.00 [20:58:56]line НДС 12% НСП 1% [20:58:56]line > о реализуемом товаре [20:58:56]line Товар: 4870216765088 [20:58:56]line Нагр.Таб.Палоч. HEETS Purple Wave [20:58:56]line 1.000 * 141.00 [20:58:56]line = 141.00 [20:58:56]line НДС 12% НСП 1% [20:58:56]line > о реализуемом товаре [20:58:56]line ИТОГО: 433.00 [20:58:56]line НСП 1% : 3.84 [20:58:56]line НДС 12% : 45.97 [20:58:56]line Наличными: 0.00 [20:58:56]line Безнал.: 433.00 [20:58:56]line Место: АЗС № 54 "Партнер Нефть" [20:58:56]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [20:58:56]line СНО: Общий режим [20:58:56]line Чек 76 11.08.2024 20:58 [20:58:56]line Смена: 446 ФФД: 1.0 [20:58:56]line ЗНМ: 0300000007 [20:58:56]line РНМ: 0000000000090834 [20:58:56]line Версия ККМ: 001 [20:58:56]line Платежная система: Бакай Банк [20:58:56]line ФМ: 0000000000874715 [20:58:56]line ФД: 52665 [20:58:56]line ФПД: 51679892439768 [20:58:56]line /tax-web-control/client/api/v1/ticket?date=20240811T205856&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52665&fm=51679892439768&tin=02508201610067®Number=0000000000090834&sum=43300 [20:58:56]line 0 [20:58:56]OFD Sender: Processing packet 52665 [packets to send 55, broken 54] [20:58:56]ProducePacketName [20:58:56]name=ofd_packets/00052665 [20:58:56]OFD Sender: To server: pG, [20:58:56]CommunicateWithHost lk.salyk.kg:30040 [20:58:56]ConnectInit lk.salyk.kg [20:58:56]written 0, free lines is 4095 [20:58:56]Connected sock=10 [20:58:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 13 02 00 00 9E 45 0B 02 CD D9 5A 03 01 00 03 00 FF 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 38 37 30 32 34 30 30 31 34 38 33 31 06 04 30 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 D0 B0 D1 87 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 48 45 45 54 53 20 53 75 6D 6D 65 72 20 57 61 76 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 35 30 38 38 06 04 2D 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 50 75 72 70 6C 65 20 57 61 76 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 14 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F5 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 24 A9 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 10 26 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 B9 CD 00 00 35 04 06 00 2F 00 A9 A1 82 D8 FF 88 77 FA 7B FC F5 1F [20:58:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 F1 E4 47 00 E5 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 34 37 31 35 10 04 04 00 B9 CD 00 00 F4 03 04 00 AB CD B8 66 B6 04 01 00 00 FB 2C 65 BE 22 03 6C F2 [20:58:57]CommunicateWithHost err = 0 [20:58:57]CheckOFDResponse [20:58:57]1017 (14) - 77093643461234 [20:58:57]1041 (16) - 0000000000874715 [20:58:57]1040 (4) - 52665 [20:58:57]1012 (4) - 11.08.2024 14:41 [20:58:57]1206 (1) - 0 [20:58:57]OFD Sender: Remove packet 52665 [20:58:57]ProducePacketName [20:58:57]name=ofd_packets/00052665 [20:58:57]NVStorageDeleteData [20:58:57]Write to MH i2c: 01 00 00 F3 0B FE [20:58:57]Write i2c OK [20:58:57]MH_I2C_Read... [20:58:57]Read from MH i2c: 01 [20:58:57]MH_I2C_Read... [20:58:57]Read from MH i2c: 01 07 00 [20:58:57]MH_I2C_Read... [20:58:57]Read from MH i2c: 01 07 00 F3 0B 00 00 00 00 00 D0 0B E0 [20:58:57]RasterBufferAndPrint [20:58:57]line [20:58:57]line [20:58:57]line [20:58:57]line [20:58:57]line [20:58:57]written 0, free lines is 3030 [20:58:57]MH_Cut [20:58:57]Write to MH i2c: D1 01 00 FA 0B 01 D7 [20:58:57]Write i2c OK [20:58:57]MH_I2C_Read... [20:58:57]Read from MH i2c: D1 [20:58:57]MH_I2C_Read... [20:58:57]Read from MH i2c: D1 01 00 [20:58:57]MH_I2C_Read... [20:58:57]Read from MH i2c: D1 01 00 FA 0B 00 D6 [20:58:57]Write to MH i2c: 01 00 00 FB 0B 06 [20:58:57]Write i2c OK [20:58:57]MH_I2C_Read... [20:58:57]OFD Sender: No OFD packet to send [20:58:58]*** Cut start [20:58:58]*** Purtial cut [20:58:58]*** Stage 1: CUTSNS_PIN = 1 [20:58:58]Read from MH i2c: 01 [20:58:58]MH_I2C_Read... [20:58:58]*** Stop cut motor [20:58:58]*** Cut end [20:58:58]Read from MH i2c: 01 07 00 [20:58:58]MH_I2C_Read... [20:58:58]Read from MH i2c: 01 07 00 FB 0B 00 00 00 00 00 FF 0F 1B [20:58:58]process_action close_receipt done [20:58:58]requested_data is exist [20:58:58]produce_requested_data [20:58:58]requested_item fm.sn is exist - process it [20:58:58]wFMCommunicate request_size=4 [20:58:58]MH_SAM_APDU [20:58:58]CAPDU: 80 11 00 00 [20:58:58]Write to MH i2c: E2 08 00 FC 0B 80 11 00 00 00 00 00 00 81 [20:58:58]Write i2c OK [20:58:58]MH_I2C_Read... [20:58:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:58:58]Read from MH i2c: E2 [20:58:58]MH_I2C_Read... [20:58:58]Read from MH i2c: E2 17 00 [20:58:58]MH_I2C_Read... [20:58:58]Read from MH i2c: E2 17 00 FC 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 D4 [20:58:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [20:58:58]wFMCommunicate OK [20:58:58]requested_item fd.num is exist - process it [20:58:58]SAM_PROTO_GetFieldsCounters [20:58:58]wFMCommunicate request_size=4 [20:58:58]MH_SAM_APDU [20:58:58]CAPDU: 80 13 00 00 [20:58:58]Write to MH i2c: E2 08 00 FD 0B 80 13 00 00 00 00 00 00 84 [20:58:58]Write i2c OK [20:58:58]MH_I2C_Read... [20:58:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:58:58]Read from MH i2c: E2 [20:58:58]MH_I2C_Read... [20:58:58]Read from MH i2c: E2 62 00 [20:58:58]MH_I2C_Read... [20:58:58]Read from MH i2c: E2 62 00 FD 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B9 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 CD [20:58: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 B9 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:58:58]wFMCommunicate OK [20:58:58]SAM_PROTO_GetFieldsCounters done [20:58:58]requested_item shift.num is exist - process it [20:58:58]requested_item shift.opened is exist - process it [20:58:58]req_shift_opened [20:58:58]FM_GetShiftState [20:58:58]SAM_PROTO_GetShiftState [20:58:58]wFMCommunicate request_size=4 [20:58:58]MH_SAM_APDU [20:58:58]CAPDU: 80 13 01 00 [20:58:58]Write to MH i2c: E2 08 00 FE 0B 80 13 01 00 00 00 00 00 86 [20:58:58]Write i2c OK [20:58:58]MH_I2C_Read... [20:58:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:58:58]Read from MH i2c: E2 [20:58:58]MH_I2C_Read... [20:58:58]Read from MH i2c: E2 0E 00 [20:58:58]MH_I2C_Read... [20:58:58]Read from MH i2c: E2 0E 00 FE 0B 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 AF [20:58:58]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [20:58:58]wFMCommunicate OK [20:58:58]SAM_PROTO_GetShiftState done [20:58:58]FM_GetShiftState done [20:58:58]req_shift_opened done [20:58:58]requested_item shift.open_date is exist - process it [20:58:58]req_shift_open_date [20:58:58]req_shift_open_date done [20:58:58]produce_requested_data done [20:58:58]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52665,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [20:58:58]process_action_free close_receipt [20:58:58]json_value_free [20:58:58]json_value_free done [20:58:58]process_json_proto returns [20:58:58]Send response to host [20:58:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52665,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [20:58:58]free response buf [20:58:58]execute_script done [20:58:58]execute_script returns [20:58:58]free content buf [20:58:58]Sock 9.Close socket [20:58:58]Sock 9.Thread stoped [20:59:02]OFD Sender: No OFD packet to send [20:59:07]OFD Sender: No OFD packet to send [20:59:12]OFD Sender: No OFD packet to send [20:59:17]OFD Sender: No OFD packet to send [20:59:22]OFD Sender: No OFD packet to send [20:59:27]OFD Sender: No OFD packet to send [20:59:32]OFD Sender: No OFD packet to send [20:59:37]OFD Sender: No OFD packet to send [20:59:42]OFD Sender: No OFD packet to send [20:59:47]OFD Sender: No OFD packet to send [20:59:52]OFD Sender: No OFD packet to send [20:59:57]OFD Sender: No OFD packet to send [21:00:02]OFD Sender: No OFD packet to send [21:00:07]OFD Sender: No OFD packet to send [21:00:12]OFD Sender: No OFD packet to send [21:00:17]OFD Sender: No OFD packet to send [21:00:22]OFD Sender: No OFD packet to send [21:00:27]OFD Sender: No OFD packet to send [21:00:32]OFD Sender: No OFD packet to send [21:00:37]OFD Sender: No OFD packet to send [21:00:42]OFD Sender: No OFD packet to send [21:00:47]OFD Sender: No OFD packet to send [21:00:52]OFD Sender: No OFD packet to send [21:00:57]OFD Sender: No OFD packet to send [21:01:02]OFD Sender: No OFD packet to send [21:01:07]OFD Sender: No OFD packet to send [21:01:12]OFD Sender: No OFD packet to send [21:01:17]OFD Sender: No OFD packet to send [21:01:22]OFD Sender: No OFD packet to send [21:01:25]accept exits with 7 [21:01:25]New connection [21:01:25]New thread 3067149668 created [21:01:25]Thread 3067293028 joined [21:01:25]Waiting for new connection... [21:01:25] Sock 7.Parse request [21:01:25]Sock 7.Check first char [21:01:25]Sock 7.First char is OK [21:01:25]request: POST /json_proto HTTP/1.0 [21:01:25]Method: POST [21:01:25]URL: /json_proto [21:01:25]Method is POST - this is cgi request [21:01:25]url: /json_proto [21:01:25]query_string will be loaded in cgi processing [21:01:25]execute_cgi json_proto POST (null) [21:01:25]execute_cgi path=json_proto method=POST [21:01:25]POST find Content-Length [21:01:25]Host: 172.17.60.7:8080 [21:01:25]Content-Length: 818 [21:01:25]Content-Type: application/json [21:01:25] [21:01:25]POST finish read [21:01:25]Found Content-Length = 818 [21:01:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122797", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:01:25]execute_script... [21:01: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)122797", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:01:25]POST & json_proto [21:01:25]process_json_proto [21:01:25]json parsed OK: [21:01:25]protocol is kg_v1.0 [21:01:25]action value=close_receipt [21:01:25]process_action close_receipt [21:01:25]cmd_close_receipt [21:01:25]MH_GetDate [21:01:25]Write to MH i2c: F0 00 00 FF 0B F9 [21:01:25]Write i2c OK [21:01:25]MH_I2C_Read... [21:01:25]Read from MH i2c: F0 [21:01:25]MH_I2C_Read... [21:01:25]Read from MH i2c: F0 09 00 [21:01:25]MH_I2C_Read... [21:01:25]Read from MH i2c: F0 09 00 FF 0B 00 A7 26 B9 66 63 9B 67 64 B7 [21:01:25]GetLastDocTimeStamp 1723409936 [21:01:25]current date 1723410087 [21:01:25]FM_GetShiftState [21:01:25]SAM_PROTO_GetShiftState [21:01:25]wFMCommunicate request_size=4 [21:01:25]MH_SAM_APDU [21:01:25]CAPDU: 80 13 01 00 [21:01:25]Write to MH i2c: E2 08 00 00 0C 80 13 01 00 00 00 00 00 89 [21:01:25]Write i2c OK [21:01:25]MH_I2C_Read... [21:01:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:01:25]Read from MH i2c: E2 [21:01:25]MH_I2C_Read... [21:01:25]Read from MH i2c: E2 0E 00 [21:01:25]MH_I2C_Read... [21:01:25]Read from MH i2c: E2 0E 00 00 0C 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 B2 [21:01:25]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [21:01:25]wFMCommunicate OK [21:01:25]SAM_PROTO_GetShiftState done [21:01:25]FM_GetShiftState done [21:01:25]opened in 1723336186 [21:01:25]opened+sec_in_day 1723422586 [21:01:25]quantity*price = 12500 [21:01:25]sum+1 = 12501 [21:01:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 0.00 Безнал.: 125.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 77 11.08.2024 21:01 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52666 ФПД: 128406281181265 /tax-web-control/client/api/v1/ticket?date=20240811T210127&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52666&fm=128406281181265&tin=02508201610067®Number=0000000000090834&sum=12500 0 [21:01:26]StoreToDocumentArchive [21:01:26]shift 446 fd 52666 [21:01:26]save to /storage/0446/doc_00052666 [21:01:26]save last doc name /storage/0446/doc_00052666 to /storage/kkm_last_doc_name [21:01:26]save OK [21:01:26]Clear old archive folders... [21:01:26]ProcessDocumentItem done err = 0, tmpTLVsize=284 [21:01:26]tlvbuf is 01282930 [21:01:26]SAM_PROTO_ClearQueue [21:01:26]wFMCommunicate request_size=4 [21:01:26]MH_SAM_APDU [21:01:26]CAPDU: 80 09 00 00 [21:01:26]Write to MH i2c: E2 08 00 0D 0C 80 09 00 00 00 00 00 00 8B [21:01:26]Write i2c OK [21:01:26]MH_I2C_Read... [21:01:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:01:26]Read from MH i2c: E2 [21:01:26]MH_I2C_Read... [21:01:26]Read from MH i2c: E2 03 00 [21:01:26]MH_I2C_Read... [21:01:26]Read from MH i2c: E2 03 00 0D 0C 00 90 00 8D [21:01:26]RAPDU: 90 00 [21:01:26]wFMCommunicate OK [21:01:26]SAM_PROTO_ClearQueue done [21:01:26]KKMCreateOFDPacket [21:01:26]OFDProtocolAddRootSTLVToBuf [21:01:26]FM_MakeSignedData [21:01:26]FM_MakeSignedData [21:01:26]SAM_PROTO_SignData [21:01:26]wFMCommunicate request_size=4 [21:01:26]MH_SAM_APDU [21:01:26]CAPDU: 80 0D 01 02 [21:01:26]Write to MH i2c: E2 08 00 0E 0C 80 0D 01 02 00 00 00 00 93 [21:01:26]Write i2c OK [21:01:26]MH_I2C_Read... [21:01:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:01:26]Read from MH i2c: E2 [21:01:26]MH_I2C_Read... [21:01:26]Read from MH i2c: E2 03 00 [21:01:26]MH_I2C_Read... [21:01:26]Read from MH i2c: E2 03 00 0E 0C 00 90 00 8E [21:01:26]RAPDU: 90 00 [21:01:26]wFMCommunicate OK [21:01:26]wFMCommunicate request_size=255 [21:01:26]MH_SAM_APDU [21:01:26]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 4D 00 00 00 F4 03 04 00 A7 26 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 [21:01:26]Write to MH i2c: E2 02 01 0F 0C 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 4D 00 00 00 F4 03 04 00 A7 26 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 00 00 2C [21:01:26]Write i2c OK [21:01:26]MH_I2C_Read... [21:01:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:01:26]Read from MH i2c: E2 [21:01:26]MH_I2C_Read... [21:01:26]Read from MH i2c: E2 03 00 [21:01:26]MH_I2C_Read... [21:01:26]Read from MH i2c: E2 03 00 0F 0C 00 90 00 8F [21:01:26]RAPDU: 90 00 [21:01:26]wFMCommunicate OK [21:01:26]wFMCommunicate request_size=43 [21:01:26]MH_SAM_APDU [21:01:26]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BA CD 00 00 35 04 06 00 74 C8 EA C6 D8 51 [21:01:26]Write to MH i2c: E2 2E 00 10 0C 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BA CD 00 00 35 04 06 00 74 C8 EA C6 D8 51 00 00 1A [21:01:26]Write i2c OK [21:01:26]MH_I2C_Read... [21:01:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:01:26]Read from MH i2c: E2 [21:01:26]MH_I2C_Read... [21:01:26]Read from MH i2c: E2 03 00 [21:01:26]MH_I2C_Read... [21:01:26]Read from MH i2c: E2 03 00 10 0C 00 90 00 90 [21:01:26]RAPDU: 90 00 [21:01:26]wFMCommunicate OK [21:01:26]wFMCommunicate request_size=4 [21:01:26]MH_SAM_APDU [21:01:26]CAPDU: 80 0D 03 02 [21:01:26]Write to MH i2c: E2 08 00 11 0C 80 0D 03 02 00 00 00 00 98 [21:01:26]Write i2c OK [21:01:26]MH_I2C_Read... [21:01:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:01:27]Read from MH i2c: E2 [21:01:27]MH_I2C_Read... [21:01:27]Read from MH i2c: E2 0B 00 [21:01:27]MH_I2C_Read... [21:01:27]Read from MH i2c: E2 0B 00 11 0C 00 6D CF 61 FA 81 FE B2 31 90 00 92 [21:01:27]RAPDU: 6D CF 61 FA 81 FE B2 31 90 00 [21:01:27]wFMCommunicate OK [21:01:27]SAM_PROTO_SignData done [21:01:27]FM_MakeSignedData done [21:01:27]CreateOFDProtocolMessage [21:01:27]wFMCommunicate request_size=4 [21:01:27]MH_SAM_APDU [21:01:27]CAPDU: 80 11 00 00 [21:01:27]Write to MH i2c: E2 08 00 12 0C 80 11 00 00 00 00 00 00 98 [21:01:27]Write i2c OK [21:01:27]MH_I2C_Read... [21:01:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:01:27]Read from MH i2c: E2 [21:01:27]MH_I2C_Read... [21:01:27]Read from MH i2c: E2 17 00 [21:01:27]MH_I2C_Read... [21:01:27]Read from MH i2c: E2 17 00 12 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 EB [21:01:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [21:01:27]wFMCommunicate OK [21:01:27]CreateOFDProtocolMessage done [21:01:27]OFDSenderStorePacket 52666 [21:01:27]StoreOFDPacket docnum=52666 [21:01:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 30 01 00 00 48 A8 28 01 55 B3 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 4D 00 00 00 F4 03 04 00 A7 26 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BA CD 00 00 35 04 06 00 74 C8 EA C6 D8 51 6D CF 61 FA 81 FE B2 31 [21:01:27]CheckFolder [21:01:27]dirname=/storage/ofd_packets [21:01:27]CheckFolder done [21:01:27]ProducePacketName [21:01:27]name=ofd_packets/00052666 [21:01:27]NVStorageSaveData ofd_packets/00052666 [21:01:27]File name is /storage/ofd_packets/00052666 [21:01:27]Write 334 bytes [21:01:27]NVStorageSaveData done [21:01:27]OFDSenderStorePacket done [21:01:27]KKMCreateOFDPacket done [21:01:27]NVStorageSaveData kkm_last_timestamp [21:01:27]File name is /storage/kkm_last_timestamp [21:01:27]Write 4 bytes [21:01:27]NVStorageSaveData done [21:01:27]ExternCall_PrintAddStr [21:01:27]wPrintStart [21:01:27]Write to MH i2c: 01 00 00 13 0C 1F [21:01:27]Write i2c OK [21:01:27]MH_I2C_Read... [21:01:27]Read from MH i2c: 01 [21:01:27]MH_I2C_Read... [21:01:27]Read from MH i2c: 01 07 00 [21:01:27]MH_I2C_Read... [21:01:27]Read from MH i2c: 01 07 00 13 0C 00 00 00 00 00 FF 0F 34 [21:01:27]RasterBufferAndPrint [21:01:27]line Счет N : (3)122797 [21:01:27]line ИНН: 02508201610067 [21:01:27]line Контрольно-Кассовый Чек [21:01:27]line ПРОДАЖА [21:01:27]line Товар: 2000036190018 [21:01:27]line Кофе Американо XL(GABB TRADE) [21:01:27]line 1.000 * 125.00 [21:01:27]line = 125.00 [21:01:27]line НДС 12% НСП 1% [21:01:27]line > о реализуемом товаре [21:01:27]line ИТОГО: 125.00 [21:01:27]line НСП 1% : 1.11 [21:01:27]line НДС 12% : 13.27 [21:01:27]line Наличными: 0.00 [21:01:27]line Безнал.: 125.00 [21:01:27]line Место: АЗС № 54 "Партнер Нефть" [21:01:27]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [21:01:27]line СНО: Общий режим [21:01:27]line Чек 77 11.08.2024 21:01 [21:01:27]line Смена: 446 ФФД: 1.0 [21:01:27]line ЗНМ: 0300000007 [21:01:27]line РНМ: 0000000000090834 [21:01:27]line Версия ККМ: 001 [21:01:27]line Платежная система: О! деньги [21:01:27]line ФМ: 0000000000874715 [21:01:27]line ФД: 52666 [21:01:27]line ФПД: 128406281181265 [21:01:27]line /tax-web-control/client/api/v1/ticket?date=20240811T210127&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52666&fm=128406281181265&tin=02508201610067®Number=0000000000090834&sum=12500 [21:01:27]line 0 [21:01:27]OFD Sender: Processing packet 52666 [packets to send 55, broken 54] [21:01:27]ProducePacketName [21:01:27]name=ofd_packets/00052666 [21:01:27]OFD Sender: To server: pG, [21:01:27]CommunicateWithHost lk.salyk.kg:30040 [21:01:27]ConnectInit lk.salyk.kg [21:01:27]written 0, free lines is 4095 [21:01:27]Connected sock=11 [21:01:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 30 01 00 00 48 A8 28 01 55 B3 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 4D 00 00 00 F4 03 04 00 A7 26 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BA CD 00 00 35 04 06 00 74 C8 EA C6 D8 51 6D CF 61 FA 81 FE B2 31 [21:01:27]Write to MH i2c: 01 00 00 3D 0C 49 [21:01:27]Write i2c OK [21:01:27]MH_I2C_Read... [21:01:27]Read from MH i2c: 01 [21:01:27]MH_I2C_Read... [21:01:27]Read from MH i2c: 01 07 00 [21:01:27]MH_I2C_Read... [21:01:27]Read from MH i2c: 01 07 00 3D 0C 00 00 00 00 00 C0 0C 1C [21:01:27]RasterBufferAndPrint [21:01:27]line [21:01:27]line [21:01:27]line [21:01:27]line [21:01:27]line [21:01:27]written 0, free lines is 3270 [21:01:27]MH_Cut [21:01:27]Write to MH i2c: D1 01 00 44 0C 01 22 [21:01:27]Write i2c OK [21:01:27]MH_I2C_Read... [21:01:27]Read from MH i2c: D1 [21:01:27]MH_I2C_Read... [21:01:27]Read from MH i2c: D1 01 00 [21:01:27]MH_I2C_Read... [21:01:27]Read from MH i2c: D1 01 00 44 0C 00 21 [21:01:27]Write to MH i2c: 01 00 00 45 0C 51 [21:01:27]Write i2c OK [21:01:27]MH_I2C_Read... [21:01:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 80 53 47 00 5E 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 34 37 31 35 10 04 04 00 BA CD 00 00 F4 03 04 00 41 CE B8 66 B6 04 01 00 00 27 9B 76 3E 18 7E 18 58 [21:01:27]CommunicateWithHost err = 0 [21:01:27]CheckOFDResponse [21:01:27]1017 (14) - 77093643461234 [21:01:27]1041 (16) - 0000000000874715 [21:01:27]1040 (4) - 52666 [21:01:27]1012 (4) - 11.08.2024 14:44 [21:01:27]1206 (1) - 0 [21:01:27]OFD Sender: Remove packet 52666 [21:01:27]ProducePacketName [21:01:27]name=ofd_packets/00052666 [21:01:27]NVStorageDeleteData [21:01:28]OFD Sender: No OFD packet to send [21:01:28]*** Cut start [21:01:28]*** Purtial cut [21:01:28]*** Stage 1: CUTSNS_PIN = 1 [21:01:29]Read from MH i2c: 01 [21:01:29]MH_I2C_Read... [21:01:29]*** Stop cut motor [21:01:29]*** Cut end [21:01:29]Read from MH i2c: 01 07 00 [21:01:29]MH_I2C_Read... [21:01:29]Read from MH i2c: 01 07 00 45 0C 00 00 00 00 00 FF 0F 66 [21:01:29]process_action close_receipt done [21:01:29]requested_data is exist [21:01:29]produce_requested_data [21:01:29]requested_item fm.sn is exist - process it [21:01:29]wFMCommunicate request_size=4 [21:01:29]MH_SAM_APDU [21:01:29]CAPDU: 80 11 00 00 [21:01:29]Write to MH i2c: E2 08 00 46 0C 80 11 00 00 00 00 00 00 CC [21:01:29]Write i2c OK [21:01:29]MH_I2C_Read... [21:01:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:01:29]Read from MH i2c: E2 [21:01:29]MH_I2C_Read... [21:01:29]Read from MH i2c: E2 17 00 [21:01:29]MH_I2C_Read... [21:01:29]Read from MH i2c: E2 17 00 46 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 1F [21:01:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [21:01:29]wFMCommunicate OK [21:01:29]requested_item fd.num is exist - process it [21:01:29]SAM_PROTO_GetFieldsCounters [21:01:29]wFMCommunicate request_size=4 [21:01:29]MH_SAM_APDU [21:01:29]CAPDU: 80 13 00 00 [21:01:29]Write to MH i2c: E2 08 00 47 0C 80 13 00 00 00 00 00 00 CF [21:01:29]Write i2c OK [21:01:29]MH_I2C_Read... [21:01:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:01:29]Read from MH i2c: E2 [21:01:29]MH_I2C_Read... [21:01:29]Read from MH i2c: E2 62 00 [21:01:29]MH_I2C_Read... [21:01:29]Read from MH i2c: E2 62 00 47 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 BA CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 1C [21:01: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 BA CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:01:29]wFMCommunicate OK [21:01:29]SAM_PROTO_GetFieldsCounters done [21:01:29]requested_item shift.num is exist - process it [21:01:29]requested_item shift.opened is exist - process it [21:01:29]req_shift_opened [21:01:29]FM_GetShiftState [21:01:29]SAM_PROTO_GetShiftState [21:01:29]wFMCommunicate request_size=4 [21:01:29]MH_SAM_APDU [21:01:29]CAPDU: 80 13 01 00 [21:01:29]Write to MH i2c: E2 08 00 48 0C 80 13 01 00 00 00 00 00 D1 [21:01:29]Write i2c OK [21:01:29]MH_I2C_Read... [21:01:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:01:29]Read from MH i2c: E2 [21:01:29]MH_I2C_Read... [21:01:29]Read from MH i2c: E2 0E 00 [21:01:29]MH_I2C_Read... [21:01:29]Read from MH i2c: E2 0E 00 48 0C 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 FA [21:01:29]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [21:01:29]wFMCommunicate OK [21:01:29]SAM_PROTO_GetShiftState done [21:01:29]FM_GetShiftState done [21:01:29]req_shift_opened done [21:01:29]requested_item shift.open_date is exist - process it [21:01:29]req_shift_open_date [21:01:29]req_shift_open_date done [21:01:29]produce_requested_data done [21:01:29]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52666,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [21:01:29]process_action_free close_receipt [21:01:29]json_value_free [21:01:29]json_value_free done [21:01:29]process_json_proto returns [21:01:29]Send response to host [21:01:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52666,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [21:01:29]free response buf [21:01:29]execute_script done [21:01:29]execute_script returns [21:01:29]free content buf [21:01:29]Sock 7.Close socket [21:01:29]Sock 7.Thread stoped [21:01:33]OFD Sender: No OFD packet to send [21:01:38]OFD Sender: No OFD packet to send [21:01:43]OFD Sender: No OFD packet to send [21:01:48]OFD Sender: No OFD packet to send [21:01:53]OFD Sender: No OFD packet to send [21:01:58]OFD Sender: No OFD packet to send [21:02:03]OFD Sender: No OFD packet to send [21:02:08]OFD Sender: No OFD packet to send [21:02:13]OFD Sender: No OFD packet to send [21:02:18]OFD Sender: No OFD packet to send [21:02:23]OFD Sender: No OFD packet to send [21:02:28]OFD Sender: No OFD packet to send [21:02:33]OFD Sender: No OFD packet to send [21:02:38]OFD Sender: No OFD packet to send [21:02:43]OFD Sender: No OFD packet to send [21:02:48]OFD Sender: No OFD packet to send [21:02:53]OFD Sender: No OFD packet to send [21:02:58]OFD Sender: No OFD packet to send [21:03:03]OFD Sender: No OFD packet to send [21:03:08]OFD Sender: No OFD packet to send [21:03:13]OFD Sender: No OFD packet to send [21:03:18]OFD Sender: No OFD packet to send [21:03:23]OFD Sender: No OFD packet to send [21:03:28]OFD Sender: No OFD packet to send [21:03:33]OFD Sender: No OFD packet to send [21:03:38]OFD Sender: No OFD packet to send [21:03:43]OFD Sender: No OFD packet to send [21:03:48]OFD Sender: No OFD packet to send [21:03:53]OFD Sender: No OFD packet to send [21:03:58]OFD Sender: No OFD packet to send [21:04:03]OFD Sender: No OFD packet to send [21:04:08]OFD Sender: No OFD packet to send [21:04:13]OFD Sender: No OFD packet to send [21:04:18]OFD Sender: No OFD packet to send [21:04:23]OFD Sender: No OFD packet to send [21:04:28]OFD Sender: No OFD packet to send [21:04:33]OFD Sender: No OFD packet to send [21:04:38]OFD Sender: No OFD packet to send [21:04:43]OFD Sender: No OFD packet to send [21:04:48]OFD Sender: No OFD packet to send [21:04:53]OFD Sender: No OFD packet to send [21:04:58]OFD Sender: No OFD packet to send [21:05:03]OFD Sender: No OFD packet to send [21:05:08]OFD Sender: No OFD packet to send [21:05:13]OFD Sender: No OFD packet to send [21:05:18]OFD Sender: No OFD packet to send [21:05:23]OFD Sender: No OFD packet to send [21:05:28]OFD Sender: No OFD packet to send [21:05:33]OFD Sender: No OFD packet to send [21:05:38]OFD Sender: No OFD packet to send [21:05:43]OFD Sender: No OFD packet to send [21:05:48]OFD Sender: No OFD packet to send [21:05:53]OFD Sender: No OFD packet to send [21:05:58]OFD Sender: No OFD packet to send [21:06:03]OFD Sender: No OFD packet to send [21:06:08]OFD Sender: No OFD packet to send [21:06:13]OFD Sender: No OFD packet to send [21:06:18]OFD Sender: No OFD packet to send [21:06:23]OFD Sender: No OFD packet to send [21:06:28]OFD Sender: No OFD packet to send [21:06:33]OFD Sender: No OFD packet to send [21:06:38]OFD Sender: No OFD packet to send [21:06:43]OFD Sender: No OFD packet to send [21:06:48]OFD Sender: No OFD packet to send [21:06:53]OFD Sender: No OFD packet to send [21:06:58]OFD Sender: No OFD packet to send [21:07:03]OFD Sender: No OFD packet to send [21:07:08]OFD Sender: No OFD packet to send [21:07:13]OFD Sender: No OFD packet to send [21:07:18]OFD Sender: No OFD packet to send [21:07:23]OFD Sender: No OFD packet to send [21:07:28]OFD Sender: No OFD packet to send [21:07:33]OFD Sender: No OFD packet to send [21:07:38]OFD Sender: No OFD packet to send [21:07:43]OFD Sender: No OFD packet to send [21:07:48]OFD Sender: No OFD packet to send [21:07:53]OFD Sender: No OFD packet to send [21:07:58]OFD Sender: No OFD packet to send [21:08:03]OFD Sender: No OFD packet to send [21:08:08]OFD Sender: No OFD packet to send [21:08:13]OFD Sender: No OFD packet to send [21:08:18]OFD Sender: No OFD packet to send [21:08:23]OFD Sender: No OFD packet to send [21:08:28]OFD Sender: No OFD packet to send [21:08:33]OFD Sender: No OFD packet to send [21:08:38]OFD Sender: No OFD packet to send [21:08:43]OFD Sender: No OFD packet to send [21:08:48]OFD Sender: No OFD packet to send [21:08:53]OFD Sender: No OFD packet to send [21:08:58]OFD Sender: No OFD packet to send [21:09:03]OFD Sender: No OFD packet to send [21:09:08]OFD Sender: No OFD packet to send [21:09:13]OFD Sender: No OFD packet to send [21:09:18]OFD Sender: No OFD packet to send [21:09:23]OFD Sender: No OFD packet to send [21:09:28]OFD Sender: No OFD packet to send [21:09:33]OFD Sender: No OFD packet to send [21:09:38]OFD Sender: No OFD packet to send [21:09:43]OFD Sender: No OFD packet to send [21:09:48]OFD Sender: No OFD packet to send [21:09:53]OFD Sender: No OFD packet to send [21:09:58]OFD Sender: No OFD packet to send [21:10:03]OFD Sender: No OFD packet to send [21:10:08]OFD Sender: No OFD packet to send [21:10:13]OFD Sender: No OFD packet to send [21:10:18]OFD Sender: No OFD packet to send [21:10:23]OFD Sender: No OFD packet to send [21:10:28]OFD Sender: No OFD packet to send [21:10:33]OFD Sender: No OFD packet to send [21:10:38]OFD Sender: No OFD packet to send [21:10:43]OFD Sender: No OFD packet to send [21:10:48]OFD Sender: No OFD packet to send [21:10:53]OFD Sender: No OFD packet to send [21:10:58]OFD Sender: No OFD packet to send [21:11:03]OFD Sender: No OFD packet to send [21:11:08]OFD Sender: No OFD packet to send [21:11:13]OFD Sender: No OFD packet to send [21:11:18]OFD Sender: No OFD packet to send [21:11:24]OFD Sender: No OFD packet to send [21:11:29]OFD Sender: No OFD packet to send [21:11:34]OFD Sender: No OFD packet to send [21:11:39]OFD Sender: No OFD packet to send [21:11:44]OFD Sender: No OFD packet to send [21:11:49]OFD Sender: No OFD packet to send [21:11:54]OFD Sender: No OFD packet to send [21:11:59]OFD Sender: No OFD packet to send [21:12:04]OFD Sender: No OFD packet to send [21:12:09]OFD Sender: No OFD packet to send [21:12:14]OFD Sender: No OFD packet to send [21:12:19]OFD Sender: No OFD packet to send [21:12:24]OFD Sender: No OFD packet to send [21:12:29]OFD Sender: No OFD packet to send [21:12:34]OFD Sender: No OFD packet to send [21:12:39]OFD Sender: No OFD packet to send [21:12:44]OFD Sender: No OFD packet to send [21:12:49]OFD Sender: No OFD packet to send [21:12:54]OFD Sender: No OFD packet to send [21:12:59]OFD Sender: No OFD packet to send [21:13:04]OFD Sender: No OFD packet to send [21:13:09]OFD Sender: No OFD packet to send [21:13:14]OFD Sender: No OFD packet to send [21:13:19]OFD Sender: No OFD packet to send [21:13:24]OFD Sender: No OFD packet to send [21:13:29]OFD Sender: No OFD packet to send [21:13:34]OFD Sender: No OFD packet to send [21:13:39]OFD Sender: No OFD packet to send [21:13:44]OFD Sender: No OFD packet to send [21:13:49]OFD Sender: No OFD packet to send [21:13:54]OFD Sender: No OFD packet to send [21:13:59]OFD Sender: No OFD packet to send [21:14:04]OFD Sender: No OFD packet to send [21:14:09]OFD Sender: No OFD packet to send [21:14:14]OFD Sender: No OFD packet to send [21:14:19]OFD Sender: No OFD packet to send [21:14:24]OFD Sender: No OFD packet to send [21:14:29]OFD Sender: No OFD packet to send [21:14:34]OFD Sender: No OFD packet to send [21:14:39]OFD Sender: No OFD packet to send [21:14:44]OFD Sender: No OFD packet to send [21:14:49]OFD Sender: No OFD packet to send [21:14:54]OFD Sender: No OFD packet to send [21:14:59]OFD Sender: No OFD packet to send [21:15:04]OFD Sender: No OFD packet to send [21:15:09]OFD Sender: No OFD packet to send [21:15:14]OFD Sender: No OFD packet to send [21:15:19]OFD Sender: No OFD packet to send [21:15:24]OFD Sender: No OFD packet to send [21:15:29]OFD Sender: No OFD packet to send [21:15:34]OFD Sender: No OFD packet to send [21:15:39]OFD Sender: No OFD packet to send [21:15:44]OFD Sender: No OFD packet to send [21:15:49]OFD Sender: No OFD packet to send [21:15:54]OFD Sender: No OFD packet to send [21:15:59]OFD Sender: No OFD packet to send [21:16:04]OFD Sender: No OFD packet to send [21:16:09]OFD Sender: No OFD packet to send [21:16:14]OFD Sender: No OFD packet to send [21:16:19]OFD Sender: No OFD packet to send [21:16:24]OFD Sender: No OFD packet to send [21:16:29]OFD Sender: No OFD packet to send [21:16:34]OFD Sender: No OFD packet to send [21:16:39]OFD Sender: No OFD packet to send [21:16:44]OFD Sender: No OFD packet to send [21:16:49]OFD Sender: No OFD packet to send [21:16:54]OFD Sender: No OFD packet to send [21:16:59]OFD Sender: No OFD packet to send [21:17:04]OFD Sender: No OFD packet to send [21:17:09]OFD Sender: No OFD packet to send [21:17:14]OFD Sender: No OFD packet to send [21:17:19]OFD Sender: No OFD packet to send [21:17:24]OFD Sender: No OFD packet to send [21:17:29]OFD Sender: No OFD packet to send [21:17:34]OFD Sender: No OFD packet to send [21:17:39]OFD Sender: No OFD packet to send [21:17:44]OFD Sender: No OFD packet to send [21:17:49]OFD Sender: No OFD packet to send [21:17:54]OFD Sender: No OFD packet to send [21:17:59]OFD Sender: No OFD packet to send [21:18:04]OFD Sender: No OFD packet to send [21:18:09]OFD Sender: No OFD packet to send [21:18:14]OFD Sender: No OFD packet to send [21:18:19]OFD Sender: No OFD packet to send [21:18:24]OFD Sender: No OFD packet to send [21:18:29]OFD Sender: No OFD packet to send [21:18:34]OFD Sender: No OFD packet to send [21:18:39]OFD Sender: No OFD packet to send [21:18:44]OFD Sender: No OFD packet to send [21:18:49]OFD Sender: No OFD packet to send [21:18:54]OFD Sender: No OFD packet to send [21:18:59]OFD Sender: No OFD packet to send [21:19:04]OFD Sender: No OFD packet to send [21:19:07]accept exits with 9 [21:19:07]New connection [21:19:07]New thread 3067293028 created [21:19:07]Thread 3067149668 joined [21:19:07]Waiting for new connection... [21:19:07] Sock 9.Parse request [21:19:07]Sock 9.Check first char [21:19:07]Sock 9.First char is OK [21:19:07]request: POST /json_proto HTTP/1.0 [21:19:07]Method: POST [21:19:07]URL: /json_proto [21:19:07]Method is POST - this is cgi request [21:19:07]url: /json_proto [21:19:07]query_string will be loaded in cgi processing [21:19:07]execute_cgi json_proto POST (null) [21:19:07]execute_cgi path=json_proto method=POST [21:19:07]POST find Content-Length [21:19:07]Host: 172.17.60.7:8080 [21:19:07]Content-Length: 805 [21:19:07]Content-Type: application/json [21:19:07] [21:19:07]POST finish read [21:19:07]Found Content-Length = 805 [21:19:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122798", "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" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:19:07]execute_script... [21:19:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122798", "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" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:19:07]POST & json_proto [21:19:07]process_json_proto [21:19:07]json parsed OK: [21:19:07]protocol is kg_v1.0 [21:19:07]action value=close_receipt [21:19:07]process_action close_receipt [21:19:07]cmd_close_receipt [21:19:07]MH_GetDate [21:19:07]Write to MH i2c: F0 00 00 49 0C 44 [21:19:07]Write i2c OK [21:19:07]MH_I2C_Read... [21:19:07]Read from MH i2c: F0 [21:19:07]MH_I2C_Read... [21:19:07]Read from MH i2c: F0 09 00 [21:19:07]MH_I2C_Read... [21:19:07]Read from MH i2c: F0 09 00 49 0C 00 CD 2A B9 66 63 9B 67 64 2C [21:19:07]GetLastDocTimeStamp 1723410087 [21:19:07]current date 1723411149 [21:19:07]FM_GetShiftState [21:19:07]SAM_PROTO_GetShiftState [21:19:07]wFMCommunicate request_size=4 [21:19:07]MH_SAM_APDU [21:19:07]CAPDU: 80 13 01 00 [21:19:07]Write to MH i2c: E2 08 00 4A 0C 80 13 01 00 00 00 00 00 D3 [21:19:07]Write i2c OK [21:19:07]MH_I2C_Read... [21:19:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:19:07]Read from MH i2c: E2 [21:19:07]MH_I2C_Read... [21:19:07]Read from MH i2c: E2 0E 00 [21:19:07]MH_I2C_Read... [21:19:07]Read from MH i2c: E2 0E 00 4A 0C 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 FC [21:19:07]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [21:19:07]wFMCommunicate OK [21:19:07]SAM_PROTO_GetShiftState done [21:19:07]FM_GetShiftState done [21:19:07]opened in 1723336186 [21:19:07]opened+sec_in_day 1723422586 [21:19:07]quantity*price = 12500 [21:19:07]sum+1 = 12501 [21:19:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 0.00 Безнал.: 125.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 78 11.08.2024 21:19 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52667 ФПД: 189393723652302 /tax-web-control/client/api/v1/ticket?date=20240811T211909&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52667&fm=189393723652302&tin=02508201610067®Number=0000000000090834&sum=12500 0 [21:19:08]StoreToDocumentArchive [21:19:08]shift 446 fd 52667 [21:19:08]save to /storage/0446/doc_00052667 [21:19:08]save last doc name /storage/0446/doc_00052667 to /storage/kkm_last_doc_name [21:19:08]save OK [21:19:08]Clear old archive folders... [21:19:08]ProcessDocumentItem done err = 0, tmpTLVsize=271 [21:19:08]tlvbuf is 01295E00 [21:19:08]SAM_PROTO_ClearQueue [21:19:08]wFMCommunicate request_size=4 [21:19:08]MH_SAM_APDU [21:19:08]CAPDU: 80 09 00 00 [21:19:08]Write to MH i2c: E2 08 00 57 0C 80 09 00 00 00 00 00 00 D5 [21:19:08]Write i2c OK [21:19:08]MH_I2C_Read... [21:19:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:19:08]Read from MH i2c: E2 [21:19:08]MH_I2C_Read... [21:19:08]Read from MH i2c: E2 03 00 [21:19:08]MH_I2C_Read... [21:19:08]Read from MH i2c: E2 03 00 57 0C 00 90 00 D7 [21:19:08]RAPDU: 90 00 [21:19:08]wFMCommunicate OK [21:19:08]SAM_PROTO_ClearQueue done [21:19:08]KKMCreateOFDPacket [21:19:08]OFDProtocolAddRootSTLVToBuf [21:19:08]FM_MakeSignedData [21:19:08]FM_MakeSignedData [21:19:08]SAM_PROTO_SignData [21:19:08]wFMCommunicate request_size=4 [21:19:08]MH_SAM_APDU [21:19:08]CAPDU: 80 0D 01 02 [21:19:08]Write to MH i2c: E2 08 00 58 0C 80 0D 01 02 00 00 00 00 DD [21:19:08]Write i2c OK [21:19:08]MH_I2C_Read... [21:19:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:19:08]Read from MH i2c: E2 [21:19:08]MH_I2C_Read... [21:19:08]Read from MH i2c: E2 03 00 [21:19:08]MH_I2C_Read... [21:19:08]Read from MH i2c: E2 03 00 58 0C 00 90 00 D8 [21:19:08]RAPDU: 90 00 [21:19:08]wFMCommunicate OK [21:19:08]wFMCommunicate request_size=255 [21:19:08]MH_SAM_APDU [21:19:08]CAPDU: 80 0D 02 02 FA 03 00 0F 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 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 4E 00 00 00 F4 03 04 00 CD 2A B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 [21:19:08]Write to MH i2c: E2 02 01 59 0C 80 0D 02 02 FA 00 03 00 0F 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 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 4E 00 00 00 F4 03 04 00 CD 2A B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 04 [21:19:08]Write i2c OK [21:19:08]MH_I2C_Read... [21:19:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:19:09]Read from MH i2c: E2 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 03 00 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 03 00 59 0C 00 90 00 D9 [21:19:09]RAPDU: 90 00 [21:19:09]wFMCommunicate OK [21:19:09]wFMCommunicate request_size=30 [21:19:09]MH_SAM_APDU [21:19:09]CAPDU: 80 0D 02 02 19 30 38 37 34 37 31 35 10 04 04 00 BB CD 00 00 35 04 06 00 AC 40 A9 9E F8 CE [21:19:09]Write to MH i2c: E2 21 00 5A 0C 80 0D 02 02 19 00 30 38 37 34 37 31 35 10 04 04 00 BB CD 00 00 35 04 06 00 AC 40 A9 9E F8 CE 00 00 5A [21:19:09]Write i2c OK [21:19:09]MH_I2C_Read... [21:19:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:19:09]Read from MH i2c: E2 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 03 00 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 03 00 5A 0C 00 90 00 DA [21:19:09]RAPDU: 90 00 [21:19:09]wFMCommunicate OK [21:19:09]wFMCommunicate request_size=4 [21:19:09]MH_SAM_APDU [21:19:09]CAPDU: 80 0D 03 02 [21:19:09]Write to MH i2c: E2 08 00 5B 0C 80 0D 03 02 00 00 00 00 E2 [21:19:09]Write i2c OK [21:19:09]MH_I2C_Read... [21:19:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:19:09]Read from MH i2c: E2 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 0B 00 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 0B 00 5B 0C 00 78 FC D0 87 79 B8 26 82 90 00 87 [21:19:09]RAPDU: 78 FC D0 87 79 B8 26 82 90 00 [21:19:09]wFMCommunicate OK [21:19:09]SAM_PROTO_SignData done [21:19:09]FM_MakeSignedData done [21:19:09]CreateOFDProtocolMessage [21:19:09]wFMCommunicate request_size=4 [21:19:09]MH_SAM_APDU [21:19:09]CAPDU: 80 11 00 00 [21:19:09]Write to MH i2c: E2 08 00 5C 0C 80 11 00 00 00 00 00 00 E2 [21:19:09]Write i2c OK [21:19:09]MH_I2C_Read... [21:19:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:19:09]Read from MH i2c: E2 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 17 00 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: E2 17 00 5C 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 35 [21:19:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [21:19:09]wFMCommunicate OK [21:19:09]CreateOFDProtocolMessage done [21:19:09]OFDSenderStorePacket 52667 [21:19:09]StoreOFDPacket docnum=52667 [21:19:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 23 01 00 00 B6 AD 1B 01 BC 3E 5A 03 01 00 03 00 0F 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 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 4E 00 00 00 F4 03 04 00 CD 2A B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BB CD 00 00 35 04 06 00 AC 40 A9 9E F8 CE 78 FC D0 87 79 B8 26 82 [21:19:09]CheckFolder [21:19:09]dirname=/storage/ofd_packets [21:19:09]CheckFolder done [21:19:09]ProducePacketName [21:19:09]name=ofd_packets/00052667 [21:19:09]NVStorageSaveData ofd_packets/00052667 [21:19:09]File name is /storage/ofd_packets/00052667 [21:19:09]Write 321 bytes [21:19:09]NVStorageSaveData done [21:19:09]OFDSenderStorePacket done [21:19:09]KKMCreateOFDPacket done [21:19:09]NVStorageSaveData kkm_last_timestamp [21:19:09]File name is /storage/kkm_last_timestamp [21:19:09]Write 4 bytes [21:19:09]NVStorageSaveData done [21:19:09]ExternCall_PrintAddStr [21:19:09]wPrintStart [21:19:09]Write to MH i2c: 01 00 00 5D 0C 69 [21:19:09]Write i2c OK [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: 01 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: 01 07 00 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: 01 07 00 5D 0C 00 00 00 00 00 FF 0F 7E [21:19:09]RasterBufferAndPrint [21:19:09]line Счет N : (3)122798 [21:19:09]line ИНН: 02508201610067 [21:19:09]line Контрольно-Кассовый Чек [21:19:09]line ПРОДАЖА [21:19:09]line Товар: 5449000006271 [21:19:09]line Напиток Фанта 1л [21:19:09]line 1.000 * 125.00 [21:19:09]line = 125.00 [21:19:09]line НДС 12% НСП 1% [21:19:09]line > о реализуемом товаре [21:19:09]line ИТОГО: 125.00 [21:19:09]line НСП 1% : 1.11 [21:19:09]line НДС 12% : 13.27 [21:19:09]line Наличными: 0.00 [21:19:09]line Безнал.: 125.00 [21:19:09]line Место: АЗС № 54 "Партнер Нефть" [21:19:09]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [21:19:09]line СНО: Общий режим [21:19:09]line Чек 78 11.08.2024 21:19 [21:19:09]line Смена: 446 ФФД: 1.0 [21:19:09]line ЗНМ: 0300000007 [21:19:09]line РНМ: 0000000000090834 [21:19:09]line Версия ККМ: 001 [21:19:09]line Платежная система: О! деньги [21:19:09]line ФМ: 0000000000874715 [21:19:09]line ФД: 52667 [21:19:09]line ФПД: 189393723652302 [21:19:09]line /tax-web-control/client/api/v1/ticket?date=20240811T211909&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52667&fm=189393723652302&tin=02508201610067®Number=0000000000090834&sum=12500 [21:19:09]OFD Sender: Processing packet 52667 [packets to send 55, broken 54] [21:19:09]ProducePacketName [21:19:09]name=ofd_packets/00052667 [21:19:09]OFD Sender: To server: pG, [21:19:09]CommunicateWithHost lk.salyk.kg:30040 [21:19:09]ConnectInit lk.salyk.kg [21:19:09]line 0 [21:19:09]written 0, free lines is 4095 [21:19:09]Connected sock=10 [21:19:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 23 01 00 00 B6 AD 1B 01 BC 3E 5A 03 01 00 03 00 0F 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 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 4E 00 00 00 F4 03 04 00 CD 2A B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BB CD 00 00 35 04 06 00 AC 40 A9 9E F8 CE 78 FC D0 87 79 B8 26 82 [21:19:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 B0 F0 47 00 DA 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 34 37 31 35 10 04 04 00 BB CD 00 00 F4 03 04 00 68 D2 B8 66 B6 04 01 00 00 71 D7 B6 A2 C4 6D 50 79 [21:19:09]CommunicateWithHost err = 0 [21:19:09]CheckOFDResponse [21:19:09]1017 (14) - 77093643461234 [21:19:09]1041 (16) - 0000000000874715 [21:19:09]1040 (4) - 52667 [21:19:09]1012 (4) - 11.08.2024 15:02 [21:19:09]1206 (1) - 0 [21:19:09]OFD Sender: Remove packet 52667 [21:19:09]ProducePacketName [21:19:09]name=ofd_packets/00052667 [21:19:09]NVStorageDeleteData [21:19:09]Write to MH i2c: 01 00 00 86 0C 92 [21:19:09]Write i2c OK [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: 01 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: 01 07 00 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: 01 07 00 86 0C 00 00 00 00 00 D5 0C 7A [21:19:09]RasterBufferAndPrint [21:19:09]line [21:19:09]line [21:19:09]line [21:19:09]line [21:19:09]line [21:19:09]written 0, free lines is 3290 [21:19:09]MH_Cut [21:19:09]Write to MH i2c: D1 01 00 8D 0C 01 6B [21:19:09]Write i2c OK [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: D1 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: D1 01 00 [21:19:09]MH_I2C_Read... [21:19:09]Read from MH i2c: D1 01 00 8D 0C 00 6A [21:19:09]Write to MH i2c: 01 00 00 8E 0C 9A [21:19:09]Write i2c OK [21:19:09]MH_I2C_Read... [21:19:10]OFD Sender: No OFD packet to send [21:19:10]*** Cut start [21:19:10]*** Purtial cut [21:19:10]*** Stage 1: CUTSNS_PIN = 1 [21:19:11]Read from MH i2c: 01 [21:19:11]MH_I2C_Read... [21:19:11]*** Stop cut motor [21:19:11]*** Cut end [21:19:11]Read from MH i2c: 01 07 00 [21:19:11]MH_I2C_Read... [21:19:11]Read from MH i2c: 01 07 00 8E 0C 00 00 00 00 00 FF 0F AF [21:19:11]process_action close_receipt done [21:19:11]requested_data is exist [21:19:11]produce_requested_data [21:19:11]requested_item fm.sn is exist - process it [21:19:11]wFMCommunicate request_size=4 [21:19:11]MH_SAM_APDU [21:19:11]CAPDU: 80 11 00 00 [21:19:11]Write to MH i2c: E2 08 00 8F 0C 80 11 00 00 00 00 00 00 15 [21:19:11]Write i2c OK [21:19:11]MH_I2C_Read... [21:19:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:19:11]Read from MH i2c: E2 [21:19:11]MH_I2C_Read... [21:19:11]Read from MH i2c: E2 17 00 [21:19:11]MH_I2C_Read... [21:19:11]Read from MH i2c: E2 17 00 8F 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 68 [21:19:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [21:19:11]wFMCommunicate OK [21:19:11]requested_item fd.num is exist - process it [21:19:11]SAM_PROTO_GetFieldsCounters [21:19:11]wFMCommunicate request_size=4 [21:19:11]MH_SAM_APDU [21:19:11]CAPDU: 80 13 00 00 [21:19:11]Write to MH i2c: E2 08 00 90 0C 80 13 00 00 00 00 00 00 18 [21:19:11]Write i2c OK [21:19:11]MH_I2C_Read... [21:19:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:19:11]Read from MH i2c: E2 [21:19:11]MH_I2C_Read... [21:19:11]Read from MH i2c: E2 62 00 [21:19:11]MH_I2C_Read... [21:19:11]Read from MH i2c: E2 62 00 90 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 BB CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 69 [21:19:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 BB CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:19:11]wFMCommunicate OK [21:19:11]SAM_PROTO_GetFieldsCounters done [21:19:11]requested_item shift.num is exist - process it [21:19:11]requested_item shift.opened is exist - process it [21:19:11]req_shift_opened [21:19:11]FM_GetShiftState [21:19:11]SAM_PROTO_GetShiftState [21:19:11]wFMCommunicate request_size=4 [21:19:11]MH_SAM_APDU [21:19:11]CAPDU: 80 13 01 00 [21:19:11]Write to MH i2c: E2 08 00 91 0C 80 13 01 00 00 00 00 00 1A [21:19:11]Write i2c OK [21:19:11]MH_I2C_Read... [21:19:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:19:11]Read from MH i2c: E2 [21:19:11]MH_I2C_Read... [21:19:11]Read from MH i2c: E2 0E 00 [21:19:11]MH_I2C_Read... [21:19:11]Read from MH i2c: E2 0E 00 91 0C 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 43 [21:19:11]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [21:19:11]wFMCommunicate OK [21:19:11]SAM_PROTO_GetShiftState done [21:19:11]FM_GetShiftState done [21:19:11]req_shift_opened done [21:19:11]requested_item shift.open_date is exist - process it [21:19:11]req_shift_open_date [21:19:11]req_shift_open_date done [21:19:11]produce_requested_data done [21:19:11]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52667,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [21:19:11]process_action_free close_receipt [21:19:11]json_value_free [21:19:11]json_value_free done [21:19:11]process_json_proto returns [21:19:11]Send response to host [21:19:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52667,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [21:19:11]free response buf [21:19:11]execute_script done [21:19:11]execute_script returns [21:19:11]free content buf [21:19:11]Sock 9.Close socket [21:19:11]Sock 9.Thread stoped [21:19:15]OFD Sender: No OFD packet to send [21:19:20]OFD Sender: No OFD packet to send [21:19:25]OFD Sender: No OFD packet to send [21:19:30]OFD Sender: No OFD packet to send [21:19:35]OFD Sender: No OFD packet to send [21:19:40]OFD Sender: No OFD packet to send [21:19:45]OFD Sender: No OFD packet to send [21:19:50]OFD Sender: No OFD packet to send [21:19:55]OFD Sender: No OFD packet to send [21:20:00]OFD Sender: No OFD packet to send [21:20:05]OFD Sender: No OFD packet to send [21:20:10]OFD Sender: No OFD packet to send [21:20:15]OFD Sender: No OFD packet to send [21:20:16]accept exits with 7 [21:20:16]New connection [21:20:16]New thread 3067149668 created [21:20:16]Thread 3067293028 joined [21:20:16]Waiting for new connection... [21:20:16] Sock 7.Parse request [21:20:16]Sock 7.Check first char [21:20:16]Sock 7.First char is OK [21:20:16]request: POST /json_proto HTTP/1.0 [21:20:16]Method: POST [21:20:16]URL: /json_proto [21:20:16]Method is POST - this is cgi request [21:20:16]url: /json_proto [21:20:16]query_string will be loaded in cgi processing [21:20:16]execute_cgi json_proto POST (null) [21:20:16]execute_cgi path=json_proto method=POST [21:20:16]POST find Content-Length [21:20:16]Host: 172.17.60.7:8080 [21:20:16]Content-Length: 789 [21:20:16]Content-Type: application/json [21:20:16] [21:20:16]POST finish read [21:20:16]Found Content-Length = 789 [21:20:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122799", "tax_sys" : 0, "items" : [ { "code": "48741415", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Violet", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:20:16]execute_script... [21:20:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122799", "tax_sys" : 0, "items" : [ { "code": "48741415", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Super Slims Violet", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:20:16]POST & json_proto [21:20:16]process_json_proto [21:20:16]json parsed OK: [21:20:16]protocol is kg_v1.0 [21:20:16]action value=close_receipt [21:20:16]process_action close_receipt [21:20:16]cmd_close_receipt [21:20:16]MH_GetDate [21:20:16]Write to MH i2c: F0 00 00 92 0C 8D [21:20:16]Write i2c OK [21:20:16]MH_I2C_Read... [21:20:16]Read from MH i2c: F0 [21:20:16]MH_I2C_Read... [21:20:16]Read from MH i2c: F0 09 00 [21:20:16]MH_I2C_Read... [21:20:16]Read from MH i2c: F0 09 00 92 0C 00 12 2B B9 66 63 9B 67 64 BB [21:20:16]GetLastDocTimeStamp 1723411149 [21:20:16]current date 1723411218 [21:20:16]FM_GetShiftState [21:20:16]SAM_PROTO_GetShiftState [21:20:16]wFMCommunicate request_size=4 [21:20:16]MH_SAM_APDU [21:20:16]CAPDU: 80 13 01 00 [21:20:16]Write to MH i2c: E2 08 00 93 0C 80 13 01 00 00 00 00 00 1C [21:20:16]Write i2c OK [21:20:16]MH_I2C_Read... [21:20:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:20:16]Read from MH i2c: E2 [21:20:16]MH_I2C_Read... [21:20:16]Read from MH i2c: E2 0E 00 [21:20:16]MH_I2C_Read... [21:20:16]Read from MH i2c: E2 0E 00 93 0C 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 45 [21:20:16]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [21:20:16]wFMCommunicate OK [21:20:16]SAM_PROTO_GetShiftState done [21:20:16]FM_GetShiftState done [21:20:16]opened in 1723336186 [21:20:16]opened+sec_in_day 1723422586 [21:20:16]quantity*price = 13000 [21:20:16]sum+1 = 13001 [21:20:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 79 11.08.2024 21:20 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52668 ФПД: 82793545006157 /tax-web-control/client/api/v1/ticket?date=20240811T212018&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52668&fm=82793545006157&tin=02508201610067®Number=0000000000090834&sum=13000 0 [21:20:17]StoreToDocumentArchive [21:20:17]shift 446 fd 52668 [21:20:17]save to /storage/0446/doc_00052668 [21:20:17]save last doc name /storage/0446/doc_00052668 to /storage/kkm_last_doc_name [21:20:17]save OK [21:20:17]Clear old archive folders... [21:20:17]ProcessDocumentItem done err = 0, tmpTLVsize=275 [21:20:17]tlvbuf is 01292090 [21:20:17]SAM_PROTO_ClearQueue [21:20:17]wFMCommunicate request_size=4 [21:20:17]MH_SAM_APDU [21:20:17]CAPDU: 80 09 00 00 [21:20:17]Write to MH i2c: E2 08 00 A0 0C 80 09 00 00 00 00 00 00 1E [21:20:17]Write i2c OK [21:20:17]MH_I2C_Read... [21:20:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:20:17]Read from MH i2c: E2 [21:20:17]MH_I2C_Read... [21:20:17]Read from MH i2c: E2 03 00 [21:20:17]MH_I2C_Read... [21:20:17]Read from MH i2c: E2 03 00 A0 0C 00 90 00 20 [21:20:17]RAPDU: 90 00 [21:20:17]wFMCommunicate OK [21:20:17]SAM_PROTO_ClearQueue done [21:20:17]KKMCreateOFDPacket [21:20:17]OFDProtocolAddRootSTLVToBuf [21:20:17]FM_MakeSignedData [21:20:17]FM_MakeSignedData [21:20:17]SAM_PROTO_SignData [21:20:17]wFMCommunicate request_size=4 [21:20:17]MH_SAM_APDU [21:20:17]CAPDU: 80 0D 01 02 [21:20:17]Write to MH i2c: E2 08 00 A1 0C 80 0D 01 02 00 00 00 00 26 [21:20:17]Write i2c OK [21:20:17]MH_I2C_Read... [21:20:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:20:17]Read from MH i2c: E2 [21:20:17]MH_I2C_Read... [21:20:17]Read from MH i2c: E2 03 00 [21:20:17]MH_I2C_Read... [21:20:17]Read from MH i2c: E2 03 00 A1 0C 00 90 00 21 [21:20:17]RAPDU: 90 00 [21:20:17]wFMCommunicate OK [21:20:17]wFMCommunicate request_size=255 [21:20:17]MH_SAM_APDU [21:20:17]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 12 2B B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 [21:20:17]Write to MH i2c: E2 02 01 A2 0C 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 12 2B B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 00 00 59 [21:20:17]Write i2c OK [21:20:17]MH_I2C_Read... [21:20:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:20:18]Read from MH i2c: E2 [21:20:18]MH_I2C_Read... [21:20:18]Read from MH i2c: E2 03 00 [21:20:18]MH_I2C_Read... [21:20:18]Read from MH i2c: E2 03 00 A2 0C 00 90 00 22 [21:20:18]RAPDU: 90 00 [21:20:18]wFMCommunicate OK [21:20:18]wFMCommunicate request_size=34 [21:20:18]MH_SAM_APDU [21:20:18]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BC CD 00 00 35 04 06 00 4B 4C DF D6 FC 4D [21:20:18]Write to MH i2c: E2 25 00 A3 0C 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BC CD 00 00 35 04 06 00 4B 4C DF D6 FC 4D 00 00 08 [21:20:18]Write i2c OK [21:20:18]MH_I2C_Read... [21:20:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:20:18]Read from MH i2c: E2 [21:20:18]MH_I2C_Read... [21:20:18]Read from MH i2c: E2 03 00 [21:20:18]MH_I2C_Read... [21:20:18]Read from MH i2c: E2 03 00 A3 0C 00 90 00 23 [21:20:18]RAPDU: 90 00 [21:20:18]wFMCommunicate OK [21:20:18]wFMCommunicate request_size=4 [21:20:18]MH_SAM_APDU [21:20:18]CAPDU: 80 0D 03 02 [21:20:18]Write to MH i2c: E2 08 00 A4 0C 80 0D 03 02 00 00 00 00 2B [21:20:18]Write i2c OK [21:20:18]MH_I2C_Read... [21:20:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:20:18]Read from MH i2c: E2 [21:20:18]MH_I2C_Read... [21:20:18]Read from MH i2c: E2 0B 00 [21:20:18]MH_I2C_Read... [21:20:18]Read from MH i2c: E2 0B 00 A4 0C 00 AB E9 67 CD FF 0A BF 5F 90 00 1B [21:20:18]RAPDU: AB E9 67 CD FF 0A BF 5F 90 00 [21:20:18]wFMCommunicate OK [21:20:18]SAM_PROTO_SignData done [21:20:18]FM_MakeSignedData done [21:20:18]CreateOFDProtocolMessage [21:20:18]wFMCommunicate request_size=4 [21:20:18]MH_SAM_APDU [21:20:18]CAPDU: 80 11 00 00 [21:20:18]Write to MH i2c: E2 08 00 A5 0C 80 11 00 00 00 00 00 00 2B [21:20:18]Write i2c OK [21:20:18]MH_I2C_Read... [21:20:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:20:18]Read from MH i2c: E2 [21:20:18]MH_I2C_Read... [21:20:18]Read from MH i2c: E2 17 00 [21:20:18]MH_I2C_Read... [21:20:18]Read from MH i2c: E2 17 00 A5 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 7E [21:20:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [21:20:18]wFMCommunicate OK [21:20:18]CreateOFDProtocolMessage done [21:20:18]OFDSenderStorePacket 52668 [21:20:18]StoreOFDPacket docnum=52668 [21:20:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 27 01 00 00 06 67 1F 01 CB FE 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 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 12 2B B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BC CD 00 00 35 04 06 00 4B 4C DF D6 FC 4D AB E9 67 CD FF 0A BF 5F [21:20:18]CheckFolder [21:20:18]dirname=/storage/ofd_packets [21:20:18]CheckFolder done [21:20:18]ProducePacketName [21:20:18]name=ofd_packets/00052668 [21:20:18]NVStorageSaveData ofd_packets/00052668 [21:20:18]File name is /storage/ofd_packets/00052668 [21:20:18]Write 325 bytes [21:20:18]NVStorageSaveData done [21:20:18]OFDSenderStorePacket done [21:20:18]KKMCreateOFDPacket done [21:20:18]NVStorageSaveData kkm_last_timestamp [21:20:18]File name is /storage/kkm_last_timestamp [21:20:18]Write 4 bytes [21:20:18]NVStorageSaveData done [21:20:18]ExternCall_PrintAddStr [21:20:18]wPrintStart [21:20:18]Write to MH i2c: 01 00 00 A6 0C B2 [21:20:18]Write i2c OK [21:20:18]MH_I2C_Read... [21:20:18]Read from MH i2c: 01 [21:20:18]MH_I2C_Read... [21:20:18]Read from MH i2c: 01 07 00 [21:20:18]MH_I2C_Read... [21:20:18]Read from MH i2c: 01 07 00 A6 0C 00 00 00 00 00 FF 0F C7 [21:20:18]RasterBufferAndPrint [21:20:18]line Счет N : (3)122799 [21:20:18]line ИНН: 02508201610067 [21:20:18]line Контрольно-Кассовый Чек [21:20:18]line ПРОДАЖА [21:20:18]line Товар: 48741415 [21:20:18]line Сигареты LD Super Slims Violet [21:20:18]line 1.000 * 130.00 [21:20:18]line = 130.00 [21:20:18]line НДС 12% НСП 1% [21:20:18]line > о реализуемом товаре [21:20:18]line ИТОГО: 130.00 [21:20:18]line НСП 1% : 1.15 [21:20:18]line НДС 12% : 13.80 [21:20:18]line Наличными: 0.00 [21:20:18]line Безнал.: 130.00 [21:20:18]line Место: АЗС № 54 "Партнер Нефть" [21:20:18]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [21:20:18]line СНО: Общий режим [21:20:18]line Чек 79 11.08.2024 21:20 [21:20:18]line Смена: 446 ФФД: 1.0 [21:20:18]line ЗНМ: 0300000007 [21:20:18]line РНМ: 0000000000090834 [21:20:18]line Версия ККМ: 001 [21:20:18]line Платежная система: О! деньги [21:20:18]line ФМ: 0000000000874715 [21:20:18]line ФД: 52668 [21:20:18]line ФПД: 82793545006157 [21:20:18]line /tax-web-control/client/api/v1/ticket?date=20240811T212018&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52668&fm=82793545006157&tin=02508201610067®Number=0000000000090834&sum=13000 [21:20:18]OFD Sender: Processing packet 52668 [packets to send 55, broken 54] [21:20:18]ProducePacketName [21:20:18]name=ofd_packets/00052668 [21:20:18]OFD Sender: To server: pG, [21:20:18]CommunicateWithHost lk.salyk.kg:30040 [21:20:18]ConnectInit lk.salyk.kg [21:20:18]line 0 [21:20:18]written 0, free lines is 4095 [21:20:18]Connected sock=10 [21:20:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 27 01 00 00 06 67 1F 01 CB FE 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 31 34 31 35 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 53 75 70 65 72 20 53 6C 69 6D 73 20 56 69 6F 6C 65 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 12 2B B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BC CD 00 00 35 04 06 00 4B 4C DF D6 FC 4D AB E9 67 CD FF 0A BF 5F [21:20:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 DE 54 47 00 50 DA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BC CD 00 00 F4 03 04 00 AD D2 B8 66 B6 04 01 00 00 DC 2D C8 DB BD C5 2D B0 [21:20:19]CommunicateWithHost err = 0 [21:20:19]CheckOFDResponse [21:20:19]1017 (14) - 77093643461234 [21:20:19]1041 (16) - 0000000000874715 [21:20:19]1040 (4) - 52668 [21:20:19]1012 (4) - 11.08.2024 15:03 [21:20:19]1206 (1) - 0 [21:20:19]OFD Sender: Remove packet 52668 [21:20:19]ProducePacketName [21:20:19]name=ofd_packets/00052668 [21:20:19]NVStorageDeleteData [21:20:19]Write to MH i2c: 01 00 00 D0 0C DC [21:20:19]Write i2c OK [21:20:19]MH_I2C_Read... [21:20:19]Read from MH i2c: 01 [21:20:19]MH_I2C_Read... [21:20:19]Read from MH i2c: 01 07 00 [21:20:19]MH_I2C_Read... [21:20:19]Read from MH i2c: 01 07 00 D0 0C 00 00 00 00 00 AF 0C 9E [21:20:19]RasterBufferAndPrint [21:20:19]line [21:20:19]line [21:20:19]line [21:20:19]line [21:20:19]line [21:20:19]written 0, free lines is 3253 [21:20:19]MH_Cut [21:20:19]Write to MH i2c: D1 01 00 D7 0C 01 B5 [21:20:19]Write i2c OK [21:20:19]MH_I2C_Read... [21:20:19]Read from MH i2c: D1 [21:20:19]MH_I2C_Read... [21:20:19]Read from MH i2c: D1 01 00 [21:20:19]MH_I2C_Read... [21:20:19]Read from MH i2c: D1 01 00 D7 0C 00 B4 [21:20:19]Write to MH i2c: 01 00 00 D8 0C E4 [21:20:19]Write i2c OK [21:20:19]MH_I2C_Read... [21:20:19]OFD Sender: No OFD packet to send [21:20:19]*** Cut start [21:20:19]*** Purtial cut [21:20:19]*** Stage 1: CUTSNS_PIN = 1 [21:20:20]Read from MH i2c: 01 [21:20:20]MH_I2C_Read... [21:20:20]*** Stop cut motor [21:20:20]*** Cut end [21:20:20]Read from MH i2c: 01 07 00 [21:20:20]MH_I2C_Read... [21:20:20]Read from MH i2c: 01 07 00 D8 0C 00 00 00 00 00 FF 0F F9 [21:20:20]process_action close_receipt done [21:20:20]requested_data is exist [21:20:20]produce_requested_data [21:20:20]requested_item fm.sn is exist - process it [21:20:20]wFMCommunicate request_size=4 [21:20:20]MH_SAM_APDU [21:20:20]CAPDU: 80 11 00 00 [21:20:20]Write to MH i2c: E2 08 00 D9 0C 80 11 00 00 00 00 00 00 5F [21:20:20]Write i2c OK [21:20:20]MH_I2C_Read... [21:20:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:20:20]Read from MH i2c: E2 [21:20:20]MH_I2C_Read... [21:20:20]Read from MH i2c: E2 17 00 [21:20:20]MH_I2C_Read... [21:20:20]Read from MH i2c: E2 17 00 D9 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 B2 [21:20:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [21:20:20]wFMCommunicate OK [21:20:20]requested_item fd.num is exist - process it [21:20:20]SAM_PROTO_GetFieldsCounters [21:20:20]wFMCommunicate request_size=4 [21:20:20]MH_SAM_APDU [21:20:20]CAPDU: 80 13 00 00 [21:20:20]Write to MH i2c: E2 08 00 DA 0C 80 13 00 00 00 00 00 00 62 [21:20:20]Write i2c OK [21:20:20]MH_I2C_Read... [21:20:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:20:20]Read from MH i2c: E2 [21:20:20]MH_I2C_Read... [21:20:20]Read from MH i2c: E2 62 00 [21:20:20]MH_I2C_Read... [21:20:20]Read from MH i2c: E2 62 00 DA 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 BC CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 B7 [21:20: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 BC CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:20:20]wFMCommunicate OK [21:20:20]SAM_PROTO_GetFieldsCounters done [21:20:20]requested_item shift.num is exist - process it [21:20:20]requested_item shift.opened is exist - process it [21:20:20]req_shift_opened [21:20:20]FM_GetShiftState [21:20:20]SAM_PROTO_GetShiftState [21:20:20]wFMCommunicate request_size=4 [21:20:20]MH_SAM_APDU [21:20:20]CAPDU: 80 13 01 00 [21:20:20]Write to MH i2c: E2 08 00 DB 0C 80 13 01 00 00 00 00 00 64 [21:20:20]Write i2c OK [21:20:20]MH_I2C_Read... [21:20:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:20:20]Read from MH i2c: E2 [21:20:20]MH_I2C_Read... [21:20:20]Read from MH i2c: E2 0E 00 [21:20:20]MH_I2C_Read... [21:20:20]Read from MH i2c: E2 0E 00 DB 0C 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 8D [21:20:20]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [21:20:20]wFMCommunicate OK [21:20:20]SAM_PROTO_GetShiftState done [21:20:20]FM_GetShiftState done [21:20:20]req_shift_opened done [21:20:20]requested_item shift.open_date is exist - process it [21:20:20]req_shift_open_date [21:20:20]req_shift_open_date done [21:20:20]produce_requested_data done [21:20:20]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52668,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [21:20:20]process_action_free close_receipt [21:20:20]json_value_free [21:20:20]json_value_free done [21:20:20]process_json_proto returns [21:20:20]Send response to host [21:20:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52668,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [21:20:20]free response buf [21:20:20]execute_script done [21:20:20]execute_script returns [21:20:20]free content buf [21:20:20]Sock 7.Close socket [21:20:20]Sock 7.Thread stoped [21:20:24]OFD Sender: No OFD packet to send [21:20:29]OFD Sender: No OFD packet to send [21:20:34]OFD Sender: No OFD packet to send [21:20:39]OFD Sender: No OFD packet to send [21:20:44]OFD Sender: No OFD packet to send [21:20:49]OFD Sender: No OFD packet to send [21:20:54]OFD Sender: No OFD packet to send [21:20:59]OFD Sender: No OFD packet to send [21:21:04]OFD Sender: No OFD packet to send [21:21:09]OFD Sender: No OFD packet to send [21:21:14]OFD Sender: No OFD packet to send [21:21:19]OFD Sender: No OFD packet to send [21:21:24]OFD Sender: No OFD packet to send [21:21:29]OFD Sender: No OFD packet to send [21:21:34]OFD Sender: No OFD packet to send [21:21:39]OFD Sender: No OFD packet to send [21:21:44]OFD Sender: No OFD packet to send [21:21:49]OFD Sender: No OFD packet to send [21:21:54]OFD Sender: No OFD packet to send [21:21:59]OFD Sender: No OFD packet to send [21:22:04]OFD Sender: No OFD packet to send [21:22:09]OFD Sender: No OFD packet to send [21:22:14]OFD Sender: No OFD packet to send [21:22:19]OFD Sender: No OFD packet to send [21:22:24]OFD Sender: No OFD packet to send [21:22:29]OFD Sender: No OFD packet to send [21:22:34]OFD Sender: No OFD packet to send [21:22:39]OFD Sender: No OFD packet to send [21:22:44]OFD Sender: No OFD packet to send [21:22:49]OFD Sender: No OFD packet to send [21:22:54]OFD Sender: No OFD packet to send [21:22:59]OFD Sender: No OFD packet to send [21:23:04]OFD Sender: No OFD packet to send [21:23:09]OFD Sender: No OFD packet to send [21:23:14]OFD Sender: No OFD packet to send [21:23:19]OFD Sender: No OFD packet to send [21:23:24]OFD Sender: No OFD packet to send [21:23:29]OFD Sender: No OFD packet to send [21:23:34]OFD Sender: No OFD packet to send [21:23:39]OFD Sender: No OFD packet to send [21:23:44]OFD Sender: No OFD packet to send [21:23:49]OFD Sender: No OFD packet to send [21:23:54]OFD Sender: No OFD packet to send [21:23:59]OFD Sender: No OFD packet to send [21:24:04]OFD Sender: No OFD packet to send [21:24:09]OFD Sender: No OFD packet to send [21:24:14]OFD Sender: No OFD packet to send [21:24:19]OFD Sender: No OFD packet to send [21:24:24]OFD Sender: No OFD packet to send [21:24:29]OFD Sender: No OFD packet to send [21:24:34]OFD Sender: No OFD packet to send [21:24:39]OFD Sender: No OFD packet to send [21:24:44]OFD Sender: No OFD packet to send [21:24:49]OFD Sender: No OFD packet to send [21:24:54]OFD Sender: No OFD packet to send [21:24:59]OFD Sender: No OFD packet to send [21:25:04]OFD Sender: No OFD packet to send [21:25:09]OFD Sender: No OFD packet to send [21:25:14]OFD Sender: No OFD packet to send [21:25:19]OFD Sender: No OFD packet to send [21:25:24]OFD Sender: No OFD packet to send [21:25:29]OFD Sender: No OFD packet to send [21:25:34]OFD Sender: No OFD packet to send [21:25:39]OFD Sender: No OFD packet to send [21:25:44]OFD Sender: No OFD packet to send [21:25:49]OFD Sender: No OFD packet to send [21:25:54]OFD Sender: No OFD packet to send [21:25:59]OFD Sender: No OFD packet to send [21:26:04]OFD Sender: No OFD packet to send [21:26:09]OFD Sender: No OFD packet to send [21:26:14]OFD Sender: No OFD packet to send [21:26:19]OFD Sender: No OFD packet to send [21:26:24]OFD Sender: No OFD packet to send [21:26:29]OFD Sender: No OFD packet to send [21:26:34]OFD Sender: No OFD packet to send [21:26:39]OFD Sender: No OFD packet to send [21:26:44]OFD Sender: No OFD packet to send [21:26:49]OFD Sender: No OFD packet to send [21:26:54]OFD Sender: No OFD packet to send [21:26:59]OFD Sender: No OFD packet to send [21:27:04]OFD Sender: No OFD packet to send [21:27:09]OFD Sender: No OFD packet to send [21:27:14]OFD Sender: No OFD packet to send [21:27:19]OFD Sender: No OFD packet to send [21:27:24]OFD Sender: No OFD packet to send [21:27:29]OFD Sender: No OFD packet to send [21:27:34]OFD Sender: No OFD packet to send [21:27:39]OFD Sender: No OFD packet to send [21:27:44]OFD Sender: No OFD packet to send [21:27:49]OFD Sender: No OFD packet to send [21:27:54]OFD Sender: No OFD packet to send [21:27:59]OFD Sender: No OFD packet to send [21:28:04]OFD Sender: No OFD packet to send [21:28:09]OFD Sender: No OFD packet to send [21:28:14]OFD Sender: No OFD packet to send [21:28:19]OFD Sender: No OFD packet to send [21:28:24]OFD Sender: No OFD packet to send [21:28:30]OFD Sender: No OFD packet to send [21:28:35]OFD Sender: No OFD packet to send [21:28:40]OFD Sender: No OFD packet to send [21:28:45]OFD Sender: No OFD packet to send [21:28:50]OFD Sender: No OFD packet to send [21:28:55]OFD Sender: No OFD packet to send [21:29:00]OFD Sender: No OFD packet to send [21:29:05]OFD Sender: No OFD packet to send [21:29:10]OFD Sender: No OFD packet to send [21:29:15]OFD Sender: No OFD packet to send [21:29:20]OFD Sender: No OFD packet to send [21:29:25]OFD Sender: No OFD packet to send [21:29:30]OFD Sender: No OFD packet to send [21:29:35]OFD Sender: No OFD packet to send [21:29:40]OFD Sender: No OFD packet to send [21:29:45]OFD Sender: No OFD packet to send [21:29:50]OFD Sender: No OFD packet to send [21:29:53]accept exits with 9 [21:29:53]New connection [21:29:53]New thread 3067293028 created [21:29:53]Thread 3067149668 joined [21:29:53]Waiting for new connection... [21:29:53] Sock 9.Parse request [21:29:53]Sock 9.Check first char [21:29:53]Sock 9.First char is OK [21:29:53]request: POST /json_proto HTTP/1.0 [21:29:53]Method: POST [21:29:53]URL: /json_proto [21:29:53]Method is POST - this is cgi request [21:29:53]url: /json_proto [21:29:53]query_string will be loaded in cgi processing [21:29:53]execute_cgi json_proto POST (null) [21:29:53]execute_cgi path=json_proto method=POST [21:29:53]POST find Content-Length [21:29:53]Host: 172.17.60.7:8080 [21:29:53]Content-Length: 673 [21:29:53]Content-Type: application/json [21:29:53] [21:29:53]POST finish read [21:29:53]Found Content-Length = 673 [21:29:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122800", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 7.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:29:53]execute_script... [21:29:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122800", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 7.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:29:53]POST & json_proto [21:29:53]process_json_proto [21:29:53]json parsed OK: [21:29:53]protocol is kg_v1.0 [21:29:53]action value=close_receipt [21:29:53]process_action close_receipt [21:29:53]cmd_close_receipt [21:29:53]MH_GetDate [21:29:53]Write to MH i2c: F0 00 00 DC 0C D7 [21:29:53]Write i2c OK [21:29:53]MH_I2C_Read... [21:29:53]Read from MH i2c: F0 [21:29:53]MH_I2C_Read... [21:29:53]Read from MH i2c: F0 09 00 [21:29:53]MH_I2C_Read... [21:29:53]Read from MH i2c: F0 09 00 DC 0C 00 53 2D B9 66 63 9B 67 64 48 [21:29:53]GetLastDocTimeStamp 1723411218 [21:29:53]current date 1723411795 [21:29:53]FM_GetShiftState [21:29:53]SAM_PROTO_GetShiftState [21:29:53]wFMCommunicate request_size=4 [21:29:53]MH_SAM_APDU [21:29:53]CAPDU: 80 13 01 00 [21:29:53]Write to MH i2c: E2 08 00 DD 0C 80 13 01 00 00 00 00 00 66 [21:29:53]Write i2c OK [21:29:53]MH_I2C_Read... [21:29:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:29:53]Read from MH i2c: E2 [21:29:53]MH_I2C_Read... [21:29:53]Read from MH i2c: E2 0E 00 [21:29:53]MH_I2C_Read... [21:29:53]Read from MH i2c: E2 0E 00 DD 0C 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 8F [21:29:53]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [21:29:53]wFMCommunicate OK [21:29:53]SAM_PROTO_GetShiftState done [21:29:53]FM_GetShiftState done [21:29:53]opened in 1723336186 [21:29:53]opened+sec_in_day 1723422586 [21:29:53]quantity*price = 700 [21:29:53]sum+1 = 701 [21:29:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 7.00 НСП 1% : 0.06 НДС 12% : 0.74 Наличными: 7.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 80 11.08.2024 21:29 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52669 ФПД: 149590393117705 /tax-web-control/client/api/v1/ticket?date=20240811T212955&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52669&fm=149590393117705&tin=02508201610067®Number=0000000000090834&sum=700 0 [21:29:54]StoreToDocumentArchive [21:29:54]shift 446 fd 52669 [21:29:54]save to /storage/0446/doc_00052669 [21:29:54]save last doc name /storage/0446/doc_00052669 to /storage/kkm_last_doc_name [21:29:54]save OK [21:29:54]Clear old archive folders... [21:29:54]ProcessDocumentItem done err = 0, tmpTLVsize=287 [21:29:54]tlvbuf is 01292060 [21:29:54]SAM_PROTO_ClearQueue [21:29:54]wFMCommunicate request_size=4 [21:29:54]MH_SAM_APDU [21:29:54]CAPDU: 80 09 00 00 [21:29:54]Write to MH i2c: E2 08 00 EA 0C 80 09 00 00 00 00 00 00 68 [21:29:54]Write i2c OK [21:29:54]MH_I2C_Read... [21:29:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:29:54]Read from MH i2c: E2 [21:29:54]MH_I2C_Read... [21:29:54]Read from MH i2c: E2 03 00 [21:29:54]MH_I2C_Read... [21:29:54]Read from MH i2c: E2 03 00 EA 0C 00 90 00 6A [21:29:54]RAPDU: 90 00 [21:29:54]wFMCommunicate OK [21:29:54]SAM_PROTO_ClearQueue done [21:29:54]KKMCreateOFDPacket [21:29:54]OFDProtocolAddRootSTLVToBuf [21:29:54]FM_MakeSignedData [21:29:54]FM_MakeSignedData [21:29:54]SAM_PROTO_SignData [21:29:54]wFMCommunicate request_size=4 [21:29:54]MH_SAM_APDU [21:29:54]CAPDU: 80 0D 01 02 [21:29:54]Write to MH i2c: E2 08 00 EB 0C 80 0D 01 02 00 00 00 00 70 [21:29:54]Write i2c OK [21:29:54]MH_I2C_Read... [21:29:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:29:54]Read from MH i2c: E2 [21:29:54]MH_I2C_Read... [21:29:54]Read from MH i2c: E2 03 00 [21:29:54]MH_I2C_Read... [21:29:54]Read from MH i2c: E2 03 00 EB 0C 00 90 00 6B [21:29:54]RAPDU: 90 00 [21:29:54]wFMCommunicate OK [21:29:54]wFMCommunicate request_size=255 [21:29:54]MH_SAM_APDU [21:29:54]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 53 2D B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 [21:29:54]Write to MH i2c: E2 02 01 EC 0C 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 53 2D B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 00 00 58 [21:29:54]Write i2c OK [21:29:54]MH_I2C_Read... [21:29:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:29:54]Read from MH i2c: E2 [21:29:54]MH_I2C_Read... [21:29:54]Read from MH i2c: E2 03 00 [21:29:54]MH_I2C_Read... [21:29:54]Read from MH i2c: E2 03 00 EC 0C 00 90 00 6C [21:29:54]RAPDU: 90 00 [21:29:54]wFMCommunicate OK [21:29:54]wFMCommunicate request_size=46 [21:29:54]MH_SAM_APDU [21:29:54]CAPDU: 80 0D 02 02 29 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BD CD 00 00 35 04 06 00 88 0D 3A 3E 5C 09 [21:29:54]Write to MH i2c: E2 31 00 ED 0C 80 0D 02 02 29 00 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BD CD 00 00 35 04 06 00 88 0D 3A 3E 5C 09 00 00 FC [21:29:54]Write i2c OK [21:29:54]MH_I2C_Read... [21:29:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:29:54]Read from MH i2c: E2 [21:29:54]MH_I2C_Read... [21:29:54]Read from MH i2c: E2 03 00 [21:29:54]MH_I2C_Read... [21:29:54]Read from MH i2c: E2 03 00 ED 0C 00 90 00 6D [21:29:54]RAPDU: 90 00 [21:29:54]wFMCommunicate OK [21:29:54]wFMCommunicate request_size=4 [21:29:54]MH_SAM_APDU [21:29:54]CAPDU: 80 0D 03 02 [21:29:54]Write to MH i2c: E2 08 00 EE 0C 80 0D 03 02 00 00 00 00 75 [21:29:54]Write i2c OK [21:29:54]MH_I2C_Read... [21:29:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:29:55]Read from MH i2c: E2 [21:29:55]MH_I2C_Read... [21:29:55]Read from MH i2c: E2 0B 00 [21:29:55]MH_I2C_Read... [21:29:55]Read from MH i2c: E2 0B 00 EE 0C 00 64 86 3B 17 A7 F1 B9 13 90 00 16 [21:29:55]RAPDU: 64 86 3B 17 A7 F1 B9 13 90 00 [21:29:55]wFMCommunicate OK [21:29:55]SAM_PROTO_SignData done [21:29:55]FM_MakeSignedData done [21:29:55]CreateOFDProtocolMessage [21:29:55]wFMCommunicate request_size=4 [21:29:55]MH_SAM_APDU [21:29:55]CAPDU: 80 11 00 00 [21:29:55]Write to MH i2c: E2 08 00 EF 0C 80 11 00 00 00 00 00 00 75 [21:29:55]Write i2c OK [21:29:55]MH_I2C_Read... [21:29:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:29:55]Read from MH i2c: E2 [21:29:55]MH_I2C_Read... [21:29:55]Read from MH i2c: E2 17 00 [21:29:55]MH_I2C_Read... [21:29:55]Read from MH i2c: E2 17 00 EF 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 C8 [21:29:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [21:29:55]wFMCommunicate OK [21:29:55]CreateOFDProtocolMessage done [21:29:55]OFDSenderStorePacket 52669 [21:29:55]StoreOFDPacket docnum=52669 [21:29:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 33 01 00 00 AA B0 2B 01 4D 50 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 53 2D B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BD CD 00 00 35 04 06 00 88 0D 3A 3E 5C 09 64 86 3B 17 A7 F1 B9 13 [21:29:55]CheckFolder [21:29:55]dirname=/storage/ofd_packets [21:29:55]CheckFolder done [21:29:55]ProducePacketName [21:29:55]name=ofd_packets/00052669 [21:29:55]NVStorageSaveData ofd_packets/00052669 [21:29:55]File name is /storage/ofd_packets/00052669 [21:29:55]Write 337 bytes [21:29:55]NVStorageSaveData done [21:29:55]OFDSenderStorePacket done [21:29:55]KKMCreateOFDPacket done [21:29:55]NVStorageSaveData kkm_last_timestamp [21:29:55]File name is /storage/kkm_last_timestamp [21:29:55]Write 4 bytes [21:29:55]NVStorageSaveData done [21:29:55]ExternCall_PrintAddStr [21:29:55]wPrintStart [21:29:55]Write to MH i2c: 01 00 00 F0 0C FC [21:29:55]Write i2c OK [21:29:55]MH_I2C_Read... [21:29:55]Read from MH i2c: 01 [21:29:55]MH_I2C_Read... [21:29:55]Read from MH i2c: 01 07 00 [21:29:55]MH_I2C_Read... [21:29:55]Read from MH i2c: 01 07 00 F0 0C 00 00 00 00 00 FF 0F 11 [21:29:55]RasterBufferAndPrint [21:29:55]line Счет N : (3)122800 [21:29:55]line ИНН: 02508201610067 [21:29:55]line Контрольно-Кассовый Чек [21:29:55]line ПРОДАЖА [21:29:55]line Товар: 2000053020015 [21:29:55]line Бумажные стаканы 250мл 1шт [21:29:55]line 1.000 * 7.00 [21:29:55]line = 7.00 [21:29:55]line НДС 12% НСП 1% [21:29:55]line > о реализуемом товаре [21:29:55]line ИТОГО: 7.00 [21:29:55]line НСП 1% : 0.06 [21:29:55]line НДС 12% : 0.74 [21:29:55]line Наличными: 7.00 [21:29:55]line Безнал.: 0.00 [21:29:55]line Место: АЗС № 54 "Партнер Нефть" [21:29:55]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [21:29:55]line СНО: Общий режим [21:29:55]line Чек 80 11.08.2024 21:29 [21:29:55]line Смена: 446 ФФД: 1.0 [21:29:55]line ЗНМ: 0300000007 [21:29:55]line РНМ: 0000000000090834 [21:29:55]line Версия ККМ: 001 [21:29:55]line ФМ: 0000000000874715 [21:29:55]line ФД: 52669 [21:29:55]line ФПД: 149590393117705 [21:29:55]line /tax-web-control/client/api/v1/ticket?date=20240811T212955&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52669&fm=149590393117705&tin=02508201610067®Number=0000000000090834&sum=700 [21:29:55]OFD Sender: Processing packet 52669 [packets to send 55, broken 54] [21:29:55]ProducePacketName [21:29:55]name=ofd_packets/00052669 [21:29:55]OFD Sender: To server: pG, [21:29:55]CommunicateWithHost lk.salyk.kg:30040 [21:29:55]ConnectInit lk.salyk.kg [21:29:55]line 0 [21:29:55]written 0, free lines is 4095 [21:29:55]Connected sock=10 [21:29:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 33 01 00 00 AA B0 2B 01 4D 50 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 50 00 00 00 F4 03 04 00 53 2D B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BD CD 00 00 35 04 06 00 88 0D 3A 3E 5C 09 64 86 3B 17 A7 F1 B9 13 [21:29:55]Write to MH i2c: 01 00 00 18 0D 25 [21:29:55]Write i2c OK [21:29:55]MH_I2C_Read... [21:29:55]Read from MH i2c: 01 [21:29:55]MH_I2C_Read... [21:29:55]Read from MH i2c: 01 07 00 [21:29:55]MH_I2C_Read... [21:29:55]Read from MH i2c: 01 07 00 18 0D 00 00 00 00 00 C8 0C 00 [21:29:55]RasterBufferAndPrint [21:29:55]line [21:29:55]line [21:29:55]line [21:29:55]line [21:29:55]line [21:29:55]written 0, free lines is 3277 [21:29:55]MH_Cut [21:29:55]Write to MH i2c: D1 01 00 1F 0D 01 FE [21:29:55]Write i2c OK [21:29:55]MH_I2C_Read... [21:29:55]Read from MH i2c: D1 [21:29:55]MH_I2C_Read... [21:29:55]Read from MH i2c: D1 01 00 [21:29:55]MH_I2C_Read... [21:29:55]Read from MH i2c: D1 01 00 1F 0D 00 FD [21:29:55]Write to MH i2c: 01 00 00 20 0D 2D [21:29:55]Write i2c OK [21:29:55]MH_I2C_Read... [21:29:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 9C 67 47 00 38 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 34 37 31 35 10 04 04 00 BD CD 00 00 F4 03 04 00 EE D4 B8 66 B6 04 01 00 00 B8 03 00 3F CF A8 1E 2E [21:29:55]CommunicateWithHost err = 0 [21:29:55]CheckOFDResponse [21:29:55]1017 (14) - 77093643461234 [21:29:55]1041 (16) - 0000000000874715 [21:29:55]1040 (4) - 52669 [21:29:55]1012 (4) - 11.08.2024 15:12 [21:29:55]1206 (1) - 0 [21:29:55]OFD Sender: Remove packet 52669 [21:29:55]ProducePacketName [21:29:55]name=ofd_packets/00052669 [21:29:55]NVStorageDeleteData [21:29:56]OFD Sender: No OFD packet to send [21:29:56]*** Cut start [21:29:56]*** Purtial cut [21:29:56]*** Stage 1: CUTSNS_PIN = 1 [21:29:56]Read from MH i2c: 01 [21:29:56]MH_I2C_Read... [21:29:56]*** Stop cut motor [21:29:56]*** Cut end [21:29:56]Read from MH i2c: 01 07 00 [21:29:56]MH_I2C_Read... [21:29:56]Read from MH i2c: 01 07 00 20 0D 00 00 00 00 00 FF 0F 42 [21:29:56]process_action close_receipt done [21:29:56]requested_data is exist [21:29:56]produce_requested_data [21:29:56]requested_item fm.sn is exist - process it [21:29:56]wFMCommunicate request_size=4 [21:29:56]MH_SAM_APDU [21:29:56]CAPDU: 80 11 00 00 [21:29:56]Write to MH i2c: E2 08 00 21 0D 80 11 00 00 00 00 00 00 A8 [21:29:56]Write i2c OK [21:29:56]MH_I2C_Read... [21:29:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:29:57]Read from MH i2c: E2 [21:29:57]MH_I2C_Read... [21:29:57]Read from MH i2c: E2 17 00 [21:29:57]MH_I2C_Read... [21:29:57]Read from MH i2c: E2 17 00 21 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 FB [21:29:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [21:29:57]wFMCommunicate OK [21:29:57]requested_item fd.num is exist - process it [21:29:57]SAM_PROTO_GetFieldsCounters [21:29:57]wFMCommunicate request_size=4 [21:29:57]MH_SAM_APDU [21:29:57]CAPDU: 80 13 00 00 [21:29:57]Write to MH i2c: E2 08 00 22 0D 80 13 00 00 00 00 00 00 AB [21:29:57]Write i2c OK [21:29:57]MH_I2C_Read... [21:29:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:29:57]Read from MH i2c: E2 [21:29:57]MH_I2C_Read... [21:29:57]Read from MH i2c: E2 62 00 [21:29:57]MH_I2C_Read... [21:29:57]Read from MH i2c: E2 62 00 22 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 BD CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 04 [21:29:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 BD CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 50 00 00 00 5E 04 04 00 50 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:29:57]wFMCommunicate OK [21:29:57]SAM_PROTO_GetFieldsCounters done [21:29:57]requested_item shift.num is exist - process it [21:29:57]requested_item shift.opened is exist - process it [21:29:57]req_shift_opened [21:29:57]FM_GetShiftState [21:29:57]SAM_PROTO_GetShiftState [21:29:57]wFMCommunicate request_size=4 [21:29:57]MH_SAM_APDU [21:29:57]CAPDU: 80 13 01 00 [21:29:57]Write to MH i2c: E2 08 00 23 0D 80 13 01 00 00 00 00 00 AD [21:29:57]Write i2c OK [21:29:57]MH_I2C_Read... [21:29:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:29:57]Read from MH i2c: E2 [21:29:57]MH_I2C_Read... [21:29:57]Read from MH i2c: E2 0E 00 [21:29:57]MH_I2C_Read... [21:29:57]Read from MH i2c: E2 0E 00 23 0D 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 D6 [21:29:57]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [21:29:57]wFMCommunicate OK [21:29:57]SAM_PROTO_GetShiftState done [21:29:57]FM_GetShiftState done [21:29:57]req_shift_opened done [21:29:57]requested_item shift.open_date is exist - process it [21:29:57]req_shift_open_date [21:29:57]req_shift_open_date done [21:29:57]produce_requested_data done [21:29:57]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52669,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [21:29:57]process_action_free close_receipt [21:29:57]json_value_free [21:29:57]json_value_free done [21:29:57]process_json_proto returns [21:29:57]Send response to host [21:29:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52669,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [21:29:57]free response buf [21:29:57]execute_script done [21:29:57]execute_script returns [21:29:57]free content buf [21:29:57]Sock 9.Close socket [21:29:57]Sock 9.Thread stoped [21:30:01]OFD Sender: No OFD packet to send [21:30:06]OFD Sender: No OFD packet to send [21:30:11]OFD Sender: No OFD packet to send [21:30:16]OFD Sender: No OFD packet to send [21:30:21]OFD Sender: No OFD packet to send [21:30:26]OFD Sender: No OFD packet to send [21:30:31]OFD Sender: No OFD packet to send [21:30:36]OFD Sender: No OFD packet to send [21:30:41]OFD Sender: No OFD packet to send [21:30:46]OFD Sender: No OFD packet to send [21:30:51]OFD Sender: No OFD packet to send [21:30:56]OFD Sender: No OFD packet to send [21:31:01]OFD Sender: No OFD packet to send [21:31:06]OFD Sender: No OFD packet to send [21:31:11]OFD Sender: No OFD packet to send [21:31:16]OFD Sender: No OFD packet to send [21:31:21]OFD Sender: No OFD packet to send [21:31:26]OFD Sender: No OFD packet to send [21:31:31]OFD Sender: No OFD packet to send [21:31:36]OFD Sender: No OFD packet to send [21:31:41]OFD Sender: No OFD packet to send [21:31:46]OFD Sender: No OFD packet to send [21:31:51]OFD Sender: No OFD packet to send [21:31:56]OFD Sender: No OFD packet to send [21:32:01]OFD Sender: No OFD packet to send [21:32:06]OFD Sender: No OFD packet to send [21:32:11]OFD Sender: No OFD packet to send [21:32:16]OFD Sender: No OFD packet to send [21:32:21]OFD Sender: No OFD packet to send [21:32:26]OFD Sender: No OFD packet to send [21:32:31]OFD Sender: No OFD packet to send [21:32:36]OFD Sender: No OFD packet to send [21:32:41]OFD Sender: No OFD packet to send [21:32:46]OFD Sender: No OFD packet to send [21:32:51]OFD Sender: No OFD packet to send [21:32:56]OFD Sender: No OFD packet to send [21:33:01]OFD Sender: No OFD packet to send [21:33:06]OFD Sender: No OFD packet to send [21:33:11]OFD Sender: No OFD packet to send [21:33:16]OFD Sender: No OFD packet to send [21:33:21]OFD Sender: No OFD packet to send [21:33:26]OFD Sender: No OFD packet to send [21:33:31]OFD Sender: No OFD packet to send [21:33:36]OFD Sender: No OFD packet to send [21:33:41]OFD Sender: No OFD packet to send [21:33:46]OFD Sender: No OFD packet to send [21:33:51]OFD Sender: No OFD packet to send [21:33:55]accept exits with 7 [21:33:55]New connection [21:33:55]New thread 3067149668 created [21:33:55]Thread 3067293028 joined [21:33:55]Waiting for new connection... [21:33:55] Sock 7.Parse request [21:33:55]Sock 7.Check first char [21:33:55]Sock 7.First char is OK [21:33:55]request: POST /json_proto HTTP/1.0 [21:33:55]Method: POST [21:33:55]URL: /json_proto [21:33:55]Method is POST - this is cgi request [21:33:55]url: /json_proto [21:33:55]query_string will be loaded in cgi processing [21:33:55]execute_cgi json_proto POST (null) [21:33:55]execute_cgi path=json_proto method=POST [21:33:55]POST find Content-Length [21:33:55]Host: 172.17.60.7:8080 [21:33:55]Content-Length: 832 [21:33:55]Content-Type: application/json [21:33:55] [21:33:55]POST finish read [21:33:55]Found Content-Length = 832 [21:33:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122801", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:33:55]execute_script... [21:33:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122801", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:33:55]POST & json_proto [21:33:55]process_json_proto [21:33:55]json parsed OK: [21:33:55]protocol is kg_v1.0 [21:33:55]action value=close_receipt [21:33:55]process_action close_receipt [21:33:55]cmd_close_receipt [21:33:55]MH_GetDate [21:33:55]Write to MH i2c: F0 00 00 24 0D 20 [21:33:55]Write i2c OK [21:33:55]MH_I2C_Read... [21:33:55]Read from MH i2c: F0 [21:33:55]MH_I2C_Read... [21:33:55]Read from MH i2c: F0 09 00 [21:33:55]MH_I2C_Read... [21:33:55]Read from MH i2c: F0 09 00 24 0D 00 45 2E B9 66 63 9B 67 64 84 [21:33:55]GetLastDocTimeStamp 1723411795 [21:33:55]current date 1723412037 [21:33:55]FM_GetShiftState [21:33:55]SAM_PROTO_GetShiftState [21:33:55]wFMCommunicate request_size=4 [21:33:55]MH_SAM_APDU [21:33:55]CAPDU: 80 13 01 00 [21:33:55]Write to MH i2c: E2 08 00 25 0D 80 13 01 00 00 00 00 00 AF [21:33:55]Write i2c OK [21:33:55]MH_I2C_Read... [21:33:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:33:55]Read from MH i2c: E2 [21:33:55]MH_I2C_Read... [21:33:55]Read from MH i2c: E2 0E 00 [21:33:55]MH_I2C_Read... [21:33:55]Read from MH i2c: E2 0E 00 25 0D 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 D8 [21:33:55]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [21:33:55]wFMCommunicate OK [21:33:55]SAM_PROTO_GetShiftState done [21:33:55]FM_GetShiftState done [21:33:55]opened in 1723336186 [21:33:55]opened+sec_in_day 1723422586 [21:33:55]quantity*price = 9000 [21:33:55]sum+1 = 9001 [21:33:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 0.00 Безнал.: 90.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 81 11.08.2024 21:33 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52670 ФПД: 192097252821227 /tax-web-control/client/api/v1/ticket?date=20240811T213357&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52670&fm=192097252821227&tin=02508201610067®Number=0000000000090834&sum=9000 0 [21:33:56]StoreToDocumentArchive [21:33:56]shift 446 fd 52670 [21:33:56]save to /storage/0446/doc_00052670 [21:33:56]save last doc name /storage/0446/doc_00052670 to /storage/kkm_last_doc_name [21:33:56]save OK [21:33:56]Clear old archive folders... [21:33:56]ProcessDocumentItem done err = 0, tmpTLVsize=293 [21:33:56]tlvbuf is 01291C90 [21:33:56]SAM_PROTO_ClearQueue [21:33:56]wFMCommunicate request_size=4 [21:33:56]MH_SAM_APDU [21:33:56]CAPDU: 80 09 00 00 [21:33:56]Write to MH i2c: E2 08 00 32 0D 80 09 00 00 00 00 00 00 B1 [21:33:56]Write i2c OK [21:33:56]MH_I2C_Read... [21:33:56]OFD Sender: No OFD packet to send [21:33:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:33:56]Read from MH i2c: E2 [21:33:56]MH_I2C_Read... [21:33:56]Read from MH i2c: E2 03 00 [21:33:56]MH_I2C_Read... [21:33:56]Read from MH i2c: E2 03 00 32 0D 00 90 00 B3 [21:33:56]RAPDU: 90 00 [21:33:56]wFMCommunicate OK [21:33:56]SAM_PROTO_ClearQueue done [21:33:56]KKMCreateOFDPacket [21:33:56]OFDProtocolAddRootSTLVToBuf [21:33:56]FM_MakeSignedData [21:33:56]FM_MakeSignedData [21:33:56]SAM_PROTO_SignData [21:33:56]wFMCommunicate request_size=4 [21:33:56]MH_SAM_APDU [21:33:56]CAPDU: 80 0D 01 02 [21:33:56]Write to MH i2c: E2 08 00 33 0D 80 0D 01 02 00 00 00 00 B9 [21:33:56]Write i2c OK [21:33:56]MH_I2C_Read... [21:33:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:33:56]Read from MH i2c: E2 [21:33:56]MH_I2C_Read... [21:33:56]Read from MH i2c: E2 03 00 [21:33:56]MH_I2C_Read... [21:33:56]Read from MH i2c: E2 03 00 33 0D 00 90 00 B4 [21:33:56]RAPDU: 90 00 [21:33:56]wFMCommunicate OK [21:33:56]wFMCommunicate request_size=255 [21:33:56]MH_SAM_APDU [21:33:56]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 45 2E B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [21:33:56]Write to MH i2c: E2 02 01 34 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 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 45 2E B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 33 [21:33:56]Write i2c OK [21:33:56]MH_I2C_Read... [21:33:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:33:56]Read from MH i2c: E2 [21:33:56]MH_I2C_Read... [21:33:56]Read from MH i2c: E2 03 00 [21:33:56]MH_I2C_Read... [21:33:56]Read from MH i2c: E2 03 00 34 0D 00 90 00 B5 [21:33:56]RAPDU: 90 00 [21:33:56]wFMCommunicate OK [21:33:56]wFMCommunicate request_size=52 [21:33:56]MH_SAM_APDU [21:33:56]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BE CD 00 00 35 04 06 00 AE B6 20 84 48 EB [21:33:56]Write to MH i2c: E2 37 00 35 0D 80 0D 02 02 2F 00 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BE CD 00 00 35 04 06 00 AE B6 20 84 48 EB 00 00 44 [21:33:57]Write i2c OK [21:33:57]MH_I2C_Read... [21:33:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:33:57]Read from MH i2c: E2 [21:33:57]MH_I2C_Read... [21:33:57]Read from MH i2c: E2 03 00 [21:33:57]MH_I2C_Read... [21:33:57]Read from MH i2c: E2 03 00 35 0D 00 90 00 B6 [21:33:57]RAPDU: 90 00 [21:33:57]wFMCommunicate OK [21:33:57]wFMCommunicate request_size=4 [21:33:57]MH_SAM_APDU [21:33:57]CAPDU: 80 0D 03 02 [21:33:57]Write to MH i2c: E2 08 00 36 0D 80 0D 03 02 00 00 00 00 BE [21:33:57]Write i2c OK [21:33:57]MH_I2C_Read... [21:33:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:33:57]Read from MH i2c: E2 [21:33:57]MH_I2C_Read... [21:33:57]Read from MH i2c: E2 0B 00 [21:33:57]MH_I2C_Read... [21:33:57]Read from MH i2c: E2 0B 00 36 0D 00 6B B7 89 9C C6 38 BD 1E 90 00 DF [21:33:57]RAPDU: 6B B7 89 9C C6 38 BD 1E 90 00 [21:33:57]wFMCommunicate OK [21:33:57]SAM_PROTO_SignData done [21:33:57]FM_MakeSignedData done [21:33:57]CreateOFDProtocolMessage [21:33:57]wFMCommunicate request_size=4 [21:33:57]MH_SAM_APDU [21:33:57]CAPDU: 80 11 00 00 [21:33:57]Write to MH i2c: E2 08 00 37 0D 80 11 00 00 00 00 00 00 BE [21:33:57]Write i2c OK [21:33:57]MH_I2C_Read... [21:33:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:33:57]Read from MH i2c: E2 [21:33:57]MH_I2C_Read... [21:33:57]Read from MH i2c: E2 17 00 [21:33:57]MH_I2C_Read... [21:33:57]Read from MH i2c: E2 17 00 37 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 11 [21:33:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [21:33:57]wFMCommunicate OK [21:33:57]CreateOFDProtocolMessage done [21:33:57]OFDSenderStorePacket 52670 [21:33:57]StoreOFDPacket docnum=52670 [21:33:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 39 01 00 00 BF 44 31 01 7F 97 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 45 2E B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BE CD 00 00 35 04 06 00 AE B6 20 84 48 EB 6B B7 89 9C C6 38 BD 1E [21:33:57]CheckFolder [21:33:57]dirname=/storage/ofd_packets [21:33:57]CheckFolder done [21:33:57]ProducePacketName [21:33:57]name=ofd_packets/00052670 [21:33:57]NVStorageSaveData ofd_packets/00052670 [21:33:57]File name is /storage/ofd_packets/00052670 [21:33:57]Write 343 bytes [21:33:57]NVStorageSaveData done [21:33:57]OFDSenderStorePacket done [21:33:57]KKMCreateOFDPacket done [21:33:57]NVStorageSaveData kkm_last_timestamp [21:33:57]File name is /storage/kkm_last_timestamp [21:33:57]Write 4 bytes [21:33:57]NVStorageSaveData done [21:33:57]ExternCall_PrintAddStr [21:33:57]wPrintStart [21:33:57]Write to MH i2c: 01 00 00 38 0D 45 [21:33:57]Write i2c OK [21:33:57]MH_I2C_Read... [21:33:57]Read from MH i2c: 01 [21:33:57]MH_I2C_Read... [21:33:57]Read from MH i2c: 01 07 00 [21:33:57]MH_I2C_Read... [21:33:57]Read from MH i2c: 01 07 00 38 0D 00 00 00 00 00 FF 0F 5A [21:33:57]RasterBufferAndPrint [21:33:57]line Счет N : (3)122801 [21:33:57]line ИНН: 02508201610067 [21:33:57]line Контрольно-Кассовый Чек [21:33:57]line ПРОДАЖА [21:33:57]line Товар: 4870022003305 [21:33:57]line Напиток Gorilla эн нат ж/б 0,5/0,45л [21:33:57]line 1.000 * 90.00 [21:33:57]line = 90.00 [21:33:57]line НДС 12% НСП 1% [21:33:57]line > о реализуемом товаре [21:33:57]line ИТОГО: 90.00 [21:33:57]line НСП 1% : 0.80 [21:33:57]line НДС 12% : 9.56 [21:33:57]line Наличными: 0.00 [21:33:57]line Безнал.: 90.00 [21:33:57]line Место: АЗС № 54 "Партнер Нефть" [21:33:57]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [21:33:57]line СНО: Общий режим [21:33:57]line Чек 81 11.08.2024 21:33 [21:33:57]line Смена: 446 ФФД: 1.0 [21:33:57]line ЗНМ: 0300000007 [21:33:57]line РНМ: 0000000000090834 [21:33:57]line Версия ККМ: 001 [21:33:57]line Платежная система: О! деньги [21:33:57]line ФМ: 0000000000874715 [21:33:57]line ФД: 52670 [21:33:57]line ФПД: 192097252821227 [21:33:57]line /tax-web-control/client/api/v1/ticket?date=20240811T213357&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52670&fm=192097252821227&tin=02508201610067®Number=0000000000090834&sum=9000 [21:33:57]line 0 [21:33:57]OFD Sender: Processing packet 52670 [packets to send 55, broken 54] [21:33:57]ProducePacketName [21:33:57]name=ofd_packets/00052670 [21:33:57]OFD Sender: To server: pG, [21:33:57]CommunicateWithHost lk.salyk.kg:30040 [21:33:57]ConnectInit lk.salyk.kg [21:33:57]written 0, free lines is 4095 [21:33:57]Connected sock=10 [21:33:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 39 01 00 00 BF 44 31 01 7F 97 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 28 23 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 51 00 00 00 F4 03 04 00 45 2E B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BE CD 00 00 35 04 06 00 AE B6 20 84 48 EB 6B B7 89 9C C6 38 BD 1E [21:33:57]Write to MH i2c: 01 00 00 62 0D 6F [21:33:57]Write i2c OK [21:33:57]MH_I2C_Read... [21:33:57]Read from MH i2c: 01 [21:33:57]MH_I2C_Read... [21:33:57]Read from MH i2c: 01 07 00 [21:33:57]MH_I2C_Read... [21:33:57]Read from MH i2c: 01 07 00 62 0D 00 00 00 00 00 B8 0C 3A [21:33:57]RasterBufferAndPrint [21:33:57]line [21:33:57]line [21:33:57]line [21:33:57]line [21:33:57]line [21:33:57]written 0, free lines is 3262 [21:33:57]MH_Cut [21:33:57]Write to MH i2c: D1 01 00 69 0D 01 48 [21:33:57]Write i2c OK [21:33:57]MH_I2C_Read... [21:33:57]Read from MH i2c: D1 [21:33:57]MH_I2C_Read... [21:33:57]Read from MH i2c: D1 01 00 [21:33:57]MH_I2C_Read... [21:33:57]Read from MH i2c: D1 01 00 69 0D 00 47 [21:33:57]Write to MH i2c: 01 00 00 6A 0D 77 [21:33:57]Write i2c OK [21:33:57]MH_I2C_Read... [21:33:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 B0 42 47 00 12 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 34 37 31 35 10 04 04 00 BE CD 00 00 F4 03 04 00 E0 D5 B8 66 B6 04 01 00 00 B0 33 31 38 B7 88 14 F9 [21:33:58]CommunicateWithHost err = 0 [21:33:58]CheckOFDResponse [21:33:58]1017 (14) - 77093643461234 [21:33:58]1041 (16) - 0000000000874715 [21:33:58]1040 (4) - 52670 [21:33:58]1012 (4) - 11.08.2024 15:16 [21:33:58]1206 (1) - 0 [21:33:58]OFD Sender: Remove packet 52670 [21:33:58]ProducePacketName [21:33:58]name=ofd_packets/00052670 [21:33:58]NVStorageDeleteData [21:33:58]OFD Sender: No OFD packet to send [21:33:58]*** Cut start [21:33:58]*** Purtial cut [21:33:58]*** Stage 1: CUTSNS_PIN = 1 [21:33:59]Read from MH i2c: 01 [21:33:59]MH_I2C_Read... [21:33:59]*** Stop cut motor [21:33:59]*** Cut end [21:33:59]Read from MH i2c: 01 07 00 [21:33:59]MH_I2C_Read... [21:33:59]Read from MH i2c: 01 07 00 6A 0D 00 00 00 00 00 FF 0F 8C [21:33:59]process_action close_receipt done [21:33:59]requested_data is exist [21:33:59]produce_requested_data [21:33:59]requested_item fm.sn is exist - process it [21:33:59]wFMCommunicate request_size=4 [21:33:59]MH_SAM_APDU [21:33:59]CAPDU: 80 11 00 00 [21:33:59]Write to MH i2c: E2 08 00 6B 0D 80 11 00 00 00 00 00 00 F2 [21:33:59]Write i2c OK [21:33:59]MH_I2C_Read... [21:33:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:33:59]Read from MH i2c: E2 [21:33:59]MH_I2C_Read... [21:33:59]Read from MH i2c: E2 17 00 [21:33:59]MH_I2C_Read... [21:33:59]Read from MH i2c: E2 17 00 6B 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 45 [21:33:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [21:33:59]wFMCommunicate OK [21:33:59]requested_item fd.num is exist - process it [21:33:59]SAM_PROTO_GetFieldsCounters [21:33:59]wFMCommunicate request_size=4 [21:33:59]MH_SAM_APDU [21:33:59]CAPDU: 80 13 00 00 [21:33:59]Write to MH i2c: E2 08 00 6C 0D 80 13 00 00 00 00 00 00 F5 [21:33:59]Write i2c OK [21:33:59]MH_I2C_Read... [21:33:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:33:59]Read from MH i2c: E2 [21:33:59]MH_I2C_Read... [21:33:59]Read from MH i2c: E2 62 00 [21:33:59]MH_I2C_Read... [21:33:59]Read from MH i2c: E2 62 00 6C 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 BE CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 52 [21:33:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 BE CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 51 00 00 00 5E 04 04 00 51 00 00 00 57 04 04 00 52 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:33:59]wFMCommunicate OK [21:33:59]SAM_PROTO_GetFieldsCounters done [21:33:59]requested_item shift.num is exist - process it [21:33:59]requested_item shift.opened is exist - process it [21:33:59]req_shift_opened [21:33:59]FM_GetShiftState [21:33:59]SAM_PROTO_GetShiftState [21:33:59]wFMCommunicate request_size=4 [21:33:59]MH_SAM_APDU [21:33:59]CAPDU: 80 13 01 00 [21:33:59]Write to MH i2c: E2 08 00 6D 0D 80 13 01 00 00 00 00 00 F7 [21:33:59]Write i2c OK [21:33:59]MH_I2C_Read... [21:33:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:33:59]Read from MH i2c: E2 [21:33:59]MH_I2C_Read... [21:33:59]Read from MH i2c: E2 0E 00 [21:33:59]MH_I2C_Read... [21:33:59]Read from MH i2c: E2 0E 00 6D 0D 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 20 [21:33:59]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [21:33:59]wFMCommunicate OK [21:33:59]SAM_PROTO_GetShiftState done [21:33:59]FM_GetShiftState done [21:33:59]req_shift_opened done [21:33:59]requested_item shift.open_date is exist - process it [21:33:59]req_shift_open_date [21:33:59]req_shift_open_date done [21:33:59]produce_requested_data done [21:33:59]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52670,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [21:33:59]process_action_free close_receipt [21:33:59]json_value_free [21:33:59]json_value_free done [21:33:59]process_json_proto returns [21:33:59]Send response to host [21:33:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52670,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [21:33:59]free response buf [21:33:59]execute_script done [21:33:59]execute_script returns [21:33:59]free content buf [21:33:59]Sock 7.Close socket [21:33:59]Sock 7.Thread stoped [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:38]OFD Sender: No OFD packet to send [21:36:43]OFD Sender: No OFD packet to send [21:36:48]OFD Sender: No OFD packet to send [21:36:53]OFD Sender: No OFD packet to send [21:36:58]OFD Sender: No OFD packet to send [21:37:03]OFD Sender: No OFD packet to send [21:37:08]OFD Sender: No OFD packet to send [21:37:13]OFD Sender: No OFD packet to send [21:37:18]OFD Sender: No OFD packet to send [21:37:23]OFD Sender: No OFD packet to send [21:37:28]OFD Sender: No OFD packet to send [21:37:33]OFD Sender: No OFD packet to send [21:37:38]OFD Sender: No OFD packet to send [21:37:43]OFD Sender: No OFD packet to send [21:37:48]OFD Sender: No OFD packet to send [21:37:53]OFD Sender: No OFD packet to send [21:37:58]OFD Sender: No OFD packet to send [21:38:03]OFD Sender: No OFD packet to send [21:38:08]OFD Sender: No OFD packet to send [21:38:13]OFD Sender: No OFD packet to send [21:38:18]OFD Sender: No OFD packet to send [21:38:23]OFD Sender: No OFD packet to send [21:38:28]OFD Sender: No OFD packet to send [21:38:33]OFD Sender: No OFD packet to send [21:38:38]OFD Sender: No OFD packet to send [21:38:43]OFD Sender: No OFD packet to send [21:38:48]OFD Sender: No OFD packet to send [21:38:53]OFD Sender: No OFD packet to send [21:38:58]OFD Sender: No OFD packet to send [21:39:03]OFD Sender: No OFD packet to send [21:39:08]OFD Sender: No OFD packet to send [21:39:13]OFD Sender: No OFD packet to send [21:39:18]OFD Sender: No OFD packet to send [21:39:23]OFD Sender: No OFD packet to send [21:39:28]OFD Sender: No OFD packet to send [21:39:33]OFD Sender: No OFD packet to send [21:39:38]OFD Sender: No OFD packet to send [21:39:43]OFD Sender: No OFD packet to send [21:39:48]OFD Sender: No OFD packet to send [21:39:53]OFD Sender: No OFD packet to send [21:39:57]accept exits with 9 [21:39:57]New connection [21:39:57]New thread 3067293028 created [21:39:57]Thread 3067149668 joined [21:39:57]Waiting for new connection... [21:39:57] Sock 9.Parse request [21:39:57]Sock 9.Check first char [21:39:57]Sock 9.First char is OK [21:39:57]request: POST /json_proto HTTP/1.0 [21:39:57]Method: POST [21:39:57]URL: /json_proto [21:39:57]Method is POST - this is cgi request [21:39:57]url: /json_proto [21:39:57]query_string will be loaded in cgi processing [21:39:57]execute_cgi json_proto POST (null) [21:39:57]execute_cgi path=json_proto method=POST [21:39:57]POST find Content-Length [21:39:57]Host: 172.17.60.7:8080 [21:39:57]Content-Length: 670 [21:39:57]Content-Type: application/json [21:39:57] [21:39:57]POST finish read [21:39:57]Found Content-Length = 670 [21:39:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122802", "tax_sys" : 0, "items" : [ { "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:39:57]execute_script... [21:39: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)122802", "tax_sys" : 0, "items" : [ { "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:39:57]POST & json_proto [21:39:57]process_json_proto [21:39:57]json parsed OK: [21:39:57]protocol is kg_v1.0 [21:39:57]action value=close_receipt [21:39:57]process_action close_receipt [21:39:57]cmd_close_receipt [21:39:57]MH_GetDate [21:39:57]Write to MH i2c: F0 00 00 6E 0D 6A [21:39:57]Write i2c OK [21:39:57]MH_I2C_Read... [21:39:57]Read from MH i2c: F0 [21:39:57]MH_I2C_Read... [21:39:57]Read from MH i2c: F0 09 00 [21:39:57]MH_I2C_Read... [21:39:57]Read from MH i2c: F0 09 00 6E 0D 00 AF 2F B9 66 63 9B 67 64 39 [21:39:57]GetLastDocTimeStamp 1723412037 [21:39:57]current date 1723412399 [21:39:57]FM_GetShiftState [21:39:57]SAM_PROTO_GetShiftState [21:39:57]wFMCommunicate request_size=4 [21:39:57]MH_SAM_APDU [21:39:57]CAPDU: 80 13 01 00 [21:39:57]Write to MH i2c: E2 08 00 6F 0D 80 13 01 00 00 00 00 00 F9 [21:39:57]Write i2c OK [21:39:57]MH_I2C_Read... [21:39:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:39:57]Read from MH i2c: E2 [21:39:57]MH_I2C_Read... [21:39:57]Read from MH i2c: E2 0E 00 [21:39:57]MH_I2C_Read... [21:39:57]Read from MH i2c: E2 0E 00 6F 0D 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 22 [21:39:57]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [21:39:57]wFMCommunicate OK [21:39:57]SAM_PROTO_GetShiftState done [21:39:57]FM_GetShiftState done [21:39:57]opened in 1723336186 [21:39:57]opened+sec_in_day 1723422586 [21:39:57]quantity*price = 17000 [21:39:57]sum+1 = 17001 [21:39:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 82 11.08.2024 21:39 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52671 ФПД: 218814423737357 /tax-web-control/client/api/v1/ticket?date=20240811T213959&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52671&fm=218814423737357&tin=02508201610067®Number=0000000000090834&sum=17000 0 [21:39:58]StoreToDocumentArchive [21:39:58]shift 446 fd 52671 [21:39:58]save to /storage/0446/doc_00052671 [21:39:58]save last doc name /storage/0446/doc_00052671 to /storage/kkm_last_doc_name [21:39:58]save OK [21:39:58]Clear old archive folders... [21:39:58]ProcessDocumentItem done err = 0, tmpTLVsize=282 [21:39:58]tlvbuf is 012936D0 [21:39:58]SAM_PROTO_ClearQueue [21:39:58]wFMCommunicate request_size=4 [21:39:58]MH_SAM_APDU [21:39:58]CAPDU: 80 09 00 00 [21:39:58]Write to MH i2c: E2 08 00 7C 0D 80 09 00 00 00 00 00 00 FB [21:39:58]Write i2c OK [21:39:58]MH_I2C_Read... [21:39:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:39:58]Read from MH i2c: E2 [21:39:58]MH_I2C_Read... [21:39:58]Read from MH i2c: E2 03 00 [21:39:58]MH_I2C_Read... [21:39:58]Read from MH i2c: E2 03 00 7C 0D 00 90 00 FD [21:39:58]RAPDU: 90 00 [21:39:58]wFMCommunicate OK [21:39:58]SAM_PROTO_ClearQueue done [21:39:58]KKMCreateOFDPacket [21:39:58]OFDProtocolAddRootSTLVToBuf [21:39:58]FM_MakeSignedData [21:39:58]FM_MakeSignedData [21:39:58]SAM_PROTO_SignData [21:39:58]wFMCommunicate request_size=4 [21:39:58]MH_SAM_APDU [21:39:58]CAPDU: 80 0D 01 02 [21:39:58]Write to MH i2c: E2 08 00 7D 0D 80 0D 01 02 00 00 00 00 03 [21:39:58]Write i2c OK [21:39:58]MH_I2C_Read... [21:39:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:39:58]Read from MH i2c: E2 [21:39:58]MH_I2C_Read... [21:39:58]Read from MH i2c: E2 03 00 [21:39:58]MH_I2C_Read... [21:39:58]Read from MH i2c: E2 03 00 7D 0D 00 90 00 FE [21:39:58]RAPDU: 90 00 [21:39:58]wFMCommunicate OK [21:39:58]wFMCommunicate request_size=255 [21:39:58]MH_SAM_APDU [21:39:58]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 AF 2F B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 [21:39:58]Write to MH i2c: E2 02 01 7E 0D 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 AF 2F B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 00 00 1E [21:39:58]Write i2c OK [21:39:58]MH_I2C_Read... [21:39:58]OFD Sender: No OFD packet to send [21:39:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:39:59]Read from MH i2c: E2 [21:39:59]MH_I2C_Read... [21:39:59]Read from MH i2c: E2 03 00 [21:39:59]MH_I2C_Read... [21:39:59]Read from MH i2c: E2 03 00 7E 0D 00 90 00 FF [21:39:59]RAPDU: 90 00 [21:39:59]wFMCommunicate OK [21:39:59]wFMCommunicate request_size=41 [21:39:59]MH_SAM_APDU [21:39:59]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BF CD 00 00 35 04 06 00 C7 02 B3 FF A4 0D [21:39:59]Write to MH i2c: E2 2C 00 7F 0D 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BF CD 00 00 35 04 06 00 C7 02 B3 FF A4 0D 00 00 8D [21:39:59]Write i2c OK [21:39:59]MH_I2C_Read... [21:39:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:39:59]Read from MH i2c: E2 [21:39:59]MH_I2C_Read... [21:39:59]Read from MH i2c: E2 03 00 [21:39:59]MH_I2C_Read... [21:39:59]Read from MH i2c: E2 03 00 7F 0D 00 90 00 00 [21:39:59]RAPDU: 90 00 [21:39:59]wFMCommunicate OK [21:39:59]wFMCommunicate request_size=4 [21:39:59]MH_SAM_APDU [21:39:59]CAPDU: 80 0D 03 02 [21:39:59]Write to MH i2c: E2 08 00 80 0D 80 0D 03 02 00 00 00 00 08 [21:39:59]Write i2c OK [21:39:59]MH_I2C_Read... [21:39:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:39:59]Read from MH i2c: E2 [21:39:59]MH_I2C_Read... [21:39:59]Read from MH i2c: E2 0B 00 [21:39:59]MH_I2C_Read... [21:39:59]Read from MH i2c: E2 0B 00 80 0D 00 9D 5D 8B E7 3F 50 32 64 90 00 9A [21:39:59]RAPDU: 9D 5D 8B E7 3F 50 32 64 90 00 [21:39:59]wFMCommunicate OK [21:39:59]SAM_PROTO_SignData done [21:39:59]FM_MakeSignedData done [21:39:59]CreateOFDProtocolMessage [21:39:59]wFMCommunicate request_size=4 [21:39:59]MH_SAM_APDU [21:39:59]CAPDU: 80 11 00 00 [21:39:59]Write to MH i2c: E2 08 00 81 0D 80 11 00 00 00 00 00 00 08 [21:39:59]Write i2c OK [21:39:59]MH_I2C_Read... [21:39:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:39:59]Read from MH i2c: E2 [21:39:59]MH_I2C_Read... [21:39:59]Read from MH i2c: E2 17 00 [21:39:59]MH_I2C_Read... [21:39:59]Read from MH i2c: E2 17 00 81 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 5B [21:39:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [21:39:59]wFMCommunicate OK [21:39:59]CreateOFDProtocolMessage done [21:39:59]OFDSenderStorePacket 52671 [21:39:59]StoreOFDPacket docnum=52671 [21:39:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2E 01 00 00 08 69 26 01 BA BD 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 AF 2F B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BF CD 00 00 35 04 06 00 C7 02 B3 FF A4 0D 9D 5D 8B E7 3F 50 32 64 [21:39:59]CheckFolder [21:39:59]dirname=/storage/ofd_packets [21:39:59]CheckFolder done [21:39:59]ProducePacketName [21:39:59]name=ofd_packets/00052671 [21:39:59]NVStorageSaveData ofd_packets/00052671 [21:39:59]File name is /storage/ofd_packets/00052671 [21:39:59]Write 332 bytes [21:39:59]NVStorageSaveData done [21:39:59]OFDSenderStorePacket done [21:39:59]KKMCreateOFDPacket done [21:39:59]NVStorageSaveData kkm_last_timestamp [21:39:59]File name is /storage/kkm_last_timestamp [21:39:59]Write 4 bytes [21:39:59]NVStorageSaveData done [21:39:59]ExternCall_PrintAddStr [21:39:59]wPrintStart [21:39:59]Write to MH i2c: 01 00 00 82 0D 8F [21:39:59]Write i2c OK [21:39:59]MH_I2C_Read... [21:39:59]Read from MH i2c: 01 [21:39:59]MH_I2C_Read... [21:39:59]Read from MH i2c: 01 07 00 [21:39:59]MH_I2C_Read... [21:39:59]Read from MH i2c: 01 07 00 82 0D 00 00 00 00 00 FF 0F A4 [21:39:59]RasterBufferAndPrint [21:39:59]line Счет N : (3)122802 [21:39:59]line ИНН: 02508201610067 [21:39:59]line Контрольно-Кассовый Чек [21:39:59]line ПРОДАЖА [21:39:59]line Товар: 4700000480357 [21:39:59]line Пиво шахтерское 1л ПЭТ [21:39:59]line 1.000 * 170.00 [21:39:59]line = 170.00 [21:39:59]line НДС 12% НСП 1% [21:39:59]line > о реализуемом товаре [21:39:59]line ИТОГО: 170.00 [21:39:59]line НСП 1% : 1.50 [21:39:59]line НДС 12% : 18.05 [21:39:59]line Наличными: 170.00 [21:39:59]line Безнал.: 0.00 [21:39:59]line Место: АЗС № 54 "Партнер Нефть" [21:39:59]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [21:39:59]line СНО: Общий режим [21:39:59]line Чек 82 11.08.2024 21:39 [21:39:59]line Смена: 446 ФФД: 1.0 [21:39:59]line ЗНМ: 0300000007 [21:39:59]line РНМ: 0000000000090834 [21:39:59]line Версия ККМ: 001 [21:39:59]line ФМ: 0000000000874715 [21:39:59]line ФД: 52671 [21:39:59]line ФПД: 218814423737357 [21:39:59]line /tax-web-control/client/api/v1/ticket?date=20240811T213959&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52671&fm=218814423737357&tin=02508201610067®Number=0000000000090834&sum=17000 [21:39:59]OFD Sender: Processing packet 52671 [packets to send 55, broken 54] [21:39:59]ProducePacketName [21:39:59]name=ofd_packets/00052671 [21:39:59]OFD Sender: To server: pG, [21:39:59]CommunicateWithHost lk.salyk.kg:30040 [21:39:59]ConnectInit lk.salyk.kg [21:39:59]line 0 [21:39:59]written 0, free lines is 4095 [21:39:59]Connected sock=10 [21:39:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2E 01 00 00 08 69 26 01 BA BD 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 52 00 00 00 F4 03 04 00 AF 2F B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BF CD 00 00 35 04 06 00 C7 02 B3 FF A4 0D 9D 5D 8B E7 3F 50 32 64 [21:39:59]Write to MH i2c: 01 00 00 A9 0D B6 [21:39:59]Write i2c OK [21:39:59]MH_I2C_Read... [21:39:59]Read from MH i2c: 01 [21:39:59]MH_I2C_Read... [21:39:59]Read from MH i2c: 01 07 00 [21:39:59]MH_I2C_Read... [21:39:59]Read from MH i2c: 01 07 00 A9 0D 00 00 00 00 00 F1 0C BA [21:39:59]RasterBufferAndPrint [21:39:59]line [21:39:59]line [21:39:59]line [21:39:59]line [21:39:59]line [21:39:59]written 0, free lines is 3319 [21:40:00]MH_Cut [21:40:00]Write to MH i2c: D1 01 00 B0 0D 01 8F [21:40:00]Write i2c OK [21:40:00]MH_I2C_Read... [21:40:00]Read from MH i2c: D1 [21:40:00]MH_I2C_Read... [21:40:00]Read from MH i2c: D1 01 00 [21:40:00]MH_I2C_Read... [21:40:00]Read from MH i2c: D1 01 00 B0 0D 00 8E [21:40:00]Write to MH i2c: 01 00 00 B1 0D BE [21:40:00]Write i2c OK [21:40:00]MH_I2C_Read... [21:40:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 59 F4 47 00 7C 8F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 BF CD 00 00 F4 03 04 00 4A D7 B8 66 B6 04 01 00 00 DD 59 2C 3D 68 5E 42 ED [21:40:00]CommunicateWithHost err = 0 [21:40:00]CheckOFDResponse [21:40:00]1017 (14) - 77093643461234 [21:40:00]1041 (16) - 0000000000874715 [21:40:00]1040 (4) - 52671 [21:40:00]1012 (4) - 11.08.2024 15:22 [21:40:00]1206 (1) - 0 [21:40:00]OFD Sender: Remove packet 52671 [21:40:00]ProducePacketName [21:40:00]name=ofd_packets/00052671 [21:40:00]NVStorageDeleteData [21:40:00]OFD Sender: No OFD packet to send [21:40:00]*** Cut start [21:40:00]*** Purtial cut [21:40:00]*** Stage 1: CUTSNS_PIN = 1 [21:40:01]Read from MH i2c: 01 [21:40:01]MH_I2C_Read... [21:40:01]*** Stop cut motor [21:40:01]*** Cut end [21:40:01]Read from MH i2c: 01 07 00 [21:40:01]MH_I2C_Read... [21:40:01]Read from MH i2c: 01 07 00 B1 0D 00 00 00 00 00 FF 0F D3 [21:40:01]process_action close_receipt done [21:40:01]requested_data is exist [21:40:01]produce_requested_data [21:40:01]requested_item fm.sn is exist - process it [21:40:01]wFMCommunicate request_size=4 [21:40:01]MH_SAM_APDU [21:40:01]CAPDU: 80 11 00 00 [21:40:01]Write to MH i2c: E2 08 00 B2 0D 80 11 00 00 00 00 00 00 39 [21:40:01]Write i2c OK [21:40:01]MH_I2C_Read... [21:40:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:40:01]Read from MH i2c: E2 [21:40:01]MH_I2C_Read... [21:40:01]Read from MH i2c: E2 17 00 [21:40:01]MH_I2C_Read... [21:40:01]Read from MH i2c: E2 17 00 B2 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 8C [21:40:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [21:40:01]wFMCommunicate OK [21:40:01]requested_item fd.num is exist - process it [21:40:01]SAM_PROTO_GetFieldsCounters [21:40:01]wFMCommunicate request_size=4 [21:40:01]MH_SAM_APDU [21:40:01]CAPDU: 80 13 00 00 [21:40:01]Write to MH i2c: E2 08 00 B3 0D 80 13 00 00 00 00 00 00 3C [21:40:01]Write i2c OK [21:40:01]MH_I2C_Read... [21:40:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:40:01]Read from MH i2c: E2 [21:40:01]MH_I2C_Read... [21:40:01]Read from MH i2c: E2 62 00 [21:40:01]MH_I2C_Read... [21:40:01]Read from MH i2c: E2 62 00 B3 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 BF CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 9D [21:40:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 BF CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 52 00 00 00 5E 04 04 00 52 00 00 00 57 04 04 00 53 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:40:01]wFMCommunicate OK [21:40:01]SAM_PROTO_GetFieldsCounters done [21:40:01]requested_item shift.num is exist - process it [21:40:01]requested_item shift.opened is exist - process it [21:40:01]req_shift_opened [21:40:01]FM_GetShiftState [21:40:01]SAM_PROTO_GetShiftState [21:40:01]wFMCommunicate request_size=4 [21:40:01]MH_SAM_APDU [21:40:01]CAPDU: 80 13 01 00 [21:40:01]Write to MH i2c: E2 08 00 B4 0D 80 13 01 00 00 00 00 00 3E [21:40:01]Write i2c OK [21:40:01]MH_I2C_Read... [21:40:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:40:01]Read from MH i2c: E2 [21:40:01]MH_I2C_Read... [21:40:01]Read from MH i2c: E2 0E 00 [21:40:01]MH_I2C_Read... [21:40:01]Read from MH i2c: E2 0E 00 B4 0D 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 67 [21:40:01]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [21:40:01]wFMCommunicate OK [21:40:01]SAM_PROTO_GetShiftState done [21:40:01]FM_GetShiftState done [21:40:01]req_shift_opened done [21:40:01]requested_item shift.open_date is exist - process it [21:40:01]req_shift_open_date [21:40:01]req_shift_open_date done [21:40:01]produce_requested_data done [21:40:01]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52671,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [21:40:01]process_action_free close_receipt [21:40:01]json_value_free [21:40:01]json_value_free done [21:40:01]process_json_proto returns [21:40:01]Send response to host [21:40:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52671,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [21:40:01]free response buf [21:40:01]execute_script done [21:40:01]execute_script returns [21:40:01]free content buf [21:40:01]Sock 9.Close socket [21:40:01]Sock 9.Thread stoped [21:40:05]OFD Sender: No OFD packet to send [21:40:10]OFD Sender: No OFD packet to send [21:40:15]OFD Sender: No OFD packet to send [21:40:20]OFD Sender: No OFD packet to send [21:40:25]OFD Sender: No OFD packet to send [21:40:30]OFD Sender: No OFD packet to send [21:40:35]OFD Sender: No OFD packet to send [21:40:40]OFD Sender: No OFD packet to send [21:40:45]OFD Sender: No OFD packet to send [21:40:50]OFD Sender: No OFD packet to send [21:40:55]OFD Sender: No OFD packet to send [21:41:00]OFD Sender: No OFD packet to send [21:41:05]OFD Sender: No OFD packet to send [21:41:10]OFD Sender: No OFD packet to send [21:41:15]OFD Sender: No OFD packet to send [21:41:20]OFD Sender: No OFD packet to send [21:41:25]OFD Sender: No OFD packet to send [21:41:30]OFD Sender: No OFD packet to send [21:41:35]OFD Sender: No OFD packet to send [21:41:40]OFD Sender: No OFD packet to send [21:41:45]OFD Sender: No OFD packet to send [21:41:50]OFD Sender: No OFD packet to send [21:41:55]OFD Sender: No OFD packet to send [21:42:00]OFD Sender: No OFD packet to send [21:42:05]OFD Sender: No OFD packet to send [21:42:10]OFD Sender: No OFD packet to send [21:42:15]OFD Sender: No OFD packet to send [21:42:20]OFD Sender: No OFD packet to send [21:42:25]OFD Sender: No OFD packet to send [21:42:30]OFD Sender: No OFD packet to send [21:42:35]OFD Sender: No OFD packet to send [21:42:40]OFD Sender: No OFD packet to send [21:42:45]OFD Sender: No OFD packet to send [21:42:50]OFD Sender: No OFD packet to send [21:42:55]OFD Sender: No OFD packet to send [21:43:00]OFD Sender: No OFD packet to send [21:43:05]OFD Sender: No OFD packet to send [21:43:10]OFD Sender: No OFD packet to send [21:43:15]OFD Sender: No OFD packet to send [21:43:20]OFD Sender: No OFD packet to send [21:43:25]OFD Sender: No OFD packet to send [21:43:30]OFD Sender: No OFD packet to send [21:43:35]OFD Sender: No OFD packet to send [21:43:40]OFD Sender: No OFD packet to send [21:43:45]OFD Sender: No OFD packet to send [21:43:50]OFD Sender: No OFD packet to send [21:43:55]OFD Sender: No OFD packet to send [21:44:00]OFD Sender: No OFD packet to send [21:44:05]OFD Sender: No OFD packet to send [21:44:10]OFD Sender: No OFD packet to send [21:44:15]OFD Sender: No OFD packet to send [21:44:20]OFD Sender: No OFD packet to send [21:44:25]OFD Sender: No OFD packet to send [21:44:30]OFD Sender: No OFD packet to send [21:44:35]OFD Sender: No OFD packet to send [21:44:40]OFD Sender: No OFD packet to send [21:44:45]OFD Sender: No OFD packet to send [21:44:50]OFD Sender: No OFD packet to send [21:44:55]OFD Sender: No OFD packet to send [21:45:00]OFD Sender: No OFD packet to send [21:45:05]OFD Sender: No OFD packet to send [21:45:10]OFD Sender: No OFD packet to send [21:45:15]OFD Sender: No OFD packet to send [21:45:20]OFD Sender: No OFD packet to send [21:45:25]OFD Sender: No OFD packet to send [21:45:30]OFD Sender: No OFD packet to send [21:45:35]OFD Sender: No OFD packet to send [21:45:40]OFD Sender: No OFD packet to send [21:45:45]OFD Sender: No OFD packet to send [21:45:50]OFD Sender: No OFD packet to send [21:45:55]OFD Sender: No OFD packet to send [21:46:00]OFD Sender: No OFD packet to send [21:46:05]OFD Sender: No OFD packet to send [21:46:10]OFD Sender: No OFD packet to send [21:46:15]OFD Sender: No OFD packet to send [21:46:20]OFD Sender: No OFD packet to send [21:46:25]OFD Sender: No OFD packet to send [21:46:30]OFD Sender: No OFD packet to send [21:46:35]OFD Sender: No OFD packet to send [21:46:40]OFD Sender: No OFD packet to send [21:46:45]OFD Sender: No OFD packet to send [21:46:50]OFD Sender: No OFD packet to send [21:46:55]OFD Sender: No OFD packet to send [21:47:00]OFD Sender: No OFD packet to send [21:47:05]OFD Sender: No OFD packet to send [21:47:10]OFD Sender: No OFD packet to send [21:47:15]OFD Sender: No OFD packet to send [21:47:20]OFD Sender: No OFD packet to send [21:47:25]OFD Sender: No OFD packet to send [21:47:30]OFD Sender: No OFD packet to send [21:47:35]OFD Sender: No OFD packet to send [21:47:40]OFD Sender: No OFD packet to send [21:47:45]OFD Sender: No OFD packet to send [21:47:50]OFD Sender: No OFD packet to send [21:47:55]OFD Sender: No OFD packet to send [21:48:00]OFD Sender: No OFD packet to send [21:48:06]OFD Sender: No OFD packet to send [21:48:11]OFD Sender: No OFD packet to send [21:48:16]OFD Sender: No OFD packet to send [21:48:21]OFD Sender: No OFD packet to send [21:48:26]OFD Sender: No OFD packet to send [21:48:31]OFD Sender: No OFD packet to send [21:48:36]OFD Sender: No OFD packet to send [21:48:41]OFD Sender: No OFD packet to send [21:48:46]OFD Sender: No OFD packet to send [21:48:51]OFD Sender: No OFD packet to send [21:48:56]OFD Sender: No OFD packet to send [21:49:00]accept exits with 7 [21:49:00]New connection [21:49:00]New thread 3067149668 created [21:49:00]Thread 3067293028 joined [21:49:00]Waiting for new connection... [21:49:00] Sock 7.Parse request [21:49:00]Sock 7.Check first char [21:49:00]Sock 7.First char is OK [21:49:00]request: POST /json_proto HTTP/1.0 [21:49:00]Method: POST [21:49:00]URL: /json_proto [21:49:00]Method is POST - this is cgi request [21:49:00]url: /json_proto [21:49:00]query_string will be loaded in cgi processing [21:49:00]execute_cgi json_proto POST (null) [21:49:00]execute_cgi path=json_proto method=POST [21:49:00]POST find Content-Length [21:49:00]Host: 172.17.60.7:8080 [21:49:00]Content-Length: 1076 [21:49:00]Content-Type: application/json [21:49:00] [21:49:00]POST finish read [21:49:00]Found Content-Length = 1076 [21:49:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122803", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745536", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston SS Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 298.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:49:00]execute_script... [21:49: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)122803", "tax_sys" : 0, "items" : [ { "code": "5449000176448", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 1\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745536", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston SS Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 298.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:49:00]POST & json_proto [21:49:00]process_json_proto [21:49:00]json parsed OK: [21:49:00]protocol is kg_v1.0 [21:49:00]action value=close_receipt [21:49:00]process_action close_receipt [21:49:00]cmd_close_receipt [21:49:00]MH_GetDate [21:49:00]Write to MH i2c: F0 00 00 B5 0D B1 [21:49:00]Write i2c OK [21:49:00]MH_I2C_Read... [21:49:00]Read from MH i2c: F0 [21:49:00]MH_I2C_Read... [21:49:00]Read from MH i2c: F0 09 00 [21:49:00]MH_I2C_Read... [21:49:00]Read from MH i2c: F0 09 00 B5 0D 00 CE 31 B9 66 63 9B 67 64 A1 [21:49:00]GetLastDocTimeStamp 1723412399 [21:49:00]current date 1723412942 [21:49:00]FM_GetShiftState [21:49:00]SAM_PROTO_GetShiftState [21:49:00]wFMCommunicate request_size=4 [21:49:00]MH_SAM_APDU [21:49:00]CAPDU: 80 13 01 00 [21:49:00]Write to MH i2c: E2 08 00 B6 0D 80 13 01 00 00 00 00 00 40 [21:49:00]Write i2c OK [21:49:00]MH_I2C_Read... [21:49:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:49:00]Read from MH i2c: E2 [21:49:00]MH_I2C_Read... [21:49:00]Read from MH i2c: E2 0E 00 [21:49:00]MH_I2C_Read... [21:49:00]Read from MH i2c: E2 0E 00 B6 0D 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 69 [21:49:00]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [21:49:00]wFMCommunicate OK [21:49:00]SAM_PROTO_GetShiftState done [21:49:00]FM_GetShiftState done [21:49:00]opened in 1723336186 [21:49:00]opened+sec_in_day 1723422586 [21:49:00]quantity*price = 15500 [21:49:00]sum+1 = 15501 [21:49:00]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48745536 Сигареты Winston SS Caster+ 1.000 * 143.00 = 143.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 298.00 НСП 1% : 2.63 НДС 12% : 31.65 Наличными: 0.00 Безнал.: 298.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 83 11.08.2024 21:49 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874715 ФД: 52672 ФПД: 46260451955112 /tax-web-control/client/api/v1/ticket?date=20240811T214902&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52672&fm=46260451955112&tin=02508201610067®Number=0000000000090834&sum=29800 0 [21:49:01]StoreToDocumentArchive [21:49:01]shift 446 fd 52672 [21:49:01]save to /storage/0446/doc_00052672 [21:49:01]save last doc name /storage/0446/doc_00052672 to /storage/kkm_last_doc_name [21:49:01]save OK [21:49:01]Clear old archive folders... [21:49:01]ProcessDocumentItem done err = 0, tmpTLVsize=389 [21:49:01]tlvbuf is 0128E2B0 [21:49:01]SAM_PROTO_ClearQueue [21:49:01]wFMCommunicate request_size=4 [21:49:01]MH_SAM_APDU [21:49:01]CAPDU: 80 09 00 00 [21:49:01]Write to MH i2c: E2 08 00 C3 0D 80 09 00 00 00 00 00 00 42 [21:49:01]Write i2c OK [21:49:01]MH_I2C_Read... [21:49:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:49:01]Read from MH i2c: E2 [21:49:01]MH_I2C_Read... [21:49:01]Read from MH i2c: E2 03 00 [21:49:01]MH_I2C_Read... [21:49:01]Read from MH i2c: E2 03 00 C3 0D 00 90 00 44 [21:49:01]RAPDU: 90 00 [21:49:01]wFMCommunicate OK [21:49:01]SAM_PROTO_ClearQueue done [21:49:01]KKMCreateOFDPacket [21:49:01]OFDProtocolAddRootSTLVToBuf [21:49:01]FM_MakeSignedData [21:49:01]FM_MakeSignedData [21:49:01]SAM_PROTO_SignData [21:49:01]wFMCommunicate request_size=4 [21:49:01]MH_SAM_APDU [21:49:01]CAPDU: 80 0D 01 02 [21:49:01]Write to MH i2c: E2 08 00 C4 0D 80 0D 01 02 00 00 00 00 4A [21:49:01]Write i2c OK [21:49:01]MH_I2C_Read... [21:49:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:49:01]Read from MH i2c: E2 [21:49:01]MH_I2C_Read... [21:49:01]Read from MH i2c: E2 03 00 [21:49:01]MH_I2C_Read... [21:49:01]Read from MH i2c: E2 03 00 C4 0D 00 90 00 45 [21:49:01]RAPDU: 90 00 [21:49:01]wFMCommunicate OK [21:49:01]wFMCommunicate request_size=255 [21:49:01]MH_SAM_APDU [21:49:01]CAPDU: 80 0D 02 02 FA 03 00 85 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 35 33 36 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 53 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 [21:49:01]Write to MH i2c: E2 02 01 C5 0D 80 0D 02 02 FA 00 03 00 85 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 35 33 36 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 53 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 74 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 00 85 [21:49:01]Write i2c OK [21:49:01]MH_I2C_Read... [21:49:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:49:02]Read from MH i2c: E2 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 03 00 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 03 00 C5 0D 00 90 00 46 [21:49:02]RAPDU: 90 00 [21:49:02]wFMCommunicate OK [21:49:02]wFMCommunicate request_size=148 [21:49:02]MH_SAM_APDU [21:49:02]CAPDU: 80 0D 02 02 8F 01 F7 03 06 00 07 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5D 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 74 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 CE 31 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C0 CD 00 00 35 04 06 00 2A 12 D9 CE 51 A8 [21:49:02]Write to MH i2c: E2 97 00 C6 0D 80 0D 02 02 8F 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 5D 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 74 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 CE 31 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C0 CD 00 00 35 04 06 00 2A 12 D9 CE 51 A8 00 00 7E [21:49:02]Write i2c OK [21:49:02]MH_I2C_Read... [21:49:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:49:02]Read from MH i2c: E2 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 03 00 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 03 00 C6 0D 00 90 00 47 [21:49:02]RAPDU: 90 00 [21:49:02]wFMCommunicate OK [21:49:02]wFMCommunicate request_size=4 [21:49:02]MH_SAM_APDU [21:49:02]CAPDU: 80 0D 03 02 [21:49:02]Write to MH i2c: E2 08 00 C7 0D 80 0D 03 02 00 00 00 00 4F [21:49:02]Write i2c OK [21:49:02]MH_I2C_Read... [21:49:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:49:02]Read from MH i2c: E2 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 0B 00 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 0B 00 C7 0D 00 4C 8D AB 92 37 E5 06 A9 90 00 31 [21:49:02]RAPDU: 4C 8D AB 92 37 E5 06 A9 90 00 [21:49:02]wFMCommunicate OK [21:49:02]SAM_PROTO_SignData done [21:49:02]FM_MakeSignedData done [21:49:02]CreateOFDProtocolMessage [21:49:02]wFMCommunicate request_size=4 [21:49:02]MH_SAM_APDU [21:49:02]CAPDU: 80 11 00 00 [21:49:02]Write to MH i2c: E2 08 00 C8 0D 80 11 00 00 00 00 00 00 4F [21:49:02]Write i2c OK [21:49:02]MH_I2C_Read... [21:49:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:49:02]Read from MH i2c: E2 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 17 00 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: E2 17 00 C8 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 A2 [21:49:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [21:49:02]wFMCommunicate OK [21:49:02]CreateOFDProtocolMessage done [21:49:02]OFDSenderStorePacket 52672 [21:49:02]StoreOFDPacket docnum=52672 [21:49:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 99 01 00 00 1A 21 91 01 65 AC 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 35 33 36 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 53 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 5D 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 74 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 CE 31 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C0 CD 00 00 35 04 06 00 2A 12 D9 CE 51 A8 4C 8D AB 92 37 E5 06 A9 [21:49:02]CheckFolder [21:49:02]dirname=/storage/ofd_packets [21:49:02]CheckFolder done [21:49:02]ProducePacketName [21:49:02]name=ofd_packets/00052672 [21:49:02]NVStorageSaveData ofd_packets/00052672 [21:49:02]File name is /storage/ofd_packets/00052672 [21:49:02]Write 439 bytes [21:49:02]NVStorageSaveData done [21:49:02]OFDSenderStorePacket done [21:49:02]KKMCreateOFDPacket done [21:49:02]NVStorageSaveData kkm_last_timestamp [21:49:02]File name is /storage/kkm_last_timestamp [21:49:02]Write 4 bytes [21:49:02]NVStorageSaveData done [21:49:02]ExternCall_PrintAddStr [21:49:02]wPrintStart [21:49:02]Write to MH i2c: 01 00 00 C9 0D D6 [21:49:02]OFD Sender: Processing packet 52672 [packets to send 55, broken 54] [21:49:02]ProducePacketName [21:49:02]name=ofd_packets/00052672 [21:49:02]OFD Sender: To server: pG, [21:49:02]CommunicateWithHost lk.salyk.kg:30040 [21:49:02]ConnectInit lk.salyk.kg [21:49:02]Write i2c OK [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: 01 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: 01 07 00 [21:49:02]MH_I2C_Read... [21:49:02]Read from MH i2c: 01 07 00 C9 0D 00 00 00 00 00 FF 0F EB [21:49:02]RasterBufferAndPrint [21:49:02]line Счет N : (3)122803 [21:49:02]line ИНН: 02508201610067 [21:49:02]line Контрольно-Кассовый Чек [21:49:02]line ПРОДАЖА [21:49:02]line Товар: 5449000176448 [21:49:02]line Сок Piko Pulpy апельсин ПЭТ 1л [21:49:02]line 1.000 * 155.00 [21:49:02]line = 155.00 [21:49:02]line НДС 12% НСП 1% [21:49:02]line > о реализуемом товаре [21:49:02]line Товар: 48745536 [21:49:02]line Сигареты Winston SS Caster+ [21:49:02]line 1.000 * 143.00 [21:49:02]line = 143.00 [21:49:02]line НДС 12% НСП 1% [21:49:02]line > о реализуемом товаре [21:49:02]line ИТОГО: 298.00 [21:49:02]line НСП 1% : 2.63 [21:49:02]line НДС 12% : 31.65 [21:49:02]line Наличными: 0.00 [21:49:02]line Безнал.: 298.00 [21:49:02]line Место: АЗС № 54 "Партнер Нефть" [21:49:02]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [21:49:02]line СНО: Общий режим [21:49:02]line Чек 83 11.08.2024 21:49 [21:49:02]line Смена: 446 ФФД: 1.0 [21:49:02]line ЗНМ: 0300000007 [21:49:02]line РНМ: 0000000000090834 [21:49:02]line Версия ККМ: 001 [21:49:02]line Платежная система: Бакай Банк [21:49:02]line ФМ: 0000000000874715 [21:49:02]line ФД: 52672 [21:49:02]line ФПД: 46260451955112 [21:49:02]line /tax-web-control/client/api/v1/ticket?date=20240811T214902&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52672&fm=46260451955112&tin=02508201610067®Number=0000000000090834&sum=29800 [21:49:02]line 0 [21:49:02]written 0, free lines is 4095 [21:49:03]Connected sock=10 [21:49:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 99 01 00 00 1A 21 91 01 65 AC 5A 03 01 00 03 00 85 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 34 38 06 04 2D 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 35 33 36 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 53 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 37 00 00 00 00 13 04 06 00 DC 37 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 5D 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 68 74 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 CE 31 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C0 CD 00 00 35 04 06 00 2A 12 D9 CE 51 A8 4C 8D AB 92 37 E5 06 A9 [21:49:03]Write to MH i2c: 01 00 00 F9 0D 06 [21:49:03]Write i2c OK [21:49:03]MH_I2C_Read... [21:49:03]Read from MH i2c: 01 [21:49:03]MH_I2C_Read... [21:49:03]Read from MH i2c: 01 07 00 [21:49:03]MH_I2C_Read... [21:49:03]Read from MH i2c: 01 07 00 F9 0D 00 00 00 00 00 58 0C 71 [21:49:03]RasterBufferAndPrint [21:49:03]line [21:49:03]line [21:49:03]line [21:49:03]line [21:49:03]line [21:49:03]written 0, free lines is 3166 [21:49:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 60 7C 47 00 2B 36 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C0 CD 00 00 F4 03 04 00 69 D9 B8 66 B6 04 01 00 00 00 E2 28 CC 89 93 5F 35 [21:49:03]CommunicateWithHost err = 0 [21:49:03]CheckOFDResponse [21:49:03]1017 (14) - 77093643461234 [21:49:03]1041 (16) - 0000000000874715 [21:49:03]1040 (4) - 52672 [21:49:03]1012 (4) - 11.08.2024 15:31 [21:49:03]1206 (1) - 0 [21:49:03]OFD Sender: Remove packet 52672 [21:49:03]ProducePacketName [21:49:03]name=ofd_packets/00052672 [21:49:03]NVStorageDeleteData [21:49:03]MH_Cut [21:49:03]Write to MH i2c: D1 01 00 00 0E 01 E0 [21:49:03]Write i2c OK [21:49:03]MH_I2C_Read... [21:49:03]Read from MH i2c: D1 [21:49:03]MH_I2C_Read... [21:49:03]Read from MH i2c: D1 01 00 [21:49:03]MH_I2C_Read... [21:49:03]Read from MH i2c: D1 01 00 00 0E 00 DF [21:49:03]Write to MH i2c: 01 00 00 01 0E 0F [21:49:03]Write i2c OK [21:49:03]MH_I2C_Read... [21:49:03]OFD Sender: No OFD packet to send [21:49:04]*** Cut start [21:49:04]*** Purtial cut [21:49:04]*** Stage 1: CUTSNS_PIN = 1 [21:49:04]Read from MH i2c: 01 [21:49:04]MH_I2C_Read... [21:49:04]*** Stop cut motor [21:49:04]*** Cut end [21:49:04]Read from MH i2c: 01 07 00 [21:49:04]MH_I2C_Read... [21:49:04]Read from MH i2c: 01 07 00 01 0E 00 00 00 00 00 FF 0F 24 [21:49:04]process_action close_receipt done [21:49:04]requested_data is exist [21:49:04]produce_requested_data [21:49:04]requested_item fm.sn is exist - process it [21:49:04]wFMCommunicate request_size=4 [21:49:04]MH_SAM_APDU [21:49:04]CAPDU: 80 11 00 00 [21:49:04]Write to MH i2c: E2 08 00 02 0E 80 11 00 00 00 00 00 00 8A [21:49:04]Write i2c OK [21:49:04]MH_I2C_Read... [21:49:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:49:04]Read from MH i2c: E2 [21:49:04]MH_I2C_Read... [21:49:04]Read from MH i2c: E2 17 00 [21:49:04]MH_I2C_Read... [21:49:04]Read from MH i2c: E2 17 00 02 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 DD [21:49:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [21:49:04]wFMCommunicate OK [21:49:04]requested_item fd.num is exist - process it [21:49:04]SAM_PROTO_GetFieldsCounters [21:49:04]wFMCommunicate request_size=4 [21:49:04]MH_SAM_APDU [21:49:04]CAPDU: 80 13 00 00 [21:49:04]Write to MH i2c: E2 08 00 03 0E 80 13 00 00 00 00 00 00 8D [21:49:04]Write i2c OK [21:49:04]MH_I2C_Read... [21:49:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:49:04]Read from MH i2c: E2 [21:49:04]MH_I2C_Read... [21:49:04]Read from MH i2c: E2 62 00 [21:49:04]MH_I2C_Read... [21:49:04]Read from MH i2c: E2 62 00 03 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C0 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 F2 [21:49: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C0 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 53 00 00 00 5E 04 04 00 53 00 00 00 57 04 04 00 54 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:49:04]wFMCommunicate OK [21:49:04]SAM_PROTO_GetFieldsCounters done [21:49:04]requested_item shift.num is exist - process it [21:49:04]requested_item shift.opened is exist - process it [21:49:04]req_shift_opened [21:49:04]FM_GetShiftState [21:49:04]SAM_PROTO_GetShiftState [21:49:04]wFMCommunicate request_size=4 [21:49:04]MH_SAM_APDU [21:49:04]CAPDU: 80 13 01 00 [21:49:04]Write to MH i2c: E2 08 00 04 0E 80 13 01 00 00 00 00 00 8F [21:49:04]Write i2c OK [21:49:04]MH_I2C_Read... [21:49:04]Read from MH i2c: E2 [21:49:04]MH_I2C_Read... [21:49:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:49:04]Read from MH i2c: E2 0E 00 [21:49:04]MH_I2C_Read... [21:49:04]Read from MH i2c: E2 0E 00 04 0E 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 B8 [21:49:04]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [21:49:04]wFMCommunicate OK [21:49:04]SAM_PROTO_GetShiftState done [21:49:04]FM_GetShiftState done [21:49:04]req_shift_opened done [21:49:04]requested_item shift.open_date is exist - process it [21:49:04]req_shift_open_date [21:49:04]req_shift_open_date done [21:49:04]produce_requested_data done [21:49:04]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52672,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [21:49:04]process_action_free close_receipt [21:49:04]json_value_free [21:49:04]json_value_free done [21:49:04]process_json_proto returns [21:49:04]Send response to host [21:49:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52672,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [21:49:04]free response buf [21:49:04]execute_script done [21:49:04]execute_script returns [21:49:04]free content buf [21:49:04]Sock 7.Close socket [21:49:04]Sock 7.Thread stoped [21:49:08]OFD Sender: No OFD packet to send [21:49:13]OFD Sender: No OFD packet to send [21:49:18]OFD Sender: No OFD packet to send [21:49:23]OFD Sender: No OFD packet to send [21:49:28]OFD Sender: No OFD packet to send [21:49:33]OFD Sender: No OFD packet to send [21:49:38]OFD Sender: No OFD packet to send [21:49:43]OFD Sender: No OFD packet to send [21:49:48]OFD Sender: No OFD packet to send [21:49:53]OFD Sender: No OFD packet to send [21:49:58]OFD Sender: No OFD packet to send [21:50:03]OFD Sender: No OFD packet to send [21:50:08]OFD Sender: No OFD packet to send [21:50:13]OFD Sender: No OFD packet to send [21:50:18]OFD Sender: No OFD packet to send [21:50:23]OFD Sender: No OFD packet to send [21:50:28]OFD Sender: No OFD packet to send [21:50:33]OFD Sender: No OFD packet to send [21:50:38]OFD Sender: No OFD packet to send [21:50:43]OFD Sender: No OFD packet to send [21:50:48]OFD Sender: No OFD packet to send [21:50:53]OFD Sender: No OFD packet to send [21:50:58]OFD Sender: No OFD packet to send [21:51:03]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:19]OFD Sender: No OFD packet to send [21:52:24]OFD Sender: No OFD packet to send [21:52:29]OFD Sender: No OFD packet to send [21:52:34]OFD Sender: No OFD packet to send [21:52:39]OFD Sender: No OFD packet to send [21:52:44]OFD Sender: No OFD packet to send [21:52:49]OFD Sender: No OFD packet to send [21:52:54]OFD Sender: No OFD packet to send [21:52:59]OFD Sender: No OFD packet to send [21:53:04]OFD Sender: No OFD packet to send [21:53:09]OFD Sender: No OFD packet to send [21:53:14]OFD Sender: No OFD packet to send [21:53:19]OFD Sender: No OFD packet to send [21:53:24]OFD Sender: No OFD packet to send [21:53:29]OFD Sender: No OFD packet to send [21:53:34]OFD Sender: No OFD packet to send [21:53:39]OFD Sender: No OFD packet to send [21:53:44]OFD Sender: No OFD packet to send [21:53:49]OFD Sender: No OFD packet to send [21:53:54]OFD Sender: No OFD packet to send [21:53:59]OFD Sender: No OFD packet to send [21:54:04]OFD Sender: No OFD packet to send [21:54:09]OFD Sender: No OFD packet to send [21:54:14]OFD Sender: No OFD packet to send [21:54:19]OFD Sender: No OFD packet to send [21:54:24]OFD Sender: No OFD packet to send [21:54:29]OFD Sender: No OFD packet to send [21:54:34]OFD Sender: No OFD packet to send [21:54:39]OFD Sender: No OFD packet to send [21:54:44]OFD Sender: No OFD packet to send [21:54:49]OFD Sender: No OFD packet to send [21:54:54]OFD Sender: No OFD packet to send [21:54:59]OFD Sender: No OFD packet to send [21:55:04]OFD Sender: No OFD packet to send [21:55:09]OFD Sender: No OFD packet to send [21:55:14]OFD Sender: No OFD packet to send [21:55:19]OFD Sender: No OFD packet to send [21:55:24]OFD Sender: No OFD packet to send [21:55:29]OFD Sender: No OFD packet to send [21:55:34]OFD Sender: No OFD packet to send [21:55:39]OFD Sender: No OFD packet to send [21:55:44]OFD Sender: No OFD packet to send [21:55:49]OFD Sender: No OFD packet to send [21:55:54]OFD Sender: No OFD packet to send [21:55:59]OFD Sender: No OFD packet to send [21:56:04]OFD Sender: No OFD packet to send [21:56:09]OFD Sender: No OFD packet to send [21:56:14]OFD Sender: No OFD packet to send [21:56:19]OFD Sender: No OFD packet to send [21:56:24]OFD Sender: No OFD packet to send [21:56:29]OFD Sender: No OFD packet to send [21:56:34]OFD Sender: No OFD packet to send [21:56:39]OFD Sender: No OFD packet to send [21:56:44]OFD Sender: No OFD packet to send [21:56:49]OFD Sender: No OFD packet to send [21:56:54]OFD Sender: No OFD packet to send [21:56:59]OFD Sender: No OFD packet to send [21:57:04]OFD Sender: No OFD packet to send [21:57:09]OFD Sender: No OFD packet to send [21:57:14]OFD Sender: No OFD packet to send [21:57:19]OFD Sender: No OFD packet to send [21:57:24]OFD Sender: No OFD packet to send [21:57:29]OFD Sender: No OFD packet to send [21:57:34]OFD Sender: No OFD packet to send [21:57:39]OFD Sender: No OFD packet to send [21:57:44]OFD Sender: No OFD packet to send [21:57:49]OFD Sender: No OFD packet to send [21:57:54]OFD Sender: No OFD packet to send [21:57:59]OFD Sender: No OFD packet to send [21:58:04]OFD Sender: No OFD packet to send [21:58:09]OFD Sender: No OFD packet to send [21:58:14]OFD Sender: No OFD packet to send [21:58:19]OFD Sender: No OFD packet to send [21:58:24]OFD Sender: No OFD packet to send [21:58:29]OFD Sender: No OFD packet to send [21:58:34]OFD Sender: No OFD packet to send [21:58:39]OFD Sender: No OFD packet to send [21:58:44]OFD Sender: No OFD packet to send [21:58:49]OFD Sender: No OFD packet to send [21:58:54]OFD Sender: No OFD packet to send [21:58:59]OFD Sender: No OFD packet to send [21:59:04]OFD Sender: No OFD packet to send [21:59:09]OFD Sender: No OFD packet to send [21:59:14]OFD Sender: No OFD packet to send [21:59:19]OFD Sender: No OFD packet to send [21:59:24]OFD Sender: No OFD packet to send [21:59:29]OFD Sender: No OFD packet to send [21:59:34]OFD Sender: No OFD packet to send [21:59:39]OFD Sender: No OFD packet to send [21:59:44]OFD Sender: No OFD packet to send [21:59:49]OFD Sender: No OFD packet to send [21:59:54]OFD Sender: No OFD packet to send [21:59:59]OFD Sender: No OFD packet to send [22:00:04]OFD Sender: No OFD packet to send [22:00:09]OFD Sender: No OFD packet to send [22:00:14]OFD Sender: No OFD packet to send [22:00:19]OFD Sender: No OFD packet to send [22:00:24]OFD Sender: No OFD packet to send [22:00:29]OFD Sender: No OFD packet to send [22:00:34]OFD Sender: No OFD packet to send [22:00:39]OFD Sender: No OFD packet to send [22:00:44]OFD Sender: No OFD packet to send [22:00:49]OFD Sender: No OFD packet to send [22:00:54]OFD Sender: No OFD packet to send [22:00:59]OFD Sender: No OFD packet to send [22:01:04]OFD Sender: No OFD packet to send [22:01:09]OFD Sender: No OFD packet to send [22:01:14]OFD Sender: No OFD packet to send [22:01:19]OFD Sender: No OFD packet to send [22:01:24]OFD Sender: No OFD packet to send [22:01:29]OFD Sender: No OFD packet to send [22:01:34]OFD Sender: No OFD packet to send [22:01:39]OFD Sender: No OFD packet to send [22:01:44]OFD Sender: No OFD packet to send [22:01:49]OFD Sender: No OFD packet to send [22:01:54]OFD Sender: No OFD packet to send [22:01:59]OFD Sender: No OFD packet to send [22:02:04]OFD Sender: No OFD packet to send [22:02:09]OFD Sender: No OFD packet to send [22:02:14]OFD Sender: No OFD packet to send [22:02:19]OFD Sender: No OFD packet to send [22:02:24]OFD Sender: No OFD packet to send [22:02:29]OFD Sender: No OFD packet to send [22:02:34]OFD Sender: No OFD packet to send [22:02:39]OFD Sender: No OFD packet to send [22:02:44]OFD Sender: No OFD packet to send [22:02:49]OFD Sender: No OFD packet to send [22:02:54]OFD Sender: No OFD packet to send [22:02:59]OFD Sender: No OFD packet to send [22:03:04]OFD Sender: No OFD packet to send [22:03:09]OFD Sender: No OFD packet to send [22:03:14]OFD Sender: No OFD packet to send [22:03:19]OFD Sender: No OFD packet to send [22:03:24]OFD Sender: No OFD packet to send [22:03:29]OFD Sender: No OFD packet to send [22:03:34]OFD Sender: No OFD packet to send [22:03:39]OFD Sender: No OFD packet to send [22:03:44]OFD Sender: No OFD packet to send [22:03:49]OFD Sender: No OFD packet to send [22:03:54]OFD Sender: No OFD packet to send [22:03:59]OFD Sender: No OFD packet to send [22:04:04]OFD Sender: No OFD packet to send [22:04:09]OFD Sender: No OFD packet to send [22:04:14]OFD Sender: No OFD packet to send [22:04:19]OFD Sender: No OFD packet to send [22:04:24]OFD Sender: No OFD packet to send [22:04:29]OFD Sender: No OFD packet to send [22:04:34]OFD Sender: No OFD packet to send [22:04:39]OFD Sender: No OFD packet to send [22:04:44]OFD Sender: No OFD packet to send [22:04:49]OFD Sender: No OFD packet to send [22:04:54]OFD Sender: No OFD packet to send [22:04:59]OFD Sender: No OFD packet to send [22:05:04]OFD Sender: No OFD packet to send [22:05:09]OFD Sender: No OFD packet to send [22:05:14]OFD Sender: No OFD packet to send [22:05:19]OFD Sender: No OFD packet to send [22:05:24]OFD Sender: No OFD packet to send [22:05:29]OFD Sender: No OFD packet to send [22:05:34]OFD Sender: No OFD packet to send [22:05:39]OFD Sender: No OFD packet to send [22:05:44]OFD Sender: No OFD packet to send [22:05:49]OFD Sender: No OFD packet to send [22:05:54]OFD Sender: No OFD packet to send [22:05:59]OFD Sender: No OFD packet to send [22:06:04]OFD Sender: No OFD packet to send [22:06:09]OFD Sender: No OFD packet to send [22:06:14]OFD Sender: No OFD packet to send [22:06:19]OFD Sender: No OFD packet to send [22:06:24]OFD Sender: No OFD packet to send [22:06:29]OFD Sender: No OFD packet to send [22:06:34]OFD Sender: No OFD packet to send [22:06:39]OFD Sender: No OFD packet to send [22:06:44]OFD Sender: No OFD packet to send [22:06:49]OFD Sender: No OFD packet to send [22:06:54]OFD Sender: No OFD packet to send [22:06:59]OFD Sender: No OFD packet to send [22:07:04]OFD Sender: No OFD packet to send [22:07:09]OFD Sender: No OFD packet to send [22:07:14]OFD Sender: No OFD packet to send [22:07:19]OFD Sender: No OFD packet to send [22:07:24]OFD Sender: No OFD packet to send [22:07:29]OFD Sender: No OFD packet to send [22:07:34]OFD Sender: No OFD packet to send [22:07:39]OFD Sender: No OFD packet to send [22:07:44]OFD Sender: No OFD packet to send [22:07:49]OFD Sender: No OFD packet to send [22:07:54]OFD Sender: No OFD packet to send [22:07:59]OFD Sender: No OFD packet to send [22:08:04]OFD Sender: No OFD packet to send [22:08:09]OFD Sender: No OFD packet to send [22:08:14]OFD Sender: No OFD packet to send [22:08:19]OFD Sender: No OFD packet to send [22:08:24]OFD Sender: No OFD packet to send [22:08:29]OFD Sender: No OFD packet to send [22:08:34]OFD Sender: No OFD packet to send [22:08:39]OFD Sender: No OFD packet to send [22:08:44]OFD Sender: No OFD packet to send [22:08:49]OFD Sender: No OFD packet to send [22:08:54]OFD Sender: No OFD packet to send [22:09:00]OFD Sender: No OFD packet to send [22:09:05]OFD Sender: No OFD packet to send [22:09:10]OFD Sender: No OFD packet to send [22:09:15]OFD Sender: No OFD packet to send [22:09:20]OFD Sender: No OFD packet to send [22:09:25]OFD Sender: No OFD packet to send [22:09:30]OFD Sender: No OFD packet to send [22:09:35]OFD Sender: No OFD packet to send [22:09:40]OFD Sender: No OFD packet to send [22:09:45]OFD Sender: No OFD packet to send [22:09:50]OFD Sender: No OFD packet to send [22:09:55]OFD Sender: No OFD packet to send [22:10:00]OFD Sender: No OFD packet to send [22:10:05]OFD Sender: No OFD packet to send [22:10:10]OFD Sender: No OFD packet to send [22:10:15]OFD Sender: No OFD packet to send [22:10:20]OFD Sender: No OFD packet to send [22:10:25]OFD Sender: No OFD packet to send [22:10:30]OFD Sender: No OFD packet to send [22:10:35]OFD Sender: No OFD packet to send [22:10:40]OFD Sender: No OFD packet to send [22:10:45]OFD Sender: No OFD packet to send [22:10:50]OFD Sender: No OFD packet to send [22:10:55]OFD Sender: No OFD packet to send [22:11:00]OFD Sender: No OFD packet to send [22:11:05]OFD Sender: No OFD packet to send [22:11:10]OFD Sender: No OFD packet to send [22:11:15]OFD Sender: No OFD packet to send [22:11:20]OFD Sender: No OFD packet to send [22:11:25]OFD Sender: No OFD packet to send [22:11:30]OFD Sender: No OFD packet to send [22:11:35]OFD Sender: No OFD packet to send [22:11:40]OFD Sender: No OFD packet to send [22:11:45]OFD Sender: No OFD packet to send [22:11:50]OFD Sender: No OFD packet to send [22:11:55]OFD Sender: No OFD packet to send [22:12:00]OFD Sender: No OFD packet to send [22:12:05]OFD Sender: No OFD packet to send [22:12:10]OFD Sender: No OFD packet to send [22:12:15]OFD Sender: No OFD packet to send [22:12:20]OFD Sender: No OFD packet to send [22:12:25]OFD Sender: No OFD packet to send [22:12:30]OFD Sender: No OFD packet to send [22:12:35]OFD Sender: No OFD packet to send [22:12:40]OFD Sender: No OFD packet to send [22:12:45]OFD Sender: No OFD packet to send [22:12:50]OFD Sender: No OFD packet to send [22:12:55]OFD Sender: No OFD packet to send [22:13:00]OFD Sender: No OFD packet to send [22:13:05]OFD Sender: No OFD packet to send [22:13:10]OFD Sender: No OFD packet to send [22:13:15]OFD Sender: No OFD packet to send [22:13:20]OFD Sender: No OFD packet to send [22:13:20]accept exits with 9 [22:13:20]New connection [22:13:20]New thread 3067293028 created [22:13:20]Thread 3067149668 joined [22:13:20]Waiting for new connection... [22:13:20] Sock 9.Parse request [22:13:20]Sock 9.Check first char [22:13:20]Sock 9.First char is OK [22:13:20]request: POST /json_proto HTTP/1.0 [22:13:20]Method: POST [22:13:20]URL: /json_proto [22:13:20]Method is POST - this is cgi request [22:13:20]url: /json_proto [22:13:20]query_string will be loaded in cgi processing [22:13:20]execute_cgi json_proto POST (null) [22:13:20]execute_cgi path=json_proto method=POST [22:13:20]POST find Content-Length [22:13:20]Host: 172.17.60.7:8080 [22:13:20]Content-Length: 798 [22:13:20]Content-Type: application/json [22:13:20] [22:13:20]POST finish read [22:13:20]Found Content-Length = 798 [22:13:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122804", "tax_sys" : 0, "items" : [ { "code": "48745031", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Superslims Expand Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:13:20]execute_script... [22:13: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)122804", "tax_sys" : 0, "items" : [ { "code": "48745031", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Superslims Expand Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:13:20]POST & json_proto [22:13:20]process_json_proto [22:13:20]json parsed OK: [22:13:20]protocol is kg_v1.0 [22:13:20]action value=close_receipt [22:13:20]process_action close_receipt [22:13:20]cmd_close_receipt [22:13:20]MH_GetDate [22:13:20]Write to MH i2c: F0 00 00 05 0E 02 [22:13:20]Write i2c OK [22:13:20]MH_I2C_Read... [22:13:20]Read from MH i2c: F0 [22:13:20]MH_I2C_Read... [22:13:20]Read from MH i2c: F0 09 00 [22:13:20]MH_I2C_Read... [22:13:20]Read from MH i2c: F0 09 00 05 0E 00 82 37 B9 66 63 9B 67 64 AC [22:13:20]GetLastDocTimeStamp 1723412942 [22:13:20]current date 1723414402 [22:13:20]FM_GetShiftState [22:13:20]SAM_PROTO_GetShiftState [22:13:20]wFMCommunicate request_size=4 [22:13:20]MH_SAM_APDU [22:13:20]CAPDU: 80 13 01 00 [22:13:20]Write to MH i2c: E2 08 00 06 0E 80 13 01 00 00 00 00 00 91 [22:13:20]Write i2c OK [22:13:20]MH_I2C_Read... [22:13:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:13:20]Read from MH i2c: E2 [22:13:20]MH_I2C_Read... [22:13:20]Read from MH i2c: E2 0E 00 [22:13:20]MH_I2C_Read... [22:13:20]Read from MH i2c: E2 0E 00 06 0E 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 BA [22:13:20]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [22:13:20]wFMCommunicate OK [22:13:20]SAM_PROTO_GetShiftState done [22:13:20]FM_GetShiftState done [22:13:20]opened in 1723336186 [22:13:20]opened+sec_in_day 1723422586 [22:13:20]quantity*price = 14000 [22:13:20]sum+1 = 14001 [22:13:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 84 11.08.2024 22:13 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52673 ФПД: 151743638259182 /tax-web-control/client/api/v1/ticket?date=20240811T221322&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52673&fm=151743638259182&tin=02508201610067®Number=0000000000090834&sum=14000 0 [22:13:21]StoreToDocumentArchive [22:13:21]shift 446 fd 52673 [22:13:21]save to /storage/0446/doc_00052673 [22:13:21]save last doc name /storage/0446/doc_00052673 to /storage/kkm_last_doc_name [22:13:21]save OK [22:13:21]Clear old archive folders... [22:13:21]ProcessDocumentItem done err = 0, tmpTLVsize=284 [22:13:21]tlvbuf is 01295CF0 [22:13:21]SAM_PROTO_ClearQueue [22:13:21]wFMCommunicate request_size=4 [22:13:21]MH_SAM_APDU [22:13:21]CAPDU: 80 09 00 00 [22:13:21]Write to MH i2c: E2 08 00 13 0E 80 09 00 00 00 00 00 00 93 [22:13:21]Write i2c OK [22:13:21]MH_I2C_Read... [22:13:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:13:21]Read from MH i2c: E2 [22:13:21]MH_I2C_Read... [22:13:21]Read from MH i2c: E2 03 00 [22:13:21]MH_I2C_Read... [22:13:21]Read from MH i2c: E2 03 00 13 0E 00 90 00 95 [22:13:21]RAPDU: 90 00 [22:13:21]wFMCommunicate OK [22:13:21]SAM_PROTO_ClearQueue done [22:13:21]KKMCreateOFDPacket [22:13:21]OFDProtocolAddRootSTLVToBuf [22:13:21]FM_MakeSignedData [22:13:21]FM_MakeSignedData [22:13:21]SAM_PROTO_SignData [22:13:21]wFMCommunicate request_size=4 [22:13:21]MH_SAM_APDU [22:13:21]CAPDU: 80 0D 01 02 [22:13:21]Write to MH i2c: E2 08 00 14 0E 80 0D 01 02 00 00 00 00 9B [22:13:21]Write i2c OK [22:13:21]MH_I2C_Read... [22:13:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:13:21]Read from MH i2c: E2 [22:13:21]MH_I2C_Read... [22:13:21]Read from MH i2c: E2 03 00 [22:13:21]MH_I2C_Read... [22:13:21]Read from MH i2c: E2 03 00 14 0E 00 90 00 96 [22:13:21]RAPDU: 90 00 [22:13:21]wFMCommunicate OK [22:13:21]wFMCommunicate request_size=255 [22:13:21]MH_SAM_APDU [22:13:21]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 38 37 34 35 30 33 31 06 04 2F 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 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 82 37 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 [22:13:21]Write to MH i2c: E2 02 01 15 0E 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 38 37 34 35 30 33 31 06 04 2F 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 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 82 37 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 00 00 6E [22:13:21]Write i2c OK [22:13:21]MH_I2C_Read... [22:13:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:13:21]Read from MH i2c: E2 [22:13:21]MH_I2C_Read... [22:13:21]Read from MH i2c: E2 03 00 [22:13:21]MH_I2C_Read... [22:13:21]Read from MH i2c: E2 03 00 15 0E 00 90 00 97 [22:13:21]RAPDU: 90 00 [22:13:21]wFMCommunicate OK [22:13:21]wFMCommunicate request_size=43 [22:13:21]MH_SAM_APDU [22:13:21]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C1 CD 00 00 35 04 06 00 8A 02 91 A7 C5 EE [22:13:21]Write to MH i2c: E2 2E 00 16 0E 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C1 CD 00 00 35 04 06 00 8A 02 91 A7 C5 EE 00 00 8B [22:13:21]Write i2c OK [22:13:21]MH_I2C_Read... [22:13:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:13:21]Read from MH i2c: E2 [22:13:21]MH_I2C_Read... [22:13:21]Read from MH i2c: E2 03 00 [22:13:21]MH_I2C_Read... [22:13:21]Read from MH i2c: E2 03 00 16 0E 00 90 00 98 [22:13:21]RAPDU: 90 00 [22:13:21]wFMCommunicate OK [22:13:21]wFMCommunicate request_size=4 [22:13:21]MH_SAM_APDU [22:13:21]CAPDU: 80 0D 03 02 [22:13:21]Write to MH i2c: E2 08 00 17 0E 80 0D 03 02 00 00 00 00 A0 [22:13:21]Write i2c OK [22:13:21]MH_I2C_Read... [22:13:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:13:21]Read from MH i2c: E2 [22:13:21]MH_I2C_Read... [22:13:21]Read from MH i2c: E2 0B 00 [22:13:21]MH_I2C_Read... [22:13:21]Read from MH i2c: E2 0B 00 17 0E 00 0B 04 90 75 0F DA C5 AC 90 00 0F [22:13:21]RAPDU: 0B 04 90 75 0F DA C5 AC 90 00 [22:13:21]wFMCommunicate OK [22:13:21]SAM_PROTO_SignData done [22:13:21]FM_MakeSignedData done [22:13:21]CreateOFDProtocolMessage [22:13:21]wFMCommunicate request_size=4 [22:13:21]MH_SAM_APDU [22:13:21]CAPDU: 80 11 00 00 [22:13:21]Write to MH i2c: E2 08 00 18 0E 80 11 00 00 00 00 00 00 A0 [22:13:21]Write i2c OK [22:13:21]MH_I2C_Read... [22:13:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:13:22]Read from MH i2c: E2 [22:13:22]MH_I2C_Read... [22:13:22]Read from MH i2c: E2 17 00 [22:13:22]MH_I2C_Read... [22:13:22]Read from MH i2c: E2 17 00 18 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 F3 [22:13:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [22:13:22]wFMCommunicate OK [22:13:22]CreateOFDProtocolMessage done [22:13:22]OFDSenderStorePacket 52673 [22:13:22]StoreOFDPacket docnum=52673 [22:13:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 30 01 00 00 34 53 28 01 43 1C 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 38 37 34 35 30 33 31 06 04 2F 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 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 82 37 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C1 CD 00 00 35 04 06 00 8A 02 91 A7 C5 EE 0B 04 90 75 0F DA C5 AC [22:13:22]CheckFolder [22:13:22]dirname=/storage/ofd_packets [22:13:22]CheckFolder done [22:13:22]ProducePacketName [22:13:22]name=ofd_packets/00052673 [22:13:22]NVStorageSaveData ofd_packets/00052673 [22:13:22]File name is /storage/ofd_packets/00052673 [22:13:22]Write 334 bytes [22:13:22]NVStorageSaveData done [22:13:22]OFDSenderStorePacket done [22:13:22]KKMCreateOFDPacket done [22:13:22]NVStorageSaveData kkm_last_timestamp [22:13:22]File name is /storage/kkm_last_timestamp [22:13:22]Write 4 bytes [22:13:22]NVStorageSaveData done [22:13:22]ExternCall_PrintAddStr [22:13:22]wPrintStart [22:13:22]Write to MH i2c: 01 00 00 19 0E 27 [22:13:22]Write i2c OK [22:13:22]MH_I2C_Read... [22:13:22]Read from MH i2c: 01 [22:13:22]MH_I2C_Read... [22:13:22]Read from MH i2c: 01 07 00 [22:13:22]MH_I2C_Read... [22:13:22]Read from MH i2c: 01 07 00 19 0E 00 00 00 00 00 FF 0F 3C [22:13:22]RasterBufferAndPrint [22:13:22]line Счет N : (3)122804 [22:13:22]line ИНН: 02508201610067 [22:13:22]line Контрольно-Кассовый Чек [22:13:22]line ПРОДАЖА [22:13:22]line Товар: 48745031 [22:13:22]line Сигареты Winston Superslims Expand Blue [22:13:22]line 1.000 * 140.00 [22:13:22]line = 140.00 [22:13:22]line НДС 12% НСП 1% [22:13:22]line > о реализуемом товаре [22:13:22]line ИТОГО: 140.00 [22:13:22]line НСП 1% : 1.24 [22:13:22]line НДС 12% : 14.87 [22:13:22]line Наличными: 0.00 [22:13:22]line Безнал.: 140.00 [22:13:22]line Место: АЗС № 54 "Партнер Нефть" [22:13:22]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [22:13:22]line СНО: Общий режим [22:13:22]line Чек 84 11.08.2024 22:13 [22:13:22]line Смена: 446 ФФД: 1.0 [22:13:22]line ЗНМ: 0300000007 [22:13:22]line РНМ: 0000000000090834 [22:13:22]line Версия ККМ: 001 [22:13:22]line Платежная система: О! деньги [22:13:22]line ФМ: 0000000000874715 [22:13:22]line ФД: 52673 [22:13:22]line ФПД: 151743638259182 [22:13:22]line /tax-web-control/client/api/v1/ticket?date=20240811T221322&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52673&fm=151743638259182&tin=02508201610067®Number=0000000000090834&sum=14000 [22:13:22]line 0 [22:13:22]OFD Sender: Processing packet 52673 [packets to send 55, broken 54] [22:13:22]ProducePacketName [22:13:22]name=ofd_packets/00052673 [22:13:22]OFD Sender: To server: pG, [22:13:22]CommunicateWithHost lk.salyk.kg:30040 [22:13:22]ConnectInit lk.salyk.kg [22:13:22]written 0, free lines is 4095 [22:13:22]Connected sock=7 [22:13:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 30 01 00 00 34 53 28 01 43 1C 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 08 00 34 38 37 34 35 30 33 31 06 04 2F 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 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 82 37 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C1 CD 00 00 35 04 06 00 8A 02 91 A7 C5 EE 0B 04 90 75 0F DA C5 AC [22:13:22]Write to MH i2c: 01 00 00 43 0E 51 [22:13:22]Write i2c OK [22:13:22]MH_I2C_Read... [22:13:22]Read from MH i2c: 01 [22:13:22]MH_I2C_Read... [22:13:22]Read from MH i2c: 01 07 00 [22:13:22]MH_I2C_Read... [22:13:22]Read from MH i2c: 01 07 00 43 0E 00 00 00 00 00 BD 0C 21 [22:13:22]RasterBufferAndPrint [22:13:22]line [22:13:22]line [22:13:22]line [22:13:22]line [22:13:22]line [22:13:22]written 0, free lines is 3268 [22:13:22]MH_Cut [22:13:22]Write to MH i2c: D1 01 00 4A 0E 01 2A [22:13:22]Write i2c OK [22:13:22]MH_I2C_Read... [22:13:22]Read from MH i2c: D1 [22:13:22]MH_I2C_Read... [22:13:22]Read from MH i2c: D1 01 00 [22:13:22]MH_I2C_Read... [22:13:22]Read from MH i2c: D1 01 00 4A 0E 00 29 [22:13:22]Write to MH i2c: 01 00 00 4B 0E 59 [22:13:22]Write i2c OK [22:13:22]MH_I2C_Read... [22:13:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 92 ED 47 00 BD 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 34 37 31 35 10 04 04 00 C1 CD 00 00 F4 03 04 00 1D DF B8 66 B6 04 01 00 00 8D EE A0 A0 22 45 59 00 [22:13:22]CommunicateWithHost err = 0 [22:13:22]CheckOFDResponse [22:13:22]1017 (14) - 77093643461234 [22:13:22]1041 (16) - 0000000000874715 [22:13:22]1040 (4) - 52673 [22:13:22]1012 (4) - 11.08.2024 15:56 [22:13:22]1206 (1) - 0 [22:13:22]OFD Sender: Remove packet 52673 [22:13:22]ProducePacketName [22:13:22]name=ofd_packets/00052673 [22:13:22]NVStorageDeleteData [22:13:23]OFD Sender: No OFD packet to send [22:13:23]*** Cut start [22:13:23]*** Purtial cut [22:13:23]*** Stage 1: CUTSNS_PIN = 1 [22:13:23]Read from MH i2c: 01 [22:13:23]MH_I2C_Read... [22:13:23]*** Stop cut motor [22:13:23]*** Cut end [22:13:23]Read from MH i2c: 01 07 00 [22:13:23]MH_I2C_Read... [22:13:23]Read from MH i2c: 01 07 00 4B 0E 00 00 00 00 00 FF 0F 6E [22:13:23]process_action close_receipt done [22:13:23]requested_data is exist [22:13:23]produce_requested_data [22:13:23]requested_item fm.sn is exist - process it [22:13:23]wFMCommunicate request_size=4 [22:13:23]MH_SAM_APDU [22:13:23]CAPDU: 80 11 00 00 [22:13:23]Write to MH i2c: E2 08 00 4C 0E 80 11 00 00 00 00 00 00 D4 [22:13:24]Write i2c OK [22:13:24]MH_I2C_Read... [22:13:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:13:24]Read from MH i2c: E2 [22:13:24]MH_I2C_Read... [22:13:24]Read from MH i2c: E2 17 00 [22:13:24]MH_I2C_Read... [22:13:24]Read from MH i2c: E2 17 00 4C 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 27 [22:13:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [22:13:24]wFMCommunicate OK [22:13:24]requested_item fd.num is exist - process it [22:13:24]SAM_PROTO_GetFieldsCounters [22:13:24]wFMCommunicate request_size=4 [22:13:24]MH_SAM_APDU [22:13:24]CAPDU: 80 13 00 00 [22:13:24]Write to MH i2c: E2 08 00 4D 0E 80 13 00 00 00 00 00 00 D7 [22:13:24]Write i2c OK [22:13:24]MH_I2C_Read... [22:13:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:13:24]Read from MH i2c: E2 [22:13:24]MH_I2C_Read... [22:13:24]Read from MH i2c: E2 62 00 [22:13:24]MH_I2C_Read... [22:13:24]Read from MH i2c: E2 62 00 4D 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C1 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 40 [22:13:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C1 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 54 00 00 00 5E 04 04 00 54 00 00 00 57 04 04 00 55 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:13:24]wFMCommunicate OK [22:13:24]SAM_PROTO_GetFieldsCounters done [22:13:24]requested_item shift.num is exist - process it [22:13:24]requested_item shift.opened is exist - process it [22:13:24]req_shift_opened [22:13:24]FM_GetShiftState [22:13:24]SAM_PROTO_GetShiftState [22:13:24]wFMCommunicate request_size=4 [22:13:24]MH_SAM_APDU [22:13:24]CAPDU: 80 13 01 00 [22:13:24]Write to MH i2c: E2 08 00 4E 0E 80 13 01 00 00 00 00 00 D9 [22:13:24]Write i2c OK [22:13:24]MH_I2C_Read... [22:13:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:13:24]Read from MH i2c: E2 [22:13:24]MH_I2C_Read... [22:13:24]Read from MH i2c: E2 0E 00 [22:13:24]MH_I2C_Read... [22:13:24]Read from MH i2c: E2 0E 00 4E 0E 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 02 [22:13:24]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [22:13:24]wFMCommunicate OK [22:13:24]SAM_PROTO_GetShiftState done [22:13:24]FM_GetShiftState done [22:13:24]req_shift_opened done [22:13:24]requested_item shift.open_date is exist - process it [22:13:24]req_shift_open_date [22:13:24]req_shift_open_date done [22:13:24]produce_requested_data done [22:13:24]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52673,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [22:13:24]process_action_free close_receipt [22:13:24]json_value_free [22:13:24]json_value_free done [22:13:24]process_json_proto returns [22:13:24]Send response to host [22:13:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52673,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [22:13:24]free response buf [22:13:24]execute_script done [22:13:24]execute_script returns [22:13:24]free content buf [22:13:24]Sock 9.Close socket [22:13:24]Sock 9.Thread stoped [22:13:28]OFD Sender: No OFD packet to send [22:13:33]OFD Sender: No OFD packet to send [22:13:38]OFD Sender: No OFD packet to send [22:13:43]OFD Sender: No OFD packet to send [22:13:48]OFD Sender: No OFD packet to send [22:13:53]OFD Sender: No OFD packet to send [22:13:58]OFD Sender: No OFD packet to send [22:14:03]OFD Sender: No OFD packet to send [22:14:08]OFD Sender: No OFD packet to send [22:14:13]OFD Sender: No OFD packet to send [22:14:18]OFD Sender: No OFD packet to send [22:14:23]OFD Sender: No OFD packet to send [22:14:28]OFD Sender: No OFD packet to send [22:14:33]OFD Sender: No OFD packet to send [22:14:38]OFD Sender: No OFD packet to send [22:14:43]OFD Sender: No OFD packet to send [22:14:48]OFD Sender: No OFD packet to send [22:14:53]OFD Sender: No OFD packet to send [22:14:58]OFD Sender: No OFD packet to send [22:15:03]OFD Sender: No OFD packet to send [22:15:08]OFD Sender: No OFD packet to send [22:15:13]OFD Sender: No OFD packet to send [22:15:18]OFD Sender: No OFD packet to send [22:15:23]OFD Sender: No OFD packet to send [22:15:28]OFD Sender: No OFD packet to send [22:15:33]OFD Sender: No OFD packet to send [22:15:38]OFD Sender: No OFD packet to send [22:15:43]OFD Sender: No OFD packet to send [22:15:48]OFD Sender: No OFD packet to send [22:15:53]OFD Sender: No OFD packet to send [22:15:58]OFD Sender: No OFD packet to send [22:16:03]OFD Sender: No OFD packet to send [22:16:08]OFD Sender: No OFD packet to send [22:16:13]OFD Sender: No OFD packet to send [22:16:18]OFD Sender: No OFD packet to send [22:16:23]OFD Sender: No OFD packet to send [22:16:28]OFD Sender: No OFD packet to send [22:16:33]OFD Sender: No OFD packet to send [22:16:38]OFD Sender: No OFD packet to send [22:16:43]OFD Sender: No OFD packet to send [22:16:48]OFD Sender: No OFD packet to send [22:16:53]OFD Sender: No OFD packet to send [22:16:58]OFD Sender: No OFD packet to send [22:17:03]OFD Sender: No OFD packet to send [22:17:08]OFD Sender: No OFD packet to send [22:17:13]OFD Sender: No OFD packet to send [22:17:18]OFD Sender: No OFD packet to send [22:17:23]OFD Sender: No OFD packet to send [22:17:28]OFD Sender: No OFD packet to send [22:17:33]OFD Sender: No OFD packet to send [22:17:38]OFD Sender: No OFD packet to send [22:17:43]OFD Sender: No OFD packet to send [22:17:48]OFD Sender: No OFD packet to send [22:17:53]OFD Sender: No OFD packet to send [22:17:58]OFD Sender: No OFD packet to send [22:18:03]OFD Sender: No OFD packet to send [22:18:08]OFD Sender: No OFD packet to send [22:18:13]OFD Sender: No OFD packet to send [22:18:18]OFD Sender: No OFD packet to send [22:18:23]OFD Sender: No OFD packet to send [22:18:28]OFD Sender: No OFD packet to send [22:18:33]OFD Sender: No OFD packet to send [22:18:38]OFD Sender: No OFD packet to send [22:18:43]OFD Sender: No OFD packet to send [22:18:48]OFD Sender: No OFD packet to send [22:18:53]OFD Sender: No OFD packet to send [22:18:58]OFD Sender: No OFD packet to send [22:19:03]OFD Sender: No OFD packet to send [22:19:08]OFD Sender: No OFD packet to send [22:19:13]OFD Sender: No OFD packet to send [22:19:18]OFD Sender: No OFD packet to send [22:19:23]OFD Sender: No OFD packet to send [22:19:28]OFD Sender: No OFD packet to send [22:19:33]OFD Sender: No OFD packet to send [22:19:38]OFD Sender: No OFD packet to send [22:19:43]OFD Sender: No OFD packet to send [22:19:48]OFD Sender: No OFD packet to send [22:19:53]OFD Sender: No OFD packet to send [22:19:58]OFD Sender: No OFD packet to send [22:20:03]OFD Sender: No OFD packet to send [22:20:08]OFD Sender: No OFD packet to send [22:20:13]OFD Sender: No OFD packet to send [22:20:18]OFD Sender: No OFD packet to send [22:20:23]OFD Sender: No OFD packet to send [22:20:28]OFD Sender: No OFD packet to send [22:20:33]OFD Sender: No OFD packet to send [22:20:38]OFD Sender: No OFD packet to send [22:20:43]OFD Sender: No OFD packet to send [22:20:48]OFD Sender: No OFD packet to send [22:20:53]OFD Sender: No OFD packet to send [22:20:58]OFD Sender: No OFD packet to send [22:21:03]OFD Sender: No OFD packet to send [22:21:08]OFD Sender: No OFD packet to send [22:21:13]OFD Sender: No OFD packet to send [22:21:18]OFD Sender: No OFD packet to send [22:21:23]OFD Sender: No OFD packet to send [22:21:28]OFD Sender: No OFD packet to send [22:21:33]OFD Sender: No OFD packet to send [22:21:38]OFD Sender: No OFD packet to send [22:21:43]OFD Sender: No OFD packet to send [22:21:48]OFD Sender: No OFD packet to send [22:21:53]OFD Sender: No OFD packet to send [22:21:58]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:54]OFD Sender: No OFD packet to send [22:24:59]OFD Sender: No OFD packet to send [22:25:04]OFD Sender: No OFD packet to send [22:25:09]OFD Sender: No OFD packet to send [22:25:14]OFD Sender: No OFD packet to send [22:25:19]OFD Sender: No OFD packet to send [22:25:24]OFD Sender: No OFD packet to send [22:25:29]OFD Sender: No OFD packet to send [22:25:34]OFD Sender: No OFD packet to send [22:25:39]OFD Sender: No OFD packet to send [22:25:44]OFD Sender: No OFD packet to send [22:25:49]OFD Sender: No OFD packet to send [22:25:54]OFD Sender: No OFD packet to send [22:25:59]OFD Sender: No OFD packet to send [22:26:04]OFD Sender: No OFD packet to send [22:26:09]OFD Sender: No OFD packet to send [22:26:14]OFD Sender: No OFD packet to send [22:26:19]OFD Sender: No OFD packet to send [22:26:24]OFD Sender: No OFD packet to send [22:26:29]OFD Sender: No OFD packet to send [22:26:34]OFD Sender: No OFD packet to send [22:26:39]OFD Sender: No OFD packet to send [22:26:44]OFD Sender: No OFD packet to send [22:26:49]OFD Sender: No OFD packet to send [22:26:54]OFD Sender: No OFD packet to send [22:26:59]OFD Sender: No OFD packet to send [22:27:04]OFD Sender: No OFD packet to send [22:27:09]OFD Sender: No OFD packet to send [22:27:14]OFD Sender: No OFD packet to send [22:27:19]OFD Sender: No OFD packet to send [22:27:24]OFD Sender: No OFD packet to send [22:27:29]OFD Sender: No OFD packet to send [22:27:34]OFD Sender: No OFD packet to send [22:27:39]OFD Sender: No OFD packet to send [22:27:44]OFD Sender: No OFD packet to send [22:27:49]OFD Sender: No OFD packet to send [22:27:54]OFD Sender: No OFD packet to send [22:27:59]OFD Sender: No OFD packet to send [22:28:04]OFD Sender: No OFD packet to send [22:28:09]OFD Sender: No OFD packet to send [22:28:14]OFD Sender: No OFD packet to send [22:28:19]OFD Sender: No OFD packet to send [22:28:24]OFD Sender: No OFD packet to send [22:28:29]OFD Sender: No OFD packet to send [22:28:34]OFD Sender: No OFD packet to send [22:28:39]OFD Sender: No OFD packet to send [22:28:44]OFD Sender: No OFD packet to send [22:28:49]OFD Sender: No OFD packet to send [22:28:54]OFD Sender: No OFD packet to send [22:28:59]OFD Sender: No OFD packet to send [22:29:04]OFD Sender: No OFD packet to send [22:29:09]OFD Sender: No OFD packet to send [22:29:14]OFD Sender: No OFD packet to send [22:29:19]OFD Sender: No OFD packet to send [22:29:24]OFD Sender: No OFD packet to send [22:29:29]OFD Sender: No OFD packet to send [22:29:34]OFD Sender: No OFD packet to send [22:29:39]OFD Sender: No OFD packet to send [22:29:44]OFD Sender: No OFD packet to send [22:29:49]OFD Sender: No OFD packet to send [22:29:54]OFD Sender: No OFD packet to send [22:29:59]OFD Sender: No OFD packet to send [22:30:04]OFD Sender: No OFD packet to send [22:30:09]OFD Sender: No OFD packet to send [22:30:14]OFD Sender: No OFD packet to send [22:30:19]OFD Sender: No OFD packet to send [22:30:24]OFD Sender: No OFD packet to send [22:30:29]OFD Sender: No OFD packet to send [22:30:34]OFD Sender: No OFD packet to send [22:30:39]OFD Sender: No OFD packet to send [22:30:44]OFD Sender: No OFD packet to send [22:30:49]OFD Sender: No OFD packet to send [22:30:54]OFD Sender: No OFD packet to send [22:30:59]OFD Sender: No OFD packet to send [22:31:04]OFD Sender: No OFD packet to send [22:31:09]OFD Sender: No OFD packet to send [22:31:14]OFD Sender: No OFD packet to send [22:31:19]OFD Sender: No OFD packet to send [22:31:24]OFD Sender: No OFD packet to send [22:31:29]OFD Sender: No OFD packet to send [22:31:34]OFD Sender: No OFD packet to send [22:31:39]OFD Sender: No OFD packet to send [22:31:44]OFD Sender: No OFD packet to send [22:31:49]OFD Sender: No OFD packet to send [22:31:54]OFD Sender: No OFD packet to send [22:31:59]OFD Sender: No OFD packet to send [22:32:04]OFD Sender: No OFD packet to send [22:32:09]OFD Sender: No OFD packet to send [22:32:14]OFD Sender: No OFD packet to send [22:32:19]OFD Sender: No OFD packet to send [22:32:24]OFD Sender: No OFD packet to send [22:32:29]OFD Sender: No OFD packet to send [22:32:34]OFD Sender: No OFD packet to send [22:32:39]OFD Sender: No OFD packet to send [22:32:44]OFD Sender: No OFD packet to send [22:32:49]OFD Sender: No OFD packet to send [22:32:54]OFD Sender: No OFD packet to send [22:32:59]OFD Sender: No OFD packet to send [22:33:04]OFD Sender: No OFD packet to send [22:33:09]OFD Sender: No OFD packet to send [22:33:14]OFD Sender: No OFD packet to send [22:33:19]OFD Sender: No OFD packet to send [22:33:24]OFD Sender: No OFD packet to send [22:33:29]OFD Sender: No OFD packet to send [22:33:34]OFD Sender: No OFD packet to send [22:33:39]OFD Sender: No OFD packet to send [22:33:44]OFD Sender: No OFD packet to send [22:33:49]OFD Sender: No OFD packet to send [22:33:54]OFD Sender: No OFD packet to send [22:33:59]OFD Sender: No OFD packet to send [22:34:04]OFD Sender: No OFD packet to send [22:34:09]OFD Sender: No OFD packet to send [22:34:14]OFD Sender: No OFD packet to send [22:34:19]OFD Sender: No OFD packet to send [22:34:24]OFD Sender: No OFD packet to send [22:34:29]OFD Sender: No OFD packet to send [22:34:34]OFD Sender: No OFD packet to send [22:34:39]OFD Sender: No OFD packet to send [22:34:44]OFD Sender: No OFD packet to send [22:34:49]OFD Sender: No OFD packet to send [22:34:54]OFD Sender: No OFD packet to send [22:34:59]OFD Sender: No OFD packet to send [22:35:04]OFD Sender: No OFD packet to send [22:35:09]OFD Sender: No OFD packet to send [22:35:14]OFD Sender: No OFD packet to send [22:35:19]OFD Sender: No OFD packet to send [22:35:24]OFD Sender: No OFD packet to send [22:35:29]OFD Sender: No OFD packet to send [22:35:34]OFD Sender: No OFD packet to send [22:35:39]OFD Sender: No OFD packet to send [22:35:44]OFD Sender: No OFD packet to send [22:35:49]OFD Sender: No OFD packet to send [22:35:54]OFD Sender: No OFD packet to send [22:35:59]OFD Sender: No OFD packet to send [22:36:04]OFD Sender: No OFD packet to send [22:36:05]accept exits with 10 [22:36:05]New connection [22:36:05]New thread 3067149668 created [22:36:05]Thread 3067293028 joined [22:36:05]Waiting for new connection... [22:36:05] Sock 10.Parse request [22:36:05]Sock 10.Check first char [22:36:05]Sock 10.First char is OK [22:36:05]request: POST /json_proto HTTP/1.0 [22:36:05]Method: POST [22:36:05]URL: /json_proto [22:36:05]Method is POST - this is cgi request [22:36:05]url: /json_proto [22:36:05]query_string will be loaded in cgi processing [22:36:05]execute_cgi json_proto POST (null) [22:36:05]execute_cgi path=json_proto method=POST [22:36:05]POST find Content-Length [22:36:05]Host: 172.17.60.7:8080 [22:36:05]Content-Length: 1074 [22:36:05]Content-Type: application/json [22:36:05] [22:36:05]POST finish read [22:36:05]Found Content-Length = 1074 [22:36:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122805", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 148.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:36:05]execute_script... [22:36: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)122805", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 148.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:36:05]POST & json_proto [22:36:05]process_json_proto [22:36:05]json parsed OK: [22:36:05]protocol is kg_v1.0 [22:36:05]action value=close_receipt [22:36:05]process_action close_receipt [22:36:05]cmd_close_receipt [22:36:05]MH_GetDate [22:36:05]Write to MH i2c: F0 00 00 4F 0E 4C [22:36:05]Write i2c OK [22:36:05]MH_I2C_Read... [22:36:05]Read from MH i2c: F0 [22:36:05]MH_I2C_Read... [22:36:05]Read from MH i2c: F0 09 00 [22:36:05]MH_I2C_Read... [22:36:05]Read from MH i2c: F0 09 00 4F 0E 00 D7 3C B9 66 63 9B 67 64 50 [22:36:05]GetLastDocTimeStamp 1723414402 [22:36:05]current date 1723415767 [22:36:05]FM_GetShiftState [22:36:05]SAM_PROTO_GetShiftState [22:36:05]wFMCommunicate request_size=4 [22:36:05]MH_SAM_APDU [22:36:05]CAPDU: 80 13 01 00 [22:36:05]Write to MH i2c: E2 08 00 50 0E 80 13 01 00 00 00 00 00 DB [22:36:05]Write i2c OK [22:36:05]MH_I2C_Read... [22:36:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:36:05]Read from MH i2c: E2 [22:36:05]MH_I2C_Read... [22:36:05]Read from MH i2c: E2 0E 00 [22:36:05]MH_I2C_Read... [22:36:05]Read from MH i2c: E2 0E 00 50 0E 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 04 [22:36:05]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [22:36:05]wFMCommunicate OK [22:36:05]SAM_PROTO_GetShiftState done [22:36:05]FM_GetShiftState done [22:36:05]opened in 1723336186 [22:36:05]opened+sec_in_day 1723422586 [22:36:05]quantity*price = 14000 [22:36:05]sum+1 = 14001 [22:36:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000031750019 Пакет Партнер Нефть 2.000 * 4.00 = 8.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 148.00 НСП 1% : 1.31 НДС 12% : 15.72 Наличными: 0.00 Безнал.: 148.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 85 11.08.2024 22:36 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874715 ФД: 52674 ФПД: 74072580328360 /tax-web-control/client/api/v1/ticket?date=20240811T223608&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52674&fm=74072580328360&tin=02508201610067®Number=0000000000090834&sum=14800 0 [22:36:06]StoreToDocumentArchive [22:36:06]shift 446 fd 52674 [22:36:06]save to /storage/0446/doc_00052674 [22:36:06]save last doc name /storage/0446/doc_00052674 to /storage/kkm_last_doc_name [22:36:06]save OK [22:36:06]Clear old archive folders... [22:36:06]ProcessDocumentItem done err = 0, tmpTLVsize=383 [22:36:06]tlvbuf is B6FAB850 [22:36:06]SAM_PROTO_ClearQueue [22:36:06]wFMCommunicate request_size=4 [22:36:06]MH_SAM_APDU [22:36:06]CAPDU: 80 09 00 00 [22:36:06]Write to MH i2c: E2 08 00 5D 0E 80 09 00 00 00 00 00 00 DD [22:36:06]Write i2c OK [22:36:06]MH_I2C_Read... [22:36:06]Read from MH i2c: E2 [22:36:06]MH_I2C_Read... [22:36:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:36:06]Read from MH i2c: E2 03 00 [22:36:06]MH_I2C_Read... [22:36:06]Read from MH i2c: E2 03 00 5D 0E 00 90 00 DF [22:36:06]RAPDU: 90 00 [22:36:06]wFMCommunicate OK [22:36:06]SAM_PROTO_ClearQueue done [22:36:06]KKMCreateOFDPacket [22:36:06]OFDProtocolAddRootSTLVToBuf [22:36:06]FM_MakeSignedData [22:36:06]FM_MakeSignedData [22:36:06]SAM_PROTO_SignData [22:36:06]wFMCommunicate request_size=4 [22:36:06]MH_SAM_APDU [22:36:06]CAPDU: 80 0D 01 02 [22:36:06]Write to MH i2c: E2 08 00 5E 0E 80 0D 01 02 00 00 00 00 E5 [22:36:06]Write i2c OK [22:36:06]MH_I2C_Read... [22:36:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:36:06]Read from MH i2c: E2 [22:36:06]MH_I2C_Read... [22:36:06]Read from MH i2c: E2 03 00 [22:36:06]MH_I2C_Read... [22:36:06]Read from MH i2c: E2 03 00 5E 0E 00 90 00 E0 [22:36:06]RAPDU: 90 00 [22:36:06]wFMCommunicate OK [22:36:06]wFMCommunicate request_size=255 [22:36:06]MH_SAM_APDU [22:36:06]CAPDU: 80 0D 02 02 FA 03 00 7F 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 D0 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 [22:36:06]Write to MH i2c: E2 02 01 5F 0E 80 0D 02 02 FA 00 03 00 7F 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 D0 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 00 00 B7 [22:36:06]Write i2c OK [22:36:06]MH_I2C_Read... [22:36:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:36:07]Read from MH i2c: E2 [22:36:07]MH_I2C_Read... [22:36:07]Read from MH i2c: E2 03 00 [22:36:07]MH_I2C_Read... [22:36:07]Read from MH i2c: E2 03 00 5F 0E 00 90 00 E1 [22:36:07]RAPDU: 90 00 [22:36:07]wFMCommunicate OK [22:36:07]wFMCommunicate request_size=142 [22:36:07]MH_SAM_APDU [22:36:07]CAPDU: 80 0D 02 02 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 D8 3C B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C2 CD 00 00 35 04 06 00 43 5E 5D D6 8B A8 [22:36:07]Write to MH i2c: E2 91 00 60 0E 80 0D 02 02 89 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 D8 3C B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C2 CD 00 00 35 04 06 00 43 5E 5D D6 8B A8 00 00 36 [22:36:07]Write i2c OK [22:36:07]MH_I2C_Read... [22:36:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:36:07]Read from MH i2c: E2 [22:36:07]MH_I2C_Read... [22:36:07]Read from MH i2c: E2 03 00 [22:36:07]MH_I2C_Read... [22:36:07]Read from MH i2c: E2 03 00 60 0E 00 90 00 E2 [22:36:07]RAPDU: 90 00 [22:36:07]wFMCommunicate OK [22:36:07]wFMCommunicate request_size=4 [22:36:07]MH_SAM_APDU [22:36:07]CAPDU: 80 0D 03 02 [22:36:07]Write to MH i2c: E2 08 00 61 0E 80 0D 03 02 00 00 00 00 EA [22:36:07]Write i2c OK [22:36:07]MH_I2C_Read... [22:36:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:36:07]Read from MH i2c: E2 [22:36:07]MH_I2C_Read... [22:36:07]Read from MH i2c: E2 0B 00 [22:36:07]MH_I2C_Read... [22:36:07]Read from MH i2c: E2 0B 00 61 0E 00 2D 4D F9 0A A1 22 4F A8 90 00 22 [22:36:07]RAPDU: 2D 4D F9 0A A1 22 4F A8 90 00 [22:36:07]wFMCommunicate OK [22:36:07]SAM_PROTO_SignData done [22:36:07]FM_MakeSignedData done [22:36:07]CreateOFDProtocolMessage [22:36:07]wFMCommunicate request_size=4 [22:36:07]MH_SAM_APDU [22:36:07]CAPDU: 80 11 00 00 [22:36:07]Write to MH i2c: E2 08 00 62 0E 80 11 00 00 00 00 00 00 EA [22:36:07]Write i2c OK [22:36:07]MH_I2C_Read... [22:36:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:36:07]Read from MH i2c: E2 [22:36:07]MH_I2C_Read... [22:36:07]Read from MH i2c: E2 17 00 [22:36:07]MH_I2C_Read... [22:36:07]Read from MH i2c: E2 17 00 62 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 3D [22:36:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [22:36:07]wFMCommunicate OK [22:36:07]CreateOFDProtocolMessage done [22:36:07]OFDSenderStorePacket 52674 [22:36:07]StoreOFDPacket docnum=52674 [22:36:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 93 01 00 00 29 E8 8B 01 C1 40 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 D0 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 D8 3C B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C2 CD 00 00 35 04 06 00 43 5E 5D D6 8B A8 2D 4D F9 0A A1 22 4F A8 [22:36:07]CheckFolder [22:36:07]dirname=/storage/ofd_packets [22:36:07]CheckFolder done [22:36:07]ProducePacketName [22:36:07]name=ofd_packets/00052674 [22:36:07]NVStorageSaveData ofd_packets/00052674 [22:36:07]File name is /storage/ofd_packets/00052674 [22:36:07]Write 433 bytes [22:36:07]NVStorageSaveData done [22:36:07]OFDSenderStorePacket done [22:36:07]KKMCreateOFDPacket done [22:36:07]NVStorageSaveData kkm_last_timestamp [22:36:07]File name is /storage/kkm_last_timestamp [22:36:07]Write 4 bytes [22:36:07]NVStorageSaveData done [22:36:07]ExternCall_PrintAddStr [22:36:07]wPrintStart [22:36:07]Write to MH i2c: 01 00 00 63 0E 71 [22:36:07]Write i2c OK [22:36:07]MH_I2C_Read... [22:36:07]OFD Sender: Processing packet 52674 [packets to send 55, broken 54] [22:36:07]ProducePacketName [22:36:07]name=ofd_packets/00052674 [22:36:07]OFD Sender: To server: pG, [22:36:07]CommunicateWithHost lk.salyk.kg:30040 [22:36:07]ConnectInit lk.salyk.kg [22:36:07]Read from MH i2c: 01 [22:36:07]MH_I2C_Read... [22:36:07]Read from MH i2c: 01 07 00 [22:36:07]MH_I2C_Read... [22:36:07]Read from MH i2c: 01 07 00 63 0E 00 00 00 00 00 FF 0F 86 [22:36:07]RasterBufferAndPrint [22:36:07]line Счет N : (3)122805 [22:36:07]line ИНН: 02508201610067 [22:36:07]line Контрольно-Кассовый Чек [22:36:07]line ПРОДАЖА [22:36:07]line Товар: 48743587 [22:36:07]line Сигареты Winston XStyle Silver [22:36:07]line 1.000 * 140.00 [22:36:07]line = 140.00 [22:36:07]line НДС 12% НСП 1% [22:36:07]line > о реализуемом товаре [22:36:07]line Товар: 2000031750019 [22:36:07]line Пакет Партнер Нефть [22:36:07]line 2.000 * 4.00 [22:36:07]line = 8.00 [22:36:07]line НДС 12% НСП 1% [22:36:07]line > о реализуемом товаре [22:36:07]line ИТОГО: 148.00 [22:36:07]line НСП 1% : 1.31 [22:36:07]line НДС 12% : 15.72 [22:36:07]line Наличными: 0.00 [22:36:07]line Безнал.: 148.00 [22:36:07]line Место: АЗС № 54 "Партнер Нефть" [22:36:07]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [22:36:07]line СНО: Общий режим [22:36:07]line Чек 85 11.08.2024 22:36 [22:36:07]line Смена: 446 ФФД: 1.0 [22:36:07]line ЗНМ: 0300000007 [22:36:07]line РНМ: 0000000000090834 [22:36:07]line Версия ККМ: 001 [22:36:07]line Платежная система: Бакай Банк [22:36:07]line ФМ: 0000000000874715 [22:36:07]line ФД: 52674 [22:36:07]line ФПД: 74072580328360 [22:36:07]line /tax-web-control/client/api/v1/ticket?date=20240811T223608&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52674&fm=74072580328360&tin=02508201610067®Number=0000000000090834&sum=14800 [22:36:07]line 0 [22:36:07]written 0, free lines is 4095 [22:36:07]Connected sock=9 [22:36:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 93 01 00 00 29 E8 8B 01 C1 40 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 D0 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 D8 3C B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C2 CD 00 00 35 04 06 00 43 5E 5D D6 8B A8 2D 4D F9 0A A1 22 4F A8 [22:36:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 3E 9A 47 00 C8 9C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C2 CD 00 00 F4 03 04 00 72 E4 B8 66 B6 04 01 00 00 F6 49 EB 5B 43 9B 98 EC [22:36:08]CommunicateWithHost err = 0 [22:36:08]CheckOFDResponse [22:36:08]1017 (14) - 77093643461234 [22:36:08]1041 (16) - 0000000000874715 [22:36:08]1040 (4) - 52674 [22:36:08]1012 (4) - 11.08.2024 16:18 [22:36:08]1206 (1) - 0 [22:36:08]OFD Sender: Remove packet 52674 [22:36:08]ProducePacketName [22:36:08]name=ofd_packets/00052674 [22:36:08]NVStorageDeleteData [22:36:08]Write to MH i2c: 01 00 00 93 0E A1 [22:36:08]Write i2c OK [22:36:08]MH_I2C_Read... [22:36:08]Read from MH i2c: 01 [22:36:08]MH_I2C_Read... [22:36:08]Read from MH i2c: 01 07 00 [22:36:08]MH_I2C_Read... [22:36:08]Read from MH i2c: 01 07 00 93 0E 00 00 00 00 00 6A 0C 1E [22:36:08]RasterBufferAndPrint [22:36:08]line [22:36:08]line [22:36:08]line [22:36:08]line [22:36:08]line [22:36:08]written 0, free lines is 3183 [22:36:08]MH_Cut [22:36:08]Write to MH i2c: D1 01 00 9A 0E 01 7A [22:36:08]Write i2c OK [22:36:08]MH_I2C_Read... [22:36:08]Read from MH i2c: D1 [22:36:08]MH_I2C_Read... [22:36:08]Read from MH i2c: D1 01 00 [22:36:08]MH_I2C_Read... [22:36:08]Read from MH i2c: D1 01 00 9A 0E 00 79 [22:36:08]Write to MH i2c: 01 00 00 9B 0E A9 [22:36:08]Write i2c OK [22:36:08]MH_I2C_Read... [22:36:08]OFD Sender: No OFD packet to send [22:36:09]*** Cut start [22:36:09]*** Purtial cut [22:36:09]*** Stage 1: CUTSNS_PIN = 1 [22:36:09]Read from MH i2c: 01 [22:36:09]MH_I2C_Read... [22:36:09]*** Stop cut motor [22:36:09]*** Cut end [22:36:09]Read from MH i2c: 01 07 00 [22:36:09]MH_I2C_Read... [22:36:09]Read from MH i2c: 01 07 00 9B 0E 00 00 00 00 00 FF 0F BE [22:36:09]process_action close_receipt done [22:36:09]requested_data is exist [22:36:09]produce_requested_data [22:36:09]requested_item fm.sn is exist - process it [22:36:09]wFMCommunicate request_size=4 [22:36:09]MH_SAM_APDU [22:36:09]CAPDU: 80 11 00 00 [22:36:09]Write to MH i2c: E2 08 00 9C 0E 80 11 00 00 00 00 00 00 24 [22:36:09]Write i2c OK [22:36:09]MH_I2C_Read... [22:36:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:36:09]Read from MH i2c: E2 [22:36:09]MH_I2C_Read... [22:36:09]Read from MH i2c: E2 17 00 [22:36:09]MH_I2C_Read... [22:36:09]Read from MH i2c: E2 17 00 9C 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 77 [22:36:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [22:36:09]wFMCommunicate OK [22:36:09]requested_item fd.num is exist - process it [22:36:09]SAM_PROTO_GetFieldsCounters [22:36:09]wFMCommunicate request_size=4 [22:36:09]MH_SAM_APDU [22:36:09]CAPDU: 80 13 00 00 [22:36:09]Write to MH i2c: E2 08 00 9D 0E 80 13 00 00 00 00 00 00 27 [22:36:09]Write i2c OK [22:36:09]MH_I2C_Read... [22:36:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:36:09]Read from MH i2c: E2 [22:36:09]MH_I2C_Read... [22:36:09]Read from MH i2c: E2 62 00 [22:36:09]MH_I2C_Read... [22:36:09]Read from MH i2c: E2 62 00 9D 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C2 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 94 [22:36: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C2 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 55 00 00 00 5E 04 04 00 55 00 00 00 57 04 04 00 56 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:36:09]wFMCommunicate OK [22:36:09]SAM_PROTO_GetFieldsCounters done [22:36:09]requested_item shift.num is exist - process it [22:36:09]requested_item shift.opened is exist - process it [22:36:09]req_shift_opened [22:36:09]FM_GetShiftState [22:36:09]SAM_PROTO_GetShiftState [22:36:09]wFMCommunicate request_size=4 [22:36:09]MH_SAM_APDU [22:36:09]CAPDU: 80 13 01 00 [22:36:09]Write to MH i2c: E2 08 00 9E 0E 80 13 01 00 00 00 00 00 29 [22:36:09]Write i2c OK [22:36:09]MH_I2C_Read... [22:36:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:36:09]Read from MH i2c: E2 [22:36:09]MH_I2C_Read... [22:36:09]Read from MH i2c: E2 0E 00 [22:36:09]MH_I2C_Read... [22:36:09]Read from MH i2c: E2 0E 00 9E 0E 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 52 [22:36:09]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [22:36:09]wFMCommunicate OK [22:36:09]SAM_PROTO_GetShiftState done [22:36:09]FM_GetShiftState done [22:36:09]req_shift_opened done [22:36:09]requested_item shift.open_date is exist - process it [22:36:09]req_shift_open_date [22:36:09]req_shift_open_date done [22:36:09]produce_requested_data done [22:36:09]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52674,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [22:36:09]process_action_free close_receipt [22:36:09]json_value_free [22:36:09]json_value_free done [22:36:09]process_json_proto returns [22:36:09]Send response to host [22:36:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52674,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [22:36:09]free response buf [22:36:09]execute_script done [22:36:09]execute_script returns [22:36:09]free content buf [22:36:09]Sock 10.Close socket [22:36:09]Sock 10.Thread stoped [22:36:13]OFD Sender: No OFD packet to send [22:36:18]OFD Sender: No OFD packet to send [22:36:23]OFD Sender: No OFD packet to send [22:36:28]OFD Sender: No OFD packet to send [22:36:33]OFD Sender: No OFD packet to send [22:36:38]OFD Sender: No OFD packet to send [22:36:43]OFD Sender: No OFD packet to send [22:36:48]OFD Sender: No OFD packet to send [22:36:53]OFD Sender: No OFD packet to send [22:36:58]OFD Sender: No OFD packet to send [22:37:03]OFD Sender: No OFD packet to send [22:37:08]OFD Sender: No OFD packet to send [22:37:13]OFD Sender: No OFD packet to send [22:37:18]OFD Sender: No OFD packet to send [22:37:23]OFD Sender: No OFD packet to send [22:37:28]OFD Sender: No OFD packet to send [22:37:33]OFD Sender: No OFD packet to send [22:37:38]OFD Sender: No OFD packet to send [22:37:43]OFD Sender: No OFD packet to send [22:37:48]OFD Sender: No OFD packet to send [22:37:53]OFD Sender: No OFD packet to send [22:37:58]OFD Sender: No OFD packet to send [22:38:03]OFD Sender: No OFD packet to send [22:38:08]OFD Sender: No OFD packet to send [22:38:13]OFD Sender: No OFD packet to send [22:38:18]OFD Sender: No OFD packet to send [22:38:23]OFD Sender: No OFD packet to send [22:38:28]OFD Sender: No OFD packet to send [22:38:32]accept exits with 7 [22:38:32]New connection [22:38:32]New thread 3067293028 created [22:38:32]Thread 3067149668 joined [22:38:32]Waiting for new connection... [22:38:32] Sock 7.Parse request [22:38:32]Sock 7.Check first char [22:38:32]Sock 7.First char is OK [22:38:32]request: POST /json_proto HTTP/1.0 [22:38:32]Method: POST [22:38:32]URL: /json_proto [22:38:32]Method is POST - this is cgi request [22:38:32]url: /json_proto [22:38:32]query_string will be loaded in cgi processing [22:38:32]execute_cgi json_proto POST (null) [22:38:32]execute_cgi path=json_proto method=POST [22:38:32]POST find Content-Length [22:38:32]Host: 172.17.60.7:8080 [22:38:32]Content-Length: 1919 [22:38:32]Content-Type: application/json [22:38:32] [22:38:32]POST finish read [22:38:32]Found Content-Length = 1919 [22:38:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122806", "tax_sys" : 0, "items" : [ { "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630056952082", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E 120\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630056952563", "name": "\u041F\u0435\u0447 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043C\u043E\u043B\u043E\u0447\u043D\u043E\u0435 120\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032780025", "name": "\u0421\u043E\u0441\u0438\u0441\u043A\u0430 \u0432 \u0442\u0435\u0441\u0442\u0435 DC 110\u0433", "price" : 60.00, "quantity" : 3.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 568.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:38:32]execute_script... [22:38:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122806", "tax_sys" : 0, "items" : [ { "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630056952082", "name": "\u041F\u0435\u0447\u0435\u043D\u044C\u0435 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E 120\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630056952563", "name": "\u041F\u0435\u0447 \u042E\u0431\u0438\u043B\u0435\u0439\u043D\u043E\u0435 \u0422\u043E\u0440\u0436\u0435\u0441\u0442\u0432\u043E \u043C\u043E\u043B\u043E\u0447\u043D\u043E\u0435 120\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000032780025", "name": "\u0421\u043E\u0441\u0438\u0441\u043A\u0430 \u0432 \u0442\u0435\u0441\u0442\u0435 DC 110\u0433", "price" : 60.00, "quantity" : 3.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 568.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:38:32]POST & json_proto [22:38:32]process_json_proto [22:38:32]json parsed OK: [22:38:32]protocol is kg_v1.0 [22:38:32]action value=close_receipt [22:38:32]process_action close_receipt [22:38:32]cmd_close_receipt [22:38:32]MH_GetDate [22:38:32]Write to MH i2c: F0 00 00 9F 0E 9C [22:38:32]Write i2c OK [22:38:32]MH_I2C_Read... [22:38:32]Read from MH i2c: F0 [22:38:32]MH_I2C_Read... [22:38:32]Read from MH i2c: F0 09 00 [22:38:32]MH_I2C_Read... [22:38:32]Read from MH i2c: F0 09 00 9F 0E 00 6A 3D B9 66 63 9B 67 64 34 [22:38:32]GetLastDocTimeStamp 1723415768 [22:38:32]current date 1723415914 [22:38:32]FM_GetShiftState [22:38:32]SAM_PROTO_GetShiftState [22:38:32]wFMCommunicate request_size=4 [22:38:32]MH_SAM_APDU [22:38:32]CAPDU: 80 13 01 00 [22:38:32]Write to MH i2c: E2 08 00 A0 0E 80 13 01 00 00 00 00 00 2B [22:38:32]Write i2c OK [22:38:32]MH_I2C_Read... [22:38:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:38:32]Read from MH i2c: E2 [22:38:32]MH_I2C_Read... [22:38:32]Read from MH i2c: E2 0E 00 [22:38:32]MH_I2C_Read... [22:38:32]Read from MH i2c: E2 0E 00 A0 0E 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 54 [22:38:32]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [22:38:32]wFMCommunicate OK [22:38:32]SAM_PROTO_GetShiftState done [22:38:32]FM_GetShiftState done [22:38:32]opened in 1723336186 [22:38:32]opened+sec_in_day 1723422586 [22:38:32]quantity*price = 18000 [22:38:32]sum+1 = 18001 [22:38:32]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870022003305 Напиток Gorilla эн нат ж/б 0,5/0,45л 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4630056952082 Печенье Юбилейное Торжество 120г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4630056952563 Печ Юбилейное Торжество молочное 120г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000032780025 Сосиска в тесте DC 110г 3.000 * 60.00 = 180.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 568.00 НСП 1% : 5.02 НДС 12% : 60.30 Наличными: 568.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 86 11.08.2024 22:38 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52675 ФПД: 14925404978359 /tax-web-control/client/api/v1/ticket?date=20240811T223834&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52675&fm=14925404978359&tin=02508201610067®Number=0000000000090834&sum=56800 0 [22:38:33]StoreToDocumentArchive [22:38:33]shift 446 fd 52675 [22:38:33]save to /storage/0446/doc_00052675 [22:38:33]save last doc name /storage/0446/doc_00052675 to /storage/kkm_last_doc_name [22:38:33]save OK [22:38:33]Clear old archive folders... [22:38:33]ProcessDocumentItem done err = 0, tmpTLVsize=795 [22:38:33]tlvbuf is 0126E180 [22:38:33]SAM_PROTO_ClearQueue [22:38:33]wFMCommunicate request_size=4 [22:38:33]MH_SAM_APDU [22:38:33]CAPDU: 80 09 00 00 [22:38:33]Write to MH i2c: E2 08 00 AD 0E 80 09 00 00 00 00 00 00 2D [22:38:33]Write i2c OK [22:38:33]MH_I2C_Read... [22:38:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:38:33]Read from MH i2c: E2 [22:38:33]MH_I2C_Read... [22:38:33]Read from MH i2c: E2 03 00 [22:38:33]MH_I2C_Read... [22:38:33]Read from MH i2c: E2 03 00 AD 0E 00 90 00 2F [22:38:33]RAPDU: 90 00 [22:38:33]wFMCommunicate OK [22:38:33]SAM_PROTO_ClearQueue done [22:38:33]KKMCreateOFDPacket [22:38:33]OFDProtocolAddRootSTLVToBuf [22:38:33]FM_MakeSignedData [22:38:33]FM_MakeSignedData [22:38:33]SAM_PROTO_SignData [22:38:33]wFMCommunicate request_size=4 [22:38:33]MH_SAM_APDU [22:38:33]CAPDU: 80 0D 01 02 [22:38:33]Write to MH i2c: E2 08 00 AE 0E 80 0D 01 02 00 00 00 00 35 [22:38:33]Write i2c OK [22:38:33]MH_I2C_Read... [22:38:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:38:33]Read from MH i2c: E2 [22:38:33]MH_I2C_Read... [22:38:33]Read from MH i2c: E2 03 00 [22:38:33]MH_I2C_Read... [22:38:33]Read from MH i2c: E2 03 00 AE 0E 00 90 00 30 [22:38:33]RAPDU: 90 00 [22:38:33]wFMCommunicate OK [22:38:33]wFMCommunicate request_size=255 [22:38:33]MH_SAM_APDU [22:38:33]CAPDU: 80 0D 02 02 FA 03 00 1B 03 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 [22:38:33]Write to MH i2c: E2 02 01 AF 0E 80 0D 02 02 FA 00 03 00 1B 03 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 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 00 00 E4 [22:38:34]OFD Sender: No OFD packet to send [22:38:34]Write i2c OK [22:38:34]MH_I2C_Read... [22:38:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:38:34]Read from MH i2c: E2 [22:38:34]MH_I2C_Read... [22:38:34]Read from MH i2c: E2 03 00 [22:38:34]MH_I2C_Read... [22:38:34]Read from MH i2c: E2 03 00 AF 0E 00 90 00 31 [22:38:34]RAPDU: 90 00 [22:38:34]wFMCommunicate OK [22:38:34]wFMCommunicate request_size=255 [22:38:34]MH_SAM_APDU [22:38:34]CAPDU: 80 0D 02 02 FA 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 30 38 32 06 04 3A 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 35 36 33 06 04 43 00 D0 9F D0 B5 D1 87 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 [22:38:34]Write to MH i2c: E2 02 01 B0 0E 80 0D 02 02 FA 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 30 38 32 06 04 3A 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 35 36 33 06 04 43 00 D0 9F D0 B5 D1 87 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 00 00 63 [22:38:34]Write i2c OK [22:38:34]MH_I2C_Read... [22:38:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:38:34]Read from MH i2c: E2 [22:38:34]MH_I2C_Read... [22:38:34]Read from MH i2c: E2 03 00 [22:38:34]MH_I2C_Read... [22:38:34]Read from MH i2c: E2 03 00 B0 0E 00 90 00 32 [22:38:34]RAPDU: 90 00 [22:38:34]wFMCommunicate OK [22:38:34]wFMCommunicate request_size=255 [22:38:34]MH_SAM_APDU [22:38:34]CAPDU: 80 0D 02 02 FA 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 DD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 17 00 00 00 00 07 04 06 00 E0 DD 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 6A 3D B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [22:38:34]Write to MH i2c: E2 02 01 B1 0E 80 0D 02 02 FA 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 DD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 17 00 00 00 00 07 04 06 00 E0 DD 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 6A 3D B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 4B [22:38:34]Write i2c OK [22:38:34]MH_I2C_Read... [22:38:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:38:34]Read from MH i2c: E2 [22:38:34]MH_I2C_Read... [22:38:34]Read from MH i2c: E2 03 00 [22:38:34]MH_I2C_Read... [22:38:34]Read from MH i2c: E2 03 00 B1 0E 00 90 00 33 [22:38:34]RAPDU: 90 00 [22:38:34]wFMCommunicate OK [22:38:34]wFMCommunicate request_size=54 [22:38:34]MH_SAM_APDU [22:38:34]CAPDU: 80 0D 02 02 31 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C3 CD 00 00 35 04 06 00 0D 93 17 76 3C B7 [22:38:34]Write to MH i2c: E2 39 00 B2 0E 80 0D 02 02 31 00 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C3 CD 00 00 35 04 06 00 0D 93 17 76 3C B7 00 00 10 [22:38:34]Write i2c OK [22:38:34]MH_I2C_Read... [22:38:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:38:35]Read from MH i2c: E2 [22:38:35]MH_I2C_Read... [22:38:35]Read from MH i2c: E2 03 00 [22:38:35]MH_I2C_Read... [22:38:35]Read from MH i2c: E2 03 00 B2 0E 00 90 00 34 [22:38:35]RAPDU: 90 00 [22:38:35]wFMCommunicate OK [22:38:35]wFMCommunicate request_size=4 [22:38:35]MH_SAM_APDU [22:38:35]CAPDU: 80 0D 03 02 [22:38:35]Write to MH i2c: E2 08 00 B3 0E 80 0D 03 02 00 00 00 00 3C [22:38:35]Write i2c OK [22:38:35]MH_I2C_Read... [22:38:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:38:35]Read from MH i2c: E2 [22:38:35]MH_I2C_Read... [22:38:35]Read from MH i2c: E2 0B 00 [22:38:35]MH_I2C_Read... [22:38:35]Read from MH i2c: E2 0B 00 B3 0E 00 86 88 37 10 27 C8 85 39 90 00 3F [22:38:35]RAPDU: 86 88 37 10 27 C8 85 39 90 00 [22:38:35]wFMCommunicate OK [22:38:35]SAM_PROTO_SignData done [22:38:35]FM_MakeSignedData done [22:38:35]CreateOFDProtocolMessage [22:38:35]wFMCommunicate request_size=4 [22:38:35]MH_SAM_APDU [22:38:35]CAPDU: 80 11 00 00 [22:38:35]Write to MH i2c: E2 08 00 B4 0E 80 11 00 00 00 00 00 00 3C [22:38:35]Write i2c OK [22:38:35]MH_I2C_Read... [22:38:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:38:35]Read from MH i2c: E2 [22:38:35]MH_I2C_Read... [22:38:35]Read from MH i2c: E2 17 00 [22:38:35]MH_I2C_Read... [22:38:35]Read from MH i2c: E2 17 00 B4 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 8F [22:38:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [22:38:35]wFMCommunicate OK [22:38:35]CreateOFDProtocolMessage done [22:38:35]OFDSenderStorePacket 52675 [22:38:35]StoreOFDPacket docnum=52675 [22:38:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2F 03 00 00 8C 0F 27 03 0F B1 5A 03 01 00 03 00 1B 03 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 30 38 32 06 04 3A 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 35 36 33 06 04 43 00 D0 9F D0 B5 D1 87 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 DD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 17 00 00 00 00 07 04 06 00 E0 DD 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 6A 3D B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C3 CD 00 00 35 04 06 00 0D 93 17 76 3C B7 86 88 37 10 27 C8 85 39 [22:38:35]CheckFolder [22:38:35]dirname=/storage/ofd_packets [22:38:35]CheckFolder done [22:38:35]ProducePacketName [22:38:35]name=ofd_packets/00052675 [22:38:35]NVStorageSaveData ofd_packets/00052675 [22:38:35]File name is /storage/ofd_packets/00052675 [22:38:35]Write 845 bytes [22:38:35]NVStorageSaveData done [22:38:35]OFDSenderStorePacket done [22:38:35]KKMCreateOFDPacket done [22:38:35]NVStorageSaveData kkm_last_timestamp [22:38:35]File name is /storage/kkm_last_timestamp [22:38:35]Write 4 bytes [22:38:35]NVStorageSaveData done [22:38:35]ExternCall_PrintAddStr [22:38:35]wPrintStart [22:38:35]Write to MH i2c: 01 00 00 B5 0E C3 [22:38:35]Write i2c OK [22:38:35]MH_I2C_Read... [22:38:35]Read from MH i2c: 01 [22:38:35]MH_I2C_Read... [22:38:35]Read from MH i2c: 01 07 00 [22:38:35]MH_I2C_Read... [22:38:35]Read from MH i2c: 01 07 00 B5 0E 00 00 00 00 00 FF 0F D8 [22:38:35]RasterBufferAndPrint [22:38:35]line Счет N : (3)122806 [22:38:35]line ИНН: 02508201610067 [22:38:35]line Контрольно-Кассовый Чек [22:38:35]line ПРОДАЖА [22:38:35]line Товар: 4870022003312 [22:38:35]line Gorilla эн нап манго-кокос 0,45 ж/б [22:38:35]line 2.000 * 90.00 [22:38:35]line = 180.00 [22:38:35]line НДС 12% НСП 1% [22:38:35]line > о реализуемом товаре [22:38:35]line Товар: 4870022003305 [22:38:35]line Напиток Gorilla эн нат ж/б 0,5/0,45л [22:38:35]line 1.000 * 90.00 [22:38:35]line = 90.00 [22:38:35]line НДС 12% НСП 1% [22:38:35]line > о реализуемом товаре [22:38:35]line Товар: 4630056952082 [22:38:35]line Печенье Юбилейное Торжество 120г [22:38:35]line 1.000 * 59.00 [22:38:35]line = 59.00 [22:38:35]line НДС 12% НСП 1% [22:38:35]line > о реализуемом товаре [22:38:35]line Товар: 4630056952563 [22:38:35]line Печ Юбилейное Торжество молочное 120г [22:38:35]line 1.000 * 59.00 [22:38:35]line = 59.00 [22:38:35]line НДС 12% НСП 1% [22:38:35]line > о реализуемом товаре [22:38:35]line Товар: 2000032780025 [22:38:35]line Сосиска в тесте DC 110г [22:38:35]line 3.000 * 60.00 [22:38:35]line = 180.00 [22:38:35]line НДС 12% НСП 1% [22:38:35]line > о реализуемом товаре [22:38:35]line ИТОГО: 568.00 [22:38:35]line НСП 1% : 5.02 [22:38:35]line НДС 12% : 60.30 [22:38:35]line Наличными: 568.00 [22:38:35]line Безнал.: 0.00 [22:38:35]line Место: АЗС № 54 "Партнер Нефть" [22:38:35]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [22:38:35]line СНО: Общий режим [22:38:35]line Чек 86 11.08.2024 22:38 [22:38:35]line Смена: 446 ФФД: 1.0 [22:38:35]line ЗНМ: 0300000007 [22:38:35]line РНМ: 0000000000090834 [22:38:35]line Версия ККМ: 001 [22:38:35]line ФМ: 0000000000874715 [22:38:35]line ФД: 52675 [22:38:35]line ФПД: 14925404978359 [22:38:35]line /tax-web-control/client/api/v1/ticket?date=20240811T223834&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52675&fm=14925404978359&tin=02508201610067®Number=0000000000090834&sum=56800 [22:38:35]line 0 [22:38:35]OFD Sender: Processing packet 52675 [packets to send 55, broken 54] [22:38:35]ProducePacketName [22:38:35]name=ofd_packets/00052675 [22:38:35]OFD Sender: To server: pG, [22:38:35]CommunicateWithHost lk.salyk.kg:30040 [22:38:35]ConnectInit lk.salyk.kg [22:38:35]written 0, free lines is 4095 [22:38:35]Connected sock=10 [22:38:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2F 03 00 00 8C 0F 27 03 0F B1 5A 03 01 00 03 00 1B 03 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 30 38 32 06 04 3A 00 D0 9F D0 B5 D1 87 D0 B5 D0 BD D1 8C D0 B5 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 87 00 8A 04 0D 00 34 36 33 30 30 35 36 39 35 32 35 36 33 06 04 43 00 D0 9F D0 B5 D1 87 20 D0 AE D0 B1 D0 B8 D0 BB D0 B5 D0 B9 D0 BD D0 BE D0 B5 20 D0 A2 D0 BE D1 80 D0 B6 D0 B5 D1 81 D1 82 D0 B2 D0 BE 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D0 BE D0 B5 20 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 32 30 30 30 30 33 32 37 38 30 30 32 35 06 04 25 00 D0 A1 D0 BE D1 81 D0 B8 D1 81 D0 BA D0 B0 20 D0 B2 20 D1 82 D0 B5 D1 81 D1 82 D0 B5 20 44 43 20 31 31 30 D0 B3 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 DD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8E 17 00 00 00 00 07 04 06 00 E0 DD 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 6A 3D B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C3 CD 00 00 35 04 06 00 0D 93 17 76 3C B7 86 88 37 10 27 C8 85 39 [22:38:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 DB 4A 47 00 24 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 34 37 31 35 10 04 04 00 C3 CD 00 00 F4 03 04 00 06 E5 B8 66 B6 04 01 00 00 ED 91 5C 63 E1 14 86 68 [22:38:35]CommunicateWithHost err = 0 [22:38:35]CheckOFDResponse [22:38:35]1017 (14) - 77093643461234 [22:38:35]1041 (16) - 0000000000874715 [22:38:35]1040 (4) - 52675 [22:38:35]1012 (4) - 11.08.2024 16:21 [22:38:35]1206 (1) - 0 [22:38:35]OFD Sender: Remove packet 52675 [22:38:35]ProducePacketName [22:38:35]name=ofd_packets/00052675 [22:38:35]NVStorageDeleteData [22:38:36]Write to MH i2c: 01 00 00 F8 0E 06 [22:38:36]Write i2c OK [22:38:36]MH_I2C_Read... [22:38:36]Read from MH i2c: 01 [22:38:36]MH_I2C_Read... [22:38:36]Read from MH i2c: 01 07 00 [22:38:36]MH_I2C_Read... [22:38:36]Read from MH i2c: 01 07 00 F8 0E 00 00 00 00 00 37 0B 4F [22:38:36]RasterBufferAndPrint [22:38:36]line [22:38:36]line [22:38:36]line [22:38:36]line [22:38:36]line [22:38:36]written 0, free lines is 2881 [22:38:36]MH_Cut [22:38:36]Write to MH i2c: D1 01 00 FF 0E 01 DF [22:38:36]Write i2c OK [22:38:36]MH_I2C_Read... [22:38:36]Read from MH i2c: D1 [22:38:36]MH_I2C_Read... [22:38:36]Read from MH i2c: D1 01 00 [22:38:36]MH_I2C_Read... [22:38:36]Read from MH i2c: D1 01 00 FF 0E 00 DE [22:38:36]Write to MH i2c: 01 00 00 00 0F 0F [22:38:36]Write i2c OK [22:38:36]MH_I2C_Read... [22:38:36]OFD Sender: No OFD packet to send [22:38:37]*** Cut start [22:38:37]*** Purtial cut [22:38:37]*** Stage 1: CUTSNS_PIN = 1 [22:38:37]Read from MH i2c: 01 [22:38:37]MH_I2C_Read... [22:38:37]*** Stop cut motor [22:38:37]*** Cut end [22:38:37]Read from MH i2c: 01 07 00 [22:38:37]MH_I2C_Read... [22:38:37]Read from MH i2c: 01 07 00 00 0F 00 00 00 00 00 FF 0F 24 [22:38:37]process_action close_receipt done [22:38:37]requested_data is exist [22:38:37]produce_requested_data [22:38:37]requested_item fm.sn is exist - process it [22:38:37]wFMCommunicate request_size=4 [22:38:37]MH_SAM_APDU [22:38:37]CAPDU: 80 11 00 00 [22:38:37]Write to MH i2c: E2 08 00 01 0F 80 11 00 00 00 00 00 00 8A [22:38:37]Write i2c OK [22:38:37]MH_I2C_Read... [22:38:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:38:37]Read from MH i2c: E2 [22:38:37]MH_I2C_Read... [22:38:37]Read from MH i2c: E2 17 00 [22:38:37]MH_I2C_Read... [22:38:37]Read from MH i2c: E2 17 00 01 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 DD [22:38:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [22:38:37]wFMCommunicate OK [22:38:37]requested_item fd.num is exist - process it [22:38:37]SAM_PROTO_GetFieldsCounters [22:38:37]wFMCommunicate request_size=4 [22:38:37]MH_SAM_APDU [22:38:37]CAPDU: 80 13 00 00 [22:38:37]Write to MH i2c: E2 08 00 02 0F 80 13 00 00 00 00 00 00 8D [22:38:37]Write i2c OK [22:38:37]MH_I2C_Read... [22:38:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:38:37]Read from MH i2c: E2 [22:38:37]MH_I2C_Read... [22:38:37]Read from MH i2c: E2 62 00 [22:38:37]MH_I2C_Read... [22:38:37]Read from MH i2c: E2 62 00 02 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C3 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 FE [22:38:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C3 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 56 00 00 00 5E 04 04 00 56 00 00 00 57 04 04 00 57 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:38:37]wFMCommunicate OK [22:38:37]SAM_PROTO_GetFieldsCounters done [22:38:37]requested_item shift.num is exist - process it [22:38:37]requested_item shift.opened is exist - process it [22:38:37]req_shift_opened [22:38:37]FM_GetShiftState [22:38:37]SAM_PROTO_GetShiftState [22:38:37]wFMCommunicate request_size=4 [22:38:37]MH_SAM_APDU [22:38:37]CAPDU: 80 13 01 00 [22:38:37]Write to MH i2c: E2 08 00 03 0F 80 13 01 00 00 00 00 00 8F [22:38:37]Write i2c OK [22:38:37]MH_I2C_Read... [22:38:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:38:37]Read from MH i2c: E2 [22:38:37]MH_I2C_Read... [22:38:37]Read from MH i2c: E2 0E 00 [22:38:37]MH_I2C_Read... [22:38:37]Read from MH i2c: E2 0E 00 03 0F 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 B8 [22:38:37]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [22:38:37]wFMCommunicate OK [22:38:37]SAM_PROTO_GetShiftState done [22:38:37]FM_GetShiftState done [22:38:37]req_shift_opened done [22:38:37]requested_item shift.open_date is exist - process it [22:38:37]req_shift_open_date [22:38:37]req_shift_open_date done [22:38:37]produce_requested_data done [22:38:37]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52675,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [22:38:37]process_action_free close_receipt [22:38:37]json_value_free [22:38:37]json_value_free done [22:38:37]process_json_proto returns [22:38:37]Send response to host [22:38:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52675,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [22:38:37]free response buf [22:38:37]execute_script done [22:38:37]execute_script returns [22:38:37]free content buf [22:38:37]Sock 7.Close socket [22:38:37]Sock 7.Thread stoped [22:38:41]OFD Sender: No OFD packet to send [22:38:46]OFD Sender: No OFD packet to send [22:38:51]OFD Sender: No OFD packet to send [22:38:56]OFD Sender: No OFD packet to send [22:39:01]OFD Sender: No OFD packet to send [22:39:06]OFD Sender: No OFD packet to send [22:39:11]OFD Sender: No OFD packet to send [22:39:16]OFD Sender: No OFD packet to send [22:39:21]OFD Sender: No OFD packet to send [22:39:26]OFD Sender: No OFD packet to send [22:39:31]OFD Sender: No OFD packet to send [22:39:36]OFD Sender: No OFD packet to send [22:39:41]OFD Sender: No OFD packet to send [22:39:46]OFD Sender: No OFD packet to send [22:39:51]OFD Sender: No OFD packet to send [22:39:56]OFD Sender: No OFD packet to send [22:40:01]OFD Sender: No OFD packet to send [22:40:06]OFD Sender: No OFD packet to send [22:40:11]OFD Sender: No OFD packet to send [22:40:16]OFD Sender: No OFD packet to send [22:40:21]OFD Sender: No OFD packet to send [22:40:26]OFD Sender: No OFD packet to send [22:40:31]OFD Sender: No OFD packet to send [22:40:36]OFD Sender: No OFD packet to send [22:40:41]OFD Sender: No OFD packet to send [22:40:46]OFD Sender: No OFD packet to send [22:40:51]OFD Sender: No OFD packet to send [22:40:56]OFD Sender: No OFD packet to send [22:41:01]OFD Sender: No OFD packet to send [22:41:06]OFD Sender: No OFD packet to send [22:41:11]OFD Sender: No OFD packet to send [22:41:16]OFD Sender: No OFD packet to send [22:41:21]OFD Sender: No OFD packet to send [22:41:26]OFD Sender: No OFD packet to send [22:41:31]OFD Sender: No OFD packet to send [22:41:36]OFD Sender: No OFD packet to send [22:41:41]OFD Sender: No OFD packet to send [22:41:46]OFD Sender: No OFD packet to send [22:41:51]OFD Sender: No OFD packet to send [22:41:56]OFD Sender: No OFD packet to send [22:42:01]OFD Sender: No OFD packet to send [22:42:06]accept exits with 9 [22:42:06]New connection [22:42:06]New thread 3067149668 created [22:42:06]Thread 3067293028 joined [22:42:06]Waiting for new connection... [22:42:06] Sock 9.Parse request [22:42:06]Sock 9.Check first char [22:42:06]Sock 9.First char is OK [22:42:06]request: POST /json_proto HTTP/1.0 [22:42:06]Method: POST [22:42:06]URL: /json_proto [22:42:06]Method is POST - this is cgi request [22:42:06]url: /json_proto [22:42:06]query_string will be loaded in cgi processing [22:42:06]execute_cgi json_proto POST (null) [22:42:06]execute_cgi path=json_proto method=POST [22:42:06]POST find Content-Length [22:42:06]Host: 172.17.60.7:8080 [22:42:06]Content-Length: 1022 [22:42:06]Content-Type: application/json [22:42:06] [22:42:06]POST finish read [22:42:06]Found Content-Length = 1022 [22:42:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122807", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 280.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:42:06]execute_script... [22:42:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122807", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 280.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:42:06]POST & json_proto [22:42:06]process_json_proto [22:42:06]json parsed OK: [22:42:06]protocol is kg_v1.0 [22:42:06]action value=close_receipt [22:42:06]process_action close_receipt [22:42:06]cmd_close_receipt [22:42:06]MH_GetDate [22:42:06]Write to MH i2c: F0 00 00 04 0F 02 [22:42:06]Write i2c OK [22:42:06]MH_I2C_Read... [22:42:06]Read from MH i2c: F0 [22:42:06]MH_I2C_Read... [22:42:06]Read from MH i2c: F0 09 00 [22:42:06]MH_I2C_Read... [22:42:06]Read from MH i2c: F0 09 00 04 0F 00 40 3E B9 66 63 9B 67 64 71 [22:42:06]GetLastDocTimeStamp 1723415914 [22:42:06]current date 1723416128 [22:42:06]FM_GetShiftState [22:42:06]SAM_PROTO_GetShiftState [22:42:06]wFMCommunicate request_size=4 [22:42:06]MH_SAM_APDU [22:42:06]CAPDU: 80 13 01 00 [22:42:06]Write to MH i2c: E2 08 00 05 0F 80 13 01 00 00 00 00 00 91 [22:42:06]Write i2c OK [22:42:06]MH_I2C_Read... [22:42:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:42:06]Read from MH i2c: E2 [22:42:06]MH_I2C_Read... [22:42:06]Read from MH i2c: E2 0E 00 [22:42:06]MH_I2C_Read... [22:42:06]Read from MH i2c: E2 0E 00 05 0F 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 BA [22:42:06]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [22:42:06]wFMCommunicate OK [22:42:06]SAM_PROTO_GetShiftState done [22:42:06]FM_GetShiftState done [22:42:06]opened in 1723336186 [22:42:06]opened+sec_in_day 1723422586 [22:42:06]quantity*price = 14000 [22:42:06]sum+1 = 14001 [22:42:06]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 47802995 Сигареты Winston XS Silver 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 280.00 НСП 1% : 2.48 НДС 12% : 29.74 Наличными: 0.00 Безнал.: 280.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 87 11.08.2024 22:42 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52676 ФПД: 279016550926877 /tax-web-control/client/api/v1/ticket?date=20240811T224208&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52676&fm=279016550926877&tin=02508201610067®Number=0000000000090834&sum=28000 0 [22:42:07]StoreToDocumentArchive [22:42:07]shift 446 fd 52676 [22:42:07]save to /storage/0446/doc_00052676 [22:42:07]save last doc name /storage/0446/doc_00052676 to /storage/kkm_last_doc_name [22:42:07]save OK [22:42:07]Clear old archive folders... [22:42:07]ProcessDocumentItem done err = 0, tmpTLVsize=374 [22:42:07]tlvbuf is 012B5F10 [22:42:07]SAM_PROTO_ClearQueue [22:42:07]wFMCommunicate request_size=4 [22:42:07]MH_SAM_APDU [22:42:07]CAPDU: 80 09 00 00 [22:42:07]Write to MH i2c: E2 08 00 12 0F 80 09 00 00 00 00 00 00 93 [22:42:07]Write i2c OK [22:42:07]MH_I2C_Read... [22:42:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:42:07]Read from MH i2c: E2 [22:42:07]MH_I2C_Read... [22:42:07]Read from MH i2c: E2 03 00 [22:42:07]MH_I2C_Read... [22:42:07]Read from MH i2c: E2 03 00 12 0F 00 90 00 95 [22:42:07]RAPDU: 90 00 [22:42:07]wFMCommunicate OK [22:42:07]SAM_PROTO_ClearQueue done [22:42:07]KKMCreateOFDPacket [22:42:07]OFDProtocolAddRootSTLVToBuf [22:42:07]FM_MakeSignedData [22:42:07]FM_MakeSignedData [22:42:07]SAM_PROTO_SignData [22:42:07]wFMCommunicate request_size=4 [22:42:07]MH_SAM_APDU [22:42:07]CAPDU: 80 0D 01 02 [22:42:07]Write to MH i2c: E2 08 00 13 0F 80 0D 01 02 00 00 00 00 9B [22:42:07]Write i2c OK [22:42:07]MH_I2C_Read... [22:42:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:42:07]Read from MH i2c: E2 [22:42:07]MH_I2C_Read... [22:42:07]Read from MH i2c: E2 03 00 [22:42:07]MH_I2C_Read... [22:42:07]Read from MH i2c: E2 03 00 13 0F 00 90 00 96 [22:42:07]RAPDU: 90 00 [22:42:07]wFMCommunicate OK [22:42:07]wFMCommunicate request_size=255 [22:42:07]MH_SAM_APDU [22:42:07]CAPDU: 80 0D 02 02 FA 03 00 76 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 [22:42:07]Write to MH i2c: E2 02 01 14 0F 80 0D 02 02 FA 00 03 00 76 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 00 00 43 [22:42:07]Write i2c OK [22:42:07]MH_I2C_Read... [22:42:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:42:07]Read from MH i2c: E2 [22:42:07]MH_I2C_Read... [22:42:07]Read from MH i2c: E2 03 00 [22:42:07]MH_I2C_Read... [22:42:07]Read from MH i2c: E2 03 00 14 0F 00 90 00 97 [22:42:07]RAPDU: 90 00 [22:42:07]wFMCommunicate OK [22:42:07]wFMCommunicate request_size=133 [22:42:07]MH_SAM_APDU [22:42:07]CAPDU: 80 0D 02 02 80 F2 03 01 00 01 F3 03 06 00 9E 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 6D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 40 3E B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C4 CD 00 00 35 04 06 00 FD C3 9A 67 8A 1D [22:42:07]Write to MH i2c: E2 88 00 15 0F 80 0D 02 02 80 00 F2 03 01 00 01 F3 03 06 00 9E 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 6D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 40 3E B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C4 CD 00 00 35 04 06 00 FD C3 9A 67 8A 1D 00 00 EC [22:42:07]Write i2c OK [22:42:07]MH_I2C_Read... [22:42:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:42:07]Read from MH i2c: E2 [22:42:07]MH_I2C_Read... [22:42:07]Read from MH i2c: E2 03 00 [22:42:07]MH_I2C_Read... [22:42:07]Read from MH i2c: E2 03 00 15 0F 00 90 00 98 [22:42:07]RAPDU: 90 00 [22:42:07]wFMCommunicate OK [22:42:07]wFMCommunicate request_size=4 [22:42:07]MH_SAM_APDU [22:42:07]CAPDU: 80 0D 03 02 [22:42:07]Write to MH i2c: E2 08 00 16 0F 80 0D 03 02 00 00 00 00 A0 [22:42:07]Write i2c OK [22:42:07]MH_I2C_Read... [22:42:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:42:08]Read from MH i2c: E2 [22:42:08]MH_I2C_Read... [22:42:08]Read from MH i2c: E2 0B 00 [22:42:08]MH_I2C_Read... [22:42:08]Read from MH i2c: E2 0B 00 16 0F 00 16 17 63 2C CE 83 59 88 90 00 8F [22:42:08]RAPDU: 16 17 63 2C CE 83 59 88 90 00 [22:42:08]wFMCommunicate OK [22:42:08]SAM_PROTO_SignData done [22:42:08]FM_MakeSignedData done [22:42:08]CreateOFDProtocolMessage [22:42:08]wFMCommunicate request_size=4 [22:42:08]MH_SAM_APDU [22:42:08]CAPDU: 80 11 00 00 [22:42:08]Write to MH i2c: E2 08 00 17 0F 80 11 00 00 00 00 00 00 A0 [22:42:08]Write i2c OK [22:42:08]MH_I2C_Read... [22:42:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:42:08]Read from MH i2c: E2 [22:42:08]MH_I2C_Read... [22:42:08]Read from MH i2c: E2 17 00 [22:42:08]MH_I2C_Read... [22:42:08]Read from MH i2c: E2 17 00 17 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 F3 [22:42:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [22:42:08]wFMCommunicate OK [22:42:08]CreateOFDProtocolMessage done [22:42:08]OFDSenderStorePacket 52676 [22:42:08]StoreOFDPacket docnum=52676 [22:42:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 8A 01 00 00 87 4D 82 01 AB 4B 5A 03 01 00 03 00 76 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 6D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 40 3E B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C4 CD 00 00 35 04 06 00 FD C3 9A 67 8A 1D 16 17 63 2C CE 83 59 88 [22:42:08]CheckFolder [22:42:08]dirname=/storage/ofd_packets [22:42:08]CheckFolder done [22:42:08]ProducePacketName [22:42:08]name=ofd_packets/00052676 [22:42:08]NVStorageSaveData ofd_packets/00052676 [22:42:08]File name is /storage/ofd_packets/00052676 [22:42:08]Write 424 bytes [22:42:08]NVStorageSaveData done [22:42:08]OFDSenderStorePacket done [22:42:08]KKMCreateOFDPacket done [22:42:08]NVStorageSaveData kkm_last_timestamp [22:42:08]File name is /storage/kkm_last_timestamp [22:42:08]Write 4 bytes [22:42:08]NVStorageSaveData done [22:42:08]ExternCall_PrintAddStr [22:42:08]wPrintStart [22:42:08]Write to MH i2c: 01 00 00 18 0F 27 [22:42:08]Write i2c OK [22:42:08]MH_I2C_Read... [22:42:08]Read from MH i2c: 01 [22:42:08]MH_I2C_Read... [22:42:08]OFD Sender: Processing packet 52676 [packets to send 55, broken 54] [22:42:08]ProducePacketName [22:42:08]name=ofd_packets/00052676 [22:42:08]OFD Sender: To server: pG, [22:42:08]CommunicateWithHost lk.salyk.kg:30040 [22:42:08]ConnectInit lk.salyk.kg [22:42:08]Read from MH i2c: 01 07 00 [22:42:08]MH_I2C_Read... [22:42:08]Read from MH i2c: 01 07 00 18 0F 00 00 00 00 00 FF 0F 3C [22:42:08]RasterBufferAndPrint [22:42:08]line Счет N : (3)122807 [22:42:08]line ИНН: 02508201610067 [22:42:08]line Контрольно-Кассовый Чек [22:42:08]line ПРОДАЖА [22:42:08]line Товар: 48747059 [22:42:08]line Сигареты Winston Legend Blue [22:42:08]line 1.000 * 140.00 [22:42:08]line = 140.00 [22:42:08]line НДС 12% НСП 1% [22:42:08]line > о реализуемом товаре [22:42:08]line Товар: 47802995 [22:42:08]line Сигареты Winston XS Silver [22:42:08]line 1.000 * 140.00 [22:42:08]line = 140.00 [22:42:08]line НДС 12% НСП 1% [22:42:08]line > о реализуемом товаре [22:42:08]line ИТОГО: 280.00 [22:42:08]line НСП 1% : 2.48 [22:42:08]line НДС 12% : 29.74 [22:42:08]line Наличными: 0.00 [22:42:08]line Безнал.: 280.00 [22:42:08]line Место: АЗС № 54 "Партнер Нефть" [22:42:08]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [22:42:08]line СНО: Общий режим [22:42:08]line Чек 87 11.08.2024 22:42 [22:42:08]line Смена: 446 ФФД: 1.0 [22:42:08]line ЗНМ: 0300000007 [22:42:08]line РНМ: 0000000000090834 [22:42:08]line Версия ККМ: 001 [22:42:08]line Платежная система: О! деньги [22:42:08]line ФМ: 0000000000874715 [22:42:08]line ФД: 52676 [22:42:08]line ФПД: 279016550926877 [22:42:08]line /tax-web-control/client/api/v1/ticket?date=20240811T224208&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52676&fm=279016550926877&tin=02508201610067®Number=0000000000090834&sum=28000 [22:42:08]line 0 [22:42:08]written 0, free lines is 4095 [22:42:08]Connected sock=10 [22:42:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 8A 01 00 00 87 4D 82 01 AB 4B 5A 03 01 00 03 00 76 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 60 6D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 40 3E B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C4 CD 00 00 35 04 06 00 FD C3 9A 67 8A 1D 16 17 63 2C CE 83 59 88 [22:42:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 97 A0 47 00 AA 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 34 37 31 35 10 04 04 00 C4 CD 00 00 F4 03 04 00 DB E5 B8 66 B6 04 01 00 00 3B A2 75 36 B4 20 44 D4 [22:42:08]CommunicateWithHost err = 0 [22:42:08]CheckOFDResponse [22:42:08]1017 (14) - 77093643461234 [22:42:08]1041 (16) - 0000000000874715 [22:42:08]1040 (4) - 52676 [22:42:08]1012 (4) - 11.08.2024 16:24 [22:42:08]1206 (1) - 0 [22:42:08]OFD Sender: Remove packet 52676 [22:42:08]ProducePacketName [22:42:08]name=ofd_packets/00052676 [22:42:08]NVStorageDeleteData [22:42:08]Write to MH i2c: 01 00 00 48 0F 57 [22:42:08]Write i2c OK [22:42:08]MH_I2C_Read... [22:42:08]Read from MH i2c: 01 [22:42:08]MH_I2C_Read... [22:42:08]Read from MH i2c: 01 07 00 [22:42:08]MH_I2C_Read... [22:42:08]Read from MH i2c: 01 07 00 48 0F 00 00 00 00 00 4F 0C B9 [22:42:08]RasterBufferAndPrint [22:42:08]line [22:42:08]line [22:42:08]line [22:42:08]line [22:42:08]line [22:42:08]written 0, free lines is 3158 [22:42:08]MH_Cut [22:42:08]Write to MH i2c: D1 01 00 4F 0F 01 30 [22:42:08]Write i2c OK [22:42:08]MH_I2C_Read... [22:42:08]Read from MH i2c: D1 [22:42:08]MH_I2C_Read... [22:42:08]Read from MH i2c: D1 01 00 [22:42:08]MH_I2C_Read... [22:42:08]Read from MH i2c: D1 01 00 4F 0F 00 2F [22:42:08]Write to MH i2c: 01 00 00 50 0F 5F [22:42:08]Write i2c OK [22:42:08]MH_I2C_Read... [22:42:09]OFD Sender: No OFD packet to send [22:42:09]*** Cut start [22:42:09]*** Purtial cut [22:42:09]*** Stage 1: CUTSNS_PIN = 1 [22:42:10]Read from MH i2c: 01 [22:42:10]MH_I2C_Read... [22:42:10]*** Stop cut motor [22:42:10]*** Cut end [22:42:10]Read from MH i2c: 01 07 00 [22:42:10]MH_I2C_Read... [22:42:10]Read from MH i2c: 01 07 00 50 0F 00 00 00 00 00 FF 0F 74 [22:42:10]process_action close_receipt done [22:42:10]requested_data is exist [22:42:10]produce_requested_data [22:42:10]requested_item fm.sn is exist - process it [22:42:10]wFMCommunicate request_size=4 [22:42:10]MH_SAM_APDU [22:42:10]CAPDU: 80 11 00 00 [22:42:10]Write to MH i2c: E2 08 00 51 0F 80 11 00 00 00 00 00 00 DA [22:42:10]Write i2c OK [22:42:10]MH_I2C_Read... [22:42:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:42:10]Read from MH i2c: E2 [22:42:10]MH_I2C_Read... [22:42:10]Read from MH i2c: E2 17 00 [22:42:10]MH_I2C_Read... [22:42:10]Read from MH i2c: E2 17 00 51 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 2D [22:42:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [22:42:10]wFMCommunicate OK [22:42:10]requested_item fd.num is exist - process it [22:42:10]SAM_PROTO_GetFieldsCounters [22:42:10]wFMCommunicate request_size=4 [22:42:10]MH_SAM_APDU [22:42:10]CAPDU: 80 13 00 00 [22:42:10]Write to MH i2c: E2 08 00 52 0F 80 13 00 00 00 00 00 00 DD [22:42:10]Write i2c OK [22:42:10]MH_I2C_Read... [22:42:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:42:10]Read from MH i2c: E2 [22:42:10]MH_I2C_Read... [22:42:10]Read from MH i2c: E2 62 00 [22:42:10]MH_I2C_Read... [22:42:10]Read from MH i2c: E2 62 00 52 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C4 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 52 [22:42:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C4 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 57 00 00 00 5E 04 04 00 57 00 00 00 57 04 04 00 58 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:42:10]wFMCommunicate OK [22:42:10]SAM_PROTO_GetFieldsCounters done [22:42:10]requested_item shift.num is exist - process it [22:42:10]requested_item shift.opened is exist - process it [22:42:10]req_shift_opened [22:42:10]FM_GetShiftState [22:42:10]SAM_PROTO_GetShiftState [22:42:10]wFMCommunicate request_size=4 [22:42:10]MH_SAM_APDU [22:42:10]CAPDU: 80 13 01 00 [22:42:10]Write to MH i2c: E2 08 00 53 0F 80 13 01 00 00 00 00 00 DF [22:42:10]Write i2c OK [22:42:10]MH_I2C_Read... [22:42:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:42:10]Read from MH i2c: E2 [22:42:10]MH_I2C_Read... [22:42:10]Read from MH i2c: E2 0E 00 [22:42:10]MH_I2C_Read... [22:42:10]Read from MH i2c: E2 0E 00 53 0F 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 08 [22:42:10]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [22:42:10]wFMCommunicate OK [22:42:10]SAM_PROTO_GetShiftState done [22:42:10]FM_GetShiftState done [22:42:10]req_shift_opened done [22:42:10]requested_item shift.open_date is exist - process it [22:42:10]req_shift_open_date [22:42:10]req_shift_open_date done [22:42:10]produce_requested_data done [22:42:10]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52676,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [22:42:10]process_action_free close_receipt [22:42:10]json_value_free [22:42:10]json_value_free done [22:42:10]process_json_proto returns [22:42:10]Send response to host [22:42:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52676,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [22:42:10]free response buf [22:42:10]execute_script done [22:42:10]execute_script returns [22:42:10]free content buf [22:42:10]Sock 9.Close socket [22:42:10]Sock 9.Thread stoped [22:42:14]OFD Sender: No OFD packet to send [22:42:19]OFD Sender: No OFD packet to send [22:42:24]OFD Sender: No OFD packet to send [22:42:29]OFD Sender: No OFD packet to send [22:42:34]OFD Sender: No OFD packet to send [22:42:39]OFD Sender: No OFD packet to send [22:42:44]OFD Sender: No OFD packet to send [22:42:49]OFD Sender: No OFD packet to send [22:42:54]OFD Sender: No OFD packet to send [22:42:59]OFD Sender: No OFD packet to send [22:43:04]OFD Sender: No OFD packet to send [22:43:09]OFD Sender: No OFD packet to send [22:43:14]OFD Sender: No OFD packet to send [22:43:19]OFD Sender: No OFD packet to send [22:43:24]OFD Sender: No OFD packet to send [22:43:29]OFD Sender: No OFD packet to send [22:43:34]OFD Sender: No OFD packet to send [22:43:39]OFD Sender: No OFD packet to send [22:43:44]OFD Sender: No OFD packet to send [22:43:49]OFD Sender: No OFD packet to send [22:43:54]OFD Sender: No OFD packet to send [22:43:59]OFD Sender: No OFD packet to send [22:44:04]OFD Sender: No OFD packet to send [22:44:09]OFD Sender: No OFD packet to send [22:44:14]OFD Sender: No OFD packet to send [22:44:19]OFD Sender: No OFD packet to send [22:44:24]OFD Sender: No OFD packet to send [22:44:29]OFD Sender: No OFD packet to send [22:44:34]OFD Sender: No OFD packet to send [22:44:39]OFD Sender: No OFD packet to send [22:44:44]OFD Sender: No OFD packet to send [22:44:49]OFD Sender: No OFD packet to send [22:44:54]OFD Sender: No OFD packet to send [22:44:59]OFD Sender: No OFD packet to send [22:45:04]OFD Sender: No OFD packet to send [22:45:09]OFD Sender: No OFD packet to send [22:45:14]OFD Sender: No OFD packet to send [22:45:19]OFD Sender: No OFD packet to send [22:45:24]OFD Sender: No OFD packet to send [22:45:29]OFD Sender: No OFD packet to send [22:45:34]OFD Sender: No OFD packet to send [22:45:39]OFD Sender: No OFD packet to send [22:45:44]OFD Sender: No OFD packet to send [22:45:49]OFD Sender: No OFD packet to send [22:45:54]OFD Sender: No OFD packet to send [22:45:59]OFD Sender: No OFD packet to send [22:46:04]OFD Sender: No OFD packet to send [22:46:09]OFD Sender: No OFD packet to send [22:46:14]OFD Sender: No OFD packet to send [22:46:19]OFD Sender: No OFD packet to send [22:46:24]OFD Sender: No OFD packet to send [22:46:29]OFD Sender: No OFD packet to send [22:46:34]OFD Sender: No OFD packet to send [22:46:39]OFD Sender: No OFD packet to send [22:46:44]OFD Sender: No OFD packet to send [22:46:49]OFD Sender: No OFD packet to send [22:46:54]OFD Sender: No OFD packet to send [22:46:59]OFD Sender: No OFD packet to send [22:47:04]OFD Sender: No OFD packet to send [22:47:09]OFD Sender: No OFD packet to send [22:47:14]OFD Sender: No OFD packet to send [22:47:19]OFD Sender: No OFD packet to send [22:47:24]OFD Sender: No OFD packet to send [22:47:29]OFD Sender: No OFD packet to send [22:47:34]OFD Sender: No OFD packet to send [22:47:39]OFD Sender: No OFD packet to send [22:47:44]OFD Sender: No OFD packet to send [22:47:49]OFD Sender: No OFD packet to send [22:47:54]OFD Sender: No OFD packet to send [22:47:59]OFD Sender: No OFD packet to send [22:48:04]OFD Sender: No OFD packet to send [22:48:09]OFD Sender: No OFD packet to send [22:48:14]OFD Sender: No OFD packet to send [22:48:19]OFD Sender: No OFD packet to send [22:48:24]OFD Sender: No OFD packet to send [22:48:29]OFD Sender: No OFD packet to send [22:48:34]OFD Sender: No OFD packet to send [22:48:39]OFD Sender: No OFD packet to send [22:48:44]OFD Sender: No OFD packet to send [22:48:49]OFD Sender: No OFD packet to send [22:48:54]OFD Sender: No OFD packet to send [22:48:59]OFD Sender: No OFD packet to send [22:49:04]OFD Sender: No OFD packet to send [22:49:09]OFD Sender: No OFD packet to send [22:49:14]OFD Sender: No OFD packet to send [22:49:19]OFD Sender: No OFD packet to send [22:49:24]OFD Sender: No OFD packet to send [22:49:29]OFD Sender: No OFD packet to send [22:49:34]OFD Sender: No OFD packet to send [22:49:39]OFD Sender: No OFD packet to send [22:49:44]OFD Sender: No OFD packet to send [22:49:49]OFD Sender: No OFD packet to send [22:49:54]OFD Sender: No OFD packet to send [22:49:59]OFD Sender: No OFD packet to send [22:50:04]OFD Sender: No OFD packet to send [22:50:09]OFD Sender: No OFD packet to send [22:50:14]OFD Sender: No OFD packet to send [22:50:19]OFD Sender: No OFD packet to send [22:50:24]OFD Sender: No OFD packet to send [22:50:29]OFD Sender: No OFD packet to send [22:50:34]OFD Sender: No OFD packet to send [22:50:39]OFD Sender: No OFD packet to send [22:50:44]OFD Sender: No OFD packet to send [22:50:49]OFD Sender: No OFD packet to send [22:50:54]OFD Sender: No OFD packet to send [22:50:59]OFD Sender: No OFD packet to send [22:51:04]OFD Sender: No OFD packet to send [22:51:09]OFD Sender: No OFD packet to send [22:51:14]OFD Sender: No OFD packet to send [22:51:19]OFD Sender: No OFD packet to send [22:51:24]OFD Sender: No OFD packet to send [22:51:29]OFD Sender: No OFD packet to send [22:51:34]OFD Sender: No OFD packet to send [22:51:39]OFD Sender: No OFD packet to send [22:51:44]OFD Sender: No OFD packet to send [22:51:49]OFD Sender: No OFD packet to send [22:51:54]OFD Sender: No OFD packet to send [22:51:59]OFD Sender: No OFD packet to send [22:52:04]OFD Sender: No OFD packet to send [22:52:09]OFD Sender: No OFD packet to send [22:52:14]OFD Sender: No OFD packet to send [22:52:19]OFD Sender: No OFD packet to send [22:52:24]OFD Sender: No OFD packet to send [22:52:29]OFD Sender: No OFD packet to send [22:52:34]OFD Sender: No OFD packet to send [22:52:39]OFD Sender: No OFD packet to send [22:52:44]OFD Sender: No OFD packet to send [22:52:50]OFD Sender: No OFD packet to send [22:52:55]OFD Sender: No OFD packet to send [22:53:00]OFD Sender: No OFD packet to send [22:53:05]OFD Sender: No OFD packet to send [22:53:10]OFD Sender: No OFD packet to send [22:53:15]OFD Sender: No OFD packet to send [22:53:20]OFD Sender: No OFD packet to send [22:53:25]OFD Sender: No OFD packet to send [22:53:30]OFD Sender: No OFD packet to send [22:53:35]OFD Sender: No OFD packet to send [22:53:40]OFD Sender: No OFD packet to send [22:53:45]OFD Sender: No OFD packet to send [22:53:50]OFD Sender: No OFD packet to send [22:53:55]OFD Sender: No OFD packet to send [22:54:00]OFD Sender: No OFD packet to send [22:54:05]OFD Sender: No OFD packet to send [22:54:10]OFD Sender: No OFD packet to send [22:54:15]OFD Sender: No OFD packet to send [22:54:20]OFD Sender: No OFD packet to send [22:54:25]OFD Sender: No OFD packet to send [22:54:30]OFD Sender: No OFD packet to send [22:54:35]OFD Sender: No OFD packet to send [22:54:40]OFD Sender: No OFD packet to send [22:54:45]OFD Sender: No OFD packet to send [22:54:50]OFD Sender: No OFD packet to send [22:54:55]OFD Sender: No OFD packet to send [22:55:00]OFD Sender: No OFD packet to send [22:55:05]OFD Sender: No OFD packet to send [22:55:10]OFD Sender: No OFD packet to send [22:55:15]OFD Sender: No OFD packet to send [22:55:20]OFD Sender: No OFD packet to send [22:55:25]OFD Sender: No OFD packet to send [22:55:30]OFD Sender: No OFD packet to send [22:55:35]OFD Sender: No OFD packet to send [22:55:40]OFD Sender: No OFD packet to send [22:55:45]OFD Sender: No OFD packet to send [22:55:50]OFD Sender: No OFD packet to send [22:55:55]OFD Sender: No OFD packet to send [22:56:00]OFD Sender: No OFD packet to send [22:56:05]OFD Sender: No OFD packet to send [22:56:10]OFD Sender: No OFD packet to send [22:56:15]OFD Sender: No OFD packet to send [22:56:20]OFD Sender: No OFD packet to send [22:56:25]OFD Sender: No OFD packet to send [22:56:30]OFD Sender: No OFD packet to send [22:56:35]OFD Sender: No OFD packet to send [22:56:40]OFD Sender: No OFD packet to send [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:45]OFD Sender: No OFD packet to send [23:04:50]OFD Sender: No OFD packet to send [23:04:55]OFD Sender: No OFD packet to send [23:05:00]OFD Sender: No OFD packet to send [23:05:05]OFD Sender: No OFD packet to send [23:05:10]OFD Sender: No OFD packet to send [23:05:15]OFD Sender: No OFD packet to send [23:05:20]OFD Sender: No OFD packet to send [23:05:25]OFD Sender: No OFD packet to send [23:05:30]OFD Sender: No OFD packet to send [23:05:35]OFD Sender: No OFD packet to send [23:05:40]OFD Sender: No OFD packet to send [23:05:45]OFD Sender: No OFD packet to send [23:05:50]OFD Sender: No OFD packet to send [23:05:55]OFD Sender: No OFD packet to send [23:06:00]OFD Sender: No OFD packet to send [23:06:05]OFD Sender: No OFD packet to send [23:06:10]OFD Sender: No OFD packet to send [23:06:15]OFD Sender: No OFD packet to send [23:06:20]OFD Sender: No OFD packet to send [23:06:25]OFD Sender: No OFD packet to send [23:06:30]OFD Sender: No OFD packet to send [23:06:35]OFD Sender: No OFD packet to send [23:06:40]OFD Sender: No OFD packet to send [23:06:45]OFD Sender: No OFD packet to send [23:06:50]OFD Sender: No OFD packet to send [23:06:55]OFD Sender: No OFD packet to send [23:07:00]OFD Sender: No OFD packet to send [23:07:05]OFD Sender: No OFD packet to send [23:07:10]OFD Sender: No OFD packet to send [23:07:15]OFD Sender: No OFD packet to send [23:07:20]OFD Sender: No OFD packet to send [23:07:25]OFD Sender: No OFD packet to send [23:07:30]OFD Sender: No OFD packet to send [23:07:35]OFD Sender: No OFD packet to send [23:07:40]OFD Sender: No OFD packet to send [23:07:45]OFD Sender: No OFD packet to send [23:07:50]OFD Sender: No OFD packet to send [23:07:55]OFD Sender: No OFD packet to send [23:08:00]OFD Sender: No OFD packet to send [23:08:05]OFD Sender: No OFD packet to send [23:08:10]OFD Sender: No OFD packet to send [23:08:15]OFD Sender: No OFD packet to send [23:08:20]OFD Sender: No OFD packet to send [23:08:25]OFD Sender: No OFD packet to send [23:08:30]OFD Sender: No OFD packet to send [23:08:35]OFD Sender: No OFD packet to send [23:08:40]OFD Sender: No OFD packet to send [23:08:45]OFD Sender: No OFD packet to send [23:08:50]OFD Sender: No OFD packet to send [23:08:55]OFD Sender: No OFD packet to send [23:09:00]OFD Sender: No OFD packet to send [23:09:05]OFD Sender: No OFD packet to send [23:09:10]OFD Sender: No OFD packet to send [23:09:15]OFD Sender: No OFD packet to send [23:09:20]OFD Sender: No OFD packet to send [23:09:25]OFD Sender: No OFD packet to send [23:09:30]OFD Sender: No OFD packet to send [23:09:35]OFD Sender: No OFD packet to send [23:09:40]OFD Sender: No OFD packet to send [23:09:45]OFD Sender: No OFD packet to send [23:09:50]OFD Sender: No OFD packet to send [23:09:55]OFD Sender: No OFD packet to send [23:10:00]OFD Sender: No OFD packet to send [23:10:05]OFD Sender: No OFD packet to send [23:10:10]OFD Sender: No OFD packet to send [23:10:15]OFD Sender: No OFD packet to send [23:10:20]OFD Sender: No OFD packet to send [23:10:25]OFD Sender: No OFD packet to send [23:10:30]OFD Sender: No OFD packet to send [23:10:35]OFD Sender: No OFD packet to send [23:10:40]OFD Sender: No OFD packet to send [23:10:46]OFD Sender: No OFD packet to send [23:10:51]OFD Sender: No OFD packet to send [23:10:56]OFD Sender: No OFD packet to send [23:11:01]OFD Sender: No OFD packet to send [23:11:06]OFD Sender: No OFD packet to send [23:11:11]OFD Sender: No OFD packet to send [23:11:16]OFD Sender: No OFD packet to send [23:11:20]accept exits with 7 [23:11:20]New connection [23:11:20]New thread 3067293028 created [23:11:20]Thread 3067149668 joined [23:11:20]Waiting for new connection... [23:11:20] Sock 7.Parse request [23:11:20]Sock 7.Check first char [23:11:20]Sock 7.First char is OK [23:11:20]request: POST /json_proto HTTP/1.0 [23:11:20]Method: POST [23:11:20]URL: /json_proto [23:11:20]Method is POST - this is cgi request [23:11:20]url: /json_proto [23:11:20]query_string will be loaded in cgi processing [23:11:20]execute_cgi json_proto POST (null) [23:11:20]execute_cgi path=json_proto method=POST [23:11:20]POST find Content-Length [23:11:20]Host: 172.17.60.7:8080 [23:11:20]Content-Length: 706 [23:11:20]Content-Type: application/json [23:11:20] [23:11:20]POST finish read [23:11:20]Found Content-Length = 706 [23:11:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122808", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:11:20]execute_script... [23:11: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)122808", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:11:20]POST & json_proto [23:11:20]process_json_proto [23:11:20]json parsed OK: [23:11:20]protocol is kg_v1.0 [23:11:20]action value=close_receipt [23:11:20]process_action close_receipt [23:11:20]cmd_close_receipt [23:11:20]MH_GetDate [23:11:20]Write to MH i2c: F0 00 00 54 0F 52 [23:11:20]Write i2c OK [23:11:20]MH_I2C_Read... [23:11:20]Read from MH i2c: F0 [23:11:20]MH_I2C_Read... [23:11:20]Read from MH i2c: F0 09 00 [23:11:20]MH_I2C_Read... [23:11:20]Read from MH i2c: F0 09 00 54 0F 00 1A 45 B9 66 63 9B 67 64 A2 [23:11:20]GetLastDocTimeStamp 1723416128 [23:11:20]current date 1723417882 [23:11:20]FM_GetShiftState [23:11:20]SAM_PROTO_GetShiftState [23:11:20]wFMCommunicate request_size=4 [23:11:20]MH_SAM_APDU [23:11:20]CAPDU: 80 13 01 00 [23:11:20]Write to MH i2c: E2 08 00 55 0F 80 13 01 00 00 00 00 00 E1 [23:11:20]Write i2c OK [23:11:20]MH_I2C_Read... [23:11:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:11:20]Read from MH i2c: E2 [23:11:20]MH_I2C_Read... [23:11:20]Read from MH i2c: E2 0E 00 [23:11:20]MH_I2C_Read... [23:11:20]Read from MH i2c: E2 0E 00 55 0F 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 0A [23:11:20]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [23:11:20]wFMCommunicate OK [23:11:20]SAM_PROTO_GetShiftState done [23:11:20]FM_GetShiftState done [23:11:20]opened in 1723336186 [23:11:20]opened+sec_in_day 1723422586 [23:11:20]quantity*price = 12000 [23:11:20]sum+1 = 12001 [23:11:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 88 11.08.2024 23:11 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52677 ФПД: 110870772889402 /tax-web-control/client/api/v1/ticket?date=20240811T231122&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52677&fm=110870772889402&tin=02508201610067®Number=0000000000090834&sum=12000 0 [23:11:21]StoreToDocumentArchive [23:11:21]shift 446 fd 52677 [23:11:21]save to /storage/0446/doc_00052677 [23:11:21]save last doc name /storage/0446/doc_00052677 to /storage/kkm_last_doc_name [23:11:21]save OK [23:11:21]Clear old archive folders... [23:11:21]ProcessDocumentItem done err = 0, tmpTLVsize=298 [23:11:21]tlvbuf is 01282C70 [23:11:21]SAM_PROTO_ClearQueue [23:11:21]wFMCommunicate request_size=4 [23:11:21]MH_SAM_APDU [23:11:21]CAPDU: 80 09 00 00 [23:11:21]Write to MH i2c: E2 08 00 62 0F 80 09 00 00 00 00 00 00 E3 [23:11:21]Write i2c OK [23:11:21]MH_I2C_Read... [23:11:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:11:21]Read from MH i2c: E2 [23:11:21]MH_I2C_Read... [23:11:21]Read from MH i2c: E2 03 00 [23:11:21]MH_I2C_Read... [23:11:21]Read from MH i2c: E2 03 00 62 0F 00 90 00 E5 [23:11:21]RAPDU: 90 00 [23:11:21]wFMCommunicate OK [23:11:21]SAM_PROTO_ClearQueue done [23:11:21]KKMCreateOFDPacket [23:11:21]OFDProtocolAddRootSTLVToBuf [23:11:21]FM_MakeSignedData [23:11:21]FM_MakeSignedData [23:11:21]SAM_PROTO_SignData [23:11:21]wFMCommunicate request_size=4 [23:11:21]MH_SAM_APDU [23:11:21]CAPDU: 80 0D 01 02 [23:11:21]Write to MH i2c: E2 08 00 63 0F 80 0D 01 02 00 00 00 00 EB [23:11:21]Write i2c OK [23:11:21]MH_I2C_Read... [23:11:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:11:21]Read from MH i2c: E2 [23:11:21]MH_I2C_Read... [23:11:21]Read from MH i2c: E2 03 00 [23:11:21]MH_I2C_Read... [23:11:21]Read from MH i2c: E2 03 00 63 0F 00 90 00 E6 [23:11:21]RAPDU: 90 00 [23:11:21]wFMCommunicate OK [23:11:21]wFMCommunicate request_size=255 [23:11:21]MH_SAM_APDU [23:11:21]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 1A 45 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [23:11:21]Write to MH i2c: E2 02 01 64 0F 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 1A 45 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 7E [23:11:21]Write i2c OK [23:11:21]MH_I2C_Read... [23:11:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:11:21]Read from MH i2c: E2 [23:11:21]MH_I2C_Read... [23:11:21]Read from MH i2c: E2 03 00 [23:11:21]MH_I2C_Read... [23:11:21]Read from MH i2c: E2 03 00 64 0F 00 90 00 E7 [23:11:21]RAPDU: 90 00 [23:11:21]wFMCommunicate OK [23:11:21]wFMCommunicate request_size=57 [23:11:21]MH_SAM_APDU [23:11:21]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C5 CD 00 00 35 04 06 00 64 D6 1D 08 B7 3A [23:11:21]Write to MH i2c: E2 3C 00 65 0F 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C5 CD 00 00 35 04 06 00 64 D6 1D 08 B7 3A 00 00 8C [23:11:21]Write i2c OK [23:11:21]MH_I2C_Read... [23:11:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:11:21]Read from MH i2c: E2 [23:11:21]MH_I2C_Read... [23:11:21]Read from MH i2c: E2 03 00 [23:11:21]MH_I2C_Read... [23:11:21]Read from MH i2c: E2 03 00 65 0F 00 90 00 E8 [23:11:21]RAPDU: 90 00 [23:11:21]wFMCommunicate OK [23:11:21]wFMCommunicate request_size=4 [23:11:21]MH_SAM_APDU [23:11:21]CAPDU: 80 0D 03 02 [23:11:21]Write to MH i2c: E2 08 00 66 0F 80 0D 03 02 00 00 00 00 F0 [23:11:21]Write i2c OK [23:11:21]MH_I2C_Read... [23:11:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:11:22]Read from MH i2c: E2 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: E2 0B 00 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: E2 0B 00 66 0F 00 31 F0 F8 C0 E1 B0 79 B3 90 00 87 [23:11:22]RAPDU: 31 F0 F8 C0 E1 B0 79 B3 90 00 [23:11:22]wFMCommunicate OK [23:11:22]SAM_PROTO_SignData done [23:11:22]FM_MakeSignedData done [23:11:22]CreateOFDProtocolMessage [23:11:22]wFMCommunicate request_size=4 [23:11:22]MH_SAM_APDU [23:11:22]CAPDU: 80 11 00 00 [23:11:22]Write to MH i2c: E2 08 00 67 0F 80 11 00 00 00 00 00 00 F0 [23:11:22]Write i2c OK [23:11:22]MH_I2C_Read... [23:11:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:11:22]Read from MH i2c: E2 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: E2 17 00 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: E2 17 00 67 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 43 [23:11:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [23:11:22]wFMCommunicate OK [23:11:22]CreateOFDProtocolMessage done [23:11:22]OFDSenderStorePacket 52677 [23:11:22]StoreOFDPacket docnum=52677 [23:11:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 3E 01 00 00 2A 7A 36 01 CC A3 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 1A 45 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C5 CD 00 00 35 04 06 00 64 D6 1D 08 B7 3A 31 F0 F8 C0 E1 B0 79 B3 [23:11:22]CheckFolder [23:11:22]dirname=/storage/ofd_packets [23:11:22]CheckFolder done [23:11:22]ProducePacketName [23:11:22]name=ofd_packets/00052677 [23:11:22]NVStorageSaveData ofd_packets/00052677 [23:11:22]File name is /storage/ofd_packets/00052677 [23:11:22]Write 348 bytes [23:11:22]NVStorageSaveData done [23:11:22]OFDSenderStorePacket done [23:11:22]KKMCreateOFDPacket done [23:11:22]NVStorageSaveData kkm_last_timestamp [23:11:22]File name is /storage/kkm_last_timestamp [23:11:22]Write 4 bytes [23:11:22]NVStorageSaveData done [23:11:22]ExternCall_PrintAddStr [23:11:22]wPrintStart [23:11:22]Write to MH i2c: 01 00 00 68 0F 77 [23:11:22]Write i2c OK [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: 01 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: 01 07 00 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: 01 07 00 68 0F 00 00 00 00 00 FF 0F 8C [23:11:22]RasterBufferAndPrint [23:11:22]line Счет N : (3)122808 [23:11:22]line ИНН: 02508201610067 [23:11:22]line Контрольно-Кассовый Чек [23:11:22]line ПРОДАЖА [23:11:22]line Товар: 5449000189356 [23:11:22]line Холодный чай Fuse манго ананас 1л [23:11:22]line 1.000 * 120.00 [23:11:22]line = 120.00 [23:11:22]line НДС 12% НСП 1% [23:11:22]line > о реализуемом товаре [23:11:22]line ИТОГО: 120.00 [23:11:22]line НСП 1% : 1.06 [23:11:22]line НДС 12% : 12.74 [23:11:22]line Наличными: 120.00 [23:11:22]line Безнал.: 0.00 [23:11:22]line Место: АЗС № 54 "Партнер Нефть" [23:11:22]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [23:11:22]line СНО: Общий режим [23:11:22]line Чек 88 11.08.2024 23:11 [23:11:22]line Смена: 446 ФФД: 1.0 [23:11:22]line ЗНМ: 0300000007 [23:11:22]line РНМ: 0000000000090834 [23:11:22]line Версия ККМ: 001 [23:11:22]line ФМ: 0000000000874715 [23:11:22]line ФД: 52677 [23:11:22]line ФПД: 110870772889402 [23:11:22]line /tax-web-control/client/api/v1/ticket?date=20240811T231122&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52677&fm=110870772889402&tin=02508201610067®Number=0000000000090834&sum=12000 [23:11:22]OFD Sender: Processing packet 52677 [packets to send 55, broken 54] [23:11:22]ProducePacketName [23:11:22]name=ofd_packets/00052677 [23:11:22]OFD Sender: To server: pG, [23:11:22]CommunicateWithHost lk.salyk.kg:30040 [23:11:22]ConnectInit lk.salyk.kg [23:11:22]line 0 [23:11:22]written 0, free lines is 4095 [23:11:22]Connected sock=10 [23:11:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 3E 01 00 00 2A 7A 36 01 CC A3 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 58 00 00 00 F4 03 04 00 1A 45 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C5 CD 00 00 35 04 06 00 64 D6 1D 08 B7 3A 31 F0 F8 C0 E1 B0 79 B3 [23:11:22]Write to MH i2c: 01 00 00 90 0F 9F [23:11:22]Write i2c OK [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: 01 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: 01 07 00 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: 01 07 00 90 0F 00 00 00 00 00 D4 0C 86 [23:11:22]RasterBufferAndPrint [23:11:22]line [23:11:22]line [23:11:22]line [23:11:22]line [23:11:22]line [23:11:22]written 0, free lines is 3289 [23:11:22]MH_Cut [23:11:22]Write to MH i2c: D1 01 00 97 0F 01 78 [23:11:22]Write i2c OK [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: D1 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: D1 01 00 [23:11:22]MH_I2C_Read... [23:11:22]Read from MH i2c: D1 01 00 97 0F 00 77 [23:11:22]Write to MH i2c: 01 00 00 98 0F A7 [23:11:22]Write i2c OK [23:11:22]MH_I2C_Read... [23:11:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 2E 45 47 00 44 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 34 37 31 35 10 04 04 00 C5 CD 00 00 F4 03 04 00 B5 EC B8 66 B6 04 01 00 00 41 A4 56 8D CF DB CC 59 [23:11:22]CommunicateWithHost err = 0 [23:11:22]CheckOFDResponse [23:11:22]1017 (14) - 77093643461234 [23:11:22]1041 (16) - 0000000000874715 [23:11:22]1040 (4) - 52677 [23:11:22]1012 (4) - 11.08.2024 16:54 [23:11:22]1206 (1) - 0 [23:11:22]OFD Sender: Remove packet 52677 [23:11:22]ProducePacketName [23:11:22]name=ofd_packets/00052677 [23:11:22]NVStorageDeleteData [23:11:23]OFD Sender: No OFD packet to send [23:11:23]*** Cut start [23:11:23]*** Purtial cut [23:11:23]*** Stage 1: CUTSNS_PIN = 1 [23:11:23]Read from MH i2c: 01 [23:11:24]MH_I2C_Read... [23:11:24]*** Stop cut motor [23:11:24]*** Cut end [23:11:24]Read from MH i2c: 01 07 00 [23:11:24]MH_I2C_Read... [23:11:24]Read from MH i2c: 01 07 00 98 0F 00 00 00 00 00 FF 0F BC [23:11:24]process_action close_receipt done [23:11:24]requested_data is exist [23:11:24]produce_requested_data [23:11:24]requested_item fm.sn is exist - process it [23:11:24]wFMCommunicate request_size=4 [23:11:24]MH_SAM_APDU [23:11:24]CAPDU: 80 11 00 00 [23:11:24]Write to MH i2c: E2 08 00 99 0F 80 11 00 00 00 00 00 00 22 [23:11:24]Write i2c OK [23:11:24]MH_I2C_Read... [23:11:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:11:24]Read from MH i2c: E2 [23:11:24]MH_I2C_Read... [23:11:24]Read from MH i2c: E2 17 00 [23:11:24]MH_I2C_Read... [23:11:24]Read from MH i2c: E2 17 00 99 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 75 [23:11:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [23:11:24]wFMCommunicate OK [23:11:24]requested_item fd.num is exist - process it [23:11:24]SAM_PROTO_GetFieldsCounters [23:11:24]wFMCommunicate request_size=4 [23:11:24]MH_SAM_APDU [23:11:24]CAPDU: 80 13 00 00 [23:11:24]Write to MH i2c: E2 08 00 9A 0F 80 13 00 00 00 00 00 00 25 [23:11:24]Write i2c OK [23:11:24]MH_I2C_Read... [23:11:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:11:24]Read from MH i2c: E2 [23:11:24]MH_I2C_Read... [23:11:24]Read from MH i2c: E2 62 00 [23:11:24]MH_I2C_Read... [23:11:24]Read from MH i2c: E2 62 00 9A 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C5 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 9E [23:11:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C5 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 58 00 00 00 5E 04 04 00 58 00 00 00 57 04 04 00 59 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:11:24]wFMCommunicate OK [23:11:24]SAM_PROTO_GetFieldsCounters done [23:11:24]requested_item shift.num is exist - process it [23:11:24]requested_item shift.opened is exist - process it [23:11:24]req_shift_opened [23:11:24]FM_GetShiftState [23:11:24]SAM_PROTO_GetShiftState [23:11:24]wFMCommunicate request_size=4 [23:11:24]MH_SAM_APDU [23:11:24]CAPDU: 80 13 01 00 [23:11:24]Write to MH i2c: E2 08 00 9B 0F 80 13 01 00 00 00 00 00 27 [23:11:24]Write i2c OK [23:11:24]MH_I2C_Read... [23:11:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:11:24]Read from MH i2c: E2 [23:11:24]MH_I2C_Read... [23:11:24]Read from MH i2c: E2 0E 00 [23:11:24]MH_I2C_Read... [23:11:24]Read from MH i2c: E2 0E 00 9B 0F 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 50 [23:11:24]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [23:11:24]wFMCommunicate OK [23:11:24]SAM_PROTO_GetShiftState done [23:11:24]FM_GetShiftState done [23:11:24]req_shift_opened done [23:11:24]requested_item shift.open_date is exist - process it [23:11:24]req_shift_open_date [23:11:24]req_shift_open_date done [23:11:24]produce_requested_data done [23:11:24]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52677,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [23:11:24]process_action_free close_receipt [23:11:24]json_value_free [23:11:24]json_value_free done [23:11:24]process_json_proto returns [23:11:24]Send response to host [23:11:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52677,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [23:11:24]free response buf [23:11:24]execute_script done [23:11:24]execute_script returns [23:11:24]free content buf [23:11:24]Sock 7.Close socket [23:11:24]Sock 7.Thread stoped [23:11:28]OFD Sender: No OFD packet to send [23:11:33]OFD Sender: No OFD packet to send [23:11:38]OFD Sender: No OFD packet to send [23:11:43]OFD Sender: No OFD packet to send [23:11:48]OFD Sender: No OFD packet to send [23:11:53]OFD Sender: No OFD packet to send [23:11:58]OFD Sender: No OFD packet to send [23:12:03]OFD Sender: No OFD packet to send [23:12:08]OFD Sender: No OFD packet to send [23:12:13]OFD Sender: No OFD packet to send [23:12:18]OFD Sender: No OFD packet to send [23:12:23]OFD Sender: No OFD packet to send [23:12:28]OFD Sender: No OFD packet to send [23:12:33]OFD Sender: No OFD packet to send [23:12:38]OFD Sender: No OFD packet to send [23:12:43]OFD Sender: No OFD packet to send [23:12:48]OFD Sender: No OFD packet to send [23:12:53]OFD Sender: No OFD packet to send [23:12:58]OFD Sender: No OFD packet to send [23:13:03]OFD Sender: No OFD packet to send [23:13:08]OFD Sender: No OFD packet to send [23:13:13]OFD Sender: No OFD packet to send [23:13:18]OFD Sender: No OFD packet to send [23:13:23]OFD Sender: No OFD packet to send [23:13:28]OFD Sender: No OFD packet to send [23:13:33]OFD Sender: No OFD packet to send [23:13:38]OFD Sender: No OFD packet to send [23:13:43]OFD Sender: No OFD packet to send [23:13:48]OFD Sender: No OFD packet to send [23:13:53]OFD Sender: No OFD packet to send [23:13:58]OFD Sender: No OFD packet to send [23:14:03]OFD Sender: No OFD packet to send [23:14:08]OFD Sender: No OFD packet to send [23:14:13]OFD Sender: No OFD packet to send [23:14:18]OFD Sender: No OFD packet to send [23:14:23]OFD Sender: No OFD packet to send [23:14:28]OFD Sender: No OFD packet to send [23:14:33]OFD Sender: No OFD packet to send [23:14:38]OFD Sender: No OFD packet to send [23:14:43]OFD Sender: No OFD packet to send [23:14:48]OFD Sender: No OFD packet to send [23:14:53]OFD Sender: No OFD packet to send [23:14:58]OFD Sender: No OFD packet to send [23:15:03]OFD Sender: No OFD packet to send [23:15:08]OFD Sender: No OFD packet to send [23:15:13]OFD Sender: No OFD packet to send [23:15:18]OFD Sender: No OFD packet to send [23:15:23]OFD Sender: No OFD packet to send [23:15:28]OFD Sender: No OFD packet to send [23:15:33]OFD Sender: No OFD packet to send [23:15:38]OFD Sender: No OFD packet to send [23:15:43]OFD Sender: No OFD packet to send [23:15:48]OFD Sender: No OFD packet to send [23:15:53]OFD Sender: No OFD packet to send [23:15:58]OFD Sender: No OFD packet to send [23:16:03]OFD Sender: No OFD packet to send [23:16:08]OFD Sender: No OFD packet to send [23:16:13]OFD Sender: No OFD packet to send [23:16:18]OFD Sender: No OFD packet to send [23:16:23]OFD Sender: No OFD packet to send [23:16:28]OFD Sender: No OFD packet to send [23:16:32]accept exits with 9 [23:16:32]New connection [23:16:32]New thread 3067149668 created [23:16:32]Thread 3067293028 joined [23:16:32]Waiting for new connection... [23:16:32] Sock 9.Parse request [23:16:32]Sock 9.Check first char [23:16:32]Sock 9.First char is OK [23:16:32]request: POST /json_proto HTTP/1.0 [23:16:32]Method: POST [23:16:32]URL: /json_proto [23:16:32]Method is POST - this is cgi request [23:16:32]url: /json_proto [23:16:32]query_string will be loaded in cgi processing [23:16:32]execute_cgi json_proto POST (null) [23:16:32]execute_cgi path=json_proto method=POST [23:16:32]POST find Content-Length [23:16:32]Host: 172.17.60.7:8080 [23:16:32]Content-Length: 1534 [23:16:32]Content-Type: application/json [23:16:32] [23:16:32]POST finish read [23:16:32]Found Content-Length = 1534 [23:16:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122809", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 445.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:16:32]execute_script... [23:16:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122809", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 445.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:16:32]POST & json_proto [23:16:32]process_json_proto [23:16:32]json parsed OK: [23:16:32]protocol is kg_v1.0 [23:16:32]action value=close_receipt [23:16:32]process_action close_receipt [23:16:32]cmd_close_receipt [23:16:32]MH_GetDate [23:16:32]Write to MH i2c: F0 00 00 9C 0F 9A [23:16:32]Write i2c OK [23:16:32]MH_I2C_Read... [23:16:32]Read from MH i2c: F0 [23:16:32]MH_I2C_Read... [23:16:32]Read from MH i2c: F0 09 00 [23:16:32]MH_I2C_Read... [23:16:32]Read from MH i2c: F0 09 00 9C 0F 00 52 46 B9 66 63 9B 67 64 23 [23:16:32]GetLastDocTimeStamp 1723417882 [23:16:32]current date 1723418194 [23:16:32]FM_GetShiftState [23:16:32]SAM_PROTO_GetShiftState [23:16:32]wFMCommunicate request_size=4 [23:16:32]MH_SAM_APDU [23:16:32]CAPDU: 80 13 01 00 [23:16:32]Write to MH i2c: E2 08 00 9D 0F 80 13 01 00 00 00 00 00 29 [23:16:32]Write i2c OK [23:16:32]MH_I2C_Read... [23:16:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:16:32]Read from MH i2c: E2 [23:16:32]MH_I2C_Read... [23:16:32]Read from MH i2c: E2 0E 00 [23:16:32]MH_I2C_Read... [23:16:32]Read from MH i2c: E2 0E 00 9D 0F 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 52 [23:16:32]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [23:16:32]wFMCommunicate OK [23:16:32]SAM_PROTO_GetShiftState done [23:16:32]FM_GetShiftState done [23:16:32]opened in 1723336186 [23:16:32]opened+sec_in_day 1723422586 [23:16:32]quantity*price = 12000 [23:16:32]sum+1 = 12001 [23:16:32]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480357 Пиво шахтерское 1л ПЭТ 1.000 * 170.00 = 170.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160204 Вода Легенда 1,5л 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 445.00 НСП 1% : 3.93 НДС 12% : 47.25 Наличными: 445.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 89 11.08.2024 23:16 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52678 ФПД: 193795462947240 /tax-web-control/client/api/v1/ticket?date=20240811T231635&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52678&fm=193795462947240&tin=02508201610067®Number=0000000000090834&sum=44500 0 [23:16:33]StoreToDocumentArchive [23:16:33]shift 446 fd 52678 [23:16:33]save to /storage/0446/doc_00052678 [23:16:33]save last doc name /storage/0446/doc_00052678 to /storage/kkm_last_doc_name [23:16:33]save OK [23:16:33]Clear old archive folders... [23:16:33]ProcessDocumentItem done err = 0, tmpTLVsize=644 [23:16:33]tlvbuf is 01294FA0 [23:16:33]SAM_PROTO_ClearQueue [23:16:33]wFMCommunicate request_size=4 [23:16:33]MH_SAM_APDU [23:16:33]CAPDU: 80 09 00 00 [23:16:33]Write to MH i2c: E2 08 00 AA 0F 80 09 00 00 00 00 00 00 2B [23:16:33]Write i2c OK [23:16:33]MH_I2C_Read... [23:16:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:16:33]Read from MH i2c: E2 [23:16:33]MH_I2C_Read... [23:16:33]Read from MH i2c: E2 03 00 [23:16:33]MH_I2C_Read... [23:16:33]Read from MH i2c: E2 03 00 AA 0F 00 90 00 2D [23:16:33]RAPDU: 90 00 [23:16:33]wFMCommunicate OK [23:16:33]SAM_PROTO_ClearQueue done [23:16:33]KKMCreateOFDPacket [23:16:33]OFDProtocolAddRootSTLVToBuf [23:16:33]FM_MakeSignedData [23:16:33]FM_MakeSignedData [23:16:33]SAM_PROTO_SignData [23:16:33]wFMCommunicate request_size=4 [23:16:33]MH_SAM_APDU [23:16:33]CAPDU: 80 0D 01 02 [23:16:33]Write to MH i2c: E2 08 00 AB 0F 80 0D 01 02 00 00 00 00 33 [23:16:33]Write i2c OK [23:16:33]MH_I2C_Read... [23:16:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:16:34]Read from MH i2c: E2 [23:16:34]MH_I2C_Read... [23:16:34]Read from MH i2c: E2 03 00 [23:16:34]MH_I2C_Read... [23:16:34]Read from MH i2c: E2 03 00 AB 0F 00 90 00 2E [23:16:34]RAPDU: 90 00 [23:16:34]wFMCommunicate OK [23:16:34]wFMCommunicate request_size=255 [23:16:34]MH_SAM_APDU [23:16:34]CAPDU: 80 0D 02 02 FA 03 00 84 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 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 [23:16:34]Write to MH i2c: E2 02 01 AC 0F 80 0D 02 02 FA 00 03 00 84 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 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 00 00 1F [23:16:34]Write i2c OK [23:16:34]MH_I2C_Read... [23:16:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:16:34]Read from MH i2c: E2 [23:16:34]MH_I2C_Read... [23:16:34]Read from MH i2c: E2 03 00 [23:16:34]MH_I2C_Read... [23:16:34]Read from MH i2c: E2 03 00 AC 0F 00 90 00 2F [23:16:34]RAPDU: 90 00 [23:16:34]wFMCommunicate OK [23:16:34]wFMCommunicate request_size=255 [23:16:34]MH_SAM_APDU [23:16:34]CAPDU: 80 0D 02 02 FA 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 D4 AD 00 00 00 00 EB 03 26 00 EF 03 0F [23:16:34]Write to MH i2c: E2 02 01 AD 0F 80 0D 02 02 FA 00 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 D4 AD 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 06 [23:16:34]Write i2c OK [23:16:34]MH_I2C_Read... [23:16:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:16:34]Read from MH i2c: E2 [23:16:34]MH_I2C_Read... [23:16:34]Read from MH i2c: E2 03 00 [23:16:34]MH_I2C_Read... [23:16:34]Read from MH i2c: E2 03 00 AD 0F 00 90 00 30 [23:16:34]RAPDU: 90 00 [23:16:34]wFMCommunicate OK [23:16:34]wFMCommunicate request_size=153 [23:16:34]MH_SAM_APDU [23:16:34]CAPDU: 80 0D 02 02 94 00 F6 03 01 00 01 F7 03 06 00 89 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 12 00 00 00 00 07 04 06 00 D4 AD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 53 46 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C6 CD 00 00 35 04 06 00 B0 41 85 BA 61 A8 [23:16:34]Write to MH i2c: E2 9C 00 AE 0F 80 0D 02 02 94 00 00 F6 03 01 00 01 F7 03 06 00 89 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 12 00 00 00 00 07 04 06 00 D4 AD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 53 46 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C6 CD 00 00 35 04 06 00 B0 41 85 BA 61 A8 00 00 B4 [23:16:34]Write i2c OK [23:16:34]MH_I2C_Read... [23:16:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:16:34]Read from MH i2c: E2 [23:16:34]MH_I2C_Read... [23:16:34]Read from MH i2c: E2 03 00 [23:16:34]MH_I2C_Read... [23:16:34]Read from MH i2c: E2 03 00 AE 0F 00 90 00 31 [23:16:34]RAPDU: 90 00 [23:16:34]wFMCommunicate OK [23:16:34]wFMCommunicate request_size=4 [23:16:34]MH_SAM_APDU [23:16:34]CAPDU: 80 0D 03 02 [23:16:34]Write to MH i2c: E2 08 00 AF 0F 80 0D 03 02 00 00 00 00 39 [23:16:34]Write i2c OK [23:16:34]MH_I2C_Read... [23:16:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:16:34]Read from MH i2c: E2 [23:16:34]MH_I2C_Read... [23:16:34]Read from MH i2c: E2 0B 00 [23:16:34]MH_I2C_Read... [23:16:34]Read from MH i2c: E2 0B 00 AF 0F 00 19 7E E3 0C 99 FA AB 34 90 00 32 [23:16:34]RAPDU: 19 7E E3 0C 99 FA AB 34 90 00 [23:16:34]wFMCommunicate OK [23:16:34]SAM_PROTO_SignData done [23:16:34]FM_MakeSignedData done [23:16:34]CreateOFDProtocolMessage [23:16:34]wFMCommunicate request_size=4 [23:16:34]MH_SAM_APDU [23:16:34]CAPDU: 80 11 00 00 [23:16:34]Write to MH i2c: E2 08 00 B0 0F 80 11 00 00 00 00 00 00 39 [23:16:34]Write i2c OK [23:16:34]MH_I2C_Read... [23:16:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:16:34]Read from MH i2c: E2 [23:16:34]MH_I2C_Read... [23:16:34]Read from MH i2c: E2 17 00 [23:16:34]MH_I2C_Read... [23:16:34]Read from MH i2c: E2 17 00 B0 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 8C [23:16:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [23:16:34]wFMCommunicate OK [23:16:34]CreateOFDProtocolMessage done [23:16:34]OFDSenderStorePacket 52678 [23:16:34]StoreOFDPacket docnum=52678 [23:16:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 98 02 00 00 7D C3 90 02 83 CE 5A 03 01 00 03 00 84 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 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 D4 AD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 12 00 00 00 00 07 04 06 00 D4 AD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 53 46 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C6 CD 00 00 35 04 06 00 B0 41 85 BA 61 A8 19 7E E3 0C 99 FA AB 34 [23:16:34]CheckFolder [23:16:34]dirname=/storage/ofd_packets [23:16:34]CheckFolder done [23:16:34]ProducePacketName [23:16:34]name=ofd_packets/00052678 [23:16:34]NVStorageSaveData ofd_packets/00052678 [23:16:34]File name is /storage/ofd_packets/00052678 [23:16:34]Write 694 bytes [23:16:34]NVStorageSaveData done [23:16:34]OFDSenderStorePacket done [23:16:34]KKMCreateOFDPacket done [23:16:34]NVStorageSaveData kkm_last_timestamp [23:16:34]File name is /storage/kkm_last_timestamp [23:16:34]Write 4 bytes [23:16:34]NVStorageSaveData done [23:16:34]ExternCall_PrintAddStr [23:16:34]wPrintStart [23:16:34]Write to MH i2c: 01 00 00 B1 0F C0 [23:16:34]Write i2c OK [23:16:34]MH_I2C_Read... [23:16:34]Read from MH i2c: 01 [23:16:34]MH_I2C_Read... [23:16:34]Read from MH i2c: 01 07 00 [23:16:34]MH_I2C_Read... [23:16:34]Read from MH i2c: 01 07 00 B1 0F 00 00 00 00 00 FF 0F D5 [23:16:34]RasterBufferAndPrint [23:16:34]line Счет N : (3)122809 [23:16:34]line ИНН: 02508201610067 [23:16:34]line Контрольно-Кассовый Чек [23:16:34]line ПРОДАЖА [23:16:34]line Товар: 5449000027474 [23:16:34]line Напиток FuzeTea зел чай манго,ромашка 1л [23:16:34]line 1.000 * 120.00 [23:16:35]line = 120.00 [23:16:35]line НДС 12% НСП 1% [23:16:35]line > о реализуемом товаре [23:16:35]line Товар: 4700000480357 [23:16:35]line Пиво шахтерское 1л ПЭТ [23:16:35]line 1.000 * 170.00 [23:16:35]line = 170.00 [23:16:35]line НДС 12% НСП 1% [23:16:35]line > о реализуемом товаре [23:16:35]line Товар: 4700000480050 [23:16:35]line Напиток Nitro Energy эн green ж/б 0,45л [23:16:35]line 1.000 * 95.00 [23:16:35]line = 95.00 [23:16:35]line НДС 12% НСП 1% [23:16:35]line > о реализуемом товаре [23:16:35]line Товар: 4700000160204 [23:16:35]line Вода Легенда 1,5л [23:16:35]line 1.000 * 60.00 [23:16:35]line = 60.00 [23:16:35]line НДС 12% НСП 1% [23:16:35]line > о реализуемом товаре [23:16:35]line ИТОГО: 445.00 [23:16:35]line НСП 1% : 3.93 [23:16:35]line НДС 12% : 47.25 [23:16:35]line Наличными: 445.00 [23:16:35]line Безнал.: 0.00 [23:16:35]line Место: АЗС № 54 "Партнер Нефть" [23:16:35]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [23:16:35]line СНО: Общий режим [23:16:35]line Чек 89 11.08.2024 23:16 [23:16:35]line Смена: 446 ФФД: 1.0 [23:16:35]line ЗНМ: 0300000007 [23:16:35]line РНМ: 0000000000090834 [23:16:35]line Версия ККМ: 001 [23:16:35]line ФМ: 0000000000874715 [23:16:35]line ФД: 52678 [23:16:35]line ФПД: 193795462947240 [23:16:35]line /tax-web-control/client/api/v1/ticket?date=20240811T231635&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52678&fm=193795462947240&tin=02508201610067®Number=0000000000090834&sum=44500 [23:16:35]OFD Sender: Processing packet 52678 [packets to send 55, broken 54] [23:16:35]ProducePacketName [23:16:35]name=ofd_packets/00052678 [23:16:35]OFD Sender: To server: pG, [23:16:35]CommunicateWithHost lk.salyk.kg:30040 [23:16:35]ConnectInit lk.salyk.kg [23:16:35]line 0 [23:16:35]written 0, free lines is 4095 [23:16:35]Connected sock=10 [23: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 34 37 31 35 98 02 00 00 7D C3 90 02 83 CE 5A 03 01 00 03 00 84 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 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 D4 AD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 12 00 00 00 00 07 04 06 00 D4 AD 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 59 00 00 00 F4 03 04 00 53 46 B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C6 CD 00 00 35 04 06 00 B0 41 85 BA 61 A8 19 7E E3 0C 99 FA AB 34 [23:16:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 EB 54 47 00 E2 0B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C6 CD 00 00 F4 03 04 00 ED ED B8 66 B6 04 01 00 00 BA 3B 16 31 31 E9 46 1B [23:16:35]CommunicateWithHost err = 0 [23:16:35]CheckOFDResponse [23:16:35]1017 (14) - 77093643461234 [23:16:35]1041 (16) - 0000000000874715 [23:16:35]1040 (4) - 52678 [23:16:35]1012 (4) - 11.08.2024 16:59 [23:16:35]1206 (1) - 0 [23:16:35]OFD Sender: Remove packet 52678 [23:16:35]ProducePacketName [23:16:35]name=ofd_packets/00052678 [23:16:35]NVStorageDeleteData [23:16:35]Write to MH i2c: 01 00 00 EC 0F FB [23:16:35]Write i2c OK [23:16:35]MH_I2C_Read... [23:16:35]Read from MH i2c: 01 [23:16:35]MH_I2C_Read... [23:16:35]Read from MH i2c: 01 07 00 [23:16:35]MH_I2C_Read... [23:16:35]Read from MH i2c: 01 07 00 EC 0F 00 00 00 00 00 98 0B A5 [23:16:35]RasterBufferAndPrint [23:16:35]line [23:16:35]line [23:16:35]line [23:16:35]line [23:16:35]line [23:16:35]written 0, free lines is 2974 [23:16:35]MH_Cut [23:16:35]Write to MH i2c: D1 01 00 F3 0F 01 D4 [23:16:35]Write i2c OK [23:16:35]MH_I2C_Read... [23:16:35]Read from MH i2c: D1 [23:16:35]MH_I2C_Read... [23:16:35]Read from MH i2c: D1 01 00 [23:16:35]MH_I2C_Read... [23:16:35]Read from MH i2c: D1 01 00 F3 0F 00 D3 [23:16:35]Write to MH i2c: 01 00 00 F4 0F 03 [23:16:35]Write i2c OK [23:16:35]MH_I2C_Read... [23:16:36]OFD Sender: No OFD packet to send [23:16:36]*** Cut start [23:16:36]*** Purtial cut [23:16:36]*** Stage 1: CUTSNS_PIN = 1 [23:16:37]Read from MH i2c: 01 [23:16:37]MH_I2C_Read... [23:16:37]*** Stop cut motor [23:16:37]*** Cut end [23:16:37]Read from MH i2c: 01 07 00 [23:16:37]MH_I2C_Read... [23:16:37]Read from MH i2c: 01 07 00 F4 0F 00 00 00 00 00 FF 0F 18 [23:16:37]process_action close_receipt done [23:16:37]requested_data is exist [23:16:37]produce_requested_data [23:16:37]requested_item fm.sn is exist - process it [23:16:37]wFMCommunicate request_size=4 [23:16:37]MH_SAM_APDU [23:16:37]CAPDU: 80 11 00 00 [23:16:37]Write to MH i2c: E2 08 00 F5 0F 80 11 00 00 00 00 00 00 7E [23:16:37]Write i2c OK [23:16:37]MH_I2C_Read... [23:16:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:16:37]Read from MH i2c: E2 [23:16:37]MH_I2C_Read... [23:16:37]Read from MH i2c: E2 17 00 [23:16:37]MH_I2C_Read... [23:16:37]Read from MH i2c: E2 17 00 F5 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 D1 [23:16:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [23:16:37]wFMCommunicate OK [23:16:37]requested_item fd.num is exist - process it [23:16:37]SAM_PROTO_GetFieldsCounters [23:16:37]wFMCommunicate request_size=4 [23:16:37]MH_SAM_APDU [23:16:37]CAPDU: 80 13 00 00 [23:16:37]Write to MH i2c: E2 08 00 F6 0F 80 13 00 00 00 00 00 00 81 [23:16:37]Write i2c OK [23:16:37]MH_I2C_Read... [23:16:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:16:37]Read from MH i2c: E2 [23:16:37]MH_I2C_Read... [23:16:37]Read from MH i2c: E2 62 00 [23:16:37]MH_I2C_Read... [23:16:37]Read from MH i2c: E2 62 00 F6 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C6 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 59 00 00 00 5E 04 04 00 59 00 00 00 57 04 04 00 5A 00 00 00 19 04 04 00 00 00 00 00 90 00 FE [23:16: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C6 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 59 00 00 00 5E 04 04 00 59 00 00 00 57 04 04 00 5A 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:16:37]wFMCommunicate OK [23:16:37]SAM_PROTO_GetFieldsCounters done [23:16:37]requested_item shift.num is exist - process it [23:16:37]requested_item shift.opened is exist - process it [23:16:37]req_shift_opened [23:16:37]FM_GetShiftState [23:16:37]SAM_PROTO_GetShiftState [23:16:37]wFMCommunicate request_size=4 [23:16:37]MH_SAM_APDU [23:16:37]CAPDU: 80 13 01 00 [23:16:37]Write to MH i2c: E2 08 00 F7 0F 80 13 01 00 00 00 00 00 83 [23:16:37]Write i2c OK [23:16:37]MH_I2C_Read... [23:16:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:16:37]Read from MH i2c: E2 [23:16:37]MH_I2C_Read... [23:16:37]Read from MH i2c: E2 0E 00 [23:16:37]MH_I2C_Read... [23:16:37]Read from MH i2c: E2 0E 00 F7 0F 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 AC [23:16:37]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [23:16:37]wFMCommunicate OK [23:16:37]SAM_PROTO_GetShiftState done [23:16:37]FM_GetShiftState done [23:16:37]req_shift_opened done [23:16:37]requested_item shift.open_date is exist - process it [23:16:37]req_shift_open_date [23:16:37]req_shift_open_date done [23:16:37]produce_requested_data done [23:16:37]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52678,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [23:16:37]process_action_free close_receipt [23:16:37]json_value_free [23:16:37]json_value_free done [23:16:37]process_json_proto returns [23:16:37]Send response to host [23:16:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52678,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [23:16:37]free response buf [23:16:37]execute_script done [23:16:37]execute_script returns [23:16:37]free content buf [23:16:37]Sock 9.Close socket [23:16:37]Sock 9.Thread stoped [23:16:41]OFD Sender: No OFD packet to send [23:16:46]OFD Sender: No OFD packet to send [23:16:51]OFD Sender: No OFD packet to send [23:16:56]OFD Sender: No OFD packet to send [23:17:01]OFD Sender: No OFD packet to send [23:17:06]OFD Sender: No OFD packet to send [23:17:11]OFD Sender: No OFD packet to send [23:17:16]OFD Sender: No OFD packet to send [23:17:21]OFD Sender: No OFD packet to send [23:17:26]OFD Sender: No OFD packet to send [23:17:31]OFD Sender: No OFD packet to send [23:17:36]OFD Sender: No OFD packet to send [23:17:41]OFD Sender: No OFD packet to send [23:17:46]OFD Sender: No OFD packet to send [23:17:51]OFD Sender: No OFD packet to send [23:17:56]OFD Sender: No OFD packet to send [23:18:01]OFD Sender: No OFD packet to send [23:18:06]OFD Sender: No OFD packet to send [23:18:11]OFD Sender: No OFD packet to send [23:18:16]OFD Sender: No OFD packet to send [23:18:21]OFD Sender: No OFD packet to send [23:18:26]OFD Sender: No OFD packet to send [23:18:31]OFD Sender: No OFD packet to send [23:18:36]OFD Sender: No OFD packet to send [23:18:41]OFD Sender: No OFD packet to send [23:18:46]OFD Sender: No OFD packet to send [23:18:51]OFD Sender: No OFD packet to send [23:18:56]OFD Sender: No OFD packet to send [23:19:01]OFD Sender: No OFD packet to send [23:19:06]OFD Sender: No OFD packet to send [23:19:11]OFD Sender: No OFD packet to send [23:19:16]OFD Sender: No OFD packet to send [23:19:21]OFD Sender: No OFD packet to send [23:19:26]OFD Sender: No OFD packet to send [23:19:31]OFD Sender: No OFD packet to send [23:19:36]OFD Sender: No OFD packet to send [23:19:41]OFD Sender: No OFD packet to send [23:19:46]OFD Sender: No OFD packet to send [23:19:51]OFD Sender: No OFD packet to send [23:19:56]OFD Sender: No OFD packet to send [23:20:01]OFD Sender: No OFD packet to send [23:20:06]OFD Sender: No OFD packet to send [23:20:11]OFD Sender: No OFD packet to send [23:20:16]OFD Sender: No OFD packet to send [23:20:21]OFD Sender: No OFD packet to send [23:20:26]OFD Sender: No OFD packet to send [23:20:31]OFD Sender: No OFD packet to send [23:20:36]OFD Sender: No OFD packet to send [23:20:41]OFD Sender: No OFD packet to send [23:20:46]OFD Sender: No OFD packet to send [23:20:51]OFD Sender: No OFD packet to send [23:20:56]OFD Sender: No OFD packet to send [23:21:01]OFD Sender: No OFD packet to send [23:21:06]OFD Sender: No OFD packet to send [23:21:11]OFD Sender: No OFD packet to send [23:21:16]OFD Sender: No OFD packet to send [23:21:21]OFD Sender: No OFD packet to send [23:21:26]OFD Sender: No OFD packet to send [23:21:31]OFD Sender: No OFD packet to send [23:21:36]OFD Sender: No OFD packet to send [23:21:41]OFD Sender: No OFD packet to send [23:21:46]OFD Sender: No OFD packet to send [23:21:51]OFD Sender: No OFD packet to send [23:21:56]OFD Sender: No OFD packet to send [23:22:01]OFD Sender: No OFD packet to send [23:22:06]OFD Sender: No OFD packet to send [23:22:11]OFD Sender: No OFD packet to send [23:22:16]OFD Sender: No OFD packet to send [23:22:21]OFD Sender: No OFD packet to send [23:22:26]OFD Sender: No OFD packet to send [23:22:31]OFD Sender: No OFD packet to send [23:22:36]OFD Sender: No OFD packet to send [23:22:41]OFD Sender: No OFD packet to send [23:22:46]OFD Sender: No OFD packet to send [23:22:51]OFD Sender: No OFD packet to send [23:22:56]OFD Sender: No OFD packet to send [23:23:01]OFD Sender: No OFD packet to send [23:23:06]OFD Sender: No OFD packet to send [23:23:11]OFD Sender: No OFD packet to send [23:23:16]OFD Sender: No OFD packet to send [23:23:21]OFD Sender: No OFD packet to send [23:23:26]OFD Sender: No OFD packet to send [23:23:31]OFD Sender: No OFD packet to send [23:23:36]OFD Sender: No OFD packet to send [23:23:41]OFD Sender: No OFD packet to send [23:23:46]OFD Sender: No OFD packet to send [23:23:51]OFD Sender: No OFD packet to send [23:23:56]OFD Sender: No OFD packet to send [23:24:01]OFD Sender: No OFD packet to send [23:24:06]OFD Sender: No OFD packet to send [23:24:11]OFD Sender: No OFD packet to send [23:24:16]OFD Sender: No OFD packet to send [23:24:21]OFD Sender: No OFD packet to send [23:24:26]OFD Sender: No OFD packet to send [23:24:31]OFD Sender: No OFD packet to send [23:24:36]OFD Sender: No OFD packet to send [23:24:41]OFD Sender: No OFD packet to send [23:24:46]OFD Sender: No OFD packet to send [23:24:51]OFD Sender: No OFD packet to send [23:24:56]OFD Sender: No OFD packet to send [23:25:01]OFD Sender: No OFD packet to send [23:25:06]OFD Sender: No OFD packet to send [23:25:11]OFD Sender: No OFD packet to send [23:25:16]OFD Sender: No OFD packet to send [23:25:21]OFD Sender: No OFD packet to send [23:25:26]OFD Sender: No OFD packet to send [23:25:31]OFD Sender: No OFD packet to send [23:25:36]OFD Sender: No OFD packet to send [23:25:41]OFD Sender: No OFD packet to send [23:25:46]OFD Sender: No OFD packet to send [23:25:51]OFD Sender: No OFD packet to send [23:25:56]OFD Sender: No OFD packet to send [23:26:01]OFD Sender: No OFD packet to send [23:26:06]OFD Sender: No OFD packet to send [23:26:11]OFD Sender: No OFD packet to send [23:26:16]OFD Sender: No OFD packet to send [23:26:21]OFD Sender: No OFD packet to send [23:26:26]OFD Sender: No OFD packet to send [23:26:31]OFD Sender: No OFD packet to send [23:26:36]OFD Sender: No OFD packet to send [23:26:41]OFD Sender: No OFD packet to send [23:26:46]OFD Sender: No OFD packet to send [23:26:51]OFD Sender: No OFD packet to send [23:26:56]OFD Sender: No OFD packet to send [23:27:01]OFD Sender: No OFD packet to send [23:27:06]OFD Sender: No OFD packet to send [23:27:11]OFD Sender: No OFD packet to send [23:27:16]OFD Sender: No OFD packet to send [23:27:21]OFD Sender: No OFD packet to send [23:27:26]OFD Sender: No OFD packet to send [23:27:31]OFD Sender: No OFD packet to send [23:27:36]OFD Sender: No OFD packet to send [23:27:41]OFD Sender: No OFD packet to send [23:27:46]OFD Sender: No OFD packet to send [23:27:51]OFD Sender: No OFD packet to send [23:27:56]OFD Sender: No OFD packet to send [23:28:01]OFD Sender: No OFD packet to send [23:28:06]OFD Sender: No OFD packet to send [23:28:11]OFD Sender: No OFD packet to send [23:28:16]OFD Sender: No OFD packet to send [23:28:21]OFD Sender: No OFD packet to send [23:28:26]OFD Sender: No OFD packet to send [23:28:31]OFD Sender: No OFD packet to send [23:28:36]OFD Sender: No OFD packet to send [23:28:41]OFD Sender: No OFD packet to send [23:28:46]OFD Sender: No OFD packet to send [23:28:51]OFD Sender: No OFD packet to send [23:28:56]OFD Sender: No OFD packet to send [23:29:01]OFD Sender: No OFD packet to send [23:29:06]OFD Sender: No OFD packet to send [23:29:11]OFD Sender: No OFD packet to send [23:29:16]OFD Sender: No OFD packet to send [23:29:21]OFD Sender: No OFD packet to send [23:29:26]OFD Sender: No OFD packet to send [23:29:31]OFD Sender: No OFD packet to send [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:51]OFD Sender: No OFD packet to send [23:29:56]OFD Sender: No OFD packet to send [23:30:01]OFD Sender: No OFD packet to send [23:30:06]OFD Sender: No OFD packet to send [23:30:11]OFD Sender: No OFD packet to send [23:30:16]OFD Sender: No OFD packet to send [23:30:21]OFD Sender: No OFD packet to send [23:30:26]OFD Sender: No OFD packet to send [23:30:31]OFD Sender: No OFD packet to send [23:30:36]OFD Sender: No OFD packet to send [23:30:41]OFD Sender: No OFD packet to send [23:30:46]OFD Sender: No OFD packet to send [23:30:51]OFD Sender: No OFD packet to send [23:30:56]OFD Sender: No OFD packet to send [23:31:01]OFD Sender: No OFD packet to send [23:31:06]OFD Sender: No OFD packet to send [23:31:12]OFD Sender: No OFD packet to send [23:31:17]OFD Sender: No OFD packet to send [23:31:22]OFD Sender: No OFD packet to send [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]OFD Sender: No OFD packet to send [23:34:32]OFD Sender: No OFD packet to send [23:34:37]OFD Sender: No OFD packet to send [23:34:42]OFD Sender: No OFD packet to send [23:34:47]OFD Sender: No OFD packet to send [23:34:52]OFD Sender: No OFD packet to send [23:34:57]OFD Sender: No OFD packet to send [23:35:02]OFD Sender: No OFD packet to send [23:35:07]OFD Sender: No OFD packet to send [23:35:12]OFD Sender: No OFD packet to send [23:35:17]OFD Sender: No OFD packet to send [23:35:22]OFD Sender: No OFD packet to send [23:35:27]OFD Sender: No OFD packet to send [23:35:32]OFD Sender: No OFD packet to send [23:35:37]OFD Sender: No OFD packet to send [23:35:42]OFD Sender: No OFD packet to send [23:35:47]OFD Sender: No OFD packet to send [23:35:52]OFD Sender: No OFD packet to send [23:35:57]OFD Sender: No OFD packet to send [23:36:02]OFD Sender: No OFD packet to send [23:36:07]OFD Sender: No OFD packet to send [23:36:12]OFD Sender: No OFD packet to send [23:36:17]OFD Sender: No OFD packet to send [23:36:22]OFD Sender: No OFD packet to send [23:36:27]OFD Sender: No OFD packet to send [23:36:32]OFD Sender: No OFD packet to send [23:36:37]OFD Sender: No OFD packet to send [23:36:42]OFD Sender: No OFD packet to send [23:36:47]OFD Sender: No OFD packet to send [23:36:52]OFD Sender: No OFD packet to send [23:36:57]OFD Sender: No OFD packet to send [23:37:02]OFD Sender: No OFD packet to send [23:37:07]OFD Sender: No OFD packet to send [23:37:12]OFD Sender: No OFD packet to send [23:37:17]OFD Sender: No OFD packet to send [23:37:22]OFD Sender: No OFD packet to send [23:37:27]OFD Sender: No OFD packet to send [23:37:32]OFD Sender: No OFD packet to send [23:37:37]OFD Sender: No OFD packet to send [23:37:42]OFD Sender: No OFD packet to send [23:37:47]OFD Sender: No OFD packet to send [23:37:52]OFD Sender: No OFD packet to send [23:37:57]OFD Sender: No OFD packet to send [23:38:02]OFD Sender: No OFD packet to send [23:38:07]OFD Sender: No OFD packet to send [23:38:12]OFD Sender: No OFD packet to send [23:38:17]OFD Sender: No OFD packet to send [23:38:22]OFD Sender: No OFD packet to send [23:38:27]OFD Sender: No OFD packet to send [23:38:32]OFD Sender: No OFD packet to send [23:38:37]OFD Sender: No OFD packet to send [23:38:42]OFD Sender: No OFD packet to send [23:38:47]OFD Sender: No OFD packet to send [23:38:52]OFD Sender: No OFD packet to send [23:38:57]OFD Sender: No OFD packet to send [23:39:02]OFD Sender: No OFD packet to send [23:39:07]OFD Sender: No OFD packet to send [23:39:12]OFD Sender: No OFD packet to send [23:39:13]accept exits with 7 [23:39:13]New connection [23:39:13]New thread 3067293028 created [23:39:13]Thread 3067149668 joined [23:39:13]Waiting for new connection... [23:39:13] Sock 7.Parse request [23:39:13]Sock 7.Check first char [23:39:13]Sock 7.First char is OK [23:39:13]request: POST /json_proto HTTP/1.0 [23:39:13]Method: POST [23:39:13]URL: /json_proto [23:39:13]Method is POST - this is cgi request [23:39:13]url: /json_proto [23:39:13]query_string will be loaded in cgi processing [23:39:13]execute_cgi json_proto POST (null) [23:39:13]execute_cgi path=json_proto method=POST [23:39:13]POST find Content-Length [23:39:13]Host: 172.17.60.7:8080 [23:39:13]Content-Length: 1263 [23:39:13]Content-Type: application/json [23:39:13] [23:39:13]POST finish read [23:39:13]Found Content-Length = 1263 [23:39:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122810", "tax_sys" : 0, "items" : [ { "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 156.00, "quantity" : 2.000, "sum" : 312.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400266", "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 90 \u0433\u0440", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 582.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:39:13]execute_script... [23:39:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122810", "tax_sys" : 0, "items" : [ { "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 156.00, "quantity" : 2.000, "sum" : 312.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400266", "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 90 \u0433\u0440", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 582.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:39:13]POST & json_proto [23:39:13]process_json_proto [23:39:13]json parsed OK: [23:39:13]protocol is kg_v1.0 [23:39:13]action value=close_receipt [23:39:13]process_action close_receipt [23:39:13]cmd_close_receipt [23:39:13]MH_GetDate [23:39:13]Write to MH i2c: F0 00 00 F8 0F F6 [23:39:13]Write i2c OK [23:39:13]MH_I2C_Read... [23:39:13]Read from MH i2c: F0 [23:39:13]MH_I2C_Read... [23:39:13]Read from MH i2c: F0 09 00 [23:39:13]MH_I2C_Read... [23:39:13]Read from MH i2c: F0 09 00 F8 0F 00 A4 4B B9 66 63 9B 67 64 D6 [23:39:13]GetLastDocTimeStamp 1723418195 [23:39:13]current date 1723419556 [23:39:13]FM_GetShiftState [23:39:13]SAM_PROTO_GetShiftState [23:39:13]wFMCommunicate request_size=4 [23:39:13]MH_SAM_APDU [23:39:13]CAPDU: 80 13 01 00 [23:39:13]Write to MH i2c: E2 08 00 F9 0F 80 13 01 00 00 00 00 00 85 [23:39:13]Write i2c OK [23:39:13]MH_I2C_Read... [23:39:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:39:13]Read from MH i2c: E2 [23:39:13]MH_I2C_Read... [23:39:13]Read from MH i2c: E2 0E 00 [23:39:13]MH_I2C_Read... [23:39:13]Read from MH i2c: E2 0E 00 F9 0F 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 AE [23:39:13]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [23:39:13]wFMCommunicate OK [23:39:13]SAM_PROTO_GetShiftState done [23:39:13]FM_GetShiftState done [23:39:13]opened in 1723336186 [23:39:13]opened+sec_in_day 1723422586 [23:39:13]quantity*price = 17000 [23:39:13]sum+1 = 17001 [23:39:13]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480517 Пиво Живое 1л ПЭТ 2.000 * 156.00 = 312.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4630007400266 Арахис жарен Караван орехов 90 гр 1.000 * 100.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 582.00 НСП 1% : 5.14 НДС 12% : 61.80 Наличными: 582.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 90 11.08.2024 23:39 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52679 ФПД: 150719590210772 /tax-web-control/client/api/v1/ticket?date=20240811T233916&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52679&fm=150719590210772&tin=02508201610067®Number=0000000000090834&sum=58200 0 [23:39:14]StoreToDocumentArchive [23:39:14]shift 446 fd 52679 [23:39:14]save to /storage/0446/doc_00052679 [23:39:14]save last doc name /storage/0446/doc_00052679 to /storage/kkm_last_doc_name [23:39:14]save OK [23:39:14]Clear old archive folders... [23:39:14]ProcessDocumentItem done err = 0, tmpTLVsize=515 [23:39:14]tlvbuf is 012959A0 [23:39:14]SAM_PROTO_ClearQueue [23:39:14]wFMCommunicate request_size=4 [23:39:14]MH_SAM_APDU [23:39:14]CAPDU: 80 09 00 00 [23:39:14]Write to MH i2c: E2 08 00 06 10 80 09 00 00 00 00 00 00 88 [23:39:14]Write i2c OK [23:39:14]MH_I2C_Read... [23:39:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:39:14]Read from MH i2c: E2 [23:39:14]MH_I2C_Read... [23:39:14]Read from MH i2c: E2 03 00 [23:39:14]MH_I2C_Read... [23:39:14]Read from MH i2c: E2 03 00 06 10 00 90 00 8A [23:39:14]RAPDU: 90 00 [23:39:14]wFMCommunicate OK [23:39:14]SAM_PROTO_ClearQueue done [23:39:14]KKMCreateOFDPacket [23:39:14]OFDProtocolAddRootSTLVToBuf [23:39:14]FM_MakeSignedData [23:39:14]FM_MakeSignedData [23:39:14]SAM_PROTO_SignData [23:39:14]wFMCommunicate request_size=4 [23:39:14]MH_SAM_APDU [23:39:14]CAPDU: 80 0D 01 02 [23:39:14]Write to MH i2c: E2 08 00 07 10 80 0D 01 02 00 00 00 00 90 [23:39:14]Write i2c OK [23:39:14]MH_I2C_Read... [23:39:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:39:14]Read from MH i2c: E2 [23:39:14]MH_I2C_Read... [23:39:14]Read from MH i2c: E2 03 00 [23:39:14]MH_I2C_Read... [23:39:14]Read from MH i2c: E2 03 00 07 10 00 90 00 8B [23:39:14]RAPDU: 90 00 [23:39:14]wFMCommunicate OK [23:39:14]wFMCommunicate request_size=255 [23:39:14]MH_SAM_APDU [23:39:14]CAPDU: 80 0D 02 02 FA 03 00 03 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 E0 79 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 [23:39:15]Write to MH i2c: E2 02 01 08 10 80 0D 02 02 FA 00 03 00 03 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 E0 79 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 00 00 AA [23:39:15]Write i2c OK [23:39:15]MH_I2C_Read... [23:39:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:39:15]Read from MH i2c: E2 [23:39:15]MH_I2C_Read... [23:39:15]Read from MH i2c: E2 03 00 [23:39:15]MH_I2C_Read... [23:39:15]Read from MH i2c: E2 03 00 08 10 00 90 00 8C [23:39:15]RAPDU: 90 00 [23:39:15]wFMCommunicate OK [23:39:15]wFMCommunicate request_size=255 [23:39:15]MH_SAM_APDU [23:39:15]CAPDU: 80 0D 02 02 FA 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 FC 03 06 00 58 E3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 02 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 18 00 00 00 00 07 04 06 00 58 E3 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 A4 4B B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 [23:39:15]Write to MH i2c: E2 02 01 09 10 80 0D 02 02 FA 00 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 FC 03 06 00 58 E3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 02 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 18 00 00 00 00 07 04 06 00 58 E3 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 A4 4B B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 00 00 ED [23:39:15]Write i2c OK [23:39:15]MH_I2C_Read... [23:39:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:39:15]Read from MH i2c: E2 [23:39:15]MH_I2C_Read... [23:39:15]Read from MH i2c: E2 03 00 [23:39:15]MH_I2C_Read... [23:39:15]Read from MH i2c: E2 03 00 09 10 00 90 00 8D [23:39:15]RAPDU: 90 00 [23:39:15]wFMCommunicate OK [23:39:15]wFMCommunicate request_size=24 [23:39:15]MH_SAM_APDU [23:39:15]CAPDU: 80 0D 02 02 13 35 10 04 04 00 C7 CD 00 00 35 04 06 00 89 14 23 A2 9C D4 [23:39:15]Write to MH i2c: E2 1B 00 0A 10 80 0D 02 02 13 00 35 10 04 04 00 C7 CD 00 00 35 04 06 00 89 14 23 A2 9C D4 00 00 AC [23:39:15]Write i2c OK [23:39:15]MH_I2C_Read... [23:39:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:39:15]Read from MH i2c: E2 [23:39:15]MH_I2C_Read... [23:39:15]Read from MH i2c: E2 03 00 [23:39:15]MH_I2C_Read... [23:39:15]Read from MH i2c: E2 03 00 0A 10 00 90 00 8E [23:39:15]RAPDU: 90 00 [23:39:15]wFMCommunicate OK [23:39:15]wFMCommunicate request_size=4 [23:39:15]MH_SAM_APDU [23:39:15]CAPDU: 80 0D 03 02 [23:39:15]Write to MH i2c: E2 08 00 0B 10 80 0D 03 02 00 00 00 00 96 [23:39:15]Write i2c OK [23:39:15]MH_I2C_Read... [23:39:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:39:15]Read from MH i2c: E2 [23:39:15]MH_I2C_Read... [23:39:15]Read from MH i2c: E2 0B 00 [23:39:15]MH_I2C_Read... [23:39:15]Read from MH i2c: E2 0B 00 0B 10 00 9D 6D 20 C9 89 C0 E7 E2 90 00 9C [23:39:15]RAPDU: 9D 6D 20 C9 89 C0 E7 E2 90 00 [23:39:15]wFMCommunicate OK [23:39:15]SAM_PROTO_SignData done [23:39:15]FM_MakeSignedData done [23:39:15]CreateOFDProtocolMessage [23:39:15]wFMCommunicate request_size=4 [23:39:15]MH_SAM_APDU [23:39:15]CAPDU: 80 11 00 00 [23:39:15]Write to MH i2c: E2 08 00 0C 10 80 11 00 00 00 00 00 00 96 [23:39:15]Write i2c OK [23:39:15]MH_I2C_Read... [23:39:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:39:16]Read from MH i2c: E2 [23:39:16]MH_I2C_Read... [23:39:16]Read from MH i2c: E2 17 00 [23:39:16]MH_I2C_Read... [23:39:16]Read from MH i2c: E2 17 00 0C 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 E9 [23:39:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [23:39:16]wFMCommunicate OK [23:39:16]CreateOFDProtocolMessage done [23:39:16]OFDSenderStorePacket 52679 [23:39:16]StoreOFDPacket docnum=52679 [23:39:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 17 02 00 00 85 B1 0F 02 9E 73 5A 03 01 00 03 00 03 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 E0 79 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 FC 03 06 00 58 E3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 02 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 18 00 00 00 00 07 04 06 00 58 E3 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 A4 4B B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C7 CD 00 00 35 04 06 00 89 14 23 A2 9C D4 9D 6D 20 C9 89 C0 E7 E2 [23:39:16]CheckFolder [23:39:16]dirname=/storage/ofd_packets [23:39:16]CheckFolder done [23:39:16]ProducePacketName [23:39:16]name=ofd_packets/00052679 [23:39:16]NVStorageSaveData ofd_packets/00052679 [23:39:16]File name is /storage/ofd_packets/00052679 [23:39:16]Write 565 bytes [23:39:16]NVStorageSaveData done [23:39:16]OFDSenderStorePacket done [23:39:16]KKMCreateOFDPacket done [23:39:16]NVStorageSaveData kkm_last_timestamp [23:39:16]File name is /storage/kkm_last_timestamp [23:39:16]Write 4 bytes [23:39:16]NVStorageSaveData done [23:39:16]ExternCall_PrintAddStr [23:39:16]wPrintStart [23:39:16]Write to MH i2c: 01 00 00 0D 10 1D [23:39:16]Write i2c OK [23:39:16]MH_I2C_Read... [23:39:16]Read from MH i2c: 01 [23:39:16]MH_I2C_Read... [23:39:16]Read from MH i2c: 01 07 00 [23:39:16]MH_I2C_Read... [23:39:16]Read from MH i2c: 01 07 00 0D 10 00 00 00 00 00 FF 0F 32 [23:39:16]RasterBufferAndPrint [23:39:16]line Счет N : (3)122810 [23:39:16]line ИНН: 02508201610067 [23:39:16]line Контрольно-Кассовый Чек [23:39:16]line ПРОДАЖА [23:39:16]line Товар: 4700000480357 [23:39:16]line Пиво шахтерское 1л ПЭТ [23:39:16]line 1.000 * 170.00 [23:39:16]line = 170.00 [23:39:16]line НДС 12% НСП 1% [23:39:16]line > о реализуемом товаре [23:39:16]line Товар: 4700000480517 [23:39:16]line Пиво Живое 1л ПЭТ [23:39:16]line 2.000 * 156.00 [23:39:16]line = 312.00 [23:39:16]line НДС 12% НСП 1% [23:39:16]line > о реализуемом товаре [23:39:16]line Товар: 4630007400266 [23:39:16]line Арахис жарен Караван орехов 90 гр [23:39:16]line 1.000 * 100.00 [23:39:16]line = 100.00 [23:39:16]line НДС 12% НСП 1% [23:39:16]line > о реализуемом товаре [23:39:16]line ИТОГО: 582.00 [23:39:16]line НСП 1% : 5.14 [23:39:16]line НДС 12% : 61.80 [23:39:16]line Наличными: 582.00 [23:39:16]line Безнал.: 0.00 [23:39:16]line Место: АЗС № 54 "Партнер Нефть" [23:39:16]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [23:39:16]line СНО: Общий режим [23:39:16]line Чек 90 11.08.2024 23:39 [23:39:16]line Смена: 446 ФФД: 1.0 [23:39:16]line ЗНМ: 0300000007 [23:39:16]line РНМ: 0000000000090834 [23:39:16]line Версия ККМ: 001 [23:39:16]line ФМ: 0000000000874715 [23:39:16]line ФД: 52679 [23:39:16]line ФПД: 150719590210772 [23:39:16]line /tax-web-control/client/api/v1/ticket?date=20240811T233916&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52679&fm=150719590210772&tin=02508201610067®Number=0000000000090834&sum=58200 [23:39:16]line 0 [23:39:16]written 0, free lines is 4095 [23:39:16]OFD Sender: Processing packet 52679 [packets to send 55, broken 54] [23:39:16]ProducePacketName [23:39:16]name=ofd_packets/00052679 [23:39:16]OFD Sender: To server: pG, [23:39:16]CommunicateWithHost lk.salyk.kg:30040 [23:39:16]ConnectInit lk.salyk.kg [23:39:16]Connected sock=10 [23:39:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 17 02 00 00 85 B1 0F 02 9E 73 5A 03 01 00 03 00 03 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 E0 79 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 FC 03 06 00 58 E3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 02 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 18 00 00 00 00 07 04 06 00 58 E3 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 A4 4B B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C7 CD 00 00 35 04 06 00 89 14 23 A2 9C D4 9D 6D 20 C9 89 C0 E7 E2 [23:39:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 A5 BF 47 00 9D 0E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C7 CD 00 00 F4 03 04 00 3E F3 B8 66 B6 04 01 00 00 CD 5E 32 9B 74 91 CF BF [23:39:16]CommunicateWithHost err = 0 [23:39:16]CheckOFDResponse [23:39:16]1017 (14) - 77093643461234 [23:39:16]1041 (16) - 0000000000874715 [23:39:16]1040 (4) - 52679 [23:39:16]1012 (4) - 11.08.2024 17:22 [23:39:16]1206 (1) - 0 [23:39:16]OFD Sender: Remove packet 52679 [23:39:16]ProducePacketName [23:39:16]name=ofd_packets/00052679 [23:39:16]NVStorageDeleteData [23:39:16]Write to MH i2c: 01 00 00 41 10 51 [23:39:16]Write i2c OK [23:39:16]MH_I2C_Read... [23:39:16]Read from MH i2c: 01 [23:39:16]MH_I2C_Read... [23:39:16]Read from MH i2c: 01 07 00 [23:39:16]MH_I2C_Read... [23:39:16]Read from MH i2c: 01 07 00 41 10 00 00 00 00 00 0C 0C 70 [23:39:16]RasterBufferAndPrint [23:39:16]line [23:39:16]line [23:39:16]line [23:39:16]line [23:39:16]line [23:39:16]written 0, free lines is 3092 [23:39:16]MH_Cut [23:39:16]Write to MH i2c: D1 01 00 48 10 01 2A [23:39:16]Write i2c OK [23:39:16]MH_I2C_Read... [23:39:16]Read from MH i2c: D1 [23:39:16]MH_I2C_Read... [23:39:16]Read from MH i2c: D1 01 00 [23:39:16]MH_I2C_Read... [23:39:16]Read from MH i2c: D1 01 00 48 10 00 29 [23:39:16]Write to MH i2c: 01 00 00 49 10 59 [23:39:16]Write i2c OK [23:39:16]MH_I2C_Read... [23:39:17]OFD Sender: No OFD packet to send [23:39:17]*** Cut start [23:39:17]*** Purtial cut [23:39:17]*** Stage 1: CUTSNS_PIN = 1 [23:39:17]Read from MH i2c: 01 [23:39:17]MH_I2C_Read... [23:39:17]*** Stop cut motor [23:39:17]*** Cut end [23:39:17]Read from MH i2c: 01 07 00 [23:39:17]MH_I2C_Read... [23:39:17]Read from MH i2c: 01 07 00 49 10 00 00 00 00 00 FF 0F 6E [23:39:17]process_action close_receipt done [23:39:17]requested_data is exist [23:39:17]produce_requested_data [23:39:17]requested_item fm.sn is exist - process it [23:39:17]wFMCommunicate request_size=4 [23:39:17]MH_SAM_APDU [23:39:17]CAPDU: 80 11 00 00 [23:39:17]Write to MH i2c: E2 08 00 4A 10 80 11 00 00 00 00 00 00 D4 [23:39:17]Write i2c OK [23:39:17]MH_I2C_Read... [23:39:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:39:17]Read from MH i2c: E2 [23:39:17]MH_I2C_Read... [23:39:17]Read from MH i2c: E2 17 00 [23:39:17]MH_I2C_Read... [23:39:17]Read from MH i2c: E2 17 00 4A 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 27 [23:39:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [23:39:17]wFMCommunicate OK [23:39:17]requested_item fd.num is exist - process it [23:39:17]SAM_PROTO_GetFieldsCounters [23:39:17]wFMCommunicate request_size=4 [23:39:17]MH_SAM_APDU [23:39:17]CAPDU: 80 13 00 00 [23:39:17]Write to MH i2c: E2 08 00 4B 10 80 13 00 00 00 00 00 00 D7 [23:39:17]Write i2c OK [23:39:17]MH_I2C_Read... [23:39:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:39:18]Read from MH i2c: E2 [23:39:18]MH_I2C_Read... [23:39:18]Read from MH i2c: E2 62 00 [23:39:18]MH_I2C_Read... [23:39:18]Read from MH i2c: E2 62 00 4B 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C7 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 00 00 00 19 04 04 00 00 00 00 00 90 00 58 [23:39: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C7 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5A 00 00 00 5E 04 04 00 5A 00 00 00 57 04 04 00 5B 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:39:18]wFMCommunicate OK [23:39:18]SAM_PROTO_GetFieldsCounters done [23:39:18]requested_item shift.num is exist - process it [23:39:18]requested_item shift.opened is exist - process it [23:39:18]req_shift_opened [23:39:18]FM_GetShiftState [23:39:18]SAM_PROTO_GetShiftState [23:39:18]wFMCommunicate request_size=4 [23:39:18]MH_SAM_APDU [23:39:18]CAPDU: 80 13 01 00 [23:39:18]Write to MH i2c: E2 08 00 4C 10 80 13 01 00 00 00 00 00 D9 [23:39:18]Write i2c OK [23:39:18]MH_I2C_Read... [23:39:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:39:18]Read from MH i2c: E2 [23:39:18]MH_I2C_Read... [23:39:18]Read from MH i2c: E2 0E 00 [23:39:18]MH_I2C_Read... [23:39:18]Read from MH i2c: E2 0E 00 4C 10 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 02 [23:39:18]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [23:39:18]wFMCommunicate OK [23:39:18]SAM_PROTO_GetShiftState done [23:39:18]FM_GetShiftState done [23:39:18]req_shift_opened done [23:39:18]requested_item shift.open_date is exist - process it [23:39:18]req_shift_open_date [23:39:18]req_shift_open_date done [23:39:18]produce_requested_data done [23:39:18]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52679,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [23:39:18]process_action_free close_receipt [23:39:18]json_value_free [23:39:18]json_value_free done [23:39:18]process_json_proto returns [23:39:18]Send response to host [23:39:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52679,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [23:39:18]free response buf [23:39:18]execute_script done [23:39:18]execute_script returns [23:39:18]free content buf [23:39:18]Sock 7.Close socket [23:39:18]Sock 7.Thread stoped [23:39:22]OFD Sender: No OFD packet to send [23:39:27]OFD Sender: No OFD packet to send [23:39:32]OFD Sender: No OFD packet to send [23:39:37]OFD Sender: No OFD packet to send [23:39:42]OFD Sender: No OFD packet to send [23:39:47]OFD Sender: No OFD packet to send [23:39:52]OFD Sender: No OFD packet to send [23:39:57]OFD Sender: No OFD packet to send [23:40:02]OFD Sender: No OFD packet to send [23:40:07]OFD Sender: No OFD packet to send [23:40:12]OFD Sender: No OFD packet to send [23:40:17]OFD Sender: No OFD packet to send [23:40:22]OFD Sender: No OFD packet to send [23:40:27]OFD Sender: No OFD packet to send [23:40:32]OFD Sender: No OFD packet to send [23:40:34]accept exits with 9 [23:40:34]New connection [23:40:34]New thread 3067149668 created [23:40:34]Thread 3067293028 joined [23:40:34]Waiting for new connection... [23:40:34] Sock 9.Parse request [23:40:34]Sock 9.Check first char [23:40:34]Sock 9.First char is OK [23:40:34]request: POST /json_proto HTTP/1.0 [23:40:34]Method: POST [23:40:34]URL: /json_proto [23:40:34]Method is POST - this is cgi request [23:40:34]url: /json_proto [23:40:34]query_string will be loaded in cgi processing [23:40:34]execute_cgi json_proto POST (null) [23:40:34]execute_cgi path=json_proto method=POST [23:40:34]POST find Content-Length [23:40:34]Host: 172.17.60.7:8080 [23:40:34]Content-Length: 1301 [23:40:34]Content-Type: application/json [23:40:34] [23:40:34]POST finish read [23:40:34]Found Content-Length = 1301 [23:40:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122811", "tax_sys" : 0, "items" : [ { "code": "50173822", "name": "\u0420/\u0436 Orbit \u0431/\u0441\u0430\u0445 \u043C\u044F\u0442\u0430 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:40:34]execute_script... [23:40:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122811", "tax_sys" : 0, "items" : [ { "code": "50173822", "name": "\u0420/\u0436 Orbit \u0431/\u0441\u0430\u0445 \u043C\u044F\u0442\u0430 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:40:34]POST & json_proto [23:40:34]process_json_proto [23:40:34]json parsed OK: [23:40:34]protocol is kg_v1.0 [23:40:34]action value=close_receipt [23:40:34]process_action close_receipt [23:40:34]cmd_close_receipt [23:40:34]MH_GetDate [23:40:34]Write to MH i2c: F0 00 00 4D 10 4C [23:40:34]Write i2c OK [23:40:34]MH_I2C_Read... [23:40:34]Read from MH i2c: F0 [23:40:34]MH_I2C_Read... [23:40:34]Read from MH i2c: F0 09 00 [23:40:34]MH_I2C_Read... [23:40:34]Read from MH i2c: F0 09 00 4D 10 00 F5 4B B9 66 63 9B 67 64 7D [23:40:34]GetLastDocTimeStamp 1723419556 [23:40:34]current date 1723419637 [23:40:34]FM_GetShiftState [23:40:34]SAM_PROTO_GetShiftState [23:40:34]wFMCommunicate request_size=4 [23:40:34]MH_SAM_APDU [23:40:34]CAPDU: 80 13 01 00 [23:40:34]Write to MH i2c: E2 08 00 4E 10 80 13 01 00 00 00 00 00 DB [23:40:34]Write i2c OK [23:40:34]MH_I2C_Read... [23:40:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:40:34]Read from MH i2c: E2 [23:40:34]MH_I2C_Read... [23:40:34]Read from MH i2c: E2 0E 00 [23:40:34]MH_I2C_Read... [23:40:34]Read from MH i2c: E2 0E 00 4E 10 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 04 [23:40:34]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [23:40:34]wFMCommunicate OK [23:40:34]SAM_PROTO_GetShiftState done [23:40:34]FM_GetShiftState done [23:40:34]opened in 1723336186 [23:40:34]opened+sec_in_day 1723422586 [23:40:34]quantity*price = 4500 [23:40:34]sum+1 = 4501 [23:40:34]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160204 Вода Легенда 1,5л 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46226624 Mentos ПВ Клубника 6*100*2 1.000 * 10.00 = 10.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 0.00 Безнал.: 115.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 91 11.08.2024 23:40 Смена: 446 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874715 ФД: 52680 ФПД: 113777030637870 /tax-web-control/client/api/v1/ticket?date=20240811T234037&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52680&fm=113777030637870&tin=02508201610067®Number=0000000000090834&sum=11500 0 [23:40:35]StoreToDocumentArchive [23:40:35]shift 446 fd 52680 [23:40:35]save to /storage/0446/doc_00052680 [23:40:35]save last doc name /storage/0446/doc_00052680 to /storage/kkm_last_doc_name [23:40:35]save OK [23:40:35]Clear old archive folders... [23:40:35]ProcessDocumentItem done err = 0, tmpTLVsize=478 [23:40:35]tlvbuf is 01266ED0 [23:40:35]SAM_PROTO_ClearQueue [23:40:35]wFMCommunicate request_size=4 [23:40:35]MH_SAM_APDU [23:40:35]CAPDU: 80 09 00 00 [23:40:35]Write to MH i2c: E2 08 00 5B 10 80 09 00 00 00 00 00 00 DD [23:40:35]Write i2c OK [23:40:35]MH_I2C_Read... [23:40:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:40:35]Read from MH i2c: E2 [23:40:35]MH_I2C_Read... [23:40:35]Read from MH i2c: E2 03 00 [23:40:35]MH_I2C_Read... [23:40:35]Read from MH i2c: E2 03 00 5B 10 00 90 00 DF [23:40:35]RAPDU: 90 00 [23:40:35]wFMCommunicate OK [23:40:35]SAM_PROTO_ClearQueue done [23:40:35]KKMCreateOFDPacket [23:40:35]OFDProtocolAddRootSTLVToBuf [23:40:35]FM_MakeSignedData [23:40:35]FM_MakeSignedData [23:40:35]SAM_PROTO_SignData [23:40:35]wFMCommunicate request_size=4 [23:40:35]MH_SAM_APDU [23:40:35]CAPDU: 80 0D 01 02 [23:40:35]Write to MH i2c: E2 08 00 5C 10 80 0D 01 02 00 00 00 00 E5 [23:40:35]Write i2c OK [23:40:35]MH_I2C_Read... [23:40:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:40:36]Read from MH i2c: E2 [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: E2 03 00 [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: E2 03 00 5C 10 00 90 00 E0 [23:40:36]RAPDU: 90 00 [23:40:36]wFMCommunicate OK [23:40:36]wFMCommunicate request_size=255 [23:40:36]MH_SAM_APDU [23:40:36]CAPDU: 80 0D 02 02 FA 03 00 DE 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB [23:40:36]Write to MH i2c: E2 02 01 5D 10 80 0D 02 02 FA 00 03 00 DE 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB 00 00 D5 [23:40:36]Write i2c OK [23:40:36]MH_I2C_Read... [23:40:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:40:36]Read from MH i2c: E2 [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: E2 03 00 [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: E2 03 00 5D 10 00 90 00 E1 [23:40:36]RAPDU: 90 00 [23:40:36]wFMCommunicate OK [23:40:36]wFMCommunicate request_size=237 [23:40:36]MH_SAM_APDU [23:40:36]CAPDU: 80 0D 02 02 E8 D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 F5 4B B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C8 CD 00 00 35 04 06 00 67 7A C7 7E A9 2E [23:40:36]Write to MH i2c: E2 F0 00 5E 10 80 0D 02 02 E8 00 D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 F5 4B B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C8 CD 00 00 35 04 06 00 67 7A C7 7E A9 2E 00 00 A4 [23:40:36]Write i2c OK [23:40:36]MH_I2C_Read... [23:40:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:40:36]Read from MH i2c: E2 [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: E2 03 00 [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: E2 03 00 5E 10 00 90 00 E2 [23:40:36]RAPDU: 90 00 [23:40:36]wFMCommunicate OK [23:40:36]wFMCommunicate request_size=4 [23:40:36]MH_SAM_APDU [23:40:36]CAPDU: 80 0D 03 02 [23:40:36]Write to MH i2c: E2 08 00 5F 10 80 0D 03 02 00 00 00 00 EA [23:40:36]Write i2c OK [23:40:36]MH_I2C_Read... [23:40:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:40:36]Read from MH i2c: E2 [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: E2 0B 00 [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: E2 0B 00 5F 10 00 C3 A4 9A 77 FF CA 5D D8 90 00 61 [23:40:36]RAPDU: C3 A4 9A 77 FF CA 5D D8 90 00 [23:40:36]wFMCommunicate OK [23:40:36]SAM_PROTO_SignData done [23:40:36]FM_MakeSignedData done [23:40:36]CreateOFDProtocolMessage [23:40:36]wFMCommunicate request_size=4 [23:40:36]MH_SAM_APDU [23:40:36]CAPDU: 80 11 00 00 [23:40:36]Write to MH i2c: E2 08 00 60 10 80 11 00 00 00 00 00 00 EA [23:40:36]Write i2c OK [23:40:36]MH_I2C_Read... [23:40:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:40:36]Read from MH i2c: E2 [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: E2 17 00 [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: E2 17 00 60 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 3D [23:40:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [23:40:36]wFMCommunicate OK [23:40:36]CreateOFDProtocolMessage done [23:40:36]OFDSenderStorePacket 52680 [23:40:36]StoreOFDPacket docnum=52680 [23:40:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 F2 01 00 00 CB 62 EA 01 24 46 5A 03 01 00 03 00 DE 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 F5 4B B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C8 CD 00 00 35 04 06 00 67 7A C7 7E A9 2E C3 A4 9A 77 FF CA 5D D8 [23:40:36]CheckFolder [23:40:36]dirname=/storage/ofd_packets [23:40:36]CheckFolder done [23:40:36]ProducePacketName [23:40:36]name=ofd_packets/00052680 [23:40:36]NVStorageSaveData ofd_packets/00052680 [23:40:36]File name is /storage/ofd_packets/00052680 [23:40:36]Write 528 bytes [23:40:36]NVStorageSaveData done [23:40:36]OFDSenderStorePacket done [23:40:36]KKMCreateOFDPacket done [23:40:36]NVStorageSaveData kkm_last_timestamp [23:40:36]File name is /storage/kkm_last_timestamp [23:40:36]Write 4 bytes [23:40:36]NVStorageSaveData done [23:40:36]ExternCall_PrintAddStr [23:40:36]wPrintStart [23:40:36]Write to MH i2c: 01 00 00 61 10 71 [23:40:36]Write i2c OK [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: 01 [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: 01 07 00 [23:40:36]MH_I2C_Read... [23:40:36]Read from MH i2c: 01 07 00 61 10 00 00 00 00 00 FF 0F 86 [23:40:36]RasterBufferAndPrint [23:40:36]line Счет N : (3)122811 [23:40:36]line ИНН: 02508201610067 [23:40:36]line Контрольно-Кассовый Чек [23:40:36]line ПРОДАЖА [23:40:36]line Товар: 50173822 [23:40:36]line Р/ж Orbit б/сах мята 13,6г [23:40:36]line 1.000 * 45.00 [23:40:36]line = 45.00 [23:40:36]line НДС 12% НСП 1% [23:40:36]line > о реализуемом товаре [23:40:36]line Товар: 4700000160204 [23:40:36]line Вода Легенда 1,5л [23:40:36]line 1.000 * 60.00 [23:40:36]line = 60.00 [23:40:36]line НДС 12% НСП 1% [23:40:36]line > о реализуемом товаре [23:40:36]line Товар: 46226624 [23:40:36]line Mentos ПВ Клубника 6*100*2 [23:40:36]line 1.000 * 10.00 [23:40:36]line = 10.00 [23:40:36]line НДС 12% НСП 1% [23:40:36]line > о реализуемом товаре [23:40:36]line ИТОГО: 115.00 [23:40:36]line НСП 1% : 1.02 [23:40:36]line НДС 12% : 12.21 [23:40:36]line Наличными: 0.00 [23:40:36]line Безнал.: 115.00 [23:40:36]line Место: АЗС № 54 "Партнер Нефть" [23:40:36]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [23:40:36]line СНО: Общий режим [23:40:36]line Чек 91 11.08.2024 23:40 [23:40:36]line Смена: 446 ФФД: 1.0 [23:40:36]line ЗНМ: 0300000007 [23:40:36]line РНМ: 0000000000090834 [23:40:36]line Версия ККМ: 001 [23:40:36]line Платежная система: Бакай Банк [23:40:36]line ФМ: 0000000000874715 [23:40:36]line ФД: 52680 [23:40:36]line ФПД: 113777030637870 [23:40:36]line /tax-web-control/client/api/v1/ticket?date=20240811T234037&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52680&fm=113777030637870&tin=02508201610067®Number=0000000000090834&sum=11500 [23:40:36]line 0 [23:40:36]written 0, free lines is 4095 [23:40:37]OFD Sender: Processing packet 52680 [packets to send 55, broken 54] [23:40:37]ProducePacketName [23:40:37]name=ofd_packets/00052680 [23:40:37]OFD Sender: To server: pG, [23:40:37]CommunicateWithHost lk.salyk.kg:30040 [23:40:37]ConnectInit lk.salyk.kg [23:40:37]Connected sock=10 [23:40:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 F2 01 00 00 CB 62 EA 01 24 46 5A 03 01 00 03 00 DE 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 EC 2C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 F5 4B B9 66 0E 04 04 00 BE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C8 CD 00 00 35 04 06 00 67 7A C7 7E A9 2E C3 A4 9A 77 FF CA 5D D8 [23:40:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 60 F1 47 00 43 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 34 37 31 35 10 04 04 00 C8 CD 00 00 F4 03 04 00 8F F3 B8 66 B6 04 01 00 00 B4 42 9B 1C 6B 67 6D BB [23:40:37]CommunicateWithHost err = 0 [23:40:37]CheckOFDResponse [23:40:37]1017 (14) - 77093643461234 [23:40:37]1041 (16) - 0000000000874715 [23:40:37]1040 (4) - 52680 [23:40:37]1012 (4) - 11.08.2024 17:23 [23:40:37]1206 (1) - 0 [23:40:37]OFD Sender: Remove packet 52680 [23:40:37]ProducePacketName [23:40:37]name=ofd_packets/00052680 [23:40:37]NVStorageDeleteData [23:40:37]Write to MH i2c: 01 00 00 96 10 A6 [23:40:37]Write i2c OK [23:40:37]MH_I2C_Read... [23:40:37]Read from MH i2c: 01 [23:40:37]MH_I2C_Read... [23:40:37]Read from MH i2c: 01 07 00 [23:40:37]MH_I2C_Read... [23:40:37]Read from MH i2c: 01 07 00 96 10 00 00 00 00 00 06 0C BF [23:40:37]RasterBufferAndPrint [23:40:37]line [23:40:37]line [23:40:37]line [23:40:37]line [23:40:37]line [23:40:37]written 0, free lines is 3085 [23:40:37]MH_Cut [23:40:37]Write to MH i2c: D1 01 00 9D 10 01 7F [23:40:37]Write i2c OK [23:40:37]MH_I2C_Read... [23:40:37]Read from MH i2c: D1 [23:40:37]MH_I2C_Read... [23:40:37]Read from MH i2c: D1 01 00 [23:40:37]MH_I2C_Read... [23:40:37]Read from MH i2c: D1 01 00 9D 10 00 7E [23:40:37]Write to MH i2c: 01 00 00 9E 10 AE [23:40:37]Write i2c OK [23:40:37]MH_I2C_Read... [23:40:38]OFD Sender: No OFD packet to send [23:40:38]*** Cut start [23:40:38]*** Purtial cut [23:40:38]*** Stage 1: CUTSNS_PIN = 1 [23:40:38]Read from MH i2c: 01 [23:40:38]MH_I2C_Read... [23:40:38]*** Stop cut motor [23:40:38]*** Cut end [23:40:38]Read from MH i2c: 01 07 00 [23:40:38]MH_I2C_Read... [23:40:38]Read from MH i2c: 01 07 00 9E 10 00 00 00 00 00 FF 0F C3 [23:40:38]process_action close_receipt done [23:40:38]requested_data is exist [23:40:38]produce_requested_data [23:40:38]requested_item fm.sn is exist - process it [23:40:38]wFMCommunicate request_size=4 [23:40:38]MH_SAM_APDU [23:40:38]CAPDU: 80 11 00 00 [23:40:38]Write to MH i2c: E2 08 00 9F 10 80 11 00 00 00 00 00 00 29 [23:40:38]Write i2c OK [23:40:38]MH_I2C_Read... [23:40:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:40:38]Read from MH i2c: E2 [23:40:38]MH_I2C_Read... [23:40:38]Read from MH i2c: E2 17 00 [23:40:38]MH_I2C_Read... [23:40:38]Read from MH i2c: E2 17 00 9F 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 7C [23:40:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [23:40:38]wFMCommunicate OK [23:40:38]requested_item fd.num is exist - process it [23:40:38]SAM_PROTO_GetFieldsCounters [23:40:38]wFMCommunicate request_size=4 [23:40:38]MH_SAM_APDU [23:40:38]CAPDU: 80 13 00 00 [23:40:38]Write to MH i2c: E2 08 00 A0 10 80 13 00 00 00 00 00 00 2C [23:40:38]Write i2c OK [23:40:38]MH_I2C_Read... [23:40:39]Read from MH i2c: E2 [23:40:39]MH_I2C_Read... [23:40:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:40:39]Read from MH i2c: E2 62 00 [23:40:39]MH_I2C_Read... [23:40:39]Read from MH i2c: E2 62 00 A0 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C8 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 B1 [23:40:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C8 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:40:39]wFMCommunicate OK [23:40:39]SAM_PROTO_GetFieldsCounters done [23:40:39]requested_item shift.num is exist - process it [23:40:39]requested_item shift.opened is exist - process it [23:40:39]req_shift_opened [23:40:39]FM_GetShiftState [23:40:39]SAM_PROTO_GetShiftState [23:40:39]wFMCommunicate request_size=4 [23:40:39]MH_SAM_APDU [23:40:39]CAPDU: 80 13 01 00 [23:40:39]Write to MH i2c: E2 08 00 A1 10 80 13 01 00 00 00 00 00 2E [23:40:39]Write i2c OK [23:40:39]MH_I2C_Read... [23:40:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:40:39]Read from MH i2c: E2 [23:40:39]MH_I2C_Read... [23:40:39]Read from MH i2c: E2 0E 00 [23:40:39]MH_I2C_Read... [23:40:39]Read from MH i2c: E2 0E 00 A1 10 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 57 [23:40:39]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [23:40:39]wFMCommunicate OK [23:40:39]SAM_PROTO_GetShiftState done [23:40:39]FM_GetShiftState done [23:40:39]req_shift_opened done [23:40:39]requested_item shift.open_date is exist - process it [23:40:39]req_shift_open_date [23:40:39]req_shift_open_date done [23:40:39]produce_requested_data done [23:40:39]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52680,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [23:40:39]process_action_free close_receipt [23:40:39]json_value_free [23:40:39]json_value_free done [23:40:39]process_json_proto returns [23:40:39]Send response to host [23:40:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52680,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [23:40:39]free response buf [23:40:39]execute_script done [23:40:39]execute_script returns [23:40:39]free content buf [23:40:39]Sock 9.Close socket [23:40:39]Sock 9.Thread stoped [23:40:43]OFD Sender: No OFD packet to send [23:40:48]OFD Sender: No OFD packet to send [23:40:53]OFD Sender: No OFD packet to send [23:40:58]OFD Sender: No OFD packet to send [23:41:03]OFD Sender: No OFD packet to send [23:41:08]OFD Sender: No OFD packet to send [23:41:13]OFD Sender: No OFD packet to send [23:41:18]OFD Sender: No OFD packet to send [23:41:23]OFD Sender: No OFD packet to send [23:41:28]OFD Sender: No OFD packet to send [23:41:33]OFD Sender: No OFD packet to send [23:41:38]OFD Sender: No OFD packet to send [23:41:43]OFD Sender: No OFD packet to send [23:41:48]OFD Sender: No OFD packet to send [23:41:53]OFD Sender: No OFD packet to send [23:41:58]OFD Sender: No OFD packet to send [23:42:03]OFD Sender: No OFD packet to send [23:42:08]OFD Sender: No OFD packet to send [23:42:13]OFD Sender: No OFD packet to send [23:42:18]OFD Sender: No OFD packet to send [23:42:23]OFD Sender: No OFD packet to send [23:42:28]OFD Sender: No OFD packet to send [23:42:33]OFD Sender: No OFD packet to send [23:42:38]OFD Sender: No OFD packet to send [23:42:43]OFD Sender: No OFD packet to send [23:42:48]OFD Sender: No OFD packet to send [23:42:53]OFD Sender: No OFD packet to send [23:42:58]OFD Sender: No OFD packet to send [23:43:03]OFD Sender: No OFD packet to send [23:43:08]OFD Sender: No OFD packet to send [23:43:13]OFD Sender: No OFD packet to send [23:43:18]OFD Sender: No OFD packet to send [23:43:23]OFD Sender: No OFD packet to send [23:43:28]OFD Sender: No OFD packet to send [23:43:33]OFD Sender: No OFD packet to send [23:43:38]OFD Sender: No OFD packet to send [23:43:43]OFD Sender: No OFD packet to send [23:43:48]OFD Sender: No OFD packet to send [23:43:53]OFD Sender: No OFD packet to send [23:43:58]OFD Sender: No OFD packet to send [23:44:03]OFD Sender: No OFD packet to send [23:44:08]OFD Sender: No OFD packet to send [23:44:13]OFD Sender: No OFD packet to send [23:44:18]OFD Sender: No OFD packet to send [23:44:23]OFD Sender: No OFD packet to send [23:44:28]OFD Sender: No OFD packet to send [23:44:33]OFD Sender: No OFD packet to send [23:44:38]OFD Sender: No OFD packet to send [23:44:43]OFD Sender: No OFD packet to send [23:44:48]OFD Sender: No OFD packet to send [23:44:53]OFD Sender: No OFD packet to send [23:44:58]OFD Sender: No OFD packet to send [23:45:03]OFD Sender: No OFD packet to send [23:45:08]OFD Sender: No OFD packet to send [23:45:13]OFD Sender: No OFD packet to send [23:45:18]OFD Sender: No OFD packet to send [23:45:23]OFD Sender: No OFD packet to send [23:45:28]OFD Sender: No OFD packet to send [23:45:33]OFD Sender: No OFD packet to send [23:45:38]OFD Sender: No OFD packet to send [23:45:43]OFD Sender: No OFD packet to send [23:45:48]OFD Sender: No OFD packet to send [23:45:53]OFD Sender: No OFD packet to send [23:45:58]OFD Sender: No OFD packet to send [23:46:03]OFD Sender: No OFD packet to send [23:46:08]OFD Sender: No OFD packet to send [23:46:13]OFD Sender: No OFD packet to send [23:46:18]OFD Sender: No OFD packet to send [23:46:23]OFD Sender: No OFD packet to send [23:46:28]OFD Sender: No OFD packet to send [23:46:33]OFD Sender: No OFD packet to send [23:46:38]OFD Sender: No OFD packet to send [23:46:43]OFD Sender: No OFD packet to send [23:46:48]OFD Sender: No OFD packet to send [23:46:53]OFD Sender: No OFD packet to send [23:46:58]OFD Sender: No OFD packet to send [23:47:03]OFD Sender: No OFD packet to send [23:47:08]OFD Sender: No OFD packet to send [23:47:13]OFD Sender: No OFD packet to send [23:47:18]OFD Sender: No OFD packet to send [23:47:23]OFD Sender: No OFD packet to send [23:47:28]OFD Sender: No OFD packet to send [23:47:33]OFD Sender: No OFD packet to send [23:47:38]OFD Sender: No OFD packet to send [23:47:43]OFD Sender: No OFD packet to send [23:47:48]OFD Sender: No OFD packet to send [23:47:53]OFD Sender: No OFD packet to send [23:47:58]OFD Sender: No OFD packet to send [23:48:03]OFD Sender: No OFD packet to send [23:48:08]OFD Sender: No OFD packet to send [23:48:13]OFD Sender: No OFD packet to send [23:48:18]OFD Sender: No OFD packet to send [23:48:23]OFD Sender: No OFD packet to send [23:48:28]OFD Sender: No OFD packet to send [23:48:33]OFD Sender: No OFD packet to send [23:48:38]OFD Sender: No OFD packet to send [23:48:43]OFD Sender: No OFD packet to send [23:48:48]OFD Sender: No OFD packet to send [23:48:53]OFD Sender: No OFD packet to send [23:48:58]OFD Sender: No OFD packet to send [23:49:03]OFD Sender: No OFD packet to send [23:49:08]OFD Sender: No OFD packet to send [23:49:13]OFD Sender: No OFD packet to send [23:49:18]OFD Sender: No OFD packet to send [23:49:23]OFD Sender: No OFD packet to send [23:49:28]OFD Sender: No OFD packet to send [23:49:33]OFD Sender: No OFD packet to send [23:49:38]OFD Sender: No OFD packet to send [23:49:43]OFD Sender: No OFD packet to send [23:49:48]OFD Sender: No OFD packet to send [23:49:53]OFD Sender: No OFD packet to send [23:49:58]OFD Sender: No OFD packet to send [23:50:03]OFD Sender: No OFD packet to send [23:50:08]OFD Sender: No OFD packet to send [23:50:13]OFD Sender: No OFD packet to send [23:50:18]OFD Sender: No OFD packet to send [23:50:23]OFD Sender: No OFD packet to send [23:50:28]OFD Sender: No OFD packet to send [23:50:33]OFD Sender: No OFD packet to send [23:50:38]OFD Sender: No OFD packet to send [23:50:43]OFD Sender: No OFD packet to send [23:50:48]OFD Sender: No OFD packet to send [23:50:53]OFD Sender: No OFD packet to send [23:50:58]OFD Sender: No OFD packet to send [23:51:03]OFD Sender: No OFD packet to send [23:51:08]OFD Sender: No OFD packet to send [23:51:13]OFD Sender: No OFD packet to send [23:51:18]OFD Sender: No OFD packet to send [23:51:23]OFD Sender: No OFD packet to send [23:51:28]OFD Sender: No OFD packet to send [23:51:33]OFD Sender: No OFD packet to send [23:51:38]OFD Sender: No OFD packet to send [23:51:43]OFD Sender: No OFD packet to send [23:51:48]OFD Sender: No OFD packet to send [23:51:53]OFD Sender: No OFD packet to send [23:51:58]OFD Sender: No OFD packet to send [23:52:03]OFD Sender: No OFD packet to send [23:52:08]OFD Sender: No OFD packet to send [23:52:13]OFD Sender: No OFD packet to send [23:52:18]OFD Sender: No OFD packet to send [23:52:23]OFD Sender: No OFD packet to send [23:52:28]OFD Sender: No OFD packet to send [23:52:33]OFD Sender: No OFD packet to send [23:52:38]OFD Sender: No OFD packet to send [23:52:43]OFD Sender: No OFD packet to send [23:52:48]OFD Sender: No OFD packet to send [23:52:53]OFD Sender: No OFD packet to send [23:52:58]OFD Sender: No OFD packet to send [23:53:03]OFD Sender: No OFD packet to send [23:53:08]OFD Sender: No OFD packet to send [23:53:13]OFD Sender: No OFD packet to send [23:53:18]OFD Sender: No OFD packet to send [23:53:23]OFD Sender: No OFD packet to send [23:53:28]OFD Sender: No OFD packet to send [23:53:33]OFD Sender: No OFD packet to send [23:53:38]OFD Sender: No OFD packet to send [23:53:43]OFD Sender: No OFD packet to send [23:53:48]OFD Sender: No OFD packet to send [23:53:53]OFD Sender: No OFD packet to send [23:53:58]OFD Sender: No OFD packet to send [23:54:03]OFD Sender: No OFD packet to send [23:54:08]OFD Sender: No OFD packet to send [23:54:13]OFD Sender: No OFD packet to send [23:54:18]OFD Sender: No OFD packet to send [23:54:23]OFD Sender: No OFD packet to send [23:54:28]OFD Sender: No OFD packet to send [23:54:33]OFD Sender: No OFD packet to send [23:54:38]OFD Sender: No OFD packet to send [23:54:43]OFD Sender: No OFD packet to send [23:54:48]OFD Sender: No OFD packet to send [23:54:53]OFD Sender: No OFD packet to send [23:54:58]OFD Sender: No OFD packet to send [23:55:03]OFD Sender: No OFD packet to send [23:55:08]OFD Sender: No OFD packet to send [23:55:13]OFD Sender: No OFD packet to send [23:55:18]OFD Sender: No OFD packet to send [23:55:23]OFD Sender: No OFD packet to send [23:55:28]OFD Sender: No OFD packet to send [23:55:33]OFD Sender: No OFD packet to send [23:55:38]OFD Sender: No OFD packet to send [23:55:43]OFD Sender: No OFD packet to send [23:55:48]OFD Sender: No OFD packet to send [23:55:53]OFD Sender: No OFD packet to send [23:55:58]OFD Sender: No OFD packet to send [23:56:03]OFD Sender: No OFD packet to send [23:56:08]OFD Sender: No OFD packet to send [23:56:13]OFD Sender: No OFD packet to send [23:56:18]OFD Sender: No OFD packet to send [23:56:23]OFD Sender: No OFD packet to send [23:56:28]OFD Sender: No OFD packet to send [23:56:33]OFD Sender: No OFD packet to send [23:56:38]OFD Sender: No OFD packet to send [23:56:43]OFD Sender: No OFD packet to send [23:56:48]OFD Sender: No OFD packet to send [23:56:53]OFD Sender: No OFD packet to send [23:56:58]OFD Sender: No OFD packet to send [23:57:03]OFD Sender: No OFD packet to send [23:57:08]OFD Sender: No OFD packet to send [23:57:13]OFD Sender: No OFD packet to send [23:57:18]OFD Sender: No OFD packet to send [23:57:23]OFD Sender: No OFD packet to send [23:57:28]OFD Sender: No OFD packet to send [23:57:33]OFD Sender: No OFD packet to send [23:57:38]OFD Sender: No OFD packet to send [23:57:43]OFD Sender: No OFD packet to send [23:57:48]OFD Sender: No OFD packet to send [23:57:53]OFD Sender: No OFD packet to send [23:57:58]OFD Sender: No OFD packet to send [23:58:03]OFD Sender: No OFD packet to send [23:58:08]OFD Sender: No OFD packet to send [23:58:14]OFD Sender: No OFD packet to send [23:58:19]OFD Sender: No OFD packet to send [23:58:24]OFD Sender: No OFD packet to send [23:58:29]OFD Sender: No OFD packet to send [23:58:34]OFD Sender: No OFD packet to send [23:58:39]OFD Sender: No OFD packet to send [23:58:44]OFD Sender: No OFD packet to send [23:58:49]OFD Sender: No OFD packet to send [23:58:54]OFD Sender: No OFD packet to send [23:58:59]OFD Sender: No OFD packet to send [23:59:04]OFD Sender: No OFD packet to send [23:59:09]OFD Sender: No OFD packet to send [23:59:14]OFD Sender: No OFD packet to send [23:59:19]OFD Sender: No OFD packet to send [23:59:24]OFD Sender: No OFD packet to send [23:59:29]OFD Sender: No OFD packet to send [23:59:34]OFD Sender: No OFD packet to send [23:59:39]OFD Sender: No OFD packet to send [23:59:44]OFD Sender: No OFD packet to send [23:59:49]OFD Sender: No OFD packet to send [23:59:54]OFD Sender: No OFD packet to send [23:59:59]OFD Sender: No OFD packet to send [00:00:04]OFD Sender: No OFD packet to send [00:00:09]OFD Sender: No OFD packet to send [00:00:14]OFD Sender: No OFD packet to send [00:00:19]OFD Sender: No OFD packet to send [00:00:24]OFD Sender: No OFD packet to send [00:00:29]OFD Sender: No OFD packet to send [00:00:34]OFD Sender: No OFD packet to send [00:00:39]OFD Sender: No OFD packet to send [00:00:44]OFD Sender: No OFD packet to send [00:00:49]OFD Sender: No OFD packet to send [00:00:54]OFD Sender: No OFD packet to send [00:00:59]OFD Sender: No OFD packet to send [00:01:04]OFD Sender: No OFD packet to send [00:01:09]OFD Sender: No OFD packet to send [00:01:14]OFD Sender: No OFD packet to send [00:01:19]OFD Sender: No OFD packet to send [00:01:24]OFD Sender: No OFD packet to send [00:01:29]OFD Sender: No OFD packet to send [00:01:34]OFD Sender: No OFD packet to send [00:01:39]OFD Sender: No OFD packet to send [00:01:44]OFD Sender: No OFD packet to send [00:01:49]OFD Sender: No OFD packet to send [00:01:54]OFD Sender: No OFD packet to send [00:01:59]OFD Sender: No OFD packet to send [00:02:04]OFD Sender: No OFD packet to send [00:02:09]OFD Sender: No OFD packet to send [00:02:14]OFD Sender: No OFD packet to send [00:02:19]OFD Sender: No OFD packet to send [00:02:24]OFD Sender: No OFD packet to send [00:02:29]OFD Sender: No OFD packet to send [00:02:34]OFD Sender: No OFD packet to send [00:02:39]OFD Sender: No OFD packet to send [00:02:44]OFD Sender: No OFD packet to send [00:02:49]OFD Sender: No OFD packet to send [00:02:54]OFD Sender: No OFD packet to send [00:02:59]OFD Sender: No OFD packet to send [00:03:04]OFD Sender: No OFD packet to send [00:03:09]OFD Sender: No OFD packet to send [00:03:14]OFD Sender: No OFD packet to send [00:03:19]OFD Sender: No OFD packet to send [00:03:24]OFD Sender: No OFD packet to send [00:03:29]OFD Sender: No OFD packet to send [00:03:34]OFD Sender: No OFD packet to send [00:03:39]OFD Sender: No OFD packet to send [00:03:44]OFD Sender: No OFD packet to send [00:03:49]OFD Sender: No OFD packet to send [00:03:54]OFD Sender: No OFD packet to send [00:03:59]OFD Sender: No OFD packet to send [00:04:04]OFD Sender: No OFD packet to send [00:04:09]OFD Sender: No OFD packet to send [00:04:14]OFD Sender: No OFD packet to send [00:04:19]OFD Sender: No OFD packet to send [00:04:24]OFD Sender: No OFD packet to send [00:04:29]OFD Sender: No OFD packet to send [00:04:34]OFD Sender: No OFD packet to send [00:04:39]OFD Sender: No OFD packet to send [00:04:44]OFD Sender: No OFD packet to send [00:04:49]OFD Sender: No OFD packet to send [00:04:54]OFD Sender: No OFD packet to send [00:04:59]OFD Sender: No OFD packet to send [00:05:04]OFD Sender: No OFD packet to send [00:05:09]OFD Sender: No OFD packet to send [00:05:14]OFD Sender: No OFD packet to send [00:05:19]OFD Sender: No OFD packet to send [00:05:24]OFD Sender: No OFD packet to send [00:05:29]OFD Sender: No OFD packet to send [00:05:34]OFD Sender: No OFD packet to send [00:05:39]OFD Sender: No OFD packet to send [00:05:44]OFD Sender: No OFD packet to send [00:05:49]OFD Sender: No OFD packet to send [00:05:54]OFD Sender: No OFD packet to send [00:05:59]OFD Sender: No OFD packet to send [00:06:04]OFD Sender: No OFD packet to send [00:06:09]OFD Sender: No OFD packet to send [00:06:14]OFD Sender: No OFD packet to send [00:06:19]OFD Sender: No OFD packet to send [00:06:24]OFD Sender: No OFD packet to send [00:06:29]OFD Sender: No OFD packet to send [00:06:34]OFD Sender: No OFD packet to send [00:06:39]OFD Sender: No OFD packet to send [00:06:44]OFD Sender: No OFD packet to send [00:06:49]OFD Sender: No OFD packet to send [00:06:54]OFD Sender: No OFD packet to send [00:06:59]OFD Sender: No OFD packet to send [00:07:04]OFD Sender: No OFD packet to send [00:07:09]OFD Sender: No OFD packet to send [00:07:14]OFD Sender: No OFD packet to send [00:07:19]OFD Sender: No OFD packet to send [00:07:24]OFD Sender: No OFD packet to send [00:07:29]OFD Sender: No OFD packet to send [00:07:34]OFD Sender: No OFD packet to send [00:07:39]OFD Sender: No OFD packet to send [00:07:44]OFD Sender: No OFD packet to send [00:07:49]OFD Sender: No OFD packet to send [00:07:54]OFD Sender: No OFD packet to send [00:07:59]OFD Sender: No OFD packet to send [00:08:04]OFD Sender: No OFD packet to send [00:08:09]OFD Sender: No OFD packet to send [00:08:14]OFD Sender: No OFD packet to send [00:08:19]OFD Sender: No OFD packet to send [00:08:24]OFD Sender: No OFD packet to send [00:08:29]OFD Sender: No OFD packet to send [00:08:34]OFD Sender: No OFD packet to send [00:08:39]OFD Sender: No OFD packet to send [00:08:44]OFD Sender: No OFD packet to send [00:08:49]OFD Sender: No OFD packet to send [00:08:54]OFD Sender: No OFD packet to send [00:08:59]OFD Sender: No OFD packet to send [00:09:04]OFD Sender: No OFD packet to send [00:09:09]OFD Sender: No OFD packet to send [00:09:14]OFD Sender: No OFD packet to send [00:09:19]OFD Sender: No OFD packet to send [00:09:24]OFD Sender: No OFD packet to send [00:09:29]OFD Sender: No OFD packet to send [00:09:34]OFD Sender: No OFD packet to send [00:09:39]OFD Sender: No OFD packet to send [00:09:44]OFD Sender: No OFD packet to send [00:09:49]OFD Sender: No OFD packet to send [00:09:54]OFD Sender: No OFD packet to send [00:09:59]OFD Sender: No OFD packet to send [00:10:04]OFD Sender: No OFD packet to send [00:10:09]OFD Sender: No OFD packet to send [00:10:14]OFD Sender: No OFD packet to send [00:10:19]OFD Sender: No OFD packet to send [00:10:24]OFD Sender: No OFD packet to send [00:10:29]OFD Sender: No OFD packet to send [00:10:34]OFD Sender: No OFD packet to send [00:10:39]OFD Sender: No OFD packet to send [00:10:44]OFD Sender: No OFD packet to send [00:10:49]OFD Sender: No OFD packet to send [00:10:54]OFD Sender: No OFD packet to send [00:10:59]OFD Sender: No OFD packet to send [00:11:04]OFD Sender: No OFD packet to send [00:11:09]OFD Sender: No OFD packet to send [00:11:14]OFD Sender: No OFD packet to send [00:11:19]OFD Sender: No OFD packet to send [00:11:24]OFD Sender: No OFD packet to send [00:11:29]OFD Sender: No OFD packet to send [00:11:34]OFD Sender: No OFD packet to send [00:11:39]OFD Sender: No OFD packet to send [00:11:44]OFD Sender: No OFD packet to send [00:11:49]OFD Sender: No OFD packet to send [00:11:54]OFD Sender: No OFD packet to send [00:11:59]OFD Sender: No OFD packet to send [00:12:04]OFD Sender: No OFD packet to send [00:12:09]OFD Sender: No OFD packet to send [00:12:14]OFD Sender: No OFD packet to send [00:12:19]OFD Sender: No OFD packet to send [00:12:24]OFD Sender: No OFD packet to send [00:12:29]OFD Sender: No OFD packet to send [00:12:34]OFD Sender: No OFD packet to send [00:12:39]OFD Sender: No OFD packet to send [00:12:44]OFD Sender: No OFD packet to send [00:12:49]OFD Sender: No OFD packet to send [00:12:54]OFD Sender: No OFD packet to send [00:12:59]OFD Sender: No OFD packet to send [00:13:04]OFD Sender: No OFD packet to send [00:13:09]OFD Sender: No OFD packet to send [00:13:14]OFD Sender: No OFD packet to send [00:13:19]OFD Sender: No OFD packet to send [00:13:24]OFD Sender: No OFD packet to send [00:13:29]OFD Sender: No OFD packet to send [00:13:34]OFD Sender: No OFD packet to send [00:13:39]OFD Sender: No OFD packet to send [00:13:44]OFD Sender: No OFD packet to send [00:13:49]OFD Sender: No OFD packet to send [00:13:54]OFD Sender: No OFD packet to send [00:13:59]OFD Sender: No OFD packet to send [00:14:04]OFD Sender: No OFD packet to send [00:14:09]OFD Sender: No OFD packet to send [00:14:14]OFD Sender: No OFD packet to send [00:14:19]OFD Sender: No OFD packet to send [00:14:24]OFD Sender: No OFD packet to send [00:14:29]OFD Sender: No OFD packet to send [00:14:34]OFD Sender: No OFD packet to send [00:14:39]OFD Sender: No OFD packet to send [00:14:44]OFD Sender: No OFD packet to send [00:14:49]OFD Sender: No OFD packet to send [00:14:54]OFD Sender: No OFD packet to send [00:14:59]OFD Sender: No OFD packet to send [00:15:04]OFD Sender: No OFD packet to send [00:15:09]OFD Sender: No OFD packet to send [00:15:14]OFD Sender: No OFD packet to send [00:15:19]OFD Sender: No OFD packet to send [00:15:24]OFD Sender: No OFD packet to send [00:15:29]OFD Sender: No OFD packet to send [00:15:34]OFD Sender: No OFD packet to send [00:15:39]OFD Sender: No OFD packet to send [00:15:44]OFD Sender: No OFD packet to send [00:15:49]OFD Sender: No OFD packet to send [00:15:54]OFD Sender: No OFD packet to send [00:15:59]OFD Sender: No OFD packet to send [00:16:05]OFD Sender: No OFD packet to send [00:16:10]OFD Sender: No OFD packet to send [00:16:15]OFD Sender: No OFD packet to send [00:16:20]OFD Sender: No OFD packet to send [00:16:25]OFD Sender: No OFD packet to send [00:16:30]OFD Sender: No OFD packet to send [00:16:35]OFD Sender: No OFD packet to send [00:16:40]OFD Sender: No OFD packet to send [00:16:45]OFD Sender: No OFD packet to send [00:16:50]OFD Sender: No OFD packet to send [00:16:55]OFD Sender: No OFD packet to send [00:17:00]OFD Sender: No OFD packet to send [00:17:05]OFD Sender: No OFD packet to send [00:17:10]OFD Sender: No OFD packet to send [00:17:15]OFD Sender: No OFD packet to send [00:17:20]OFD Sender: No OFD packet to send [00:17:25]OFD Sender: No OFD packet to send [00:17:30]OFD Sender: No OFD packet to send [00:17:35]OFD Sender: No OFD packet to send [00:17:40]OFD Sender: No OFD packet to send [00:17:45]OFD Sender: No OFD packet to send [00:17:50]OFD Sender: No OFD packet to send [00:17:55]OFD Sender: No OFD packet to send [00:18:00]OFD Sender: No OFD packet to send [00:18:05]OFD Sender: No OFD packet to send [00:18:10]OFD Sender: No OFD packet to send [00:18:15]OFD Sender: No OFD packet to send [00:18:20]OFD Sender: No OFD packet to send [00:18:25]OFD Sender: No OFD packet to send [00:18:30]OFD Sender: No OFD packet to send [00:18:35]OFD Sender: No OFD packet to send [00:18:40]OFD Sender: No OFD packet to send [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:19]accept exits with 7 [00:20:19]New connection [00:20:19]New thread 3067293028 created [00:20:19]Thread 3067149668 joined [00:20:19]Waiting for new connection... [00:20:19] Sock 7.Parse request [00:20:19]Sock 7.Check first char [00:20:19]Sock 7.First char is OK [00:20:19]request: POST /json_proto HTTP/1.0 [00:20:19]Method: POST [00:20:19]URL: /json_proto [00:20:19]Method is POST - this is cgi request [00:20:19]url: /json_proto [00:20:19]query_string will be loaded in cgi processing [00:20:19]execute_cgi json_proto POST (null) [00:20:19]execute_cgi path=json_proto method=POST [00:20:19]POST find Content-Length [00:20:19]Host: 172.17.60.7:8080 [00:20:19]Content-Length: 215 [00:20:19]Content-Type: application/json [00:20:19] [00:20:19]POST finish read [00:20:19]Found Content-Length = 215 [00:20:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:20:19]execute_script... [00:20:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:20:19]POST & json_proto [00:20:19]process_json_proto [00:20:19]json parsed OK: [00:20:19]protocol is kg_v1.0 [00:20:19]action value=get_value [00:20:19]process_action get_value [00:20:19]cmd_get_value [00:20:19]process_action get_value done [00:20:19]requested_data is exist [00:20:19]produce_requested_data [00:20:19]requested_item kkm.sn is exist - process it [00:20:19]requested_item kkm.ver is exist - process it [00:20:19]requested_item fm.sn is exist - process it [00:20:19]wFMCommunicate request_size=4 [00:20:19]MH_SAM_APDU [00:20:19]CAPDU: 80 11 00 00 [00:20:19]Write to MH i2c: E2 08 00 A2 10 80 11 00 00 00 00 00 00 2C [00:20:19]Write i2c OK [00:20:19]MH_I2C_Read... [00:20:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:20:19]Read from MH i2c: E2 [00:20:19]MH_I2C_Read... [00:20:19]Read from MH i2c: E2 17 00 [00:20:19]MH_I2C_Read... [00:20:19]Read from MH i2c: E2 17 00 A2 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 7F [00:20:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [00:20:19]wFMCommunicate OK [00:20:19]requested_item fd.num is exist - process it [00:20:19]SAM_PROTO_GetFieldsCounters [00:20:19]wFMCommunicate request_size=4 [00:20:19]MH_SAM_APDU [00:20:19]CAPDU: 80 13 00 00 [00:20:19]Write to MH i2c: E2 08 00 A3 10 80 13 00 00 00 00 00 00 2F [00:20:19]Write i2c OK [00:20:19]MH_I2C_Read... [00:20:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:20:19]Read from MH i2c: E2 [00:20:19]MH_I2C_Read... [00:20:19]Read from MH i2c: E2 62 00 [00:20:19]MH_I2C_Read... [00:20:19]Read from MH i2c: E2 62 00 A3 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C8 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 B4 [00:20:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C8 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:20:19]wFMCommunicate OK [00:20:19]SAM_PROTO_GetFieldsCounters done [00:20:19]requested_item shift.num is exist - process it [00:20:19]requested_item shift.opened is exist - process it [00:20:19]req_shift_opened [00:20:19]FM_GetShiftState [00:20:19]SAM_PROTO_GetShiftState [00:20:19]wFMCommunicate request_size=4 [00:20:19]MH_SAM_APDU [00:20:19]CAPDU: 80 13 01 00 [00:20:19]Write to MH i2c: E2 08 00 A4 10 80 13 01 00 00 00 00 00 31 [00:20:19]Write i2c OK [00:20:19]MH_I2C_Read... [00:20:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:20:19]Read from MH i2c: E2 [00:20:19]MH_I2C_Read... [00:20:19]Read from MH i2c: E2 0E 00 [00:20:19]MH_I2C_Read... [00:20:19]Read from MH i2c: E2 0E 00 A4 10 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 5A [00:20:19]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [00:20:19]wFMCommunicate OK [00:20:19]SAM_PROTO_GetShiftState done [00:20:19]FM_GetShiftState done [00:20:19]req_shift_opened done [00:20:19]requested_item shift.open_date is exist - process it [00:20:19]req_shift_open_date [00:20:19]req_shift_open_date done [00:20:19]produce_requested_data done [00:20:19]produce_requested_data return {"kkm.sn":"0300000007","kkm.ver":"001","fm.sn":"0000000000874715","fd.num":52680,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [00:20:19]process_action_free get_value [00:20:19]json_value_free [00:20:19]json_value_free done [00:20:19]process_json_proto returns [00:20:19]Send response to host [00:20:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000007","kkm.ver":"001","fm.sn":"0000000000874715","fd.num":52680,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [00:20:19]free response buf [00:20:19]execute_script done [00:20:19]execute_script returns [00:20:19]free content buf [00:20:19]Sock 7.Close socket [00:20:19]Sock 7.Thread stoped [00:20:19]accept exits with 9 [00:20:19]New connection [00:20:19]New thread 3067149668 created [00:20:19]Thread 3067293028 joined [00:20:19]Waiting for new connection... [00:20:19] Sock 9.Parse request [00:20:19]Sock 9.Check first char [00:20:19]Sock 9.First char is OK [00:20:19]request: POST /json_proto HTTP/1.0 [00:20:19]Method: POST [00:20:19]URL: /json_proto [00:20:19]Method is POST - this is cgi request [00:20:19]url: /json_proto [00:20:19]query_string will be loaded in cgi processing [00:20:19]execute_cgi json_proto POST (null) [00:20:19]execute_cgi path=json_proto method=POST [00:20:19]POST find Content-Length [00:20:19]Host: 172.17.60.7:8080 [00:20:19]Content-Length: 331 [00:20:19]Content-Type: application/json [00:20:19] [00:20:19]POST finish read [00:20:19]Found Content-Length = 331 [00:20:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:20:19]execute_script... [00:20:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:20:20]POST & json_proto [00:20:20]process_json_proto [00:20:20]json parsed OK: [00:20:20]protocol is kg_v1.0 [00:20:20]action value=get_value [00:20:20]process_action get_value [00:20:20]cmd_get_value [00:20:20]process_action get_value done [00:20:20]requested_data is exist [00:20:20]produce_requested_data [00:20:20]requested_item fm.sale.total is exist - process it [00:20:20]SAM_PROTO_GetFMData [00:20:20]wFMCommunicate request_size=4 [00:20:20]MH_SAM_APDU [00:20:20]CAPDU: 80 13 03 00 [00:20:20]Write to MH i2c: E2 08 00 A5 10 80 13 03 00 00 00 00 00 34 [00:20:20]OFD Sender: No OFD packet to send [00:20:20]Write i2c OK [00:20:20]MH_I2C_Read... [00:20:20]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:20:20]Read from MH i2c: E2 [00:20:20]MH_I2C_Read... [00:20:20]Read from MH i2c: E2 FD 00 [00:20:20]MH_I2C_Read... [00:20:20]Read from MH i2c: E2 FD 00 A5 10 00 C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 1D [00:20:20]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 [00:20:20]wFMCommunicate OK [00:20:20]wFMCommunicate request_size=4 [00:20:20]MH_SAM_APDU [00:20:20]CAPDU: 80 17 00 00 [00:20:20]Write to MH i2c: E2 08 00 A6 10 80 17 00 00 00 00 00 00 36 [00:20:20]Write i2c OK [00:20:20]MH_I2C_Read... [00:20:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:20]Read from MH i2c: E2 [00:20:20]MH_I2C_Read... [00:20:20]Read from MH i2c: E2 FD 00 [00:20:20]MH_I2C_Read... [00:20:20]Read from MH i2c: E2 FD 00 A6 10 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BA [00:20:20]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:20:20]wFMCommunicate OK [00:20:20]wFMCommunicate request_size=4 [00:20:20]MH_SAM_APDU [00:20:20]CAPDU: 80 17 00 00 [00:20:20]Write to MH i2c: E2 08 00 A7 10 80 17 00 00 00 00 00 00 37 [00:20:20]Write i2c OK [00:20:20]MH_I2C_Read... [00:20:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:21]Read from MH i2c: E2 [00:20:21]MH_I2C_Read... [00:20:21]Read from MH i2c: E2 FD 00 [00:20:21]MH_I2C_Read... [00:20:21]Read from MH i2c: E2 FD 00 A7 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 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 90 00 D7 [00:20:21]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 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 90 00 [00:20:21]wFMCommunicate OK [00:20:21]wFMCommunicate request_size=4 [00:20:21]MH_SAM_APDU [00:20:21]CAPDU: 80 17 00 00 [00:20:21]Write to MH i2c: E2 08 00 A8 10 80 17 00 00 00 00 00 00 38 [00:20:21]Write i2c OK [00:20:21]MH_I2C_Read... [00:20:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:21]Read from MH i2c: E2 [00:20:21]MH_I2C_Read... [00:20:21]Read from MH i2c: E2 FD 00 [00:20:21]MH_I2C_Read... [00:20:21]Read from MH i2c: E2 FD 00 A8 10 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BD [00:20:21]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:20:21]wFMCommunicate OK [00:20:21]wFMCommunicate request_size=4 [00:20:21]MH_SAM_APDU [00:20:21]CAPDU: 80 17 00 00 [00:20:21]Write to MH i2c: E2 08 00 A9 10 80 17 00 00 00 00 00 00 39 [00:20:21]Write i2c OK [00:20:21]MH_I2C_Read... [00:20:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:20:21]Read from MH i2c: E2 [00:20:21]MH_I2C_Read... [00:20:21]Read from MH i2c: E2 DE 00 [00:20:21]MH_I2C_Read... [00:20:21]Read from MH i2c: E2 DE 00 A9 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 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 18 [00:20:21]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 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:20:21]wFMCommunicate OK [00:20:21]SAM_PROTO_GetFMData done [00:20:21]requested_item fm.sale_refund.total is exist - process it [00:20:21]requested_item fm.buy.total is exist - process it [00:20:21]requested_item shift.sale.total is exist - process it [00:20:21]SAM_PROTO_GetShiftData [00:20:21]wFMCommunicate request_size=4 [00:20:21]MH_SAM_APDU [00:20:21]CAPDU: 80 13 02 00 [00:20:21]Write to MH i2c: E2 08 00 AA 10 80 13 02 00 00 00 00 00 38 [00:20:21]Write i2c OK [00:20:21]MH_I2C_Read... [00:20:22]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:20:22]Read from MH i2c: E2 [00:20:22]MH_I2C_Read... [00:20:22]Read from MH i2c: E2 FD 00 [00:20:22]MH_I2C_Read... [00:20:22]Read from MH i2c: E2 FD 00 AA 10 00 AE 04 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 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 08 39 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F0 [00:20:22]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 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 08 39 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:20:22]wFMCommunicate OK [00:20:22]wFMCommunicate request_size=4 [00:20:22]MH_SAM_APDU [00:20:22]CAPDU: 80 17 00 00 [00:20:22]Write to MH i2c: E2 08 00 AB 10 80 17 00 00 00 00 00 00 3B [00:20:22]Write i2c OK [00:20:22]MH_I2C_Read... [00:20:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:22]Read from MH i2c: E2 [00:20:22]MH_I2C_Read... [00:20:22]Read from MH i2c: E2 FD 00 [00:20:22]MH_I2C_Read... [00:20:22]Read from MH i2c: E2 FD 00 AB 10 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 5D [00:20:22]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:20:22]wFMCommunicate OK [00:20:22]wFMCommunicate request_size=4 [00:20:22]MH_SAM_APDU [00:20:22]CAPDU: 80 17 00 00 [00:20:22]Write to MH i2c: E2 08 00 AC 10 80 17 00 00 00 00 00 00 3C [00:20:22]Write i2c OK [00:20:22]MH_I2C_Read... [00:20:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:22]Read from MH i2c: E2 [00:20:22]MH_I2C_Read... [00:20:22]Read from MH i2c: E2 FD 00 [00:20:22]MH_I2C_Read... [00:20:22]Read from MH i2c: E2 FD 00 AC 10 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F3 [00:20:22]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:20:22]wFMCommunicate OK [00:20:22]wFMCommunicate request_size=4 [00:20:22]MH_SAM_APDU [00:20:22]CAPDU: 80 17 00 00 [00:20:22]Write to MH i2c: E2 08 00 AD 10 80 17 00 00 00 00 00 00 3D [00:20:22]Write i2c OK [00:20:22]MH_I2C_Read... [00:20:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:23]Read from MH i2c: E2 [00:20:23]MH_I2C_Read... [00:20:23]Read from MH i2c: E2 FD 00 [00:20:23]MH_I2C_Read... [00:20:23]Read from MH i2c: E2 FD 00 AD 10 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 AF [00:20:23]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:20:23]wFMCommunicate OK [00:20:23]wFMCommunicate request_size=4 [00:20:23]MH_SAM_APDU [00:20:23]CAPDU: 80 17 00 00 [00:20:23]Write to MH i2c: E2 08 00 AE 10 80 17 00 00 00 00 00 00 3E [00:20:23]Write i2c OK [00:20:23]MH_I2C_Read... [00:20:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:20:23]Read from MH i2c: E2 [00:20:23]MH_I2C_Read... [00:20:23]Read from MH i2c: E2 CB 00 [00:20:23]MH_I2C_Read... [00:20:23]Read from MH i2c: E2 CB 00 AE 10 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 27 [00:20:23]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:20:23]wFMCommunicate OK [00:20:23]SAM_PROTO_GetShiftData done [00:20:23]requested_item shift.sale.total_cash is exist - process it [00:20:23]requested_item shift.sale_refund.total is exist - process it [00:20:23]requested_item shift.sale_refund.total_cash is exist - process it [00:20:23]requested_item shift.buy.total is exist - process it [00:20:23]requested_item shift.buy.total_cash is exist - process it [00:20:23]produce_requested_data done [00:20:23]produce_requested_data return {"fm.sale.total":11012631.86,"fm.sale_refund.total":26895.00,"fm.buy.total":0.00,"shift.sale.total":19890.00,"shift.sale.total_cash":4914.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:20:23]process_action_free get_value [00:20:23]json_value_free [00:20:23]json_value_free done [00:20:23]process_json_proto returns [00:20:23]Send response to host [00:20:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11012631.86,"fm.sale_refund.total":26895.00,"fm.buy.total":0.00,"shift.sale.total":19890.00,"shift.sale.total_cash":4914.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:20:23]free response buf [00:20:23]execute_script done [00:20:23]execute_script returns [00:20:23]free content buf [00:20:23]Sock 9.Close socket [00:20:23]Sock 9.Thread stoped [00:20:23]accept exits with 7 [00:20:23]New connection [00:20:23]New thread 3067293028 created [00:20:23]Thread 3067149668 joined [00:20:23]Waiting for new connection... [00:20:23] Sock 7.Parse request [00:20:23]Sock 7.Check first char [00:20:23]Sock 7.First char is OK [00:20:23]request: POST /json_proto HTTP/1.0 [00:20:23]Method: POST [00:20:23]URL: /json_proto [00:20:23]Method is POST - this is cgi request [00:20:23]url: /json_proto [00:20:23]query_string will be loaded in cgi processing [00:20:23]execute_cgi json_proto POST (null) [00:20:23]execute_cgi path=json_proto method=POST [00:20:23]POST find Content-Length [00:20:23]Host: 172.17.60.7:8080 [00:20:23]Content-Length: 215 [00:20:23]Content-Type: application/json [00:20:23] [00:20:23]POST finish read [00:20:23]Found Content-Length = 215 [00:20:23]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:20:23]execute_script... [00:20:23]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:20:23]POST & json_proto [00:20:23]process_json_proto [00:20:23]json parsed OK: [00:20:23]protocol is kg_v1.0 [00:20:23]action value=get_value [00:20:23]process_action get_value [00:20:23]cmd_get_value [00:20:23]process_action get_value done [00:20:23]requested_data is exist [00:20:23]produce_requested_data [00:20:23]requested_item kkm.sn is exist - process it [00:20:23]requested_item kkm.ver is exist - process it [00:20:23]requested_item fm.sn is exist - process it [00:20:23]wFMCommunicate request_size=4 [00:20:23]MH_SAM_APDU [00:20:23]CAPDU: 80 11 00 00 [00:20:23]Write to MH i2c: E2 08 00 AF 10 80 11 00 00 00 00 00 00 39 [00:20:23]Write i2c OK [00:20:23]MH_I2C_Read... [00:20:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:20:23]Read from MH i2c: E2 [00:20:23]MH_I2C_Read... [00:20:23]Read from MH i2c: E2 17 00 [00:20:23]MH_I2C_Read... [00:20:23]Read from MH i2c: E2 17 00 AF 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 8C [00:20:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [00:20:23]wFMCommunicate OK [00:20:23]requested_item fd.num is exist - process it [00:20:23]SAM_PROTO_GetFieldsCounters [00:20:23]wFMCommunicate request_size=4 [00:20:23]MH_SAM_APDU [00:20:23]CAPDU: 80 13 00 00 [00:20:23]Write to MH i2c: E2 08 00 B0 10 80 13 00 00 00 00 00 00 3C [00:20:23]Write i2c OK [00:20:23]MH_I2C_Read... [00:20:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:20:24]Read from MH i2c: E2 [00:20:24]MH_I2C_Read... [00:20:24]Read from MH i2c: E2 62 00 [00:20:24]MH_I2C_Read... [00:20:24]Read from MH i2c: E2 62 00 B0 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C8 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 C1 [00:20:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C8 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:20:24]wFMCommunicate OK [00:20:24]SAM_PROTO_GetFieldsCounters done [00:20:24]requested_item shift.num is exist - process it [00:20:24]requested_item shift.opened is exist - process it [00:20:24]req_shift_opened [00:20:24]FM_GetShiftState [00:20:24]SAM_PROTO_GetShiftState [00:20:24]wFMCommunicate request_size=4 [00:20:24]MH_SAM_APDU [00:20:24]CAPDU: 80 13 01 00 [00:20:24]Write to MH i2c: E2 08 00 B1 10 80 13 01 00 00 00 00 00 3E [00:20:24]Write i2c OK [00:20:24]MH_I2C_Read... [00:20:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:20:24]Read from MH i2c: E2 [00:20:24]MH_I2C_Read... [00:20:24]Read from MH i2c: E2 0E 00 [00:20:24]MH_I2C_Read... [00:20:24]Read from MH i2c: E2 0E 00 B1 10 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 67 [00:20:24]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [00:20:24]wFMCommunicate OK [00:20:24]SAM_PROTO_GetShiftState done [00:20:24]FM_GetShiftState done [00:20:24]req_shift_opened done [00:20:24]requested_item shift.open_date is exist - process it [00:20:24]req_shift_open_date [00:20:24]req_shift_open_date done [00:20:24]produce_requested_data done [00:20:24]produce_requested_data return {"kkm.sn":"0300000007","kkm.ver":"001","fm.sn":"0000000000874715","fd.num":52680,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [00:20:24]process_action_free get_value [00:20:24]json_value_free [00:20:24]json_value_free done [00:20:24]process_json_proto returns [00:20:24]Send response to host [00:20:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000007","kkm.ver":"001","fm.sn":"0000000000874715","fd.num":52680,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [00:20:24]free response buf [00:20:24]execute_script done [00:20:24]execute_script returns [00:20:24]free content buf [00:20:24]Sock 7.Close socket [00:20:24]Sock 7.Thread stoped [00:20:24]accept exits with 9 [00:20:24]New connection [00:20:24]New thread 3067149668 created [00:20:24]Thread 3067293028 joined [00:20:24]Waiting for new connection... [00:20:24] Sock 9.Parse request [00:20:24]Sock 9.Check first char [00:20:24]Sock 9.First char is OK [00:20:24]request: POST /json_proto HTTP/1.0 [00:20:24]Method: POST [00:20:24]URL: /json_proto [00:20:24]Method is POST - this is cgi request [00:20:24]url: /json_proto [00:20:24]query_string will be loaded in cgi processing [00:20:24]execute_cgi json_proto POST (null) [00:20:24]execute_cgi path=json_proto method=POST [00:20:24]POST find Content-Length [00:20:24]Host: 172.17.60.7:8080 [00:20:24]Content-Length: 331 [00:20:24]Content-Type: application/json [00:20:24] [00:20:24]POST finish read [00:20:24]Found Content-Length = 331 [00:20:24]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:20:24]execute_script... [00:20:24]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:20:24]POST & json_proto [00:20:24]process_json_proto [00:20:24]json parsed OK: [00:20:24]protocol is kg_v1.0 [00:20:24]action value=get_value [00:20:24]process_action get_value [00:20:24]cmd_get_value [00:20:24]process_action get_value done [00:20:24]requested_data is exist [00:20:24]produce_requested_data [00:20:24]requested_item fm.sale.total is exist - process it [00:20:24]SAM_PROTO_GetFMData [00:20:24]wFMCommunicate request_size=4 [00:20:24]MH_SAM_APDU [00:20:24]CAPDU: 80 13 03 00 [00:20:24]Write to MH i2c: E2 08 00 B2 10 80 13 03 00 00 00 00 00 41 [00:20:24]Write i2c OK [00:20:24]MH_I2C_Read... [00:20:24]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:20:24]Read from MH i2c: E2 [00:20:24]MH_I2C_Read... [00:20:24]Read from MH i2c: E2 FD 00 [00:20:24]MH_I2C_Read... [00:20:24]Read from MH i2c: E2 FD 00 B2 10 00 C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 2A [00:20:24]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 [00:20:24]wFMCommunicate OK [00:20:24]wFMCommunicate request_size=4 [00:20:24]MH_SAM_APDU [00:20:24]CAPDU: 80 17 00 00 [00:20:24]Write to MH i2c: E2 08 00 B3 10 80 17 00 00 00 00 00 00 43 [00:20:24]Write i2c OK [00:20:24]MH_I2C_Read... [00:20:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:25]Read from MH i2c: E2 [00:20:25]MH_I2C_Read... [00:20:25]Read from MH i2c: E2 FD 00 [00:20:25]MH_I2C_Read... [00:20:25]Read from MH i2c: E2 FD 00 B3 10 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C7 [00:20:25]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:20:25]wFMCommunicate OK [00:20:25]wFMCommunicate request_size=4 [00:20:25]MH_SAM_APDU [00:20:25]CAPDU: 80 17 00 00 [00:20:25]Write to MH i2c: E2 08 00 B4 10 80 17 00 00 00 00 00 00 44 [00:20:25]Write i2c OK [00:20:25]MH_I2C_Read... [00:20:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:25]Read from MH i2c: E2 [00:20:25]MH_I2C_Read... [00:20:25]Read from MH i2c: E2 FD 00 [00:20:25]MH_I2C_Read... [00:20:25]OFD Sender: No OFD packet to send [00:20:25]Read from MH i2c: E2 FD 00 B4 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 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 90 00 E4 [00:20:25]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 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 90 00 [00:20:25]wFMCommunicate OK [00:20:25]wFMCommunicate request_size=4 [00:20:25]MH_SAM_APDU [00:20:25]CAPDU: 80 17 00 00 [00:20:25]Write to MH i2c: E2 08 00 B5 10 80 17 00 00 00 00 00 00 45 [00:20:25]Write i2c OK [00:20:25]MH_I2C_Read... [00:20:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:25]Read from MH i2c: E2 [00:20:25]MH_I2C_Read... [00:20:25]Read from MH i2c: E2 FD 00 [00:20:25]MH_I2C_Read... [00:20:25]Read from MH i2c: E2 FD 00 B5 10 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CA [00:20:25]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:20:25]wFMCommunicate OK [00:20:25]wFMCommunicate request_size=4 [00:20:25]MH_SAM_APDU [00:20:25]CAPDU: 80 17 00 00 [00:20:25]Write to MH i2c: E2 08 00 B6 10 80 17 00 00 00 00 00 00 46 [00:20:25]Write i2c OK [00:20:25]MH_I2C_Read... [00:20:26]Read from MH i2c: E2 [00:20:26]MH_I2C_Read... [00:20:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:20:26]Read from MH i2c: E2 DE 00 [00:20:26]MH_I2C_Read... [00:20:26]Read from MH i2c: E2 DE 00 B6 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 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 25 [00:20:26]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 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:20:26]wFMCommunicate OK [00:20:26]SAM_PROTO_GetFMData done [00:20:26]requested_item fm.sale_refund.total is exist - process it [00:20:26]requested_item fm.buy.total is exist - process it [00:20:26]requested_item shift.sale.total is exist - process it [00:20:26]SAM_PROTO_GetShiftData [00:20:26]wFMCommunicate request_size=4 [00:20:26]MH_SAM_APDU [00:20:26]CAPDU: 80 13 02 00 [00:20:26]Write to MH i2c: E2 08 00 B7 10 80 13 02 00 00 00 00 00 45 [00:20:26]Write i2c OK [00:20:26]MH_I2C_Read... [00:20:26]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:20:26]Read from MH i2c: E2 [00:20:26]MH_I2C_Read... [00:20:26]Read from MH i2c: E2 FD 00 [00:20:26]MH_I2C_Read... [00:20:26]Read from MH i2c: E2 FD 00 B7 10 00 AE 04 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 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 08 39 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 FD [00:20:26]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 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 08 39 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:20:26]wFMCommunicate OK [00:20:26]wFMCommunicate request_size=4 [00:20:26]MH_SAM_APDU [00:20:26]CAPDU: 80 17 00 00 [00:20:26]Write to MH i2c: E2 08 00 B8 10 80 17 00 00 00 00 00 00 48 [00:20:26]Write i2c OK [00:20:26]MH_I2C_Read... [00:20:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:26]Read from MH i2c: E2 [00:20:26]MH_I2C_Read... [00:20:26]Read from MH i2c: E2 FD 00 [00:20:26]MH_I2C_Read... [00:20:26]Read from MH i2c: E2 FD 00 B8 10 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 6A [00:20:27]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:20:27]wFMCommunicate OK [00:20:27]wFMCommunicate request_size=4 [00:20:27]MH_SAM_APDU [00:20:27]CAPDU: 80 17 00 00 [00:20:27]Write to MH i2c: E2 08 00 B9 10 80 17 00 00 00 00 00 00 49 [00:20:27]Write i2c OK [00:20:27]MH_I2C_Read... [00:20:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:27]Read from MH i2c: E2 [00:20:27]MH_I2C_Read... [00:20:27]Read from MH i2c: E2 FD 00 [00:20:27]MH_I2C_Read... [00:20:27]Read from MH i2c: E2 FD 00 B9 10 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 00 [00:20:27]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:20:27]wFMCommunicate OK [00:20:27]wFMCommunicate request_size=4 [00:20:27]MH_SAM_APDU [00:20:27]CAPDU: 80 17 00 00 [00:20:27]Write to MH i2c: E2 08 00 BA 10 80 17 00 00 00 00 00 00 4A [00:20:27]Write i2c OK [00:20:27]MH_I2C_Read... [00:20:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:20:27]Read from MH i2c: E2 [00:20:27]MH_I2C_Read... [00:20:27]Read from MH i2c: E2 FD 00 [00:20:27]MH_I2C_Read... [00:20:27]Read from MH i2c: E2 FD 00 BA 10 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 BC [00:20:27]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:20:27]wFMCommunicate OK [00:20:27]wFMCommunicate request_size=4 [00:20:27]MH_SAM_APDU [00:20:27]CAPDU: 80 17 00 00 [00:20:27]Write to MH i2c: E2 08 00 BB 10 80 17 00 00 00 00 00 00 4B [00:20:27]Write i2c OK [00:20:27]MH_I2C_Read... [00:20:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:20:28]Read from MH i2c: E2 [00:20:28]MH_I2C_Read... [00:20:28]Read from MH i2c: E2 CB 00 [00:20:28]MH_I2C_Read... [00:20:28]Read from MH i2c: E2 CB 00 BB 10 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 34 [00:20:28]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:20:28]wFMCommunicate OK [00:20:28]SAM_PROTO_GetShiftData done [00:20:28]requested_item shift.sale.total_cash is exist - process it [00:20:28]requested_item shift.sale_refund.total is exist - process it [00:20:28]requested_item shift.sale_refund.total_cash is exist - process it [00:20:28]requested_item shift.buy.total is exist - process it [00:20:28]requested_item shift.buy.total_cash is exist - process it [00:20:28]produce_requested_data done [00:20:28]produce_requested_data return {"fm.sale.total":11012631.86,"fm.sale_refund.total":26895.00,"fm.buy.total":0.00,"shift.sale.total":19890.00,"shift.sale.total_cash":4914.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:20:28]process_action_free get_value [00:20:28]json_value_free [00:20:28]json_value_free done [00:20:28]process_json_proto returns [00:20:28]Send response to host [00:20:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11012631.86,"fm.sale_refund.total":26895.00,"fm.buy.total":0.00,"shift.sale.total":19890.00,"shift.sale.total_cash":4914.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:20:28]free response buf [00:20:28]execute_script done [00:20:28]execute_script returns [00:20:28]free content buf [00:20:28]Sock 9.Close socket [00:20:28]Sock 9.Thread stoped [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:44]accept exits with 7 [00:22:44]New connection [00:22:44]New thread 3067293028 created [00:22:44]Thread 3067149668 joined [00:22:44]Waiting for new connection... [00:22:44] Sock 7.Parse request [00:22:44]Sock 7.Check first char [00:22:44]Sock 7.First char is OK [00:22:44]request: POST /json_proto HTTP/1.0 [00:22:44]Method: POST [00:22:44]URL: /json_proto [00:22:44]Method is POST - this is cgi request [00:22:44]url: /json_proto [00:22:44]query_string will be loaded in cgi processing [00:22:44]execute_cgi json_proto POST (null) [00:22:44]execute_cgi path=json_proto method=POST [00:22:44]POST find Content-Length [00:22:44]Host: 172.17.60.7:8080 [00:22:44]Content-Length: 215 [00:22:44]Content-Type: application/json [00:22:44] [00:22:44]POST finish read [00:22:44]Found Content-Length = 215 [00:22:44]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:22:44]execute_script... [00:22:44]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:22:44]POST & json_proto [00:22:44]process_json_proto [00:22:44]json parsed OK: [00:22:44]protocol is kg_v1.0 [00:22:44]action value=get_value [00:22:44]process_action get_value [00:22:44]cmd_get_value [00:22:44]process_action get_value done [00:22:44]requested_data is exist [00:22:44]produce_requested_data [00:22:44]requested_item kkm.sn is exist - process it [00:22:44]requested_item kkm.ver is exist - process it [00:22:44]requested_item fm.sn is exist - process it [00:22:44]wFMCommunicate request_size=4 [00:22:44]MH_SAM_APDU [00:22:44]CAPDU: 80 11 00 00 [00:22:44]Write to MH i2c: E2 08 00 BC 10 80 11 00 00 00 00 00 00 46 [00:22:44]Write i2c OK [00:22:44]MH_I2C_Read... [00:22:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:22:44]Read from MH i2c: E2 [00:22:44]MH_I2C_Read... [00:22:44]Read from MH i2c: E2 17 00 [00:22:44]MH_I2C_Read... [00:22:44]Read from MH i2c: E2 17 00 BC 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 99 [00:22:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [00:22:44]wFMCommunicate OK [00:22:44]requested_item fd.num is exist - process it [00:22:44]SAM_PROTO_GetFieldsCounters [00:22:44]wFMCommunicate request_size=4 [00:22:44]MH_SAM_APDU [00:22:44]CAPDU: 80 13 00 00 [00:22:44]Write to MH i2c: E2 08 00 BD 10 80 13 00 00 00 00 00 00 49 [00:22:44]Write i2c OK [00:22:44]MH_I2C_Read... [00:22:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:22:44]Read from MH i2c: E2 [00:22:44]MH_I2C_Read... [00:22:44]Read from MH i2c: E2 62 00 [00:22:44]MH_I2C_Read... [00:22:44]Read from MH i2c: E2 62 00 BD 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C8 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 CE [00: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C8 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:22:44]wFMCommunicate OK [00:22:44]SAM_PROTO_GetFieldsCounters done [00:22:44]requested_item shift.num is exist - process it [00:22:44]requested_item shift.opened is exist - process it [00:22:44]req_shift_opened [00:22:44]FM_GetShiftState [00:22:44]SAM_PROTO_GetShiftState [00:22:44]wFMCommunicate request_size=4 [00:22:44]MH_SAM_APDU [00:22:44]CAPDU: 80 13 01 00 [00:22:44]Write to MH i2c: E2 08 00 BE 10 80 13 01 00 00 00 00 00 4B [00:22:44]Write i2c OK [00:22:44]MH_I2C_Read... [00:22:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:22:44]Read from MH i2c: E2 [00:22:44]MH_I2C_Read... [00:22:44]Read from MH i2c: E2 0E 00 [00:22:44]MH_I2C_Read... [00:22:44]Read from MH i2c: E2 0E 00 BE 10 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 74 [00:22:44]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [00:22:44]wFMCommunicate OK [00:22:44]SAM_PROTO_GetShiftState done [00:22:44]FM_GetShiftState done [00:22:44]req_shift_opened done [00:22:44]requested_item shift.open_date is exist - process it [00:22:44]req_shift_open_date [00:22:44]req_shift_open_date done [00:22:44]produce_requested_data done [00:22:44]produce_requested_data return {"kkm.sn":"0300000007","kkm.ver":"001","fm.sn":"0000000000874715","fd.num":52680,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [00:22:44]process_action_free get_value [00:22:44]json_value_free [00:22:44]json_value_free done [00:22:44]process_json_proto returns [00:22:44]Send response to host [00:22:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000007","kkm.ver":"001","fm.sn":"0000000000874715","fd.num":52680,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [00:22:44]free response buf [00:22:44]execute_script done [00:22:44]execute_script returns [00:22:44]free content buf [00:22:44]Sock 7.Close socket [00:22:44]Sock 7.Thread stoped [00:22:44]accept exits with 9 [00:22:44]New connection [00:22:44]New thread 3067149668 created [00:22:44]Thread 3067293028 joined [00:22:44]Waiting for new connection... [00:22:44] Sock 9.Parse request [00:22:44]Sock 9.Check first char [00:22:44]Sock 9.First char is OK [00:22:44]request: POST /json_proto HTTP/1.0 [00:22:44]Method: POST [00:22:44]URL: /json_proto [00:22:44]Method is POST - this is cgi request [00:22:44]url: /json_proto [00:22:44]query_string will be loaded in cgi processing [00:22:44]execute_cgi json_proto POST (null) [00:22:44]execute_cgi path=json_proto method=POST [00:22:44]POST find Content-Length [00:22:44]Host: 172.17.60.7:8080 [00:22:44]Content-Length: 331 [00:22:44]Content-Type: application/json [00:22:44] [00:22:44]POST finish read [00:22:44]Found Content-Length = 331 [00:22:44]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:22:44]execute_script... [00:22:44]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:22:44]POST & json_proto [00:22:44]process_json_proto [00:22:44]json parsed OK: [00:22:44]protocol is kg_v1.0 [00:22:44]action value=get_value [00:22:44]process_action get_value [00:22:44]cmd_get_value [00:22:44]process_action get_value done [00:22:44]requested_data is exist [00:22:44]produce_requested_data [00:22:44]requested_item fm.sale.total is exist - process it [00:22:44]SAM_PROTO_GetFMData [00:22:44]wFMCommunicate request_size=4 [00:22:44]MH_SAM_APDU [00:22:44]CAPDU: 80 13 03 00 [00:22:44]Write to MH i2c: E2 08 00 BF 10 80 13 03 00 00 00 00 00 4E [00:22:44]Write i2c OK [00:22:44]MH_I2C_Read... [00:22:45]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:22:45]Read from MH i2c: E2 [00:22:45]MH_I2C_Read... [00:22:45]Read from MH i2c: E2 FD 00 [00:22:45]MH_I2C_Read... [00:22:45]Read from MH i2c: E2 FD 00 BF 10 00 C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 37 [00:22:45]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 [00:22:45]wFMCommunicate OK [00:22:45]wFMCommunicate request_size=4 [00:22:45]MH_SAM_APDU [00:22:45]CAPDU: 80 17 00 00 [00:22:45]Write to MH i2c: E2 08 00 C0 10 80 17 00 00 00 00 00 00 50 [00:22:45]Write i2c OK [00:22:45]MH_I2C_Read... [00:22:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:45]Read from MH i2c: E2 [00:22:45]MH_I2C_Read... [00:22:45]Read from MH i2c: E2 FD 00 [00:22:45]MH_I2C_Read... [00:22:45]Read from MH i2c: E2 FD 00 C0 10 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D4 [00:22:45]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:22:45]wFMCommunicate OK [00:22:45]wFMCommunicate request_size=4 [00:22:45]MH_SAM_APDU [00:22:45]CAPDU: 80 17 00 00 [00:22:45]Write to MH i2c: E2 08 00 C1 10 80 17 00 00 00 00 00 00 51 [00:22:45]Write i2c OK [00:22:45]MH_I2C_Read... [00:22:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:45]Read from MH i2c: E2 [00:22:45]MH_I2C_Read... [00:22:45]Read from MH i2c: E2 FD 00 [00:22:45]MH_I2C_Read... [00:22:45]Read from MH i2c: E2 FD 00 C1 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 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 90 00 F1 [00:22:45]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 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 90 00 [00:22:45]wFMCommunicate OK [00:22:45]wFMCommunicate request_size=4 [00:22:45]MH_SAM_APDU [00:22:45]CAPDU: 80 17 00 00 [00:22:45]Write to MH i2c: E2 08 00 C2 10 80 17 00 00 00 00 00 00 52 [00:22:45]OFD Sender: No OFD packet to send [00:22:45]Write i2c OK [00:22:45]MH_I2C_Read... [00:22:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:45]Read from MH i2c: E2 [00:22:45]MH_I2C_Read... [00:22:45]Read from MH i2c: E2 FD 00 [00:22:45]MH_I2C_Read... [00:22:45]Read from MH i2c: E2 FD 00 C2 10 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D7 [00:22:45]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:22:45]wFMCommunicate OK [00:22:45]wFMCommunicate request_size=4 [00:22:45]MH_SAM_APDU [00:22:45]CAPDU: 80 17 00 00 [00:22:45]Write to MH i2c: E2 08 00 C3 10 80 17 00 00 00 00 00 00 53 [00:22:45]Write i2c OK [00:22:45]MH_I2C_Read... [00:22:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:22:46]Read from MH i2c: E2 [00:22:46]MH_I2C_Read... [00:22:46]Read from MH i2c: E2 DE 00 [00:22:46]MH_I2C_Read... [00:22:46]Read from MH i2c: E2 DE 00 C3 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 32 [00:22:46]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 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:22:46]wFMCommunicate OK [00:22:46]SAM_PROTO_GetFMData done [00:22:46]requested_item fm.sale_refund.total is exist - process it [00:22:46]requested_item fm.buy.total is exist - process it [00:22:46]requested_item shift.sale.total is exist - process it [00:22:46]SAM_PROTO_GetShiftData [00:22:46]wFMCommunicate request_size=4 [00:22:46]MH_SAM_APDU [00:22:46]CAPDU: 80 13 02 00 [00:22:46]Write to MH i2c: E2 08 00 C4 10 80 13 02 00 00 00 00 00 52 [00:22:46]Write i2c OK [00:22:46]MH_I2C_Read... [00:22:46]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:22:46]Read from MH i2c: E2 [00:22:46]MH_I2C_Read... [00:22:46]Read from MH i2c: E2 FD 00 [00:22:46]MH_I2C_Read... [00:22:46]Read from MH i2c: E2 FD 00 C4 10 00 AE 04 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 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 08 39 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 0A [00:22:46]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 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 08 39 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:22:46]wFMCommunicate OK [00:22:46]wFMCommunicate request_size=4 [00:22:46]MH_SAM_APDU [00:22:46]CAPDU: 80 17 00 00 [00:22:46]Write to MH i2c: E2 08 00 C5 10 80 17 00 00 00 00 00 00 55 [00:22:46]Write i2c OK [00:22:46]MH_I2C_Read... [00:22:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:46]Read from MH i2c: E2 [00:22:46]MH_I2C_Read... [00:22:46]Read from MH i2c: E2 FD 00 [00:22:46]MH_I2C_Read... [00:22:46]Read from MH i2c: E2 FD 00 C5 10 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 77 [00:22:46]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:22:46]wFMCommunicate OK [00:22:46]wFMCommunicate request_size=4 [00:22:46]MH_SAM_APDU [00:22:46]CAPDU: 80 17 00 00 [00:22:46]Write to MH i2c: E2 08 00 C6 10 80 17 00 00 00 00 00 00 56 [00:22:46]Write i2c OK [00:22:46]MH_I2C_Read... [00:22:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:47]Read from MH i2c: E2 [00:22:47]MH_I2C_Read... [00:22:47]Read from MH i2c: E2 FD 00 [00:22:47]MH_I2C_Read... [00:22:47]Read from MH i2c: E2 FD 00 C6 10 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 0D [00:22:47]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:22:47]wFMCommunicate OK [00:22:47]wFMCommunicate request_size=4 [00:22:47]MH_SAM_APDU [00:22:47]CAPDU: 80 17 00 00 [00:22:47]Write to MH i2c: E2 08 00 C7 10 80 17 00 00 00 00 00 00 57 [00:22:47]Write i2c OK [00:22:47]MH_I2C_Read... [00:22:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:47]Read from MH i2c: E2 [00:22:47]MH_I2C_Read... [00:22:47]Read from MH i2c: E2 FD 00 [00:22:47]MH_I2C_Read... [00:22:47]Read from MH i2c: E2 FD 00 C7 10 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 C9 [00:22:47]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:22:47]wFMCommunicate OK [00:22:47]wFMCommunicate request_size=4 [00:22:47]MH_SAM_APDU [00:22:47]CAPDU: 80 17 00 00 [00:22:47]Write to MH i2c: E2 08 00 C8 10 80 17 00 00 00 00 00 00 58 [00:22:47]Write i2c OK [00:22:47]MH_I2C_Read... [00:22:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:22:47]Read from MH i2c: E2 [00:22:47]MH_I2C_Read... [00:22:47]Read from MH i2c: E2 CB 00 [00:22:47]MH_I2C_Read... [00:22:47]Read from MH i2c: E2 CB 00 C8 10 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 41 [00:22:47]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:22:47]wFMCommunicate OK [00:22:47]SAM_PROTO_GetShiftData done [00:22:47]requested_item shift.sale.total_cash is exist - process it [00:22:47]requested_item shift.sale_refund.total is exist - process it [00:22:47]requested_item shift.sale_refund.total_cash is exist - process it [00:22:47]requested_item shift.buy.total is exist - process it [00:22:47]requested_item shift.buy.total_cash is exist - process it [00:22:47]produce_requested_data done [00:22:47]produce_requested_data return {"fm.sale.total":11012631.86,"fm.sale_refund.total":26895.00,"fm.buy.total":0.00,"shift.sale.total":19890.00,"shift.sale.total_cash":4914.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:22:47]process_action_free get_value [00:22:47]json_value_free [00:22:47]json_value_free done [00:22:47]process_json_proto returns [00:22:47]Send response to host [00:22:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11012631.86,"fm.sale_refund.total":26895.00,"fm.buy.total":0.00,"shift.sale.total":19890.00,"shift.sale.total_cash":4914.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:22:47]free response buf [00:22:47]execute_script done [00:22:47]execute_script returns [00:22:47]free content buf [00:22:47]Sock 9.Close socket [00:22:47]Sock 9.Thread stoped [00:22:47]accept exits with 7 [00:22:47]New connection [00:22:47]New thread 3067293028 created [00:22:47]Thread 3067149668 joined [00:22:47]Waiting for new connection... [00:22:47] Sock 7.Parse request [00:22:47]Sock 7.Check first char [00:22:47]Sock 7.First char is OK [00:22:47]request: POST /json_proto HTTP/1.0 [00:22:47]Method: POST [00:22:47]URL: /json_proto [00:22:47]Method is POST - this is cgi request [00:22:47]url: /json_proto [00:22:47]query_string will be loaded in cgi processing [00:22:47]execute_cgi json_proto POST (null) [00:22:47]execute_cgi path=json_proto method=POST [00:22:47]POST find Content-Length [00:22:47]Host: 172.17.60.7:8080 [00:22:47]Content-Length: 331 [00:22:47]Content-Type: application/json [00:22:47] [00:22:47]POST finish read [00:22:47]Found Content-Length = 331 [00:22:47]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:22:47]execute_script... [00:22:47]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:22:47]POST & json_proto [00:22:47]process_json_proto [00:22:47]json parsed OK: [00:22:47]protocol is kg_v1.0 [00:22:47]action value=get_value [00:22:47]process_action get_value [00:22:47]cmd_get_value [00:22:47]process_action get_value done [00:22:47]requested_data is exist [00:22:47]produce_requested_data [00:22:47]requested_item fm.sale.total is exist - process it [00:22:47]SAM_PROTO_GetFMData [00:22:47]wFMCommunicate request_size=4 [00:22:47]MH_SAM_APDU [00:22:47]CAPDU: 80 13 03 00 [00:22:47]Write to MH i2c: E2 08 00 C9 10 80 13 03 00 00 00 00 00 58 [00:22:47]Write i2c OK [00:22:47]MH_I2C_Read... [00:22:48]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:22:48]Read from MH i2c: E2 [00:22:48]MH_I2C_Read... [00:22:48]Read from MH i2c: E2 FD 00 [00:22:48]MH_I2C_Read... [00:22:48]Read from MH i2c: E2 FD 00 C9 10 00 C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 41 [00:22:48]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 [00:22:48]wFMCommunicate OK [00:22:48]wFMCommunicate request_size=4 [00:22:48]MH_SAM_APDU [00:22:48]CAPDU: 80 17 00 00 [00:22:48]Write to MH i2c: E2 08 00 CA 10 80 17 00 00 00 00 00 00 5A [00:22:48]Write i2c OK [00:22:48]MH_I2C_Read... [00:22:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:48]Read from MH i2c: E2 [00:22:48]MH_I2C_Read... [00:22:48]Read from MH i2c: E2 FD 00 [00:22:48]MH_I2C_Read... [00:22:48]Read from MH i2c: E2 FD 00 CA 10 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DE [00:22:48]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:22:48]wFMCommunicate OK [00:22:48]wFMCommunicate request_size=4 [00:22:48]MH_SAM_APDU [00:22:48]CAPDU: 80 17 00 00 [00:22:48]Write to MH i2c: E2 08 00 CB 10 80 17 00 00 00 00 00 00 5B [00:22:48]Write i2c OK [00:22:48]MH_I2C_Read... [00:22:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:49]Read from MH i2c: E2 [00:22:49]MH_I2C_Read... [00:22:49]Read from MH i2c: E2 FD 00 [00:22:49]MH_I2C_Read... [00:22:49]Read from MH i2c: E2 FD 00 CB 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 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 90 00 FB [00:22:49]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 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 90 00 [00:22:49]wFMCommunicate OK [00:22:49]wFMCommunicate request_size=4 [00:22:49]MH_SAM_APDU [00:22:49]CAPDU: 80 17 00 00 [00:22:49]Write to MH i2c: E2 08 00 CC 10 80 17 00 00 00 00 00 00 5C [00:22:49]Write i2c OK [00:22:49]MH_I2C_Read... [00:22:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:49]Read from MH i2c: E2 [00:22:49]MH_I2C_Read... [00:22:49]Read from MH i2c: E2 FD 00 [00:22:49]MH_I2C_Read... [00:22:49]Read from MH i2c: E2 FD 00 CC 10 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E1 [00:22:49]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:22:49]wFMCommunicate OK [00:22:49]wFMCommunicate request_size=4 [00:22:49]MH_SAM_APDU [00:22:49]CAPDU: 80 17 00 00 [00:22:49]Write to MH i2c: E2 08 00 CD 10 80 17 00 00 00 00 00 00 5D [00:22:49]Write i2c OK [00:22:49]MH_I2C_Read... [00:22:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:22:49]Read from MH i2c: E2 [00:22:49]MH_I2C_Read... [00:22:49]Read from MH i2c: E2 DE 00 [00:22:49]MH_I2C_Read... [00:22:49]Read from MH i2c: E2 DE 00 CD 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 3C [00:22:49]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 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:22:49]wFMCommunicate OK [00:22:49]SAM_PROTO_GetFMData done [00:22:49]requested_item fm.sale_refund.total is exist - process it [00:22:49]requested_item fm.buy.total is exist - process it [00:22:49]requested_item shift.sale.total is exist - process it [00:22:49]SAM_PROTO_GetShiftData [00:22:49]wFMCommunicate request_size=4 [00:22:49]MH_SAM_APDU [00:22:49]CAPDU: 80 13 02 00 [00:22:49]Write to MH i2c: E2 08 00 CE 10 80 13 02 00 00 00 00 00 5C [00:22:49]Write i2c OK [00:22:49]MH_I2C_Read... [00:22:50]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:22:50]Read from MH i2c: E2 [00:22:50]MH_I2C_Read... [00:22:50]Read from MH i2c: E2 FD 00 [00:22:50]MH_I2C_Read... [00:22:50]Read from MH i2c: E2 FD 00 CE 10 00 AE 04 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 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 08 39 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 14 [00:22:50]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 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 08 39 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:22:50]wFMCommunicate OK [00:22:50]wFMCommunicate request_size=4 [00:22:50]MH_SAM_APDU [00:22:50]CAPDU: 80 17 00 00 [00:22:50]Write to MH i2c: E2 08 00 CF 10 80 17 00 00 00 00 00 00 5F [00:22:50]Write i2c OK [00:22:50]MH_I2C_Read... [00:22:50]OFD Sender: No OFD packet to send [00:22:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:50]Read from MH i2c: E2 [00:22:50]MH_I2C_Read... [00:22:50]Read from MH i2c: E2 FD 00 [00:22:50]MH_I2C_Read... [00:22:50]Read from MH i2c: E2 FD 00 CF 10 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 81 [00:22:50]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:22:50]wFMCommunicate OK [00:22:50]wFMCommunicate request_size=4 [00:22:50]MH_SAM_APDU [00:22:50]CAPDU: 80 17 00 00 [00:22:50]Write to MH i2c: E2 08 00 D0 10 80 17 00 00 00 00 00 00 60 [00:22:50]Write i2c OK [00:22:50]MH_I2C_Read... [00:22:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:51]Read from MH i2c: E2 [00:22:51]MH_I2C_Read... [00:22:51]Read from MH i2c: E2 FD 00 [00:22:51]MH_I2C_Read... [00:22:51]Read from MH i2c: E2 FD 00 D0 10 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 17 [00:22:51]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:22:51]wFMCommunicate OK [00:22:51]wFMCommunicate request_size=4 [00:22:51]MH_SAM_APDU [00:22:51]CAPDU: 80 17 00 00 [00:22:51]Write to MH i2c: E2 08 00 D1 10 80 17 00 00 00 00 00 00 61 [00:22:51]Write i2c OK [00:22:51]MH_I2C_Read... [00:22:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:51]Read from MH i2c: E2 [00:22:51]MH_I2C_Read... [00:22:51]Read from MH i2c: E2 FD 00 [00:22:51]MH_I2C_Read... [00:22:51]Read from MH i2c: E2 FD 00 D1 10 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 D3 [00:22:51]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:22:51]wFMCommunicate OK [00:22:51]wFMCommunicate request_size=4 [00:22:51]MH_SAM_APDU [00:22:51]CAPDU: 80 17 00 00 [00:22:51]Write to MH i2c: E2 08 00 D2 10 80 17 00 00 00 00 00 00 62 [00:22:51]Write i2c OK [00:22:51]MH_I2C_Read... [00:22:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:22:52]Read from MH i2c: E2 [00:22:52]MH_I2C_Read... [00:22:52]Read from MH i2c: E2 CB 00 [00:22:52]MH_I2C_Read... [00:22:52]Read from MH i2c: E2 CB 00 D2 10 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 4B [00:22:52]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:22:52]wFMCommunicate OK [00:22:52]SAM_PROTO_GetShiftData done [00:22:52]requested_item shift.sale.total_cash is exist - process it [00:22:52]requested_item shift.sale_refund.total is exist - process it [00:22:52]requested_item shift.sale_refund.total_cash is exist - process it [00:22:52]requested_item shift.buy.total is exist - process it [00:22:52]requested_item shift.buy.total_cash is exist - process it [00:22:52]produce_requested_data done [00:22:52]produce_requested_data return {"fm.sale.total":11012631.86,"fm.sale_refund.total":26895.00,"fm.buy.total":0.00,"shift.sale.total":19890.00,"shift.sale.total_cash":4914.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:22:52]process_action_free get_value [00:22:52]json_value_free [00:22:52]json_value_free done [00:22:52]process_json_proto returns [00:22:52]Send response to host [00:22:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11012631.86,"fm.sale_refund.total":26895.00,"fm.buy.total":0.00,"shift.sale.total":19890.00,"shift.sale.total_cash":4914.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:22:52]free response buf [00:22:52]execute_script done [00:22:52]execute_script returns [00:22:52]free content buf [00:22:52]Sock 7.Close socket [00:22:52]Sock 7.Thread stoped [00:22:52]accept exits with 9 [00:22:52]New connection [00:22:52]New thread 3067149668 created [00:22:52]Thread 3067293028 joined [00:22:52]Waiting for new connection... [00:22:52] Sock 9.Parse request [00:22:52]Sock 9.Check first char [00:22:52]Sock 9.First char is OK [00:22:52]request: POST /json_proto HTTP/1.0 [00:22:52]Method: POST [00:22:52]URL: /json_proto [00:22:52]Method is POST - this is cgi request [00:22:52]url: /json_proto [00:22:52]query_string will be loaded in cgi processing [00:22:52]execute_cgi json_proto POST (null) [00:22:52]execute_cgi path=json_proto method=POST [00:22:52]POST find Content-Length [00:22:52]Host: 172.17.60.7:8080 [00:22:52]Content-Length: 275 [00:22:52]Content-Type: application/json [00:22:52] [00:22:52]POST finish read [00:22:52]Found Content-Length = 275 [00:22:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0422\u044B\u043D\u044B\u0441\u0442\u0430\u043D\u043E\u0432\u0430 \u0416. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:22:52]execute_script... [00:22:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0422\u044B\u043D\u044B\u0441\u0442\u0430\u043D\u043E\u0432\u0430 \u0416. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:22:52]POST & json_proto [00:22:52]process_json_proto [00:22:52]json parsed OK: [00:22:52]protocol is kg_v1.0 [00:22:52]action value=x_report [00:22:52]process_action x_report [00:22:52]cmd_x_report [00:22:52]MH_GetDate [00:22:52]Write to MH i2c: F0 00 00 D3 10 D2 [00:22:52]Write i2c OK [00:22:52]MH_I2C_Read... [00:22:52]Read from MH i2c: F0 [00:22:52]MH_I2C_Read... [00:22:52]Read from MH i2c: F0 09 00 [00:22:52]MH_I2C_Read... [00:22:52]Read from MH i2c: F0 09 00 D3 10 00 DE 55 B9 66 63 9B 67 64 F6 [00:22:52]GetLastDocTimeStamp 1723419637 [00:22:52]current date 1723422174 [00:22:52]FM_GetShiftState [00:22:52]SAM_PROTO_GetShiftState [00:22:52]wFMCommunicate request_size=4 [00:22:52]MH_SAM_APDU [00:22:52]CAPDU: 80 13 01 00 [00:22:52]Write to MH i2c: E2 08 00 D4 10 80 13 01 00 00 00 00 00 61 [00:22:52]Write i2c OK [00:22:52]MH_I2C_Read... [00:22:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:22:52]Read from MH i2c: E2 [00:22:52]MH_I2C_Read... [00:22:52]Read from MH i2c: E2 0E 00 [00:22:52]MH_I2C_Read... [00:22:52]Read from MH i2c: E2 0E 00 D4 10 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 8A [00:22:52]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [00:22:52]wFMCommunicate OK [00:22:52]SAM_PROTO_GetShiftState done [00:22:52]FM_GetShiftState done [00:22:52]KKMCreateXReportDocument [00:22:52]Load OK [00:22:52]Malloc new data [00:22:52]MH_GetDate [00:22:52]Write to MH i2c: F0 00 00 D5 10 D4 [00:22:52]Write i2c OK [00:22:52]MH_I2C_Read... [00:22:52]Read from MH i2c: F0 [00:22:52]MH_I2C_Read... [00:22:52]Read from MH i2c: F0 09 00 [00:22:52]MH_I2C_Read... [00:22:52]Read from MH i2c: F0 09 00 D5 10 00 DF 55 B9 66 63 9B 67 64 F9 [00:22:52]Malloc new data [00:22:52]Malloc new data [00:22:52]wFMCommunicate request_size=4 [00:22:52]MH_SAM_APDU [00:22:52]CAPDU: 80 11 00 00 [00:22:52]Write to MH i2c: E2 08 00 D6 10 80 11 00 00 00 00 00 00 60 [00:22:52]Write i2c OK [00:22:52]MH_I2C_Read... [00:22:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:22:52]Read from MH i2c: E2 [00:22:52]MH_I2C_Read... [00:22:52]Read from MH i2c: E2 17 00 [00:22:52]MH_I2C_Read... [00:22:52]Read from MH i2c: E2 17 00 D6 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 B3 [00:22:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [00:22:52]wFMCommunicate OK [00:22:52]SAM_PROTO_GetFieldsCounters [00:22:52]wFMCommunicate request_size=4 [00:22:52]MH_SAM_APDU [00:22:52]CAPDU: 80 13 00 00 [00:22:52]Write to MH i2c: E2 08 00 D7 10 80 13 00 00 00 00 00 00 63 [00:22:52]Write i2c OK [00:22:52]MH_I2C_Read... [00:22:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:22:52]Read from MH i2c: E2 [00:22:52]MH_I2C_Read... [00:22:52]Read from MH i2c: E2 62 00 [00:22:52]MH_I2C_Read... [00:22:52]Read from MH i2c: E2 62 00 D7 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C8 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 E8 [00:22: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C8 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:22:52]wFMCommunicate OK [00:22:52]SAM_PROTO_GetFieldsCounters done [00:22:52]Malloc new data [00:22:52]Malloc new data [00:22:52]Malloc new data [00:22:52]KKMCreateXReportDocument OK [00:22:52]KKMSetXReportData OK [00:22:52]KKMPrepareXReportFMData [00:22:52]SAM_PROTO_GetShiftData [00:22:52]wFMCommunicate request_size=4 [00:22:52]MH_SAM_APDU [00:22:52]CAPDU: 80 13 02 00 [00:22:52]Write to MH i2c: E2 08 00 D8 10 80 13 02 00 00 00 00 00 66 [00:22:52]Write i2c OK [00:22:52]MH_I2C_Read... [00:22:53]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:22:53]Read from MH i2c: E2 [00:22:53]MH_I2C_Read... [00:22:53]Read from MH i2c: E2 FD 00 [00:22:53]MH_I2C_Read... [00:22:53]Read from MH i2c: E2 FD 00 D8 10 00 AE 04 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 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 08 39 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1E [00:22:53]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 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 08 39 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:22:53]wFMCommunicate OK [00:22:53]wFMCommunicate request_size=4 [00:22:53]MH_SAM_APDU [00:22:53]CAPDU: 80 17 00 00 [00:22:53]Write to MH i2c: E2 08 00 D9 10 80 17 00 00 00 00 00 00 69 [00:22:53]Write i2c OK [00:22:53]MH_I2C_Read... [00:22:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:53]Read from MH i2c: E2 [00:22:53]MH_I2C_Read... [00:22:53]Read from MH i2c: E2 FD 00 [00:22:53]MH_I2C_Read... [00:22:53]Read from MH i2c: E2 FD 00 D9 10 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 8B [00:22:53]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:22:53]wFMCommunicate OK [00:22:53]wFMCommunicate request_size=4 [00:22:53]MH_SAM_APDU [00:22:53]CAPDU: 80 17 00 00 [00:22:53]Write to MH i2c: E2 08 00 DA 10 80 17 00 00 00 00 00 00 6A [00:22:53]Write i2c OK [00:22:53]MH_I2C_Read... [00:22:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:54]Read from MH i2c: E2 [00:22:54]MH_I2C_Read... [00:22:54]Read from MH i2c: E2 FD 00 [00:22:54]MH_I2C_Read... [00:22:54]Read from MH i2c: E2 FD 00 DA 10 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 21 [00:22:54]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:22:54]wFMCommunicate OK [00:22:54]wFMCommunicate request_size=4 [00:22:54]MH_SAM_APDU [00:22:54]CAPDU: 80 17 00 00 [00:22:54]Write to MH i2c: E2 08 00 DB 10 80 17 00 00 00 00 00 00 6B [00:22:54]Write i2c OK [00:22:54]MH_I2C_Read... [00:22:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:54]Read from MH i2c: E2 [00:22:54]MH_I2C_Read... [00:22:54]Read from MH i2c: E2 FD 00 [00:22:54]MH_I2C_Read... [00:22:54]Read from MH i2c: E2 FD 00 DB 10 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 DD [00:22:54]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:22:54]wFMCommunicate OK [00:22:54]wFMCommunicate request_size=4 [00:22:54]MH_SAM_APDU [00:22:54]CAPDU: 80 17 00 00 [00:22:54]Write to MH i2c: E2 08 00 DC 10 80 17 00 00 00 00 00 00 6C [00:22:54]Write i2c OK [00:22:54]MH_I2C_Read... [00:22:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:22:54]Read from MH i2c: E2 [00:22:54]MH_I2C_Read... [00:22:54]Read from MH i2c: E2 CB 00 [00:22:54]MH_I2C_Read... [00:22:54]Read from MH i2c: E2 CB 00 DC 10 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 55 [00:22:54]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:22:55]wFMCommunicate OK [00:22:55]SAM_PROTO_GetShiftData done [00:22:55]1194 (1194) - счетчики итогов смены [00:22:55] 1134 (4) - 91 - количество чеков со всеми признаками расчетов [00:22:55] 1129 (155) - счетчики операций «приход» [00:22:55] 1135 (4) - 91 - количество чеков по признаку расчетов [00:22:55] 1201 (3) - 19890.00 - общая итоговая сумма в чеках [00:22:55] 1136 (3) - 4914.00 - итоговая сумма в чеках наличными [00:22:55] 1138 (3) - 14976.00 - итоговая сумма в чеках безналичными [00:22:55] 1024 (122) - суммы налогов [00:22:55] 1006 (9) - суммы НДС [00:22:55] 1010 (1) - 0% - код ставки НДС [00:22:55] 1011 (0) - 0.00 - сумма НДС по ставке [00:22:55] 1006 (12) - суммы НДС [00:22:55] 1010 (1) - 12% - код ставки НДС [00:22:55] 1011 (3) - 2112.08 - сумма НДС по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 0% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (11) - суммы НСП [00:22:55] 1014 (1) - 1% - код ставки НСП [00:22:55] 1015 (2) - 175.96 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 2% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 3% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 5% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 0,50% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 1,50% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1130 (141) - счетчики операций «возврат прихода» [00:22:55] 1135 (4) - 0 - количество чеков по признаку расчетов [00:22:55] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:22:55] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:22:55] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:22:55] 1024 (117) - суммы налогов [00:22:55] 1006 (9) - суммы НДС [00:22:55] 1010 (1) - 0% - код ставки НДС [00:22:55] 1011 (0) - 0.00 - сумма НДС по ставке [00:22:55] 1006 (9) - суммы НДС [00:22:55] 1010 (1) - 12% - код ставки НДС [00:22:55] 1011 (0) - 0.00 - сумма НДС по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 0% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 1% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 2% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 3% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 5% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 0,50% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 1,50% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1131 (141) - счетчики операций «расход» [00:22:55] 1135 (4) - 0 - количество чеков по признаку расчетов [00:22:55] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:22:55] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:22:55] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:22:55] 1024 (117) - суммы налогов [00:22:55] 1006 (9) - суммы НДС [00:22:55] 1010 (1) - 0% - код ставки НДС [00:22:55] 1011 (0) - 0.00 - сумма НДС по ставке [00:22:55] 1006 (9) - суммы НДС [00:22:55] 1010 (1) - 12% - код ставки НДС [00:22:55] 1011 (0) - 0.00 - сумма НДС по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 0% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 1% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 2% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 3% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 5% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 0,50% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 1,50% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1132 (141) - счетчики операций «возврат расхода» [00:22:55] 1135 (4) - 0 - количество чеков по признаку расчетов [00:22:55] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:22:55] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:22:55] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:22:55] 1024 (117) - суммы налогов [00:22:55] 1006 (9) - суммы НДС [00:22:55] 1010 (1) - 0% - код ставки НДС [00:22:55] 1011 (0) - 0.00 - сумма НДС по ставке [00:22:55] 1006 (9) - суммы НДС [00:22:55] 1010 (1) - 12% - код ставки НДС [00:22:55] 1011 (0) - 0.00 - сумма НДС по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 0% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 1% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 2% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 3% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 5% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 0,50% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1007 (9) - суммы НСП [00:22:55] 1014 (1) - 1,50% - код ставки НСП [00:22:55] 1015 (0) - 0.00 - сумма НСП по ставке [00:22:55] 1133 (588) - - счетчики коррекции - не используются [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1194 (04AA) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1134 (046E) [00:22:55]Malloc new data [00:22:55]Processing tag 1129 (0469) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1135 (046F) [00:22:55]Malloc new data [00:22:55]Processing tag 1201 (04B1) [00:22:55]Malloc new data [00:22:55]Processing tag 1136 (0470) [00:22:55]Malloc new data [00:22:55]Processing tag 1138 (0472) [00:22:55]Malloc new data [00:22:55]Processing tag 1024 (0400) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1006 (03EE) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1010 (03F2) [00:22:55]Malloc new data [00:22:55]Processing tag 1011 (03F3) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1006 (03EE) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1010 (03F2) [00:22:55]Malloc new data [00:22:55]Processing tag 1011 (03F3) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]SetTLVBufToDocument err=0 [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1130 (046A) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1135 (046F) [00:22:55]Malloc new data [00:22:55]Processing tag 1201 (04B1) [00:22:55]Malloc new data [00:22:55]Processing tag 1136 (0470) [00:22:55]Malloc new data [00:22:55]Processing tag 1138 (0472) [00:22:55]Malloc new data [00:22:55]Processing tag 1024 (0400) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1006 (03EE) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1010 (03F2) [00:22:55]Malloc new data [00:22:55]Processing tag 1011 (03F3) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1006 (03EE) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1010 (03F2) [00:22:55]Malloc new data [00:22:55]Processing tag 1011 (03F3) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]SetTLVBufToDocument err=0 [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1131 (046B) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1135 (046F) [00:22:55]Malloc new data [00:22:55]Processing tag 1201 (04B1) [00:22:55]Malloc new data [00:22:55]Processing tag 1136 (0470) [00:22:55]Malloc new data [00:22:55]Processing tag 1138 (0472) [00:22:55]Malloc new data [00:22:55]Processing tag 1024 (0400) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1006 (03EE) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1010 (03F2) [00:22:55]Malloc new data [00:22:55]Processing tag 1011 (03F3) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1006 (03EE) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1010 (03F2) [00:22:55]Malloc new data [00:22:55]Processing tag 1011 (03F3) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]SetTLVBufToDocument err=0 [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1132 (046C) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1135 (046F) [00:22:55]Malloc new data [00:22:55]Processing tag 1201 (04B1) [00:22:55]Malloc new data [00:22:55]Processing tag 1136 (0470) [00:22:55]Malloc new data [00:22:55]Processing tag 1138 (0472) [00:22:55]Malloc new data [00:22:55]Processing tag 1024 (0400) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1006 (03EE) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1010 (03F2) [00:22:55]Malloc new data [00:22:55]Processing tag 1011 (03F3) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1006 (03EE) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1010 (03F2) [00:22:55]Malloc new data [00:22:55]Processing tag 1011 (03F3) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:55]SetTLVBufToDocument err=0 [00:22:55]Processing tag 1007 (03EF) [00:22:55]Load OK [00:22:55]SetTLVBufToDocument [00:22:55]Processing tag 1014 (03F6) [00:22:55]Malloc new data [00:22:55]OFD Sender: No OFD packet to send [00:22:55]Processing tag 1015 (03F7) [00:22:55]Malloc new data [00:22:56]SetTLVBufToDocument err=0 [00:22:56]Processing tag 1007 (03EF) [00:22:56]Load OK [00:22:56]SetTLVBufToDocument [00:22:56]Processing tag 1014 (03F6) [00:22:56]Malloc new data [00:22:56]Processing tag 1015 (03F7) [00:22:56]Malloc new data [00:22:56]SetTLVBufToDocument err=0 [00:22:56]Processing tag 1007 (03EF) [00:22:56]Load OK [00:22:56]SetTLVBufToDocument [00:22:56]Processing tag 1014 (03F6) [00:22:56]Malloc new data [00:22:56]Processing tag 1015 (03F7) [00:22:56]Malloc new data [00:22:56]SetTLVBufToDocument err=0 [00:22:56]Processing tag 1007 (03EF) [00:22:56]Load OK [00:22:56]SetTLVBufToDocument [00:22:56]Processing tag 1014 (03F6) [00:22:56]Malloc new data [00:22:56]Processing tag 1015 (03F7) [00:22:56]Malloc new data [00:22:56]SetTLVBufToDocument err=0 [00:22:56]Processing tag 1007 (03EF) [00:22:56]Load OK [00:22:56]SetTLVBufToDocument [00:22:56]Processing tag 1014 (03F6) [00:22:56]Malloc new data [00:22:56]Processing tag 1015 (03F7) [00:22:56]Malloc new data [00:22:56]SetTLVBufToDocument err=0 [00:22:56]Processing tag 1007 (03EF) [00:22:56]Load OK [00:22:56]SetTLVBufToDocument [00:22:56]Processing tag 1014 (03F6) [00:22:56]Malloc new data [00:22:56]Processing tag 1015 (03F7) [00:22:56]Malloc new data [00:22:56]SetTLVBufToDocument err=0 [00:22:56]SetTLVBufToDocument err=0 [00:22:56]SetTLVBufToDocument err=0 [00:22:56]Processing tag 1133 (046D) [00:22:56]Malloc new data [00:22:56]SetTLVBufToDocument err=0 [00:22:56]SetTLVBufToDocument err=0 [00:22:56]Malloc new data [00:22:56]SAM_PROTO_GetFMData [00:22:56]wFMCommunicate request_size=4 [00:22:56]MH_SAM_APDU [00:22:56]CAPDU: 80 13 03 00 [00:22:56]Write to MH i2c: E2 08 00 DD 10 80 13 03 00 00 00 00 00 6C [00:22:56]Write i2c OK [00:22:56]MH_I2C_Read... [00:22:56]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:22:56]Read from MH i2c: E2 [00:22:56]MH_I2C_Read... [00:22:56]Read from MH i2c: E2 FD 00 [00:22:56]MH_I2C_Read... [00:22:56]Read from MH i2c: E2 FD 00 DD 10 00 C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 55 [00:22:56]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 [00:22:56]wFMCommunicate OK [00:22:56]wFMCommunicate request_size=4 [00:22:56]MH_SAM_APDU [00:22:56]CAPDU: 80 17 00 00 [00:22:56]Write to MH i2c: E2 08 00 DE 10 80 17 00 00 00 00 00 00 6E [00:22:57]Write i2c OK [00:22:57]MH_I2C_Read... [00:22:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:57]Read from MH i2c: E2 [00:22:57]MH_I2C_Read... [00:22:57]Read from MH i2c: E2 FD 00 [00:22:57]MH_I2C_Read... [00:22:57]Read from MH i2c: E2 FD 00 DE 10 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F2 [00:22:57]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:22:57]wFMCommunicate OK [00:22:57]wFMCommunicate request_size=4 [00:22:57]MH_SAM_APDU [00:22:57]CAPDU: 80 17 00 00 [00:22:57]Write to MH i2c: E2 08 00 DF 10 80 17 00 00 00 00 00 00 6F [00:22:57]Write i2c OK [00:22:57]MH_I2C_Read... [00:22:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:57]Read from MH i2c: E2 [00:22:57]MH_I2C_Read... [00:22:57]Read from MH i2c: E2 FD 00 [00:22:57]MH_I2C_Read... [00:22:57]Read from MH i2c: E2 FD 00 DF 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 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 90 00 0F [00:22:57]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 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 90 00 [00:22:58]wFMCommunicate OK [00:22:58]wFMCommunicate request_size=4 [00:22:58]MH_SAM_APDU [00:22:58]CAPDU: 80 17 00 00 [00:22:58]Write to MH i2c: E2 08 00 E0 10 80 17 00 00 00 00 00 00 70 [00:22:58]Write i2c OK [00:22:58]MH_I2C_Read... [00:22:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:22:58]Read from MH i2c: E2 [00:22:58]MH_I2C_Read... [00:22:58]Read from MH i2c: E2 FD 00 [00:22:58]MH_I2C_Read... [00:22:58]Read from MH i2c: E2 FD 00 E0 10 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F5 [00:22:58]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:22:58]wFMCommunicate OK [00:22:58]wFMCommunicate request_size=4 [00:22:58]MH_SAM_APDU [00:22:58]CAPDU: 80 17 00 00 [00:22:58]Write to MH i2c: E2 08 00 E1 10 80 17 00 00 00 00 00 00 71 [00:22:58]Write i2c OK [00:22:58]MH_I2C_Read... [00:22:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:22:58]Read from MH i2c: E2 [00:22:58]MH_I2C_Read... [00:22:58]Read from MH i2c: E2 DE 00 [00:22:58]MH_I2C_Read... [00:22:58]Read from MH i2c: E2 DE 00 E1 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 50 [00:22:58]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 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:22:59]wFMCommunicate OK [00:22:59]SAM_PROTO_GetFMData done [00:22:59]FM_GetFMData:85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 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 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:22:59]oper:6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:22:59]total:52 F1 A3 41 [00:22:59]Malloc new data [00:22:59]oper:6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 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 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:23:00]total:DC 09 29 [00:23:00]Malloc new data [00:23:00]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:23:00]total: [00:23:00]Malloc new data [00:23:00]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:23:00]total: [00:23:00]Malloc new data [00:23:00]KKMPrepareXReportFMData err=0 [00:23:00]Х отчет ИНН: 02508201610067 Кассир: Тыныстанова Ж. 12.08.2024 00:22 Смена: 266 РНМ: 0000000000090834 ЗНМ: 0300000007 СНО: Общий режим Всего чеков: 91 ИТОГИ ПРИХОД Чеков: 91 Общий итог: 19890.00 Итого наличными: 4914.00 Итого безнал.: 14976.00 НДС 0% : 0.00 НДС 12% : 2112.08 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 175.96 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 4914.00 НС Приход: 11012631.86 НС Возвр.Прихода: 26895.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000874715 [00:23:00]StoreToDocumentArchive [00:23:00]MH_GetDate [00:23:00]Write to MH i2c: F0 00 00 E2 10 E1 [00:23:00]Write i2c OK [00:23:00]MH_I2C_Read... [00:23:00]Read from MH i2c: F0 [00:23:00]MH_I2C_Read... [00:23:00]Read from MH i2c: F0 09 00 [00:23:00]MH_I2C_Read... [00:23:00]Read from MH i2c: F0 09 00 E2 10 00 E6 55 B9 66 63 9B 67 64 0D [00:23:00]shift 266 fd 1723422182 [00:23:00]Create dir for shift 0266 [00:23:00]save to /storage/0266/doc_1723422182 [00:23:00]save last doc name /storage/0266/doc_1723422182 to /storage/kkm_last_doc_name [00:23:00]save OK [00:23:00]Clear old archive folders... [00:23:00]NVStorageSaveData kkm_last_timestamp [00:23:00]File name is /storage/kkm_last_timestamp [00:23:00]Write 4 bytes [00:23:00]NVStorageSaveData done [00:23:00]ExternCall_PrintAddStr [00:23:00]wPrintStart [00:23:00]Write to MH i2c: 01 00 00 E3 10 F3 [00:23:00]Write i2c OK [00:23:00]MH_I2C_Read... [00:23:00]Read from MH i2c: 01 [00:23:00]MH_I2C_Read... [00:23:00]Read from MH i2c: 01 07 00 [00:23:00]MH_I2C_Read... [00:23:00]Read from MH i2c: 01 07 00 E3 10 00 00 00 00 00 FF 0F 08 [00:23:00]RasterBufferAndPrint [00:23:00]line Х отчет [00:23:00]line ИНН: 02508201610067 [00:23:00]line Кассир: Тыныстанова Ж. [00:23:00]line 12.08.2024 00:22 [00:23:00]line Смена: 266 [00:23:00]line РНМ: 0000000000090834 [00:23:00]line ЗНМ: 0300000007 [00:23:00]line СНО: Общий режим [00:23:00]line Всего чеков: 91 [00:23:00]line ИТОГИ ПРИХОД [00:23:00]line Чеков: 91 [00:23:00]line Общий итог: 19890.00 [00:23:00]line Итого наличными: 4914.00 [00:23:00]line Итого безнал.: 14976.00 [00:23:00]line НДС 0% : 0.00 [00:23:00]line НДС 12% : 2112.08 [00:23:00]line НСП 0% : 0.00 [00:23:00]line НСП 1,50% : 0.00 [00:23:00]line НСП 0,50% : 0.00 [00:23:00]line НСП 5% : 0.00 [00:23:00]line НСП 3% : 0.00 [00:23:00]line НСП 2% : 0.00 [00:23:00]line НСП 1% : 175.96 [00:23:00]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:23:00]line Чеков: 0 [00:23:00]line Общий итог: 0.00 [00:23:00]line Итого наличными: 0.00 [00:23:00]line Итого безнал.: 0.00 [00:23:00]line НДС 0% : 0.00 [00:23:00]line НДС 12% : 0.00 [00:23:00]line НСП 0% : 0.00 [00:23:00]line НСП 1,50% : 0.00 [00:23:00]line НСП 0,50% : 0.00 [00:23:00]line НСП 5% : 0.00 [00:23:00]line НСП 3% : 0.00 [00:23:00]line НСП 2% : 0.00 [00:23:00]line НСП 1% : 0.00 [00:23:00]line ИТОГИ РАСХОД [00:23:00]line Чеков: 0 [00:23:00]line Общий итог: 0.00 [00:23:00]line Итого наличными: 0.00 [00:23:00]line Итого безнал.: 0.00 [00:23:00]line НДС 0% : 0.00 [00:23:00]line НДС 12% : 0.00 [00:23:00]line НСП 0% : 0.00 [00:23:00]line НСП 1,50% : 0.00 [00:23:00]line НСП 0,50% : 0.00 [00:23:00]line НСП 5% : 0.00 [00:23:00]line НСП 3% : 0.00 [00:23:00]line НСП 2% : 0.00 [00:23:00]line НСП 1% : 0.00 [00:23:00]line ИТОГИ ВОЗВРАТ РАСХОДА [00:23:00]line Чеков: 0 [00:23:00]line Общий итог: 0.00 [00:23:00]line Итого наличными: 0.00 [00:23:00]line Итого безнал.: 0.00 [00:23:00]line НДС 0% : 0.00 [00:23:00]line НДС 12% : 0.00 [00:23:00]line НСП 0% : 0.00 [00:23:00]line НСП 1,50% : 0.00 [00:23:00]line НСП 0,50% : 0.00 [00:23:00]line НСП 5% : 0.00 [00:23:00]line НСП 3% : 0.00 [00:23:00]line НСП 2% : 0.00 [00:23:00]line НСП 1% : 0.00 [00:23:00]line Сумма внесений: 0.00 [00:23:00]line Сумма выплат: 0.00 [00:23:00]line Нал. в кассе: 4914.00 [00:23:00]line НС Приход: 11012631.86 [00:23:00]line НС Возвр.Прихода: 26895.00 [00:23:00]line НС Расход: 0.00 [00:23:00]line НС Возвр.Расхода: 0.00 [00:23:00]line ФМ: 0000000000874715 [00:23:00]written 0, free lines is 4095 [00:23:00]OFD Sender: No OFD packet to send [00:23:01]Write to MH i2c: 01 00 00 2E 11 3F [00:23:01]Write i2c OK [00:23:01]MH_I2C_Read... [00:23:01]Read from MH i2c: 01 [00:23:01]MH_I2C_Read... [00:23:01]Read from MH i2c: 01 07 00 [00:23:01]MH_I2C_Read... [00:23:01]Read from MH i2c: 01 07 00 2E 11 00 00 00 00 00 5F 0A AF [00:23:01]RasterBufferAndPrint [00:23:01]line [00:23:01]line [00:23:01]line [00:23:01]line [00:23:01]line [00:23:01]written 0, free lines is 2685 [00:23:01]MH_Cut [00:23:01]Write to MH i2c: D1 01 00 35 11 01 18 [00:23:01]Write i2c OK [00:23:01]MH_I2C_Read... [00:23:01]Read from MH i2c: D1 [00:23:01]MH_I2C_Read... [00:23:01]Read from MH i2c: D1 01 00 [00:23:01]MH_I2C_Read... [00:23:01]Read from MH i2c: D1 01 00 35 11 00 17 [00:23:01]Write to MH i2c: 01 00 00 36 11 47 [00:23:01]Write i2c OK [00:23:01]MH_I2C_Read... [00:23:02]*** Cut start [00:23:02]*** Purtial cut [00:23:02]*** Stage 1: CUTSNS_PIN = 1 [00:23:02]Read from MH i2c: 01 [00:23:02]MH_I2C_Read... [00:23:02]*** Stop cut motor [00:23:02]*** Cut end [00:23:02]Read from MH i2c: 01 07 00 [00:23:02]MH_I2C_Read... [00:23:02]Read from MH i2c: 01 07 00 36 11 00 00 00 00 00 FF 0F 5C [00:23:02]process_action x_report done [00:23:02]requested_data is exist [00:23:02]produce_requested_data [00:23:02]requested_item fd.num is exist - process it [00:23:02]SAM_PROTO_GetFieldsCounters [00:23:02]wFMCommunicate request_size=4 [00:23:02]MH_SAM_APDU [00:23:02]CAPDU: 80 13 00 00 [00:23:02]Write to MH i2c: E2 08 00 37 11 80 13 00 00 00 00 00 00 C4 [00:23:02]Write i2c OK [00:23:02]MH_I2C_Read... [00:23:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:23:02]Read from MH i2c: E2 [00:23:02]MH_I2C_Read... [00:23:02]Read from MH i2c: E2 62 00 [00:23:02]MH_I2C_Read... [00:23:02]Read from MH i2c: E2 62 00 37 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C8 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 49 [00:23: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C8 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:23:02]wFMCommunicate OK [00:23:02]SAM_PROTO_GetFieldsCounters done [00:23:02]requested_item shift.num is exist - process it [00:23:02]requested_item shift.opened is exist - process it [00:23:02]req_shift_opened [00:23:02]FM_GetShiftState [00:23:02]SAM_PROTO_GetShiftState [00:23:02]wFMCommunicate request_size=4 [00:23:02]MH_SAM_APDU [00:23:02]CAPDU: 80 13 01 00 [00:23:02]Write to MH i2c: E2 08 00 38 11 80 13 01 00 00 00 00 00 C6 [00:23:02]Write i2c OK [00:23:02]MH_I2C_Read... [00:23:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:23:03]Read from MH i2c: E2 [00:23:03]MH_I2C_Read... [00:23:03]Read from MH i2c: E2 0E 00 [00:23:03]MH_I2C_Read... [00:23:03]Read from MH i2c: E2 0E 00 38 11 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 EF [00:23:03]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [00:23:03]wFMCommunicate OK [00:23:03]SAM_PROTO_GetShiftState done [00:23:03]FM_GetShiftState done [00:23:03]req_shift_opened done [00:23:03]requested_item shift.open_date is exist - process it [00:23:03]req_shift_open_date [00:23:03]req_shift_open_date done [00:23:03]produce_requested_data done [00:23:03]produce_requested_data return {"fd.num":52680,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [00:23:03]process_action_free x_report [00:23:03]json_value_free [00:23:03]json_value_free done [00:23:03]process_json_proto returns [00:23:03]Send response to host [00:23:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":52680,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [00:23:03]free response buf [00:23:03]execute_script done [00:23:03]execute_script returns [00:23:03]free content buf [00:23:03]Sock 9.Close socket [00:23:03]Sock 9.Thread stoped [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:31]OFD Sender: No OFD packet to send [00:23:36]OFD Sender: No OFD packet to send [00:23:36]accept exits with 7 [00:23:36]New connection [00:23:36]New thread 3067293028 created [00:23:36]Thread 3067149668 joined [00:23:36]Waiting for new connection... [00:23:36] Sock 7.Parse request [00:23:36]Sock 7.Check first char [00:23:36]Sock 7.First char is OK [00:23:36]request: POST /json_proto HTTP/1.0 [00:23:36]Method: POST [00:23:36]URL: /json_proto [00:23:36]Method is POST - this is cgi request [00:23:36]url: /json_proto [00:23:36]query_string will be loaded in cgi processing [00:23:36]execute_cgi json_proto POST (null) [00:23:36]execute_cgi path=json_proto method=POST [00:23:36]POST find Content-Length [00:23:36]Host: 172.17.60.7:8080 [00:23:36]Content-Length: 215 [00:23:36]Content-Type: application/json [00:23:36] [00:23:36]POST finish read [00:23:36]Found Content-Length = 215 [00:23:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:23:36]execute_script... [00:23:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:23:36]POST & json_proto [00:23:36]process_json_proto [00:23:36]json parsed OK: [00:23:36]protocol is kg_v1.0 [00:23:36]action value=get_value [00:23:36]process_action get_value [00:23:36]cmd_get_value [00:23:36]process_action get_value done [00:23:36]requested_data is exist [00:23:36]produce_requested_data [00:23:36]requested_item kkm.sn is exist - process it [00:23:36]requested_item kkm.ver is exist - process it [00:23:36]requested_item fm.sn is exist - process it [00:23:36]wFMCommunicate request_size=4 [00:23:36]MH_SAM_APDU [00:23:36]CAPDU: 80 11 00 00 [00:23:36]Write to MH i2c: E2 08 00 39 11 80 11 00 00 00 00 00 00 C4 [00:23:36]Write i2c OK [00:23:36]MH_I2C_Read... [00:23:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:23:36]Read from MH i2c: E2 [00:23:36]MH_I2C_Read... [00:23:36]Read from MH i2c: E2 17 00 [00:23:36]MH_I2C_Read... [00:23:36]Read from MH i2c: E2 17 00 39 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 17 [00:23:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [00:23:36]wFMCommunicate OK [00:23:36]requested_item fd.num is exist - process it [00:23:36]SAM_PROTO_GetFieldsCounters [00:23:36]wFMCommunicate request_size=4 [00:23:36]MH_SAM_APDU [00:23:36]CAPDU: 80 13 00 00 [00:23:36]Write to MH i2c: E2 08 00 3A 11 80 13 00 00 00 00 00 00 C7 [00:23:36]Write i2c OK [00:23:36]MH_I2C_Read... [00:23:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:23:36]Read from MH i2c: E2 [00:23:36]MH_I2C_Read... [00:23:36]Read from MH i2c: E2 62 00 [00:23:36]MH_I2C_Read... [00:23:36]Read from MH i2c: E2 62 00 3A 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C8 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 4C [00:23:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C8 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5C 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:23:36]wFMCommunicate OK [00:23:36]SAM_PROTO_GetFieldsCounters done [00:23:36]requested_item shift.num is exist - process it [00:23:36]requested_item shift.opened is exist - process it [00:23:36]req_shift_opened [00:23:36]FM_GetShiftState [00:23:36]SAM_PROTO_GetShiftState [00:23:36]wFMCommunicate request_size=4 [00:23:36]MH_SAM_APDU [00:23:36]CAPDU: 80 13 01 00 [00:23:36]Write to MH i2c: E2 08 00 3B 11 80 13 01 00 00 00 00 00 C9 [00:23:36]Write i2c OK [00:23:36]MH_I2C_Read... [00:23:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:23:36]Read from MH i2c: E2 [00:23:36]MH_I2C_Read... [00:23:36]Read from MH i2c: E2 0E 00 [00:23:36]MH_I2C_Read... [00:23:36]Read from MH i2c: E2 0E 00 3B 11 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 F2 [00:23:36]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [00:23:36]wFMCommunicate OK [00:23:36]SAM_PROTO_GetShiftState done [00:23:36]FM_GetShiftState done [00:23:36]req_shift_opened done [00:23:36]requested_item shift.open_date is exist - process it [00:23:36]req_shift_open_date [00:23:36]req_shift_open_date done [00:23:36]produce_requested_data done [00:23:36]produce_requested_data return {"kkm.sn":"0300000007","kkm.ver":"001","fm.sn":"0000000000874715","fd.num":52680,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186} [00:23:36]process_action_free get_value [00:23:36]json_value_free [00:23:36]json_value_free done [00:23:36]process_json_proto returns [00:23:36]Send response to host [00:23:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000007","kkm.ver":"001","fm.sn":"0000000000874715","fd.num":52680,"shift.num":446,"shift.opened":1,"shift.open_date":1723336186}}} [00:23:36]free response buf [00:23:36]execute_script done [00:23:36]execute_script returns [00:23:36]free content buf [00:23:36]Sock 7.Close socket [00:23:36]Sock 7.Thread stoped [00:23:36]accept exits with 9 [00:23:36]New connection [00:23:36]New thread 3067149668 created [00:23:36]Thread 3067293028 joined [00:23:36]Waiting for new connection... [00:23:36] Sock 9.Parse request [00:23:36]Sock 9.Check first char [00:23:36]Sock 9.First char is OK [00:23:36]request: POST /json_proto HTTP/1.0 [00:23:36]Method: POST [00:23:36]URL: /json_proto [00:23:36]Method is POST - this is cgi request [00:23:36]url: /json_proto [00:23:36]query_string will be loaded in cgi processing [00:23:36]execute_cgi json_proto POST (null) [00:23:36]execute_cgi path=json_proto method=POST [00:23:36]POST find Content-Length [00:23:36]Host: 172.17.60.7:8080 [00:23:36]Content-Length: 331 [00:23:36]Content-Type: application/json [00:23:36] [00:23:36]POST finish read [00:23:36]Found Content-Length = 331 [00:23:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:23:36]execute_script... [00:23:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:23:36]POST & json_proto [00:23:36]process_json_proto [00:23:36]json parsed OK: [00:23:36]protocol is kg_v1.0 [00:23:36]action value=get_value [00:23:36]process_action get_value [00:23:36]cmd_get_value [00:23:36]process_action get_value done [00:23:36]requested_data is exist [00:23:36]produce_requested_data [00:23:36]requested_item fm.sale.total is exist - process it [00:23:36]SAM_PROTO_GetFMData [00:23:36]wFMCommunicate request_size=4 [00:23:36]MH_SAM_APDU [00:23:36]CAPDU: 80 13 03 00 [00:23:36]Write to MH i2c: E2 08 00 3C 11 80 13 03 00 00 00 00 00 CC [00:23:36]Write i2c OK [00:23:36]MH_I2C_Read... [00:23:36]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:23:36]Read from MH i2c: E2 [00:23:36]MH_I2C_Read... [00:23:36]Read from MH i2c: E2 FD 00 [00:23:36]MH_I2C_Read... [00:23:36]Read from MH i2c: E2 FD 00 3C 11 00 C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 B5 [00:23:36]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 [00:23:36]wFMCommunicate OK [00:23:36]wFMCommunicate request_size=4 [00:23:36]MH_SAM_APDU [00:23:36]CAPDU: 80 17 00 00 [00:23:36]Write to MH i2c: E2 08 00 3D 11 80 17 00 00 00 00 00 00 CE [00:23:36]Write i2c OK [00:23:36]MH_I2C_Read... [00:23:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:23:37]Read from MH i2c: E2 [00:23:37]MH_I2C_Read... [00:23:37]Read from MH i2c: E2 FD 00 [00:23:37]MH_I2C_Read... [00:23:37]Read from MH i2c: E2 FD 00 3D 11 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 52 [00:23:37]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:23:37]wFMCommunicate OK [00:23:37]wFMCommunicate request_size=4 [00:23:37]MH_SAM_APDU [00:23:37]CAPDU: 80 17 00 00 [00:23:37]Write to MH i2c: E2 08 00 3E 11 80 17 00 00 00 00 00 00 CF [00:23:37]Write i2c OK [00:23:37]MH_I2C_Read... [00:23:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:23:37]Read from MH i2c: E2 [00:23:37]MH_I2C_Read... [00:23:37]Read from MH i2c: E2 FD 00 [00:23:37]MH_I2C_Read... [00:23:37]Read from MH i2c: E2 FD 00 3E 11 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 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 90 00 6F [00:23:37]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 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 90 00 [00:23:37]wFMCommunicate OK [00:23:37]wFMCommunicate request_size=4 [00:23:37]MH_SAM_APDU [00:23:37]CAPDU: 80 17 00 00 [00:23:37]Write to MH i2c: E2 08 00 3F 11 80 17 00 00 00 00 00 00 D0 [00:23:37]Write i2c OK [00:23:37]MH_I2C_Read... [00:23:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:23:38]Read from MH i2c: E2 [00:23:38]MH_I2C_Read... [00:23:38]Read from MH i2c: E2 FD 00 [00:23:38]MH_I2C_Read... [00:23:38]Read from MH i2c: E2 FD 00 3F 11 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 55 [00:23:38]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:23:38]wFMCommunicate OK [00:23:38]wFMCommunicate request_size=4 [00:23:38]MH_SAM_APDU [00:23:38]CAPDU: 80 17 00 00 [00:23:38]Write to MH i2c: E2 08 00 40 11 80 17 00 00 00 00 00 00 D1 [00:23:38]Write i2c OK [00:23:38]MH_I2C_Read... [00:23:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:23:38]Read from MH i2c: E2 [00:23:38]MH_I2C_Read... [00:23:38]Read from MH i2c: E2 DE 00 [00:23:38]MH_I2C_Read... [00:23:38]Read from MH i2c: E2 DE 00 40 11 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B0 [00:23:38]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 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:23:38]wFMCommunicate OK [00:23:38]SAM_PROTO_GetFMData done [00:23:38]requested_item fm.sale_refund.total is exist - process it [00:23:38]requested_item fm.buy.total is exist - process it [00:23:38]requested_item shift.sale.total is exist - process it [00:23:38]SAM_PROTO_GetShiftData [00:23:38]wFMCommunicate request_size=4 [00:23:38]MH_SAM_APDU [00:23:38]CAPDU: 80 13 02 00 [00:23:38]Write to MH i2c: E2 08 00 41 11 80 13 02 00 00 00 00 00 D0 [00:23:38]Write i2c OK [00:23:38]MH_I2C_Read... [00:23:38]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:23:38]Read from MH i2c: E2 [00:23:38]MH_I2C_Read... [00:23:38]Read from MH i2c: E2 FD 00 [00:23:38]MH_I2C_Read... [00:23:38]Read from MH i2c: E2 FD 00 41 11 00 AE 04 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 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 08 39 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 88 [00:23:38]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 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 08 39 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:23:38]wFMCommunicate OK [00:23:38]wFMCommunicate request_size=4 [00:23:38]MH_SAM_APDU [00:23:38]CAPDU: 80 17 00 00 [00:23:38]Write to MH i2c: E2 08 00 42 11 80 17 00 00 00 00 00 00 D3 [00:23:38]Write i2c OK [00:23:38]MH_I2C_Read... [00:23:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:23:39]Read from MH i2c: E2 [00:23:39]MH_I2C_Read... [00:23:39]Read from MH i2c: E2 FD 00 [00:23:39]MH_I2C_Read... [00:23:39]Read from MH i2c: E2 FD 00 42 11 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 F5 [00:23:39]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:23:39]wFMCommunicate OK [00:23:39]wFMCommunicate request_size=4 [00:23:39]MH_SAM_APDU [00:23:39]CAPDU: 80 17 00 00 [00:23:39]Write to MH i2c: E2 08 00 43 11 80 17 00 00 00 00 00 00 D4 [00:23:39]Write i2c OK [00:23:39]MH_I2C_Read... [00:23:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:23:39]Read from MH i2c: E2 [00:23:39]MH_I2C_Read... [00:23:39]Read from MH i2c: E2 FD 00 [00:23:39]MH_I2C_Read... [00:23:39]Read from MH i2c: E2 FD 00 43 11 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 8B [00:23:39]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:23:39]wFMCommunicate OK [00:23:39]wFMCommunicate request_size=4 [00:23:39]MH_SAM_APDU [00:23:39]CAPDU: 80 17 00 00 [00:23:39]Write to MH i2c: E2 08 00 44 11 80 17 00 00 00 00 00 00 D5 [00:23:39]Write i2c OK [00:23:39]MH_I2C_Read... [00:23:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:23:39]Read from MH i2c: E2 [00:23:39]MH_I2C_Read... [00:23:39]Read from MH i2c: E2 FD 00 [00:23:39]MH_I2C_Read... [00:23:39]Read from MH i2c: E2 FD 00 44 11 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 47 [00:23:39]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:23:39]wFMCommunicate OK [00:23:39]wFMCommunicate request_size=4 [00:23:39]MH_SAM_APDU [00:23:39]CAPDU: 80 17 00 00 [00:23:39]Write to MH i2c: E2 08 00 45 11 80 17 00 00 00 00 00 00 D6 [00:23:39]Write i2c OK [00:23:39]MH_I2C_Read... [00:23:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:23:40]Read from MH i2c: E2 [00:23:40]MH_I2C_Read... [00:23:40]Read from MH i2c: E2 CB 00 [00:23:40]MH_I2C_Read... [00:23:40]Read from MH i2c: E2 CB 00 45 11 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 BF [00:23:40]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:23:40]wFMCommunicate OK [00:23:40]SAM_PROTO_GetShiftData done [00:23:40]requested_item shift.sale.total_cash is exist - process it [00:23:40]requested_item shift.sale_refund.total is exist - process it [00:23:40]requested_item shift.sale_refund.total_cash is exist - process it [00:23:40]requested_item shift.buy.total is exist - process it [00:23:40]requested_item shift.buy.total_cash is exist - process it [00:23:40]produce_requested_data done [00:23:40]produce_requested_data return {"fm.sale.total":11012631.86,"fm.sale_refund.total":26895.00,"fm.buy.total":0.00,"shift.sale.total":19890.00,"shift.sale.total_cash":4914.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:23:40]process_action_free get_value [00:23:40]json_value_free [00:23:40]json_value_free done [00:23:40]process_json_proto returns [00:23:40]Send response to host [00:23:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11012631.86,"fm.sale_refund.total":26895.00,"fm.buy.total":0.00,"shift.sale.total":19890.00,"shift.sale.total_cash":4914.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:23:40]free response buf [00:23:40]execute_script done [00:23:40]execute_script returns [00:23:40]free content buf [00:23:40]Sock 9.Close socket [00:23:40]Sock 9.Thread stoped [00:23:40]accept exits with 7 [00:23:40]New connection [00:23:40]New thread 3067293028 created [00:23:40]Thread 3067149668 joined [00:23:40]Waiting for new connection... [00:23:40] Sock 7.Parse request [00:23:40]Sock 7.Check first char [00:23:40]Sock 7.First char is OK [00:23:40]request: POST /json_proto HTTP/1.0 [00:23:40]Method: POST [00:23:40]URL: /json_proto [00:23:40]Method is POST - this is cgi request [00:23:40]url: /json_proto [00:23:40]query_string will be loaded in cgi processing [00:23:40]execute_cgi json_proto POST (null) [00:23:40]execute_cgi path=json_proto method=POST [00:23:40]POST find Content-Length [00:23:40]Host: 172.17.60.7:8080 [00:23:40]Content-Length: 331 [00:23:40]Content-Type: application/json [00:23:40] [00:23:40]POST finish read [00:23:40]Found Content-Length = 331 [00:23: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:23:40]execute_script... [00:23: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:23:40]POST & json_proto [00:23:40]process_json_proto [00:23:40]json parsed OK: [00:23:40]protocol is kg_v1.0 [00:23:40]action value=get_value [00:23:40]process_action get_value [00:23:40]cmd_get_value [00:23:40]process_action get_value done [00:23:40]requested_data is exist [00:23:40]produce_requested_data [00:23:40]requested_item fm.sale.total is exist - process it [00:23:40]SAM_PROTO_GetFMData [00:23:40]wFMCommunicate request_size=4 [00:23:40]MH_SAM_APDU [00:23:40]CAPDU: 80 13 03 00 [00:23:40]Write to MH i2c: E2 08 00 46 11 80 13 03 00 00 00 00 00 D6 [00:23:40]Write i2c OK [00:23:40]MH_I2C_Read... [00:23:40]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:23:40]Read from MH i2c: E2 [00:23:40]MH_I2C_Read... [00:23:40]Read from MH i2c: E2 FD 00 [00:23:40]MH_I2C_Read... [00:23:40]Read from MH i2c: E2 FD 00 46 11 00 C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 BF [00:23:40]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 [00:23:41]wFMCommunicate OK [00:23:41]wFMCommunicate request_size=4 [00:23:41]MH_SAM_APDU [00:23:41]CAPDU: 80 17 00 00 [00:23:41]Write to MH i2c: E2 08 00 47 11 80 17 00 00 00 00 00 00 D8 [00:23:41]Write i2c OK [00:23:41]MH_I2C_Read... [00:23:41]OFD Sender: No OFD packet to send [00:23:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:23:41]Read from MH i2c: E2 [00:23:41]MH_I2C_Read... [00:23:41]Read from MH i2c: E2 FD 00 [00:23:41]MH_I2C_Read... [00:23:41]Read from MH i2c: E2 FD 00 47 11 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5C [00:23:41]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:23:41]wFMCommunicate OK [00:23:41]wFMCommunicate request_size=4 [00:23:41]MH_SAM_APDU [00:23:41]CAPDU: 80 17 00 00 [00:23:41]Write to MH i2c: E2 08 00 48 11 80 17 00 00 00 00 00 00 D9 [00:23:41]Write i2c OK [00:23:41]MH_I2C_Read... [00:23:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:23:41]Read from MH i2c: E2 [00:23:41]MH_I2C_Read... [00:23:41]Read from MH i2c: E2 FD 00 [00:23:41]MH_I2C_Read... [00:23:41]Read from MH i2c: E2 FD 00 48 11 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 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 90 00 79 [00:23:41]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 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 90 00 [00:23:41]wFMCommunicate OK [00:23:41]wFMCommunicate request_size=4 [00:23:41]MH_SAM_APDU [00:23:41]CAPDU: 80 17 00 00 [00:23:41]Write to MH i2c: E2 08 00 49 11 80 17 00 00 00 00 00 00 DA [00:23:41]Write i2c OK [00:23:41]MH_I2C_Read... [00:23:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:23:42]Read from MH i2c: E2 [00:23:42]MH_I2C_Read... [00:23:42]Read from MH i2c: E2 FD 00 [00:23:42]MH_I2C_Read... [00:23:42]Read from MH i2c: E2 FD 00 49 11 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5F [00:23:42]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:23:42]wFMCommunicate OK [00:23:42]wFMCommunicate request_size=4 [00:23:42]MH_SAM_APDU [00:23:42]CAPDU: 80 17 00 00 [00:23:42]Write to MH i2c: E2 08 00 4A 11 80 17 00 00 00 00 00 00 DB [00:23:42]Write i2c OK [00:23:42]MH_I2C_Read... [00:23:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:23:42]Read from MH i2c: E2 [00:23:42]MH_I2C_Read... [00:23:42]Read from MH i2c: E2 DE 00 [00:23:42]MH_I2C_Read... [00:23:42]Read from MH i2c: E2 DE 00 4A 11 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BA [00:23:42]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 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:23:42]wFMCommunicate OK [00:23:42]SAM_PROTO_GetFMData done [00:23:42]requested_item fm.sale_refund.total is exist - process it [00:23:42]requested_item fm.buy.total is exist - process it [00:23:42]requested_item shift.sale.total is exist - process it [00:23:42]SAM_PROTO_GetShiftData [00:23:42]wFMCommunicate request_size=4 [00:23:42]MH_SAM_APDU [00:23:42]CAPDU: 80 13 02 00 [00:23:42]Write to MH i2c: E2 08 00 4B 11 80 13 02 00 00 00 00 00 DA [00:23:42]Write i2c OK [00:23:42]MH_I2C_Read... [00:23:43]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:23:43]Read from MH i2c: E2 [00:23:43]MH_I2C_Read... [00:23:43]Read from MH i2c: E2 FD 00 [00:23:43]MH_I2C_Read... [00:23:43]Read from MH i2c: E2 FD 00 4B 11 00 AE 04 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 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 08 39 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 92 [00:23:43]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 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 08 39 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:23:43]wFMCommunicate OK [00:23:43]wFMCommunicate request_size=4 [00:23:43]MH_SAM_APDU [00:23:43]CAPDU: 80 17 00 00 [00:23:43]Write to MH i2c: E2 08 00 4C 11 80 17 00 00 00 00 00 00 DD [00:23:43]Write i2c OK [00:23:43]MH_I2C_Read... [00:23:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:23:43]Read from MH i2c: E2 [00:23:43]MH_I2C_Read... [00:23:43]Read from MH i2c: E2 FD 00 [00:23:43]MH_I2C_Read... [00:23:43]Read from MH i2c: E2 FD 00 4C 11 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 FF [00:23:43]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:23:44]wFMCommunicate OK [00:23:44]wFMCommunicate request_size=4 [00:23:44]MH_SAM_APDU [00:23:44]CAPDU: 80 17 00 00 [00:23:44]Write to MH i2c: E2 08 00 4D 11 80 17 00 00 00 00 00 00 DE [00:23:44]Write i2c OK [00:23:44]MH_I2C_Read... [00:23:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:23:44]Read from MH i2c: E2 [00:23:44]MH_I2C_Read... [00:23:44]Read from MH i2c: E2 FD 00 [00:23:44]MH_I2C_Read... [00:23:44]Read from MH i2c: E2 FD 00 4D 11 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 95 [00:23:44]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:23:44]wFMCommunicate OK [00:23:44]wFMCommunicate request_size=4 [00:23:44]MH_SAM_APDU [00:23:44]CAPDU: 80 17 00 00 [00:23:44]Write to MH i2c: E2 08 00 4E 11 80 17 00 00 00 00 00 00 DF [00:23:44]Write i2c OK [00:23:44]MH_I2C_Read... [00:23:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:23:44]Read from MH i2c: E2 [00:23:44]MH_I2C_Read... [00:23:44]Read from MH i2c: E2 FD 00 [00:23:44]MH_I2C_Read... [00:23:44]Read from MH i2c: E2 FD 00 4E 11 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 51 [00:23:44]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:23:44]wFMCommunicate OK [00:23:44]wFMCommunicate request_size=4 [00:23:44]MH_SAM_APDU [00:23:44]CAPDU: 80 17 00 00 [00:23:44]Write to MH i2c: E2 08 00 4F 11 80 17 00 00 00 00 00 00 E0 [00:23:44]Write i2c OK [00:23:44]MH_I2C_Read... [00:23:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:23:45]Read from MH i2c: E2 [00:23:45]MH_I2C_Read... [00:23:45]Read from MH i2c: E2 CB 00 [00:23:45]MH_I2C_Read... [00:23:45]Read from MH i2c: E2 CB 00 4F 11 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C9 [00:23:45]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:23:45]wFMCommunicate OK [00:23:45]SAM_PROTO_GetShiftData done [00:23:45]requested_item shift.sale.total_cash is exist - process it [00:23:45]requested_item shift.sale_refund.total is exist - process it [00:23:45]requested_item shift.sale_refund.total_cash is exist - process it [00:23:45]requested_item shift.buy.total is exist - process it [00:23:45]requested_item shift.buy.total_cash is exist - process it [00:23:45]produce_requested_data done [00:23:45]produce_requested_data return {"fm.sale.total":11012631.86,"fm.sale_refund.total":26895.00,"fm.buy.total":0.00,"shift.sale.total":19890.00,"shift.sale.total_cash":4914.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:23:45]process_action_free get_value [00:23:45]json_value_free [00:23:45]json_value_free done [00:23:45]process_json_proto returns [00:23:45]Send response to host [00:23:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11012631.86,"fm.sale_refund.total":26895.00,"fm.buy.total":0.00,"shift.sale.total":19890.00,"shift.sale.total_cash":4914.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:23:45]free response buf [00:23:45]execute_script done [00:23:45]execute_script returns [00:23:45]free content buf [00:23:45]Sock 7.Close socket [00:23:45]Sock 7.Thread stoped [00:23:45]accept exits with 9 [00:23:45]New connection [00:23:45]New thread 3067149668 created [00:23:45]Thread 3067293028 joined [00:23:45]Waiting for new connection... [00:23:45] Sock 9.Parse request [00:23:45]Sock 9.Check first char [00:23:45]Sock 9.First char is OK [00:23:45]request: POST /json_proto HTTP/1.0 [00:23:45]Method: POST [00:23:45]URL: /json_proto [00:23:45]Method is POST - this is cgi request [00:23:45]url: /json_proto [00:23:45]query_string will be loaded in cgi processing [00:23:45]execute_cgi json_proto POST (null) [00:23:45]execute_cgi path=json_proto method=POST [00:23:45]POST find Content-Length [00:23:45]Host: 172.17.60.7:8080 [00:23:45]Content-Length: 278 [00:23:45]Content-Type: application/json [00:23:45] [00:23:45]POST finish read [00:23:45]Found Content-Length = 278 [00:23:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0422\u044B\u043D\u044B\u0441\u0442\u0430\u043D\u043E\u0432\u0430 \u0416. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:23:45]execute_script... [00:23:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0422\u044B\u043D\u044B\u0441\u0442\u0430\u043D\u043E\u0432\u0430 \u0416. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:23:45]POST & json_proto [00:23:45]process_json_proto [00:23:45]json parsed OK: [00:23:45]protocol is kg_v1.0 [00:23:45]action value=close_shift [00:23:45]process_action close_shift [00:23:45]cmd_close_shift [00:23:45]MH_GetDate [00:23:45]Write to MH i2c: F0 00 00 50 11 50 [00:23:45]Write i2c OK [00:23:45]MH_I2C_Read... [00:23:45]Read from MH i2c: F0 [00:23:45]MH_I2C_Read... [00:23:45]Read from MH i2c: F0 09 00 [00:23:45]MH_I2C_Read... [00:23:45]Read from MH i2c: F0 09 00 50 11 00 14 56 B9 66 63 9B 67 64 AB [00:23:45]GetLastDocTimeStamp 1723422175 [00:23:45]current date 1723422228 [00:23:45]FM_GetShiftState [00:23:45]SAM_PROTO_GetShiftState [00:23:45]wFMCommunicate request_size=4 [00:23:45]MH_SAM_APDU [00:23:45]CAPDU: 80 13 01 00 [00:23:45]Write to MH i2c: E2 08 00 51 11 80 13 01 00 00 00 00 00 DF [00:23:45]Write i2c OK [00:23:45]MH_I2C_Read... [00:23:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:23:45]Read from MH i2c: E2 [00:23:45]MH_I2C_Read... [00:23:45]Read from MH i2c: E2 0E 00 [00:23:45]MH_I2C_Read... [00:23:45]Read from MH i2c: E2 0E 00 51 11 00 09 00 01 FA 05 B8 66 00 00 00 00 90 00 08 [00:23:45]RAPDU: 09 00 01 FA 05 B8 66 00 00 00 00 90 00 [00:23:45]wFMCommunicate OK [00:23:45]SAM_PROTO_GetShiftState done [00:23:45]FM_GetShiftState done [00:23:45]KKMCreateCloseShiftDocument [00:23:45]Load OK [00:23:45]Malloc new data [00:23:45]MH_GetDate [00:23:45]Write to MH i2c: F0 00 00 52 11 52 [00:23:45]Write i2c OK [00:23:45]MH_I2C_Read... [00:23:45]Read from MH i2c: F0 [00:23:45]MH_I2C_Read... [00:23:45]Read from MH i2c: F0 09 00 [00:23:45]MH_I2C_Read... [00:23:45]Read from MH i2c: F0 09 00 52 11 00 14 56 B9 66 63 9B 67 64 AD [00:23:45]Malloc new data [00:23:45]Malloc new data [00:23:45]Malloc new data [00:23:45]Malloc new data [00:23:45]KKMCreateCloseShiftDocument OK [00:23:45]KKMSetCloseShiftData OK [00:23:45]ProcessDocumentItem done err = 0, tmpTLVsize=77 [00:23:45]tlvbuf is 013390D0 [00:23:45]KKMLoadAndSignCloseShiftData [00:23:45]SAM_PROTO_ProcessDocument [00:23:45]wFMCommunicate request_size=9 [00:23:45]MH_SAM_APDU [00:23:45]CAPDU: 80 15 01 00 04 05 00 4D 00 [00:23:45]Write to MH i2c: E2 0C 00 53 11 80 15 01 00 04 00 05 00 4D 00 00 00 3D [00:23:45]Write i2c OK [00:23:45]MH_I2C_Read... [00:23:45]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:23:45]Read from MH i2c: E2 [00:23:45]MH_I2C_Read... [00:23:45]Read from MH i2c: E2 03 00 [00:23:45]MH_I2C_Read... [00:23:45]Read from MH i2c: E2 03 00 53 11 00 90 00 D8 [00:23:45]RAPDU: 90 00 [00:23:45]wFMCommunicate OK [00:23:45]wFMCommunicate request_size=23 [00:23:45]MH_SAM_APDU [00:23:45]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:23:45]Write to MH i2c: E2 1A 00 54 11 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 DA [00:23:45]Write i2c OK [00:23:45]MH_I2C_Read... [00:23:45]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:23:45]Read from MH i2c: E2 [00:23:45]MH_I2C_Read... [00:23:45]Read from MH i2c: E2 03 00 [00:23:45]MH_I2C_Read... [00:23:45]Read from MH i2c: E2 03 00 54 11 00 90 00 D9 [00:23:45]RAPDU: 90 00 [00:23:45]wFMCommunicate OK [00:23:45]wFMCommunicate request_size=36 [00:23:45]MH_SAM_APDU [00:23:45]CAPDU: 80 15 02 00 1F FD 03 1B 00 D0 A2 D1 8B D0 BD D1 8B D1 81 D1 82 D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 96 2E 20 [00:23:45]Write to MH i2c: E2 27 00 55 11 80 15 02 00 1F 00 FD 03 1B 00 D0 A2 D1 8B D0 BD D1 8B D1 81 D1 82 D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 96 2E 20 00 00 0C [00:23:45]Write i2c OK [00:23:45]MH_I2C_Read... [00:23:45]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:23:45]Read from MH i2c: E2 [00:23:45]MH_I2C_Read... [00:23:45]Read from MH i2c: E2 03 00 [00:23:45]MH_I2C_Read... [00:23:45]Read from MH i2c: E2 03 00 55 11 00 90 00 DA [00:23:45]RAPDU: 90 00 [00:23:45]wFMCommunicate OK [00:23:45]wFMCommunicate request_size=13 [00:23:45]MH_SAM_APDU [00:23:45]CAPDU: 80 15 02 00 08 F4 03 04 00 14 56 B9 66 [00:23:45]Write to MH i2c: E2 10 00 56 11 80 15 02 00 08 00 F4 03 04 00 14 56 B9 66 00 00 7B [00:23:45]Write i2c OK [00:23:45]MH_I2C_Read... [00:23:45]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:23:45]Read from MH i2c: E2 [00:23:45]MH_I2C_Read... [00:23:45]Read from MH i2c: E2 03 00 [00:23:45]MH_I2C_Read... [00:23:45]Read from MH i2c: E2 03 00 56 11 00 90 00 DB [00:23:45]RAPDU: 90 00 [00:23:45]wFMCommunicate OK [00:23:45]wFMCommunicate request_size=25 [00:23:45]MH_SAM_APDU [00:23:45]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 [00:23:45]Write to MH i2c: E2 1C 00 57 11 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 00 00 49 [00:23:46]Write i2c OK [00:23:46]MH_I2C_Read... [00:23:46]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:23:46]Read from MH i2c: E2 [00:23:46]MH_I2C_Read... [00:23:46]Read from MH i2c: E2 03 00 [00:23:46]MH_I2C_Read... [00:23:46]Read from MH i2c: E2 03 00 57 11 00 90 00 DC [00:23:46]RAPDU: 90 00 [00:23:46]wFMCommunicate OK [00:23:46]wFMCommunicate request_size=4 [00:23:46]MH_SAM_APDU [00:23:46]CAPDU: 80 15 03 00 [00:23:46]Write to MH i2c: E2 08 00 58 11 80 15 03 00 00 00 00 00 EA [00:23:46]Write i2c OK [00:23:46]MH_I2C_Read... [00:23:46]OFD Sender: No OFD packet to send [00:23:46]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:23:46]Read from MH i2c: E2 [00:23:46]MH_I2C_Read... [00:23:46]Read from MH i2c: E2 FD 00 [00:23:46]MH_I2C_Read... [00:23:46]Read from MH i2c: E2 FD 00 58 11 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C9 CD 00 00 0E 04 04 00 BE 01 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5D 00 00 00 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 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 08 39 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 4E [00:23:46]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 C9 CD 00 00 0E 04 04 00 BE 01 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5D 00 00 00 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 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 08 39 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:23:46]wFMCommunicate OK [00:23:46]SAM_PROTO_ProcessDocument answer len = 1265 [00:23:46]SAM_PROTO_ProcessDocument remain to read = 1017 [00:23:46]wFMCommunicate request_size=4 [00:23:46]MH_SAM_APDU [00:23:46]CAPDU: 80 17 00 00 [00:23:46]Write to MH i2c: E2 08 00 59 11 80 17 00 00 00 00 00 00 EA [00:23:46]Write i2c OK [00:23:46]MH_I2C_Read... [00:23:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:23:47]Read from MH i2c: E2 [00:23:47]MH_I2C_Read... [00:23:47]Read from MH i2c: E2 FD 00 [00:23:47]MH_I2C_Read... [00:23:47]Read from MH i2c: E2 FD 00 59 11 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 33 [00:23:47]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:23:47]wFMCommunicate OK [00:23:47]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:23:47]SAM_PROTO_ProcessDocument remain to read = 767 [00:23:47]wFMCommunicate request_size=4 [00:23:47]MH_SAM_APDU [00:23:47]CAPDU: 80 17 00 00 [00:23:47]Write to MH i2c: E2 08 00 5A 11 80 17 00 00 00 00 00 00 EB [00:23:47]Write i2c OK [00:23:47]MH_I2C_Read... [00:23:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:23:47]Read from MH i2c: E2 [00:23:47]MH_I2C_Read... [00:23:47]Read from MH i2c: E2 FD 00 [00:23:47]MH_I2C_Read... [00:23:47]Read from MH i2c: E2 FD 00 5A 11 00 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 4D [00:23:47]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:23:47]wFMCommunicate OK [00:23:47]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:23:47]SAM_PROTO_ProcessDocument remain to read = 517 [00:23:47]wFMCommunicate request_size=4 [00:23:47]MH_SAM_APDU [00:23:47]CAPDU: 80 17 00 00 [00:23:47]Write to MH i2c: E2 08 00 5B 11 80 17 00 00 00 00 00 00 EC [00:23:47]Write i2c OK [00:23:47]MH_I2C_Read... [00:23:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:23:48]Read from MH i2c: E2 [00:23:48]MH_I2C_Read... [00:23:48]Read from MH i2c: E2 FD 00 [00:23:48]MH_I2C_Read... [00:23:48]Read from MH i2c: E2 FD 00 5B 11 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 76 [00:23:48]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [00:23:48]wFMCommunicate OK [00:23:48]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:23:48]SAM_PROTO_ProcessDocument remain to read = 267 [00:23:48]wFMCommunicate request_size=4 [00:23:48]MH_SAM_APDU [00:23:48]CAPDU: 80 17 00 00 [00:23:48]Write to MH i2c: E2 08 00 5C 11 80 17 00 00 00 00 00 00 ED [00:23:48]Write i2c OK [00:23:48]MH_I2C_Read... [00:23:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:23:48]Read from MH i2c: E2 [00:23:48]MH_I2C_Read... [00:23:48]Read from MH i2c: E2 FD 00 [00:23:48]MH_I2C_Read... [00:23:48]Read from MH i2c: E2 FD 00 5C 11 00 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 B5 [00:23:48]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:23:49]wFMCommunicate OK [00:23:49]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:23:49]SAM_PROTO_ProcessDocument remain to read = 17 [00:23:49]wFMCommunicate request_size=4 [00:23:49]MH_SAM_APDU [00:23:49]CAPDU: 80 17 00 00 [00:23:49]Write to MH i2c: E2 08 00 5D 11 80 17 00 00 00 00 00 00 EE [00:23:49]Write i2c OK [00:23:49]MH_I2C_Read... [00:23:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [00:23:49]Read from MH i2c: E2 [00:23:49]MH_I2C_Read... [00:23:49]Read from MH i2c: E2 14 00 [00:23:49]MH_I2C_Read... [00:23:49]Read from MH i2c: E2 14 00 5D 11 00 01 00 06 F7 03 00 00 35 04 06 00 92 F8 AA 9D 1C BB 90 00 DB [00:23:49]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 92 F8 AA 9D 1C BB 90 00 [00:23:49]wFMCommunicate OK [00:23:49]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:23:49]SAM_PROTO_ProcessDocument done [00:23:49]1209 (1) - 1.0 - номер версии ФФД [00:23:49]1041 (16) - 0000000000874715 - номер ФМ [00:23:49]1040 (4) - 52681 - номер ФД [00:23:49]1038 (4) - 446 - номер смены [00:23:49]1118 (4) - 91 - количество кассовых чеков за смену [00:23:49]1111 (4) - 93 - общее количество ФД за смену [00:23:49]1194 (1194) - счетчики итогов смены [00:23:49] 1134 (4) - 91 - количество чеков со всеми признаками расчетов [00:23:49] 1129 (155) - счетчики операций «приход» [00:23:49] 1135 (4) - 91 - количество чеков по признаку расчетов [00:23:49] 1201 (3) - 19890.00 - общая итоговая сумма в чеках [00:23:49] 1136 (3) - 4914.00 - итоговая сумма в чеках наличными [00:23:49] 1138 (3) - 14976.00 - итоговая сумма в чеках безналичными [00:23:49] 1024 (122) - суммы налогов [00:23:49] 1006 (9) - суммы НДС [00:23:49] 1010 (1) - 0% - код ставки НДС [00:23:49] 1011 (0) - 0.00 - сумма НДС по ставке [00:23:49] 1006 (12) - суммы НДС [00:23:49] 1010 (1) - 12% - код ставки НДС [00:23:49] 1011 (3) - 2112.08 - сумма НДС по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 0% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (11) - суммы НСП [00:23:49] 1014 (1) - 1% - код ставки НСП [00:23:49] 1015 (2) - 175.96 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 2% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 3% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 5% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 0,50% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 1,50% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1130 (141) - счетчики операций «возврат прихода» [00:23:49] 1135 (4) - 0 - количество чеков по признаку расчетов [00:23:49] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:23:49] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:23:49] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:23:49] 1024 (117) - суммы налогов [00:23:49] 1006 (9) - суммы НДС [00:23:49] 1010 (1) - 0% - код ставки НДС [00:23:49] 1011 (0) - 0.00 - сумма НДС по ставке [00:23:49] 1006 (9) - суммы НДС [00:23:49] 1010 (1) - 12% - код ставки НДС [00:23:49] 1011 (0) - 0.00 - сумма НДС по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 0% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 1% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 2% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 3% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 5% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 0,50% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 1,50% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1131 (141) - счетчики операций «расход» [00:23:49] 1135 (4) - 0 - количество чеков по признаку расчетов [00:23:49] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:23:49] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:23:49] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:23:49] 1024 (117) - суммы налогов [00:23:49] 1006 (9) - суммы НДС [00:23:49] 1010 (1) - 0% - код ставки НДС [00:23:49] 1011 (0) - 0.00 - сумма НДС по ставке [00:23:49] 1006 (9) - суммы НДС [00:23:49] 1010 (1) - 12% - код ставки НДС [00:23:49] 1011 (0) - 0.00 - сумма НДС по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 0% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 1% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 2% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 3% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 5% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 0,50% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 1,50% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1132 (141) - счетчики операций «возврат расхода» [00:23:49] 1135 (4) - 0 - количество чеков по признаку расчетов [00:23:49] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:23:49] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:23:49] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:23:49] 1024 (117) - суммы налогов [00:23:49] 1006 (9) - суммы НДС [00:23:49] 1010 (1) - 0% - код ставки НДС [00:23:49] 1011 (0) - 0.00 - сумма НДС по ставке [00:23:49] 1006 (9) - суммы НДС [00:23:49] 1010 (1) - 12% - код ставки НДС [00:23:49] 1011 (0) - 0.00 - сумма НДС по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 0% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 1% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 2% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 3% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 5% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 0,50% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1007 (9) - суммы НСП [00:23:49] 1014 (1) - 1,50% - код ставки НСП [00:23:49] 1015 (0) - 0.00 - сумма НСП по ставке [00:23:49] 1133 (588) - - счетчики коррекции - не используются [00:23:49]1077 (6) - 161596711967931 - ФПД [00:23:49]SetTLVBufToDocument [00:23:49]Processing tag 1209 (04B9) [00:23:49]Malloc new data [00:23:49]Processing tag 1041 (0411) [00:23:49]Processing tag 1040 (0410) [00:23:49]Malloc new data [00:23:49]Processing tag 1038 (040E) [00:23:49]Malloc new data [00:23:49]Processing tag 1118 (045E) [00:23:49]Malloc new data [00:23:49]Processing tag 1111 (0457) [00:23:49]Malloc new data [00:23:49]Processing tag 1194 (04AA) [00:23:49]Load OK [00:23:49]SetTLVBufToDocument [00:23:49]Processing tag 1134 (046E) [00:23:49]Malloc new data [00:23:49]Processing tag 1129 (0469) [00:23:49]Load OK [00:23:49]SetTLVBufToDocument [00:23:49]Processing tag 1135 (046F) [00:23:49]Malloc new data [00:23:49]Processing tag 1201 (04B1) [00:23:49]Malloc new data [00:23:49]Processing tag 1136 (0470) [00:23:49]Malloc new data [00:23:49]Processing tag 1138 (0472) [00:23:49]Malloc new data [00:23:49]Processing tag 1024 (0400) [00:23:49]Load OK [00:23:49]SetTLVBufToDocument [00:23:49]Processing tag 1006 (03EE) [00:23:49]Load OK [00:23:49]SetTLVBufToDocument [00:23:49]Processing tag 1010 (03F2) [00:23:49]Malloc new data [00:23:49]Processing tag 1011 (03F3) [00:23:49]Malloc new data [00:23:49]SetTLVBufToDocument err=0 [00:23:49]Processing tag 1006 (03EE) [00:23:49]Load OK [00:23:49]SetTLVBufToDocument [00:23:49]Processing tag 1010 (03F2) [00:23:49]Malloc new data [00:23:49]Processing tag 1011 (03F3) [00:23:49]Malloc new data [00:23:49]SetTLVBufToDocument err=0 [00:23:49]Processing tag 1007 (03EF) [00:23:49]Load OK [00:23:49]SetTLVBufToDocument [00:23:49]Processing tag 1014 (03F6) [00:23:49]Malloc new data [00:23:49]Processing tag 1015 (03F7) [00:23:49]Malloc new data [00:23:49]SetTLVBufToDocument err=0 [00:23:49]Processing tag 1007 (03EF) [00:23:49]Load OK [00:23:49]SetTLVBufToDocument [00:23:49]Processing tag 1014 (03F6) [00:23:49]Malloc new data [00:23:49]Processing tag 1015 (03F7) [00:23:49]Malloc new data [00:23:49]SetTLVBufToDocument err=0 [00:23:49]Processing tag 1007 (03EF) [00:23:49]Load OK [00:23:49]SetTLVBufToDocument [00:23:49]Processing tag 1014 (03F6) [00:23:49]Malloc new data [00:23:49]Processing tag 1015 (03F7) [00:23:49]Malloc new data [00:23:49]SetTLVBufToDocument err=0 [00:23:49]Processing tag 1007 (03EF) [00:23:49]Load OK [00:23:49]SetTLVBufToDocument [00:23:49]Processing tag 1014 (03F6) [00:23:49]Malloc new data [00:23:49]Processing tag 1015 (03F7) [00:23:49]Malloc new data [00:23:49]SetTLVBufToDocument err=0 [00:23:49]Processing tag 1007 (03EF) [00:23:49]Load OK [00:23:49]SetTLVBufToDocument [00:23:49]Processing tag 1014 (03F6) [00:23:49]Malloc new data [00:23:49]Processing tag 1015 (03F7) [00:23:49]Malloc new data [00:23:49]SetTLVBufToDocument err=0 [00:23:49]Processing tag 1007 (03EF) [00:23:49]Load OK [00:23:49]SetTLVBufToDocument [00:23:49]Processing tag 1014 (03F6) [00:23:49]Malloc new data [00:23:49]Processing tag 1015 (03F7) [00:23:49]Malloc new data [00:23:49]SetTLVBufToDocument err=0 [00:23:49]Processing tag 1007 (03EF) [00:23:49]Load OK [00:23:49]SetTLVBufToDocument [00:23:49]Processing tag 1014 (03F6) [00:23:49]Malloc new data [00:23:49]Processing tag 1015 (03F7) [00:23:49]Malloc new data [00:23:49]SetTLVBufToDocument err=0 [00:23:49]SetTLVBufToDocument err=0 [00:23:49]SetTLVBufToDocument err=0 [00:23:49]Processing tag 1130 (046A) [00:23:49]Load OK [00:23:49]SetTLVBufToDocument [00:23:49]Processing tag 1135 (046F) [00:23:49]Malloc new data [00:23:50]Processing tag 1201 (04B1) [00:23:50]Malloc new data [00:23:50]Processing tag 1136 (0470) [00:23:50]Malloc new data [00:23:50]Processing tag 1138 (0472) [00:23:50]Malloc new data [00:23:50]Processing tag 1024 (0400) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1006 (03EE) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1010 (03F2) [00:23:50]Malloc new data [00:23:50]Processing tag 1011 (03F3) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1006 (03EE) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1010 (03F2) [00:23:50]Malloc new data [00:23:50]Processing tag 1011 (03F3) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]SetTLVBufToDocument err=0 [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1131 (046B) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1135 (046F) [00:23:50]Malloc new data [00:23:50]Processing tag 1201 (04B1) [00:23:50]Malloc new data [00:23:50]Processing tag 1136 (0470) [00:23:50]Malloc new data [00:23:50]Processing tag 1138 (0472) [00:23:50]Malloc new data [00:23:50]Processing tag 1024 (0400) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1006 (03EE) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1010 (03F2) [00:23:50]Malloc new data [00:23:50]Processing tag 1011 (03F3) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1006 (03EE) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1010 (03F2) [00:23:50]Malloc new data [00:23:50]Processing tag 1011 (03F3) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]SetTLVBufToDocument err=0 [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1132 (046C) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1135 (046F) [00:23:50]Malloc new data [00:23:50]Processing tag 1201 (04B1) [00:23:50]Malloc new data [00:23:50]Processing tag 1136 (0470) [00:23:50]Malloc new data [00:23:50]Processing tag 1138 (0472) [00:23:50]Malloc new data [00:23:50]Processing tag 1024 (0400) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1006 (03EE) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1010 (03F2) [00:23:50]Malloc new data [00:23:50]Processing tag 1011 (03F3) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1006 (03EE) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1010 (03F2) [00:23:50]Malloc new data [00:23:50]Processing tag 1011 (03F3) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1007 (03EF) [00:23:50]Load OK [00:23:50]SetTLVBufToDocument [00:23:50]Processing tag 1014 (03F6) [00:23:50]Malloc new data [00:23:50]Processing tag 1015 (03F7) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]SetTLVBufToDocument err=0 [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1133 (046D) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Processing tag 1077 (0435) [00:23:50]Malloc new data [00:23:50]SetTLVBufToDocument err=0 [00:23:50]Malloc new data [00:23:50]SAM_PROTO_GetFMData [00:23:50]wFMCommunicate request_size=4 [00:23:50]MH_SAM_APDU [00:23:50]CAPDU: 80 13 03 00 [00:23:50]Write to MH i2c: E2 08 00 5E 11 80 13 03 00 00 00 00 00 EE [00:23:50]Write i2c OK [00:23:50]MH_I2C_Read... [00:23:50]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:23:50]Read from MH i2c: E2 [00:23:50]MH_I2C_Read... [00:23:50]Read from MH i2c: E2 FD 00 [00:23:50]MH_I2C_Read... [00:23:50]Read from MH i2c: E2 FD 00 5E 11 00 C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 D7 [00:23:50]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 [00:23:51]wFMCommunicate OK [00:23:51]wFMCommunicate request_size=4 [00:23:51]MH_SAM_APDU [00:23:51]CAPDU: 80 17 00 00 [00:23:51]Write to MH i2c: E2 08 00 5F 11 80 17 00 00 00 00 00 00 F0 [00:23:51]Write i2c OK [00:23:51]MH_I2C_Read... [00:23:51]OFD Sender: No OFD packet to send [00:23:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:23:51]Read from MH i2c: E2 [00:23:51]MH_I2C_Read... [00:23:51]Read from MH i2c: E2 FD 00 [00:23:51]MH_I2C_Read... [00:23:51]Read from MH i2c: E2 FD 00 5F 11 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 74 [00:23:51]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:23:51]wFMCommunicate OK [00:23:51]wFMCommunicate request_size=4 [00:23:51]MH_SAM_APDU [00:23:51]CAPDU: 80 17 00 00 [00:23:51]Write to MH i2c: E2 08 00 60 11 80 17 00 00 00 00 00 00 F1 [00:23:51]Write i2c OK [00:23:51]MH_I2C_Read... [00:23:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:23:51]Read from MH i2c: E2 [00:23:51]MH_I2C_Read... [00:23:51]Read from MH i2c: E2 FD 00 [00:23:51]MH_I2C_Read... [00:23:51]Read from MH i2c: E2 FD 00 60 11 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 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 90 00 91 [00:23:52]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 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 90 00 [00:23:52]wFMCommunicate OK [00:23:52]wFMCommunicate request_size=4 [00:23:52]MH_SAM_APDU [00:23:52]CAPDU: 80 17 00 00 [00:23:52]Write to MH i2c: E2 08 00 61 11 80 17 00 00 00 00 00 00 F2 [00:23:52]Write i2c OK [00:23:52]MH_I2C_Read... [00:23:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:23:52]Read from MH i2c: E2 [00:23:52]MH_I2C_Read... [00:23:52]Read from MH i2c: E2 FD 00 [00:23:52]MH_I2C_Read... [00:23:52]Read from MH i2c: E2 FD 00 61 11 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 77 [00:23:52]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:23:52]wFMCommunicate OK [00:23:52]wFMCommunicate request_size=4 [00:23:52]MH_SAM_APDU [00:23:52]CAPDU: 80 17 00 00 [00:23:52]Write to MH i2c: E2 08 00 62 11 80 17 00 00 00 00 00 00 F3 [00:23:52]Write i2c OK [00:23:52]MH_I2C_Read... [00:23:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:23:53]Read from MH i2c: E2 [00:23:53]MH_I2C_Read... [00:23:53]Read from MH i2c: E2 DE 00 [00:23:53]MH_I2C_Read... [00:23:53]Read from MH i2c: E2 DE 00 62 11 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D2 [00:23:53]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 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:23:53]wFMCommunicate OK [00:23:53]SAM_PROTO_GetFMData done [00:23:53]Malloc new data [00:23:53]Malloc new data [00:23:53]Malloc new data [00:23:53]Malloc new data [00:23:53]KKMLoadAndSignCloseShiftData err=0 [00:23:53]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Тыныстанова Ж. 12.08.2024 00:23 Смена: 446 РНМ: 0000000000090834 ЗНМ: 0300000007 СНО: Общий режим Чеков за смену: 91 ФД за смену: 93 Всего чеков: 91 ИТОГИ ПРИХОД Чеков: 91 Общий итог: 19890.00 Итого наличными: 4914.00 Итого безнал.: 14976.00 НДС 0% : 0.00 НДС 12% : 2112.08 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 175.96 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 4914.00 НС Приход: 11012631.86 НС Возвр.Прихода: 26895.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 52681 ФМ: 0000000000874715 ФПД: 161596711967931 [00:23:53]StoreToDocumentArchive [00:23:53]shift 446 fd 52681 [00:23:53]save to /storage/0446/doc_00052681 [00:23:53]save last doc name /storage/0446/doc_00052681 to /storage/kkm_last_doc_name [00:23:53]save OK [00:23:53]Clear old archive folders... [00:23:53]Remove dir /storage/0266 [00:23:53]opendir ok [00:23:53]file . [00:23:53]file .. [00:23:53]file doc_1723422182 [00:23:53]remove file /storage/0266/doc_1723422182 [00:23:53]remove dir /storage/0266 [00:23:53]NVStorageSaveData kkm_registers [00:23:53]File name is /storage/kkm_registers [00:23:53]Write 24 bytes [00:23:53]NVStorageSaveData done [00:23:53]NVStorageSaveData kkm_registers [00:23:53]File name is /storage/kkm_registers [00:23:53]Write 24 bytes [00:23:53]NVStorageSaveData done [00:23:53]ProcessDocumentItem done err = 0, tmpTLVsize=1385 [00:23:53]tlvbuf is 0137EB80 [00:23:53]SAM_PROTO_ClearQueue [00:23:53]wFMCommunicate request_size=4 [00:23:53]MH_SAM_APDU [00:23:53]CAPDU: 80 09 00 00 [00:23:53]Write to MH i2c: E2 08 00 63 11 80 09 00 00 00 00 00 00 E6 [00:23:53]Write i2c OK [00:23:53]MH_I2C_Read... [00:23:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:23:53]Read from MH i2c: E2 [00:23:53]MH_I2C_Read... [00:23:53]Read from MH i2c: E2 03 00 [00:23:53]MH_I2C_Read... [00:23:53]Read from MH i2c: E2 03 00 63 11 00 90 00 E8 [00:23:53]RAPDU: 90 00 [00:23:53]wFMCommunicate OK [00:23:53]SAM_PROTO_ClearQueue done [00:23:53]KKMCreateOFDPacket [00:23:53]OFDProtocolAddRootSTLVToBuf [00:23:53]FM_MakeSignedData [00:23:53]FM_MakeSignedData [00:23:53]SAM_PROTO_SignData [00:23:53]wFMCommunicate request_size=4 [00:23:53]MH_SAM_APDU [00:23:53]CAPDU: 80 0D 01 02 [00:23:53]Write to MH i2c: E2 08 00 64 11 80 0D 01 02 00 00 00 00 EE [00:23:53]Write i2c OK [00:23:53]MH_I2C_Read... [00:23:53]Read from MH i2c: E2 [00:23:53]MH_I2C_Read... [00:23:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:23:53]Read from MH i2c: E2 03 00 [00:23:53]MH_I2C_Read... [00:23:53]Read from MH i2c: E2 03 00 64 11 00 90 00 E9 [00:23:53]RAPDU: 90 00 [00:23:53]wFMCommunicate OK [00:23:53]wFMCommunicate request_size=255 [00:23:53]MH_SAM_APDU [00:23:53]CAPDU: 80 0D 02 02 FA 05 00 69 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 A2 D1 8B D0 BD D1 8B D1 81 D1 82 D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 96 2E 20 F4 03 04 00 14 56 B9 66 0E 04 04 00 BE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 5E 04 04 00 5B 00 00 00 57 04 04 00 5D 00 00 00 AA 04 D5 04 6E 04 04 00 5B 00 00 00 69 04 A2 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 08 39 03 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 [00:23:53]Write to MH i2c: E2 02 01 65 11 80 0D 02 02 FA 00 05 00 69 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 A2 D1 8B D0 BD D1 8B D1 81 D1 82 D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 96 2E 20 F4 03 04 00 14 56 B9 66 0E 04 04 00 BE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 5E 04 04 00 5B 00 00 00 57 04 04 00 5D 00 00 00 AA 04 D5 04 6E 04 04 00 5B 00 00 00 69 04 A2 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 08 39 03 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 00 00 20 [00:23:54]Write i2c OK [00:23:54]MH_I2C_Read... [00:23:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:23:54]Read from MH i2c: E2 [00:23:54]MH_I2C_Read... [00:23:54]Read from MH i2c: E2 03 00 [00:23:54]MH_I2C_Read... [00:23:54]Read from MH i2c: E2 03 00 65 11 00 90 00 EA [00:23:54]RAPDU: 90 00 [00:23:54]wFMCommunicate OK [00:23:54]wFMCommunicate request_size=255 [00:23:54]MH_SAM_APDU [00:23:54]CAPDU: 80 0D 02 02 FA 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 [00:23:54]Write to MH i2c: E2 02 01 66 11 80 0D 02 02 FA 00 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 00 00 5E [00:23:54]Write i2c OK [00:23:54]MH_I2C_Read... [00:23:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:23:55]Read from MH i2c: E2 [00:23:55]MH_I2C_Read... [00:23:55]Read from MH i2c: E2 03 00 [00:23:55]MH_I2C_Read... [00:23:55]Read from MH i2c: E2 03 00 66 11 00 90 00 EB [00:23:55]RAPDU: 90 00 [00:23:55]wFMCommunicate OK [00:23:55]wFMCommunicate request_size=255 [00:23:55]MH_SAM_APDU [00:23:55]CAPDU: 80 0D 02 02 FA 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 [00:23:55]Write to MH i2c: E2 02 01 67 11 80 0D 02 02 FA 00 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 00 00 B8 [00:23:55]Write i2c OK [00:23:55]MH_I2C_Read... [00:23:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:23:55]Read from MH i2c: E2 [00:23:55]MH_I2C_Read... [00:23:55]Read from MH i2c: E2 03 00 [00:23:55]MH_I2C_Read... [00:23:55]Read from MH i2c: E2 03 00 67 11 00 90 00 EC [00:23:55]RAPDU: 90 00 [00:23:55]wFMCommunicate OK [00:23:55]wFMCommunicate request_size=255 [00:23:55]MH_SAM_APDU [00:23:55]CAPDU: 80 0D 02 02 FA 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 [00:23:56]Write to MH i2c: E2 02 01 68 11 80 0D 02 02 FA 00 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 00 00 C2 [00:23:56]Write i2c OK [00:23:56]MH_I2C_Read... [00:23:56]OFD Sender: No OFD packet to send [00:23:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:23:56]Read from MH i2c: E2 [00:23:56]MH_I2C_Read... [00:23:56]Read from MH i2c: E2 03 00 [00:23:56]MH_I2C_Read... [00:23:56]Read from MH i2c: E2 03 00 68 11 00 90 00 ED [00:23:56]RAPDU: 90 00 [00:23:56]wFMCommunicate OK [00:23:56]wFMCommunicate request_size=255 [00:23:56]MH_SAM_APDU [00:23:56]CAPDU: 80 0D 02 02 FA F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 [00:23:56]Write to MH i2c: E2 02 01 69 11 80 0D 02 02 FA 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 00 83 [00:23:56]Write i2c OK [00:23:56]MH_I2C_Read... [00:23:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:23:57]Read from MH i2c: E2 [00:23:57]MH_I2C_Read... [00:23:57]Read from MH i2c: E2 03 00 [00:23:57]MH_I2C_Read... [00:23:57]Read from MH i2c: E2 03 00 69 11 00 90 00 EE [00:23:57]RAPDU: 90 00 [00:23:57]wFMCommunicate OK [00:23:57]wFMCommunicate request_size=144 [00:23:57]MH_SAM_APDU [00:23:57]CAPDU: 80 0D 02 02 8B 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 C9 CD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 35 04 06 00 92 F8 AA 9D 1C BB [00:23:57]Write to MH i2c: E2 93 00 6A 11 80 0D 02 02 8B 00 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 C9 CD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 35 04 06 00 92 F8 AA 9D 1C BB 00 00 70 [00:23:57]Write i2c OK [00:23:57]MH_I2C_Read... [00:23:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:23:57]Read from MH i2c: E2 [00:23:57]MH_I2C_Read... [00:23:57]Read from MH i2c: E2 03 00 [00:23:57]MH_I2C_Read... [00:23:57]Read from MH i2c: E2 03 00 6A 11 00 90 00 EF [00:23:57]RAPDU: 90 00 [00:23:57]wFMCommunicate OK [00:23:57]wFMCommunicate request_size=4 [00:23:57]MH_SAM_APDU [00:23:57]CAPDU: 80 0D 03 02 [00:23:57]Write to MH i2c: E2 08 00 6B 11 80 0D 03 02 00 00 00 00 F7 [00:23:57]Write i2c OK [00:23:57]MH_I2C_Read... [00:23:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:23:57]Read from MH i2c: E2 [00:23:57]MH_I2C_Read... [00:23:57]Read from MH i2c: E2 0B 00 [00:23:57]MH_I2C_Read... [00:23:57]Read from MH i2c: E2 0B 00 6B 11 00 86 FF 28 15 E6 54 7D B7 90 00 28 [00:23:57]RAPDU: 86 FF 28 15 E6 54 7D B7 90 00 [00:23:57]wFMCommunicate OK [00:23:57]SAM_PROTO_SignData done [00:23:57]FM_MakeSignedData done [00:23:57]CreateOFDProtocolMessage [00:23:57]wFMCommunicate request_size=4 [00:23:57]MH_SAM_APDU [00:23:57]CAPDU: 80 11 00 00 [00:23:57]Write to MH i2c: E2 08 00 6C 11 80 11 00 00 00 00 00 00 F7 [00:23:57]Write i2c OK [00:23:57]MH_I2C_Read... [00:23:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:23:57]Read from MH i2c: E2 [00:23:57]MH_I2C_Read... [00:23:57]Read from MH i2c: E2 17 00 [00:23:57]MH_I2C_Read... [00:23:57]Read from MH i2c: E2 17 00 6C 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 4A [00:23:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [00:23:57]wFMCommunicate OK [00:23:57]CreateOFDProtocolMessage done [00:23:57]OFDSenderStorePacket 52681 [00:23:57]StoreOFDPacket docnum=52681 [00:23:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 7D 05 00 00 A5 8E 75 05 FE 3C 5A 05 01 00 05 00 69 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 A2 D1 8B D0 BD D1 8B D1 81 D1 82 D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 96 2E 20 F4 03 04 00 14 56 B9 66 0E 04 04 00 BE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 5E 04 04 00 5B 00 00 00 57 04 04 00 5D 00 00 00 AA 04 D5 04 6E 04 04 00 5B 00 00 00 69 04 A2 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 08 39 03 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 C9 CD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 35 04 06 00 92 F8 AA 9D 1C BB 86 FF 28 15 E6 54 7D B7 [00:23:58]CheckFolder [00:23:58]dirname=/storage/ofd_packets [00:23:58]CheckFolder done [00:23:58]ProducePacketName [00:23:58]name=ofd_packets/00052681 [00:23:58]NVStorageSaveData ofd_packets/00052681 [00:23:58]File name is /storage/ofd_packets/00052681 [00:23:58]Write 1435 bytes [00:23:58]NVStorageSaveData done [00:23:58]OFDSenderStorePacket done [00:23:58]KKMCreateOFDPacket done [00:23:58]NVStorageSaveData kkm_last_timestamp [00:23:58]File name is /storage/kkm_last_timestamp [00:23:58]Write 4 bytes [00:23:58]NVStorageSaveData done [00:23:58]ExternCall_PrintAddStr [00:23:58]wPrintStart [00:23:58]Write to MH i2c: 01 00 00 6D 11 7E [00:23:58]Write i2c OK [00:23:58]MH_I2C_Read... [00:23:58]Read from MH i2c: 01 [00:23:58]MH_I2C_Read... [00:23:58]Read from MH i2c: 01 07 00 [00:23:58]MH_I2C_Read... [00:23:58]Read from MH i2c: 01 07 00 6D 11 00 00 00 00 00 FF 0F 93 [00:23:58]RasterBufferAndPrint [00:23:58]line Отчет о закрытии смены [00:23:58]line ФФД: 1.0 [00:23:58]line ИНН: 02508201610067 [00:23:58]line Кассир: Тыныстанова Ж. [00:23:58]line 12.08.2024 00:23 [00:23:58]line Смена: 446 [00:23:58]line РНМ: 0000000000090834 [00:23:58]line ЗНМ: 0300000007 [00:23:58]line СНО: Общий режим [00:23:58]line Чеков за смену: 91 [00:23:58]line ФД за смену: 93 [00:23:58]line Всего чеков: 91 [00:23:58]line ИТОГИ ПРИХОД [00:23:58]line Чеков: 91 [00:23:58]line Общий итог: 19890.00 [00:23:58]line Итого наличными: 4914.00 [00:23:58]line Итого безнал.: 14976.00 [00:23:58]line НДС 0% : 0.00 [00:23:58]line НДС 12% : 2112.08 [00:23:58]line НСП 0% : 0.00 [00:23:58]line НСП 1,50% : 0.00 [00:23:58]line НСП 0,50% : 0.00 [00:23:58]line НСП 5% : 0.00 [00:23:58]line НСП 3% : 0.00 [00:23:58]line НСП 2% : 0.00 [00:23:58]line НСП 1% : 175.96 [00:23:58]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:23:58]line Чеков: 0 [00:23:58]line Общий итог: 0.00 [00:23:58]line Итого наличными: 0.00 [00:23:58]line Итого безнал.: 0.00 [00:23:58]line НДС 0% : 0.00 [00:23:58]line НДС 12% : 0.00 [00:23:58]line НСП 0% : 0.00 [00:23:58]line НСП 1,50% : 0.00 [00:23:58]line НСП 0,50% : 0.00 [00:23:58]line НСП 5% : 0.00 [00:23:58]line НСП 3% : 0.00 [00:23:58]line НСП 2% : 0.00 [00:23:58]line НСП 1% : 0.00 [00:23:58]line ИТОГИ РАСХОД [00:23:58]line Чеков: 0 [00:23:58]line Общий итог: 0.00 [00:23:58]line Итого наличными: 0.00 [00:23:58]line Итого безнал.: 0.00 [00:23:58]line НДС 0% : 0.00 [00:23:58]line НДС 12% : 0.00 [00:23:58]line НСП 0% : 0.00 [00:23:58]line НСП 1,50% : 0.00 [00:23:58]line НСП 0,50% : 0.00 [00:23:58]line НСП 5% : 0.00 [00:23:58]line НСП 3% : 0.00 [00:23:58]line НСП 2% : 0.00 [00:23:58]OFD Sender: Processing packet 52681 [packets to send 55, broken 54] [00:23:58]ProducePacketName [00:23:58]name=ofd_packets/00052681 [00:23:58]OFD Sender: To server: pG, [00:23:58]CommunicateWithHost lk.salyk.kg:30040 [00:23:58]ConnectInit lk.salyk.kg [00:23:58]line НСП 1% : 0.00 [00:23:58]line ИТОГИ ВОЗВРАТ РАСХОДА [00:23:58]line Чеков: 0 [00:23:58]line Общий итог: 0.00 [00:23:58]line Итого наличными: 0.00 [00:23:58]line Итого безнал.: 0.00 [00:23:58]line НДС 0% : 0.00 [00:23:58]line НДС 12% : 0.00 [00:23:58]line НСП 0% : 0.00 [00:23:58]line НСП 1,50% : 0.00 [00:23:58]line НСП 0,50% : 0.00 [00:23:58]line НСП 5% : 0.00 [00:23:58]line НСП 3% : 0.00 [00:23:58]line НСП 2% : 0.00 [00:23:58]line НСП 1% : 0.00 [00:23:58]line Сумма внесений: 0.00 [00:23:58]line Сумма выплат: 0.00 [00:23:58]line Нал. в кассе: 4914.00 [00:23:58]line НС Приход: 11012631.86 [00:23:58]line НС Возвр.Прихода: 26895.00 [00:23:58]line НС Расход: 0.00 [00:23:58]line НС Возвр.Расхода: 0.00 [00:23:58]line ФД: 52681 [00:23:58]line ФМ: 0000000000874715 [00:23:58]line ФПД: 161596711967931 [00:23:58]written 0, free lines is 4095 [00:23:58]Connected sock=10 [00:23:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 7D 05 00 00 A5 8E 75 05 FE 3C 5A 05 01 00 05 00 69 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 A2 D1 8B D0 BD D1 8B D1 81 D1 82 D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 96 2E 20 F4 03 04 00 14 56 B9 66 0E 04 04 00 BE 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 5E 04 04 00 5B 00 00 00 57 04 04 00 5D 00 00 00 AA 04 D5 04 6E 04 04 00 5B 00 00 00 69 04 A2 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 08 39 03 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 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 Write to MH i2c: 01 01 00 00 00 00 EF BD 03 11 0A CE 00 [00:23:59]F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 Write i2c OK [00:23:59]00 MH_I2C_Read... [00:23:59]00 Read from MH i2c: 00 01 00 [00:23:59]00 MH_I2C_Read... [00:23:59]79 04 8D 00 6F 04 04 00 00 00 00 Read from MH i2c: 00 01 B1 07 04 00 00 [00:23:59]00 MH_I2C_Read... [00:23:59]70 04 00 00 72 04 00 00 00 04 75 00 EE Read from MH i2c: 03 01 09 07 00 00 F2 BD 03 11 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 00 01 00 00 00 01 00 F3 00 03 30 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 0A 00 0F 00 [00:23:59]RasterBufferAndPrint [00:23:59]EF line [00:23:59]03 line [00:23:59]09 00 F6 03 01 00 01 F7 03 00 00 EF 03 line [00:23:59]09 line [00:23:59]00 line [00:23:59]F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 written 0, free lines is 2768 [00:23:59]00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF MH_Cut [00:23:59]03 Write to MH i2c: 09 D1 00 01 F6 00 03 C4 01 11 00 01 05 A7 F7 [00:23:59]03 00 00 EF 03 09 00 F6 03 01 Write i2c OK [00:23:59]00 MH_I2C_Read... [00:23:59]06 Read from MH i2c: F7 D1 03 [00:23:59]00 MH_I2C_Read... [00:23:59]00 Read from MH i2c: D0 D1 04 01 8D 00 00 [00:23:59]6F MH_I2C_Read... [00:23:59]04 Read from MH i2c: 04 D1 00 01 00 00 00 C4 00 11 00 00 B1 A6 04 [00:23:59]00 Write to MH i2c: 00 01 70 00 04 00 00 C5 00 11 72 D6 04 [00:23:59]00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 Write i2c OK [00:23:59]00 MH_I2C_Read... [00:23:59]F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 C9 CD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 35 04 06 00 92 F8 AA 9D 1C BB 86 FF 28 15 E6 54 7D B7 [00:24:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 4A 17 47 00 23 3C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 *** Cut start [00:24:00]33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 *** Purtial cut [00:24:00]30 30 30 30 30 30 38 *** Stage 1: CUTSNS_PIN = 1 [00:24:00]37 34 37 31 35 10 04 04 00 C9 CD 00 00 F4 03 04 00 BA FD B8 66 B6 04 01 00 00 2A 75 59 DA 37 5B 26 6E [00:24:00]CommunicateWithHost err = 0 [00:24:00]CheckOFDResponse [00:24:00]1017 (14) - 77093643461234 [00:24:00]1041 (16) - 0000000000874715 [00:24:00]1040 (4) - 52681 [00:24:00]1012 (4) - 11.08.2024 18:06 [00:24:00]1206 (1) - 0 [00:24:00]Read from MH i2c: OFD Sender: Remove packet 52681 [00:24:00]01 ProducePacketName [00:24:00] [00:24:00]name=ofd_packets/00052681 [00:24:00]MH_I2C_Read... [00:24:00]*** Stop cut motor [00:24:00]NVStorageDeleteData [00:24:00]*** Cut end [00:24:00]Read from MH i2c: 01 07 00 [00:24:00]MH_I2C_Read... [00:24:00]Read from MH i2c: 01 07 00 C5 11 00 00 00 00 00 FF 0F EB [00:24:00]process_action close_shift done [00:24:00]requested_data is exist [00:24:00]produce_requested_data [00:24:00]requested_item fd.num is exist - process it [00:24:00]SAM_PROTO_GetFieldsCounters [00:24:00]wFMCommunicate request_size=4 [00:24:00]MH_SAM_APDU [00:24:00]CAPDU: 80 13 00 00 [00:24:00]Write to MH i2c: E2 08 00 C6 11 80 13 00 00 00 00 00 00 53 [00:24:00]Write i2c OK [00:24:00]MH_I2C_Read... [00:24:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:24:00]Read from MH i2c: E2 [00:24:00]MH_I2C_Read... [00:24:00]Read from MH i2c: E2 62 00 [00:24:00]MH_I2C_Read... [00:24:00]Read from MH i2c: E2 62 00 C6 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C9 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5D 00 00 00 19 04 04 00 00 00 00 00 90 00 DA [00:24:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C9 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5D 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:24:01]wFMCommunicate OK [00:24:01]SAM_PROTO_GetFieldsCounters done [00:24:01]requested_item shift.num is exist - process it [00:24:01]requested_item shift.opened is exist - process it [00:24:01]req_shift_opened [00:24:01]FM_GetShiftState [00:24:01]SAM_PROTO_GetShiftState [00:24:01]wFMCommunicate request_size=4 [00:24:01]MH_SAM_APDU [00:24:01]CAPDU: 80 13 01 00 [00:24:01]Write to MH i2c: E2 08 00 C7 11 80 13 01 00 00 00 00 00 55 [00:24:01]Write i2c OK [00:24:01]MH_I2C_Read... [00:24:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:24:01]Read from MH i2c: E2 [00:24:01]MH_I2C_Read... [00:24:01]Read from MH i2c: E2 0E 00 [00:24:01]MH_I2C_Read... [00:24:01]Read from MH i2c: E2 0E 00 C7 11 00 09 00 00 00 00 00 00 00 00 00 00 90 00 60 [00:24:01]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:24:01]wFMCommunicate OK [00:24:01]SAM_PROTO_GetShiftState done [00:24:01]FM_GetShiftState done [00:24:01]req_shift_opened done [00:24:01]requested_item shift.open_date is exist - process it [00:24:01]req_shift_open_date [00:24:01]FM_GetShiftState [00:24:01]SAM_PROTO_GetShiftState [00:24:01]wFMCommunicate request_size=4 [00:24:01]MH_SAM_APDU [00:24:01]CAPDU: 80 13 01 00 [00:24:01]Write to MH i2c: E2 08 00 C8 11 80 13 01 00 00 00 00 00 56 [00:24:01]Write i2c OK [00:24:01]MH_I2C_Read... [00:24:01]OFD Sender: No OFD packet to send [00:24:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:24:01]Read from MH i2c: E2 [00:24:01]MH_I2C_Read... [00:24:01]Read from MH i2c: E2 0E 00 [00:24:01]MH_I2C_Read... [00:24:01]Read from MH i2c: E2 0E 00 C8 11 00 09 00 00 00 00 00 00 00 00 00 00 90 00 61 [00:24:01]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:24:01]wFMCommunicate OK [00:24:01]SAM_PROTO_GetShiftState done [00:24:01]FM_GetShiftState done [00:24:01]req_shift_open_date done [00:24:01]produce_requested_data done [00:24:01]produce_requested_data return {"fd.num":52681,"shift.num":446,"shift.opened":0,"shift.open_date":0} [00:24:01]process_action_free close_shift [00:24:01]json_value_free [00:24:01]json_value_free done [00:24:01]process_json_proto returns [00:24:01]Send response to host [00:24:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":52681,"shift.num":446,"shift.opened":0,"shift.open_date":0}}} [00:24:01]free response buf [00:24:01]execute_script done [00:24:01]execute_script returns [00:24:01]free content buf [00:24:01]Sock 9.Close socket [00:24:01]Sock 9.Thread stoped [00:24:06]OFD Sender: No OFD packet to send [00:24:11]OFD Sender: No OFD packet to send [00:24:16]OFD Sender: No OFD packet to send [00:24:21]OFD Sender: No OFD packet to send [00:24:26]OFD Sender: No OFD packet to send [00:24:31]OFD Sender: No OFD packet to send [00:24:36]OFD Sender: No OFD packet to send [00:24:41]OFD Sender: No OFD packet to send [00:24:46]OFD Sender: No OFD packet to send [00:24:51]OFD Sender: No OFD packet to send [00:24:56]OFD Sender: No OFD packet to send [00:25:01]OFD Sender: No OFD packet to send [00:25:06]OFD Sender: No OFD packet to send [00:25:11]OFD Sender: No OFD packet to send [00:25:16]OFD Sender: No OFD packet to send [00:25:21]OFD Sender: No OFD packet to send [00:25:26]OFD Sender: No OFD packet to send [00:25:31]OFD Sender: No OFD packet to send [00:25:36]OFD Sender: No OFD packet to send [00:25:41]OFD Sender: No OFD packet to send [00:25:46]OFD Sender: No OFD packet to send [00:25:51]OFD Sender: No OFD packet to send [00:25:56]OFD Sender: No OFD packet to send [00:26:01]OFD Sender: No OFD packet to send [00:26:06]OFD Sender: No OFD packet to send [00:26:11]OFD Sender: No OFD packet to send [00:26:16]OFD Sender: No OFD packet to send [00:26:21]OFD Sender: No OFD packet to send [00:26:26]OFD Sender: No OFD packet to send [00:26:31]OFD Sender: No OFD packet to send [00:26:36]OFD Sender: No OFD packet to send [00:26:41]OFD Sender: No OFD packet to send [00:26:46]OFD Sender: No OFD packet to send [00:26:51]OFD Sender: No OFD packet to send [00:26:56]OFD Sender: No OFD packet to send [00:27:01]OFD Sender: No OFD packet to send [00:27:06]OFD Sender: No OFD packet to send [00:27:11]OFD Sender: No OFD packet to send [00:27:16]OFD Sender: No OFD packet to send [00:27:21]OFD Sender: No OFD packet to send [00:27:26]OFD Sender: No OFD packet to send [00:27:31]OFD Sender: No OFD packet to send [00:27:36]OFD Sender: No OFD packet to send [00:27:41]OFD Sender: No OFD packet to send [00:27:46]OFD Sender: No OFD packet to send [00:27:51]OFD Sender: No OFD packet to send [00:27:56]OFD Sender: No OFD packet to send [00:28:01]OFD Sender: No OFD packet to send [00:28:06]OFD Sender: No OFD packet to send [00:28:11]OFD Sender: No OFD packet to send [00:28:16]OFD Sender: No OFD packet to send [00:28:21]OFD Sender: No OFD packet to send [00:28:26]OFD Sender: No OFD packet to send [00:28:31]OFD Sender: No OFD packet to send [00:28:36]OFD Sender: No OFD packet to send [00:28:41]OFD Sender: No OFD packet to send [00:28:46]OFD Sender: No OFD packet to send [00:28:51]OFD Sender: No OFD packet to send [00:28:56]OFD Sender: No OFD packet to send [00:29:01]OFD Sender: No OFD packet to send [00:29:06]OFD Sender: No OFD packet to send [00:29:11]OFD Sender: No OFD packet to send [00:29:16]OFD Sender: No OFD packet to send [00:29:21]OFD Sender: No OFD packet to send [00:29:26]OFD Sender: No OFD packet to send [00:29:31]OFD Sender: No OFD packet to send [00:29:36]OFD Sender: No OFD packet to send [00:29:41]OFD Sender: No OFD packet to send [00:29:46]OFD Sender: No OFD packet to send [00:29:51]OFD Sender: No OFD packet to send [00:29:56]OFD Sender: No OFD packet to send [00:30:01]OFD Sender: No OFD packet to send [00:30:06]OFD Sender: No OFD packet to send [00:30:11]OFD Sender: No OFD packet to send [00:30:16]OFD Sender: No OFD packet to send [00:30:21]OFD Sender: No OFD packet to send [00:30:26]OFD Sender: No OFD packet to send [00:30:31]OFD Sender: No OFD packet to send [00:30:36]OFD Sender: No OFD packet to send [00:30:41]OFD Sender: No OFD packet to send [00:30:46]OFD Sender: No OFD packet to send [00:30:51]OFD Sender: No OFD packet to send [00:30:56]OFD Sender: No OFD packet to send [00:31:01]OFD Sender: No OFD packet to send [00:31:06]OFD Sender: No OFD packet to send [00:31:11]OFD Sender: No OFD packet to send [00:31:16]OFD Sender: No OFD packet to send [00:31:17]accept exits with 7 [00:31:17]New connection [00:31:17]New thread 3067293028 created [00:31:17]Thread 3067149668 joined [00:31:17]Waiting for new connection... [00:31:17] Sock 7.Parse request [00:31:17]Sock 7.Check first char [00:31:17]Sock 7.First char is OK [00:31:17]request: POST /json_proto HTTP/1.0 [00:31:17]Method: POST [00:31:17]URL: /json_proto [00:31:17]Method is POST - this is cgi request [00:31:17]url: /json_proto [00:31:17]query_string will be loaded in cgi processing [00:31:17]execute_cgi json_proto POST (null) [00:31:17]execute_cgi path=json_proto method=POST [00:31:17]POST find Content-Length [00:31:17]Host: 172.17.60.7:8080 [00:31:17]Content-Length: 215 [00:31:17]Content-Type: application/json [00:31:17] [00:31:17]POST finish read [00:31:17]Found Content-Length = 215 [00:31:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:31:17]execute_script... [00:31:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:31:17]POST & json_proto [00:31:17]process_json_proto [00:31:17]json parsed OK: [00:31:17]protocol is kg_v1.0 [00:31:17]action value=get_value [00:31:17]process_action get_value [00:31:17]cmd_get_value [00:31:17]process_action get_value done [00:31:17]requested_data is exist [00:31:17]produce_requested_data [00:31:17]requested_item kkm.sn is exist - process it [00:31:17]requested_item kkm.ver is exist - process it [00:31:17]requested_item fm.sn is exist - process it [00:31:17]wFMCommunicate request_size=4 [00:31:17]MH_SAM_APDU [00:31:17]CAPDU: 80 11 00 00 [00:31:17]Write to MH i2c: E2 08 00 C9 11 80 11 00 00 00 00 00 00 54 [00:31:17]Write i2c OK [00:31:17]MH_I2C_Read... [00:31:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:31:17]Read from MH i2c: E2 [00:31:17]MH_I2C_Read... [00:31:17]Read from MH i2c: E2 17 00 [00:31:17]MH_I2C_Read... [00:31:17]Read from MH i2c: E2 17 00 C9 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 A7 [00:31:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [00:31:17]wFMCommunicate OK [00:31:17]requested_item fd.num is exist - process it [00:31:17]SAM_PROTO_GetFieldsCounters [00:31:17]wFMCommunicate request_size=4 [00:31:17]MH_SAM_APDU [00:31:17]CAPDU: 80 13 00 00 [00:31:17]Write to MH i2c: E2 08 00 CA 11 80 13 00 00 00 00 00 00 57 [00:31:17]Write i2c OK [00:31:17]MH_I2C_Read... [00:31:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:31:17]Read from MH i2c: E2 [00:31:17]MH_I2C_Read... [00:31:17]Read from MH i2c: E2 62 00 [00:31:17]MH_I2C_Read... [00:31:17]Read from MH i2c: E2 62 00 CA 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C9 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5D 00 00 00 19 04 04 00 00 00 00 00 90 00 DE [00:31:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 C9 CD 00 00 0E 04 04 00 BE 01 00 00 12 04 04 00 5B 00 00 00 5E 04 04 00 5B 00 00 00 57 04 04 00 5D 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:31:17]wFMCommunicate OK [00:31:17]SAM_PROTO_GetFieldsCounters done [00:31:17]requested_item shift.num is exist - process it [00:31:17]requested_item shift.opened is exist - process it [00:31:17]req_shift_opened [00:31:17]FM_GetShiftState [00:31:17]SAM_PROTO_GetShiftState [00:31:17]wFMCommunicate request_size=4 [00:31:17]MH_SAM_APDU [00:31:17]CAPDU: 80 13 01 00 [00:31:17]Write to MH i2c: E2 08 00 CB 11 80 13 01 00 00 00 00 00 59 [00:31:17]Write i2c OK [00:31:17]MH_I2C_Read... [00:31:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:31:17]Read from MH i2c: E2 [00:31:17]MH_I2C_Read... [00:31:17]Read from MH i2c: E2 0E 00 [00:31:17]MH_I2C_Read... [00:31:17]Read from MH i2c: E2 0E 00 CB 11 00 09 00 00 00 00 00 00 00 00 00 00 90 00 64 [00:31:17]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:31:17]wFMCommunicate OK [00:31:17]SAM_PROTO_GetShiftState done [00:31:17]FM_GetShiftState done [00:31:17]req_shift_opened done [00:31:17]requested_item shift.open_date is exist - process it [00:31:17]req_shift_open_date [00:31:17]FM_GetShiftState [00:31:17]SAM_PROTO_GetShiftState [00:31:17]wFMCommunicate request_size=4 [00:31:17]MH_SAM_APDU [00:31:17]CAPDU: 80 13 01 00 [00:31:17]Write to MH i2c: E2 08 00 CC 11 80 13 01 00 00 00 00 00 5A [00:31:17]Write i2c OK [00:31:17]MH_I2C_Read... [00:31:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:31:17]Read from MH i2c: E2 [00:31:17]MH_I2C_Read... [00:31:17]Read from MH i2c: E2 0E 00 [00:31:17]MH_I2C_Read... [00:31:17]Read from MH i2c: E2 0E 00 CC 11 00 09 00 00 00 00 00 00 00 00 00 00 90 00 65 [00:31:17]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:31:17]wFMCommunicate OK [00:31:17]SAM_PROTO_GetShiftState done [00:31:17]FM_GetShiftState done [00:31:17]req_shift_open_date done [00:31:17]produce_requested_data done [00:31:17]produce_requested_data return {"kkm.sn":"0300000007","kkm.ver":"001","fm.sn":"0000000000874715","fd.num":52681,"shift.num":446,"shift.opened":0,"shift.open_date":0} [00:31:17]process_action_free get_value [00:31:17]json_value_free [00:31:17]json_value_free done [00:31:17]process_json_proto returns [00:31:17]Send response to host [00:31:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000007","kkm.ver":"001","fm.sn":"0000000000874715","fd.num":52681,"shift.num":446,"shift.opened":0,"shift.open_date":0}}} [00:31:17]free response buf [00:31:17]execute_script done [00:31:17]execute_script returns [00:31:17]free content buf [00:31:17]Sock 7.Close socket [00:31:17]Sock 7.Thread stoped [00:31:17]accept exits with 9 [00:31:17]New connection [00:31:17]New thread 3067149668 created [00:31:17]Thread 3067293028 joined [00:31:17]Waiting for new connection... [00:31:17] Sock 9.Parse request [00:31:17]Sock 9.Check first char [00:31:17]Sock 9.First char is OK [00:31:17]request: POST /json_proto HTTP/1.0 [00:31:17]Method: POST [00:31:17]URL: /json_proto [00:31:17]Method is POST - this is cgi request [00:31:17]url: /json_proto [00:31:17]query_string will be loaded in cgi processing [00:31:17]execute_cgi json_proto POST (null) [00:31:17]execute_cgi path=json_proto method=POST [00:31:17]POST find Content-Length [00:31:17]Host: 172.17.60.7:8080 [00:31:17]Content-Length: 331 [00:31:17]Content-Type: application/json [00:31:17] [00:31:17]POST finish read [00:31:17]Found Content-Length = 331 [00:31:17]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:31:17]execute_script... [00:31:18]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:31:18]POST & json_proto [00:31:18]process_json_proto [00:31:18]json parsed OK: [00:31:18]protocol is kg_v1.0 [00:31:18]action value=get_value [00:31:18]process_action get_value [00:31:18]cmd_get_value [00:31:18]process_action get_value done [00:31:18]requested_data is exist [00:31:18]produce_requested_data [00:31:18]requested_item fm.sale.total is exist - process it [00:31:18]SAM_PROTO_GetFMData [00:31:18]wFMCommunicate request_size=4 [00:31:18]MH_SAM_APDU [00:31:18]CAPDU: 80 13 03 00 [00:31:18]Write to MH i2c: E2 08 00 CD 11 80 13 03 00 00 00 00 00 5D [00:31:18]Write i2c OK [00:31:18]MH_I2C_Read... [00:31:18]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:31:18]Read from MH i2c: E2 [00:31:18]MH_I2C_Read... [00:31:18]Read from MH i2c: E2 FD 00 [00:31:18]MH_I2C_Read... [00:31:18]Read from MH i2c: E2 FD 00 CD 11 00 C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 46 [00:31:18]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 [00:31:18]wFMCommunicate OK [00:31:18]wFMCommunicate request_size=4 [00:31:18]MH_SAM_APDU [00:31:18]CAPDU: 80 17 00 00 [00:31:18]Write to MH i2c: E2 08 00 CE 11 80 17 00 00 00 00 00 00 5F [00:31:18]Write i2c OK [00:31:18]MH_I2C_Read... [00:31:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:18]Read from MH i2c: E2 [00:31:18]MH_I2C_Read... [00:31:18]Read from MH i2c: E2 FD 00 [00:31:18]MH_I2C_Read... [00:31:18]Read from MH i2c: E2 FD 00 CE 11 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E3 [00:31:18]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:31:19]wFMCommunicate OK [00:31:19]wFMCommunicate request_size=4 [00:31:19]MH_SAM_APDU [00:31:19]CAPDU: 80 17 00 00 [00:31:19]Write to MH i2c: E2 08 00 CF 11 80 17 00 00 00 00 00 00 60 [00:31:19]Write i2c OK [00:31:19]MH_I2C_Read... [00:31:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:19]Read from MH i2c: E2 [00:31:19]MH_I2C_Read... [00:31:19]Read from MH i2c: E2 FD 00 [00:31:19]MH_I2C_Read... [00:31:19]Read from MH i2c: E2 FD 00 CF 11 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 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 90 00 00 [00:31:19]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 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 90 00 [00:31:19]wFMCommunicate OK [00:31:19]wFMCommunicate request_size=4 [00:31:19]MH_SAM_APDU [00:31:19]CAPDU: 80 17 00 00 [00:31:19]Write to MH i2c: E2 08 00 D0 11 80 17 00 00 00 00 00 00 61 [00:31:19]Write i2c OK [00:31:19]MH_I2C_Read... [00:31:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:19]Read from MH i2c: E2 [00:31:19]MH_I2C_Read... [00:31:19]Read from MH i2c: E2 FD 00 [00:31:19]MH_I2C_Read... [00:31:19]Read from MH i2c: E2 FD 00 D0 11 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E6 [00:31:19]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:31:19]wFMCommunicate OK [00:31:19]wFMCommunicate request_size=4 [00:31:19]MH_SAM_APDU [00:31:19]CAPDU: 80 17 00 00 [00:31:19]Write to MH i2c: E2 08 00 D1 11 80 17 00 00 00 00 00 00 62 [00:31:19]Write i2c OK [00:31:19]MH_I2C_Read... [00:31:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:31:19]Read from MH i2c: E2 [00:31:19]MH_I2C_Read... [00:31:19]Read from MH i2c: E2 DE 00 [00:31:19]MH_I2C_Read... [00:31:19]Read from MH i2c: E2 DE 00 D1 11 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 41 [00:31:19]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 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:31:19]wFMCommunicate OK [00:31:19]SAM_PROTO_GetFMData done [00:31:19]requested_item fm.sale_refund.total is exist - process it [00:31:19]requested_item fm.buy.total is exist - process it [00:31:19]requested_item shift.sale.total is exist - process it [00:31:19]SAM_PROTO_GetShiftData [00:31:19]wFMCommunicate request_size=4 [00:31:19]MH_SAM_APDU [00:31:19]CAPDU: 80 13 02 00 [00:31:19]Write to MH i2c: E2 08 00 D2 11 80 13 02 00 00 00 00 00 61 [00:31:19]Write i2c OK [00:31:19]MH_I2C_Read... [00:31:20]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:31:20]Read from MH i2c: E2 [00:31:20]MH_I2C_Read... [00:31:20]Read from MH i2c: E2 FD 00 [00:31:20]MH_I2C_Read... [00:31:20]Read from MH i2c: E2 FD 00 D2 11 00 AE 04 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 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 08 39 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 19 [00:31:20]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 88 59 1E 70 04 03 00 88 7F 07 72 04 03 00 00 DA 16 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 08 39 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BC 44 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:31:20]wFMCommunicate OK [00:31:20]wFMCommunicate request_size=4 [00:31:20]MH_SAM_APDU [00:31:20]CAPDU: 80 17 00 00 [00:31:20]Write to MH i2c: E2 08 00 D3 11 80 17 00 00 00 00 00 00 64 [00:31:20]Write i2c OK [00:31:20]MH_I2C_Read... [00:31:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:20]Read from MH i2c: E2 [00:31:20]MH_I2C_Read... [00:31:20]Read from MH i2c: E2 FD 00 [00:31:20]MH_I2C_Read... [00:31:20]Read from MH i2c: E2 FD 00 D3 11 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 86 [00:31:20]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:31:20]wFMCommunicate OK [00:31:20]wFMCommunicate request_size=4 [00:31:20]MH_SAM_APDU [00:31:20]CAPDU: 80 17 00 00 [00:31:20]Write to MH i2c: E2 08 00 D4 11 80 17 00 00 00 00 00 00 65 [00:31:20]Write i2c OK [00:31:20]MH_I2C_Read... [00:31:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:20]Read from MH i2c: E2 [00:31:20]MH_I2C_Read... [00:31:20]Read from MH i2c: E2 FD 00 [00:31:20]MH_I2C_Read... [00:31:20]Read from MH i2c: E2 FD 00 D4 11 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1C [00:31:20]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:31:20]wFMCommunicate OK [00:31:20]wFMCommunicate request_size=4 [00:31:20]MH_SAM_APDU [00:31:20]CAPDU: 80 17 00 00 [00:31:20]Write to MH i2c: E2 08 00 D5 11 80 17 00 00 00 00 00 00 66 [00:31:20]Write i2c OK [00:31:20]MH_I2C_Read... [00:31:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:21]Read from MH i2c: E2 [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: E2 FD 00 [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: E2 FD 00 D5 11 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 D8 [00:31:21]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:31:21]wFMCommunicate OK [00:31:21]wFMCommunicate request_size=4 [00:31:21]MH_SAM_APDU [00:31:21]CAPDU: 80 17 00 00 [00:31:21]Write to MH i2c: E2 08 00 D6 11 80 17 00 00 00 00 00 00 67 [00:31:21]Write i2c OK [00:31:21]MH_I2C_Read... [00:31:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:31:21]Read from MH i2c: E2 [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: E2 CB 00 [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: E2 CB 00 D6 11 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 50 [00:31:21]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:31:21]wFMCommunicate OK [00:31:21]SAM_PROTO_GetShiftData done [00:31:21]requested_item shift.sale.total_cash is exist - process it [00:31:21]requested_item shift.sale_refund.total is exist - process it [00:31:21]requested_item shift.sale_refund.total_cash is exist - process it [00:31:21]requested_item shift.buy.total is exist - process it [00:31:21]requested_item shift.buy.total_cash is exist - process it [00:31:21]produce_requested_data done [00:31:21]produce_requested_data return {"fm.sale.total":11012631.86,"fm.sale_refund.total":26895.00,"fm.buy.total":0.00,"shift.sale.total":19890.00,"shift.sale.total_cash":4914.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:31:21]process_action_free get_value [00:31:21]json_value_free [00:31:21]json_value_free done [00:31:21]process_json_proto returns [00:31:21]Send response to host [00:31:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11012631.86,"fm.sale_refund.total":26895.00,"fm.buy.total":0.00,"shift.sale.total":19890.00,"shift.sale.total_cash":4914.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:31:21]free response buf [00:31:21]execute_script done [00:31:21]execute_script returns [00:31:21]free content buf [00:31:21]Sock 9.Close socket [00:31:21]Sock 9.Thread stoped [00:31:21]accept exits with 7 [00:31:21]New connection [00:31:21]New thread 3067293028 created [00:31:21]Thread 3067149668 joined [00:31:21]Waiting for new connection... [00:31:21] Sock 7.Parse request [00:31:21]Sock 7.Check first char [00:31:21]Sock 7.First char is OK [00:31:21]request: POST /json_proto HTTP/1.0 [00:31:21]Method: POST [00:31:21]URL: /json_proto [00:31:21]Method is POST - this is cgi request [00:31:21]url: /json_proto [00:31:21]query_string will be loaded in cgi processing [00:31:21]execute_cgi json_proto POST (null) [00:31:21]execute_cgi path=json_proto method=POST [00:31:21]POST find Content-Length [00:31:21]Host: 172.17.60.7:8080 [00:31:21]Content-Length: 283 [00:31:21]Content-Type: application/json [00:31:21] [00:31:21]POST finish read [00:31:21]Found Content-Length = 283 [00:31:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0421\u0430\u0440\u0434\u0430\u0440\u0431\u0435\u043A\u043E\u0432\u0430 \u0417. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:31:21]execute_script... [00:31:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0421\u0430\u0440\u0434\u0430\u0440\u0431\u0435\u043A\u043E\u0432\u0430 \u0417. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:31:21]POST & json_proto [00:31:21]process_json_proto [00:31:21]json parsed OK: [00:31:21]protocol is kg_v1.0 [00:31:21]action value=open_shift [00:31:21]process_action open_shift [00:31:21]cmd_open_shift [00:31:21]MH_GetDate [00:31:21]Write to MH i2c: F0 00 00 D7 11 D7 [00:31:21]Write i2c OK [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: F0 [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: F0 09 00 [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: F0 09 00 D7 11 00 DC 57 B9 66 63 9B 67 64 FB [00:31:21]GetLastDocTimeStamp 1723422228 [00:31:21]current date 1723422684 [00:31:21]FM_GetShiftState [00:31:21]SAM_PROTO_GetShiftState [00:31:21]wFMCommunicate request_size=4 [00:31:21]MH_SAM_APDU [00:31:21]CAPDU: 80 13 01 00 [00:31:21]Write to MH i2c: E2 08 00 D8 11 80 13 01 00 00 00 00 00 66 [00:31:21]Write i2c OK [00:31:21]MH_I2C_Read... [00:31:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:31:21]Read from MH i2c: E2 [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: E2 0E 00 [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: E2 0E 00 D8 11 00 09 00 00 00 00 00 00 00 00 00 00 90 00 71 [00:31:21]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:31:21]wFMCommunicate OK [00:31:21]SAM_PROTO_GetShiftState done [00:31:21]FM_GetShiftState done [00:31:21]KKMCreateOpenShiftDocument [00:31:21]Load OK [00:31:21]Malloc new data [00:31:21]MH_GetDate [00:31:21]Write to MH i2c: F0 00 00 D9 11 D9 [00:31:21]Write i2c OK [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: F0 [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: F0 09 00 [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: F0 09 00 D9 11 00 DC 57 B9 66 63 9B 67 64 FD [00:31:21]Malloc new data [00:31:21]KKMCreateOpenShiftDocument OK [00:31:21]KKMSetOpenShiftData OK [00:31:21]ProcessDocumentItem done err = 0, tmpTLVsize=230 [00:31:21]tlvbuf is 012CAE70 [00:31:21]KKMLoadAndSignOpenShiftData [00:31:21]SAM_PROTO_ProcessDocument [00:31:21]wFMCommunicate request_size=9 [00:31:21]MH_SAM_APDU [00:31:21]CAPDU: 80 15 01 00 04 02 00 E6 00 [00:31:21]Write to MH i2c: E2 0C 00 DA 11 80 15 01 00 04 00 02 00 E6 00 00 00 5A [00:31:21]Write i2c OK [00:31:21]MH_I2C_Read... [00:31:21]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:31:21]Read from MH i2c: E2 [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: E2 03 00 [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: E2 03 00 DA 11 00 90 00 5F [00:31:21]RAPDU: 90 00 [00:31:21]wFMCommunicate OK [00:31:21]wFMCommunicate request_size=23 [00:31:21]MH_SAM_APDU [00:31:21]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:31:21]Write to MH i2c: E2 1A 00 DB 11 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 61 [00:31:21]Write i2c OK [00:31:21]MH_I2C_Read... [00:31:21]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:31:21]Read from MH i2c: E2 [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: E2 03 00 [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: E2 03 00 DB 11 00 90 00 60 [00:31:21]RAPDU: 90 00 [00:31:21]wFMCommunicate OK [00:31:21]wFMCommunicate request_size=38 [00:31:21]MH_SAM_APDU [00:31:21]CAPDU: 80 15 02 00 21 FD 03 1D 00 D0 A1 D0 B0 D1 80 D0 B4 D0 B0 D1 80 D0 B1 D0 B5 D0 BA D0 BE D0 B2 D0 B0 20 D0 97 2E 20 [00:31:21]Write to MH i2c: E2 29 00 DC 11 80 15 02 00 21 00 FD 03 1D 00 D0 A1 D0 B0 D1 80 D0 B4 D0 B0 D1 80 D0 B1 D0 B5 D0 BA D0 BE D0 B2 D0 B0 20 D0 97 2E 20 00 00 58 [00:31:21]Write i2c OK [00:31:21]MH_I2C_Read... [00:31:21]OFD Sender: No OFD packet to send [00:31:21]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:31:21]Read from MH i2c: E2 [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: E2 03 00 [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: E2 03 00 DC 11 00 90 00 61 [00:31:21]RAPDU: 90 00 [00:31:21]wFMCommunicate OK [00:31:21]wFMCommunicate request_size=111 [00:31:21]MH_SAM_APDU [00:31:21]CAPDU: 80 15 02 00 6A F1 03 66 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9C D0 B0 D0 B5 D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 9C D0 BE D0 BB D0 BE D0 B4 D0 B0 D1 8F 20 D0 93 D0 B2 D0 B0 D1 80 D0 B4 D0 B8 D1 8F 2F D0 BE D0 B1 D1 8A D0 B5 D0 B7 D0 B4 D0 BD D0 B0 D1 8F 2C 20 34 32 2E 39 34 36 33 30 33 2C 20 37 34 2E 35 36 37 35 35 33 [00:31:21]Write to MH i2c: E2 72 00 DD 11 80 15 02 00 6A 00 F1 03 66 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9C D0 B0 D0 B5 D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 9C D0 BE D0 BB D0 BE D0 B4 D0 B0 D1 8F 20 D0 93 D0 B2 D0 B0 D1 80 D0 B4 D0 B8 D1 8F 2F D0 BE D0 B1 D1 8A D0 B5 D0 B7 D0 B4 D0 BD D0 B0 D1 8F 2C 20 34 32 2E 39 34 36 33 30 33 2C 20 37 34 2E 35 36 37 35 35 33 00 00 B4 [00:31:21]Write i2c OK [00:31:21]MH_I2C_Read... [00:31:21]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:31:21]Read from MH i2c: E2 [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: E2 03 00 [00:31:21]MH_I2C_Read... [00:31:21]Read from MH i2c: E2 03 00 DD 11 00 90 00 62 [00:31:21]RAPDU: 90 00 [00:31:21]wFMCommunicate OK [00:31:21]wFMCommunicate request_size=50 [00:31:21]MH_SAM_APDU [00:31:21]CAPDU: 80 15 02 00 2D A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 35 34 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:31:21]Write to MH i2c: E2 35 00 DE 11 80 15 02 00 2D 00 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 35 34 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 E7 [00:31:21]Write i2c OK [00:31:21]MH_I2C_Read... [00:31:22]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:31:22]Read from MH i2c: E2 [00:31:22]MH_I2C_Read... [00:31:22]Read from MH i2c: E2 03 00 [00:31:22]MH_I2C_Read... [00:31:22]Read from MH i2c: E2 03 00 DE 11 00 90 00 63 [00:31:22]RAPDU: 90 00 [00:31:22]wFMCommunicate OK [00:31:22]wFMCommunicate request_size=13 [00:31:22]MH_SAM_APDU [00:31:22]CAPDU: 80 15 02 00 08 F4 03 04 00 DC 57 B9 66 [00:31:22]Write to MH i2c: E2 10 00 DF 11 80 15 02 00 08 00 F4 03 04 00 DC 57 B9 66 00 00 CD [00:31:22]Write i2c OK [00:31:22]MH_I2C_Read... [00:31:22]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:31:22]Read from MH i2c: E2 [00:31:22]MH_I2C_Read... [00:31:22]Read from MH i2c: E2 03 00 [00:31:22]MH_I2C_Read... [00:31:22]Read from MH i2c: E2 03 00 DF 11 00 90 00 64 [00:31:22]RAPDU: 90 00 [00:31:22]wFMCommunicate OK [00:31:22]wFMCommunicate request_size=25 [00:31:22]MH_SAM_APDU [00:31:22]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 [00:31:22]Write to MH i2c: E2 1C 00 E0 11 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 00 00 D2 [00:31:22]Write i2c OK [00:31:22]MH_I2C_Read... [00:31:22]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:31:22]Read from MH i2c: E2 [00:31:22]MH_I2C_Read... [00:31:22]Read from MH i2c: E2 03 00 [00:31:22]MH_I2C_Read... [00:31:22]Read from MH i2c: E2 03 00 E0 11 00 90 00 65 [00:31:22]RAPDU: 90 00 [00:31:22]wFMCommunicate OK [00:31:22]wFMCommunicate request_size=4 [00:31:22]MH_SAM_APDU [00:31:22]CAPDU: 80 15 03 00 [00:31:22]Write to MH i2c: E2 08 00 E1 11 80 15 03 00 00 00 00 00 73 [00:31:22]Write i2c OK [00:31:22]MH_I2C_Read... [00:31:22]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:31:22]Read from MH i2c: E2 [00:31:22]MH_I2C_Read... [00:31:22]Read from MH i2c: E2 38 00 [00:31:22]MH_I2C_Read... [00:31:22]Read from MH i2c: E2 38 00 E1 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 34 37 31 35 10 04 04 00 CA CD 00 00 0E 04 04 00 BF 01 00 00 35 04 06 00 FB 76 88 C9 25 13 90 00 90 [00:31:22]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CA CD 00 00 0E 04 04 00 BF 01 00 00 35 04 06 00 FB 76 88 C9 25 13 90 00 [00:31:22]wFMCommunicate OK [00:31:22]SAM_PROTO_ProcessDocument answer len = 51 [00:31:22]SAM_PROTO_ProcessDocument done [00:31:22]SetTLVBufToDocument [00:31:22]Processing tag 1209 (04B9) [00:31:22]Malloc new data [00:31:22]Processing tag 1041 (0411) [00:31:22]Processing tag 1040 (0410) [00:31:22]Malloc new data [00:31:22]Processing tag 1038 (040E) [00:31:22]Malloc new data [00:31:22]Processing tag 1077 (0435) [00:31:22]Malloc new data [00:31:22]SetTLVBufToDocument err=0 [00:31:22]KKMLoadAndSignOpenShiftData store KKM data [00:31:22]KKMLoadAndSignOpenShiftData err=0 [00:31:22]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Сардарбекова З. Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 Место: АЗС № 54 "Партнер Нефть" 12.08.2024 00:31 Смена: 447 РНМ: 0000000000090834 ЗНМ: 0300000007 ФД: 52682 ФМ: 0000000000874715 ФПД: 276486519596307 [00:31:22]StoreToDocumentArchive [00:31:22]shift 447 fd 52682 [00:31:22]Create dir for shift 0447 [00:31:22]save to /storage/0447/doc_00052682 [00:31:22]save last doc name /storage/0447/doc_00052682 to /storage/kkm_last_doc_name [00:31:22]save OK [00:31:22]Clear old archive folders... [00:31:22]Remove dir /storage/0446 [00:31:22]opendir ok [00:31:22]file . [00:31:22]file .. [00:31:22]file doc_00052589 [00:31:22]remove file /storage/0446/doc_00052589 [00:31:22]file doc_00052590 [00:31:22]remove file /storage/0446/doc_00052590 [00:31:22]file doc_00052591 [00:31:22]remove file /storage/0446/doc_00052591 [00:31:22]file doc_00052592 [00:31:22]remove file /storage/0446/doc_00052592 [00:31:22]file doc_00052593 [00:31:22]remove file /storage/0446/doc_00052593 [00:31:22]file doc_00052594 [00:31:22]remove file /storage/0446/doc_00052594 [00:31:22]file doc_00052595 [00:31:22]remove file /storage/0446/doc_00052595 [00:31:22]file doc_00052596 [00:31:22]remove file /storage/0446/doc_00052596 [00:31:22]file doc_00052597 [00:31:22]remove file /storage/0446/doc_00052597 [00:31:22]file doc_00052598 [00:31:22]remove file /storage/0446/doc_00052598 [00:31:22]file doc_00052599 [00:31:22]remove file /storage/0446/doc_00052599 [00:31:22]file doc_00052600 [00:31:22]remove file /storage/0446/doc_00052600 [00:31:22]file doc_00052601 [00:31:22]remove file /storage/0446/doc_00052601 [00:31:22]file doc_00052602 [00:31:22]remove file /storage/0446/doc_00052602 [00:31:22]file doc_00052603 [00:31:22]remove file /storage/0446/doc_00052603 [00:31:22]file doc_00052604 [00:31:22]remove file /storage/0446/doc_00052604 [00:31:22]file doc_00052605 [00:31:22]remove file /storage/0446/doc_00052605 [00:31:22]file doc_00052606 [00:31:22]remove file /storage/0446/doc_00052606 [00:31:22]file doc_00052607 [00:31:22]remove file /storage/0446/doc_00052607 [00:31:22]file doc_00052608 [00:31:22]remove file /storage/0446/doc_00052608 [00:31:22]file doc_00052609 [00:31:22]remove file /storage/0446/doc_00052609 [00:31:22]file doc_00052610 [00:31:22]remove file /storage/0446/doc_00052610 [00:31:22]file doc_00052611 [00:31:22]remove file /storage/0446/doc_00052611 [00:31:22]file doc_00052612 [00:31:22]remove file /storage/0446/doc_00052612 [00:31:22]file doc_00052613 [00:31:22]remove file /storage/0446/doc_00052613 [00:31:22]file doc_00052614 [00:31:22]remove file /storage/0446/doc_00052614 [00:31:22]file doc_00052615 [00:31:22]remove file /storage/0446/doc_00052615 [00:31:22]file doc_00052616 [00:31:22]remove file /storage/0446/doc_00052616 [00:31:22]file doc_00052617 [00:31:22]remove file /storage/0446/doc_00052617 [00:31:22]file doc_00052618 [00:31:22]remove file /storage/0446/doc_00052618 [00:31:22]file doc_00052619 [00:31:22]remove file /storage/0446/doc_00052619 [00:31:22]file doc_00052620 [00:31:22]remove file /storage/0446/doc_00052620 [00:31:22]file doc_00052621 [00:31:22]remove file /storage/0446/doc_00052621 [00:31:22]file doc_00052622 [00:31:22]remove file /storage/0446/doc_00052622 [00:31:22]file doc_00052623 [00:31:22]remove file /storage/0446/doc_00052623 [00:31:22]file doc_00052624 [00:31:22]remove file /storage/0446/doc_00052624 [00:31:22]file doc_00052625 [00:31:22]remove file /storage/0446/doc_00052625 [00:31:22]file doc_00052626 [00:31:22]remove file /storage/0446/doc_00052626 [00:31:22]file doc_00052627 [00:31:22]remove file /storage/0446/doc_00052627 [00:31:22]file doc_00052628 [00:31:22]remove file /storage/0446/doc_00052628 [00:31:22]file doc_00052629 [00:31:22]remove file /storage/0446/doc_00052629 [00:31:22]file doc_00052630 [00:31:22]remove file /storage/0446/doc_00052630 [00:31:22]file doc_00052631 [00:31:22]remove file /storage/0446/doc_00052631 [00:31:22]file doc_00052632 [00:31:22]remove file /storage/0446/doc_00052632 [00:31:22]file doc_00052633 [00:31:22]remove file /storage/0446/doc_00052633 [00:31:22]file doc_00052634 [00:31:22]remove file /storage/0446/doc_00052634 [00:31:22]file doc_00052635 [00:31:22]remove file /storage/0446/doc_00052635 [00:31:22]file doc_00052636 [00:31:22]remove file /storage/0446/doc_00052636 [00:31:22]file doc_00052637 [00:31:22]remove file /storage/0446/doc_00052637 [00:31:22]file doc_00052638 [00:31:22]remove file /storage/0446/doc_00052638 [00:31:22]file doc_00052639 [00:31:22]remove file /storage/0446/doc_00052639 [00:31:22]file doc_00052640 [00:31:22]remove file /storage/0446/doc_00052640 [00:31:22]file doc_00052641 [00:31:22]remove file /storage/0446/doc_00052641 [00:31:22]file doc_00052642 [00:31:22]remove file /storage/0446/doc_00052642 [00:31:22]file doc_00052643 [00:31:22]remove file /storage/0446/doc_00052643 [00:31:22]file doc_00052644 [00:31:22]remove file /storage/0446/doc_00052644 [00:31:22]file doc_00052645 [00:31:22]remove file /storage/0446/doc_00052645 [00:31:22]file doc_00052646 [00:31:22]remove file /storage/0446/doc_00052646 [00:31:22]file doc_00052647 [00:31:22]remove file /storage/0446/doc_00052647 [00:31:22]file doc_00052648 [00:31:22]remove file /storage/0446/doc_00052648 [00:31:22]file doc_00052649 [00:31:22]remove file /storage/0446/doc_00052649 [00:31:22]file doc_00052650 [00:31:22]remove file /storage/0446/doc_00052650 [00:31:22]file doc_00052651 [00:31:22]remove file /storage/0446/doc_00052651 [00:31:22]file doc_00052652 [00:31:22]remove file /storage/0446/doc_00052652 [00:31:22]file doc_00052653 [00:31:22]remove file /storage/0446/doc_00052653 [00:31:22]file doc_00052654 [00:31:22]remove file /storage/0446/doc_00052654 [00:31:22]file doc_00052655 [00:31:22]remove file /storage/0446/doc_00052655 [00:31:22]file doc_00052656 [00:31:22]remove file /storage/0446/doc_00052656 [00:31:22]file doc_00052657 [00:31:22]remove file /storage/0446/doc_00052657 [00:31:22]file doc_00052658 [00:31:22]remove file /storage/0446/doc_00052658 [00:31:22]file doc_00052659 [00:31:22]remove file /storage/0446/doc_00052659 [00:31:22]file doc_00052660 [00:31:22]remove file /storage/0446/doc_00052660 [00:31:22]file doc_00052661 [00:31:22]remove file /storage/0446/doc_00052661 [00:31:22]file doc_00052662 [00:31:22]remove file /storage/0446/doc_00052662 [00:31:22]file doc_00052663 [00:31:22]remove file /storage/0446/doc_00052663 [00:31:22]file doc_00052664 [00:31:22]remove file /storage/0446/doc_00052664 [00:31:22]file doc_00052665 [00:31:22]remove file /storage/0446/doc_00052665 [00:31:22]file doc_00052666 [00:31:22]remove file /storage/0446/doc_00052666 [00:31:22]file doc_00052667 [00:31:22]remove file /storage/0446/doc_00052667 [00:31:22]file doc_00052668 [00:31:22]remove file /storage/0446/doc_00052668 [00:31:22]file doc_00052669 [00:31:22]remove file /storage/0446/doc_00052669 [00:31:22]file doc_00052670 [00:31:22]remove file /storage/0446/doc_00052670 [00:31:22]file doc_00052671 [00:31:22]remove file /storage/0446/doc_00052671 [00:31:22]file doc_00052672 [00:31:22]remove file /storage/0446/doc_00052672 [00:31:22]file doc_00052673 [00:31:22]remove file /storage/0446/doc_00052673 [00:31:22]file doc_00052674 [00:31:22]remove file /storage/0446/doc_00052674 [00:31:22]file doc_00052675 [00:31:22]remove file /storage/0446/doc_00052675 [00:31:22]file doc_00052676 [00:31:22]remove file /storage/0446/doc_00052676 [00:31:22]file doc_00052677 [00:31:22]remove file /storage/0446/doc_00052677 [00:31:22]file doc_00052678 [00:31:22]remove file /storage/0446/doc_00052678 [00:31:22]file doc_00052679 [00:31:22]remove file /storage/0446/doc_00052679 [00:31:22]file doc_00052680 [00:31:22]remove file /storage/0446/doc_00052680 [00:31:22]file doc_00052681 [00:31:22]remove file /storage/0446/doc_00052681 [00:31:22]remove dir /storage/0446 [00:31:22]ProcessDocumentItem done err = 0, tmpTLVsize=281 [00:31:22]tlvbuf is 012DB8A0 [00:31:22]SAM_PROTO_ClearQueue [00:31:22]wFMCommunicate request_size=4 [00:31:22]MH_SAM_APDU [00:31:22]CAPDU: 80 09 00 00 [00:31:22]Write to MH i2c: E2 08 00 E2 11 80 09 00 00 00 00 00 00 65 [00:31:22]Write i2c OK [00:31:22]MH_I2C_Read... [00:31:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:31:23]Read from MH i2c: E2 [00:31:23]MH_I2C_Read... [00:31:23]Read from MH i2c: E2 03 00 [00:31:23]MH_I2C_Read... [00:31:23]Read from MH i2c: E2 03 00 E2 11 00 90 00 67 [00:31:23]RAPDU: 90 00 [00:31:23]wFMCommunicate OK [00:31:23]SAM_PROTO_ClearQueue done [00:31:23]KKMCreateOFDPacket [00:31:23]OFDProtocolAddRootSTLVToBuf [00:31:23]FM_MakeSignedData [00:31:23]FM_MakeSignedData [00:31:23]SAM_PROTO_SignData [00:31:23]wFMCommunicate request_size=4 [00:31:23]MH_SAM_APDU [00:31:23]CAPDU: 80 0D 01 02 [00:31:23]Write to MH i2c: E2 08 00 E3 11 80 0D 01 02 00 00 00 00 6D [00:31:23]Write i2c OK [00:31:23]MH_I2C_Read... [00:31:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:31:23]Read from MH i2c: E2 [00:31:23]MH_I2C_Read... [00:31:23]Read from MH i2c: E2 03 00 [00:31:23]MH_I2C_Read... [00:31:23]Read from MH i2c: E2 03 00 E3 11 00 90 00 68 [00:31:23]RAPDU: 90 00 [00:31:23]wFMCommunicate OK [00:31:23]wFMCommunicate request_size=255 [00:31:23]MH_SAM_APDU [00:31:23]CAPDU: 80 0D 02 02 FA 02 00 19 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 A1 D0 B0 D1 80 D0 B4 D0 B0 D1 80 D0 B1 D0 B5 D0 BA D0 BE D0 B2 D0 B0 20 D0 97 2E 20 F1 03 66 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9C D0 B0 D0 B5 D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 9C D0 BE D0 BB D0 BE D0 B4 D0 B0 D1 8F 20 D0 93 D0 B2 D0 B0 D1 80 D0 B4 D0 B8 D1 8F 2F D0 BE D0 B1 D1 8A D0 B5 D0 B7 D0 B4 D0 BD D0 B0 D1 8F 2C 20 34 32 2E 39 34 36 33 30 33 2C 20 37 34 2E 35 36 37 35 35 33 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 35 34 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 DC 57 B9 66 0E 04 04 00 BF 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 [00:31:23]Write to MH i2c: E2 02 01 E4 11 80 0D 02 02 FA 00 02 00 19 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 A1 D0 B0 D1 80 D0 B4 D0 B0 D1 80 D0 B1 D0 B5 D0 BA D0 BE D0 B2 D0 B0 20 D0 97 2E 20 F1 03 66 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9C D0 B0 D0 B5 D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 9C D0 BE D0 BB D0 BE D0 B4 D0 B0 D1 8F 20 D0 93 D0 B2 D0 B0 D1 80 D0 B4 D0 B8 D1 8F 2F D0 BE D0 B1 D1 8A D0 B5 D0 B7 D0 B4 D0 BD D0 B0 D1 8F 2C 20 34 32 2E 39 34 36 33 30 33 2C 20 37 34 2E 35 36 37 35 35 33 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 35 34 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 DC 57 B9 66 0E 04 04 00 BF 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 00 BD [00:31:23]Write i2c OK [00:31:23]MH_I2C_Read... [00:31:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:31:23]Read from MH i2c: E2 [00:31:23]MH_I2C_Read... [00:31:23]Read from MH i2c: E2 03 00 [00:31:23]MH_I2C_Read... [00:31:23]Read from MH i2c: E2 03 00 E4 11 00 90 00 69 [00:31:23]RAPDU: 90 00 [00:31:23]wFMCommunicate OK [00:31:23]wFMCommunicate request_size=40 [00:31:23]MH_SAM_APDU [00:31:23]CAPDU: 80 0D 02 02 23 00 CA CD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 35 04 06 00 FB 76 88 C9 25 13 [00:31:23]Write to MH i2c: E2 2B 00 E5 11 80 0D 02 02 23 00 00 CA CD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 35 04 06 00 FB 76 88 C9 25 13 00 00 CB [00:31:23]Write i2c OK [00:31:23]MH_I2C_Read... [00:31:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:31:23]Read from MH i2c: E2 [00:31:23]MH_I2C_Read... [00:31:23]Read from MH i2c: E2 03 00 [00:31:23]MH_I2C_Read... [00:31:23]Read from MH i2c: E2 03 00 E5 11 00 90 00 6A [00:31:23]RAPDU: 90 00 [00:31:23]wFMCommunicate OK [00:31:23]wFMCommunicate request_size=4 [00:31:23]MH_SAM_APDU [00:31:23]CAPDU: 80 0D 03 02 [00:31:23]Write to MH i2c: E2 08 00 E6 11 80 0D 03 02 00 00 00 00 72 [00:31:23]Write i2c OK [00:31:23]MH_I2C_Read... [00:31:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:31:23]Read from MH i2c: E2 [00:31:23]MH_I2C_Read... [00:31:23]Read from MH i2c: E2 0B 00 [00:31:23]MH_I2C_Read... [00:31:23]Read from MH i2c: E2 0B 00 E6 11 00 96 2E 7D B5 28 78 76 B7 90 00 36 [00:31:23]RAPDU: 96 2E 7D B5 28 78 76 B7 90 00 [00:31:23]wFMCommunicate OK [00:31:23]SAM_PROTO_SignData done [00:31:23]FM_MakeSignedData done [00:31:23]CreateOFDProtocolMessage [00:31:23]wFMCommunicate request_size=4 [00:31:23]MH_SAM_APDU [00:31:23]CAPDU: 80 11 00 00 [00:31:23]Write to MH i2c: E2 08 00 E7 11 80 11 00 00 00 00 00 00 72 [00:31:23]Write i2c OK [00:31:23]MH_I2C_Read... [00:31:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:31:23]Read from MH i2c: E2 [00:31:23]MH_I2C_Read... [00:31:24]Read from MH i2c: E2 17 00 [00:31:24]MH_I2C_Read... [00:31:24]Read from MH i2c: E2 17 00 E7 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 C5 [00:31:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [00:31:24]wFMCommunicate OK [00:31:24]CreateOFDProtocolMessage done [00:31:24]OFDSenderStorePacket 52682 [00:31:24]StoreOFDPacket docnum=52682 [00:31:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2D 01 00 00 2F 44 25 01 57 58 5A 02 01 00 02 00 19 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 A1 D0 B0 D1 80 D0 B4 D0 B0 D1 80 D0 B1 D0 B5 D0 BA D0 BE D0 B2 D0 B0 20 D0 97 2E 20 F1 03 66 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9C D0 B0 D0 B5 D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 9C D0 BE D0 BB D0 BE D0 B4 D0 B0 D1 8F 20 D0 93 D0 B2 D0 B0 D1 80 D0 B4 D0 B8 D1 8F 2F D0 BE D0 B1 D1 8A D0 B5 D0 B7 D0 B4 D0 BD D0 B0 D1 8F 2C 20 34 32 2E 39 34 36 33 30 33 2C 20 37 34 2E 35 36 37 35 35 33 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 35 34 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 DC 57 B9 66 0E 04 04 00 BF 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 CA CD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 35 04 06 00 FB 76 88 C9 25 13 96 2E 7D B5 28 78 76 B7 [00:31:24]CheckFolder [00:31:24]dirname=/storage/ofd_packets [00:31:24]CheckFolder done [00:31:24]ProducePacketName [00:31:24]name=ofd_packets/00052682 [00:31:24]NVStorageSaveData ofd_packets/00052682 [00:31:24]File name is /storage/ofd_packets/00052682 [00:31:24]Write 331 bytes [00:31:24]NVStorageSaveData done [00:31:24]OFDSenderStorePacket done [00:31:24]KKMCreateOFDPacket done [00:31:24]NVStorageSaveData kkm_last_timestamp [00:31:24]File name is /storage/kkm_last_timestamp [00:31:24]Write 4 bytes [00:31:24]NVStorageSaveData done [00:31:24]ExternCall_PrintAddStr [00:31:24]wPrintStart [00:31:24]Write to MH i2c: 01 00 00 E8 11 F9 [00:31:24]Write i2c OK [00:31:24]MH_I2C_Read... [00:31:24]Read from MH i2c: 01 [00:31:24]MH_I2C_Read... [00:31:24]Read from MH i2c: 01 07 00 [00:31:24]MH_I2C_Read... [00:31:24]Read from MH i2c: 01 07 00 E8 11 00 00 00 00 00 FF 0F 0E [00:31:24]RasterBufferAndPrint [00:31:24]line Отчет об открытии смены [00:31:24]line ФФД: 1.0 [00:31:24]line ИНН: 02508201610067 [00:31:24]line Кассир: Сардарбекова З. [00:31:24]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [00:31:24]line Место: АЗС № 54 "Партнер Нефть" [00:31:24]line 12.08.2024 00:31 [00:31:24]line Смена: 447 [00:31:24]line РНМ: 0000000000090834 [00:31:24]line ЗНМ: 0300000007 [00:31:24]line ФД: 52682 [00:31:24]line ФМ: 0000000000874715 [00:31:24]line ФПД: 276486519596307 [00:31:24]written 0, free lines is 4095 [00:31:24]OFD Sender: Processing packet 52682 [packets to send 55, broken 54] [00:31:24]ProducePacketName [00:31:24]name=ofd_packets/00052682 [00:31:24]OFD Sender: To server: pG, [00:31:24]CommunicateWithHost lk.salyk.kg:30040 [00:31:24]ConnectInit lk.salyk.kg [00:31:24]Connected sock=10 [00:31:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2D 01 00 00 2F 44 25 01 57 58 5A 02 01 00 02 00 19 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1D 00 D0 A1 D0 B0 D1 80 D0 B4 D0 B0 D1 80 D0 B1 D0 B5 D0 BA D0 BE D0 B2 D0 B0 20 D0 97 2E 20 F1 03 66 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9C D0 B0 D0 B5 D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 9C D0 BE D0 BB D0 BE D0 B4 D0 B0 D1 8F 20 D0 93 D0 B2 D0 B0 D1 80 D0 B4 D0 B8 D1 8F 2F D0 BE D0 B1 D1 8A D0 B5 D0 B7 D0 B4 D0 BD D0 B0 D1 8F 2C 20 34 32 2E 39 34 36 33 30 33 2C 20 37 34 2E 35 36 37 35 35 33 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 35 34 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 DC 57 B9 66 0E 04 04 00 BF 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 Write to MH i2c: 30 01 30 00 30 00 39 FA 30 11 38 0B 33 [00:31:24]34 10 04 Write i2c OK [00:31:24]04 MH_I2C_Read... [00:31:24]00 Read from MH i2c: CA 01 CD [00:31:24]00 MH_I2C_Read... [00:31:24]00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 35 04 06 Read from MH i2c: 00 01 FB 07 76 00 88 [00:31:24]C9 MH_I2C_Read... [00:31:24]25 13 Read from MH i2c: 96 01 2E 07 7D 00 B5 FA 28 11 78 00 76 00 B7 00 [00:31:24]00 00 03 0F 24 [00:31:24]RasterBufferAndPrint [00:31:24]line [00:31:24]line [00:31:24]line [00:31:24]line [00:31:24]line [00:31:24]written 0, free lines is 3876 [00:31:24]MH_Cut [00:31:24]Write to MH i2c: D1 01 00 01 12 01 E5 [00:31:24]Write i2c OK [00:31:24]MH_I2C_Read... [00:31:24]Read from MH i2c: D1 [00:31:24]MH_I2C_Read... [00:31:24]Read from MH i2c: D1 01 00 [00:31:24]MH_I2C_Read... [00:31:24]Read from MH i2c: D1 01 00 01 12 00 E4 [00:31:24]Write to MH i2c: 01 00 00 02 12 14 [00:31:24]Write i2c OK [00:31:24]MH_I2C_Read... [00:31:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 DD E9 47 00 F0 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 34 37 31 35 10 04 04 00 CA CD 00 00 F4 03 04 00 77 FF B8 66 B6 04 01 00 00 6E B1 E7 D9 8E 0C AE 46 [00:31:24]CommunicateWithHost err = 0 [00:31:24]CheckOFDResponse [00:31:24]1017 (14) - 77093643461234 [00:31:24]1041 (16) - 0000000000874715 [00:31:24]1040 (4) - 52682 [00:31:24]1012 (4) - 11.08.2024 18:14 [00:31:24]1206 (1) - 0 [00:31:24]OFD Sender: Remove packet 52682 [00:31:24]ProducePacketName [00:31:24]name=ofd_packets/00052682 [00:31:24]NVStorageDeleteData [00:31:24]*** Cut start [00:31:24]*** Purtial cut [00:31:24]*** Stage 1: CUTSNS_PIN = 1 [00:31:25]Read from MH i2c: 01 [00:31:25]MH_I2C_Read... [00:31:25]*** Stop cut motor [00:31:25]*** Cut end [00:31:25]Read from MH i2c: 01 07 00 [00:31:25]MH_I2C_Read... [00:31:25]Read from MH i2c: 01 07 00 02 12 00 00 00 00 00 FF 0F 29 [00:31:25]process_action open_shift done [00:31:25]requested_data is exist [00:31:25]produce_requested_data [00:31:25]requested_item fd.num is exist - process it [00:31:25]SAM_PROTO_GetFieldsCounters [00:31:25]wFMCommunicate request_size=4 [00:31:25]MH_SAM_APDU [00:31:25]CAPDU: 80 13 00 00 [00:31:25]Write to MH i2c: E2 08 00 03 12 80 13 00 00 00 00 00 00 91 [00:31:25]Write i2c OK [00:31:25]MH_I2C_Read... [00:31:25]OFD Sender: No OFD packet to send [00:31:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:31:25]Read from MH i2c: E2 [00:31:25]MH_I2C_Read... [00:31:25]Read from MH i2c: E2 62 00 [00:31:25]MH_I2C_Read... [00:31:25]Read from MH i2c: E2 62 00 03 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 CA CD 00 00 0E 04 04 00 BF 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 08 [00:31:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 CA CD 00 00 0E 04 04 00 BF 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:31:25]wFMCommunicate OK [00:31:25]SAM_PROTO_GetFieldsCounters done [00:31:25]requested_item shift.num is exist - process it [00:31:25]requested_item shift.opened is exist - process it [00:31:25]req_shift_opened [00:31:25]FM_GetShiftState [00:31:25]SAM_PROTO_GetShiftState [00:31:25]wFMCommunicate request_size=4 [00:31:25]MH_SAM_APDU [00:31:25]CAPDU: 80 13 01 00 [00:31:25]Write to MH i2c: E2 08 00 04 12 80 13 01 00 00 00 00 00 93 [00:31:25]Write i2c OK [00:31:25]MH_I2C_Read... [00:31:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:31:25]Read from MH i2c: E2 [00:31:25]MH_I2C_Read... [00:31:25]Read from MH i2c: E2 0E 00 [00:31:25]MH_I2C_Read... [00:31:25]Read from MH i2c: E2 0E 00 04 12 00 09 00 01 DC 57 B9 66 00 00 00 00 90 00 F1 [00:31:25]RAPDU: 09 00 01 DC 57 B9 66 00 00 00 00 90 00 [00:31:25]wFMCommunicate OK [00:31:25]SAM_PROTO_GetShiftState done [00:31:25]FM_GetShiftState done [00:31:25]req_shift_opened done [00:31:25]requested_item shift.open_date is exist - process it [00:31:25]req_shift_open_date [00:31:25]req_shift_open_date done [00:31:25]produce_requested_data done [00:31:25]produce_requested_data return {"fd.num":52682,"shift.num":447,"shift.opened":1,"shift.open_date":1723422684} [00:31:25]process_action_free open_shift [00:31:25]json_value_free [00:31:25]json_value_free done [00:31:25]process_json_proto returns [00:31:25]Send response to host [00:31:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":52682,"shift.num":447,"shift.opened":1,"shift.open_date":1723422684}}} [00:31:25]free response buf [00:31:25]execute_script done [00:31:25]execute_script returns [00:31:25]free content buf [00:31:25]Sock 7.Close socket [00:31:25]Sock 7.Thread stoped [00:31:25]accept exits with 9 [00:31:25]New connection [00:31:25]New thread 3067149668 created [00:31:25]Thread 3067293028 joined [00:31:25]Waiting for new connection... [00:31:25] Sock 9.Parse request [00:31:25]Sock 9.Check first char [00:31:25]Sock 9.First char is OK [00:31:25]request: POST /json_proto HTTP/1.0 [00:31:25]Method: POST [00:31:25]URL: /json_proto [00:31:25]Method is POST - this is cgi request [00:31:25]url: /json_proto [00:31:25]query_string will be loaded in cgi processing [00:31:25]execute_cgi json_proto POST (null) [00:31:25]execute_cgi path=json_proto method=POST [00:31:25]POST find Content-Length [00:31:25]Host: 172.17.60.7:8080 [00:31:25]Content-Length: 331 [00:31:25]Content-Type: application/json [00:31:25] [00:31:25]POST finish read [00:31:25]Found Content-Length = 331 [00:31: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:31:25]execute_script... [00:31: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:31:25]POST & json_proto [00:31:25]process_json_proto [00:31:25]json parsed OK: [00:31:25]protocol is kg_v1.0 [00:31:25]action value=get_value [00:31:25]process_action get_value [00:31:25]cmd_get_value [00:31:25]process_action get_value done [00:31:25]requested_data is exist [00:31:25]produce_requested_data [00:31:25]requested_item fm.sale.total is exist - process it [00:31:25]SAM_PROTO_GetFMData [00:31:25]wFMCommunicate request_size=4 [00:31:25]MH_SAM_APDU [00:31:25]CAPDU: 80 13 03 00 [00:31:25]Write to MH i2c: E2 08 00 05 12 80 13 03 00 00 00 00 00 96 [00:31:25]Write i2c OK [00:31:25]MH_I2C_Read... [00:31:25]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:31:25]Read from MH i2c: E2 [00:31:25]MH_I2C_Read... [00:31:25]Read from MH i2c: E2 FD 00 [00:31:25]MH_I2C_Read... [00:31:25]Read from MH i2c: E2 FD 00 05 12 00 C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 7F [00:31:25]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 4A CA 00 00 69 04 A0 00 6F 04 04 00 29 CA 00 00 B1 04 04 00 52 F1 A3 41 70 04 04 00 0A 22 24 37 72 04 04 00 48 CF 7F 0A 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 D9 69 F8 06 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 B4 97 94 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 DC 09 29 70 04 03 00 6C 17 27 72 04 03 00 70 F2 01 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 D1 5B 04 EF 03 09 00 F6 03 90 00 [00:31:26]wFMCommunicate OK [00:31:26]wFMCommunicate request_size=4 [00:31:26]MH_SAM_APDU [00:31:26]CAPDU: 80 17 00 00 [00:31:26]Write to MH i2c: E2 08 00 06 12 80 17 00 00 00 00 00 00 98 [00:31:26]Write i2c OK [00:31:26]MH_I2C_Read... [00:31:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:26]Read from MH i2c: E2 [00:31:26]MH_I2C_Read... [00:31:26]Read from MH i2c: E2 FD 00 [00:31:26]MH_I2C_Read... [00:31:26]Read from MH i2c: E2 FD 00 06 12 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1C [00:31:26]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F9 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:31:26]wFMCommunicate OK [00:31:26]wFMCommunicate request_size=4 [00:31:26]MH_SAM_APDU [00:31:26]CAPDU: 80 17 00 00 [00:31:26]Write to MH i2c: E2 08 00 07 12 80 17 00 00 00 00 00 00 99 [00:31:26]Write i2c OK [00:31:26]MH_I2C_Read... [00:31:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:26]Read from MH i2c: E2 [00:31:26]MH_I2C_Read... [00:31:26]Read from MH i2c: E2 FD 00 [00:31:26]MH_I2C_Read... [00:31:26]Read from MH i2c: E2 FD 00 07 12 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 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 90 00 39 [00:31:27]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 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 90 00 [00:31:27]wFMCommunicate OK [00:31:27]wFMCommunicate request_size=4 [00:31:27]MH_SAM_APDU [00:31:27]CAPDU: 80 17 00 00 [00:31:27]Write to MH i2c: E2 08 00 08 12 80 17 00 00 00 00 00 00 9A [00:31:27]Write i2c OK [00:31:27]MH_I2C_Read... [00:31:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:27]Read from MH i2c: E2 [00:31:27]MH_I2C_Read... [00:31:27]Read from MH i2c: E2 FD 00 [00:31:27]MH_I2C_Read... [00:31:27]Read from MH i2c: E2 FD 00 08 12 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1F [00:31:27]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:31:27]wFMCommunicate OK [00:31:27]wFMCommunicate request_size=4 [00:31:27]MH_SAM_APDU [00:31:27]CAPDU: 80 17 00 00 [00:31:27]Write to MH i2c: E2 08 00 09 12 80 17 00 00 00 00 00 00 9B [00:31:27]Write i2c OK [00:31:27]MH_I2C_Read... [00:31:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:31:27]Read from MH i2c: E2 [00:31:27]MH_I2C_Read... [00:31:27]Read from MH i2c: E2 DE 00 [00:31:27]MH_I2C_Read... [00:31:27]Read from MH i2c: E2 DE 00 09 12 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7A [00:31:27]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 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:31:27]wFMCommunicate OK [00:31:27]SAM_PROTO_GetFMData done [00:31:27]requested_item fm.sale_refund.total is exist - process it [00:31:27]requested_item fm.buy.total is exist - process it [00:31:27]requested_item shift.sale.total is exist - process it [00:31:27]SAM_PROTO_GetShiftData [00:31:27]wFMCommunicate request_size=4 [00:31:27]MH_SAM_APDU [00:31:27]CAPDU: 80 13 02 00 [00:31:27]Write to MH i2c: E2 08 00 0A 12 80 13 02 00 00 00 00 00 9A [00:31:27]Write i2c OK [00:31:27]MH_I2C_Read... [00:31:28]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:31:28]Read from MH i2c: E2 [00:31:28]MH_I2C_Read... [00:31:28]Read from MH i2c: E2 FD 00 [00:31:28]MH_I2C_Read... [00:31:28]Read from MH i2c: E2 FD 00 0A 12 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 0D [00:31:28]RAPDU: A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [00:31:28]wFMCommunicate OK [00:31:28]wFMCommunicate request_size=4 [00:31:28]MH_SAM_APDU [00:31:28]CAPDU: 80 17 00 00 [00:31:28]Write to MH i2c: E2 08 00 0B 12 80 17 00 00 00 00 00 00 9D [00:31:28]Write i2c OK [00:31:28]MH_I2C_Read... [00:31:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:28]Read from MH i2c: E2 [00:31:28]MH_I2C_Read... [00:31:28]Read from MH i2c: E2 FD 00 [00:31:28]MH_I2C_Read... [00:31:28]Read from MH i2c: E2 FD 00 0B 12 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 A5 [00:31:28]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:31:29]wFMCommunicate OK [00:31:29]wFMCommunicate request_size=4 [00:31:29]MH_SAM_APDU [00:31:29]CAPDU: 80 17 00 00 [00:31:29]Write to MH i2c: E2 08 00 0C 12 80 17 00 00 00 00 00 00 9E [00:31:29]Write i2c OK [00:31:29]MH_I2C_Read... [00:31:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:29]Read from MH i2c: E2 [00:31:29]MH_I2C_Read... [00:31:29]Read from MH i2c: E2 FD 00 [00:31:29]MH_I2C_Read... [00:31:29]Read from MH i2c: E2 FD 00 0C 12 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 70 [00:31:29]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:31:29]wFMCommunicate OK [00:31:29]wFMCommunicate request_size=4 [00:31:29]MH_SAM_APDU [00:31:29]CAPDU: 80 17 00 00 [00:31:29]Write to MH i2c: E2 08 00 0D 12 80 17 00 00 00 00 00 00 9F [00:31:29]Write i2c OK [00:31:29]MH_I2C_Read... [00:31:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:29]Read from MH i2c: E2 [00:31:29]MH_I2C_Read... [00:31:29]Read from MH i2c: E2 FD 00 [00:31:29]MH_I2C_Read... [00:31:29]Read from MH i2c: E2 FD 00 0D 12 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 11 [00:31:29]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:31:29]wFMCommunicate OK [00:31:29]wFMCommunicate request_size=4 [00:31:29]MH_SAM_APDU [00:31:29]CAPDU: 80 17 00 00 [00:31:29]Write to MH i2c: E2 08 00 0E 12 80 17 00 00 00 00 00 00 A0 [00:31:29]Write i2c OK [00:31:29]MH_I2C_Read... [00:31:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:31:30]Read from MH i2c: E2 [00:31:30]MH_I2C_Read... [00:31:30]Read from MH i2c: E2 BD 00 [00:31:30]MH_I2C_Read... [00:31:30]Read from MH i2c: E2 BD 00 0E 12 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 86 [00:31:30]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 OFD Sender: No OFD packet to send [00:31:30]EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:31:30]wFMCommunicate OK [00:31:30]SAM_PROTO_GetShiftData done [00:31:30]requested_item shift.sale.total_cash is exist - process it [00:31:30]requested_item shift.sale_refund.total is exist - process it [00:31:30]requested_item shift.sale_refund.total_cash is exist - process it [00:31:30]requested_item shift.buy.total is exist - process it [00:31:30]requested_item shift.buy.total_cash is exist - process it [00:31:30]produce_requested_data done [00:31:30]produce_requested_data return {"fm.sale.total":11012631.86,"fm.sale_refund.total":26895.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:31:30]process_action_free get_value [00:31:30]json_value_free [00:31:30]json_value_free done [00:31:30]process_json_proto returns [00:31:30]Send response to host [00:31:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":11012631.86,"fm.sale_refund.total":26895.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:31:30]free response buf [00:31:30]execute_script done [00:31:30]execute_script returns [00:31:30]free content buf [00:31:30]Sock 9.Close socket [00:31:30]Sock 9.Thread stoped [00:31:35]OFD Sender: No OFD packet to send [00:31:40]OFD Sender: No OFD packet to send [00:31:45]OFD Sender: No OFD packet to send [00:31:50]OFD Sender: No OFD packet to send [00:31:55]OFD Sender: No OFD packet to send [00:32:00]OFD Sender: No OFD packet to send [00:32:05]OFD Sender: No OFD packet to send [00:32:10]OFD Sender: No OFD packet to send [00:32:15]OFD Sender: No OFD packet to send [00:32:20]OFD Sender: No OFD packet to send [00:32:25]OFD Sender: No OFD packet to send [00:32:30]OFD Sender: No OFD packet to send [00:32:35]OFD Sender: No OFD packet to send [00:32:40]OFD Sender: No OFD packet to send [00:32:45]OFD Sender: No OFD packet to send [00:32:50]OFD Sender: No OFD packet to send [00:32:55]OFD Sender: No OFD packet to send [00:33:00]OFD Sender: No OFD packet to send [00:33:05]OFD Sender: No OFD packet to send [00:33:10]OFD Sender: No OFD packet to send [00:33:15]OFD Sender: No OFD packet to send [00:33:20]OFD Sender: No OFD packet to send [00:33:25]OFD Sender: No OFD packet to send [00:33:30]OFD Sender: No OFD packet to send [00:33:35]OFD Sender: No OFD packet to send [00:33:40]OFD Sender: No OFD packet to send [00:33:45]OFD Sender: No OFD packet to send [00:33:50]OFD Sender: No OFD packet to send [00:33:55]OFD Sender: No OFD packet to send [00:34:00]OFD Sender: No OFD packet to send [00:34:05]OFD Sender: No OFD packet to send [00:34:10]OFD Sender: No OFD packet to send [00:34:15]OFD Sender: No OFD packet to send [00:34:20]OFD Sender: No OFD packet to send [00:34:25]OFD Sender: No OFD packet to send [00:34:30]OFD Sender: No OFD packet to send [00:34:35]OFD Sender: No OFD packet to send [00:34:40]OFD Sender: No OFD packet to send [00:34:45]OFD Sender: No OFD packet to send [00:34:50]OFD Sender: No OFD packet to send [00:34:55]OFD Sender: No OFD packet to send [00:35:00]OFD Sender: No OFD packet to send [00:35:05]OFD Sender: No OFD packet to send [00:35:10]OFD Sender: No OFD packet to send [00:35:15]OFD Sender: No OFD packet to send [00:35:20]OFD Sender: No OFD packet to send [00:35:25]OFD Sender: No OFD packet to send [00:35:30]OFD Sender: No OFD packet to send [00:35:35]OFD Sender: No OFD packet to send [00:35:40]OFD Sender: No OFD packet to send [00:35:45]OFD Sender: No OFD packet to send [00:35:50]OFD Sender: No OFD packet to send [00:35:55]OFD Sender: No OFD packet to send [00:36:00]OFD Sender: No OFD packet to send [00:36:05]OFD Sender: No OFD packet to send [00:36:10]OFD Sender: No OFD packet to send [00:36:15]OFD Sender: No OFD packet to send [00:36:20]OFD Sender: No OFD packet to send [00:36:25]OFD Sender: No OFD packet to send [00:36:30]OFD Sender: No OFD packet to send [00:36:35]OFD Sender: No OFD packet to send [00:36:40]OFD Sender: No OFD packet to send [00:36:45]OFD Sender: No OFD packet to send [00:36:50]OFD Sender: No OFD packet to send [00:36:55]OFD Sender: No OFD packet to send [00:37:00]OFD Sender: No OFD packet to send [00:37:05]OFD Sender: No OFD packet to send [00:37:10]OFD Sender: No OFD packet to send [00:37:15]OFD Sender: No OFD packet to send [00:37:20]OFD Sender: No OFD packet to send [00:37:25]OFD Sender: No OFD packet to send [00:37:30]OFD Sender: No OFD packet to send [00:37:35]OFD Sender: No OFD packet to send [00:37:40]OFD Sender: No OFD packet to send [00:37:45]OFD Sender: No OFD packet to send [00:37:50]OFD Sender: No OFD packet to send [00:37:55]OFD Sender: No OFD packet to send [00:38:00]OFD Sender: No OFD packet to send [00:38:05]OFD Sender: No OFD packet to send [00:38:10]OFD Sender: No OFD packet to send [00:38:15]OFD Sender: No OFD packet to send [00:38:20]OFD Sender: No OFD packet to send [00:38:25]OFD Sender: No OFD packet to send [00:38:30]OFD Sender: No OFD packet to send [00:38:35]OFD Sender: No OFD packet to send [00:38:40]OFD Sender: No OFD packet to send [00:38:45]OFD Sender: No OFD packet to send [00:38:50]OFD Sender: No OFD packet to send [00:38:55]OFD Sender: No OFD packet to send [00:39:00]OFD Sender: No OFD packet to send [00:39:05]OFD Sender: No OFD packet to send [00:39:10]OFD Sender: No OFD packet to send [00:39:15]OFD Sender: No OFD packet to send [00:39:20]OFD Sender: No OFD packet to send [00:39:25]OFD Sender: No OFD packet to send [00:39:30]OFD Sender: No OFD packet to send [00:39:35]OFD Sender: No OFD packet to send [00:39:40]OFD Sender: No OFD packet to send [00:39:45]OFD Sender: No OFD packet to send [00:39:50]OFD Sender: No OFD packet to send [00:39:55]OFD Sender: No OFD packet to send [00:40:00]OFD Sender: No OFD packet to send [00:40:05]OFD Sender: No OFD packet to send [00:40:10]OFD Sender: No OFD packet to send [00:40:15]OFD Sender: No OFD packet to send [00:40:20]OFD Sender: No OFD packet to send [00:40:25]OFD Sender: No OFD packet to send [00:40:30]OFD Sender: No OFD packet to send [00:40:35]OFD Sender: No OFD packet to send [00:40:40]OFD Sender: No OFD packet to send [00:40:45]OFD Sender: No OFD packet to send [00:40:50]OFD Sender: No OFD packet to send [00:40:55]OFD Sender: No OFD packet to send [00:41:00]OFD Sender: No OFD packet to send [00:41:05]OFD Sender: No OFD packet to send [00:41:10]OFD Sender: No OFD packet to send [00:41:15]OFD Sender: No OFD packet to send [00:41:20]OFD Sender: No OFD packet to send [00:41:25]OFD Sender: No OFD packet to send [00:41:30]OFD Sender: No OFD packet to send [00:41:35]OFD Sender: No OFD packet to send [00:41:40]OFD Sender: No OFD packet to send [00:41:45]OFD Sender: No OFD packet to send [00:41:50]OFD Sender: No OFD packet to send [00:41:55]OFD Sender: No OFD packet to send [00:42:00]OFD Sender: No OFD packet to send [00:42:05]OFD Sender: No OFD packet to send [00:42:10]OFD Sender: No OFD packet to send [00:42:15]OFD Sender: No OFD packet to send [00:42:20]OFD Sender: No OFD packet to send [00:42:25]OFD Sender: No OFD packet to send [00:42:30]OFD Sender: No OFD packet to send [00:42:35]OFD Sender: No OFD packet to send [00:42:41]OFD Sender: No OFD packet to send [00:42:46]OFD Sender: No OFD packet to send [00:42:51]OFD Sender: No OFD packet to send [00:42:56]OFD Sender: No OFD packet to send [00:43:01]OFD Sender: No OFD packet to send [00:43:06]OFD Sender: No OFD packet to send [00:43:11]OFD Sender: No OFD packet to send [00:43:16]OFD Sender: No OFD packet to send [00:43:21]OFD Sender: No OFD packet to send [00:43:26]OFD Sender: No OFD packet to send [00:43:31]OFD Sender: No OFD packet to send [00:43:36]OFD Sender: No OFD packet to send [00:43:41]OFD Sender: No OFD packet to send [00:43:46]OFD Sender: No OFD packet to send [00:43:51]OFD Sender: No OFD packet to send [00:43:56]OFD Sender: No OFD packet to send [00:44:01]OFD Sender: No OFD packet to send [00:44:06]OFD Sender: No OFD packet to send [00:44:11]OFD Sender: No OFD packet to send [00:44:16]OFD Sender: No OFD packet to send [00:44:21]OFD Sender: No OFD packet to send [00:44:26]OFD Sender: No OFD packet to send [00:44:31]OFD Sender: No OFD packet to send [00:44:36]OFD Sender: No OFD packet to send [00:44:41]OFD Sender: No OFD packet to send [00:44:46]OFD Sender: No OFD packet to send [00:44:51]OFD Sender: No OFD packet to send [00:44:56]OFD Sender: No OFD packet to send [00:45:01]OFD Sender: No OFD packet to send [00:45:06]OFD Sender: No OFD packet to send [00:45:11]OFD Sender: No OFD packet to send [00:45:16]OFD Sender: No OFD packet to send [00:45:21]OFD Sender: No OFD packet to send [00:45:26]OFD Sender: No OFD packet to send [00:45:31]OFD Sender: No OFD packet to send [00:45:36]OFD Sender: No OFD packet to send [00:45:41]OFD Sender: No OFD packet to send [00:45:46]OFD Sender: No OFD packet to send [00:45:51]OFD Sender: No OFD packet to send [00:45:56]OFD Sender: No OFD packet to send [00:46:01]OFD Sender: No OFD packet to send [00:46:06]OFD Sender: No OFD packet to send [00:46:11]OFD Sender: No OFD packet to send [00:46:16]OFD Sender: No OFD packet to send [00:46:21]OFD Sender: No OFD packet to send [00:46:26]OFD Sender: No OFD packet to send [00:46:31]OFD Sender: No OFD packet to send [00:46:36]OFD Sender: No OFD packet to send [00:46:41]OFD Sender: No OFD packet to send [00:46:46]OFD Sender: No OFD packet to send [00:46:51]OFD Sender: No OFD packet to send [00:46:56]OFD Sender: No OFD packet to send [00:47:01]OFD Sender: No OFD packet to send [00:47:06]OFD Sender: No OFD packet to send [00:47:11]OFD Sender: No OFD packet to send [00:47:16]OFD Sender: No OFD packet to send [00:47:21]OFD Sender: No OFD packet to send [00:47:26]OFD Sender: No OFD packet to send [00:47:31]OFD Sender: No OFD packet to send [00:47:36]OFD Sender: No OFD packet to send [00:47:41]OFD Sender: No OFD packet to send [00:47:46]OFD Sender: No OFD packet to send [00:47:51]OFD Sender: No OFD packet to send [00:47:56]OFD Sender: No OFD packet to send [00:48:01]OFD Sender: No OFD packet to send [00:48:06]OFD Sender: No OFD packet to send [00:48:11]OFD Sender: No OFD packet to send [00:48:16]OFD Sender: No OFD packet to send [00:48:21]OFD Sender: No OFD packet to send [00:48:26]OFD Sender: No OFD packet to send [00:48:31]OFD Sender: No OFD packet to send [00:48:36]OFD Sender: No OFD packet to send [00:48:41]OFD Sender: No OFD packet to send [00:48:46]OFD Sender: No OFD packet to send [00:48:51]OFD Sender: No OFD packet to send [00:48:56]OFD Sender: No OFD packet to send [00:49:01]OFD Sender: No OFD packet to send [00:49:06]OFD Sender: No OFD packet to send [00:49:11]OFD Sender: No OFD packet to send [00:49:16]OFD Sender: No OFD packet to send [00:49:21]OFD Sender: No OFD packet to send [00:49:26]OFD Sender: No OFD packet to send [00:49:31]OFD Sender: No OFD packet to send [00:49:36]OFD Sender: No OFD packet to send [00:49:41]OFD Sender: No OFD packet to send [00:49:46]OFD Sender: No OFD packet to send [00:49:51]OFD Sender: No OFD packet to send [00:49:56]OFD Sender: No OFD packet to send [00:50:01]OFD Sender: No OFD packet to send [00:50:06]OFD Sender: No OFD packet to send [00:50:11]OFD Sender: No OFD packet to send [00:50:16]OFD Sender: No OFD packet to send [00:50:21]OFD Sender: No OFD packet to send [00:50:26]OFD Sender: No OFD packet to send [00:50:31]OFD Sender: No OFD packet to send [00:50:36]OFD Sender: No OFD packet to send [00:50:41]OFD Sender: No OFD packet to send [00:50:46]OFD Sender: No OFD packet to send [00:50:51]OFD Sender: No OFD packet to send [00:50:56]OFD Sender: No OFD packet to send [00:51:01]OFD Sender: No OFD packet to send [00:51:06]OFD Sender: No OFD packet to send [00:51:11]OFD Sender: No OFD packet to send [00:51:16]OFD Sender: No OFD packet to send [00:51:21]OFD Sender: No OFD packet to send [00:51:26]OFD Sender: No OFD packet to send [00:51:31]OFD Sender: No OFD packet to send [00:51:36]OFD Sender: No OFD packet to send [00:51:41]OFD Sender: No OFD packet to send [00:51:46]OFD Sender: No OFD packet to send [00:51:51]OFD Sender: No OFD packet to send [00:51:56]OFD Sender: No OFD packet to send [00:52:01]OFD Sender: No OFD packet to send [00:52:06]OFD Sender: No OFD packet to send [00:52:11]OFD Sender: No OFD packet to send [00:52:16]OFD Sender: No OFD packet to send [00:52:21]OFD Sender: No OFD packet to send [00:52:26]OFD Sender: No OFD packet to send [00:52:31]OFD Sender: No OFD packet to send [00:52:36]OFD Sender: No OFD packet to send [00:52:41]OFD Sender: No OFD packet to send [00:52:46]OFD Sender: No OFD packet to send [00:52:51]OFD Sender: No OFD packet to send [00:52:56]OFD Sender: No OFD packet to send [00:53:01]OFD Sender: No OFD packet to send [00:53:06]OFD Sender: No OFD packet to send [00:53:11]OFD Sender: No OFD packet to send [00:53:16]OFD Sender: No OFD packet to send [00:53:21]OFD Sender: No OFD packet to send [00:53:26]OFD Sender: No OFD packet to send [00:53:31]OFD Sender: No OFD packet to send [00:53:36]OFD Sender: No OFD packet to send [00:53:41]OFD Sender: No OFD packet to send [00:53:46]OFD Sender: No OFD packet to send [00:53:51]OFD Sender: No OFD packet to send [00:53:56]OFD Sender: No OFD packet to send [00:54:01]OFD Sender: No OFD packet to send [00:54:06]OFD Sender: No OFD packet to send [00:54:11]OFD Sender: No OFD packet to send [00:54:16]OFD Sender: No OFD packet to send [00:54:21]OFD Sender: No OFD packet to send [00:54:26]OFD Sender: No OFD packet to send [00:54:31]OFD Sender: No OFD packet to send [00:54:36]OFD Sender: No OFD packet to send [00:54:41]OFD Sender: No OFD packet to send [00:54:46]OFD Sender: No OFD packet to send [00:54:51]OFD Sender: No OFD packet to send [00:54:56]OFD Sender: No OFD packet to send [00:55:01]OFD Sender: No OFD packet to send [00:55:06]OFD Sender: No OFD packet to send [00:55:11]OFD Sender: No OFD packet to send [00:55:16]OFD Sender: No OFD packet to send [00:55:21]OFD Sender: No OFD packet to send [00:55:26]OFD Sender: No OFD packet to send [00:55:31]OFD Sender: No OFD packet to send [00:55:36]OFD Sender: No OFD packet to send [00:55:41]OFD Sender: No OFD packet to send [00:55:46]OFD Sender: No OFD packet to send [00:55:51]OFD Sender: No OFD packet to send [00:55:56]OFD Sender: No OFD packet to send [00:56:01]OFD Sender: No OFD packet to send [00:56:06]OFD Sender: No OFD packet to send [00:56:11]OFD Sender: No OFD packet to send [00:56:16]OFD Sender: No OFD packet to send [00:56:21]OFD Sender: No OFD packet to send [00:56:26]OFD Sender: No OFD packet to send [00:56:31]OFD Sender: No OFD packet to send [00:56:36]OFD Sender: No OFD packet to send [00:56:41]OFD Sender: No OFD packet to send [00:56:46]OFD Sender: No OFD packet to send [00:56:51]OFD Sender: No OFD packet to send [00:56:56]OFD Sender: No OFD packet to send [00:57:01]OFD Sender: No OFD packet to send [00:57:06]OFD Sender: No OFD packet to send [00:57:11]OFD Sender: No OFD packet to send [00:57:16]OFD Sender: No OFD packet to send [00:57:21]OFD Sender: No OFD packet to send [00:57:26]OFD Sender: No OFD packet to send [00:57:31]OFD Sender: No OFD packet to send [00:57:36]OFD Sender: No OFD packet to send [00:57:41]OFD Sender: No OFD packet to send [00:57:46]OFD Sender: No OFD packet to send [00:57:51]OFD Sender: No OFD packet to send [00:57:56]OFD Sender: No OFD packet to send [00:58:01]OFD Sender: No OFD packet to send [00:58:06]OFD Sender: No OFD packet to send [00:58:11]OFD Sender: No OFD packet to send [00:58:16]OFD Sender: No OFD packet to send [00:58:21]OFD Sender: No OFD packet to send [00:58:26]OFD Sender: No OFD packet to send [00:58:31]OFD Sender: No OFD packet to send [00:58:36]OFD Sender: No OFD packet to send [00:58:41]OFD Sender: No OFD packet to send [00:58:46]OFD Sender: No OFD packet to send [00:58:51]OFD Sender: No OFD packet to send [00:58:56]OFD Sender: No OFD packet to send [00:59:01]OFD Sender: No OFD packet to send [00:59:06]OFD Sender: No OFD packet to send [00:59:11]OFD Sender: No OFD packet to send [00:59:16]OFD Sender: No OFD packet to send [00:59:21]OFD Sender: No OFD packet to send [00:59:26]OFD Sender: No OFD packet to send [00:59:31]OFD Sender: No OFD packet to send [00:59:36]OFD Sender: No OFD packet to send [00:59:41]OFD Sender: No OFD packet to send [00:59:46]OFD Sender: No OFD packet to send [00:59:51]OFD Sender: No OFD packet to send [00:59:56]OFD Sender: No OFD packet to send [01:00:01]OFD Sender: No OFD packet to send [01:00:06]OFD Sender: No OFD packet to send [01:00:11]OFD Sender: No OFD packet to send [01:00:16]OFD Sender: No OFD packet to send [01:00:21]OFD Sender: No OFD packet to send [01:00:26]OFD Sender: No OFD packet to send [01:00:32]OFD Sender: No OFD packet to send [01:00:37]OFD Sender: No OFD packet to send [01:00:42]OFD Sender: No OFD packet to send [01:00:47]OFD Sender: No OFD packet to send [01:00:52]OFD Sender: No OFD packet to send [01:00:57]OFD Sender: No OFD packet to send [01:01:02]OFD Sender: No OFD packet to send [01:01:07]OFD Sender: No OFD packet to send [01:01:12]OFD Sender: No OFD packet to send [01:01:17]OFD Sender: No OFD packet to send [01:01:22]OFD Sender: No OFD packet to send [01:01:27]OFD Sender: No OFD packet to send [01:01:29]accept exits with 7 [01:01:29]New connection [01:01:29]New thread 3067293028 created [01:01:29]Thread 3067149668 joined [01:01:29]Waiting for new connection... [01:01:29] Sock 7.Parse request [01:01:29]Sock 7.Check first char [01:01:29]Sock 7.First char is OK [01:01:29]request: POST /json_proto HTTP/1.0 [01:01:29]Method: POST [01:01:29]URL: /json_proto [01:01:29]Method is POST - this is cgi request [01:01:29]url: /json_proto [01:01:29]query_string will be loaded in cgi processing [01:01:29]execute_cgi json_proto POST (null) [01:01:29]execute_cgi path=json_proto method=POST [01:01:29]POST find Content-Length [01:01:29]Host: 172.17.60.7:8080 [01:01:29]Content-Length: 824 [01:01:29]Content-Type: application/json [01:01:29] [01:01:29]POST finish read [01:01:29]Found Content-Length = 824 [01:01:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122813", "tax_sys" : 0, "items" : [ { "code": "5449000000286", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 2\u043B", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:01:29]execute_script... [01:01: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)122813", "tax_sys" : 0, "items" : [ { "code": "5449000000286", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 2\u043B", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:01:29]POST & json_proto [01:01:29]process_json_proto [01:01:29]json parsed OK: [01:01:29]protocol is kg_v1.0 [01:01:29]action value=close_receipt [01:01:29]process_action close_receipt [01:01:29]cmd_close_receipt [01:01:29]MH_GetDate [01:01:29]Write to MH i2c: F0 00 00 0F 12 10 [01:01:29]Write i2c OK [01:01:29]MH_I2C_Read... [01:01:29]Read from MH i2c: F0 [01:01:29]MH_I2C_Read... [01:01:29]Read from MH i2c: F0 09 00 [01:01:29]MH_I2C_Read... [01:01:29]Read from MH i2c: F0 09 00 0F 12 00 EC 5E B9 66 63 9B 67 64 4B [01:01:29]GetLastDocTimeStamp 1723422684 [01:01:29]current date 1723424492 [01:01:29]FM_GetShiftState [01:01:29]SAM_PROTO_GetShiftState [01:01:29]wFMCommunicate request_size=4 [01:01:29]MH_SAM_APDU [01:01:29]CAPDU: 80 13 01 00 [01:01:29]Write to MH i2c: E2 08 00 10 12 80 13 01 00 00 00 00 00 9F [01:01:29]Write i2c OK [01:01:29]MH_I2C_Read... [01:01:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:01:29]Read from MH i2c: E2 [01:01:29]MH_I2C_Read... [01:01:29]Read from MH i2c: E2 0E 00 [01:01:29]MH_I2C_Read... [01:01:29]Read from MH i2c: E2 0E 00 10 12 00 09 00 01 DC 57 B9 66 00 00 00 00 90 00 FD [01:01:29]RAPDU: 09 00 01 DC 57 B9 66 00 00 00 00 90 00 [01:01:29]wFMCommunicate OK [01:01:29]SAM_PROTO_GetShiftState done [01:01:29]FM_GetShiftState done [01:01:29]opened in 1723422684 [01:01:29]opened+sec_in_day 1723509084 [01:01:29]quantity*price = 20500 [01:01:29]sum+1 = 20501 [01:01:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 205.00 НСП 1% : 1.81 НДС 12% : 21.77 Наличными: 0.00 Безнал.: 205.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 1 12.08.2024 01:01 Смена: 447 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52683 ФПД: 257020452003315 /tax-web-control/client/api/v1/ticket?date=20240812T010132&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52683&fm=257020452003315&tin=02508201610067®Number=0000000000090834&sum=20500 0 [01:01:30]StoreToDocumentArchive [01:01:30]shift 447 fd 52683 [01:01:30]save to /storage/0447/doc_00052683 [01:01:30]save last doc name /storage/0447/doc_00052683 to /storage/kkm_last_doc_name [01:01:30]save OK [01:01:30]Clear old archive folders... [01:01:30]ProcessDocumentItem done err = 0, tmpTLVsize=278 [01:01:30]tlvbuf is B6F14BA0 [01:01:30]SAM_PROTO_ClearQueue [01:01:30]wFMCommunicate request_size=4 [01:01:30]MH_SAM_APDU [01:01:30]CAPDU: 80 09 00 00 [01:01:30]Write to MH i2c: E2 08 00 1D 12 80 09 00 00 00 00 00 00 A1 [01:01:30]Write i2c OK [01:01:30]MH_I2C_Read... [01:01:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:01:30]Read from MH i2c: E2 [01:01:30]MH_I2C_Read... [01:01:30]Read from MH i2c: E2 03 00 [01:01:30]MH_I2C_Read... [01:01:30]Read from MH i2c: E2 03 00 1D 12 00 90 00 A3 [01:01:30]RAPDU: 90 00 [01:01:30]wFMCommunicate OK [01:01:30]SAM_PROTO_ClearQueue done [01:01:30]KKMCreateOFDPacket [01:01:30]OFDProtocolAddRootSTLVToBuf [01:01:30]FM_MakeSignedData [01:01:30]FM_MakeSignedData [01:01:30]SAM_PROTO_SignData [01:01:30]wFMCommunicate request_size=4 [01:01:30]MH_SAM_APDU [01:01:30]CAPDU: 80 0D 01 02 [01:01:30]Write to MH i2c: E2 08 00 1E 12 80 0D 01 02 00 00 00 00 A9 [01:01:30]Write i2c OK [01:01:30]MH_I2C_Read... [01:01:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:01:30]Read from MH i2c: E2 [01:01:30]MH_I2C_Read... [01:01:30]Read from MH i2c: E2 03 00 [01:01:30]MH_I2C_Read... [01:01:30]Read from MH i2c: E2 03 00 1E 12 00 90 00 A4 [01:01:30]RAPDU: 90 00 [01:01:30]wFMCommunicate OK [01:01:30]wFMCommunicate request_size=255 [01:01:30]MH_SAM_APDU [01:01:30]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 30 30 32 38 36 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 81 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 EC 5E B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 [01:01:30]Write to MH i2c: E2 02 01 1F 12 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 30 30 32 38 36 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 81 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 EC 5E B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 00 00 96 [01:01:30]Write i2c OK [01:01:30]MH_I2C_Read... [01:01:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:01:30]Read from MH i2c: E2 [01:01:30]MH_I2C_Read... [01:01:30]Read from MH i2c: E2 03 00 [01:01:30]MH_I2C_Read... [01:01:30]Read from MH i2c: E2 03 00 1F 12 00 90 00 A5 [01:01:30]RAPDU: 90 00 [01:01:30]wFMCommunicate OK [01:01:30]wFMCommunicate request_size=37 [01:01:30]MH_SAM_APDU [01:01:30]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CB CD 00 00 35 04 06 00 E9 C2 3C BD DD F3 [01:01:30]Write to MH i2c: E2 28 00 20 12 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CB CD 00 00 35 04 06 00 E9 C2 3C BD DD F3 00 00 0F [01:01:30]Write i2c OK [01:01:30]MH_I2C_Read... [01:01:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:01:30]Read from MH i2c: E2 [01:01:30]MH_I2C_Read... [01:01:30]Read from MH i2c: E2 03 00 [01:01:30]MH_I2C_Read... [01:01:30]Read from MH i2c: E2 03 00 20 12 00 90 00 A6 [01:01:30]RAPDU: 90 00 [01:01:30]wFMCommunicate OK [01:01:30]wFMCommunicate request_size=4 [01:01:30]MH_SAM_APDU [01:01:30]CAPDU: 80 0D 03 02 [01:01:30]Write to MH i2c: E2 08 00 21 12 80 0D 03 02 00 00 00 00 AE [01:01:30]Write i2c OK [01:01:30]MH_I2C_Read... [01:01:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:01:30]Read from MH i2c: E2 [01:01:30]MH_I2C_Read... [01:01:30]Read from MH i2c: E2 0B 00 [01:01:30]MH_I2C_Read... [01:01:30]Read from MH i2c: E2 0B 00 21 12 00 99 FB 9C CE 09 D9 8C 57 90 00 72 [01:01:30]RAPDU: 99 FB 9C CE 09 D9 8C 57 90 00 [01:01:30]wFMCommunicate OK [01:01:30]SAM_PROTO_SignData done [01:01:30]FM_MakeSignedData done [01:01:30]CreateOFDProtocolMessage [01:01:30]wFMCommunicate request_size=4 [01:01:30]MH_SAM_APDU [01:01:30]CAPDU: 80 11 00 00 [01:01:30]Write to MH i2c: E2 08 00 22 12 80 11 00 00 00 00 00 00 AE [01:01:30]Write i2c OK [01:01:30]MH_I2C_Read... [01:01:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:01:30]Read from MH i2c: E2 [01:01:30]MH_I2C_Read... [01:01:30]Read from MH i2c: E2 17 00 [01:01:30]MH_I2C_Read... [01:01:30]Read from MH i2c: E2 17 00 22 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 01 [01:01:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [01:01:30]wFMCommunicate OK [01:01:30]CreateOFDProtocolMessage done [01:01:30]OFDSenderStorePacket 52683 [01:01:30]StoreOFDPacket docnum=52683 [01:01:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2A 01 00 00 A9 E8 22 01 FC 60 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 30 30 32 38 36 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 81 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 EC 5E B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CB CD 00 00 35 04 06 00 E9 C2 3C BD DD F3 99 FB 9C CE 09 D9 8C 57 [01:01:30]CheckFolder [01:01:30]dirname=/storage/ofd_packets [01:01:30]CheckFolder done [01:01:30]ProducePacketName [01:01:30]name=ofd_packets/00052683 [01:01:30]NVStorageSaveData ofd_packets/00052683 [01:01:30]File name is /storage/ofd_packets/00052683 [01:01:30]Write 328 bytes [01:01:30]NVStorageSaveData done [01:01:30]OFDSenderStorePacket done [01:01:30]KKMCreateOFDPacket done [01:01:30]NVStorageSaveData kkm_last_timestamp [01:01:30]File name is /storage/kkm_last_timestamp [01:01:30]Write 4 bytes [01:01:30]NVStorageSaveData done [01:01:30]ExternCall_PrintAddStr [01:01:30]wPrintStart [01:01:30]Write to MH i2c: 01 00 00 23 12 35 [01:01:30]Write i2c OK [01:01:30]MH_I2C_Read... [01:01:30]Read from MH i2c: 01 [01:01:30]MH_I2C_Read... [01:01:30]Read from MH i2c: 01 07 00 [01:01:30]MH_I2C_Read... [01:01:30]Read from MH i2c: 01 07 00 23 12 00 00 00 00 00 FF 0F 4A [01:01:30]RasterBufferAndPrint [01:01:30]line Счет N : (3)122813 [01:01:30]line ИНН: 02508201610067 [01:01:30]line Контрольно-Кассовый Чек [01:01:30]line ПРОДАЖА [01:01:30]line Товар: 5449000000286 [01:01:30]line Напиток Кока-Кола 2л [01:01:30]line 1.000 * 205.00 [01:01:30]line = 205.00 [01:01:30]line НДС 12% НСП 1% [01:01:30]line > о реализуемом товаре [01:01:30]line ИТОГО: 205.00 [01:01:30]line НСП 1% : 1.81 [01:01:30]line НДС 12% : 21.77 [01:01:30]line Наличными: 0.00 [01:01:30]line Безнал.: 205.00 [01:01:30]line Место: АЗС № 54 "Партнер Нефть" [01:01:30]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [01:01:30]line СНО: Общий режим [01:01:30]line Чек 1 12.08.2024 01:01 [01:01:30]line Смена: 447 ФФД: 1.0 [01:01:30]line ЗНМ: 0300000007 [01:01:30]line РНМ: 0000000000090834 [01:01:30]line Версия ККМ: 001 [01:01:30]line Платежная система: О! деньги [01:01:30]line ФМ: 0000000000874715 [01:01:30]line ФД: 52683 [01:01:30]line ФПД: 257020452003315 [01:01:31]line /tax-web-control/client/api/v1/ticket?date=20240812T010132&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52683&fm=257020452003315&tin=02508201610067®Number=0000000000090834&sum=20500 [01:01:31]line 0 [01:01:31]OFD Sender: Processing packet 52683 [packets to send 55, broken 54] [01:01:31]ProducePacketName [01:01:31]name=ofd_packets/00052683 [01:01:31]OFD Sender: To server: pG, [01:01:31]CommunicateWithHost lk.salyk.kg:30040 [01:01:31]ConnectInit lk.salyk.kg [01:01:31]written 0, free lines is 4095 [01:01:31]Connected sock=10 [01:01:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2A 01 00 00 A9 E8 22 01 FC 60 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 30 30 32 38 36 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 81 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 14 50 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 EC 5E B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CB CD 00 00 35 04 06 00 E9 C2 3C BD DD F3 99 FB 9C CE 09 D9 8C 57 [01:01:31]Write to MH i2c: 01 00 00 4C 12 5E [01:01:31]Write i2c OK [01:01:31]MH_I2C_Read... [01:01:31]Read from MH i2c: 01 [01:01:31]MH_I2C_Read... [01:01:31]Read from MH i2c: 01 07 00 [01:01:31]MH_I2C_Read... [01:01:31]Read from MH i2c: 01 07 00 4C 12 00 00 00 00 00 C1 0C 32 [01:01:31]RasterBufferAndPrint [01:01:31]line [01:01:31]line [01:01:31]line [01:01:31]line [01:01:31]line [01:01:31]written 0, free lines is 3271 [01:01:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 8F 06 47 00 85 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 34 37 31 35 10 04 04 00 CB CD 00 00 F4 03 04 00 86 06 B9 66 B6 04 01 00 00 A7 6C 13 03 2B BA 28 6D [01:01:31]CommunicateWithHost err = 0 [01:01:31]CheckOFDResponse [01:01:31]1017 (14) - 77093643461234 [01:01:31]1041 (16) - 0000000000874715 [01:01:31]1040 (4) - 52683 [01:01:31]1012 (4) - 11.08.2024 18:44 [01:01:31]1206 (1) - 0 [01:01:31]OFD Sender: Remove packet 52683 [01:01:31]ProducePacketName [01:01:31]name=ofd_packets/00052683 [01:01:31]NVStorageDeleteData [01:01:31]MH_Cut [01:01:31]Write to MH i2c: D1 01 00 53 12 01 37 [01:01:31]Write i2c OK [01:01:31]MH_I2C_Read... [01:01:31]Read from MH i2c: D1 [01:01:31]MH_I2C_Read... [01:01:31]Read from MH i2c: D1 01 00 [01:01:31]MH_I2C_Read... [01:01:31]Read from MH i2c: D1 01 00 53 12 00 36 [01:01:31]Write to MH i2c: 01 00 00 54 12 66 [01:01:31]Write i2c OK [01:01:31]MH_I2C_Read... [01:01:32]OFD Sender: No OFD packet to send [01:01:32]*** Cut start [01:01:32]*** Purtial cut [01:01:32]*** Stage 1: CUTSNS_PIN = 1 [01:01:32]Read from MH i2c: 01 [01:01:32]MH_I2C_Read... [01:01:32]*** Stop cut motor [01:01:32]*** Cut end [01:01:32]Read from MH i2c: 01 07 00 [01:01:32]MH_I2C_Read... [01:01:32]Read from MH i2c: 01 07 00 54 12 00 00 00 00 00 FF 0F 7B [01:01:32]process_action close_receipt done [01:01:32]requested_data is exist [01:01:32]produce_requested_data [01:01:32]requested_item fm.sn is exist - process it [01:01:32]wFMCommunicate request_size=4 [01:01:32]MH_SAM_APDU [01:01:32]CAPDU: 80 11 00 00 [01:01:32]Write to MH i2c: E2 08 00 55 12 80 11 00 00 00 00 00 00 E1 [01:01:32]Write i2c OK [01:01:32]MH_I2C_Read... [01:01:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:01:32]Read from MH i2c: E2 [01:01:32]MH_I2C_Read... [01:01:32]Read from MH i2c: E2 17 00 [01:01:32]MH_I2C_Read... [01:01:32]Read from MH i2c: E2 17 00 55 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 34 [01:01:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [01:01:32]wFMCommunicate OK [01:01:32]requested_item fd.num is exist - process it [01:01:32]SAM_PROTO_GetFieldsCounters [01:01:32]wFMCommunicate request_size=4 [01:01:32]MH_SAM_APDU [01:01:32]CAPDU: 80 13 00 00 [01:01:32]Write to MH i2c: E2 08 00 56 12 80 13 00 00 00 00 00 00 E4 [01:01:32]Write i2c OK [01:01:32]MH_I2C_Read... [01:01:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:01:33]Read from MH i2c: E2 [01:01:33]MH_I2C_Read... [01:01:33]Read from MH i2c: E2 62 00 [01:01:33]MH_I2C_Read... [01:01:33]Read from MH i2c: E2 62 00 56 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 CB CD 00 00 0E 04 04 00 BF 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 5F [01:01: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 CB CD 00 00 0E 04 04 00 BF 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:01:33]wFMCommunicate OK [01:01:33]SAM_PROTO_GetFieldsCounters done [01:01:33]requested_item shift.num is exist - process it [01:01:33]requested_item shift.opened is exist - process it [01:01:33]req_shift_opened [01:01:33]FM_GetShiftState [01:01:33]SAM_PROTO_GetShiftState [01:01:33]wFMCommunicate request_size=4 [01:01:33]MH_SAM_APDU [01:01:33]CAPDU: 80 13 01 00 [01:01:33]Write to MH i2c: E2 08 00 57 12 80 13 01 00 00 00 00 00 E6 [01:01:33]Write i2c OK [01:01:33]MH_I2C_Read... [01:01:33]Read from MH i2c: E2 [01:01:33]MH_I2C_Read... [01:01:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:01:33]Read from MH i2c: E2 0E 00 [01:01:33]MH_I2C_Read... [01:01:33]Read from MH i2c: E2 0E 00 57 12 00 09 00 01 DC 57 B9 66 00 00 00 00 90 00 44 [01:01:33]RAPDU: 09 00 01 DC 57 B9 66 00 00 00 00 90 00 [01:01:33]wFMCommunicate OK [01:01:33]SAM_PROTO_GetShiftState done [01:01:33]FM_GetShiftState done [01:01:33]req_shift_opened done [01:01:33]requested_item shift.open_date is exist - process it [01:01:33]req_shift_open_date [01:01:33]req_shift_open_date done [01:01:33]produce_requested_data done [01:01:33]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52683,"shift.num":447,"shift.opened":1,"shift.open_date":1723422684} [01:01:33]process_action_free close_receipt [01:01:33]json_value_free [01:01:33]json_value_free done [01:01:33]process_json_proto returns [01:01:33]Send response to host [01:01:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52683,"shift.num":447,"shift.opened":1,"shift.open_date":1723422684}}} [01:01:33]free response buf [01:01:33]execute_script done [01:01:33]execute_script returns [01:01:33]free content buf [01:01:33]Sock 7.Close socket [01:01:33]Sock 7.Thread stoped [01:01:37]OFD Sender: No OFD packet to send [01:01:42]OFD Sender: No OFD packet to send [01:01:47]OFD Sender: No OFD packet to send [01:01:52]OFD Sender: No OFD packet to send [01:01:57]OFD Sender: No OFD packet to send [01:02:02]OFD Sender: No OFD packet to send [01:02:07]OFD Sender: No OFD packet to send [01:02:12]OFD Sender: No OFD packet to send [01:02:17]OFD Sender: No OFD packet to send [01:02:22]OFD Sender: No OFD packet to send [01:02:27]OFD Sender: No OFD packet to send [01:02:32]OFD Sender: No OFD packet to send [01:02:37]OFD Sender: No OFD packet to send [01:02:42]OFD Sender: No OFD packet to send [01:02:47]OFD Sender: No OFD packet to send [01:02:52]OFD Sender: No OFD packet to send [01:02:57]OFD Sender: No OFD packet to send [01:03:02]OFD Sender: No OFD packet to send [01:03:07]OFD Sender: No OFD packet to send [01:03:12]OFD Sender: No OFD packet to send [01:03:17]OFD Sender: No OFD packet to send [01:03:22]OFD Sender: No OFD packet to send [01:03:27]OFD Sender: No OFD packet to send [01:03:32]OFD Sender: No OFD packet to send [01:03:37]OFD Sender: No OFD packet to send [01:03:42]OFD Sender: No OFD packet to send [01:03:47]OFD Sender: No OFD packet to send [01:03:52]OFD Sender: No OFD packet to send [01:03:57]OFD Sender: No OFD packet to send [01:04:02]OFD Sender: No OFD packet to send [01:04:07]OFD Sender: No OFD packet to send [01:04:12]OFD Sender: No OFD packet to send [01:04:17]OFD Sender: No OFD packet to send [01:04:22]OFD Sender: No OFD packet to send [01:04:27]OFD Sender: No OFD packet to send [01:04:32]OFD Sender: No OFD packet to send [01:04:37]OFD Sender: No OFD packet to send [01:04:42]OFD Sender: No OFD packet to send [01:04:47]OFD Sender: No OFD packet to send [01:04:52]OFD Sender: No OFD packet to send [01:04:57]OFD Sender: No OFD packet to send [01:05:02]OFD Sender: No OFD packet to send [01:05:07]OFD Sender: No OFD packet to send [01:05:12]OFD Sender: No OFD packet to send [01:05:17]OFD Sender: No OFD packet to send [01:05:22]OFD Sender: No OFD packet to send [01:05:27]OFD Sender: No OFD packet to send [01:05:32]OFD Sender: No OFD packet to send [01:05:37]OFD Sender: No OFD packet to send [01:05:42]OFD Sender: No OFD packet to send [01:05:47]OFD Sender: No OFD packet to send [01:05:52]OFD Sender: No OFD packet to send [01:05:57]OFD Sender: No OFD packet to send [01:06:02]OFD Sender: No OFD packet to send [01:06:07]OFD Sender: No OFD packet to send [01:06:12]OFD Sender: No OFD packet to send [01:06:17]OFD Sender: No OFD packet to send [01:06:22]OFD Sender: No OFD packet to send [01:06:27]OFD Sender: No OFD packet to send [01:06:32]OFD Sender: No OFD packet to send [01:06:37]OFD Sender: No OFD packet to send [01:06:42]OFD Sender: No OFD packet to send [01:06:47]OFD Sender: No OFD packet to send [01:06:52]OFD Sender: No OFD packet to send [01:06:57]OFD Sender: No OFD packet to send [01:07:02]OFD Sender: No OFD packet to send [01:07:07]OFD Sender: No OFD packet to send [01:07:12]OFD Sender: No OFD packet to send [01:07:17]OFD Sender: No OFD packet to send [01:07:22]OFD Sender: No OFD packet to send [01:07:27]OFD Sender: No OFD packet to send [01:07:32]OFD Sender: No OFD packet to send [01:07:37]OFD Sender: No OFD packet to send [01:07:42]OFD Sender: No OFD packet to send [01:07:47]OFD Sender: No OFD packet to send [01:07:52]OFD Sender: No OFD packet to send [01:07:57]OFD Sender: No OFD packet to send [01:08:02]OFD Sender: No OFD packet to send [01:08:07]OFD Sender: No OFD packet to send [01:08:12]OFD Sender: No OFD packet to send [01:08:17]OFD Sender: No OFD packet to send [01:08:22]OFD Sender: No OFD packet to send [01:08:27]OFD Sender: No OFD packet to send [01:08:32]OFD Sender: No OFD packet to send [01:08:37]OFD Sender: No OFD packet to send [01:08:42]OFD Sender: No OFD packet to send [01:08:47]OFD Sender: No OFD packet to send [01:08:52]OFD Sender: No OFD packet to send [01:08:57]OFD Sender: No OFD packet to send [01:09:02]OFD Sender: No OFD packet to send [01:09:07]OFD Sender: No OFD packet to send [01:09:12]OFD Sender: No OFD packet to send [01:09:17]OFD Sender: No OFD packet to send [01:09:22]OFD Sender: No OFD packet to send [01:09:27]OFD Sender: No OFD packet to send [01:09:32]OFD Sender: No OFD packet to send [01:09:37]OFD Sender: No OFD packet to send [01:09:42]OFD Sender: No OFD packet to send [01:09:47]OFD Sender: No OFD packet to send [01:09:52]OFD Sender: No OFD packet to send [01:09:57]OFD Sender: No OFD packet to send [01:10:02]OFD Sender: No OFD packet to send [01:10:07]OFD Sender: No OFD packet to send [01:10:12]OFD Sender: No OFD packet to send [01:10:17]OFD Sender: No OFD packet to send [01:10:22]OFD Sender: No OFD packet to send [01:10:27]OFD Sender: No OFD packet to send [01:10:32]OFD Sender: No OFD packet to send [01:10:37]OFD Sender: No OFD packet to send [01:10:42]OFD Sender: No OFD packet to send [01:10:47]OFD Sender: No OFD packet to send [01:10:52]OFD Sender: No OFD packet to send [01:10:57]OFD Sender: No OFD packet to send [01:11:02]OFD Sender: No OFD packet to send [01:11:07]OFD Sender: No OFD packet to send [01:11:12]OFD Sender: No OFD packet to send [01:11:17]OFD Sender: No OFD packet to send [01:11:22]OFD Sender: No OFD packet to send [01:11:27]OFD Sender: No OFD packet to send [01:11:32]OFD Sender: No OFD packet to send [01:11:37]OFD Sender: No OFD packet to send [01:11:42]OFD Sender: No OFD packet to send [01:11:47]OFD Sender: No OFD packet to send [01:11:52]OFD Sender: No OFD packet to send [01:11:57]OFD Sender: No OFD packet to send [01:12:02]OFD Sender: No OFD packet to send [01:12:07]OFD Sender: No OFD packet to send [01:12:12]OFD Sender: No OFD packet to send [01:12:17]OFD Sender: No OFD packet to send [01:12:22]OFD Sender: No OFD packet to send [01:12:27]OFD Sender: No OFD packet to send [01:12:32]OFD Sender: No OFD packet to send [01:12:37]OFD Sender: No OFD packet to send [01:12:42]OFD Sender: No OFD packet to send [01:12:47]OFD Sender: No OFD packet to send [01:12:52]OFD Sender: No OFD packet to send [01:12:57]OFD Sender: No OFD packet to send [01:13:02]OFD Sender: No OFD packet to send [01:13:07]OFD Sender: No OFD packet to send [01:13:12]OFD Sender: No OFD packet to send [01:13:17]OFD Sender: No OFD packet to send [01:13:22]OFD Sender: No OFD packet to send [01:13:27]OFD Sender: No OFD packet to send [01:13:32]OFD Sender: No OFD packet to send [01:13:37]OFD Sender: No OFD packet to send [01:13:42]OFD Sender: No OFD packet to send [01:13:47]OFD Sender: No OFD packet to send [01:13:52]OFD Sender: No OFD packet to send [01:13:57]OFD Sender: No OFD packet to send [01:14:02]OFD Sender: No OFD packet to send [01:14:07]OFD Sender: No OFD packet to send [01:14:12]OFD Sender: No OFD packet to send [01:14:17]OFD Sender: No OFD packet to send [01:14:22]OFD Sender: No OFD packet to send [01:14:27]OFD Sender: No OFD packet to send [01:14:32]OFD Sender: No OFD packet to send [01:14:37]OFD Sender: No OFD packet to send [01:14:42]OFD Sender: No OFD packet to send [01:14:47]OFD Sender: No OFD packet to send [01:14:52]OFD Sender: No OFD packet to send [01:14:57]OFD Sender: No OFD packet to send [01:15:02]OFD Sender: No OFD packet to send [01:15:07]OFD Sender: No OFD packet to send [01:15:12]OFD Sender: No OFD packet to send [01:15:17]OFD Sender: No OFD packet to send [01:15:22]OFD Sender: No OFD packet to send [01:15:28]OFD Sender: No OFD packet to send [01:15:33]OFD Sender: No OFD packet to send [01:15:38]OFD Sender: No OFD packet to send [01:15:43]OFD Sender: No OFD packet to send [01:15:48]OFD Sender: No OFD packet to send [01:15:53]OFD Sender: No OFD packet to send [01:15:58]OFD Sender: No OFD packet to send [01:16:03]OFD Sender: No OFD packet to send [01:16:08]OFD Sender: No OFD packet to send [01:16:13]OFD Sender: No OFD packet to send [01:16:18]OFD Sender: No OFD packet to send [01:16:23]OFD Sender: No OFD packet to send [01:16:28]OFD Sender: No OFD packet to send [01:16:33]OFD Sender: No OFD packet to send [01:16:38]OFD Sender: No OFD packet to send [01:16:43]OFD Sender: No OFD packet to send [01:16:48]OFD Sender: No OFD packet to send [01:16:53]OFD Sender: No OFD packet to send [01:16:58]OFD Sender: No OFD packet to send [01:17:03]OFD Sender: No OFD packet to send [01:17:08]OFD Sender: No OFD packet to send [01:17:13]OFD Sender: No OFD packet to send [01:17:18]OFD Sender: No OFD packet to send [01:17:23]OFD Sender: No OFD packet to send [01:17:28]OFD Sender: No OFD packet to send [01:17:33]accept exits with 9 [01:17:33]New connection [01:17:33]New thread 3067149668 created [01:17:33]Thread 3067293028 joined [01:17:33]Waiting for new connection... [01:17:33] Sock 9.Parse request [01:17:33]Sock 9.Check first char [01:17:33]Sock 9.First char is OK [01:17:33]request: POST /json_proto HTTP/1.0 [01:17:33]Method: POST [01:17:33]URL: /json_proto [01:17:33]Method is POST - this is cgi request [01:17:33]url: /json_proto [01:17:33]query_string will be loaded in cgi processing [01:17:33]execute_cgi json_proto POST (null) [01:17:33]execute_cgi path=json_proto method=POST [01:17:33]POST find Content-Length [01:17:33]Host: 172.17.60.7:8080 [01:17:33]Content-Length: 621 [01:17:33]Content-Type: application/json [01:17:33] [01:17:33]POST finish read [01:17:33]Found Content-Length = 621 [01:17:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122814", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:17:33]execute_script... [01:17:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122814", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:17:33]POST & json_proto [01:17:33]process_json_proto [01:17:33]json parsed OK: [01:17:33]protocol is kg_v1.0 [01:17:33]action value=close_receipt [01:17:33]process_action close_receipt [01:17:33]cmd_close_receipt [01:17:33]MH_GetDate [01:17:33]Write to MH i2c: F0 00 00 58 12 59 [01:17:33]Write i2c OK [01:17:33]MH_I2C_Read... [01:17:33]Read from MH i2c: F0 [01:17:33]MH_I2C_Read... [01:17:33]Read from MH i2c: F0 09 00 [01:17:33]MH_I2C_Read... [01:17:33]Read from MH i2c: F0 09 00 58 12 00 AF 62 B9 66 63 9B 67 64 5B [01:17:33]GetLastDocTimeStamp 1723424492 [01:17:33]current date 1723425455 [01:17:33]FM_GetShiftState [01:17:33]SAM_PROTO_GetShiftState [01:17:33]wFMCommunicate request_size=4 [01:17:33]MH_SAM_APDU [01:17:33]CAPDU: 80 13 01 00 [01:17:33]Write to MH i2c: E2 08 00 59 12 80 13 01 00 00 00 00 00 E8 [01:17:33]Write i2c OK [01:17:33]MH_I2C_Read... [01:17:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:17:33]Read from MH i2c: E2 [01:17:33]MH_I2C_Read... [01:17:33]Read from MH i2c: E2 0E 00 [01:17:33]MH_I2C_Read... [01:17:33]Read from MH i2c: E2 0E 00 59 12 00 09 00 01 DC 57 B9 66 00 00 00 00 90 00 46 [01:17:33]RAPDU: 09 00 01 DC 57 B9 66 00 00 00 00 90 00 [01:17:33]wFMCommunicate OK [01:17:33]SAM_PROTO_GetShiftState done [01:17:33]FM_GetShiftState done [01:17:33]opened in 1723422684 [01:17:33]opened+sec_in_day 1723509084 [01:17:33]quantity*price = 14000 [01:17:33]sum+1 = 14001 [01:17:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 2 12.08.2024 01:17 Смена: 447 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52684 ФПД: 70096160974320 /tax-web-control/client/api/v1/ticket?date=20240812T011736&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52684&fm=70096160974320&tin=02508201610067®Number=0000000000090834&sum=14000 0 [01:17:34]StoreToDocumentArchive [01:17:34]shift 447 fd 52684 [01:17:34]save to /storage/0447/doc_00052684 [01:17:34]save last doc name /storage/0447/doc_00052684 to /storage/kkm_last_doc_name [01:17:34]save OK [01:17:34]Clear old archive folders... [01:17:34]ProcessDocumentItem done err = 0, tmpTLVsize=273 [01:17:34]tlvbuf is 012585C0 [01:17:34]SAM_PROTO_ClearQueue [01:17:34]wFMCommunicate request_size=4 [01:17:34]MH_SAM_APDU [01:17:34]CAPDU: 80 09 00 00 [01:17:34]Write to MH i2c: E2 08 00 66 12 80 09 00 00 00 00 00 00 EA [01:17:34]Write i2c OK [01:17:34]MH_I2C_Read... [01:17:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:17:34]Read from MH i2c: E2 [01:17:34]MH_I2C_Read... [01:17:34]Read from MH i2c: E2 03 00 [01:17:34]MH_I2C_Read... [01:17:34]Read from MH i2c: E2 03 00 66 12 00 90 00 EC [01:17:34]RAPDU: 90 00 [01:17:34]wFMCommunicate OK [01:17:34]SAM_PROTO_ClearQueue done [01:17:34]KKMCreateOFDPacket [01:17:34]OFDProtocolAddRootSTLVToBuf [01:17:34]FM_MakeSignedData [01:17:34]FM_MakeSignedData [01:17:34]SAM_PROTO_SignData [01:17:34]wFMCommunicate request_size=4 [01:17:34]MH_SAM_APDU [01:17:34]CAPDU: 80 0D 01 02 [01:17:34]Write to MH i2c: E2 08 00 67 12 80 0D 01 02 00 00 00 00 F2 [01:17:34]Write i2c OK [01:17:34]MH_I2C_Read... [01:17:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:17:34]Read from MH i2c: E2 [01:17:34]MH_I2C_Read... [01:17:34]Read from MH i2c: E2 03 00 [01:17:34]MH_I2C_Read... [01:17:34]Read from MH i2c: E2 03 00 67 12 00 90 00 ED [01:17:34]RAPDU: 90 00 [01:17:34]wFMCommunicate OK [01:17:34]wFMCommunicate request_size=255 [01:17:34]MH_SAM_APDU [01:17:34]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 B0 62 B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 [01:17:34]Write to MH i2c: E2 02 01 68 12 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 B0 62 B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 00 00 D9 [01:17:34]Write i2c OK [01:17:34]MH_I2C_Read... [01:17:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:17:34]Read from MH i2c: E2 [01:17:34]MH_I2C_Read... [01:17:34]Read from MH i2c: E2 03 00 [01:17:34]MH_I2C_Read... [01:17:34]Read from MH i2c: E2 03 00 68 12 00 90 00 EE [01:17:34]RAPDU: 90 00 [01:17:34]wFMCommunicate OK [01:17:34]wFMCommunicate request_size=32 [01:17:34]MH_SAM_APDU [01:17:34]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 37 31 35 10 04 04 00 CC CD 00 00 35 04 06 00 3F C0 88 C6 65 F0 [01:17:34]Write to MH i2c: E2 23 00 69 12 80 0D 02 02 1B 00 30 30 30 38 37 34 37 31 35 10 04 04 00 CC CD 00 00 35 04 06 00 3F C0 88 C6 65 F0 00 00 8D [01:17:34]Write i2c OK [01:17:34]MH_I2C_Read... [01:17:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:17:34]Read from MH i2c: E2 [01:17:34]MH_I2C_Read... [01:17:34]Read from MH i2c: E2 03 00 [01:17:34]MH_I2C_Read... [01:17:34]Read from MH i2c: E2 03 00 69 12 00 90 00 EF [01:17:34]RAPDU: 90 00 [01:17:34]wFMCommunicate OK [01:17:34]wFMCommunicate request_size=4 [01:17:34]MH_SAM_APDU [01:17:34]CAPDU: 80 0D 03 02 [01:17:34]Write to MH i2c: E2 08 00 6A 12 80 0D 03 02 00 00 00 00 F7 [01:17:34]Write i2c OK [01:17:34]MH_I2C_Read... [01:17:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:17:34]Read from MH i2c: E2 [01:17:34]MH_I2C_Read... [01:17:34]Read from MH i2c: E2 0B 00 [01:17:34]MH_I2C_Read... [01:17:34]Read from MH i2c: E2 0B 00 6A 12 00 79 F9 56 55 94 D6 66 D1 90 00 B6 [01:17:34]RAPDU: 79 F9 56 55 94 D6 66 D1 90 00 [01:17:34]wFMCommunicate OK [01:17:34]SAM_PROTO_SignData done [01:17:34]FM_MakeSignedData done [01:17:34]CreateOFDProtocolMessage [01:17:34]wFMCommunicate request_size=4 [01:17:34]MH_SAM_APDU [01:17:34]CAPDU: 80 11 00 00 [01:17:34]Write to MH i2c: E2 08 00 6B 12 80 11 00 00 00 00 00 00 F7 [01:17:34]Write i2c OK [01:17:34]MH_I2C_Read... [01:17:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:17:34]Read from MH i2c: E2 [01:17:34]MH_I2C_Read... [01:17:34]Read from MH i2c: E2 17 00 [01:17:34]MH_I2C_Read... [01:17:34]Read from MH i2c: E2 17 00 6B 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 4A [01:17:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [01:17:34]wFMCommunicate OK [01:17:34]CreateOFDProtocolMessage done [01:17:34]OFDSenderStorePacket 52684 [01:17:34]StoreOFDPacket docnum=52684 [01:17:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 25 01 00 00 D1 39 1D 01 7B 55 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 B0 62 B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CC CD 00 00 35 04 06 00 3F C0 88 C6 65 F0 79 F9 56 55 94 D6 66 D1 [01:17:34]CheckFolder [01:17:34]dirname=/storage/ofd_packets [01:17:34]CheckFolder done [01:17:34]ProducePacketName [01:17:34]name=ofd_packets/00052684 [01:17:34]NVStorageSaveData ofd_packets/00052684 [01:17:34]File name is /storage/ofd_packets/00052684 [01:17:34]Write 323 bytes [01:17:34]NVStorageSaveData done [01:17:34]OFDSenderStorePacket done [01:17:34]KKMCreateOFDPacket done [01:17:34]NVStorageSaveData kkm_last_timestamp [01:17:34]File name is /storage/kkm_last_timestamp [01:17:34]Write 4 bytes [01:17:34]NVStorageSaveData done [01:17:34]ExternCall_PrintAddStr [01:17:34]wPrintStart [01:17:34]Write to MH i2c: 01 00 00 6C 12 7E [01:17:34]Write i2c OK [01:17:34]MH_I2C_Read... [01:17:34]Read from MH i2c: 01 [01:17:34]MH_I2C_Read... [01:17:34]Read from MH i2c: 01 07 00 [01:17:34]MH_I2C_Read... [01:17:34]Read from MH i2c: 01 07 00 6C 12 00 00 00 00 00 FF 0F 93 [01:17:34]RasterBufferAndPrint [01:17:34]line Счет N : (3)122814 [01:17:34]line ИНН: 02508201610067 [01:17:34]line Контрольно-Кассовый Чек [01:17:34]line ПРОДАЖА [01:17:34]line Товар: 48743570 [01:17:34]line Сигареты Winston XStyle Blue [01:17:34]line 1.000 * 140.00 [01:17:34]line = 140.00 [01:17:34]line НДС 12% НСП 1% [01:17:34]line > о реализуемом товаре [01:17:34]line ИТОГО: 140.00 [01:17:34]line НСП 1% : 1.24 [01:17:34]line НДС 12% : 14.87 [01:17:34]line Наличными: 140.00 [01:17:34]line Безнал.: 0.00 [01:17:34]line Место: АЗС № 54 "Партнер Нефть" [01:17:34]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [01:17:34]line СНО: Общий режим [01:17:34]line Чек 2 12.08.2024 01:17 [01:17:34]line Смена: 447 ФФД: 1.0 [01:17:34]line ЗНМ: 0300000007 [01:17:34]line РНМ: 0000000000090834 [01:17:34]line Версия ККМ: 001 [01:17:34]line ФМ: 0000000000874715 [01:17:34]line ФД: 52684 [01:17:34]line ФПД: 70096160974320 [01:17:35]line /tax-web-control/client/api/v1/ticket?date=20240812T011736&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52684&fm=70096160974320&tin=02508201610067®Number=0000000000090834&sum=14000 [01:17:35]line 0 [01:17:35]OFD Sender: Processing packet 52684 [packets to send 55, broken 54] [01:17:35]ProducePacketName [01:17:35]name=ofd_packets/00052684 [01:17:35]OFD Sender: To server: pG, [01:17:35]CommunicateWithHost lk.salyk.kg:30040 [01:17:35]ConnectInit lk.salyk.kg [01:17:35]written 0, free lines is 4095 [01:17:35]Connected sock=10 [01: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 34 37 31 35 25 01 00 00 D1 39 1D 01 7B 55 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CF 05 00 00 00 00 07 04 06 00 B0 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 B0 62 B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CC CD 00 00 35 04 06 00 3F C0 88 C6 65 F0 79 F9 56 55 94 D6 66 D1 [01:17:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 2F F5 47 00 2D 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 34 37 31 35 10 04 04 00 CC CD 00 00 F4 03 04 00 4A 0A B9 66 B6 04 01 00 00 88 68 B2 26 AD 00 7A 08 [01:17:35]CommunicateWithHost err = 0 [01:17:35]CheckOFDResponse [01:17:35]1017 (14) - 77093643461234 [01:17:35]1041 (16) - 0000000000874715 [01:17:35]1040 (4) - 52684 [01:17:35]1012 (4) - 11.08.2024 19:00 [01:17:35]1206 (1) - 0 [01:17:35]OFD Sender: Remove packet 52684 [01:17:35]ProducePacketName [01:17:35]name=ofd_packets/00052684 [01:17:35]NVStorageDeleteData [01:17:35]Write to MH i2c: 01 00 00 93 12 A5 [01:17:35]Write i2c OK [01:17:35]MH_I2C_Read... [01:17:35]Read from MH i2c: 01 [01:17:35]MH_I2C_Read... [01:17:35]Read from MH i2c: 01 07 00 [01:17:35]MH_I2C_Read... [01:17:35]Read from MH i2c: 01 07 00 93 12 00 00 00 00 00 E1 0C 99 [01:17:35]RasterBufferAndPrint [01:17:35]line [01:17:35]line [01:17:35]line [01:17:35]line [01:17:35]line [01:17:35]written 0, free lines is 3301 [01:17:35]MH_Cut [01:17:35]Write to MH i2c: D1 01 00 9A 12 01 7E [01:17:35]Write i2c OK [01:17:35]MH_I2C_Read... [01:17:35]Read from MH i2c: D1 [01:17:35]MH_I2C_Read... [01:17:35]Read from MH i2c: D1 01 00 [01:17:35]MH_I2C_Read... [01:17:35]Read from MH i2c: D1 01 00 9A 12 00 7D [01:17:35]Write to MH i2c: 01 00 00 9B 12 AD [01:17:35]Write i2c OK [01:17:35]MH_I2C_Read... [01:17:35]OFD Sender: No OFD packet to send [01:17:36]*** Cut start [01:17:36]*** Purtial cut [01:17:36]*** Stage 1: CUTSNS_PIN = 1 [01:17:36]Read from MH i2c: 01 [01:17:36]MH_I2C_Read... [01:17:36]*** Stop cut motor [01:17:36]*** Cut end [01:17:36]Read from MH i2c: 01 07 00 [01:17:36]MH_I2C_Read... [01:17:36]Read from MH i2c: 01 07 00 9B 12 00 00 00 00 00 FF 0F C2 [01:17:36]process_action close_receipt done [01:17:36]requested_data is exist [01:17:36]produce_requested_data [01:17:36]requested_item fm.sn is exist - process it [01:17:36]wFMCommunicate request_size=4 [01:17:36]MH_SAM_APDU [01:17:36]CAPDU: 80 11 00 00 [01:17:36]Write to MH i2c: E2 08 00 9C 12 80 11 00 00 00 00 00 00 28 [01:17:36]Write i2c OK [01:17:36]MH_I2C_Read... [01:17:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:17:36]Read from MH i2c: E2 [01:17:36]MH_I2C_Read... [01:17:36]Read from MH i2c: E2 17 00 [01:17:36]MH_I2C_Read... [01:17:36]Read from MH i2c: E2 17 00 9C 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 7B [01:17:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [01:17:36]wFMCommunicate OK [01:17:36]requested_item fd.num is exist - process it [01:17:36]SAM_PROTO_GetFieldsCounters [01:17:36]wFMCommunicate request_size=4 [01:17:36]MH_SAM_APDU [01:17:36]CAPDU: 80 13 00 00 [01:17:36]Write to MH i2c: E2 08 00 9D 12 80 13 00 00 00 00 00 00 2B [01:17:36]Write i2c OK [01:17:36]MH_I2C_Read... [01:17:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:17:36]Read from MH i2c: E2 [01:17:36]MH_I2C_Read... [01:17:36]Read from MH i2c: E2 62 00 [01:17:36]MH_I2C_Read... [01:17:36]Read from MH i2c: E2 62 00 9D 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 CC CD 00 00 0E 04 04 00 BF 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 AA [01:17:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 CC CD 00 00 0E 04 04 00 BF 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:17:36]wFMCommunicate OK [01:17:36]SAM_PROTO_GetFieldsCounters done [01:17:36]requested_item shift.num is exist - process it [01:17:36]requested_item shift.opened is exist - process it [01:17:36]req_shift_opened [01:17:36]FM_GetShiftState [01:17:36]SAM_PROTO_GetShiftState [01:17:36]wFMCommunicate request_size=4 [01:17:36]MH_SAM_APDU [01:17:36]CAPDU: 80 13 01 00 [01:17:36]Write to MH i2c: E2 08 00 9E 12 80 13 01 00 00 00 00 00 2D [01:17:36]Write i2c OK [01:17:36]MH_I2C_Read... [01:17:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:17:36]Read from MH i2c: E2 [01:17:36]MH_I2C_Read... [01:17:36]Read from MH i2c: E2 0E 00 [01:17:36]MH_I2C_Read... [01:17:36]Read from MH i2c: E2 0E 00 9E 12 00 09 00 01 DC 57 B9 66 00 00 00 00 90 00 8B [01:17:36]RAPDU: 09 00 01 DC 57 B9 66 00 00 00 00 90 00 [01:17:36]wFMCommunicate OK [01:17:36]SAM_PROTO_GetShiftState done [01:17:36]FM_GetShiftState done [01:17:36]req_shift_opened done [01:17:36]requested_item shift.open_date is exist - process it [01:17:36]req_shift_open_date [01:17:36]req_shift_open_date done [01:17:36]produce_requested_data done [01:17:36]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52684,"shift.num":447,"shift.opened":1,"shift.open_date":1723422684} [01:17:36]process_action_free close_receipt [01:17:36]json_value_free [01:17:36]json_value_free done [01:17:36]process_json_proto returns [01:17:36]Send response to host [01:17:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52684,"shift.num":447,"shift.opened":1,"shift.open_date":1723422684}}} [01:17:36]free response buf [01:17:36]execute_script done [01:17:36]execute_script returns [01:17:36]free content buf [01:17:36]Sock 9.Close socket [01:17:36]Sock 9.Thread stoped [01:17:41]OFD Sender: No OFD packet to send [01:17:46]OFD Sender: No OFD packet to send [01:17:51]OFD Sender: No OFD packet to send [01:17:56]OFD Sender: No OFD packet to send [01:18:01]OFD Sender: No OFD packet to send [01:18:06]OFD Sender: No OFD packet to send [01:18:11]OFD Sender: No OFD packet to send [01:18:16]OFD Sender: No OFD packet to send [01:18:21]OFD Sender: No OFD packet to send [01:18:26]OFD Sender: No OFD packet to send [01:18:31]OFD Sender: No OFD packet to send [01:18:36]OFD Sender: No OFD packet to send [01:18:41]OFD Sender: No OFD packet to send [01:18:46]OFD Sender: No OFD packet to send [01:18:51]OFD Sender: No OFD packet to send [01:18:56]OFD Sender: No OFD packet to send [01:19:01]OFD Sender: No OFD packet to send [01:19:06]OFD Sender: No OFD packet to send [01:19:11]OFD Sender: No OFD packet to send [01:19:16]OFD Sender: No OFD packet to send [01:19:21]OFD Sender: No OFD packet to send [01:19:26]OFD Sender: No OFD packet to send [01:19:31]OFD Sender: No OFD packet to send [01:19:36]OFD Sender: No OFD packet to send [01:19:41]OFD Sender: No OFD packet to send [01:19:46]OFD Sender: No OFD packet to send [01:19:51]OFD Sender: No OFD packet to send [01:19:56]OFD Sender: No OFD packet to send [01:20:01]OFD Sender: No OFD packet to send [01:20:06]OFD Sender: No OFD packet to send [01:20:11]OFD Sender: No OFD packet to send [01:20:16]OFD Sender: No OFD packet to send [01:20:21]OFD Sender: No OFD packet to send [01:20:26]OFD Sender: No OFD packet to send [01:20:31]OFD Sender: No OFD packet to send [01:20:36]OFD Sender: No OFD packet to send [01:20:41]OFD Sender: No OFD packet to send [01:20:46]OFD Sender: No OFD packet to send [01:20:51]OFD Sender: No OFD packet to send [01:20:56]OFD Sender: No OFD packet to send [01:21:01]OFD Sender: No OFD packet to send [01:21:06]OFD Sender: No OFD packet to send [01:21:11]OFD Sender: No OFD packet to send [01:21:16]OFD Sender: No OFD packet to send [01:21:21]OFD Sender: No OFD packet to send [01:21:26]OFD Sender: No OFD packet to send [01:21:31]OFD Sender: No OFD packet to send [01:21:36]OFD Sender: No OFD packet to send [01:21:41]OFD Sender: No OFD packet to send [01:21:46]OFD Sender: No OFD packet to send [01:21:51]OFD Sender: No OFD packet to send [01:21:56]OFD Sender: No OFD packet to send [01:22:01]OFD Sender: No OFD packet to send [01:22:06]OFD Sender: No OFD packet to send [01:22:11]OFD Sender: No OFD packet to send [01:22:16]OFD Sender: No OFD packet to send [01:22:21]OFD Sender: No OFD packet to send [01:22:26]OFD Sender: No OFD packet to send [01:22:31]OFD Sender: No OFD packet to send [01:22:36]OFD Sender: No OFD packet to send [01:22:41]OFD Sender: No OFD packet to send [01:22:46]OFD Sender: No OFD packet to send [01:22:51]OFD Sender: No OFD packet to send [01:22:56]OFD Sender: No OFD packet to send [01:23:01]OFD Sender: No OFD packet to send [01:23:06]OFD Sender: No OFD packet to send [01:23:11]OFD Sender: No OFD packet to send [01:23:16]OFD Sender: No OFD packet to send [01:23:21]OFD Sender: No OFD packet to send [01:23:26]OFD Sender: No OFD packet to send [01:23:31]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:41]OFD Sender: No OFD packet to send [01:30:46]OFD Sender: No OFD packet to send [01:30:51]OFD Sender: No OFD packet to send [01:30:56]OFD Sender: No OFD packet to send [01:31:01]OFD Sender: No OFD packet to send [01:31:06]OFD Sender: No OFD packet to send [01:31:11]OFD Sender: No OFD packet to send [01:31:16]OFD Sender: No OFD packet to send [01:31:21]OFD Sender: No OFD packet to send [01:31:26]OFD Sender: No OFD packet to send [01:31:31]OFD Sender: No OFD packet to send [01:31:36]OFD Sender: No OFD packet to send [01:31:41]OFD Sender: No OFD packet to send [01:31:46]OFD Sender: No OFD packet to send [01:31:51]OFD Sender: No OFD packet to send [01:31:56]OFD Sender: No OFD packet to send [01:32:01]OFD Sender: No OFD packet to send [01:32:06]OFD Sender: No OFD packet to send [01:32:11]OFD Sender: No OFD packet to send [01:32:16]OFD Sender: No OFD packet to send [01:32:21]OFD Sender: No OFD packet to send [01:32:26]OFD Sender: No OFD packet to send [01:32:31]OFD Sender: No OFD packet to send [01:32:36]OFD Sender: No OFD packet to send [01:32:41]OFD Sender: No OFD packet to send [01:32:46]OFD Sender: No OFD packet to send [01:32:51]OFD Sender: No OFD packet to send [01:32:56]OFD Sender: No OFD packet to send [01:33:01]OFD Sender: No OFD packet to send [01:33:06]OFD Sender: No OFD packet to send [01:33:11]OFD Sender: No OFD packet to send [01:33:16]OFD Sender: No OFD packet to send [01:33:21]OFD Sender: No OFD packet to send [01:33:26]OFD Sender: No OFD packet to send [01:33:31]OFD Sender: No OFD packet to send [01:33:36]OFD Sender: No OFD packet to send [01:33:41]OFD Sender: No OFD packet to send [01:33:46]OFD Sender: No OFD packet to send [01:33:51]OFD Sender: No OFD packet to send [01:33:56]OFD Sender: No OFD packet to send [01:34:00]accept exits with 7 [01:34:00]New connection [01:34:00]New thread 3067293028 created [01:34:00]Thread 3067149668 joined [01:34:00]Waiting for new connection... [01:34:00] Sock 7.Parse request [01:34:00]Sock 7.Check first char [01:34:00]Sock 7.First char is OK [01:34:00]request: POST /json_proto HTTP/1.0 [01:34:00]Method: POST [01:34:00]URL: /json_proto [01:34:00]Method is POST - this is cgi request [01:34:00]url: /json_proto [01:34:00]query_string will be loaded in cgi processing [01:34:00]execute_cgi json_proto POST (null) [01:34:00]execute_cgi path=json_proto method=POST [01:34:00]POST find Content-Length [01:34:00]Host: 172.17.60.7:8080 [01:34:00]Content-Length: 851 [01:34:00]Content-Type: application/json [01:34:00] [01:34:00]POST finish read [01:34:00]Found Content-Length = 851 [01:34:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122815", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:34:00]execute_script... [01:34: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)122815", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:34:00]POST & json_proto [01:34:00]process_json_proto [01:34:00]json parsed OK: [01:34:00]protocol is kg_v1.0 [01:34:00]action value=close_receipt [01:34:00]process_action close_receipt [01:34:00]cmd_close_receipt [01:34:00]MH_GetDate [01:34:00]Write to MH i2c: F0 00 00 9F 12 A0 [01:34:00]Write i2c OK [01:34:00]MH_I2C_Read... [01:34:00]Read from MH i2c: F0 [01:34:00]MH_I2C_Read... [01:34:00]Read from MH i2c: F0 09 00 [01:34:00]MH_I2C_Read... [01:34:00]Read from MH i2c: F0 09 00 9F 12 00 8B 66 B9 66 63 9B 67 64 82 [01:34:00]GetLastDocTimeStamp 1723425456 [01:34:00]current date 1723426443 [01:34:00]FM_GetShiftState [01:34:00]SAM_PROTO_GetShiftState [01:34:00]wFMCommunicate request_size=4 [01:34:00]MH_SAM_APDU [01:34:00]CAPDU: 80 13 01 00 [01:34:00]Write to MH i2c: E2 08 00 A0 12 80 13 01 00 00 00 00 00 2F [01:34:00]Write i2c OK [01:34:00]MH_I2C_Read... [01:34:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:34:00]Read from MH i2c: E2 [01:34:00]MH_I2C_Read... [01:34:00]Read from MH i2c: E2 0E 00 [01:34:00]MH_I2C_Read... [01:34:00]Read from MH i2c: E2 0E 00 A0 12 00 09 00 01 DC 57 B9 66 00 00 00 00 90 00 8D [01:34:00]RAPDU: 09 00 01 DC 57 B9 66 00 00 00 00 90 00 [01:34:00]wFMCommunicate OK [01:34:00]SAM_PROTO_GetShiftState done [01:34:00]FM_GetShiftState done [01:34:00]opened in 1723422684 [01:34:00]opened+sec_in_day 1723509084 [01:34:00]quantity*price = 8000 [01:34:00]sum+1 = 8001 [01:34:00]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 220.00 НСП 1% : 1.95 НДС 12% : 23.37 Наличными: 220.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 3 12.08.2024 01:34 Смена: 447 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52685 ФПД: 217949016693139 /tax-web-control/client/api/v1/ticket?date=20240812T013403&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52685&fm=217949016693139&tin=02508201610067®Number=0000000000090834&sum=22000 0 [01:34:01]StoreToDocumentArchive [01:34:01]shift 447 fd 52685 [01:34:01]save to /storage/0447/doc_00052685 [01:34:01]save last doc name /storage/0447/doc_00052685 to /storage/kkm_last_doc_name [01:34:01]save OK [01:34:01]Clear old archive folders... [01:34:01]ProcessDocumentItem done err = 0, tmpTLVsize=371 [01:34:01]tlvbuf is 01283180 [01:34:01]SAM_PROTO_ClearQueue [01:34:01]wFMCommunicate request_size=4 [01:34:01]MH_SAM_APDU [01:34:01]CAPDU: 80 09 00 00 [01:34:01]Write to MH i2c: E2 08 00 AD 12 80 09 00 00 00 00 00 00 31 [01:34:01]Write i2c OK [01:34:01]MH_I2C_Read... [01:34:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:34:01]Read from MH i2c: E2 [01:34:01]MH_I2C_Read... [01:34:01]Read from MH i2c: E2 03 00 [01:34:01]MH_I2C_Read... [01:34:01]Read from MH i2c: E2 03 00 AD 12 00 90 00 33 [01:34:01]RAPDU: 90 00 [01:34:01]wFMCommunicate OK [01:34:01]SAM_PROTO_ClearQueue done [01:34:01]KKMCreateOFDPacket [01:34:01]OFDProtocolAddRootSTLVToBuf [01:34:01]FM_MakeSignedData [01:34:01]FM_MakeSignedData [01:34:01]SAM_PROTO_SignData [01:34:01]wFMCommunicate request_size=4 [01:34:01]MH_SAM_APDU [01:34:01]CAPDU: 80 0D 01 02 [01:34:01]Write to MH i2c: E2 08 00 AE 12 80 0D 01 02 00 00 00 00 39 [01:34:01]Write i2c OK [01:34:01]MH_I2C_Read... [01:34:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:34:01]Read from MH i2c: E2 [01:34:01]MH_I2C_Read... [01:34:01]Read from MH i2c: E2 03 00 [01:34:01]MH_I2C_Read... [01:34:01]Read from MH i2c: E2 03 00 AE 12 00 90 00 34 [01:34:01]RAPDU: 90 00 [01:34:01]wFMCommunicate OK [01:34:01]wFMCommunicate request_size=255 [01:34:01]MH_SAM_APDU [01:34:01]CAPDU: 80 0D 02 02 FA 03 00 73 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 [01:34:01]Write to MH i2c: E2 02 01 AF 12 80 0D 02 02 FA 00 03 00 73 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 00 E0 [01:34:01]Write i2c OK [01:34:01]MH_I2C_Read... [01:34:01]OFD Sender: No OFD packet to send [01:34:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:34:01]Read from MH i2c: E2 [01:34:01]MH_I2C_Read... [01:34:01]Read from MH i2c: E2 03 00 [01:34:01]MH_I2C_Read... [01:34:01]Read from MH i2c: E2 03 00 AF 12 00 90 00 35 [01:34:01]RAPDU: 90 00 [01:34:01]wFMCommunicate OK [01:34:01]wFMCommunicate request_size=130 [01:34:01]MH_SAM_APDU [01:34:01]CAPDU: 80 0D 02 02 7D 00 01 F3 03 06 00 21 09 00 00 00 00 07 04 06 00 F0 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 8B 66 B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CD CD 00 00 35 04 06 00 C6 39 35 B8 19 93 [01:34:01]Write to MH i2c: E2 85 00 B0 12 80 0D 02 02 7D 00 00 01 F3 03 06 00 21 09 00 00 00 00 07 04 06 00 F0 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 8B 66 B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CD CD 00 00 35 04 06 00 C6 39 35 B8 19 93 00 00 E0 [01:34:01]Write i2c OK [01:34:01]MH_I2C_Read... [01:34:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:34:02]Read from MH i2c: E2 [01:34:02]MH_I2C_Read... [01:34:02]Read from MH i2c: E2 03 00 [01:34:02]MH_I2C_Read... [01:34:02]Read from MH i2c: E2 03 00 B0 12 00 90 00 36 [01:34:02]RAPDU: 90 00 [01:34:02]wFMCommunicate OK [01:34:02]wFMCommunicate request_size=4 [01:34:02]MH_SAM_APDU [01:34:02]CAPDU: 80 0D 03 02 [01:34:02]Write to MH i2c: E2 08 00 B1 12 80 0D 03 02 00 00 00 00 3E [01:34:02]Write i2c OK [01:34:02]MH_I2C_Read... [01:34:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:34:02]Read from MH i2c: E2 [01:34:02]MH_I2C_Read... [01:34:02]Read from MH i2c: E2 0B 00 [01:34:02]MH_I2C_Read... [01:34:02]Read from MH i2c: E2 0B 00 B1 12 00 79 A9 89 74 F5 14 F8 68 90 00 C7 [01:34:02]RAPDU: 79 A9 89 74 F5 14 F8 68 90 00 [01:34:02]wFMCommunicate OK [01:34:02]SAM_PROTO_SignData done [01:34:02]FM_MakeSignedData done [01:34:02]CreateOFDProtocolMessage [01:34:02]wFMCommunicate request_size=4 [01:34:02]MH_SAM_APDU [01:34:02]CAPDU: 80 11 00 00 [01:34:02]Write to MH i2c: E2 08 00 B2 12 80 11 00 00 00 00 00 00 3E [01:34:02]Write i2c OK [01:34:02]MH_I2C_Read... [01:34:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:34:02]Read from MH i2c: E2 [01:34:02]MH_I2C_Read... [01:34:02]Read from MH i2c: E2 17 00 [01:34:02]MH_I2C_Read... [01:34:02]Read from MH i2c: E2 17 00 B2 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 91 [01:34:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [01:34:02]wFMCommunicate OK [01:34:02]CreateOFDProtocolMessage done [01:34:02]OFDSenderStorePacket 52685 [01:34:02]StoreOFDPacket docnum=52685 [01:34:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 87 01 00 00 A5 E0 7F 01 42 80 5A 03 01 00 03 00 73 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 21 09 00 00 00 00 07 04 06 00 F0 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 8B 66 B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CD CD 00 00 35 04 06 00 C6 39 35 B8 19 93 79 A9 89 74 F5 14 F8 68 [01:34:02]CheckFolder [01:34:02]dirname=/storage/ofd_packets [01:34:02]CheckFolder done [01:34:02]ProducePacketName [01:34:02]name=ofd_packets/00052685 [01:34:02]NVStorageSaveData ofd_packets/00052685 [01:34:02]File name is /storage/ofd_packets/00052685 [01:34:02]Write 421 bytes [01:34:02]NVStorageSaveData done [01:34:02]OFDSenderStorePacket done [01:34:02]KKMCreateOFDPacket done [01:34:02]NVStorageSaveData kkm_last_timestamp [01:34:02]File name is /storage/kkm_last_timestamp [01:34:02]Write 4 bytes [01:34:02]NVStorageSaveData done [01:34:02]ExternCall_PrintAddStr [01:34:02]wPrintStart [01:34:02]Write to MH i2c: 01 00 00 B3 12 C5 [01:34:02]Write i2c OK [01:34:02]MH_I2C_Read... [01:34:02]Read from MH i2c: 01 [01:34:02]MH_I2C_Read... [01:34:02]Read from MH i2c: 01 07 00 [01:34:02]MH_I2C_Read... [01:34:02]Read from MH i2c: 01 07 00 B3 12 00 00 00 00 00 FF 0F DA [01:34:02]RasterBufferAndPrint [01:34:02]line Счет N : (3)122815 [01:34:02]line ИНН: 02508201610067 [01:34:02]line Контрольно-Кассовый Чек [01:34:02]line ПРОДАЖА [01:34:02]line Товар: 4870001570057 [01:34:02]line Напиток Pepsi 0,5л [01:34:02]line 1.000 * 80.00 [01:34:02]line = 80.00 [01:34:02]line НДС 12% НСП 1% [01:34:02]line > о реализуемом товаре [01:34:02]line Товар: 48743570 [01:34:02]line Сигареты Winston XStyle Blue [01:34:02]line 1.000 * 140.00 [01:34:02]line = 140.00 [01:34:02]line НДС 12% НСП 1% [01:34:02]line > о реализуемом товаре [01:34:02]line ИТОГО: 220.00 [01:34:02]line НСП 1% : 1.95 [01:34:02]line НДС 12% : 23.37 [01:34:02]line Наличными: 220.00 [01:34:02]line Безнал.: 0.00 [01:34:02]line Место: АЗС № 54 "Партнер Нефть" [01:34:02]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [01:34:02]line СНО: Общий режим [01:34:02]line Чек 3 12.08.2024 01:34 [01:34:02]line Смена: 447 ФФД: 1.0 [01:34:02]line ЗНМ: 0300000007 [01:34:02]line РНМ: 0000000000090834 [01:34:02]line Версия ККМ: 001 [01:34:02]line ФМ: 0000000000874715 [01:34:02]line ФД: 52685 [01:34:02]line ФПД: 217949016693139 [01:34:02]line /tax-web-control/client/api/v1/ticket?date=20240812T013403&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52685&fm=217949016693139&tin=02508201610067®Number=0000000000090834&sum=22000 [01:34:02]line 0 [01:34:02]OFD Sender: Processing packet 52685 [packets to send 55, broken 54] [01:34:02]ProducePacketName [01:34:02]name=ofd_packets/00052685 [01:34:02]OFD Sender: To server: pG, [01:34:02]CommunicateWithHost lk.salyk.kg:30040 [01:34:02]ConnectInit lk.salyk.kg [01:34:02]written 0, free lines is 4095 [01:34:02]Connected sock=10 [01:34:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 87 01 00 00 A5 E0 7F 01 42 80 5A 03 01 00 03 00 73 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 21 09 00 00 00 00 07 04 06 00 F0 55 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 8B 66 B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CD CD 00 00 35 04 06 00 C6 39 35 B8 19 93 79 A9 89 74 F5 14 F8 68 [01:34:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 59 DF 47 00 B7 C8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CD CD 00 00 F4 03 04 00 25 0E B9 66 B6 04 01 00 00 78 03 C3 95 F8 21 14 A3 [01:34:03]CommunicateWithHost err = 0 [01:34:03]CheckOFDResponse [01:34:03]1017 (14) - 77093643461234 [01:34:03]1041 (16) - 0000000000874715 [01:34:03]1040 (4) - 52685 [01:34:03]1012 (4) - 11.08.2024 19:16 [01:34:03]1206 (1) - 0 [01:34:03]OFD Sender: Remove packet 52685 [01:34:03]ProducePacketName [01:34:03]name=ofd_packets/00052685 [01:34:03]NVStorageDeleteData [01:34:03]Write to MH i2c: 01 00 00 E0 12 F2 [01:34:03]Write i2c OK [01:34:03]MH_I2C_Read... [01:34:03]Read from MH i2c: 01 [01:34:03]MH_I2C_Read... [01:34:03]Read from MH i2c: 01 07 00 [01:34:03]MH_I2C_Read... [01:34:03]Read from MH i2c: 01 07 00 E0 12 00 00 00 00 00 7B 0C 80 [01:34:03]RasterBufferAndPrint [01:34:03]line [01:34:03]line [01:34:03]line [01:34:03]line [01:34:03]line [01:34:03]written 0, free lines is 3204 [01:34:03]MH_Cut [01:34:03]Write to MH i2c: D1 01 00 E7 12 01 CB [01:34:03]Write i2c OK [01:34:03]MH_I2C_Read... [01:34:03]Read from MH i2c: D1 [01:34:03]MH_I2C_Read... [01:34:03]Read from MH i2c: D1 01 00 [01:34:03]MH_I2C_Read... [01:34:03]Read from MH i2c: D1 01 00 E7 12 00 CA [01:34:03]Write to MH i2c: 01 00 00 E8 12 FA [01:34:03]Write i2c OK [01:34:03]MH_I2C_Read... [01:34:03]OFD Sender: No OFD packet to send [01:34:03]*** Cut start [01:34:03]*** Purtial cut [01:34:03]*** Stage 1: CUTSNS_PIN = 1 [01:34:04]Read from MH i2c: 01 [01:34:04]MH_I2C_Read... [01:34:04]*** Stop cut motor [01:34:04]*** Cut end [01:34:04]Read from MH i2c: 01 07 00 [01:34:04]MH_I2C_Read... [01:34:04]Read from MH i2c: 01 07 00 E8 12 00 00 00 00 00 FF 0F 0F [01:34:04]process_action close_receipt done [01:34:04]requested_data is exist [01:34:04]produce_requested_data [01:34:04]requested_item fm.sn is exist - process it [01:34:04]wFMCommunicate request_size=4 [01:34:04]MH_SAM_APDU [01:34:04]CAPDU: 80 11 00 00 [01:34:04]Write to MH i2c: E2 08 00 E9 12 80 11 00 00 00 00 00 00 75 [01:34:04]Write i2c OK [01:34:04]MH_I2C_Read... [01:34:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:34:04]Read from MH i2c: E2 [01:34:04]MH_I2C_Read... [01:34:04]Read from MH i2c: E2 17 00 [01:34:04]MH_I2C_Read... [01:34:04]Read from MH i2c: E2 17 00 E9 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 C8 [01:34:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [01:34:04]wFMCommunicate OK [01:34:04]requested_item fd.num is exist - process it [01:34:04]SAM_PROTO_GetFieldsCounters [01:34:04]wFMCommunicate request_size=4 [01:34:04]MH_SAM_APDU [01:34:04]CAPDU: 80 13 00 00 [01:34:04]Write to MH i2c: E2 08 00 EA 12 80 13 00 00 00 00 00 00 78 [01:34:04]Write i2c OK [01:34:04]MH_I2C_Read... [01:34:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:34:04]Read from MH i2c: E2 [01:34:04]MH_I2C_Read... [01:34:04]Read from MH i2c: E2 62 00 [01:34:04]MH_I2C_Read... [01:34:04]Read from MH i2c: E2 62 00 EA 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 CD CD 00 00 0E 04 04 00 BF 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 FB [01:34: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 CD CD 00 00 0E 04 04 00 BF 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:34:04]wFMCommunicate OK [01:34:04]SAM_PROTO_GetFieldsCounters done [01:34:04]requested_item shift.num is exist - process it [01:34:04]requested_item shift.opened is exist - process it [01:34:04]req_shift_opened [01:34:04]FM_GetShiftState [01:34:04]SAM_PROTO_GetShiftState [01:34:04]wFMCommunicate request_size=4 [01:34:04]MH_SAM_APDU [01:34:04]CAPDU: 80 13 01 00 [01:34:04]Write to MH i2c: E2 08 00 EB 12 80 13 01 00 00 00 00 00 7A [01:34:04]Write i2c OK [01:34:04]MH_I2C_Read... [01:34:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:34:04]Read from MH i2c: E2 [01:34:04]MH_I2C_Read... [01:34:04]Read from MH i2c: E2 0E 00 [01:34:04]MH_I2C_Read... [01:34:04]Read from MH i2c: E2 0E 00 EB 12 00 09 00 01 DC 57 B9 66 00 00 00 00 90 00 D8 [01:34:04]RAPDU: 09 00 01 DC 57 B9 66 00 00 00 00 90 00 [01:34:04]wFMCommunicate OK [01:34:04]SAM_PROTO_GetShiftState done [01:34:04]FM_GetShiftState done [01:34:04]req_shift_opened done [01:34:04]requested_item shift.open_date is exist - process it [01:34:04]req_shift_open_date [01:34:04]req_shift_open_date done [01:34:04]produce_requested_data done [01:34:04]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52685,"shift.num":447,"shift.opened":1,"shift.open_date":1723422684} [01:34:04]process_action_free close_receipt [01:34:04]json_value_free [01:34:04]json_value_free done [01:34:04]process_json_proto returns [01:34:04]Send response to host [01:34:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52685,"shift.num":447,"shift.opened":1,"shift.open_date":1723422684}}} [01:34:04]free response buf [01:34:04]execute_script done [01:34:04]execute_script returns [01:34:04]free content buf [01:34:04]Sock 7.Close socket [01:34:04]Sock 7.Thread stoped [01:34:08]OFD Sender: No OFD packet to send [01:34:13]OFD Sender: No OFD packet to send [01:34:18]OFD Sender: No OFD packet to send [01:34:23]OFD Sender: No OFD packet to send [01:34:28]OFD Sender: No OFD packet to send [01:34:33]OFD Sender: No OFD packet to send [01:34:38]OFD Sender: No OFD packet to send [01:34:43]OFD Sender: No OFD packet to send [01:34:48]OFD Sender: No OFD packet to send [01:34:53]OFD Sender: No OFD packet to send [01:34:58]OFD Sender: No OFD packet to send [01:35:03]OFD Sender: No OFD packet to send [01:35:08]OFD Sender: No OFD packet to send [01:35:13]OFD Sender: No OFD packet to send [01:35:18]OFD Sender: No OFD packet to send [01:35:23]OFD Sender: No OFD packet to send [01:35:28]OFD Sender: No OFD packet to send [01:35:33]OFD Sender: No OFD packet to send [01:35:38]OFD Sender: No OFD packet to send [01:35:43]OFD Sender: No OFD packet to send [01:35:48]OFD Sender: No OFD packet to send [01:35:53]OFD Sender: No OFD packet to send [01:35:58]OFD Sender: No OFD packet to send [01:36:03]OFD Sender: No OFD packet to send [01:36:08]OFD Sender: No OFD packet to send [01:36:13]OFD Sender: No OFD packet to send [01:36:18]OFD Sender: No OFD packet to send [01:36:23]OFD Sender: No OFD packet to send [01:36:28]OFD Sender: No OFD packet to send [01:36:33]OFD Sender: No OFD packet to send [01:36:38]OFD Sender: No OFD packet to send [01:36:43]OFD Sender: No OFD packet to send [01:36:48]OFD Sender: No OFD packet to send [01:36:53]OFD Sender: No OFD packet to send [01:36:58]OFD Sender: No OFD packet to send [01:37:03]OFD Sender: No OFD packet to send [01:37:08]OFD Sender: No OFD packet to send [01:37:13]OFD Sender: No OFD packet to send [01:37:18]OFD Sender: No OFD packet to send [01:37:23]OFD Sender: No OFD packet to send [01:37:28]OFD Sender: No OFD packet to send [01:37:33]OFD Sender: No OFD packet to send [01:37:38]OFD Sender: No OFD packet to send [01:37:43]OFD Sender: No OFD packet to send [01:37:48]OFD Sender: No OFD packet to send [01:37:53]OFD Sender: No OFD packet to send [01:37:58]OFD Sender: No OFD packet to send [01:38:03]OFD Sender: No OFD packet to send [01:38:08]OFD Sender: No OFD packet to send [01:38:13]OFD Sender: No OFD packet to send [01:38:18]OFD Sender: No OFD packet to send [01:38:23]OFD Sender: No OFD packet to send [01:38:28]OFD Sender: No OFD packet to send [01:38:33]OFD Sender: No OFD packet to send [01:38:38]OFD Sender: No OFD packet to send [01:38:43]OFD Sender: No OFD packet to send [01:38:48]OFD Sender: No OFD packet to send [01:38:53]OFD Sender: No OFD packet to send [01:38:58]OFD Sender: No OFD packet to send [01:39:03]OFD Sender: No OFD packet to send [01:39:08]OFD Sender: No OFD packet to send [01:39:13]OFD Sender: No OFD packet to send [01:39:18]OFD Sender: No OFD packet to send [01:39:23]OFD Sender: No OFD packet to send [01:39:28]OFD Sender: No OFD packet to send [01:39:33]OFD Sender: No OFD packet to send [01:39:38]OFD Sender: No OFD packet to send [01:39:43]OFD Sender: No OFD packet to send [01:39:48]OFD Sender: No OFD packet to send [01:39:53]OFD Sender: No OFD packet to send [01:39:58]OFD Sender: No OFD packet to send [01:40:03]OFD Sender: No OFD packet to send [01:40:08]OFD Sender: No OFD packet to send [01:40:13]OFD Sender: No OFD packet to send [01:40:18]OFD Sender: No OFD packet to send [01:40:23]OFD Sender: No OFD packet to send [01:40:28]OFD Sender: No OFD packet to send [01:40:33]OFD Sender: No OFD packet to send [01:40:38]OFD Sender: No OFD packet to send [01:40:43]OFD Sender: No OFD packet to send [01:40:48]OFD Sender: No OFD packet to send [01:40:53]OFD Sender: No OFD packet to send [01:40:58]OFD Sender: No OFD packet to send [01:41:03]OFD Sender: No OFD packet to send [01:41:08]OFD Sender: No OFD packet to send [01:41:13]OFD Sender: No OFD packet to send [01:41:18]OFD Sender: No OFD packet to send [01:41:23]OFD Sender: No OFD packet to send [01:41:28]OFD Sender: No OFD packet to send [01:41:33]OFD Sender: No OFD packet to send [01:41:38]OFD Sender: No OFD packet to send [01:41:43]OFD Sender: No OFD packet to send [01:41:48]OFD Sender: No OFD packet to send [01:41:53]OFD Sender: No OFD packet to send [01:41:58]OFD Sender: No OFD packet to send [01:42:03]OFD Sender: No OFD packet to send [01:42:08]OFD Sender: No OFD packet to send [01:42:13]OFD Sender: No OFD packet to send [01:42:18]OFD Sender: No OFD packet to send [01:42:23]OFD Sender: No OFD packet to send [01:42:28]OFD Sender: No OFD packet to send [01:42:33]OFD Sender: No OFD packet to send [01:42:38]OFD Sender: No OFD packet to send [01:42:43]OFD Sender: No OFD packet to send [01:42:48]OFD Sender: No OFD packet to send [01:42:54]OFD Sender: No OFD packet to send [01:42:59]OFD Sender: No OFD packet to send [01:43:04]OFD Sender: No OFD packet to send [01:43:09]OFD Sender: No OFD packet to send [01:43:14]OFD Sender: No OFD packet to send [01:43:19]OFD Sender: No OFD packet to send [01:43:24]OFD Sender: No OFD packet to send [01:43:29]OFD Sender: No OFD packet to send [01:43:34]OFD Sender: No OFD packet to send [01:43:39]OFD Sender: No OFD packet to send [01:43:44]OFD Sender: No OFD packet to send [01:43:49]OFD Sender: No OFD packet to send [01:43:54]OFD Sender: No OFD packet to send [01:43:59]OFD Sender: No OFD packet to send [01:44:04]OFD Sender: No OFD packet to send [01:44:09]OFD Sender: No OFD packet to send [01:44:14]OFD Sender: No OFD packet to send [01:44:19]OFD Sender: No OFD packet to send [01:44:24]OFD Sender: No OFD packet to send [01:44:29]OFD Sender: No OFD packet to send [01:44:34]OFD Sender: No OFD packet to send [01:44:39]OFD Sender: No OFD packet to send [01:44:44]OFD Sender: No OFD packet to send [01:44:49]OFD Sender: No OFD packet to send [01:44:54]OFD Sender: No OFD packet to send [01:44:59]OFD Sender: No OFD packet to send [01:45:04]OFD Sender: No OFD packet to send [01:45:09]OFD Sender: No OFD packet to send [01:45:14]OFD Sender: No OFD packet to send [01:45:19]OFD Sender: No OFD packet to send [01:45:24]OFD Sender: No OFD packet to send [01:45:29]OFD Sender: No OFD packet to send [01:45:34]OFD Sender: No OFD packet to send [01:45:39]OFD Sender: No OFD packet to send [01:45:44]OFD Sender: No OFD packet to send [01:45:49]OFD Sender: No OFD packet to send [01:45:54]OFD Sender: No OFD packet to send [01:45:59]OFD Sender: No OFD packet to send [01:46:04]OFD Sender: No OFD packet to send [01:46:09]OFD Sender: No OFD packet to send [01:46:14]OFD Sender: No OFD packet to send [01:46:19]OFD Sender: No OFD packet to send [01:46:24]OFD Sender: No OFD packet to send [01:46:29]OFD Sender: No OFD packet to send [01:46:34]OFD Sender: No OFD packet to send [01:46:39]OFD Sender: No OFD packet to send [01:46:44]OFD Sender: No OFD packet to send [01:46:49]OFD Sender: No OFD packet to send [01:46:54]OFD Sender: No OFD packet to send [01:46:59]OFD Sender: No OFD packet to send [01:47:04]OFD Sender: No OFD packet to send [01:47:09]OFD Sender: No OFD packet to send [01:47:14]OFD Sender: No OFD packet to send [01:47:19]OFD Sender: No OFD packet to send [01:47:24]OFD Sender: No OFD packet to send [01:47:29]OFD Sender: No OFD packet to send [01:47:34]OFD Sender: No OFD packet to send [01:47:39]OFD Sender: No OFD packet to send [01:47:44]OFD Sender: No OFD packet to send [01:47:49]OFD Sender: No OFD packet to send [01:47:54]OFD Sender: No OFD packet to send [01:47:59]OFD Sender: No OFD packet to send [01:48:04]OFD Sender: No OFD packet to send [01:48:09]OFD Sender: No OFD packet to send [01:48:14]OFD Sender: No OFD packet to send [01:48:19]OFD Sender: No OFD packet to send [01:48:24]OFD Sender: No OFD packet to send [01:48:29]OFD Sender: No OFD packet to send [01:48:34]OFD Sender: No OFD packet to send [01:48:39]OFD Sender: No OFD packet to send [01:48:44]OFD Sender: No OFD packet to send [01:48:49]OFD Sender: No OFD packet to send [01:48:54]OFD Sender: No OFD packet to send [01:48:59]OFD Sender: No OFD packet to send [01:49:04]OFD Sender: No OFD packet to send [01:49:09]OFD Sender: No OFD packet to send [01:49:14]OFD Sender: No OFD packet to send [01:49:19]OFD Sender: No OFD packet to send [01:49:24]OFD Sender: No OFD packet to send [01:49:29]OFD Sender: No OFD packet to send [01:49:34]OFD Sender: No OFD packet to send [01:49:39]OFD Sender: No OFD packet to send [01:49:44]OFD Sender: No OFD packet to send [01:49:49]OFD Sender: No OFD packet to send [01:49:54]OFD Sender: No OFD packet to send [01:49:59]OFD Sender: No OFD packet to send [01:50:04]OFD Sender: No OFD packet to send [01:50:09]OFD Sender: No OFD packet to send [01:50:14]OFD Sender: No OFD packet to send [01:50:19]OFD Sender: No OFD packet to send [01:50:24]OFD Sender: No OFD packet to send [01:50:29]OFD Sender: No OFD packet to send [01:50:34]OFD Sender: No OFD packet to send [01:50:39]OFD Sender: No OFD packet to send [01:50:44]OFD Sender: No OFD packet to send [01:50:49]OFD Sender: No OFD packet to send [01:50:54]OFD Sender: No OFD packet to send [01:50:59]OFD Sender: No OFD packet to send [01:51:04]OFD Sender: No OFD packet to send [01:51:09]OFD Sender: No OFD packet to send [01:51:14]OFD Sender: No OFD packet to send [01:51:19]OFD Sender: No OFD packet to send [01:51:24]OFD Sender: No OFD packet to send [01:51:29]OFD Sender: No OFD packet to send [01:51:34]OFD Sender: No OFD packet to send [01:51:39]OFD Sender: No OFD packet to send [01:51:44]OFD Sender: No OFD packet to send [01:51:49]OFD Sender: No OFD packet to send [01:51:54]OFD Sender: No OFD packet to send [01:51:59]OFD Sender: No OFD packet to send [01:52:04]OFD Sender: No OFD packet to send [01:52:09]OFD Sender: No OFD packet to send [01:52:14]OFD Sender: No OFD packet to send [01:52:19]OFD Sender: No OFD packet to send [01:52:24]OFD Sender: No OFD packet to send [01:52:29]OFD Sender: No OFD packet to send [01:52:34]OFD Sender: No OFD packet to send [01:52:39]OFD Sender: No OFD packet to send [01:52:44]OFD Sender: No OFD packet to send [01:52:49]OFD Sender: No OFD packet to send [01:52:54]OFD Sender: No OFD packet to send [01:52:59]OFD Sender: No OFD packet to send [01:53:04]OFD Sender: No OFD packet to send [01:53:09]OFD Sender: No OFD packet to send [01:53:14]OFD Sender: No OFD packet to send [01:53:19]OFD Sender: No OFD packet to send [01:53:24]OFD Sender: No OFD packet to send [01:53:29]OFD Sender: No OFD packet to send [01:53:34]OFD Sender: No OFD packet to send [01:53:36]accept exits with 9 [01:53:36]New connection [01:53:36]New thread 3067149668 created [01:53:36]Thread 3067293028 joined [01:53:36]Waiting for new connection... [01:53:36] Sock 9.Parse request [01:53:36]Sock 9.Check first char [01:53:36]Sock 9.First char is OK [01:53:36]request: POST /json_proto HTTP/1.0 [01:53:36]Method: POST [01:53:36]URL: /json_proto [01:53:36]Method is POST - this is cgi request [01:53:36]url: /json_proto [01:53:36]query_string will be loaded in cgi processing [01:53:36]execute_cgi json_proto POST (null) [01:53:36]execute_cgi path=json_proto method=POST [01:53:36]POST find Content-Length [01:53:36]Host: 172.17.60.7:8080 [01:53:36]Content-Length: 626 [01:53:36]Content-Type: application/json [01:53:36] [01:53:36]POST finish read [01:53:36]Found Content-Length = 626 [01:53:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122816", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:53:36]execute_script... [01:53:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122816", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:53:36]POST & json_proto [01:53:36]process_json_proto [01:53:36]json parsed OK: [01:53:36]protocol is kg_v1.0 [01:53:36]action value=close_receipt [01:53:36]process_action close_receipt [01:53:36]cmd_close_receipt [01:53:36]MH_GetDate [01:53:36]Write to MH i2c: F0 00 00 EC 12 ED [01:53:36]Write i2c OK [01:53:36]MH_I2C_Read... [01:53:36]Read from MH i2c: F0 [01:53:36]MH_I2C_Read... [01:53:36]Read from MH i2c: F0 09 00 [01:53:36]MH_I2C_Read... [01:53:36]Read from MH i2c: F0 09 00 EC 12 00 23 6B B9 66 63 9B 67 64 6C [01:53:36]GetLastDocTimeStamp 1723426443 [01:53:36]current date 1723427619 [01:53:36]FM_GetShiftState [01:53:36]SAM_PROTO_GetShiftState [01:53:36]wFMCommunicate request_size=4 [01:53:36]MH_SAM_APDU [01:53:36]CAPDU: 80 13 01 00 [01:53:36]Write to MH i2c: E2 08 00 ED 12 80 13 01 00 00 00 00 00 7C [01:53:36]Write i2c OK [01:53:36]MH_I2C_Read... [01:53:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:53:36]Read from MH i2c: E2 [01:53:36]MH_I2C_Read... [01:53:36]Read from MH i2c: E2 0E 00 [01:53:36]MH_I2C_Read... [01:53:36]Read from MH i2c: E2 0E 00 ED 12 00 09 00 01 DC 57 B9 66 00 00 00 00 90 00 DA [01:53:36]RAPDU: 09 00 01 DC 57 B9 66 00 00 00 00 90 00 [01:53:36]wFMCommunicate OK [01:53:36]SAM_PROTO_GetShiftState done [01:53:36]FM_GetShiftState done [01:53:36]opened in 1723422684 [01:53:36]opened+sec_in_day 1723509084 [01:53:36]quantity*price = 13500 [01:53:36]sum+1 = 13501 [01:53:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 4 12.08.2024 01:53 Смена: 447 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52686 ФПД: 224564093808520 /tax-web-control/client/api/v1/ticket?date=20240812T015339&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52686&fm=224564093808520&tin=02508201610067®Number=0000000000090834&sum=13500 0 [01:53:37]StoreToDocumentArchive [01:53:37]shift 447 fd 52686 [01:53:37]save to /storage/0447/doc_00052686 [01:53:37]save last doc name /storage/0447/doc_00052686 to /storage/kkm_last_doc_name [01:53:37]save OK [01:53:37]Clear old archive folders... [01:53:37]ProcessDocumentItem done err = 0, tmpTLVsize=278 [01:53:37]tlvbuf is 01265C80 [01:53:37]SAM_PROTO_ClearQueue [01:53:37]wFMCommunicate request_size=4 [01:53:37]MH_SAM_APDU [01:53:37]CAPDU: 80 09 00 00 [01:53:37]Write to MH i2c: E2 08 00 FA 12 80 09 00 00 00 00 00 00 7E [01:53:37]Write i2c OK [01:53:37]MH_I2C_Read... [01:53:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:53:37]Read from MH i2c: E2 [01:53:37]MH_I2C_Read... [01:53:37]Read from MH i2c: E2 03 00 [01:53:37]MH_I2C_Read... [01:53:37]Read from MH i2c: E2 03 00 FA 12 00 90 00 80 [01:53:37]RAPDU: 90 00 [01:53:37]wFMCommunicate OK [01:53:37]SAM_PROTO_ClearQueue done [01:53:37]KKMCreateOFDPacket [01:53:37]OFDProtocolAddRootSTLVToBuf [01:53:37]FM_MakeSignedData [01:53:37]FM_MakeSignedData [01:53:37]SAM_PROTO_SignData [01:53:37]wFMCommunicate request_size=4 [01:53:37]MH_SAM_APDU [01:53:37]CAPDU: 80 0D 01 02 [01:53:37]Write to MH i2c: E2 08 00 FB 12 80 0D 01 02 00 00 00 00 86 [01:53:37]Write i2c OK [01:53:37]MH_I2C_Read... [01:53:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:53:37]Read from MH i2c: E2 [01:53:37]MH_I2C_Read... [01:53:37]Read from MH i2c: E2 03 00 [01:53:37]MH_I2C_Read... [01:53:37]Read from MH i2c: E2 03 00 FB 12 00 90 00 81 [01:53:37]RAPDU: 90 00 [01:53:37]wFMCommunicate OK [01:53:37]wFMCommunicate request_size=255 [01:53:37]MH_SAM_APDU [01:53:37]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 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 23 6B B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 [01:53:37]Write to MH i2c: E2 02 01 FC 12 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 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 23 6B B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 00 00 C0 [01:53:37]Write i2c OK [01:53:37]MH_I2C_Read... [01:53:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:53:37]Read from MH i2c: E2 [01:53:37]MH_I2C_Read... [01:53:37]Read from MH i2c: E2 03 00 [01:53:37]MH_I2C_Read... [01:53:37]Read from MH i2c: E2 03 00 FC 12 00 90 00 82 [01:53:37]RAPDU: 90 00 [01:53:37]wFMCommunicate OK [01:53:37]wFMCommunicate request_size=37 [01:53:37]MH_SAM_APDU [01:53:37]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CE CD 00 00 35 04 06 00 CC 3D 67 0A 6F 88 [01:53:37]Write to MH i2c: E2 28 00 FD 12 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CE CD 00 00 35 04 06 00 CC 3D 67 0A 6F 88 00 00 EC [01:53:37]Write i2c OK [01:53:37]MH_I2C_Read... [01:53:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:53:37]Read from MH i2c: E2 [01:53:37]MH_I2C_Read... [01:53:37]Read from MH i2c: E2 03 00 [01:53:37]MH_I2C_Read... [01:53:37]Read from MH i2c: E2 03 00 FD 12 00 90 00 83 [01:53:37]RAPDU: 90 00 [01:53:37]wFMCommunicate OK [01:53:37]wFMCommunicate request_size=4 [01:53:37]MH_SAM_APDU [01:53:37]CAPDU: 80 0D 03 02 [01:53:37]Write to MH i2c: E2 08 00 FE 12 80 0D 03 02 00 00 00 00 8B [01:53:37]Write i2c OK [01:53:37]MH_I2C_Read... [01:53:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:53:37]Read from MH i2c: E2 [01:53:37]MH_I2C_Read... [01:53:37]Read from MH i2c: E2 0B 00 [01:53:37]MH_I2C_Read... [01:53:37]Read from MH i2c: E2 0B 00 FE 12 00 3A 96 DC 67 67 EA B1 9E 90 00 3F [01:53:37]RAPDU: 3A 96 DC 67 67 EA B1 9E 90 00 [01:53:37]wFMCommunicate OK [01:53:37]SAM_PROTO_SignData done [01:53:37]FM_MakeSignedData done [01:53:37]CreateOFDProtocolMessage [01:53:37]wFMCommunicate request_size=4 [01:53:37]MH_SAM_APDU [01:53:37]CAPDU: 80 11 00 00 [01:53:37]Write to MH i2c: E2 08 00 FF 12 80 11 00 00 00 00 00 00 8B [01:53:37]Write i2c OK [01:53:37]MH_I2C_Read... [01:53:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:53:37]Read from MH i2c: E2 [01:53:37]MH_I2C_Read... [01:53:37]Read from MH i2c: E2 17 00 [01:53:37]MH_I2C_Read... [01:53:37]Read from MH i2c: E2 17 00 FF 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 DE [01:53:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [01:53:37]wFMCommunicate OK [01:53:37]CreateOFDProtocolMessage done [01:53:37]OFDSenderStorePacket 52686 [01:53:37]StoreOFDPacket docnum=52686 [01:53:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2A 01 00 00 F6 8E 22 01 A1 6F 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 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 23 6B B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CE CD 00 00 35 04 06 00 CC 3D 67 0A 6F 88 3A 96 DC 67 67 EA B1 9E [01:53:37]CheckFolder [01:53:37]dirname=/storage/ofd_packets [01:53:37]CheckFolder done [01:53:37]ProducePacketName [01:53:37]name=ofd_packets/00052686 [01:53:37]NVStorageSaveData ofd_packets/00052686 [01:53:37]File name is /storage/ofd_packets/00052686 [01:53:37]Write 328 bytes [01:53:37]NVStorageSaveData done [01:53:37]OFDSenderStorePacket done [01:53:37]KKMCreateOFDPacket done [01:53:37]NVStorageSaveData kkm_last_timestamp [01:53:37]File name is /storage/kkm_last_timestamp [01:53:37]Write 4 bytes [01:53:37]NVStorageSaveData done [01:53:37]ExternCall_PrintAddStr [01:53:37]wPrintStart [01:53:37]Write to MH i2c: 01 00 00 00 13 13 [01:53:37]Write i2c OK [01:53:37]MH_I2C_Read... [01:53:37]Read from MH i2c: 01 [01:53:37]MH_I2C_Read... [01:53:37]Read from MH i2c: 01 07 00 [01:53:37]MH_I2C_Read... [01:53:37]Read from MH i2c: 01 07 00 00 13 00 00 00 00 00 FF 0F 28 [01:53:37]RasterBufferAndPrint [01:53:37]line Счет N : (3)122816 [01:53:37]line ИНН: 02508201610067 [01:53:37]line Контрольно-Кассовый Чек [01:53:37]line ПРОДАЖА [01:53:37]line Товар: 48741224 [01:53:37]line Сигареты Winston Super Slims Blue [01:53:37]line 1.000 * 135.00 [01:53:37]line = 135.00 [01:53:37]line НДС 12% НСП 1% [01:53:37]line > о реализуемом товаре [01:53:37]line ИТОГО: 135.00 [01:53:37]line НСП 1% : 1.19 [01:53:37]line НДС 12% : 14.34 [01:53:37]line Наличными: 135.00 [01:53:37]line Безнал.: 0.00 [01:53:37]line Место: АЗС № 54 "Партнер Нефть" [01:53:37]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [01:53:37]line СНО: Общий режим [01:53:37]line Чек 4 12.08.2024 01:53 [01:53:37]line Смена: 447 ФФД: 1.0 [01:53:37]line ЗНМ: 0300000007 [01:53:37]line РНМ: 0000000000090834 [01:53:37]line Версия ККМ: 001 [01:53:37]line ФМ: 0000000000874715 [01:53:37]line ФД: 52686 [01:53:37]line ФПД: 224564093808520 [01:53:38]line /tax-web-control/client/api/v1/ticket?date=20240812T015339&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52686&fm=224564093808520&tin=02508201610067®Number=0000000000090834&sum=13500 [01:53:38]line 0 [01:53:38]OFD Sender: Processing packet 52686 [packets to send 55, broken 54] [01:53:38]ProducePacketName [01:53:38]name=ofd_packets/00052686 [01:53:38]OFD Sender: To server: pG, [01:53:38]CommunicateWithHost lk.salyk.kg:30040 [01:53:38]ConnectInit lk.salyk.kg [01:53:38]written 0, free lines is 4095 [01:53:38]Connected sock=10 [01:53:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 2A 01 00 00 F6 8E 22 01 A1 6F 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 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 23 6B B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CE CD 00 00 35 04 06 00 CC 3D 67 0A 6F 88 3A 96 DC 67 67 EA B1 9E [01:53:38]Write to MH i2c: 01 00 00 28 13 3B [01:53:38]Write i2c OK [01:53:38]MH_I2C_Read... [01:53:38]Read from MH i2c: 01 [01:53:38]MH_I2C_Read... [01:53:38]Read from MH i2c: 01 07 00 [01:53:38]MH_I2C_Read... [01:53:38]Read from MH i2c: 01 07 00 28 13 00 00 00 00 00 CC 0C 1A [01:53:38]RasterBufferAndPrint [01:53:38]line [01:53:38]line [01:53:38]line [01:53:38]line [01:53:38]line [01:53:38]written 0, free lines is 3280 [01:53:38]MH_Cut [01:53:38]Write to MH i2c: D1 01 00 2F 13 01 14 [01:53:38]Write i2c OK [01:53:38]MH_I2C_Read... [01:53:38]Read from MH i2c: D1 [01:53:38]MH_I2C_Read... [01:53:38]Read from MH i2c: D1 01 00 [01:53:38]MH_I2C_Read... [01:53:38]Read from MH i2c: D1 01 00 2F 13 00 13 [01:53:38]Write to MH i2c: 01 00 00 30 13 43 [01:53:38]Write i2c OK [01:53:38]MH_I2C_Read... [01:53:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 7A 7D 47 00 75 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 34 37 31 35 10 04 04 00 CE CD 00 00 F4 03 04 00 BD 12 B9 66 B6 04 01 00 00 34 54 56 4E CE 6F 74 09 [01:53:38]CommunicateWithHost err = 0 [01:53:38]CheckOFDResponse [01:53:38]1017 (14) - 77093643461234 [01:53:38]1041 (16) - 0000000000874715 [01:53:38]1040 (4) - 52686 [01:53:38]1012 (4) - 11.08.2024 19:36 [01:53:38]1206 (1) - 0 [01:53:38]OFD Sender: Remove packet 52686 [01:53:38]ProducePacketName [01:53:38]name=ofd_packets/00052686 [01:53:38]NVStorageDeleteData [01:53:39]OFD Sender: No OFD packet to send [01:53:39]*** Cut start [01:53:39]*** Purtial cut [01:53:39]*** Stage 1: CUTSNS_PIN = 1 [01:53:39]Read from MH i2c: 01 [01:53:39]MH_I2C_Read... [01:53:39]*** Stop cut motor [01:53:39]*** Cut end [01:53:39]Read from MH i2c: 01 07 00 [01:53:39]MH_I2C_Read... [01:53:39]Read from MH i2c: 01 07 00 30 13 00 00 00 00 00 FF 0F 58 [01:53:39]process_action close_receipt done [01:53:39]requested_data is exist [01:53:39]produce_requested_data [01:53:39]requested_item fm.sn is exist - process it [01:53:39]wFMCommunicate request_size=4 [01:53:39]MH_SAM_APDU [01:53:39]CAPDU: 80 11 00 00 [01:53:39]Write to MH i2c: E2 08 00 31 13 80 11 00 00 00 00 00 00 BE [01:53:39]Write i2c OK [01:53:39]MH_I2C_Read... [01:53:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:53:39]Read from MH i2c: E2 [01:53:39]MH_I2C_Read... [01:53:39]Read from MH i2c: E2 17 00 [01:53:39]MH_I2C_Read... [01:53:39]Read from MH i2c: E2 17 00 31 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 11 [01:53:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [01:53:39]wFMCommunicate OK [01:53:39]requested_item fd.num is exist - process it [01:53:39]SAM_PROTO_GetFieldsCounters [01:53:39]wFMCommunicate request_size=4 [01:53:39]MH_SAM_APDU [01:53:39]CAPDU: 80 13 00 00 [01:53:39]Write to MH i2c: E2 08 00 32 13 80 13 00 00 00 00 00 00 C1 [01:53:39]Write i2c OK [01:53:39]MH_I2C_Read... [01:53:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:53:39]Read from MH i2c: E2 [01:53:39]MH_I2C_Read... [01:53:39]Read from MH i2c: E2 62 00 [01:53:39]MH_I2C_Read... [01:53:39]Read from MH i2c: E2 62 00 32 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 CE CD 00 00 0E 04 04 00 BF 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 48 [01:53:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 CE CD 00 00 0E 04 04 00 BF 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:53:39]wFMCommunicate OK [01:53:39]SAM_PROTO_GetFieldsCounters done [01:53:39]requested_item shift.num is exist - process it [01:53:39]requested_item shift.opened is exist - process it [01:53:39]req_shift_opened [01:53:39]FM_GetShiftState [01:53:39]SAM_PROTO_GetShiftState [01:53:39]wFMCommunicate request_size=4 [01:53:39]MH_SAM_APDU [01:53:39]CAPDU: 80 13 01 00 [01:53:39]Write to MH i2c: E2 08 00 33 13 80 13 01 00 00 00 00 00 C3 [01:53:39]Write i2c OK [01:53:39]MH_I2C_Read... [01:53:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:53:39]Read from MH i2c: E2 [01:53:39]MH_I2C_Read... [01:53:39]Read from MH i2c: E2 0E 00 [01:53:39]MH_I2C_Read... [01:53:39]Read from MH i2c: E2 0E 00 33 13 00 09 00 01 DC 57 B9 66 00 00 00 00 90 00 21 [01:53:39]RAPDU: 09 00 01 DC 57 B9 66 00 00 00 00 90 00 [01:53:39]wFMCommunicate OK [01:53:39]SAM_PROTO_GetShiftState done [01:53:39]FM_GetShiftState done [01:53:39]req_shift_opened done [01:53:39]requested_item shift.open_date is exist - process it [01:53:39]req_shift_open_date [01:53:39]req_shift_open_date done [01:53:39]produce_requested_data done [01:53:39]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52686,"shift.num":447,"shift.opened":1,"shift.open_date":1723422684} [01:53:39]process_action_free close_receipt [01:53:39]json_value_free [01:53:39]json_value_free done [01:53:39]process_json_proto returns [01:53:39]Send response to host [01:53:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52686,"shift.num":447,"shift.opened":1,"shift.open_date":1723422684}}} [01:53:39]free response buf [01:53:39]execute_script done [01:53:39]execute_script returns [01:53:39]free content buf [01:53:39]Sock 9.Close socket [01:53:39]Sock 9.Thread stoped [01:53:44]OFD Sender: No OFD packet to send [01:53:49]OFD Sender: No OFD packet to send [01:53:54]OFD Sender: No OFD packet to send [01:53:59]OFD Sender: No OFD packet to send [01:54:04]OFD Sender: No OFD packet to send [01:54:09]OFD Sender: No OFD packet to send [01:54:14]OFD Sender: No OFD packet to send [01:54:19]OFD Sender: No OFD packet to send [01:54:24]OFD Sender: No OFD packet to send [01:54:29]OFD Sender: No OFD packet to send [01:54:34]OFD Sender: No OFD packet to send [01:54:39]OFD Sender: No OFD packet to send [01:54:44]OFD Sender: No OFD packet to send [01:54:49]OFD Sender: No OFD packet to send [01:54:54]OFD Sender: No OFD packet to send [01:54:59]OFD Sender: No OFD packet to send [01:55:04]OFD Sender: No OFD packet to send [01:55:09]OFD Sender: No OFD packet to send [01:55:14]OFD Sender: No OFD packet to send [01:55:19]OFD Sender: No OFD packet to send [01:55:24]OFD Sender: No OFD packet to send [01:55:29]OFD Sender: No OFD packet to send [01:55:34]OFD Sender: No OFD packet to send [01:55:39]OFD Sender: No OFD packet to send [01:55:44]OFD Sender: No OFD packet to send [01:55:49]OFD Sender: No OFD packet to send [01:55:54]OFD Sender: No OFD packet to send [01:55:59]OFD Sender: No OFD packet to send [01:56:04]OFD Sender: No OFD packet to send [01:56:09]OFD Sender: No OFD packet to send [01:56:14]OFD Sender: No OFD packet to send [01:56:19]OFD Sender: No OFD packet to send [01:56:24]OFD Sender: No OFD packet to send [01:56:29]OFD Sender: No OFD packet to send [01:56:34]OFD Sender: No OFD packet to send [01:56:39]OFD Sender: No OFD packet to send [01:56:44]OFD Sender: No OFD packet to send [01:56:49]OFD Sender: No OFD packet to send [01:56:54]OFD Sender: No OFD packet to send [01:56:59]OFD Sender: No OFD packet to send [01:57:04]OFD Sender: No OFD packet to send [01:57:09]OFD Sender: No OFD packet to send [01:57:14]OFD Sender: No OFD packet to send [01:57:19]OFD Sender: No OFD packet to send [01:57:24]OFD Sender: No OFD packet to send [01:57:29]OFD Sender: No OFD packet to send [01:57:34]OFD Sender: No OFD packet to send [01:57:39]OFD Sender: No OFD packet to send [01:57:44]OFD Sender: No OFD packet to send [01:57:49]OFD Sender: No OFD packet to send [01:57:54]OFD Sender: No OFD packet to send [01:57:59]OFD Sender: No OFD packet to send [01:58:04]OFD Sender: No OFD packet to send [01:58:09]OFD Sender: No OFD packet to send [01:58:14]OFD Sender: No OFD packet to send [01:58:19]OFD Sender: No OFD packet to send [01:58:24]OFD Sender: No OFD packet to send [01:58:29]OFD Sender: No OFD packet to send [01:58:34]OFD Sender: No OFD packet to send [01:58:39]OFD Sender: No OFD packet to send [01:58:44]OFD Sender: No OFD packet to send [01:58:49]OFD Sender: No OFD packet to send [01:58:54]OFD Sender: No OFD packet to send [01:58:59]OFD Sender: No OFD packet to send [01:59:04]OFD Sender: No OFD packet to send [01:59:09]OFD Sender: No OFD packet to send [01:59:14]OFD Sender: No OFD packet to send [01:59:19]OFD Sender: No OFD packet to send [01:59:24]OFD Sender: No OFD packet to send [01:59:29]OFD Sender: No OFD packet to send [01:59:34]OFD Sender: No OFD packet to send [01:59:39]OFD Sender: No OFD packet to send [01:59:44]OFD Sender: No OFD packet to send [01:59:49]OFD Sender: No OFD packet to send [01:59:54]OFD Sender: No OFD packet to send [01:59:59]OFD Sender: No OFD packet to send [02:00:04]OFD Sender: No OFD packet to send [02:00:09]OFD Sender: No OFD packet to send [02:00:14]OFD Sender: No OFD packet to send [02:00:19]OFD Sender: No OFD packet to send [02:00:24]OFD Sender: No OFD packet to send [02:00:29]OFD Sender: No OFD packet to send [02:00:34]OFD Sender: No OFD packet to send [02:00:39]OFD Sender: No OFD packet to send [02:00:44]OFD Sender: No OFD packet to send [02:00:49]OFD Sender: No OFD packet to send [02:00:54]OFD Sender: No OFD packet to send [02:00:59]OFD Sender: No OFD packet to send [02:01:04]OFD Sender: No OFD packet to send [02:01:09]OFD Sender: No OFD packet to send [02:01:14]OFD Sender: No OFD packet to send [02:01:19]OFD Sender: No OFD packet to send [02:01:24]OFD Sender: No OFD packet to send [02:01:29]OFD Sender: No OFD packet to send [02:01:34]OFD Sender: No OFD packet to send [02:01:39]OFD Sender: No OFD packet to send [02:01:44]OFD Sender: No OFD packet to send [02:01:49]OFD Sender: No OFD packet to send [02:01:54]OFD Sender: No OFD packet to send [02:01:59]OFD Sender: No OFD packet to send [02:02:04]OFD Sender: No OFD packet to send [02:02:09]OFD Sender: No OFD packet to send [02:02:14]OFD Sender: No OFD packet to send [02:02:19]OFD Sender: No OFD packet to send [02:02:24]OFD Sender: No OFD packet to send [02:02:29]OFD Sender: No OFD packet to send [02:02:34]OFD Sender: No OFD packet to send [02:02:39]OFD Sender: No OFD packet to send [02:02:44]OFD Sender: No OFD packet to send [02:02:49]OFD Sender: No OFD packet to send [02:02:54]OFD Sender: No OFD packet to send [02:02:59]OFD Sender: No OFD packet to send [02:03:04]OFD Sender: No OFD packet to send [02:03:09]OFD Sender: No OFD packet to send [02:03:14]OFD Sender: No OFD packet to send [02:03:19]OFD Sender: No OFD packet to send [02:03:24]OFD Sender: No OFD packet to send [02:03:29]OFD Sender: No OFD packet to send [02:03:34]OFD Sender: No OFD packet to send [02:03:39]OFD Sender: No OFD packet to send [02:03:44]OFD Sender: No OFD packet to send [02:03:49]OFD Sender: No OFD packet to send [02:03:54]OFD Sender: No OFD packet to send [02:03:59]OFD Sender: No OFD packet to send [02:04:04]OFD Sender: No OFD packet to send [02:04:09]OFD Sender: No OFD packet to send [02:04:14]OFD Sender: No OFD packet to send [02:04:19]OFD Sender: No OFD packet to send [02:04:24]OFD Sender: No OFD packet to send [02:04:29]OFD Sender: No OFD packet to send [02:04:34]OFD Sender: No OFD packet to send [02:04:39]OFD Sender: No OFD packet to send [02:04:44]OFD Sender: No OFD packet to send [02:04:49]OFD Sender: No OFD packet to send [02:04:54]OFD Sender: No OFD packet to send [02:04:59]OFD Sender: No OFD packet to send [02:05:04]OFD Sender: No OFD packet to send [02:05:09]OFD Sender: No OFD packet to send [02:05:14]OFD Sender: No OFD packet to send [02:05:19]OFD Sender: No OFD packet to send [02:05:24]OFD Sender: No OFD packet to send [02:05:29]OFD Sender: No OFD packet to send [02:05:34]OFD Sender: No OFD packet to send [02:05:39]OFD Sender: No OFD packet to send [02:05:44]OFD Sender: No OFD packet to send [02:05:49]OFD Sender: No OFD packet to send [02:05:54]OFD Sender: No OFD packet to send [02:05:59]OFD Sender: No OFD packet to send [02:06:04]OFD Sender: No OFD packet to send [02:06:09]OFD Sender: No OFD packet to send [02:06:14]OFD Sender: No OFD packet to send [02:06:19]OFD Sender: No OFD packet to send [02:06:24]OFD Sender: No OFD packet to send [02:06:29]OFD Sender: No OFD packet to send [02:06:34]OFD Sender: No OFD packet to send [02:06:39]OFD Sender: No OFD packet to send [02:06:44]OFD Sender: No OFD packet to send [02:06:49]OFD Sender: No OFD packet to send [02:06:54]OFD Sender: No OFD packet to send [02:06:59]OFD Sender: No OFD packet to send [02:07:04]OFD Sender: No OFD packet to send [02:07:09]OFD Sender: No OFD packet to send [02:07:14]OFD Sender: No OFD packet to send [02:07:19]OFD Sender: No OFD packet to send [02:07:24]OFD Sender: No OFD packet to send [02:07:29]OFD Sender: No OFD packet to send [02:07:34]OFD Sender: No OFD packet to send [02:07:39]OFD Sender: No OFD packet to send [02:07:44]OFD Sender: No OFD packet to send [02:07:49]OFD Sender: No OFD packet to send [02:07:54]OFD Sender: No OFD packet to send [02:07:59]OFD Sender: No OFD packet to send [02:08:04]OFD Sender: No OFD packet to send [02:08:09]OFD Sender: No OFD packet to send [02:08:14]OFD Sender: No OFD packet to send [02:08:19]OFD Sender: No OFD packet to send [02:08:24]OFD Sender: No OFD packet to send [02:08:29]OFD Sender: No OFD packet to send [02:08:34]OFD Sender: No OFD packet to send [02:08:39]OFD Sender: No OFD packet to send [02:08:44]OFD Sender: No OFD packet to send [02:08:49]OFD Sender: No OFD packet to send [02:08:54]OFD Sender: No OFD packet to send [02:08:59]OFD Sender: No OFD packet to send [02:09:04]OFD Sender: No OFD packet to send [02:09:09]OFD Sender: No OFD packet to send [02:09:14]OFD Sender: No OFD packet to send [02:09:20]OFD Sender: No OFD packet to send [02:09:25]OFD Sender: No OFD packet to send [02:09:30]OFD Sender: No OFD packet to send [02:09:35]OFD Sender: No OFD packet to send [02:09:40]OFD Sender: No OFD packet to send [02:09:45]OFD Sender: No OFD packet to send [02:09:50]OFD Sender: No OFD packet to send [02:09:55]OFD Sender: No OFD packet to send [02:10:00]OFD Sender: No OFD packet to send [02:10:05]OFD Sender: No OFD packet to send [02:10:10]OFD Sender: No OFD packet to send [02:10:15]OFD Sender: No OFD packet to send [02:10:20]OFD Sender: No OFD packet to send [02:10:25]OFD Sender: No OFD packet to send [02:10:30]OFD Sender: No OFD packet to send [02:10:35]OFD Sender: No OFD packet to send [02:10:40]OFD Sender: No OFD packet to send [02:10:45]OFD Sender: No OFD packet to send [02:10:50]OFD Sender: No OFD packet to send [02:10:55]OFD Sender: No OFD packet to send [02:11:00]OFD Sender: No OFD packet to send [02:11:05]OFD Sender: No OFD packet to send [02:11:10]OFD Sender: No OFD packet to send [02:11:15]OFD Sender: No OFD packet to send [02:11:20]OFD Sender: No OFD packet to send [02:11:25]OFD Sender: No OFD packet to send [02:11:30]OFD Sender: No OFD packet to send [02:11:35]OFD Sender: No OFD packet to send [02:11:40]OFD Sender: No OFD packet to send [02:11:45]OFD Sender: No OFD packet to send [02:11:50]OFD Sender: No OFD packet to send [02:11:55]OFD Sender: No OFD packet to send [02:12:00]OFD Sender: No OFD packet to send [02:12:05]OFD Sender: No OFD packet to send [02:12:10]OFD Sender: No OFD packet to send [02:12:15]OFD Sender: No OFD packet to send [02:12:20]OFD Sender: No OFD packet to send [02:12:25]OFD Sender: No OFD packet to send [02:12:30]OFD Sender: No OFD packet to send [02:12:30]accept exits with 7 [02:12:30]New connection [02:12:30]New thread 3067293028 created [02:12:30]Thread 3067149668 joined [02:12:30]Waiting for new connection... [02:12:30] Sock 7.Parse request [02:12:30]Sock 7.Check first char [02:12:30]Sock 7.First char is OK [02:12:30]request: POST /json_proto HTTP/1.0 [02:12:30]Method: POST [02:12:30]URL: /json_proto [02:12:30]Method is POST - this is cgi request [02:12:30]url: /json_proto [02:12:30]query_string will be loaded in cgi processing [02:12:30]execute_cgi json_proto POST (null) [02:12:30]execute_cgi path=json_proto method=POST [02:12:30]POST find Content-Length [02:12:30]Host: 172.17.60.7:8080 [02:12:30]Content-Length: 1047 [02:12:30]Content-Type: application/json [02:12:30] [02:12:30]POST finish read [02:12:30]Found Content-Length = 1047 [02:12:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122817", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 156.00, "quantity" : 10.000, "sum" : 1560.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1711.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:12:30]execute_script... [02:12: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)122817", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 156.00, "quantity" : 10.000, "sum" : 1560.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1711.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:12:30]POST & json_proto [02:12:30]process_json_proto [02:12:30]json parsed OK: [02:12:30]protocol is kg_v1.0 [02:12:30]action value=close_receipt [02:12:30]process_action close_receipt [02:12:30]cmd_close_receipt [02:12:30]MH_GetDate [02:12:30]Write to MH i2c: F0 00 00 34 13 36 [02:12:30]Write i2c OK [02:12:30]MH_I2C_Read... [02:12:30]Read from MH i2c: F0 [02:12:30]MH_I2C_Read... [02:12:30]Read from MH i2c: F0 09 00 [02:12:30]MH_I2C_Read... [02:12:30]Read from MH i2c: F0 09 00 34 13 00 91 6F B9 66 63 9B 67 64 27 [02:12:30]GetLastDocTimeStamp 1723427619 [02:12:30]current date 1723428753 [02:12:30]FM_GetShiftState [02:12:30]SAM_PROTO_GetShiftState [02:12:30]wFMCommunicate request_size=4 [02:12:30]MH_SAM_APDU [02:12:30]CAPDU: 80 13 01 00 [02:12:30]Write to MH i2c: E2 08 00 35 13 80 13 01 00 00 00 00 00 C5 [02:12:30]Write i2c OK [02:12:30]MH_I2C_Read... [02:12:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:12:30]Read from MH i2c: E2 [02:12:30]MH_I2C_Read... [02:12:30]Read from MH i2c: E2 0E 00 [02:12:30]MH_I2C_Read... [02:12:30]Read from MH i2c: E2 0E 00 35 13 00 09 00 01 DC 57 B9 66 00 00 00 00 90 00 23 [02:12:30]RAPDU: 09 00 01 DC 57 B9 66 00 00 00 00 90 00 [02:12:30]wFMCommunicate OK [02:12:30]SAM_PROTO_GetShiftState done [02:12:30]FM_GetShiftState done [02:12:30]opened in 1723422684 [02:12:30]opened+sec_in_day 1723509084 [02:12:30]quantity*price = 156000 [02:12:30]sum+1 = 156001 [02:12:30]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48741958 Сигареты Parliament Aqua Blue 1.000 * 151.00 = 151.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1711.00 НСП 1% : 15.14 НДС 12% : 181.69 Наличными: 0.00 Безнал.: 1711.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 5 12.08.2024 02:12 Смена: 447 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874715 ФД: 52687 ФПД: 222961547376258 /tax-web-control/client/api/v1/ticket?date=20240812T021233&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52687&fm=222961547376258&tin=02508201610067®Number=0000000000090834&sum=171100 0 [02:12:31]StoreToDocumentArchive [02:12:31]shift 447 fd 52687 [02:12:31]save to /storage/0447/doc_00052687 [02:12:31]save last doc name /storage/0447/doc_00052687 to /storage/kkm_last_doc_name [02:12:31]save OK [02:12:31]Clear old archive folders... [02:12:31]ProcessDocumentItem done err = 0, tmpTLVsize=376 [02:12:31]tlvbuf is 012669F0 [02:12:31]SAM_PROTO_ClearQueue [02:12:31]wFMCommunicate request_size=4 [02:12:31]MH_SAM_APDU [02:12:31]CAPDU: 80 09 00 00 [02:12:31]Write to MH i2c: E2 08 00 42 13 80 09 00 00 00 00 00 00 C7 [02:12:31]Write i2c OK [02:12:31]MH_I2C_Read... [02:12:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:12:31]Read from MH i2c: E2 [02:12:31]MH_I2C_Read... [02:12:31]Read from MH i2c: E2 03 00 [02:12:31]MH_I2C_Read... [02:12:31]Read from MH i2c: E2 03 00 42 13 00 90 00 C9 [02:12:31]RAPDU: 90 00 [02:12:31]wFMCommunicate OK [02:12:31]SAM_PROTO_ClearQueue done [02:12:31]KKMCreateOFDPacket [02:12:31]OFDProtocolAddRootSTLVToBuf [02:12:31]FM_MakeSignedData [02:12:31]FM_MakeSignedData [02:12:31]SAM_PROTO_SignData [02:12:31]wFMCommunicate request_size=4 [02:12:31]MH_SAM_APDU [02:12:31]CAPDU: 80 0D 01 02 [02:12:31]Write to MH i2c: E2 08 00 43 13 80 0D 01 02 00 00 00 00 CF [02:12:31]Write i2c OK [02:12:31]MH_I2C_Read... [02:12:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:12:31]Read from MH i2c: E2 [02:12:31]MH_I2C_Read... [02:12:31]Read from MH i2c: E2 03 00 [02:12:31]MH_I2C_Read... [02:12:31]Read from MH i2c: E2 03 00 43 13 00 90 00 CA [02:12:31]RAPDU: 90 00 [02:12:31]wFMCommunicate OK [02:12:31]wFMCommunicate request_size=255 [02:12:31]MH_SAM_APDU [02:12:31]CAPDU: 80 0D 02 02 FA 03 00 78 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 60 61 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 9C 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 05 00 00 00 00 EE 03 [02:12:31]Write to MH i2c: E2 02 01 44 13 80 0D 02 02 FA 00 03 00 78 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 60 61 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 9C 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 05 00 00 00 00 EE 03 00 00 F0 [02:12:31]Write i2c OK [02:12:31]MH_I2C_Read... [02:12:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:12:31]Read from MH i2c: E2 [02:12:31]MH_I2C_Read... [02:12:31]Read from MH i2c: E2 03 00 [02:12:31]MH_I2C_Read... [02:12:31]Read from MH i2c: E2 03 00 44 13 00 90 00 CB [02:12:31]RAPDU: 90 00 [02:12:31]wFMCommunicate OK [02:12:31]wFMCommunicate request_size=135 [02:12:31]MH_SAM_APDU [02:12:31]CAPDU: 80 0D 02 02 82 0F 00 F2 03 01 00 01 F3 03 06 00 F9 46 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 9C 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 91 6F B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CF CD 00 00 35 04 06 00 CA C8 47 D4 76 82 [02:12:31]Write to MH i2c: E2 8A 00 45 13 80 0D 02 02 82 00 0F 00 F2 03 01 00 01 F3 03 06 00 F9 46 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 9C 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 91 6F B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CF CD 00 00 35 04 06 00 CA C8 47 D4 76 82 00 00 6F [02:12:31]Write i2c OK [02:12:31]MH_I2C_Read... [02:12:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:12:32]Read from MH i2c: E2 [02:12:32]MH_I2C_Read... [02:12:32]Read from MH i2c: E2 03 00 [02:12:32]MH_I2C_Read... [02:12:32]Read from MH i2c: E2 03 00 45 13 00 90 00 CC [02:12:32]RAPDU: 90 00 [02:12:32]wFMCommunicate OK [02:12:32]wFMCommunicate request_size=4 [02:12:32]MH_SAM_APDU [02:12:32]CAPDU: 80 0D 03 02 [02:12:32]Write to MH i2c: E2 08 00 46 13 80 0D 03 02 00 00 00 00 D4 [02:12:32]Write i2c OK [02:12:32]MH_I2C_Read... [02:12:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:12:32]Read from MH i2c: E2 [02:12:32]MH_I2C_Read... [02:12:32]Read from MH i2c: E2 0B 00 [02:12:32]MH_I2C_Read... [02:12:32]Read from MH i2c: E2 0B 00 46 13 00 FB 64 BF D9 99 1C 44 54 90 00 19 [02:12:32]RAPDU: FB 64 BF D9 99 1C 44 54 90 00 [02:12:32]wFMCommunicate OK [02:12:32]SAM_PROTO_SignData done [02:12:32]FM_MakeSignedData done [02:12:32]CreateOFDProtocolMessage [02:12:32]wFMCommunicate request_size=4 [02:12:32]MH_SAM_APDU [02:12:32]CAPDU: 80 11 00 00 [02:12:32]Write to MH i2c: E2 08 00 47 13 80 11 00 00 00 00 00 00 D4 [02:12:32]Write i2c OK [02:12:32]MH_I2C_Read... [02:12:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:12:32]Read from MH i2c: E2 [02:12:32]MH_I2C_Read... [02:12:32]Read from MH i2c: E2 17 00 [02:12:32]MH_I2C_Read... [02:12:32]Read from MH i2c: E2 17 00 47 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 27 [02:12:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [02:12:32]wFMCommunicate OK [02:12:32]CreateOFDProtocolMessage done [02:12:32]OFDSenderStorePacket 52687 [02:12:32]StoreOFDPacket docnum=52687 [02:12:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 8C 01 00 00 36 A5 84 01 E9 72 5A 03 01 00 03 00 78 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 60 61 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 9C 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 46 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 9C 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 91 6F B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CF CD 00 00 35 04 06 00 CA C8 47 D4 76 82 FB 64 BF D9 99 1C 44 54 [02:12:32]CheckFolder [02:12:32]dirname=/storage/ofd_packets [02:12:32]CheckFolder done [02:12:32]ProducePacketName [02:12:32]name=ofd_packets/00052687 [02:12:32]NVStorageSaveData ofd_packets/00052687 [02:12:32]File name is /storage/ofd_packets/00052687 [02:12:32]Write 426 bytes [02:12:32]NVStorageSaveData done [02:12:32]OFDSenderStorePacket done [02:12:32]KKMCreateOFDPacket done [02:12:32]NVStorageSaveData kkm_last_timestamp [02:12:32]File name is /storage/kkm_last_timestamp [02:12:32]Write 4 bytes [02:12:32]NVStorageSaveData done [02:12:32]ExternCall_PrintAddStr [02:12:32]wPrintStart [02:12:32]Write to MH i2c: 01 00 00 48 13 5B [02:12:32]OFD Sender: Processing packet 52687 [packets to send 55, broken 54] [02:12:32]ProducePacketName [02:12:32]name=ofd_packets/00052687 [02:12:32]OFD Sender: To server: pG, [02:12:32]CommunicateWithHost lk.salyk.kg:30040 [02:12:32]ConnectInit lk.salyk.kg [02:12:32]Write i2c OK [02:12:32]MH_I2C_Read... [02:12:32]Read from MH i2c: 01 [02:12:32]MH_I2C_Read... [02:12:32]Read from MH i2c: 01 07 00 [02:12:32]MH_I2C_Read... [02:12:32]Read from MH i2c: 01 07 00 48 13 00 00 00 00 00 FF 0F 70 [02:12:32]RasterBufferAndPrint [02:12:32]line Счет N : (3)122817 [02:12:32]line ИНН: 02508201610067 [02:12:32]line Контрольно-Кассовый Чек [02:12:32]line ПРОДАЖА [02:12:32]line Товар: 4700000480517 [02:12:32]line Пиво Живое 1л ПЭТ [02:12:32]line 10.000 * 156.00 [02:12:32]line = 1560.00 [02:12:32]line НДС 12% НСП 1% [02:12:32]line > о реализуемом товаре [02:12:32]line Товар: 48741958 [02:12:32]line Сигареты Parliament Aqua Blue [02:12:32]line 1.000 * 151.00 [02:12:32]line = 151.00 [02:12:32]line НДС 12% НСП 1% [02:12:32]line > о реализуемом товаре [02:12:32]line ИТОГО: 1711.00 [02:12:32]line НСП 1% : 15.14 [02:12:32]line НДС 12% : 181.69 [02:12:32]line Наличными: 0.00 [02:12:32]line Безнал.: 1711.00 [02:12:32]line Место: АЗС № 54 "Партнер Нефть" [02:12:32]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [02:12:32]line СНО: Общий режим [02:12:32]line Чек 5 12.08.2024 02:12 [02:12:32]line Смена: 447 ФФД: 1.0 [02:12:32]line ЗНМ: 0300000007 [02:12:32]line РНМ: 0000000000090834 [02:12:32]line Версия ККМ: 001 [02:12:32]line Платежная система: О! деньги [02:12:32]line ФМ: 0000000000874715 [02:12:32]line ФД: 52687 [02:12:32]line ФПД: 222961547376258 [02:12:32]line /tax-web-control/client/api/v1/ticket?date=20240812T021233&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52687&fm=222961547376258&tin=02508201610067®Number=0000000000090834&sum=171100 [02:12:32]line 0 [02:12:32]written 0, free lines is 4095 [02:12:32]Connected sock=10 [02:12:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 8C 01 00 00 36 A5 84 01 E9 72 5A 03 01 00 03 00 78 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 F0 3C 00 00 00 00 13 04 06 00 60 61 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 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 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 9C 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 46 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 9C 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 91 6F B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CF CD 00 00 35 04 06 00 CA C8 47 D4 76 82 FB 64 BF D9 99 1C 44 54 [02:12:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 BD E3 47 00 DB AA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 CF CD 00 00 F4 03 04 00 2B 17 B9 66 B6 04 01 00 00 D7 2E 98 C6 DB 36 73 43 [02:12:32]CommunicateWithHost err = 0 [02:12:32]CheckOFDResponse [02:12:32]1017 (14) - 77093643461234 [02:12:32]1041 (16) - 0000000000874715 [02:12:32]1040 (4) - 52687 [02:12:32]1012 (4) - 11.08.2024 19:55 [02:12:32]1206 (1) - 0 [02:12:32]OFD Sender: Remove packet 52687 [02:12:32]ProducePacketName [02:12:32]name=ofd_packets/00052687 [02:12:32]NVStorageDeleteData [02:12:33]Write to MH i2c: 01 00 00 78 13 8B [02:12:33]Write i2c OK [02:12:33]MH_I2C_Read... [02:12:33]Read from MH i2c: 01 [02:12:33]MH_I2C_Read... [02:12:33]Read from MH i2c: 01 07 00 [02:12:33]MH_I2C_Read... [02:12:33]Read from MH i2c: 01 07 00 78 13 00 00 00 00 00 46 0C E4 [02:12:33]RasterBufferAndPrint [02:12:33]line [02:12:33]line [02:12:33]line [02:12:33]line [02:12:33]line [02:12:33]written 0, free lines is 3150 [02:12:33]MH_Cut [02:12:33]Write to MH i2c: D1 01 00 7F 13 01 64 [02:12:33]Write i2c OK [02:12:33]MH_I2C_Read... [02:12:33]Read from MH i2c: D1 [02:12:33]MH_I2C_Read... [02:12:33]Read from MH i2c: D1 01 00 [02:12:33]MH_I2C_Read... [02:12:33]Read from MH i2c: D1 01 00 7F 13 00 63 [02:12:33]Write to MH i2c: 01 00 00 80 13 93 [02:12:33]Write i2c OK [02:12:33]MH_I2C_Read... [02:12:33]OFD Sender: No OFD packet to send [02:12:34]*** Cut start [02:12:34]*** Purtial cut [02:12:34]*** Stage 1: CUTSNS_PIN = 1 [02:12:34]Read from MH i2c: 01 [02:12:34]MH_I2C_Read... [02:12:34]*** Stop cut motor [02:12:34]*** Cut end [02:12:34]Read from MH i2c: 01 07 00 [02:12:34]MH_I2C_Read... [02:12:34]Read from MH i2c: 01 07 00 80 13 00 00 00 00 00 FF 0F A8 [02:12:34]process_action close_receipt done [02:12:34]requested_data is exist [02:12:34]produce_requested_data [02:12:34]requested_item fm.sn is exist - process it [02:12:34]wFMCommunicate request_size=4 [02:12:34]MH_SAM_APDU [02:12:34]CAPDU: 80 11 00 00 [02:12:34]Write to MH i2c: E2 08 00 81 13 80 11 00 00 00 00 00 00 0E [02:12:34]Write i2c OK [02:12:34]MH_I2C_Read... [02:12:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:12:34]Read from MH i2c: E2 [02:12:34]MH_I2C_Read... [02:12:34]Read from MH i2c: E2 17 00 [02:12:34]MH_I2C_Read... [02:12:34]Read from MH i2c: E2 17 00 81 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 61 [02:12:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [02:12:34]wFMCommunicate OK [02:12:34]requested_item fd.num is exist - process it [02:12:34]SAM_PROTO_GetFieldsCounters [02:12:34]wFMCommunicate request_size=4 [02:12:34]MH_SAM_APDU [02:12:34]CAPDU: 80 13 00 00 [02:12:34]Write to MH i2c: E2 08 00 82 13 80 13 00 00 00 00 00 00 11 [02:12:34]Write i2c OK [02:12:34]MH_I2C_Read... [02:12:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:12:34]Read from MH i2c: E2 [02:12:34]MH_I2C_Read... [02:12:34]Read from MH i2c: E2 62 00 [02:12:34]MH_I2C_Read... [02:12:34]Read from MH i2c: E2 62 00 82 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 CF CD 00 00 0E 04 04 00 BF 01 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 9C [02:12: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 CF CD 00 00 0E 04 04 00 BF 01 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:12:34]wFMCommunicate OK [02:12:34]SAM_PROTO_GetFieldsCounters done [02:12:34]requested_item shift.num is exist - process it [02:12:34]requested_item shift.opened is exist - process it [02:12:34]req_shift_opened [02:12:34]FM_GetShiftState [02:12:34]SAM_PROTO_GetShiftState [02:12:34]wFMCommunicate request_size=4 [02:12:34]MH_SAM_APDU [02:12:34]CAPDU: 80 13 01 00 [02:12:34]Write to MH i2c: E2 08 00 83 13 80 13 01 00 00 00 00 00 13 [02:12:34]Write i2c OK [02:12:34]MH_I2C_Read... [02:12:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:12:34]Read from MH i2c: E2 [02:12:34]MH_I2C_Read... [02:12:34]Read from MH i2c: E2 0E 00 [02:12:34]MH_I2C_Read... [02:12:34]Read from MH i2c: E2 0E 00 83 13 00 09 00 01 DC 57 B9 66 00 00 00 00 90 00 71 [02:12:34]RAPDU: 09 00 01 DC 57 B9 66 00 00 00 00 90 00 [02:12:34]wFMCommunicate OK [02:12:34]SAM_PROTO_GetShiftState done [02:12:34]FM_GetShiftState done [02:12:34]req_shift_opened done [02:12:34]requested_item shift.open_date is exist - process it [02:12:34]req_shift_open_date [02:12:34]req_shift_open_date done [02:12:34]produce_requested_data done [02:12:34]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52687,"shift.num":447,"shift.opened":1,"shift.open_date":1723422684} [02:12:34]process_action_free close_receipt [02:12:34]json_value_free [02:12:34]json_value_free done [02:12:34]process_json_proto returns [02:12:34]Send response to host [02:12:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52687,"shift.num":447,"shift.opened":1,"shift.open_date":1723422684}}} [02:12:34]free response buf [02:12:34]execute_script done [02:12:34]execute_script returns [02:12:34]free content buf [02:12:34]Sock 7.Close socket [02:12:34]Sock 7.Thread stoped [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: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:41]ConnectInit Can't connect to host [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:44]OFD Sender: No OFD packet to send [02:21:49]OFD Sender: No OFD packet to send [02:21:54]OFD Sender: No OFD packet to send [02:21:59]OFD Sender: No OFD packet to send [02:22:04]OFD Sender: No OFD packet to send [02:22:09]OFD Sender: No OFD packet to send [02:22:14]OFD Sender: No OFD packet to send [02:22:19]OFD Sender: No OFD packet to send [02:22:24]OFD Sender: No OFD packet to send [02:22:29]OFD Sender: No OFD packet to send [02:22:34]OFD Sender: No OFD packet to send [02:22:39]OFD Sender: No OFD packet to send [02:22:44]OFD Sender: No OFD packet to send [02:22:49]OFD Sender: No OFD packet to send [02:22:54]OFD Sender: No OFD packet to send [02:22:59]OFD Sender: No OFD packet to send [02:23:04]OFD Sender: No OFD packet to send [02:23:09]OFD Sender: No OFD packet to send [02:23:14]OFD Sender: No OFD packet to send [02:23:19]OFD Sender: No OFD packet to send [02:23:24]OFD Sender: No OFD packet to send [02:23:29]OFD Sender: No OFD packet to send [02:23:34]OFD Sender: No OFD packet to send [02:23:39]OFD Sender: No OFD packet to send [02:23:44]OFD Sender: No OFD packet to send [02:23:49]OFD Sender: No OFD packet to send [02:23:53]accept exits with 9 [02:23:53]New connection [02:23:53]New thread 3067149668 created [02:23:53]Thread 3067293028 joined [02:23:53]Waiting for new connection... [02:23:53] Sock 9.Parse request [02:23:53]Sock 9.Check first char [02:23:53]Sock 9.First char is OK [02:23:53]request: POST /json_proto HTTP/1.0 [02:23:53]Method: POST [02:23:53]URL: /json_proto [02:23:53]Method is POST - this is cgi request [02:23:53]url: /json_proto [02:23:53]query_string will be loaded in cgi processing [02:23:53]execute_cgi json_proto POST (null) [02:23:53]execute_cgi path=json_proto method=POST [02:23:53]POST find Content-Length [02:23:53]Host: 172.17.60.7:8080 [02:23:53]Content-Length: 620 [02:23:53]Content-Type: application/json [02:23:53] [02:23:53]POST finish read [02:23:53]Found Content-Length = 620 [02:23:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122818", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:23:53]execute_script... [02:23:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)122818", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 1.000, "sum" : 135.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:23:53]POST & json_proto [02:23:53]process_json_proto [02:23:53]json parsed OK: [02:23:53]protocol is kg_v1.0 [02:23:53]action value=close_receipt [02:23:53]process_action close_receipt [02:23:53]cmd_close_receipt [02:23:53]MH_GetDate [02:23:53]Write to MH i2c: F0 00 00 84 13 86 [02:23:53]Write i2c OK [02:23:53]MH_I2C_Read... [02:23:53]Read from MH i2c: F0 [02:23:53]MH_I2C_Read... [02:23:53]Read from MH i2c: F0 09 00 [02:23:53]MH_I2C_Read... [02:23:53]Read from MH i2c: F0 09 00 84 13 00 3C 72 B9 66 63 9B 67 64 25 [02:23:53]GetLastDocTimeStamp 1723428753 [02:23:53]current date 1723429436 [02:23:53]FM_GetShiftState [02:23:53]SAM_PROTO_GetShiftState [02:23:53]wFMCommunicate request_size=4 [02:23:53]MH_SAM_APDU [02:23:53]CAPDU: 80 13 01 00 [02:23:53]Write to MH i2c: E2 08 00 85 13 80 13 01 00 00 00 00 00 15 [02:23:53]Write i2c OK [02:23:53]MH_I2C_Read... [02:23:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:23:53]Read from MH i2c: E2 [02:23:53]MH_I2C_Read... [02:23:53]Read from MH i2c: E2 0E 00 [02:23:53]MH_I2C_Read... [02:23:53]Read from MH i2c: E2 0E 00 85 13 00 09 00 01 DC 57 B9 66 00 00 00 00 90 00 73 [02:23:53]RAPDU: 09 00 01 DC 57 B9 66 00 00 00 00 90 00 [02:23:53]wFMCommunicate OK [02:23:53]SAM_PROTO_GetShiftState done [02:23:53]FM_GetShiftState done [02:23:53]opened in 1723422684 [02:23:53]opened+sec_in_day 1723509084 [02:23:53]quantity*price = 13500 [02:23:53]sum+1 = 13501 [02:23:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 135.00 Безнал.: 0.00 Место: АЗС № 54 "Партнер Нефть" Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 СНО: Общий режим Чек 6 12.08.2024 02:23 Смена: 447 ФФД: 1.0 ЗНМ: 0300000007 РНМ: 0000000000090834 Версия ККМ: 001 ФМ: 0000000000874715 ФД: 52688 ФПД: 134472370008748 /tax-web-control/client/api/v1/ticket?date=20240812T022356&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52688&fm=134472370008748&tin=02508201610067®Number=0000000000090834&sum=13500 0 [02:23:54]StoreToDocumentArchive [02:23:54]shift 447 fd 52688 [02:23:54]save to /storage/0447/doc_00052688 [02:23:54]save last doc name /storage/0447/doc_00052688 to /storage/kkm_last_doc_name [02:23:54]save OK [02:23:54]Clear old archive folders... [02:23:54]ProcessDocumentItem done err = 0, tmpTLVsize=272 [02:23:54]tlvbuf is 012B80A0 [02:23:54]SAM_PROTO_ClearQueue [02:23:54]wFMCommunicate request_size=4 [02:23:54]MH_SAM_APDU [02:23:54]CAPDU: 80 09 00 00 [02:23:54]Write to MH i2c: E2 08 00 92 13 80 09 00 00 00 00 00 00 17 [02:23:54]Write i2c OK [02:23:54]MH_I2C_Read... [02:23:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:23:54]Read from MH i2c: E2 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 03 00 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 03 00 92 13 00 90 00 19 [02:23:54]RAPDU: 90 00 [02:23:54]wFMCommunicate OK [02:23:54]SAM_PROTO_ClearQueue done [02:23:54]KKMCreateOFDPacket [02:23:54]OFDProtocolAddRootSTLVToBuf [02:23:54]FM_MakeSignedData [02:23:54]FM_MakeSignedData [02:23:54]SAM_PROTO_SignData [02:23:54]wFMCommunicate request_size=4 [02:23:54]MH_SAM_APDU [02:23:54]CAPDU: 80 0D 01 02 [02:23:54]Write to MH i2c: E2 08 00 93 13 80 0D 01 02 00 00 00 00 1F [02:23:54]Write i2c OK [02:23:54]MH_I2C_Read... [02:23:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:23:54]Read from MH i2c: E2 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 03 00 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 03 00 93 13 00 90 00 1A [02:23:54]RAPDU: 90 00 [02:23:54]wFMCommunicate OK [02:23:54]wFMCommunicate request_size=255 [02:23:54]MH_SAM_APDU [02:23:54]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 3C 72 B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 [02:23:54]Write to MH i2c: E2 02 01 94 13 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 3C 72 B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 6C [02:23:54]Write i2c OK [02:23:54]MH_I2C_Read... [02:23:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:23:54]Read from MH i2c: E2 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 03 00 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 03 00 94 13 00 90 00 1B [02:23:54]RAPDU: 90 00 [02:23:54]wFMCommunicate OK [02:23:54]wFMCommunicate request_size=31 [02:23:54]MH_SAM_APDU [02:23:54]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 37 31 35 10 04 04 00 D0 CD 00 00 35 04 06 00 7A 4D 49 D8 B2 AC [02:23:54]Write to MH i2c: E2 22 00 95 13 80 0D 02 02 1A 00 30 30 38 37 34 37 31 35 10 04 04 00 D0 CD 00 00 35 04 06 00 7A 4D 49 D8 B2 AC 00 00 30 [02:23:54]Write i2c OK [02:23:54]MH_I2C_Read... [02:23:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:23:54]Read from MH i2c: E2 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 03 00 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 03 00 95 13 00 90 00 1C [02:23:54]RAPDU: 90 00 [02:23:54]wFMCommunicate OK [02:23:54]wFMCommunicate request_size=4 [02:23:54]MH_SAM_APDU [02:23:54]CAPDU: 80 0D 03 02 [02:23:54]Write to MH i2c: E2 08 00 96 13 80 0D 03 02 00 00 00 00 24 [02:23:54]Write i2c OK [02:23:54]MH_I2C_Read... [02:23:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:23:54]Read from MH i2c: E2 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 0B 00 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 0B 00 96 13 00 82 B5 E3 1E F5 25 5F 7C 90 00 52 [02:23:54]RAPDU: 82 B5 E3 1E F5 25 5F 7C 90 00 [02:23:54]wFMCommunicate OK [02:23:54]SAM_PROTO_SignData done [02:23:54]FM_MakeSignedData done [02:23:54]CreateOFDProtocolMessage [02:23:54]wFMCommunicate request_size=4 [02:23:54]MH_SAM_APDU [02:23:54]CAPDU: 80 11 00 00 [02:23:54]Write to MH i2c: E2 08 00 97 13 80 11 00 00 00 00 00 00 24 [02:23:54]Write i2c OK [02:23:54]MH_I2C_Read... [02:23:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:23:54]Read from MH i2c: E2 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 17 00 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: E2 17 00 97 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 77 [02:23:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [02:23:54]wFMCommunicate OK [02:23:54]CreateOFDProtocolMessage done [02:23:54]OFDSenderStorePacket 52688 [02:23:54]StoreOFDPacket docnum=52688 [02:23:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 24 01 00 00 40 AA 1C 01 F0 AC 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 3C 72 B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 D0 CD 00 00 35 04 06 00 7A 4D 49 D8 B2 AC 82 B5 E3 1E F5 25 5F 7C [02:23:54]CheckFolder [02:23:54]dirname=/storage/ofd_packets [02:23:54]CheckFolder done [02:23:54]ProducePacketName [02:23:54]name=ofd_packets/00052688 [02:23:54]NVStorageSaveData ofd_packets/00052688 [02:23:54]File name is /storage/ofd_packets/00052688 [02:23:54]Write 322 bytes [02:23:54]NVStorageSaveData done [02:23:54]OFDSenderStorePacket done [02:23:54]KKMCreateOFDPacket done [02:23:54]NVStorageSaveData kkm_last_timestamp [02:23:54]File name is /storage/kkm_last_timestamp [02:23:54]Write 4 bytes [02:23:54]NVStorageSaveData done [02:23:54]ExternCall_PrintAddStr [02:23:54]wPrintStart [02:23:54]Write to MH i2c: 01 00 00 98 13 AB [02:23:54]Write i2c OK [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: 01 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: 01 07 00 [02:23:54]MH_I2C_Read... [02:23:54]Read from MH i2c: 01 07 00 98 13 00 00 00 00 00 FF 0F C0 [02:23:54]RasterBufferAndPrint [02:23:54]line Счет N : (3)122818 [02:23:54]line ИНН: 02508201610067 [02:23:54]line Контрольно-Кассовый Чек [02:23:54]line ПРОДАЖА [02:23:54]line Товар: 48745000 [02:23:54]line Сигареты Winston Purple Mix [02:23:54]line 1.000 * 135.00 [02:23:54]line = 135.00 [02:23:54]line НДС 12% НСП 1% [02:23:54]line > о реализуемом товаре [02:23:54]line ИТОГО: 135.00 [02:23:54]line НСП 1% : 1.19 [02:23:54]line НДС 12% : 14.34 [02:23:54]line Наличными: 135.00 [02:23:54]line Безнал.: 0.00 [02:23:54]line Место: АЗС № 54 "Партнер Нефть" [02:23:54]line Адрес: 720001, с. Маевка, ул. Молодая Гвардия/объездная, 42.946303, 74.567553 [02:23:54]line СНО: Общий режим [02:23:54]line Чек 6 12.08.2024 02:23 [02:23:54]line Смена: 447 ФФД: 1.0 [02:23:54]line ЗНМ: 0300000007 [02:23:54]line РНМ: 0000000000090834 [02:23:54]line Версия ККМ: 001 [02:23:54]line ФМ: 0000000000874715 [02:23:54]line ФД: 52688 [02:23:54]line ФПД: 134472370008748 [02:23:55]line /tax-web-control/client/api/v1/ticket?date=20240812T022356&type=1&operation_type=1&fn_number=0000000000874715&fd_number=52688&fm=134472370008748&tin=02508201610067®Number=0000000000090834&sum=13500 [02:23:55]line 0 [02:23:55]OFD Sender: Processing packet 52688 [packets to send 55, broken 54] [02:23:55]ProducePacketName [02:23:55]name=ofd_packets/00052688 [02:23:55]OFD Sender: To server: pG, [02:23:55]CommunicateWithHost lk.salyk.kg:30040 [02:23:55]ConnectInit lk.salyk.kg [02:23:55]written 0, free lines is 4095 [02:23:55]Connected sock=10 [02:23:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 24 01 00 00 40 AA 1C 01 F0 AC 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 BC 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 BC 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 3C 72 B9 66 0E 04 04 00 BF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 D0 CD 00 00 35 04 06 00 7A 4D 49 D8 B2 AC 82 B5 E3 1E F5 25 5F 7C [02:23:55]Write to MH i2c: 01 00 00 BF 13 D2 [02:23:55]Write i2c OK [02:23:55]MH_I2C_Read... [02:23:55]Read from MH i2c: 01 [02:23:55]MH_I2C_Read... [02:23:55]Read from MH i2c: 01 07 00 [02:23:55]MH_I2C_Read... [02:23:55]Read from MH i2c: 01 07 00 BF 13 00 00 00 00 00 E5 0C CA [02:23:55]RasterBufferAndPrint [02:23:55]line [02:23:55]line [02:23:55]line [02:23:55]line [02:23:55]line [02:23:55]written 0, free lines is 3304 [02:23:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 4F 00 00 00 74 76 47 00 E6 9A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 10 04 04 00 D0 CD 00 00 F4 03 04 00 D6 19 B9 66 B6 04 01 00 00 87 DA 2C 8F 20 D8 18 29 [02:23:55]CommunicateWithHost err = 0 [02:23:55]CheckOFDResponse [02:23:55]1017 (14) - 77093643461234 [02:23:55]1041 (16) - 0000000000874715 [02:23:55]1040 (4) - 52688 [02:23:55]1012 (4) - 11.08.2024 20:06 [02:23:55]1206 (1) - 0 [02:23:55]OFD Sender: Remove packet 52688 [02:23:55]ProducePacketName [02:23:55]name=ofd_packets/00052688 [02:23:55]NVStorageDeleteData [02:23:55]MH_Cut [02:23:55]Write to MH i2c: D1 01 00 C6 13 01 AB [02:23:55]Write i2c OK [02:23:55]MH_I2C_Read... [02:23:55]Read from MH i2c: D1 [02:23:55]MH_I2C_Read... [02:23:55]Read from MH i2c: D1 01 00 [02:23:55]MH_I2C_Read... [02:23:55]Read from MH i2c: D1 01 00 C6 13 00 AA [02:23:55]Write to MH i2c: 01 00 00 C7 13 DA [02:23:55]Write i2c OK [02:23:55]MH_I2C_Read... [02:23:56]OFD Sender: No OFD packet to send [02:23:56]*** Cut start [02:23:56]*** Purtial cut [02:23:56]*** Stage 1: CUTSNS_PIN = 1 [02:23:56]Read from MH i2c: 01 [02:23:56]MH_I2C_Read... [02:23:56]*** Stop cut motor [02:23:56]*** Cut end [02:23:56]Read from MH i2c: 01 07 00 [02:23:56]MH_I2C_Read... [02:23:56]Read from MH i2c: 01 07 00 C7 13 00 00 00 00 00 FF 0F EF [02:23:56]process_action close_receipt done [02:23:56]requested_data is exist [02:23:56]produce_requested_data [02:23:56]requested_item fm.sn is exist - process it [02:23:56]wFMCommunicate request_size=4 [02:23:56]MH_SAM_APDU [02:23:56]CAPDU: 80 11 00 00 [02:23:56]Write to MH i2c: E2 08 00 C8 13 80 11 00 00 00 00 00 00 55 [02:23:56]Write i2c OK [02:23:56]MH_I2C_Read... [02:23:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:23:56]Read from MH i2c: E2 [02:23:56]MH_I2C_Read... [02:23:56]Read from MH i2c: E2 17 00 [02:23:56]MH_I2C_Read... [02:23:56]Read from MH i2c: E2 17 00 C8 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 A8 [02:23:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 31 35 90 00 [02:23:56]wFMCommunicate OK [02:23:56]requested_item fd.num is exist - process it [02:23:56]SAM_PROTO_GetFieldsCounters [02:23:56]wFMCommunicate request_size=4 [02:23:56]MH_SAM_APDU [02:23:56]CAPDU: 80 13 00 00 [02:23:56]Write to MH i2c: E2 08 00 C9 13 80 13 00 00 00 00 00 00 58 [02:23:56]Write i2c OK [02:23:56]MH_I2C_Read... [02:23:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:23:56]Read from MH i2c: E2 [02:23:56]MH_I2C_Read... [02:23:56]Read from MH i2c: E2 62 00 [02:23:56]MH_I2C_Read... [02:23:56]Read from MH i2c: E2 62 00 C9 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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 D0 CD 00 00 0E 04 04 00 BF 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 E7 [02:23: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 34 37 31 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 38 33 34 10 04 04 00 D0 CD 00 00 0E 04 04 00 BF 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:23:56]wFMCommunicate OK [02:23:56]SAM_PROTO_GetFieldsCounters done [02:23:56]requested_item shift.num is exist - process it [02:23:56]requested_item shift.opened is exist - process it [02:23:56]req_shift_opened [02:23:56]FM_GetShiftState [02:23:56]SAM_PROTO_GetShiftState [02:23:56]wFMCommunicate request_size=4 [02:23:56]MH_SAM_APDU [02:23:56]CAPDU: 80 13 01 00 [02:23:56]Write to MH i2c: E2 08 00 CA 13 80 13 01 00 00 00 00 00 5A [02:23:56]Write i2c OK [02:23:56]MH_I2C_Read... [02:23:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:23:56]Read from MH i2c: E2 [02:23:56]MH_I2C_Read... [02:23:56]Read from MH i2c: E2 0E 00 [02:23:56]MH_I2C_Read... [02:23:56]Read from MH i2c: E2 0E 00 CA 13 00 09 00 01 DC 57 B9 66 00 00 00 00 90 00 B8 [02:23:56]RAPDU: 09 00 01 DC 57 B9 66 00 00 00 00 90 00 [02:23:56]wFMCommunicate OK [02:23:56]SAM_PROTO_GetShiftState done [02:23:56]FM_GetShiftState done [02:23:56]req_shift_opened done [02:23:56]requested_item shift.open_date is exist - process it [02:23:56]req_shift_open_date [02:23:56]req_shift_open_date done [02:23:56]produce_requested_data done [02:23:56]produce_requested_data return {"fm.sn":"0000000000874715","fd.num":52688,"shift.num":447,"shift.opened":1,"shift.open_date":1723422684} [02:23:56]process_action_free close_receipt [02:23:56]json_value_free [02:23:56]json_value_free done [02:23:56]process_json_proto returns [02:23:56]Send response to host [02:23:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874715","fd.num":52688,"shift.num":447,"shift.opened":1,"shift.open_date":1723422684}}} [02:23:56]free response buf [02:23:56]execute_script done [02:23:56]execute_script returns [02:23:56]free content buf [02:23:56]Sock 9.Close socket [02:23:56]Sock 9.Thread stoped [02:24:01]OFD Sender: No OFD packet to send [02:24:06]OFD Sender: No OFD packet to send [02:24:11]OFD Sender: No OFD packet to send [02:24:16]OFD Sender: No OFD packet to send [02:24:21]OFD Sender: No OFD packet to send [02:24:26]OFD Sender: No OFD packet to send [02:24:31]OFD Sender: No OFD packet to send [02:24:36]OFD Sender: No OFD packet to send [02:24:41]OFD Sender: No OFD packet to send [02:24:46]OFD Sender: No OFD packet to send [02:24:51]OFD Sender: No OFD packet to send [02:24:56]OFD Sender: No OFD packet to send [02:25:01]OFD Sender: No OFD packet to send [02:25:06]OFD Sender: No OFD packet to send [02:25:11]OFD Sender: No OFD packet to send [02:25:16]OFD Sender: No OFD packet to send [02:25:21]OFD Sender: No OFD packet to send [02:25:26]OFD Sender: No OFD packet to send [02:25:31]OFD Sender: No OFD packet to send [02:25:36]OFD Sender: No OFD packet to send [02:25:41]OFD Sender: No OFD packet to send [02:25:46]OFD Sender: No OFD packet to send [02:25:51]OFD Sender: No OFD packet to send [02:25:56]OFD Sender: No OFD packet to send [02:26:01]OFD Sender: No OFD packet to send [02:26:06]OFD Sender: No OFD packet to send [02:26:11]OFD Sender: No OFD packet to send [02:26:16]OFD Sender: No OFD packet to send [02:26:21]OFD Sender: No OFD packet to send [02:26:26]OFD Sender: No OFD packet to send [02:26:31]OFD Sender: No OFD packet to send [02:26:36]OFD Sender: No OFD packet to send [02:26:41]OFD Sender: No OFD packet to send [02:26:46]OFD Sender: No OFD packet to send [02:26:51]OFD Sender: No OFD packet to send [02:26:56]OFD Sender: No OFD packet to send [02:27:01]OFD Sender: No OFD packet to send [02:27:06]OFD Sender: No OFD packet to send [02:27:11]OFD Sender: No OFD packet to send [02:27:16]OFD Sender: No OFD packet to send [02:27:21]OFD Sender: No OFD packet to send [02:27:26]OFD Sender: No OFD packet to send [02:27:31]OFD Sender: No OFD packet to send [02:27:36]OFD Sender: No OFD packet to send [02:27:41]OFD Sender: No OFD packet to send [02:27:46]OFD Sender: No OFD packet to send [02:27:51]OFD Sender: No OFD packet to send [02:27:56]OFD Sender: No OFD packet to send [02:28:01]OFD Sender: No OFD packet to send [02:28:06]OFD Sender: No OFD packet to send [02:28:11]OFD Sender: No OFD packet to send [02:28:16]OFD Sender: No OFD packet to send [02:28:21]OFD Sender: No OFD packet to send [02:28:26]OFD Sender: No OFD packet to send [02:28:31]OFD Sender: No OFD packet to send [02:28:36]OFD Sender: No OFD packet to send [02:28:41]OFD Sender: No OFD packet to send [02:28:46]OFD Sender: No OFD packet to send [02:28:51]OFD Sender: No OFD packet to send [02:28:56]OFD Sender: No OFD packet to send [02:29:01]OFD Sender: No OFD packet to send [02:29:06]OFD Sender: No OFD packet to send [02:29:11]OFD Sender: No OFD packet to send [02:29:16]OFD Sender: No OFD packet to send [02:29:21]OFD Sender: No OFD packet to send [02:29:26]OFD Sender: No OFD packet to send [02:29:31]OFD Sender: No OFD packet to send [02:29:36]OFD Sender: No OFD packet to send [02:29:41]OFD Sender: No OFD packet to send [02:29:46]OFD Sender: No OFD packet to send [02:29:51]OFD Sender: No OFD packet to send [02:29:56]OFD Sender: No OFD packet to send [02:30:01]OFD Sender: No OFD packet to send [02:30:06]OFD Sender: No OFD packet to send [02:30:11]OFD Sender: No OFD packet to send [02:30:16]OFD Sender: No OFD packet to send [02:30:21]OFD Sender: No OFD packet to send [02:30:26]OFD Sender: No OFD packet to send [02:30:31]OFD Sender: No OFD packet to send [02:30:36]OFD Sender: No OFD packet to send [02:30:41]OFD Sender: No OFD packet to send [02:30:46]OFD Sender: No OFD packet to send [02:30:51]OFD Sender: No OFD packet to send [02:30:56]OFD Sender: No OFD packet to send [02:31:01]OFD Sender: No OFD packet to send [02:31:06]OFD Sender: No OFD packet to send [02:31:11]OFD Sender: No OFD packet to send [02:31:16]OFD Sender: No OFD packet to send [02:31:21]OFD Sender: No OFD packet to send [02:31:26]OFD Sender: No OFD packet to send [02:31:31]OFD Sender: No OFD packet to send [02:31:36]OFD Sender: No OFD packet to send [02:31:41]OFD Sender: No OFD packet to send [02:31:46]OFD Sender: No OFD packet to send [02:31:51]OFD Sender: No OFD packet to send [02:31:56]OFD Sender: No OFD packet to send [02:32:01]OFD Sender: No OFD packet to send [02:32:06]OFD Sender: No OFD packet to send [02:32:11]OFD Sender: No OFD packet to send [02:32:16]OFD Sender: No OFD packet to send [02:32:21]OFD Sender: No OFD packet to send [02:32:26]OFD Sender: No OFD packet to send [02:32:31]OFD Sender: No OFD packet to send [02:32:36]OFD Sender: No OFD packet to send [02:32:41]OFD Sender: No OFD packet to send [02:32:46]OFD Sender: No OFD packet to send [02:32:51]OFD Sender: No OFD packet to send [02:32:56]OFD Sender: No OFD packet to send [02:33:01]OFD Sender: No OFD packet to send [02:33:06]OFD Sender: No OFD packet to send [02:33:11]OFD Sender: No OFD packet to send [02:33:16]OFD Sender: No OFD packet to send [02:33:21]OFD Sender: No OFD packet to send [02:33:26]OFD Sender: No OFD packet to send [02:33:31]OFD Sender: No OFD packet to send [02:33:36]OFD Sender: No OFD packet to send [02:33:41]OFD Sender: No OFD packet to send [02:33:46]OFD Sender: No OFD packet to send [02:33:51]OFD Sender: No OFD packet to send [02:33:56]OFD Sender: No OFD packet to send [02:34:01]OFD Sender: No OFD packet to send [02:34:06]OFD Sender: No OFD packet to send [02:34:11]OFD Sender: No OFD packet to send [02:34:16]OFD Sender: No OFD packet to send [02:34:21]OFD Sender: No OFD packet to send [02:34:26]OFD Sender: No OFD packet to send [02:34:31]OFD Sender: No OFD packet to send [02:34:36]OFD Sender: No OFD packet to send [02:34:41]OFD Sender: No OFD packet to send [02:34:46]OFD Sender: No OFD packet to send [02:34:51]OFD Sender: No OFD packet to send [02:34:56]OFD Sender: No OFD packet to send [02:35:01]OFD Sender: No OFD packet to send [02:35:06]OFD Sender: No OFD packet to send [02:35:11]OFD Sender: No OFD packet to send [02:35:16]OFD Sender: No OFD packet to send [02:35:21]OFD Sender: No OFD packet to send [02:35:26]OFD Sender: No OFD packet to send [02:35:31]OFD Sender: No OFD packet to send [02:35:36]OFD Sender: No OFD packet to send [02:35:41]OFD Sender: No OFD packet to send [02:35:46]OFD Sender: No OFD packet to send [02:35:51]OFD Sender: No OFD packet to send [02:35:56]OFD Sender: No OFD packet to send [02:36:01]OFD Sender: No OFD packet to send [02:36:06]OFD Sender: No OFD packet to send [02:36:11]OFD Sender: No OFD packet to send [02:36:16]OFD Sender: No OFD packet to send [02:36:21]OFD Sender: No OFD packet to send [02:36:26]OFD Sender: No OFD packet to send [02:36:31]OFD Sender: No OFD packet to send [02:36:36]OFD Sender: No OFD packet to send [02:36:41]OFD Sender: No OFD packet to send [02:36:46]OFD Sender: No OFD packet to send [02:36:51]OFD Sender: No OFD packet to send [02:36:56]OFD Sender: No OFD packet to send [02:37:01]OFD Sender: No OFD packet to send [02:37:06]OFD Sender: No OFD packet to send [02:37:11]OFD Sender: No OFD packet to send [02:37:16]OFD Sender: No OFD packet to send [02:37:21]OFD Sender: No OFD packet to send [02:37:26]OFD Sender: No OFD packet to send [02:37:31]OFD Sender: No OFD packet to send [02:37:36]OFD Sender: No OFD packet to send [02:37:41]OFD Sender: No OFD packet to send [02:37:46]OFD Sender: No OFD packet to send [02:37:51]OFD Sender: No OFD packet to send [02:37:56]OFD Sender: No OFD packet to send [02:38:01]OFD Sender: No OFD packet to send [02:38:06]OFD Sender: No OFD packet to send [02:38:11]OFD Sender: No OFD packet to send [02:38:16]OFD Sender: No OFD packet to send [02:38:21]OFD Sender: No OFD packet to send [02:38:26]OFD Sender: No OFD packet to send [02:38:31]OFD Sender: No OFD packet to send [02:38:36]OFD Sender: No OFD packet to send [02:38:41]OFD Sender: No OFD packet to send [02:38:46]OFD Sender: No OFD packet to send [02:38:51]OFD Sender: No OFD packet to send [02:38:56]OFD Sender: No OFD packet to send [02:39:01]OFD Sender: No OFD packet to send [02:39:06]OFD Sender: No OFD packet to send [02:39:11]OFD Sender: No OFD packet to send [02:39:16]OFD Sender: No OFD packet to send [02:39:21]OFD Sender: No OFD packet to send [02:39:26]OFD Sender: No OFD packet to send [02:39:31]OFD Sender: No OFD packet to send [02:39:36]OFD Sender: No OFD packet to send [02:39:41]OFD Sender: No OFD packet to send [02:39:46]OFD Sender: No OFD packet to send [02:39:51]OFD Sender: No OFD packet to send [02:39:56]OFD Sender: No OFD packet to send [02:40:01]OFD Sender: No OFD packet to send [02:40:06]OFD Sender: No OFD packet to send [02:40:11]OFD Sender: No OFD packet to send [02:40:16]OFD Sender: No OFD packet to send [02:40:21]OFD Sender: No OFD packet to send [02:40:26]OFD Sender: No OFD packet to send [02:40:31]OFD Sender: No OFD packet to send [02:40:36]OFD Sender: No OFD packet to send [02:40:41]OFD Sender: No OFD packet to send [02:40:46]OFD Sender: No OFD packet to send [02:40:51]OFD Sender: No OFD packet to send [02:40:57]OFD Sender: No OFD packet to send [02:41:02]OFD Sender: No OFD packet to send [02:41:07]OFD Sender: No OFD packet to send [02:41:12]OFD Sender: No OFD packet to send [02:41:17]OFD Sender: No OFD packet to send [02:41:22]OFD Sender: No OFD packet to send [02:41:27]OFD Sender: No OFD packet to send [02:41:32]OFD Sender: No OFD packet to send [02:41:37]OFD Sender: No OFD packet to send [02:41:42]OFD Sender: No OFD packet to send [02:41:47]OFD Sender: No OFD packet to send [02:41:52]OFD Sender: No OFD packet to send [02:41:57]OFD Sender: No OFD packet to send [02:42:02]OFD Sender: No OFD packet to send [02:42:07]OFD Sender: No OFD packet to send [02:42:12]OFD Sender: No OFD packet to send [02:42:17]OFD Sender: No OFD packet to send [02:42:22]OFD Sender: No OFD packet to send [02:42:27]OFD Sender: No OFD packet to send [02:42:32]OFD Sender: No OFD packet to send [02:42:37]OFD Sender: No OFD packet to send [02:42:42]OFD Sender: No OFD packet to send [02:42:47]OFD Sender: No OFD packet to send [02:42:52]OFD Sender: No OFD packet to send [02:42:57]OFD Sender: No OFD packet to send [02:43:02]OFD Sender: No OFD packet to send [02:43:07]OFD Sender: No OFD packet to send [02:43:12]OFD Sender: No OFD packet to send [02:43:17]OFD Sender: No OFD packet to send [02:43:22]OFD Sender: No OFD packet to send [02:43:27]OFD Sender: No OFD packet to send [02:43:32]OFD Sender: No OFD packet to send [02:43:37]OFD Sender: No OFD packet to send [02:43:42]OFD Sender: No OFD packet to send [02:43:47]OFD Sender: No OFD packet to send [02:43:52]OFD Sender: No OFD packet to send [02:43:57]OFD Sender: No OFD packet to send [02:44:02]OFD Sender: No OFD packet to send [02:44:07]OFD Sender: No OFD packet to send [02:44:12]OFD Sender: No OFD packet to send [02:44:17]OFD Sender: No OFD packet to send [02:44:22]OFD Sender: No OFD packet to send [02:44:27]OFD Sender: No OFD packet to send [02:44:32]OFD Sender: No OFD packet to send [02:44:37]OFD Sender: No OFD packet to send [02:44:42]OFD Sender: No OFD packet to send [02:44:47]OFD Sender: No OFD packet to send [02:44:52]OFD Sender: No OFD packet to send [02:44:57]OFD Sender: No OFD packet to send [02:45:02]OFD Sender: No OFD packet to send [02:45:07]OFD Sender: No OFD packet to send [02:45:12]OFD Sender: No OFD packet to send [02:45:17]OFD Sender: No OFD packet to send [02:45:22]OFD Sender: No OFD packet to send [02:45:27]OFD Sender: No OFD packet to send [02:45:32]OFD Sender: No OFD packet to send [02:45:37]OFD Sender: No OFD packet to send [02:45:42]OFD Sender: No OFD packet to send [02:45:47]OFD Sender: No OFD packet to send [02:45:52]OFD Sender: No OFD packet to send [02:45:57]OFD Sender: No OFD packet to send [02:46:02]OFD Sender: No OFD packet to send [02:46:07]OFD Sender: No OFD packet to send [02:46:12]OFD Sender: No OFD packet to send [02:46:17]OFD Sender: No OFD packet to send [02:46:22]OFD Sender: No OFD packet to send [02:46:27]OFD Sender: No OFD packet to send [02:46:32]OFD Sender: No OFD packet to send [02:46:37]OFD Sender: No OFD packet to send [02:46:42]OFD Sender: No OFD packet to send [02:46:47]OFD Sender: No OFD packet to send [02:46:52]OFD Sender: No OFD packet to send [02:46:57]OFD Sender: No OFD packet to send [02:47:02]OFD Sender: No OFD packet to send [02:47:07]OFD Sender: No OFD packet to send [02:47:12]OFD Sender: No OFD packet to send [02:47:17]OFD Sender: No OFD packet to send [02:47:22]OFD Sender: No OFD packet to send [02:47:27]OFD Sender: No OFD packet to send [02:47:32]OFD Sender: No OFD packet to send [02:47:37]OFD Sender: No OFD packet to send [02:47:42]OFD Sender: No OFD packet to send [02:47:47]OFD Sender: No OFD packet to send [02:47:52]OFD Sender: No OFD packet to send [02:47:57]OFD Sender: No OFD packet to send [02:48:02]OFD Sender: No OFD packet to send [02:48:07]OFD Sender: No OFD packet to send [02:48:12]OFD Sender: No OFD packet to send [02:48:17]OFD Sender: No OFD packet to send [02:48:22]OFD Sender: No OFD packet to send [02:48:27]OFD Sender: No OFD packet to send [02:48:32]OFD Sender: No OFD packet to send [02:48:37]OFD Sender: No OFD packet to send [02:48:42]OFD Sender: No OFD packet to send [02:48:47]OFD Sender: No OFD packet to send [02:48:52]OFD Sender: No OFD packet to send [02:48:57]OFD Sender: No OFD packet to send [02:49:02]OFD Sender: No OFD packet to send [02:49:07]OFD Sender: No OFD packet to send [02:49:12]OFD Sender: No OFD packet to send [02:49:17]OFD Sender: No OFD packet to send [02:49:22]OFD Sender: No OFD packet to send [02:49:27]OFD Sender: No OFD packet to send [02:49:32]OFD Sender: No OFD packet to send [02:49:37]OFD Sender: No OFD packet to send [02:49:42]OFD Sender: No OFD packet to send [02:49:47]OFD Sender: No OFD packet to send [02:49:52]OFD Sender: No OFD packet to send [02:49:57]OFD Sender: No OFD packet to send [02:50:02]OFD Sender: No OFD packet to send [02:50:07]OFD Sender: No OFD packet to send [02:50:12]OFD Sender: No OFD packet to send [02:50:17]OFD Sender: No OFD packet to send [02:50:22]OFD Sender: No OFD packet to send [02:50:27]OFD Sender: No OFD packet to send [02:50:32]OFD Sender: No OFD packet to send [02:50:37]OFD Sender: No OFD packet to send [02:50:42]OFD Sender: No OFD packet to send [02:50:47]OFD Sender: No OFD packet to send [02:50:52]OFD Sender: No OFD packet to send [02:50:57]OFD Sender: No OFD packet to send [02:51:02]OFD Sender: No OFD packet to send [02:51:07]OFD Sender: No OFD packet to send [02:51:12]OFD Sender: No OFD packet to send [02:51:17]OFD Sender: No OFD packet to send [02:51:22]OFD Sender: No OFD packet to send [02:51:27]OFD Sender: No OFD packet to send [02:51:32]OFD Sender: No OFD packet to send [02:51:37]OFD Sender: No OFD packet to send [02:51:42]OFD Sender: No OFD packet to send [02:51:47]OFD Sender: No OFD packet to send [02:51:52]OFD Sender: No OFD packet to send [02:51:57]OFD Sender: No OFD packet to send [02:52:02]OFD Sender: No OFD packet to send [02:52:07]OFD Sender: No OFD packet to send [02:52:12]OFD Sender: No OFD packet to send [02:52:17]OFD Sender: No OFD packet to send [02:52:22]OFD Sender: No OFD packet to send [02:52:27]OFD Sender: No OFD packet to send [02:52:32]OFD Sender: No OFD packet to send [02:52:37]OFD Sender: No OFD packet to send [02:52:42]OFD Sender: No OFD packet to send [02:52:47]OFD Sender: No OFD packet to send [02:52:52]OFD Sender: No OFD packet to send [02:52:57]OFD Sender: No OFD packet to send [02:53:02]OFD Sender: No OFD packet to send [02:53:07]OFD Sender: No OFD packet to send [02:53:12]OFD Sender: No OFD packet to send [02:53:17]OFD Sender: No OFD packet to send [02:53:22]OFD Sender: No OFD packet to send [02:53:27]OFD Sender: No OFD packet to send [02:53:32]OFD Sender: No OFD packet to send [02:53:37]OFD Sender: No OFD packet to send [02:53:42]OFD Sender: No OFD packet to send [02:53:47]OFD Sender: No OFD packet to send [02:53:52]OFD Sender: No OFD packet to send [02:53:57]OFD Sender: No OFD packet to send [02:54:02]OFD Sender: No OFD packet to send [02:54:07]OFD Sender: No OFD packet to send [02:54:12]OFD Sender: No OFD packet to send [02:54:17]OFD Sender: No OFD packet to send [02:54:22]OFD Sender: No OFD packet to send [02:54:27]OFD Sender: No OFD packet to send [02:54:32]OFD Sender: No OFD packet to send [02:54:37]OFD Sender: No OFD packet to send [02:54:42]OFD Sender: No OFD packet to send [02:54:47]OFD Sender: No OFD packet to send [02:54:52]OFD Sender: No OFD packet to send [02:54:57]OFD Sender: No OFD packet to send [02:55:02]OFD Sender: No OFD packet to send [02:55:07]OFD Sender: No OFD packet to send [02:55:12]OFD Sender: No OFD packet to send [02:55:17]OFD Sender: No OFD packet to send [02:55:22]OFD Sender: No OFD packet to send [02:55:27]OFD Sender: No OFD packet to send [02:55:32]OFD Sender: No OFD packet to send [02:55:37]OFD Sender: No OFD packet to send [02:55:42]OFD Sender: No OFD packet to send [02:55:47]OFD Sender: No OFD packet to send [02:55:52]OFD Sender: No OFD packet to send [02:55:57]OFD Sender: No OFD packet to send [02:56:02]OFD Sender: No OFD packet to send [02:56:07]OFD Sender: No OFD packet to send [02:56:12]OFD Sender: No OFD packet to send [02:56:17]OFD Sender: No OFD packet to send [02:56:22]OFD Sender: No OFD packet to send [02:56:27]OFD Sender: No OFD packet to send [02:56:32]OFD Sender: No OFD packet to send [02:56:37]OFD Sender: No OFD packet to send [02:56:42]OFD Sender: No OFD packet to send [02:56:47]OFD Sender: No OFD packet to send [02:56:52]OFD Sender: No OFD packet to send [02:56:57]OFD Sender: No OFD packet to send [02:57:02]OFD Sender: No OFD packet to send [02:57:07]OFD Sender: No OFD packet to send [02:57:12]OFD Sender: No OFD packet to send [02:57:17]OFD Sender: No OFD packet to send [02:57:22]OFD Sender: No OFD packet to send [02:57:27]OFD Sender: No OFD packet to send [02:57:32]OFD Sender: No OFD packet to send [02:57:37]OFD Sender: No OFD packet to send [02:57:42]OFD Sender: No OFD packet to send [02:57:47]OFD Sender: No OFD packet to send [02:57:52]OFD Sender: No OFD packet to send [02:57:57]OFD Sender: No OFD packet to send [02:58:02]OFD Sender: No OFD packet to send [02:58:07]OFD Sender: No OFD packet to send [02:58:12]OFD Sender: No OFD packet to send [02:58:17]OFD Sender: No OFD packet to send [02:58:22]OFD Sender: No OFD packet to send [02:58:27]OFD Sender: No OFD packet to send [02:58:32]OFD Sender: No OFD packet to send [02:58:37]OFD Sender: No OFD packet to send [02:58:42]OFD Sender: No OFD packet to send [02:58:48]OFD Sender: No OFD packet to send [02:58:53]OFD Sender: No OFD packet to send [02:58:58]OFD Sender: No OFD packet to send [02:59:03]OFD Sender: No OFD packet to send [02:59:08]OFD Sender: No OFD packet to send [02:59:13]OFD Sender: No OFD packet to send [02:59:18]OFD Sender: No OFD packet to send [02:59:23]OFD Sender: No OFD packet to send [02:59:28]OFD Sender: No OFD packet to send [02:59:33]OFD Sender: No OFD packet to send [02:59:38]OFD Sender: No OFD packet to send [02:59:43]OFD Sender: No OFD packet to send [02:59:48]OFD Sender: No OFD packet to send [02:59:53]OFD Sender: No OFD packet to send [02:59:58]OFD Sender: No OFD packet to send [03:00:03]OFD Sender: No OFD packet to send [03:00:08]OFD Sender: No OFD packet to send [03:00:13]OFD Sender: No OFD packet to send [03:00:18]OFD Sender: No OFD packet to send [03:00:23]OFD Sender: No OFD packet to send [03:00:28]OFD Sender: No OFD packet to send [03:00:33]OFD Sender: No OFD packet to send [03:00:38]OFD Sender: No OFD packet to send [03:00:43]OFD Sender: No OFD packet to send [03:00:48]OFD Sender: No OFD packet to send [03:00:53]OFD Sender: No OFD packet to send [03:00:58]OFD Sender: No OFD packet to send [03:01:03]OFD Sender: No OFD packet to send [03:01:08]OFD Sender: No OFD packet to send [03:01:13]OFD Sender: No OFD packet to send [03:01:18]OFD Sender: No OFD packet to send [03:01:23]OFD Sender: No OFD packet to send [03:01:28]OFD Sender: No OFD packet to send [03:01:33]OFD Sender: No OFD packet to send [03:01:38]OFD Sender: No OFD packet to send [03:01:43]OFD Sender: No OFD packet to send [03:01:48]OFD Sender: No OFD packet to send [03:01:53]OFD Sender: No OFD packet to send [03:01:58]OFD Sender: No OFD packet to send [03:02:03]OFD Sender: No OFD packet to send [03:02:08]OFD Sender: No OFD packet to send [03:02:13]OFD Sender: No OFD packet to send [03:02:18]OFD Sender: No OFD packet to send [03:02:23]OFD Sender: No OFD packet to send [03:02:28]OFD Sender: No OFD packet to send [03:02:33]OFD Sender: No OFD packet to send [03:02:38]OFD Sender: No OFD packet to send [03:02:43]OFD Sender: No OFD packet to send [03:02:48]OFD Sender: No OFD packet to send [03:02:53]OFD Sender: No OFD packet to send [03:02:58]OFD Sender: No OFD packet to send [03:03:03]OFD Sender: No OFD packet to send [03:03:08]OFD Sender: No OFD packet to send [03:03:13]OFD Sender: No OFD packet to send [03:03:18]OFD Sender: No OFD packet to send [03:03:23]OFD Sender: No OFD packet to send [03:03:28]OFD Sender: No OFD packet to send [03:03:33]OFD Sender: No OFD packet to send [03:03:38]OFD Sender: No OFD packet to send [03:03:43]OFD Sender: No OFD packet to send [03:03:48]OFD Sender: No OFD packet to send [03:03:53]OFD Sender: No OFD packet to send [03:03:58]OFD Sender: No OFD packet to send [03:04:03]OFD Sender: No OFD packet to send [03:04:08]OFD Sender: No OFD packet to send [03:04:13]OFD Sender: No OFD packet to send [03:04:18]OFD Sender: No OFD packet to send [03:04:23]OFD Sender: No OFD packet to send [03:04:28]OFD Sender: No OFD packet to send [03:04:33]OFD Sender: No OFD packet to send [03:04:38]OFD Sender: No OFD packet to send [03:04:43]OFD Sender: No OFD packet to send [03:04:48]OFD Sender: No OFD packet to send [03:04:53]OFD Sender: No OFD packet to send [03:04:58]OFD Sender: No OFD packet to send [03:05:03]OFD Sender: No OFD packet to send [03:05:08]OFD Sender: No OFD packet to send [03:05:13]OFD Sender: No OFD packet to send [03:05:18]OFD Sender: No OFD packet to send [03:05:23]OFD Sender: No OFD packet to send [03:05:28]OFD Sender: No OFD packet to send [03:05:33]OFD Sender: No OFD packet to send [03:05:38]OFD Sender: No OFD packet to send [03:05:43]OFD Sender: No OFD packet to send [03:05:48]OFD Sender: No OFD packet to send [03:05:53]OFD Sender: No OFD packet to send [03:05:58]OFD Sender: No OFD packet to send [03:06:03]OFD Sender: No OFD packet to send [03:06:08]OFD Sender: No OFD packet to send [03:06:13]OFD Sender: No OFD packet to send [03:06:18]OFD Sender: No OFD packet to send [03:06:23]OFD Sender: No OFD packet to send [03:06:28]OFD Sender: No OFD packet to send [03:06:33]OFD Sender: No OFD packet to send [03:06:38]OFD Sender: No OFD packet to send [03:06:43]OFD Sender: No OFD packet to send [03:06:48]OFD Sender: No OFD packet to send [03:06:53]OFD Sender: No OFD packet to send [03:06:58]OFD Sender: No OFD packet to send [03:07:03]OFD Sender: No OFD packet to send [03:07:08]OFD Sender: No OFD packet to send [03:07:13]OFD Sender: No OFD packet to send [03:07:18]OFD Sender: No OFD packet to send [03:07:23]OFD Sender: No OFD packet to send [03:07:28]OFD Sender: No OFD packet to send [03:07:33]OFD Sender: No OFD packet to send [03:07:38]OFD Sender: No OFD packet to send [03:07:43]OFD Sender: No OFD packet to send [03:07:48]OFD Sender: No OFD packet to send [03:07:53]OFD Sender: No OFD packet to send [03:07:58]OFD Sender: No OFD packet to send [03:08:03]OFD Sender: No OFD packet to send [03:08:08]OFD Sender: No OFD packet to send [03:08:13]OFD Sender: No OFD packet to send [03:08:18]OFD Sender: No OFD packet to send [03:08:23]OFD Sender: No OFD packet to send [03:08:28]OFD Sender: No OFD packet to send [03:08:33]OFD Sender: No OFD packet to send [03:08:38]OFD Sender: No OFD packet to send [03:08:43]OFD Sender: No OFD packet to send [03:08:48]OFD Sender: No OFD packet to send [03:08:53]OFD Sender: No OFD packet to send [03:08:58]OFD Sender: No OFD packet to send [03:09:03]OFD Sender: No OFD packet to send [03:09:08]OFD Sender: No OFD packet to send [03:09:13]OFD Sender: No OFD packet to send [03:09:18]OFD Sender: No OFD packet to send [03:09:23]OFD Sender: No OFD packet to send [03:09:28]OFD Sender: No OFD packet to send [03:09:33]OFD Sender: No OFD packet to send [03:09:38]OFD Sender: No OFD packet to send [03:09:43]OFD Sender: No OFD packet to send [03:09:48]OFD Sender: No OFD packet to send [03:09:53]OFD Sender: No OFD packet to send [03:09:58]OFD Sender: No OFD packet to send [03:10:03]OFD Sender: No OFD packet to send [03:10:08]OFD Sender: No OFD packet to send [03:10:13]OFD Sender: No OFD packet to send [03:10:18]OFD Sender: No OFD packet to send [03:10:23]OFD Sender: No OFD packet to send [03:10:28]OFD Sender: No OFD packet to send [03:10:33]OFD Sender: No OFD packet to send [03:10:38]OFD Sender: No OFD packet to send [03:10:43]OFD Sender: No OFD packet to send [03:10:48]OFD Sender: No OFD packet to send [03:10:53]OFD Sender: No OFD packet to send [03:10:58]OFD Sender: No OFD packet to send [03:11:03]OFD Sender: No OFD packet to send [03:11:08]OFD Sender: No OFD packet to send [03:11:13]OFD Sender: No OFD packet to send [03:11:18]OFD Sender: No OFD packet to send [03:11:23]OFD Sender: No OFD packet to send [03:11:28]OFD Sender: No OFD packet to send [03:11:33]OFD Sender: No OFD packet to send [03:11:38]OFD Sender: No OFD packet to send [03:11:43]OFD Sender: No OFD packet to send [03:11:48]OFD Sender: No OFD packet to send [03:11:53]OFD Sender: No OFD packet to send [03:11:58]OFD Sender: No OFD packet to send [03:12:03]OFD Sender: No OFD packet to send [03:12:08]OFD Sender: No OFD packet to send [03:12:13]OFD Sender: No OFD packet to send [03:12:18]OFD Sender: No OFD packet to send [03:12:23]OFD Sender: No OFD packet to send [03:12:28]OFD Sender: No OFD packet to send [03:12:33]OFD Sender: No OFD packet to send [03:12:38]OFD Sender: No OFD packet to send [03:12:43]OFD Sender: No OFD packet to send [03:12:48]OFD Sender: No OFD packet to send [03:12:53]OFD Sender: No OFD packet to send [03:12:58]OFD Sender: No OFD packet to send [03:13:03]OFD Sender: No OFD packet to send [03:13:08]OFD Sender: No OFD packet to send [03:13:13]OFD Sender: No OFD packet to send [03:13:18]OFD Sender: No OFD packet to send [03:13:23]OFD Sender: No OFD packet to send [03:13:28]OFD Sender: No OFD packet to send [03:13:33]OFD Sender: No OFD packet to send [03:13:38]OFD Sender: No OFD packet to send [03:13:43]OFD Sender: No OFD packet to send [03:13:48]OFD Sender: No OFD packet to send [03:13:53]OFD Sender: No OFD packet to send [03:13:58]OFD Sender: No OFD packet to send [03:14:03]OFD Sender: No OFD packet to send [03:14:08]OFD Sender: No OFD packet to send [03:14:13]OFD Sender: No OFD packet to send [03:14:18]OFD Sender: No OFD packet to send [03:14:23]OFD Sender: No OFD packet to send [03:14:28]OFD Sender: No OFD packet to send [03:14:33]OFD Sender: No OFD packet to send [03:14:38]OFD Sender: No OFD packet to send [03:14:43]OFD Sender: No OFD packet to send [03:14:48]OFD Sender: No OFD packet to send [03:14:53]OFD Sender: No OFD packet to send [03:14:58]OFD Sender: No OFD packet to send [03:15:03]OFD Sender: No OFD packet to send [03:15:08]OFD Sender: No OFD packet to send [03:15:13]OFD Sender: No OFD packet to send [03:15:18]OFD Sender: No OFD packet to send [03:15:23]OFD Sender: No OFD packet to send [03:15:28]OFD Sender: No OFD packet to send [03:15:33]OFD Sender: No OFD packet to send [03:15:38]OFD Sender: No OFD packet to send [03:15:43]OFD Sender: No OFD packet to send [03:15:48]OFD Sender: No OFD packet to send [03:15:53]OFD Sender: No OFD packet to send [03:15:58]OFD Sender: No OFD packet to send [03:16:03]OFD Sender: No OFD packet to send [03:16:08]OFD Sender: No OFD packet to send [03:16:13]OFD Sender: No OFD packet to send [03:16:18]OFD Sender: No OFD packet to send [03:16:23]OFD Sender: No OFD packet to send [03:16:28]OFD Sender: No OFD packet to send [03:16:33]OFD Sender: No OFD packet to send [03:16:38]OFD Sender: No OFD packet to send [03:16:44]OFD Sender: No OFD packet to send [03:16:49]OFD Sender: No OFD packet to send [03:16:54]OFD Sender: No OFD packet to send [03:16:59]OFD Sender: No OFD packet to send [03:17:04]OFD Sender: No OFD packet to send