[00:18:42]ConnectInit Can't connect to host [00:18:45]OFD Sender: No OFD packet to send [00:18:50]OFD Sender: No OFD packet to send [00:18:55]OFD Sender: No OFD packet to send [00:19:00]OFD Sender: No OFD packet to send [00:19:05]OFD Sender: No OFD packet to send [00:19:10]OFD Sender: No OFD packet to send [00:19:15]OFD Sender: No OFD packet to send [00:19:20]OFD Sender: No OFD packet to send [00:19:25]OFD Sender: No OFD packet to send [00:19:30]OFD Sender: No OFD packet to send [00:19:35]OFD Sender: No OFD packet to send [00:19:40]OFD Sender: No OFD packet to send [00:19:45]OFD Sender: No OFD packet to send [00:19:50]OFD Sender: No OFD packet to send [00:19:55]OFD Sender: No OFD packet to send [00:20:00]OFD Sender: No OFD packet to send [00:20:05]OFD Sender: No OFD packet to send [00:20:10]OFD Sender: No OFD packet to send [00:20:15]OFD Sender: No OFD packet to send [00:20:20]OFD Sender: No OFD packet to send [00:20:25]OFD Sender: No OFD packet to send [00:20:30]OFD Sender: No OFD packet to send [00:20:35]OFD Sender: No OFD packet to send [00:20:40]OFD Sender: No OFD packet to send [00:20:45]OFD Sender: No OFD packet to send [00:20:50]OFD Sender: No OFD packet to send [00:20:55]OFD Sender: No OFD packet to send [00:21:00]OFD Sender: No OFD packet to send [00:21:05]OFD Sender: No OFD packet to send [00:21:10]OFD Sender: No OFD packet to send [00:21:15]OFD Sender: No OFD packet to send [00:21:20]OFD Sender: No OFD packet to send [00:21:25]OFD Sender: No OFD packet to send [00:21:30]OFD Sender: No OFD packet to send [00:21:35]OFD Sender: No OFD packet to send [00:21:40]OFD Sender: No OFD packet to send [00:21:45]OFD Sender: No OFD packet to send [00:21:50]OFD Sender: No OFD packet to send [00:21:55]OFD Sender: No OFD packet to send [00:22:00]OFD Sender: No OFD packet to send [00:22:05]OFD Sender: No OFD packet to send [00:22:10]OFD Sender: No OFD packet to send [00:22:15]OFD Sender: No OFD packet to send [00:22:20]OFD Sender: No OFD packet to send [00:22:25]OFD Sender: No OFD packet to send [00:22:30]OFD Sender: No OFD packet to send [00:22:35]OFD Sender: No OFD packet to send [00:22:40]OFD Sender: No OFD packet to send [00:22:45]OFD Sender: No OFD packet to send [00:22:50]OFD Sender: No OFD packet to send [00:22:55]OFD Sender: No OFD packet to send [00:23:00]OFD Sender: No OFD packet to send [00:23:05]OFD Sender: No OFD packet to send [00:23:10]OFD Sender: No OFD packet to send [00:23:15]OFD Sender: No OFD packet to send [00:23:20]OFD Sender: No OFD packet to send [00:23:25]OFD Sender: No OFD packet to send [00:23:30]OFD Sender: No OFD packet to send [00:23:35]OFD Sender: No OFD packet to send [00:23:40]OFD Sender: No OFD packet to send [00:23:45]OFD Sender: No OFD packet to send [00:23:50]OFD Sender: No OFD packet to send [00:23:55]OFD Sender: No OFD packet to send [00:24:00]OFD Sender: No OFD packet to send [00:24:05]OFD Sender: No OFD packet to send [00:24:10]OFD Sender: No OFD packet to send [00:24:15]OFD Sender: No OFD packet to send [00:24:20]OFD Sender: No OFD packet to send [00:24:25]OFD Sender: No OFD packet to send [00:24:30]OFD Sender: No OFD packet to send [00:24:35]OFD Sender: No OFD packet to send [00:24:40]OFD Sender: No OFD packet to send [00:24:45]OFD Sender: No OFD packet to send [00:24:50]OFD Sender: No OFD packet to send [00:24:55]OFD Sender: No OFD packet to send [00:25:00]OFD Sender: No OFD packet to send [00:25:05]OFD Sender: No OFD packet to send [00:25:10]OFD Sender: No OFD packet to send [00:25:15]OFD Sender: No OFD packet to send [00:25:20]OFD Sender: No OFD packet to send [00:25:25]OFD Sender: No OFD packet to send [00:25:30]OFD Sender: No OFD packet to send [00:25:35]OFD Sender: No OFD packet to send [00:25:40]OFD Sender: No OFD packet to send [00:25:45]OFD Sender: No OFD packet to send [00:25:50]OFD Sender: No OFD packet to send [00:25:55]OFD Sender: No OFD packet to send [00:26:00]OFD Sender: No OFD packet to send [00:26:05]OFD Sender: No OFD packet to send [00:26:10]OFD Sender: No OFD packet to send [00:26:15]OFD Sender: No OFD packet to send [00:26:20]OFD Sender: No OFD packet to send [00:26:25]OFD Sender: No OFD packet to send [00:26:30]OFD Sender: No OFD packet to send [00:26:35]OFD Sender: No OFD packet to send [00:26:40]OFD Sender: No OFD packet to send [00:26:45]OFD Sender: No OFD packet to send [00:26:50]OFD Sender: No OFD packet to send [00:26:55]OFD Sender: No OFD packet to send [00:27:00]OFD Sender: No OFD packet to send [00:27:05]OFD Sender: No OFD packet to send [00:27:10]OFD Sender: No OFD packet to send [00:27:15]OFD Sender: No OFD packet to send [00:27:20]OFD Sender: No OFD packet to send [00:27:25]OFD Sender: No OFD packet to send [00:27:30]OFD Sender: No OFD packet to send [00:27:35]OFD Sender: No OFD packet to send [00:27:40]OFD Sender: No OFD packet to send [00:27:45]OFD Sender: No OFD packet to send [00:27:50]OFD Sender: No OFD packet to send [00:27:55]OFD Sender: No OFD packet to send [00:28:00]OFD Sender: No OFD packet to send [00:28:05]OFD Sender: No OFD packet to send [00:28:10]OFD Sender: No OFD packet to send [00:28:15]OFD Sender: No OFD packet to send [00:28:20]OFD Sender: No OFD packet to send [00:28:25]OFD Sender: No OFD packet to send [00:28:30]OFD Sender: No OFD packet to send [00:28:35]OFD Sender: No OFD packet to send [00:28:40]OFD Sender: No OFD packet to send [00:28:45]OFD Sender: No OFD packet to send [00:28:50]OFD Sender: No OFD packet to send [00:28:55]OFD Sender: No OFD packet to send [00:29:00]OFD Sender: No OFD packet to send [00:29:05]OFD Sender: No OFD packet to send [00:29:10]OFD Sender: No OFD packet to send [00:29:15]OFD Sender: No OFD packet to send [00:29:20]OFD Sender: No OFD packet to send [00:29:25]OFD Sender: No OFD packet to send [00:29:30]OFD Sender: No OFD packet to send [00:29:35]OFD Sender: No OFD packet to send [00:29:40]OFD Sender: No OFD packet to send [00:29:45]OFD Sender: No OFD packet to send [00:29:50]OFD Sender: No OFD packet to send [00:29:55]OFD Sender: No OFD packet to send [00:30:00]OFD Sender: No OFD packet to send [00:30:05]OFD Sender: No OFD packet to send [00:30:10]OFD Sender: No OFD packet to send [00:30:15]OFD Sender: No OFD packet to send [00:30:20]OFD Sender: No OFD packet to send [00:30:25]OFD Sender: No OFD packet to send [00:30:30]OFD Sender: No OFD packet to send [00:30:35]OFD Sender: No OFD packet to send [00:30:40]OFD Sender: No OFD packet to send [00:30:45]accept exits with 7 [00:30:45]New connection [00:30:45]New thread 3066735972 created [00:30:45]Thread 3066879332 joined [00:30:45]Waiting for new connection... [00:30:45] Sock 7.Parse request [00:30:45]Sock 7.Check first char [00:30:45]Sock 7.First char is OK [00:30:45]request: POST /json_proto HTTP/1.0 [00:30:45]Method: POST [00:30:45]URL: /json_proto [00:30:45]Method is POST - this is cgi request [00:30:45]url: /json_proto [00:30:45]query_string will be loaded in cgi processing [00:30:45]execute_cgi json_proto POST (null) [00:30:45]execute_cgi path=json_proto method=POST [00:30:45]POST find Content-Length [00:30:45]Host: 172.17.34.200:8080 [00:30:45]Content-Length: 215 [00:30:45]Content-Type: application/json [00:30:45] [00:30:45]POST finish read [00:30:45]Found Content-Length = 215 [00:30:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:30:45]execute_script... [00:30:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:30:45]POST & json_proto [00:30:45]process_json_proto [00:30:45]json parsed OK: [00:30:45]protocol is kg_v1.0 [00:30:45]action value=get_value [00:30:45]process_action get_value [00:30:45]cmd_get_value [00:30:45]process_action get_value done [00:30:45]requested_data is exist [00:30:45]produce_requested_data [00:30:45]requested_item kkm.sn is exist - process it [00:30:45]requested_item kkm.ver is exist - process it [00:30:45]requested_item fm.sn is exist - process it [00:30:45]wFMCommunicate request_size=4 [00:30:45]MH_SAM_APDU [00:30:45]CAPDU: 80 11 00 00 [00:30:45]Write to MH i2c: E2 08 00 3F 35 80 11 00 00 00 00 00 00 EE [00:30:45]Write i2c OK [00:30:45]MH_I2C_Read... [00:30:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:30:45]OFD Sender: No OFD packet to send [00:30:45]Read from MH i2c: E2 [00:30:45]MH_I2C_Read... [00:30:45]Read from MH i2c: E2 17 00 [00:30:45]MH_I2C_Read... [00:30:45]Read from MH i2c: E2 17 00 3F 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 41 [00:30:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [00:30:45]wFMCommunicate OK [00:30:45]requested_item fd.num is exist - process it [00:30:45]SAM_PROTO_GetFieldsCounters [00:30:45]wFMCommunicate request_size=4 [00:30:45]MH_SAM_APDU [00:30:45]CAPDU: 80 13 00 00 [00:30:45]Write to MH i2c: E2 08 00 40 35 80 13 00 00 00 00 00 00 F1 [00:30:45]Write i2c OK [00:30:45]MH_I2C_Read... [00:30:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:30:45]Read from MH i2c: E2 [00:30:45]MH_I2C_Read... [00:30:45]Read from MH i2c: E2 62 00 [00:30:45]MH_I2C_Read... [00:30:45]Read from MH i2c: E2 62 00 40 35 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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2A 13 01 00 0E 04 04 00 10 01 00 00 12 04 04 00 98 02 00 00 5E 04 04 00 98 02 00 00 57 04 04 00 9A 02 00 00 19 04 04 00 00 00 00 00 90 00 2E [00:30: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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2A 13 01 00 0E 04 04 00 10 01 00 00 12 04 04 00 98 02 00 00 5E 04 04 00 98 02 00 00 57 04 04 00 9A 02 00 00 19 04 04 00 00 00 00 00 90 00 [00:30:45]wFMCommunicate OK [00:30:45]SAM_PROTO_GetFieldsCounters done [00:30:45]requested_item shift.num is exist - process it [00:30:45]requested_item shift.opened is exist - process it [00:30:45]req_shift_opened [00:30:45]FM_GetShiftState [00:30:45]SAM_PROTO_GetShiftState [00:30:45]wFMCommunicate request_size=4 [00:30:45]MH_SAM_APDU [00:30:45]CAPDU: 80 13 01 00 [00:30:45]Write to MH i2c: E2 08 00 41 35 80 13 01 00 00 00 00 00 F3 [00:30:45]Write i2c OK [00:30:45]MH_I2C_Read... [00:30:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:30:45]Read from MH i2c: E2 [00:30:45]MH_I2C_Read... [00:30:45]Read from MH i2c: E2 0E 00 [00:30:45]MH_I2C_Read... [00:30:45]Read from MH i2c: E2 0E 00 41 35 00 09 00 00 00 00 00 00 00 00 00 00 90 00 FE [00:30:45]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:30:45]wFMCommunicate OK [00:30:45]SAM_PROTO_GetShiftState done [00:30:45]FM_GetShiftState done [00:30:45]req_shift_opened done [00:30:45]requested_item shift.open_date is exist - process it [00:30:45]req_shift_open_date [00:30:45]FM_GetShiftState [00:30:45]SAM_PROTO_GetShiftState [00:30:45]wFMCommunicate request_size=4 [00:30:45]MH_SAM_APDU [00:30:45]CAPDU: 80 13 01 00 [00:30:45]Write to MH i2c: E2 08 00 42 35 80 13 01 00 00 00 00 00 F4 [00:30:45]Write i2c OK [00:30:45]MH_I2C_Read... [00:30:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:30:45]Read from MH i2c: E2 [00:30:45]MH_I2C_Read... [00:30:45]Read from MH i2c: E2 0E 00 [00:30:45]MH_I2C_Read... [00:30:45]Read from MH i2c: E2 0E 00 42 35 00 09 00 00 00 00 00 00 00 00 00 00 90 00 FF [00:30:45]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:30:45]wFMCommunicate OK [00:30:45]SAM_PROTO_GetShiftState done [00:30:45]FM_GetShiftState done [00:30:45]req_shift_open_date done [00:30:45]produce_requested_data done [00:30:45]produce_requested_data return {"kkm.sn":"0300000024","kkm.ver":"001","fm.sn":"0000000000874742","fd.num":70442,"shift.num":272,"shift.opened":0,"shift.open_date":0} [00:30:45]process_action_free get_value [00:30:45]json_value_free [00:30:45]json_value_free done [00:30:45]process_json_proto returns [00:30:45]Send response to host [00:30:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000024","kkm.ver":"001","fm.sn":"0000000000874742","fd.num":70442,"shift.num":272,"shift.opened":0,"shift.open_date":0}}} [00:30:45]free response buf [00:30:45]execute_script done [00:30:45]execute_script returns [00:30:45]free content buf [00:30:45]Sock 7.Close socket [00:30:45]Sock 7.Thread stoped [00:30:45]accept exits with 10 [00:30:45]New connection [00:30:45]New thread 3066879332 created [00:30:45]Thread 3066735972 joined [00:30:45]Waiting for new connection... [00:30:45] Sock 10.Parse request [00:30:45]Sock 10.Check first char [00:30:45]Sock 10.First char is OK [00:30:45]request: POST /json_proto HTTP/1.0 [00:30:45]Method: POST [00:30:45]URL: /json_proto [00:30:45]Method is POST - this is cgi request [00:30:45]url: /json_proto [00:30:45]query_string will be loaded in cgi processing [00:30:45]execute_cgi json_proto POST (null) [00:30:45]execute_cgi path=json_proto method=POST [00:30:45]POST find Content-Length [00:30:45]Host: 172.17.34.200:8080 [00:30:45]Content-Length: 331 [00:30:45]Content-Type: application/json [00:30:45] [00:30:45]POST finish read [00:30:45]Found Content-Length = 331 [00:30:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:30:45]execute_script... [00:30:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:30:46]POST & json_proto [00:30:46]process_json_proto [00:30:46]json parsed OK: [00:30:46]protocol is kg_v1.0 [00:30:46]action value=get_value [00:30:46]process_action get_value [00:30:46]cmd_get_value [00:30:46]process_action get_value done [00:30:46]requested_data is exist [00:30:46]produce_requested_data [00:30:46]requested_item fm.sale.total is exist - process it [00:30:46]SAM_PROTO_GetFMData [00:30:46]wFMCommunicate request_size=4 [00:30:46]MH_SAM_APDU [00:30:46]CAPDU: 80 13 03 00 [00:30:46]Write to MH i2c: E2 08 00 43 35 80 13 03 00 00 00 00 00 F7 [00:30:46]Write i2c OK [00:30:46]MH_I2C_Read... [00:30:46]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:30:46]Read from MH i2c: E2 [00:30:46]MH_I2C_Read... [00:30:46]Read from MH i2c: E2 FD 00 [00:30:46]MH_I2C_Read... [00:30:46]Read from MH i2c: E2 FD 00 43 35 00 C8 04 85 04 C4 04 6E 04 04 00 08 11 01 00 69 04 A3 00 6F 04 04 00 6A 0D 01 00 B1 04 05 00 2B 64 3D B2 01 70 04 05 00 E0 19 7A 12 01 72 04 04 00 4B 4A C3 9F 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 7D 17 1F 2E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 05 D8 D7 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9F 00 6F 04 04 00 9E 03 00 00 B1 04 04 00 74 34 75 23 70 04 04 00 40 EC 6E 23 72 04 03 00 34 48 06 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 7D FD C3 03 90 00 B2 [00:30:46]RAPDU: C8 04 85 04 C4 04 6E 04 04 00 08 11 01 00 69 04 A3 00 6F 04 04 00 6A 0D 01 00 B1 04 05 00 2B 64 3D B2 01 70 04 05 00 E0 19 7A 12 01 72 04 04 00 4B 4A C3 9F 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 7D 17 1F 2E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 05 D8 D7 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9F 00 6F 04 04 00 9E 03 00 00 B1 04 04 00 74 34 75 23 70 04 04 00 40 EC 6E 23 72 04 03 00 34 48 06 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 7D FD C3 03 90 00 [00:30:46]wFMCommunicate OK [00:30:46]wFMCommunicate request_size=4 [00:30:46]MH_SAM_APDU [00:30:46]CAPDU: 80 17 00 00 [00:30:46]Write to MH i2c: E2 08 00 44 35 80 17 00 00 00 00 00 00 F9 [00:30:46]Write i2c OK [00:30:46]MH_I2C_Read... [00:30:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:47]Read from MH i2c: E2 [00:30:47]MH_I2C_Read... [00:30:47]Read from MH i2c: E2 FD 00 [00:30:47]MH_I2C_Read... [00:30:47]Read from MH i2c: E2 FD 00 44 35 00 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 CD 54 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 66 [00:30:47]RAPDU: 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 CD 54 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:30:47]wFMCommunicate OK [00:30:47]wFMCommunicate request_size=4 [00:30:47]MH_SAM_APDU [00:30:47]CAPDU: 80 17 00 00 [00:30:47]Write to MH i2c: E2 08 00 45 35 80 17 00 00 00 00 00 00 FA [00:30:47]Write i2c OK [00:30:47]MH_I2C_Read... [00:30:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:47]Read from MH i2c: E2 [00:30:47]MH_I2C_Read... [00:30:47]Read from MH i2c: E2 FD 00 [00:30:47]MH_I2C_Read... [00:30:47]Read from MH i2c: E2 FD 00 45 35 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D2 [00:30:47]RAPDU: 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:30:47]wFMCommunicate OK [00:30:47]wFMCommunicate request_size=4 [00:30:47]MH_SAM_APDU [00:30:47]CAPDU: 80 17 00 00 [00:30:47]Write to MH i2c: E2 08 00 46 35 80 17 00 00 00 00 00 00 FB [00:30:47]Write i2c OK [00:30:47]MH_I2C_Read... [00:30:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:47]Read from MH i2c: E2 [00:30:47]MH_I2C_Read... [00:30:47]Read from MH i2c: E2 FD 00 [00:30:47]MH_I2C_Read... [00:30:47]Read from MH i2c: E2 FD 00 46 35 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 90 00 73 [00:30:47]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 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 90 00 [00:30:47]wFMCommunicate OK [00:30:47]wFMCommunicate request_size=4 [00:30:47]MH_SAM_APDU [00:30:47]CAPDU: 80 17 00 00 [00:30:47]Write to MH i2c: E2 08 00 47 35 80 17 00 00 00 00 00 00 FC [00:30:47]Write i2c OK [00:30:47]MH_I2C_Read... [00:30:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 226! [00:30:47]Read from MH i2c: E2 [00:30:47]MH_I2C_Read... [00:30:47]Read from MH i2c: E2 E5 00 [00:30:47]MH_I2C_Read... [00:30:47]Read from MH i2c: E2 E5 00 47 35 00 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E0 [00:30:47]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:30:47]wFMCommunicate OK [00:30:47]SAM_PROTO_GetFMData done [00:30:47]requested_item fm.sale_refund.total is exist - process it [00:30:47]requested_item fm.buy.total is exist - process it [00:30:47]requested_item shift.sale.total is exist - process it [00:30:47]SAM_PROTO_GetShiftData [00:30:47]wFMCommunicate request_size=4 [00:30:47]MH_SAM_APDU [00:30:47]CAPDU: 80 13 02 00 [00:30:47]Write to MH i2c: E2 08 00 48 35 80 13 02 00 00 00 00 00 FB [00:30:47]Write i2c OK [00:30:47]MH_I2C_Read... [00:30:48]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:30:48]Read from MH i2c: E2 [00:30:48]MH_I2C_Read... [00:30:48]Read from MH i2c: E2 FD 00 [00:30:48]MH_I2C_Read... [00:30:48]Read from MH i2c: E2 FD 00 48 35 00 BD 04 AA 04 B9 04 6E 04 04 00 98 02 00 00 69 04 9F 00 6F 04 04 00 95 02 00 00 B1 04 04 00 D5 AE BA 03 70 04 04 00 30 D8 22 02 72 04 04 00 A5 D6 97 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AE 67 65 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 32 73 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 03 00 00 00 B1 04 03 00 00 E4 0C 70 04 03 00 00 E4 0C 72 04 00 00 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 72 5E 01 EF 03 09 00 F6 03 01 00 00 F7 90 00 9B [00:30:48]RAPDU: BD 04 AA 04 B9 04 6E 04 04 00 98 02 00 00 69 04 9F 00 6F 04 04 00 95 02 00 00 B1 04 04 00 D5 AE BA 03 70 04 04 00 30 D8 22 02 72 04 04 00 A5 D6 97 01 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 AE 67 65 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 32 73 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 98 00 6F 04 04 00 03 00 00 00 B1 04 03 00 00 E4 0C 70 04 03 00 00 E4 0C 72 04 00 00 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 72 5E 01 EF 03 09 00 F6 03 01 00 00 F7 90 00 [00:30:48]wFMCommunicate OK [00:30:48]wFMCommunicate request_size=4 [00:30:48]MH_SAM_APDU [00:30:48]CAPDU: 80 17 00 00 [00:30:48]Write to MH i2c: E2 08 00 49 35 80 17 00 00 00 00 00 00 FE [00:30:48]Write i2c OK [00:30:48]MH_I2C_Read... [00:30:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:48]Read from MH i2c: E2 [00:30:48]MH_I2C_Read... [00:30:48]Read from MH i2c: E2 FD 00 [00:30:48]MH_I2C_Read... [00:30:48]Read from MH i2c: E2 FD 00 49 35 00 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 34 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FC [00:30:48]RAPDU: 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 34 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:30:48]wFMCommunicate OK [00:30:48]wFMCommunicate request_size=4 [00:30:48]MH_SAM_APDU [00:30:48]CAPDU: 80 17 00 00 [00:30:48]Write to MH i2c: E2 08 00 4A 35 80 17 00 00 00 00 00 00 FF [00:30:48]Write i2c OK [00:30:48]MH_I2C_Read... [00:30:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:48]Read from MH i2c: E2 [00:30:48]MH_I2C_Read... [00:30:48]Read from MH i2c: E2 FD 00 [00:30:48]MH_I2C_Read... [00:30:48]Read from MH i2c: E2 FD 00 4A 35 00 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 31 [00:30:48]RAPDU: 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:30:48]wFMCommunicate OK [00:30:48]wFMCommunicate request_size=4 [00:30:48]MH_SAM_APDU [00:30:48]CAPDU: 80 17 00 00 [00:30:48]Write to MH i2c: E2 08 00 4B 35 80 17 00 00 00 00 00 00 00 [00:30:48]Write i2c OK [00:30:48]MH_I2C_Read... [00:30:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:49]Read from MH i2c: E2 [00:30:49]MH_I2C_Read... [00:30:49]Read from MH i2c: E2 FD 00 [00:30:49]MH_I2C_Read... [00:30:49]Read from MH i2c: E2 FD 00 4B 35 00 F7 03 00 00 EF 03 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 90 00 77 [00:30:49]RAPDU: F7 03 00 00 EF 03 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 90 00 [00:30:49]wFMCommunicate OK [00:30:49]wFMCommunicate request_size=4 [00:30:49]MH_SAM_APDU [00:30:49]CAPDU: 80 17 00 00 [00:30:49]Write to MH i2c: E2 08 00 4C 35 80 17 00 00 00 00 00 00 01 [00:30:49]Write i2c OK [00:30:49]MH_I2C_Read... [00:30:49]Read from MH i2c: E2 [00:30:49]MH_I2C_Read... [00:30:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 215! [00:30:49]Read from MH i2c: E2 DA 00 [00:30:49]MH_I2C_Read... [00:30:49]Read from MH i2c: E2 DA 00 4C 35 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 E2 [00:30:49]RAPDU: 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:30:49]wFMCommunicate OK [00:30:49]SAM_PROTO_GetShiftData done [00:30:49]requested_item shift.sale.total_cash is exist - process it [00:30:49]requested_item shift.sale_refund.total is exist - process it [00:30:49]requested_item shift.sale_refund.total_cash is exist - process it [00:30:49]requested_item shift.buy.total is exist - process it [00:30:49]requested_item shift.buy.total_cash is exist - process it [00:30:49]produce_requested_data done [00:30:49]produce_requested_data return {"fm.sale.total":72853350.83,"fm.sale_refund.total":5948837.00,"fm.buy.total":0.00,"shift.sale.total":625661.01,"shift.sale.total_cash":358380.00,"shift.sale_refund.total":8448.00,"shift.sale_refund.total_cash":8448.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:30:49]process_action_free get_value [00:30:49]json_value_free [00:30:49]json_value_free done [00:30:49]process_json_proto returns [00:30:49]Send response to host [00:30:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":72853350.83,"fm.sale_refund.total":5948837.00,"fm.buy.total":0.00,"shift.sale.total":625661.01,"shift.sale.total_cash":358380.00,"shift.sale_refund.total":8448.00,"shift.sale_refund.total_cash":8448.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:30:49]free response buf [00:30:49]execute_script done [00:30:49]execute_script returns [00:30:49]free content buf [00:30:49]Sock 10.Close socket [00:30:49]Sock 10.Thread stoped [00:30:49]accept exits with 7 [00:30:49]New connection [00:30:49]New thread 3066735972 created [00:30:49]Thread 3066879332 joined [00:30:49]Waiting for new connection... [00:30:49] Sock 7.Parse request [00:30:49]Sock 7.Check first char [00:30:49]Sock 7.First char is OK [00:30:49]request: POST /json_proto HTTP/1.0 [00:30:49]Method: POST [00:30:49]URL: /json_proto [00:30:49]Method is POST - this is cgi request [00:30:49]url: /json_proto [00:30:49]query_string will be loaded in cgi processing [00:30:49]execute_cgi json_proto POST (null) [00:30:49]execute_cgi path=json_proto method=POST [00:30:49]POST find Content-Length [00:30:49]Host: 172.17.34.200:8080 [00:30:49]Content-Length: 277 [00:30:49]Content-Type: application/json [00:30:49] [00:30:49]POST finish read [00:30:49]Found Content-Length = 277 [00:30:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0411\u0430\u0442\u044B\u0440\u043A\u0430\u043D\u043E\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:30:49]execute_script... [00:30:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0411\u0430\u0442\u044B\u0440\u043A\u0430\u043D\u043E\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:30:49]POST & json_proto [00:30:49]process_json_proto [00:30:49]json parsed OK: [00:30:49]protocol is kg_v1.0 [00:30:49]action value=open_shift [00:30:49]process_action open_shift [00:30:49]cmd_open_shift [00:30:49]MH_GetDate [00:30:49]Write to MH i2c: F0 00 00 4D 35 71 [00:30:49]Write i2c OK [00:30:49]MH_I2C_Read... [00:30:49]Read from MH i2c: F0 [00:30:49]MH_I2C_Read... [00:30:49]Read from MH i2c: F0 09 00 [00:30:49]MH_I2C_Read... [00:30:49]Read from MH i2c: F0 09 00 4D 35 00 42 2F 17 66 B3 F3 14 66 88 [00:30:49]GetLastDocTimeStamp 1712793315 [00:30:49]current date 1712795458 [00:30:49]FM_GetShiftState [00:30:49]SAM_PROTO_GetShiftState [00:30:49]wFMCommunicate request_size=4 [00:30:49]MH_SAM_APDU [00:30:49]CAPDU: 80 13 01 00 [00:30:49]Write to MH i2c: E2 08 00 4E 35 80 13 01 00 00 00 00 00 00 [00:30:49]Write i2c OK [00:30:49]MH_I2C_Read... [00:30:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:30:49]Read from MH i2c: E2 [00:30:49]MH_I2C_Read... [00:30:49]Read from MH i2c: E2 0E 00 [00:30:49]MH_I2C_Read... [00:30:49]Read from MH i2c: E2 0E 00 4E 35 00 09 00 00 00 00 00 00 00 00 00 00 90 00 0B [00:30:49]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:30:49]wFMCommunicate OK [00:30:49]SAM_PROTO_GetShiftState done [00:30:49]FM_GetShiftState done [00:30:49]KKMCreateOpenShiftDocument [00:30:49]Load OK [00:30:49]Malloc new data [00:30:49]MH_GetDate [00:30:49]Write to MH i2c: F0 00 00 4F 35 73 [00:30:49]Write i2c OK [00:30:49]MH_I2C_Read... [00:30:49]Read from MH i2c: F0 [00:30:49]MH_I2C_Read... [00:30:49]Read from MH i2c: F0 09 00 [00:30:49]MH_I2C_Read... [00:30:49]Read from MH i2c: F0 09 00 4F 35 00 42 2F 17 66 B3 F3 14 66 8A [00:30:49]Malloc new data [00:30:49]KKMCreateOpenShiftDocument OK [00:30:49]KKMSetOpenShiftData OK [00:30:49]ProcessDocumentItem done err = 0, tmpTLVsize=208 [00:30:49]tlvbuf is 024D7170 [00:30:49]KKMLoadAndSignOpenShiftData [00:30:49]SAM_PROTO_ProcessDocument [00:30:49]wFMCommunicate request_size=9 [00:30:49]MH_SAM_APDU [00:30:49]CAPDU: 80 15 01 00 04 02 00 D0 00 [00:30:49]Write to MH i2c: E2 0C 00 50 35 80 15 01 00 04 00 02 00 D0 00 00 00 DE [00:30:49]Write i2c OK [00:30:49]MH_I2C_Read... [00:30:49]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:30:49]Read from MH i2c: E2 [00:30:49]MH_I2C_Read... [00:30:49]Read from MH i2c: E2 03 00 [00:30:49]MH_I2C_Read... [00:30:49]Read from MH i2c: E2 03 00 50 35 00 90 00 F9 [00:30:49]RAPDU: 90 00 [00:30:49]wFMCommunicate OK [00:30:49]wFMCommunicate request_size=23 [00:30:49]MH_SAM_APDU [00:30:49]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:30:49]Write to MH i2c: E2 1A 00 51 35 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 FB [00:30:49]Write i2c OK [00:30:49]MH_I2C_Read... [00:30:50]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:30:50]Read from MH i2c: E2 [00:30:50]MH_I2C_Read... [00:30:50]Read from MH i2c: E2 03 00 [00:30:50]MH_I2C_Read... [00:30:50]Read from MH i2c: E2 03 00 51 35 00 90 00 FA [00:30:50]RAPDU: 90 00 [00:30:50]wFMCommunicate OK [00:30:50]wFMCommunicate request_size=36 [00:30:50]MH_SAM_APDU [00:30:50]CAPDU: 80 15 02 00 1F FD 03 1B 00 D0 91 D0 B0 D1 82 D1 8B D1 80 D0 BA D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 93 2E 20 [00:30:50]Write to MH i2c: E2 27 00 52 35 80 15 02 00 1F 00 FD 03 1B 00 D0 91 D0 B0 D1 82 D1 8B D1 80 D0 BA D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 93 2E 20 00 00 39 [00:30:50]Write i2c OK [00:30:50]MH_I2C_Read... [00:30:50]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:30:50]Read from MH i2c: E2 [00:30:50]MH_I2C_Read... [00:30:50]Read from MH i2c: E2 03 00 [00:30:50]MH_I2C_Read... [00:30:50]Read from MH i2c: E2 03 00 52 35 00 90 00 FB [00:30:50]RAPDU: 90 00 [00:30:50]wFMCommunicate OK [00:30:50]wFMCommunicate request_size=90 [00:30:50]MH_SAM_APDU [00:30:50]CAPDU: 80 15 02 00 55 F1 03 51 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 98 D0 B2 D0 B0 D0 BD D0 BE D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 98 D0 BB D1 8C D0 B8 D0 BD D0 B0 20 31 20 D0 90 2F 31 2C 20 34 32 2E 38 38 31 37 37 37 2C 20 37 35 2E 31 30 37 39 35 34 [00:30:50]Write to MH i2c: E2 5D 00 53 35 80 15 02 00 55 00 F1 03 51 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 98 D0 B2 D0 B0 D0 BD D0 BE D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 98 D0 BB D1 8C D0 B8 D0 BD D0 B0 20 31 20 D0 90 2F 31 2C 20 34 32 2E 38 38 31 37 37 37 2C 20 37 35 2E 31 30 37 39 35 34 00 00 A4 [00:30:50]Write i2c OK [00:30:50]MH_I2C_Read... [00:30:50]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:30:50]Read from MH i2c: E2 [00:30:50]MH_I2C_Read... [00:30:50]Read from MH i2c: E2 03 00 [00:30:50]MH_I2C_Read... [00:30:50]Read from MH i2c: E2 03 00 53 35 00 90 00 FC [00:30:50]RAPDU: 90 00 [00:30:50]wFMCommunicate OK [00:30:50]wFMCommunicate request_size=51 [00:30:50]MH_SAM_APDU [00:30:50]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 31 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:30:50]Write to MH i2c: E2 36 00 54 35 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 31 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 AF [00:30:50]Write i2c OK [00:30:50]MH_I2C_Read... [00:30:50]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:30:50]Read from MH i2c: E2 [00:30:50]MH_I2C_Read... [00:30:50]Read from MH i2c: E2 03 00 [00:30:50]MH_I2C_Read... [00:30:50]Read from MH i2c: E2 03 00 54 35 00 90 00 FD [00:30:50]RAPDU: 90 00 [00:30:50]wFMCommunicate OK [00:30:50]wFMCommunicate request_size=13 [00:30:50]MH_SAM_APDU [00:30:50]CAPDU: 80 15 02 00 08 F4 03 04 00 42 2F 17 66 [00:30:50]Write to MH i2c: E2 10 00 55 35 80 15 02 00 08 00 F4 03 04 00 42 2F 17 66 00 00 03 [00:30:50]Write i2c OK [00:30:50]MH_I2C_Read... [00:30:50]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:30:50]Read from MH i2c: E2 [00:30:50]MH_I2C_Read... [00:30:50]Read from MH i2c: E2 03 00 [00:30:50]MH_I2C_Read... [00:30:50]Read from MH i2c: E2 03 00 55 35 00 90 00 FE [00:30:50]RAPDU: 90 00 [00:30:50]wFMCommunicate OK [00:30:50]wFMCommunicate request_size=25 [00:30:50]MH_SAM_APDU [00:30:50]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 [00:30:50]Write to MH i2c: E2 1C 00 56 35 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 00 00 6B [00:30:50]Write i2c OK [00:30:50]MH_I2C_Read... [00:30:50]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:30:50]Read from MH i2c: E2 [00:30:50]MH_I2C_Read... [00:30:50]Read from MH i2c: E2 03 00 [00:30:50]MH_I2C_Read... [00:30:50]Read from MH i2c: E2 03 00 56 35 00 90 00 FF [00:30:50]RAPDU: 90 00 [00:30:50]wFMCommunicate OK [00:30:50]wFMCommunicate request_size=4 [00:30:50]MH_SAM_APDU [00:30:50]CAPDU: 80 15 03 00 [00:30:50]Write to MH i2c: E2 08 00 57 35 80 15 03 00 00 00 00 00 0D [00:30:50]Write i2c OK [00:30:50]MH_I2C_Read... [00:30:50]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:30:50]Read from MH i2c: E2 [00:30:50]MH_I2C_Read... [00:30:50]Read from MH i2c: E2 38 00 [00:30:50]MH_I2C_Read... [00:30:50]Read from MH i2c: E2 38 00 57 35 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 34 32 10 04 04 00 2B 13 01 00 0E 04 04 00 11 01 00 00 35 04 06 00 40 C2 D6 F5 ED C4 90 00 A8 [00:30:50]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 34 32 10 04 04 00 2B 13 01 00 0E 04 04 00 11 01 00 00 35 04 06 00 40 C2 D6 F5 ED C4 90 00 [00:30:50]wFMCommunicate OK [00:30:50]SAM_PROTO_ProcessDocument answer len = 51 [00:30:50]SAM_PROTO_ProcessDocument done [00:30:50]SetTLVBufToDocument [00:30:50]Processing tag 1209 (04B9) [00:30:50]Malloc new data [00:30:50]Processing tag 1041 (0411) [00:30:50]Processing tag 1040 (0410) [00:30:50]Malloc new data [00:30:50]Processing tag 1038 (040E) [00:30:50]Malloc new data [00:30:50]Processing tag 1077 (0435) [00:30:50]Malloc new data [00:30:50]SetTLVBufToDocument err=0 [00:30:50]KKMLoadAndSignOpenShiftData store KKM data [00:30:50]KKMLoadAndSignOpenShiftData err=0 [00:30:50]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Батырканова Г. Адрес: 720001, с. Ивановка, ул. Г. Ильина 1 А/1, 42.881777, 75.107954 Место: АЗС № 121 "Партнер Нефть" 11.04.2024 00:30 Смена: 273 РНМ: 0000000000090617 ЗНМ: 0300000024 ФД: 70443 ФМ: 0000000000874742 ФПД: 71205574274500 [00:30:50]StoreToDocumentArchive [00:30:50]shift 273 fd 70443 [00:30:50]Create dir for shift 0273 [00:30:50]save to /storage/0273/doc_00070443 [00:30:50]save last doc name /storage/0273/doc_00070443 to /storage/kkm_last_doc_name [00:30:50]OFD Sender: No OFD packet to send [00:30:50]save OK [00:30:50]Clear old archive folders... [00:30:50]Remove dir /storage/0272 [00:30:50]opendir ok [00:30:50]file . [00:30:50]file .. [00:30:50]file doc_00069777 [00:30:50]remove file /storage/0272/doc_00069777 [00:30:50]file doc_00069778 [00:30:50]remove file /storage/0272/doc_00069778 [00:30:50]file doc_00069779 [00:30:50]remove file /storage/0272/doc_00069779 [00:30:50]file doc_00069780 [00:30:50]remove file /storage/0272/doc_00069780 [00:30:50]file doc_00069781 [00:30:50]remove file /storage/0272/doc_00069781 [00:30:50]file doc_00069782 [00:30:50]remove file /storage/0272/doc_00069782 [00:30:50]file doc_00069783 [00:30:50]remove file /storage/0272/doc_00069783 [00:30:50]file doc_00069784 [00:30:50]remove file /storage/0272/doc_00069784 [00:30:50]file doc_00069785 [00:30:50]remove file /storage/0272/doc_00069785 [00:30:50]file doc_00069786 [00:30:50]remove file /storage/0272/doc_00069786 [00:30:50]file doc_00069787 [00:30:50]remove file /storage/0272/doc_00069787 [00:30:50]file doc_00069788 [00:30:50]remove file /storage/0272/doc_00069788 [00:30:50]file doc_00069789 [00:30:50]remove file /storage/0272/doc_00069789 [00:30:50]file doc_00069790 [00:30:50]remove file /storage/0272/doc_00069790 [00:30:50]file doc_00069791 [00:30:50]remove file /storage/0272/doc_00069791 [00:30:50]file doc_00069792 [00:30:50]remove file /storage/0272/doc_00069792 [00:30:50]file doc_00069793 [00:30:50]remove file /storage/0272/doc_00069793 [00:30:50]file doc_00069794 [00:30:50]remove file /storage/0272/doc_00069794 [00:30:50]file doc_00069795 [00:30:50]remove file /storage/0272/doc_00069795 [00:30:50]file doc_00069796 [00:30:50]remove file /storage/0272/doc_00069796 [00:30:50]file doc_00069797 [00:30:50]remove file /storage/0272/doc_00069797 [00:30:50]file doc_00069798 [00:30:50]remove file /storage/0272/doc_00069798 [00:30:50]file doc_00069799 [00:30:50]remove file /storage/0272/doc_00069799 [00:30:50]file doc_00069800 [00:30:50]remove file /storage/0272/doc_00069800 [00:30:50]file doc_00069801 [00:30:50]remove file /storage/0272/doc_00069801 [00:30:50]file doc_00069802 [00:30:50]remove file /storage/0272/doc_00069802 [00:30:50]file doc_00069803 [00:30:50]remove file /storage/0272/doc_00069803 [00:30:50]file doc_00069804 [00:30:50]remove file /storage/0272/doc_00069804 [00:30:50]file doc_00069805 [00:30:50]remove file /storage/0272/doc_00069805 [00:30:50]file doc_00069806 [00:30:50]remove file /storage/0272/doc_00069806 [00:30:50]file doc_00069807 [00:30:50]remove file /storage/0272/doc_00069807 [00:30:50]file doc_00069808 [00:30:50]remove file /storage/0272/doc_00069808 [00:30:50]file doc_00069809 [00:30:50]remove file /storage/0272/doc_00069809 [00:30:50]file doc_00069810 [00:30:50]remove file /storage/0272/doc_00069810 [00:30:50]file doc_00069811 [00:30:50]remove file /storage/0272/doc_00069811 [00:30:50]file doc_00069812 [00:30:50]remove file /storage/0272/doc_00069812 [00:30:50]file doc_00069813 [00:30:50]remove file /storage/0272/doc_00069813 [00:30:50]file doc_00069814 [00:30:50]remove file /storage/0272/doc_00069814 [00:30:50]file doc_00069815 [00:30:50]remove file /storage/0272/doc_00069815 [00:30:50]file doc_00069816 [00:30:50]remove file /storage/0272/doc_00069816 [00:30:50]file doc_00069817 [00:30:50]remove file /storage/0272/doc_00069817 [00:30:50]file doc_00069818 [00:30:50]remove file /storage/0272/doc_00069818 [00:30:50]file doc_00069819 [00:30:50]remove file /storage/0272/doc_00069819 [00:30:50]file doc_00069820 [00:30:50]remove file /storage/0272/doc_00069820 [00:30:50]file doc_00069821 [00:30:50]remove file /storage/0272/doc_00069821 [00:30:50]file doc_00069822 [00:30:50]remove file /storage/0272/doc_00069822 [00:30:50]file doc_00069823 [00:30:50]remove file /storage/0272/doc_00069823 [00:30:50]file doc_00069824 [00:30:50]remove file /storage/0272/doc_00069824 [00:30:50]file doc_00069825 [00:30:50]remove file /storage/0272/doc_00069825 [00:30:50]file doc_00069826 [00:30:50]remove file /storage/0272/doc_00069826 [00:30:50]file doc_00069827 [00:30:50]remove file /storage/0272/doc_00069827 [00:30:50]file doc_00069828 [00:30:50]remove file /storage/0272/doc_00069828 [00:30:50]file doc_00069829 [00:30:51]remove file /storage/0272/doc_00069829 [00:30:51]file doc_00069830 [00:30:51]remove file /storage/0272/doc_00069830 [00:30:51]file doc_00069831 [00:30:51]remove file /storage/0272/doc_00069831 [00:30:51]file doc_00069832 [00:30:51]remove file /storage/0272/doc_00069832 [00:30:51]file doc_00069833 [00:30:51]remove file /storage/0272/doc_00069833 [00:30:51]file doc_00069834 [00:30:51]remove file /storage/0272/doc_00069834 [00:30:51]file doc_00069835 [00:30:51]remove file /storage/0272/doc_00069835 [00:30:51]file doc_00069836 [00:30:51]remove file /storage/0272/doc_00069836 [00:30:51]file doc_00069837 [00:30:51]remove file /storage/0272/doc_00069837 [00:30:51]file doc_00069838 [00:30:51]remove file /storage/0272/doc_00069838 [00:30:51]file doc_00069839 [00:30:51]remove file /storage/0272/doc_00069839 [00:30:51]file doc_00069840 [00:30:51]remove file /storage/0272/doc_00069840 [00:30:51]file doc_00069841 [00:30:51]remove file /storage/0272/doc_00069841 [00:30:51]file doc_00069842 [00:30:51]remove file /storage/0272/doc_00069842 [00:30:51]file doc_00069843 [00:30:51]remove file /storage/0272/doc_00069843 [00:30:51]file doc_00069844 [00:30:51]remove file /storage/0272/doc_00069844 [00:30:51]file doc_00069845 [00:30:51]remove file /storage/0272/doc_00069845 [00:30:51]file doc_00069846 [00:30:51]remove file /storage/0272/doc_00069846 [00:30:51]file doc_00069847 [00:30:51]remove file /storage/0272/doc_00069847 [00:30:51]file doc_00069848 [00:30:51]remove file /storage/0272/doc_00069848 [00:30:51]file doc_00069849 [00:30:51]remove file /storage/0272/doc_00069849 [00:30:51]file doc_00069850 [00:30:51]remove file /storage/0272/doc_00069850 [00:30:51]file doc_00069851 [00:30:51]remove file /storage/0272/doc_00069851 [00:30:51]file doc_00069852 [00:30:51]remove file /storage/0272/doc_00069852 [00:30:51]file doc_00069853 [00:30:51]remove file /storage/0272/doc_00069853 [00:30:51]file doc_00069854 [00:30:51]remove file /storage/0272/doc_00069854 [00:30:51]file doc_00069855 [00:30:51]remove file /storage/0272/doc_00069855 [00:30:51]file doc_00069856 [00:30:51]remove file /storage/0272/doc_00069856 [00:30:51]file doc_00069857 [00:30:51]remove file /storage/0272/doc_00069857 [00:30:51]file doc_00069858 [00:30:51]remove file /storage/0272/doc_00069858 [00:30:51]file doc_00069859 [00:30:51]remove file /storage/0272/doc_00069859 [00:30:51]file doc_00069860 [00:30:51]remove file /storage/0272/doc_00069860 [00:30:51]file doc_00069861 [00:30:51]remove file /storage/0272/doc_00069861 [00:30:51]file doc_00069862 [00:30:51]remove file /storage/0272/doc_00069862 [00:30:51]file doc_00069863 [00:30:51]remove file /storage/0272/doc_00069863 [00:30:51]file doc_00069864 [00:30:51]remove file /storage/0272/doc_00069864 [00:30:51]file doc_00069865 [00:30:51]remove file /storage/0272/doc_00069865 [00:30:51]file doc_00069866 [00:30:51]remove file /storage/0272/doc_00069866 [00:30:51]file doc_00069867 [00:30:51]remove file /storage/0272/doc_00069867 [00:30:51]file doc_00069868 [00:30:51]remove file /storage/0272/doc_00069868 [00:30:51]file doc_00069869 [00:30:51]remove file /storage/0272/doc_00069869 [00:30:51]file doc_00069870 [00:30:51]remove file /storage/0272/doc_00069870 [00:30:51]file doc_00069871 [00:30:51]remove file /storage/0272/doc_00069871 [00:30:51]file doc_00069872 [00:30:51]remove file /storage/0272/doc_00069872 [00:30:51]file doc_00069873 [00:30:51]remove file /storage/0272/doc_00069873 [00:30:51]file doc_00069874 [00:30:51]remove file /storage/0272/doc_00069874 [00:30:51]file doc_00069875 [00:30:51]remove file /storage/0272/doc_00069875 [00:30:51]file doc_00069876 [00:30:51]remove file /storage/0272/doc_00069876 [00:30:51]file doc_00069877 [00:30:51]remove file /storage/0272/doc_00069877 [00:30:51]file doc_00069878 [00:30:51]remove file /storage/0272/doc_00069878 [00:30:51]file doc_00069879 [00:30:51]remove file /storage/0272/doc_00069879 [00:30:51]file doc_00069880 [00:30:51]remove file /storage/0272/doc_00069880 [00:30:51]file doc_00069881 [00:30:51]remove file /storage/0272/doc_00069881 [00:30:51]file doc_00069882 [00:30:51]remove file /storage/0272/doc_00069882 [00:30:51]file doc_00069883 [00:30:51]remove file /storage/0272/doc_00069883 [00:30:51]file doc_00069884 [00:30:51]remove file /storage/0272/doc_00069884 [00:30:51]file doc_00069885 [00:30:51]remove file /storage/0272/doc_00069885 [00:30:51]file doc_00069886 [00:30:51]remove file /storage/0272/doc_00069886 [00:30:51]file doc_00069887 [00:30:51]remove file /storage/0272/doc_00069887 [00:30:51]file doc_00069888 [00:30:51]remove file /storage/0272/doc_00069888 [00:30:51]file doc_00069889 [00:30:51]remove file /storage/0272/doc_00069889 [00:30:51]file doc_00069890 [00:30:51]remove file /storage/0272/doc_00069890 [00:30:51]file doc_00069891 [00:30:51]remove file /storage/0272/doc_00069891 [00:30:51]file doc_00069892 [00:30:51]remove file /storage/0272/doc_00069892 [00:30:51]file doc_00069893 [00:30:51]remove file /storage/0272/doc_00069893 [00:30:51]file doc_00069894 [00:30:51]remove file /storage/0272/doc_00069894 [00:30:51]file doc_00069895 [00:30:51]remove file /storage/0272/doc_00069895 [00:30:51]file doc_00069896 [00:30:51]remove file /storage/0272/doc_00069896 [00:30:51]file doc_00069897 [00:30:51]remove file /storage/0272/doc_00069897 [00:30:51]file doc_00069898 [00:30:51]remove file /storage/0272/doc_00069898 [00:30:51]file doc_00069899 [00:30:51]remove file /storage/0272/doc_00069899 [00:30:51]file doc_00069900 [00:30:51]remove file /storage/0272/doc_00069900 [00:30:51]file doc_00069901 [00:30:51]remove file /storage/0272/doc_00069901 [00:30:51]file doc_00069902 [00:30:51]remove file /storage/0272/doc_00069902 [00:30:51]file doc_00069903 [00:30:51]remove file /storage/0272/doc_00069903 [00:30:51]file doc_00069904 [00:30:51]remove file /storage/0272/doc_00069904 [00:30:51]file doc_00069905 [00:30:51]remove file /storage/0272/doc_00069905 [00:30:51]file doc_00069906 [00:30:51]remove file /storage/0272/doc_00069906 [00:30:51]file doc_00069907 [00:30:51]remove file /storage/0272/doc_00069907 [00:30:51]file doc_00069908 [00:30:51]remove file /storage/0272/doc_00069908 [00:30:51]file doc_00069909 [00:30:51]remove file /storage/0272/doc_00069909 [00:30:51]file doc_00069910 [00:30:51]remove file /storage/0272/doc_00069910 [00:30:51]file doc_00069911 [00:30:51]remove file /storage/0272/doc_00069911 [00:30:51]file doc_00069912 [00:30:51]remove file /storage/0272/doc_00069912 [00:30:51]file doc_00069913 [00:30:51]remove file /storage/0272/doc_00069913 [00:30:51]file doc_00069914 [00:30:51]remove file /storage/0272/doc_00069914 [00:30:51]file doc_00069915 [00:30:51]remove file /storage/0272/doc_00069915 [00:30:51]file doc_00069916 [00:30:51]remove file /storage/0272/doc_00069916 [00:30:51]file doc_00069917 [00:30:51]remove file /storage/0272/doc_00069917 [00:30:51]file doc_00069918 [00:30:51]remove file /storage/0272/doc_00069918 [00:30:51]file doc_00069919 [00:30:51]remove file /storage/0272/doc_00069919 [00:30:51]file doc_00069920 [00:30:51]remove file /storage/0272/doc_00069920 [00:30:51]file doc_00069921 [00:30:51]remove file /storage/0272/doc_00069921 [00:30:51]file doc_00069922 [00:30:51]remove file /storage/0272/doc_00069922 [00:30:51]file doc_00069923 [00:30:51]remove file /storage/0272/doc_00069923 [00:30:51]file doc_00069924 [00:30:51]remove file /storage/0272/doc_00069924 [00:30:51]file doc_00069925 [00:30:51]remove file /storage/0272/doc_00069925 [00:30:51]file doc_00069926 [00:30:51]remove file /storage/0272/doc_00069926 [00:30:51]file doc_00069927 [00:30:51]remove file /storage/0272/doc_00069927 [00:30:51]file doc_00069928 [00:30:51]remove file /storage/0272/doc_00069928 [00:30:51]file doc_00069929 [00:30:51]remove file /storage/0272/doc_00069929 [00:30:51]file doc_00069930 [00:30:51]remove file /storage/0272/doc_00069930 [00:30:51]file doc_00069931 [00:30:51]remove file /storage/0272/doc_00069931 [00:30:51]file doc_00069932 [00:30:51]remove file /storage/0272/doc_00069932 [00:30:51]file doc_00069933 [00:30:51]remove file /storage/0272/doc_00069933 [00:30:51]file doc_00069934 [00:30:51]remove file /storage/0272/doc_00069934 [00:30:51]file doc_00069935 [00:30:51]remove file /storage/0272/doc_00069935 [00:30:51]file doc_00069936 [00:30:51]remove file /storage/0272/doc_00069936 [00:30:51]file doc_00069937 [00:30:51]remove file /storage/0272/doc_00069937 [00:30:51]file doc_00069938 [00:30:51]remove file /storage/0272/doc_00069938 [00:30:51]file doc_00069939 [00:30:51]remove file /storage/0272/doc_00069939 [00:30:51]file doc_00069940 [00:30:51]remove file /storage/0272/doc_00069940 [00:30:51]file doc_00069941 [00:30:51]remove file /storage/0272/doc_00069941 [00:30:51]file doc_00069942 [00:30:51]remove file /storage/0272/doc_00069942 [00:30:51]file doc_00069943 [00:30:51]remove file /storage/0272/doc_00069943 [00:30:51]file doc_00069944 [00:30:51]remove file /storage/0272/doc_00069944 [00:30:51]file doc_00069945 [00:30:51]remove file /storage/0272/doc_00069945 [00:30:51]file doc_00069946 [00:30:51]remove file /storage/0272/doc_00069946 [00:30:51]file doc_00069947 [00:30:51]remove file /storage/0272/doc_00069947 [00:30:51]file doc_00069948 [00:30:51]remove file /storage/0272/doc_00069948 [00:30:51]file doc_00069949 [00:30:51]remove file /storage/0272/doc_00069949 [00:30:51]file doc_00069950 [00:30:51]remove file /storage/0272/doc_00069950 [00:30:51]file doc_00069951 [00:30:51]remove file /storage/0272/doc_00069951 [00:30:51]file doc_00069952 [00:30:51]remove file /storage/0272/doc_00069952 [00:30:51]file doc_00069953 [00:30:51]remove file /storage/0272/doc_00069953 [00:30:51]file doc_00069954 [00:30:51]remove file /storage/0272/doc_00069954 [00:30:51]file doc_00069955 [00:30:51]remove file /storage/0272/doc_00069955 [00:30:51]file doc_00069956 [00:30:51]remove file /storage/0272/doc_00069956 [00:30:51]file doc_00069957 [00:30:51]remove file /storage/0272/doc_00069957 [00:30:51]file doc_00069958 [00:30:51]remove file /storage/0272/doc_00069958 [00:30:51]file doc_00069959 [00:30:51]remove file /storage/0272/doc_00069959 [00:30:51]file doc_00069960 [00:30:51]remove file /storage/0272/doc_00069960 [00:30:51]file doc_00069961 [00:30:51]remove file /storage/0272/doc_00069961 [00:30:51]file doc_00069962 [00:30:51]remove file /storage/0272/doc_00069962 [00:30:51]file doc_00069963 [00:30:51]remove file /storage/0272/doc_00069963 [00:30:51]file doc_00069964 [00:30:51]remove file /storage/0272/doc_00069964 [00:30:51]file doc_00069965 [00:30:51]remove file /storage/0272/doc_00069965 [00:30:51]file doc_00069966 [00:30:51]remove file /storage/0272/doc_00069966 [00:30:51]file doc_00069967 [00:30:51]remove file /storage/0272/doc_00069967 [00:30:51]file doc_00069968 [00:30:51]remove file /storage/0272/doc_00069968 [00:30:51]file doc_00069969 [00:30:51]remove file /storage/0272/doc_00069969 [00:30:51]file doc_00069970 [00:30:51]remove file /storage/0272/doc_00069970 [00:30:51]file doc_00069971 [00:30:51]remove file /storage/0272/doc_00069971 [00:30:51]file doc_00069972 [00:30:51]remove file /storage/0272/doc_00069972 [00:30:51]file doc_00069973 [00:30:51]remove file /storage/0272/doc_00069973 [00:30:51]file doc_00069974 [00:30:51]remove file /storage/0272/doc_00069974 [00:30:51]file doc_00069975 [00:30:51]remove file /storage/0272/doc_00069975 [00:30:51]file doc_00069976 [00:30:51]remove file /storage/0272/doc_00069976 [00:30:51]file doc_00069977 [00:30:51]remove file /storage/0272/doc_00069977 [00:30:51]file doc_00069978 [00:30:51]remove file /storage/0272/doc_00069978 [00:30:51]file doc_00069979 [00:30:51]remove file /storage/0272/doc_00069979 [00:30:51]file doc_00069980 [00:30:51]remove file /storage/0272/doc_00069980 [00:30:51]file doc_00069981 [00:30:51]remove file /storage/0272/doc_00069981 [00:30:51]file doc_00069982 [00:30:51]remove file /storage/0272/doc_00069982 [00:30:51]file doc_00069983 [00:30:51]remove file /storage/0272/doc_00069983 [00:30:51]file doc_00069984 [00:30:51]remove file /storage/0272/doc_00069984 [00:30:51]file doc_00069985 [00:30:51]remove file /storage/0272/doc_00069985 [00:30:51]file doc_00069986 [00:30:51]remove file /storage/0272/doc_00069986 [00:30:51]file doc_00069987 [00:30:51]remove file /storage/0272/doc_00069987 [00:30:51]file doc_00069988 [00:30:51]remove file /storage/0272/doc_00069988 [00:30:51]file doc_00069989 [00:30:51]remove file /storage/0272/doc_00069989 [00:30:51]file doc_00069990 [00:30:51]remove file /storage/0272/doc_00069990 [00:30:51]file doc_00069991 [00:30:51]remove file /storage/0272/doc_00069991 [00:30:51]file doc_00069992 [00:30:51]remove file /storage/0272/doc_00069992 [00:30:51]file doc_00069993 [00:30:51]remove file /storage/0272/doc_00069993 [00:30:51]file doc_00069994 [00:30:51]remove file /storage/0272/doc_00069994 [00:30:51]file doc_00069995 [00:30:51]remove file /storage/0272/doc_00069995 [00:30:51]file doc_00069996 [00:30:51]remove file /storage/0272/doc_00069996 [00:30:51]file doc_00069997 [00:30:51]remove file /storage/0272/doc_00069997 [00:30:51]file doc_00069998 [00:30:51]remove file /storage/0272/doc_00069998 [00:30:51]file doc_00069999 [00:30:51]remove file /storage/0272/doc_00069999 [00:30:51]file doc_00070000 [00:30:51]remove file /storage/0272/doc_00070000 [00:30:51]file doc_00070001 [00:30:51]remove file /storage/0272/doc_00070001 [00:30:51]file doc_00070002 [00:30:51]remove file /storage/0272/doc_00070002 [00:30:51]file doc_00070003 [00:30:51]remove file /storage/0272/doc_00070003 [00:30:51]file doc_00070004 [00:30:51]remove file /storage/0272/doc_00070004 [00:30:51]file doc_00070005 [00:30:51]remove file /storage/0272/doc_00070005 [00:30:51]file doc_00070006 [00:30:51]remove file /storage/0272/doc_00070006 [00:30:51]file doc_00070007 [00:30:51]remove file /storage/0272/doc_00070007 [00:30:51]file doc_00070008 [00:30:51]remove file /storage/0272/doc_00070008 [00:30:51]file doc_00070009 [00:30:51]remove file /storage/0272/doc_00070009 [00:30:51]file doc_00070010 [00:30:51]remove file /storage/0272/doc_00070010 [00:30:51]file doc_00070011 [00:30:51]remove file /storage/0272/doc_00070011 [00:30:51]file doc_00070012 [00:30:51]remove file /storage/0272/doc_00070012 [00:30:51]file doc_00070013 [00:30:51]remove file /storage/0272/doc_00070013 [00:30:51]file doc_00070014 [00:30:51]remove file /storage/0272/doc_00070014 [00:30:51]file doc_00070015 [00:30:51]remove file /storage/0272/doc_00070015 [00:30:51]file doc_00070016 [00:30:52]remove file /storage/0272/doc_00070016 [00:30:52]file doc_00070017 [00:30:52]remove file /storage/0272/doc_00070017 [00:30:52]file doc_00070018 [00:30:52]remove file /storage/0272/doc_00070018 [00:30:52]file doc_00070019 [00:30:52]remove file /storage/0272/doc_00070019 [00:30:52]file doc_00070020 [00:30:52]remove file /storage/0272/doc_00070020 [00:30:52]file doc_00070021 [00:30:52]remove file /storage/0272/doc_00070021 [00:30:52]file doc_00070022 [00:30:52]remove file /storage/0272/doc_00070022 [00:30:52]file doc_00070023 [00:30:52]remove file /storage/0272/doc_00070023 [00:30:52]file doc_00070024 [00:30:52]remove file /storage/0272/doc_00070024 [00:30:52]file doc_00070025 [00:30:52]remove file /storage/0272/doc_00070025 [00:30:52]file doc_00070026 [00:30:52]remove file /storage/0272/doc_00070026 [00:30:52]file doc_00070027 [00:30:52]remove file /storage/0272/doc_00070027 [00:30:52]file doc_00070028 [00:30:52]remove file /storage/0272/doc_00070028 [00:30:52]file doc_00070029 [00:30:52]remove file /storage/0272/doc_00070029 [00:30:52]file doc_00070030 [00:30:52]remove file /storage/0272/doc_00070030 [00:30:52]file doc_00070031 [00:30:52]remove file /storage/0272/doc_00070031 [00:30:52]file doc_00070032 [00:30:52]remove file /storage/0272/doc_00070032 [00:30:52]file doc_00070033 [00:30:52]remove file /storage/0272/doc_00070033 [00:30:52]file doc_00070034 [00:30:52]remove file /storage/0272/doc_00070034 [00:30:52]file doc_00070035 [00:30:52]remove file /storage/0272/doc_00070035 [00:30:52]file doc_00070036 [00:30:52]remove file /storage/0272/doc_00070036 [00:30:52]file doc_00070037 [00:30:52]remove file /storage/0272/doc_00070037 [00:30:52]file doc_00070038 [00:30:52]remove file /storage/0272/doc_00070038 [00:30:52]file doc_00070039 [00:30:52]remove file /storage/0272/doc_00070039 [00:30:52]file doc_00070040 [00:30:52]remove file /storage/0272/doc_00070040 [00:30:52]file doc_00070041 [00:30:52]remove file /storage/0272/doc_00070041 [00:30:52]file doc_00070042 [00:30:52]remove file /storage/0272/doc_00070042 [00:30:52]file doc_00070043 [00:30:52]remove file /storage/0272/doc_00070043 [00:30:52]file doc_00070044 [00:30:52]remove file /storage/0272/doc_00070044 [00:30:52]file doc_00070045 [00:30:52]remove file /storage/0272/doc_00070045 [00:30:52]file doc_00070046 [00:30:52]remove file /storage/0272/doc_00070046 [00:30:52]file doc_00070047 [00:30:52]remove file /storage/0272/doc_00070047 [00:30:52]file doc_00070048 [00:30:52]remove file /storage/0272/doc_00070048 [00:30:52]file doc_00070049 [00:30:52]remove file /storage/0272/doc_00070049 [00:30:52]file doc_00070050 [00:30:52]remove file /storage/0272/doc_00070050 [00:30:52]file doc_00070051 [00:30:52]remove file /storage/0272/doc_00070051 [00:30:52]file doc_00070052 [00:30:52]remove file /storage/0272/doc_00070052 [00:30:52]file doc_00070053 [00:30:52]remove file /storage/0272/doc_00070053 [00:30:52]file doc_00070054 [00:30:52]remove file /storage/0272/doc_00070054 [00:30:52]file doc_00070055 [00:30:52]remove file /storage/0272/doc_00070055 [00:30:52]file doc_00070056 [00:30:52]remove file /storage/0272/doc_00070056 [00:30:52]file doc_00070057 [00:30:52]remove file /storage/0272/doc_00070057 [00:30:52]file doc_00070058 [00:30:52]remove file /storage/0272/doc_00070058 [00:30:52]file doc_00070059 [00:30:52]remove file /storage/0272/doc_00070059 [00:30:52]file doc_00070060 [00:30:52]remove file /storage/0272/doc_00070060 [00:30:52]file doc_00070061 [00:30:52]remove file /storage/0272/doc_00070061 [00:30:52]file doc_00070062 [00:30:52]remove file /storage/0272/doc_00070062 [00:30:52]file doc_00070063 [00:30:52]remove file /storage/0272/doc_00070063 [00:30:52]file doc_00070064 [00:30:52]remove file /storage/0272/doc_00070064 [00:30:52]file doc_00070065 [00:30:52]remove file /storage/0272/doc_00070065 [00:30:52]file doc_00070066 [00:30:52]remove file /storage/0272/doc_00070066 [00:30:52]file doc_00070067 [00:30:52]remove file /storage/0272/doc_00070067 [00:30:52]file doc_00070068 [00:30:52]remove file /storage/0272/doc_00070068 [00:30:52]file doc_00070069 [00:30:52]remove file /storage/0272/doc_00070069 [00:30:52]file doc_00070070 [00:30:52]remove file /storage/0272/doc_00070070 [00:30:52]file doc_00070071 [00:30:52]remove file /storage/0272/doc_00070071 [00:30:52]file doc_00070072 [00:30:52]remove file /storage/0272/doc_00070072 [00:30:52]file doc_00070073 [00:30:52]remove file /storage/0272/doc_00070073 [00:30:52]file doc_00070074 [00:30:52]remove file /storage/0272/doc_00070074 [00:30:52]file doc_00070075 [00:30:52]remove file /storage/0272/doc_00070075 [00:30:52]file doc_00070076 [00:30:52]remove file /storage/0272/doc_00070076 [00:30:52]file doc_00070077 [00:30:52]remove file /storage/0272/doc_00070077 [00:30:52]file doc_00070078 [00:30:52]remove file /storage/0272/doc_00070078 [00:30:52]file doc_00070079 [00:30:52]remove file /storage/0272/doc_00070079 [00:30:52]file doc_00070080 [00:30:52]remove file /storage/0272/doc_00070080 [00:30:52]file doc_00070081 [00:30:52]remove file /storage/0272/doc_00070081 [00:30:52]file doc_00070082 [00:30:52]remove file /storage/0272/doc_00070082 [00:30:52]file doc_00070083 [00:30:52]remove file /storage/0272/doc_00070083 [00:30:52]file doc_00070084 [00:30:52]remove file /storage/0272/doc_00070084 [00:30:52]file doc_00070085 [00:30:52]remove file /storage/0272/doc_00070085 [00:30:52]file doc_00070086 [00:30:52]remove file /storage/0272/doc_00070086 [00:30:52]file doc_00070087 [00:30:52]remove file /storage/0272/doc_00070087 [00:30:52]file doc_00070088 [00:30:52]remove file /storage/0272/doc_00070088 [00:30:52]file doc_00070089 [00:30:52]remove file /storage/0272/doc_00070089 [00:30:52]file doc_00070090 [00:30:52]remove file /storage/0272/doc_00070090 [00:30:52]file doc_00070091 [00:30:52]remove file /storage/0272/doc_00070091 [00:30:52]file doc_00070092 [00:30:52]remove file /storage/0272/doc_00070092 [00:30:52]file doc_00070093 [00:30:52]remove file /storage/0272/doc_00070093 [00:30:52]file doc_00070094 [00:30:52]remove file /storage/0272/doc_00070094 [00:30:52]file doc_00070095 [00:30:52]remove file /storage/0272/doc_00070095 [00:30:52]file doc_00070096 [00:30:52]remove file /storage/0272/doc_00070096 [00:30:52]file doc_00070097 [00:30:52]remove file /storage/0272/doc_00070097 [00:30:52]file doc_00070098 [00:30:52]remove file /storage/0272/doc_00070098 [00:30:52]file doc_00070099 [00:30:52]remove file /storage/0272/doc_00070099 [00:30:52]file doc_00070100 [00:30:52]remove file /storage/0272/doc_00070100 [00:30:52]file doc_00070101 [00:30:52]remove file /storage/0272/doc_00070101 [00:30:52]file doc_00070102 [00:30:52]remove file /storage/0272/doc_00070102 [00:30:52]file doc_00070103 [00:30:52]remove file /storage/0272/doc_00070103 [00:30:52]file doc_00070104 [00:30:52]remove file /storage/0272/doc_00070104 [00:30:52]file doc_00070105 [00:30:52]remove file /storage/0272/doc_00070105 [00:30:52]file doc_00070106 [00:30:52]remove file /storage/0272/doc_00070106 [00:30:52]file doc_00070107 [00:30:52]remove file /storage/0272/doc_00070107 [00:30:52]file doc_00070108 [00:30:52]remove file /storage/0272/doc_00070108 [00:30:52]file doc_00070109 [00:30:52]remove file /storage/0272/doc_00070109 [00:30:52]file doc_00070110 [00:30:52]remove file /storage/0272/doc_00070110 [00:30:52]file doc_00070111 [00:30:52]remove file /storage/0272/doc_00070111 [00:30:52]file doc_00070112 [00:30:52]remove file /storage/0272/doc_00070112 [00:30:52]file doc_00070113 [00:30:52]remove file /storage/0272/doc_00070113 [00:30:52]file doc_00070114 [00:30:52]remove file /storage/0272/doc_00070114 [00:30:52]file doc_00070115 [00:30:52]remove file /storage/0272/doc_00070115 [00:30:52]file doc_00070116 [00:30:52]remove file /storage/0272/doc_00070116 [00:30:52]file doc_00070117 [00:30:52]remove file /storage/0272/doc_00070117 [00:30:52]file doc_00070118 [00:30:52]remove file /storage/0272/doc_00070118 [00:30:52]file doc_00070119 [00:30:52]remove file /storage/0272/doc_00070119 [00:30:52]file doc_00070120 [00:30:52]remove file /storage/0272/doc_00070120 [00:30:52]file doc_00070121 [00:30:52]remove file /storage/0272/doc_00070121 [00:30:52]file doc_00070122 [00:30:52]remove file /storage/0272/doc_00070122 [00:30:52]file doc_00070123 [00:30:52]remove file /storage/0272/doc_00070123 [00:30:52]file doc_00070124 [00:30:52]remove file /storage/0272/doc_00070124 [00:30:52]file doc_00070125 [00:30:52]remove file /storage/0272/doc_00070125 [00:30:52]file doc_00070126 [00:30:52]remove file /storage/0272/doc_00070126 [00:30:52]file doc_00070127 [00:30:52]remove file /storage/0272/doc_00070127 [00:30:52]file doc_00070128 [00:30:52]remove file /storage/0272/doc_00070128 [00:30:52]file doc_00070129 [00:30:52]remove file /storage/0272/doc_00070129 [00:30:52]file doc_00070130 [00:30:52]remove file /storage/0272/doc_00070130 [00:30:52]file doc_00070131 [00:30:52]remove file /storage/0272/doc_00070131 [00:30:52]file doc_00070132 [00:30:52]remove file /storage/0272/doc_00070132 [00:30:52]file doc_00070133 [00:30:52]remove file /storage/0272/doc_00070133 [00:30:52]file doc_00070134 [00:30:52]remove file /storage/0272/doc_00070134 [00:30:52]file doc_00070135 [00:30:52]remove file /storage/0272/doc_00070135 [00:30:52]file doc_00070136 [00:30:52]remove file /storage/0272/doc_00070136 [00:30:52]file doc_00070137 [00:30:52]remove file /storage/0272/doc_00070137 [00:30:52]file doc_00070138 [00:30:52]remove file /storage/0272/doc_00070138 [00:30:52]file doc_00070139 [00:30:52]remove file /storage/0272/doc_00070139 [00:30:52]file doc_00070140 [00:30:52]remove file /storage/0272/doc_00070140 [00:30:52]file doc_00070141 [00:30:52]remove file /storage/0272/doc_00070141 [00:30:52]file doc_00070142 [00:30:52]remove file /storage/0272/doc_00070142 [00:30:52]file doc_00070143 [00:30:52]remove file /storage/0272/doc_00070143 [00:30:52]file doc_00070144 [00:30:52]remove file /storage/0272/doc_00070144 [00:30:52]file doc_00070145 [00:30:52]remove file /storage/0272/doc_00070145 [00:30:52]file doc_00070146 [00:30:52]remove file /storage/0272/doc_00070146 [00:30:52]file doc_00070147 [00:30:52]remove file /storage/0272/doc_00070147 [00:30:52]file doc_00070148 [00:30:52]remove file /storage/0272/doc_00070148 [00:30:52]file doc_00070149 [00:30:52]remove file /storage/0272/doc_00070149 [00:30:52]file doc_00070150 [00:30:52]remove file /storage/0272/doc_00070150 [00:30:52]file doc_00070151 [00:30:52]remove file /storage/0272/doc_00070151 [00:30:52]file doc_00070152 [00:30:52]remove file /storage/0272/doc_00070152 [00:30:52]file doc_00070153 [00:30:52]remove file /storage/0272/doc_00070153 [00:30:52]file doc_00070154 [00:30:52]remove file /storage/0272/doc_00070154 [00:30:52]file doc_00070155 [00:30:52]remove file /storage/0272/doc_00070155 [00:30:52]file doc_00070156 [00:30:52]remove file /storage/0272/doc_00070156 [00:30:52]file doc_00070157 [00:30:52]remove file /storage/0272/doc_00070157 [00:30:52]file doc_00070158 [00:30:52]remove file /storage/0272/doc_00070158 [00:30:52]file doc_00070159 [00:30:52]remove file /storage/0272/doc_00070159 [00:30:52]file doc_00070160 [00:30:52]remove file /storage/0272/doc_00070160 [00:30:52]file doc_00070161 [00:30:52]remove file /storage/0272/doc_00070161 [00:30:52]file doc_00070162 [00:30:52]remove file /storage/0272/doc_00070162 [00:30:52]file doc_00070163 [00:30:52]remove file /storage/0272/doc_00070163 [00:30:52]file doc_00070164 [00:30:52]remove file /storage/0272/doc_00070164 [00:30:52]file doc_00070165 [00:30:52]remove file /storage/0272/doc_00070165 [00:30:52]file doc_00070166 [00:30:52]remove file /storage/0272/doc_00070166 [00:30:52]file doc_00070167 [00:30:52]remove file /storage/0272/doc_00070167 [00:30:52]file doc_00070168 [00:30:52]remove file /storage/0272/doc_00070168 [00:30:52]file doc_00070169 [00:30:52]remove file /storage/0272/doc_00070169 [00:30:52]file doc_00070170 [00:30:52]remove file /storage/0272/doc_00070170 [00:30:52]file doc_00070171 [00:30:52]remove file /storage/0272/doc_00070171 [00:30:52]file doc_00070172 [00:30:52]remove file /storage/0272/doc_00070172 [00:30:52]file doc_00070173 [00:30:52]remove file /storage/0272/doc_00070173 [00:30:52]file doc_00070174 [00:30:52]remove file /storage/0272/doc_00070174 [00:30:52]file doc_00070175 [00:30:52]remove file /storage/0272/doc_00070175 [00:30:52]file doc_00070176 [00:30:52]remove file /storage/0272/doc_00070176 [00:30:52]file doc_00070177 [00:30:52]remove file /storage/0272/doc_00070177 [00:30:52]file doc_00070178 [00:30:52]remove file /storage/0272/doc_00070178 [00:30:52]file doc_00070179 [00:30:52]remove file /storage/0272/doc_00070179 [00:30:52]file doc_00070180 [00:30:52]remove file /storage/0272/doc_00070180 [00:30:52]file doc_00070181 [00:30:52]remove file /storage/0272/doc_00070181 [00:30:52]file doc_00070182 [00:30:52]remove file /storage/0272/doc_00070182 [00:30:52]file doc_00070183 [00:30:52]remove file /storage/0272/doc_00070183 [00:30:52]file doc_00070184 [00:30:52]remove file /storage/0272/doc_00070184 [00:30:52]file doc_00070185 [00:30:52]remove file /storage/0272/doc_00070185 [00:30:52]file doc_00070186 [00:30:52]remove file /storage/0272/doc_00070186 [00:30:52]file doc_00070187 [00:30:52]remove file /storage/0272/doc_00070187 [00:30:52]file doc_00070188 [00:30:52]remove file /storage/0272/doc_00070188 [00:30:52]file doc_00070189 [00:30:52]remove file /storage/0272/doc_00070189 [00:30:52]file doc_00070190 [00:30:52]remove file /storage/0272/doc_00070190 [00:30:52]file doc_00070191 [00:30:52]remove file /storage/0272/doc_00070191 [00:30:52]file doc_00070192 [00:30:52]remove file /storage/0272/doc_00070192 [00:30:52]file doc_00070193 [00:30:52]remove file /storage/0272/doc_00070193 [00:30:52]file doc_00070194 [00:30:52]remove file /storage/0272/doc_00070194 [00:30:52]file doc_00070195 [00:30:52]remove file /storage/0272/doc_00070195 [00:30:52]file doc_00070196 [00:30:52]remove file /storage/0272/doc_00070196 [00:30:52]file doc_00070197 [00:30:52]remove file /storage/0272/doc_00070197 [00:30:52]file doc_00070198 [00:30:52]remove file /storage/0272/doc_00070198 [00:30:52]file doc_00070199 [00:30:52]remove file /storage/0272/doc_00070199 [00:30:52]file doc_00070200 [00:30:52]remove file /storage/0272/doc_00070200 [00:30:52]file doc_00070201 [00:30:52]remove file /storage/0272/doc_00070201 [00:30:52]file doc_00070202 [00:30:52]remove file /storage/0272/doc_00070202 [00:30:52]file doc_00070203 [00:30:52]remove file /storage/0272/doc_00070203 [00:30:52]file doc_00070204 [00:30:52]remove file /storage/0272/doc_00070204 [00:30:52]file doc_00070205 [00:30:52]remove file /storage/0272/doc_00070205 [00:30:52]file doc_00070206 [00:30:52]remove file /storage/0272/doc_00070206 [00:30:53]file doc_00070207 [00:30:53]remove file /storage/0272/doc_00070207 [00:30:53]file doc_00070208 [00:30:53]remove file /storage/0272/doc_00070208 [00:30:53]file doc_00070209 [00:30:53]remove file /storage/0272/doc_00070209 [00:30:53]file doc_00070210 [00:30:53]remove file /storage/0272/doc_00070210 [00:30:53]file doc_00070211 [00:30:53]remove file /storage/0272/doc_00070211 [00:30:53]file doc_00070212 [00:30:53]remove file /storage/0272/doc_00070212 [00:30:53]file doc_00070213 [00:30:53]remove file /storage/0272/doc_00070213 [00:30:53]file doc_00070214 [00:30:53]remove file /storage/0272/doc_00070214 [00:30:53]file doc_00070215 [00:30:53]remove file /storage/0272/doc_00070215 [00:30:53]file doc_00070216 [00:30:53]remove file /storage/0272/doc_00070216 [00:30:53]file doc_00070217 [00:30:53]remove file /storage/0272/doc_00070217 [00:30:53]file doc_00070218 [00:30:53]remove file /storage/0272/doc_00070218 [00:30:53]file doc_00070219 [00:30:53]remove file /storage/0272/doc_00070219 [00:30:53]file doc_00070220 [00:30:53]remove file /storage/0272/doc_00070220 [00:30:53]file doc_00070221 [00:30:53]remove file /storage/0272/doc_00070221 [00:30:53]file doc_00070222 [00:30:53]remove file /storage/0272/doc_00070222 [00:30:53]file doc_00070223 [00:30:53]remove file /storage/0272/doc_00070223 [00:30:53]file doc_00070224 [00:30:53]remove file /storage/0272/doc_00070224 [00:30:53]file doc_00070225 [00:30:53]remove file /storage/0272/doc_00070225 [00:30:53]file doc_00070226 [00:30:53]remove file /storage/0272/doc_00070226 [00:30:53]file doc_00070227 [00:30:53]remove file /storage/0272/doc_00070227 [00:30:53]file doc_00070228 [00:30:53]remove file /storage/0272/doc_00070228 [00:30:53]file doc_00070229 [00:30:53]remove file /storage/0272/doc_00070229 [00:30:53]file doc_00070230 [00:30:53]remove file /storage/0272/doc_00070230 [00:30:53]file doc_00070231 [00:30:53]remove file /storage/0272/doc_00070231 [00:30:53]file doc_00070232 [00:30:53]remove file /storage/0272/doc_00070232 [00:30:53]file doc_00070233 [00:30:53]remove file /storage/0272/doc_00070233 [00:30:53]file doc_00070234 [00:30:53]remove file /storage/0272/doc_00070234 [00:30:53]file doc_00070235 [00:30:53]remove file /storage/0272/doc_00070235 [00:30:53]file doc_00070236 [00:30:53]remove file /storage/0272/doc_00070236 [00:30:53]file doc_00070237 [00:30:53]remove file /storage/0272/doc_00070237 [00:30:53]file doc_00070238 [00:30:53]remove file /storage/0272/doc_00070238 [00:30:53]file doc_00070239 [00:30:53]remove file /storage/0272/doc_00070239 [00:30:53]file doc_00070240 [00:30:53]remove file /storage/0272/doc_00070240 [00:30:53]file doc_00070241 [00:30:53]remove file /storage/0272/doc_00070241 [00:30:53]file doc_00070242 [00:30:53]remove file /storage/0272/doc_00070242 [00:30:53]file doc_00070243 [00:30:53]remove file /storage/0272/doc_00070243 [00:30:53]file doc_00070244 [00:30:53]remove file /storage/0272/doc_00070244 [00:30:53]file doc_00070245 [00:30:53]remove file /storage/0272/doc_00070245 [00:30:53]file doc_00070246 [00:30:53]remove file /storage/0272/doc_00070246 [00:30:53]file doc_00070247 [00:30:53]remove file /storage/0272/doc_00070247 [00:30:53]file doc_00070248 [00:30:53]remove file /storage/0272/doc_00070248 [00:30:53]file doc_00070249 [00:30:53]remove file /storage/0272/doc_00070249 [00:30:53]file doc_00070250 [00:30:53]remove file /storage/0272/doc_00070250 [00:30:53]file doc_00070251 [00:30:53]remove file /storage/0272/doc_00070251 [00:30:53]file doc_00070252 [00:30:53]remove file /storage/0272/doc_00070252 [00:30:53]file doc_00070253 [00:30:53]remove file /storage/0272/doc_00070253 [00:30:53]file doc_00070254 [00:30:53]remove file /storage/0272/doc_00070254 [00:30:53]file doc_00070255 [00:30:53]remove file /storage/0272/doc_00070255 [00:30:53]file doc_00070256 [00:30:53]remove file /storage/0272/doc_00070256 [00:30:53]file doc_00070257 [00:30:53]remove file /storage/0272/doc_00070257 [00:30:53]file doc_00070258 [00:30:53]remove file /storage/0272/doc_00070258 [00:30:53]file doc_00070259 [00:30:53]remove file /storage/0272/doc_00070259 [00:30:53]file doc_00070260 [00:30:53]remove file /storage/0272/doc_00070260 [00:30:53]file doc_00070261 [00:30:53]remove file /storage/0272/doc_00070261 [00:30:53]file doc_00070262 [00:30:53]remove file /storage/0272/doc_00070262 [00:30:53]file doc_00070263 [00:30:53]remove file /storage/0272/doc_00070263 [00:30:53]file doc_00070264 [00:30:53]remove file /storage/0272/doc_00070264 [00:30:53]file doc_00070265 [00:30:53]remove file /storage/0272/doc_00070265 [00:30:53]file doc_00070266 [00:30:53]remove file /storage/0272/doc_00070266 [00:30:53]file doc_00070267 [00:30:53]remove file /storage/0272/doc_00070267 [00:30:53]file doc_00070268 [00:30:53]remove file /storage/0272/doc_00070268 [00:30:53]file doc_00070269 [00:30:53]remove file /storage/0272/doc_00070269 [00:30:53]file doc_00070270 [00:30:53]remove file /storage/0272/doc_00070270 [00:30:53]file doc_00070271 [00:30:53]remove file /storage/0272/doc_00070271 [00:30:53]file doc_00070272 [00:30:53]remove file /storage/0272/doc_00070272 [00:30:53]file doc_00070273 [00:30:53]remove file /storage/0272/doc_00070273 [00:30:53]file doc_00070274 [00:30:53]remove file /storage/0272/doc_00070274 [00:30:53]file doc_00070275 [00:30:53]remove file /storage/0272/doc_00070275 [00:30:53]file doc_00070276 [00:30:53]remove file /storage/0272/doc_00070276 [00:30:53]file doc_00070277 [00:30:53]remove file /storage/0272/doc_00070277 [00:30:53]file doc_00070278 [00:30:53]remove file /storage/0272/doc_00070278 [00:30:53]file doc_00070279 [00:30:53]remove file /storage/0272/doc_00070279 [00:30:53]file doc_00070280 [00:30:53]remove file /storage/0272/doc_00070280 [00:30:53]file doc_00070281 [00:30:53]remove file /storage/0272/doc_00070281 [00:30:53]file doc_00070282 [00:30:53]remove file /storage/0272/doc_00070282 [00:30:53]file doc_00070283 [00:30:53]remove file /storage/0272/doc_00070283 [00:30:53]file doc_00070284 [00:30:53]remove file /storage/0272/doc_00070284 [00:30:53]file doc_00070285 [00:30:53]remove file /storage/0272/doc_00070285 [00:30:53]file doc_00070286 [00:30:53]remove file /storage/0272/doc_00070286 [00:30:53]file doc_00070287 [00:30:53]remove file /storage/0272/doc_00070287 [00:30:53]file doc_00070288 [00:30:53]remove file /storage/0272/doc_00070288 [00:30:53]file doc_00070289 [00:30:53]remove file /storage/0272/doc_00070289 [00:30:53]file doc_00070290 [00:30:53]remove file /storage/0272/doc_00070290 [00:30:53]file doc_00070291 [00:30:53]remove file /storage/0272/doc_00070291 [00:30:53]file doc_00070292 [00:30:53]remove file /storage/0272/doc_00070292 [00:30:53]file doc_00070293 [00:30:53]remove file /storage/0272/doc_00070293 [00:30:53]file doc_00070294 [00:30:53]remove file /storage/0272/doc_00070294 [00:30:53]file doc_00070295 [00:30:53]remove file /storage/0272/doc_00070295 [00:30:53]file doc_00070296 [00:30:53]remove file /storage/0272/doc_00070296 [00:30:53]file doc_00070297 [00:30:53]remove file /storage/0272/doc_00070297 [00:30:53]file doc_00070298 [00:30:53]remove file /storage/0272/doc_00070298 [00:30:53]file doc_00070299 [00:30:53]remove file /storage/0272/doc_00070299 [00:30:53]file doc_00070300 [00:30:53]remove file /storage/0272/doc_00070300 [00:30:53]file doc_00070301 [00:30:53]remove file /storage/0272/doc_00070301 [00:30:53]file doc_00070302 [00:30:53]remove file /storage/0272/doc_00070302 [00:30:53]file doc_00070303 [00:30:53]remove file /storage/0272/doc_00070303 [00:30:53]file doc_00070304 [00:30:53]remove file /storage/0272/doc_00070304 [00:30:53]file doc_00070305 [00:30:53]remove file /storage/0272/doc_00070305 [00:30:53]file doc_00070306 [00:30:53]remove file /storage/0272/doc_00070306 [00:30:53]file doc_00070307 [00:30:53]remove file /storage/0272/doc_00070307 [00:30:53]file doc_00070308 [00:30:53]remove file /storage/0272/doc_00070308 [00:30:53]file doc_00070309 [00:30:53]remove file /storage/0272/doc_00070309 [00:30:53]file doc_00070310 [00:30:53]remove file /storage/0272/doc_00070310 [00:30:53]file doc_00070311 [00:30:53]remove file /storage/0272/doc_00070311 [00:30:53]file doc_00070312 [00:30:53]remove file /storage/0272/doc_00070312 [00:30:53]file doc_00070313 [00:30:53]remove file /storage/0272/doc_00070313 [00:30:53]file doc_00070314 [00:30:53]remove file /storage/0272/doc_00070314 [00:30:53]file doc_00070315 [00:30:53]remove file /storage/0272/doc_00070315 [00:30:53]file doc_00070316 [00:30:53]remove file /storage/0272/doc_00070316 [00:30:53]file doc_00070317 [00:30:53]remove file /storage/0272/doc_00070317 [00:30:53]file doc_00070318 [00:30:53]remove file /storage/0272/doc_00070318 [00:30:53]file doc_00070319 [00:30:53]remove file /storage/0272/doc_00070319 [00:30:53]file doc_00070320 [00:30:53]remove file /storage/0272/doc_00070320 [00:30:53]file doc_00070321 [00:30:53]remove file /storage/0272/doc_00070321 [00:30:53]file doc_00070322 [00:30:53]remove file /storage/0272/doc_00070322 [00:30:53]file doc_00070323 [00:30:53]remove file /storage/0272/doc_00070323 [00:30:53]file doc_00070324 [00:30:53]remove file /storage/0272/doc_00070324 [00:30:53]file doc_00070325 [00:30:53]remove file /storage/0272/doc_00070325 [00:30:53]file doc_00070326 [00:30:53]remove file /storage/0272/doc_00070326 [00:30:53]file doc_00070327 [00:30:53]remove file /storage/0272/doc_00070327 [00:30:53]file doc_00070328 [00:30:53]remove file /storage/0272/doc_00070328 [00:30:53]file doc_00070329 [00:30:53]remove file /storage/0272/doc_00070329 [00:30:53]file doc_00070330 [00:30:53]remove file /storage/0272/doc_00070330 [00:30:53]file doc_00070331 [00:30:53]remove file /storage/0272/doc_00070331 [00:30:53]file doc_00070332 [00:30:53]remove file /storage/0272/doc_00070332 [00:30:53]file doc_00070333 [00:30:53]remove file /storage/0272/doc_00070333 [00:30:53]file doc_00070334 [00:30:53]remove file /storage/0272/doc_00070334 [00:30:53]file doc_00070335 [00:30:53]remove file /storage/0272/doc_00070335 [00:30:53]file doc_00070336 [00:30:53]remove file /storage/0272/doc_00070336 [00:30:53]file doc_00070337 [00:30:53]remove file /storage/0272/doc_00070337 [00:30:53]file doc_00070338 [00:30:53]remove file /storage/0272/doc_00070338 [00:30:53]file doc_00070339 [00:30:53]remove file /storage/0272/doc_00070339 [00:30:53]file doc_00070340 [00:30:53]remove file /storage/0272/doc_00070340 [00:30:53]file doc_00070341 [00:30:53]remove file /storage/0272/doc_00070341 [00:30:53]file doc_00070342 [00:30:53]remove file /storage/0272/doc_00070342 [00:30:53]file doc_00070343 [00:30:53]remove file /storage/0272/doc_00070343 [00:30:53]file doc_00070344 [00:30:53]remove file /storage/0272/doc_00070344 [00:30:53]file doc_00070345 [00:30:53]remove file /storage/0272/doc_00070345 [00:30:53]file doc_00070346 [00:30:53]remove file /storage/0272/doc_00070346 [00:30:53]file doc_00070347 [00:30:53]remove file /storage/0272/doc_00070347 [00:30:53]file doc_00070348 [00:30:53]remove file /storage/0272/doc_00070348 [00:30:53]file doc_00070349 [00:30:53]remove file /storage/0272/doc_00070349 [00:30:53]file doc_00070350 [00:30:53]remove file /storage/0272/doc_00070350 [00:30:53]file doc_00070351 [00:30:53]remove file /storage/0272/doc_00070351 [00:30:53]file doc_00070352 [00:30:53]remove file /storage/0272/doc_00070352 [00:30:53]file doc_00070353 [00:30:53]remove file /storage/0272/doc_00070353 [00:30:53]file doc_00070354 [00:30:53]remove file /storage/0272/doc_00070354 [00:30:53]file doc_00070355 [00:30:53]remove file /storage/0272/doc_00070355 [00:30:53]file doc_00070356 [00:30:53]remove file /storage/0272/doc_00070356 [00:30:53]file doc_00070357 [00:30:53]remove file /storage/0272/doc_00070357 [00:30:53]file doc_00070358 [00:30:53]remove file /storage/0272/doc_00070358 [00:30:53]file doc_00070359 [00:30:53]remove file /storage/0272/doc_00070359 [00:30:53]file doc_00070360 [00:30:53]remove file /storage/0272/doc_00070360 [00:30:53]file doc_00070361 [00:30:53]remove file /storage/0272/doc_00070361 [00:30:53]file doc_00070362 [00:30:53]remove file /storage/0272/doc_00070362 [00:30:53]file doc_00070363 [00:30:53]remove file /storage/0272/doc_00070363 [00:30:53]file doc_00070364 [00:30:53]remove file /storage/0272/doc_00070364 [00:30:53]file doc_00070365 [00:30:53]remove file /storage/0272/doc_00070365 [00:30:53]file doc_00070366 [00:30:53]remove file /storage/0272/doc_00070366 [00:30:53]file doc_00070367 [00:30:53]remove file /storage/0272/doc_00070367 [00:30:53]file doc_00070368 [00:30:53]remove file /storage/0272/doc_00070368 [00:30:53]file doc_00070369 [00:30:53]remove file /storage/0272/doc_00070369 [00:30:53]file doc_00070370 [00:30:53]remove file /storage/0272/doc_00070370 [00:30:53]file doc_00070371 [00:30:53]remove file /storage/0272/doc_00070371 [00:30:53]file doc_00070372 [00:30:53]remove file /storage/0272/doc_00070372 [00:30:53]file doc_00070373 [00:30:53]remove file /storage/0272/doc_00070373 [00:30:53]file doc_00070374 [00:30:53]remove file /storage/0272/doc_00070374 [00:30:53]file doc_00070375 [00:30:53]remove file /storage/0272/doc_00070375 [00:30:53]file doc_00070376 [00:30:53]remove file /storage/0272/doc_00070376 [00:30:53]file doc_00070377 [00:30:53]remove file /storage/0272/doc_00070377 [00:30:53]file doc_00070378 [00:30:53]remove file /storage/0272/doc_00070378 [00:30:53]file doc_00070379 [00:30:53]remove file /storage/0272/doc_00070379 [00:30:53]file doc_00070380 [00:30:53]remove file /storage/0272/doc_00070380 [00:30:53]file doc_00070381 [00:30:53]remove file /storage/0272/doc_00070381 [00:30:53]file doc_00070382 [00:30:53]remove file /storage/0272/doc_00070382 [00:30:53]file doc_00070383 [00:30:53]remove file /storage/0272/doc_00070383 [00:30:53]file doc_00070384 [00:30:53]remove file /storage/0272/doc_00070384 [00:30:53]file doc_00070385 [00:30:53]remove file /storage/0272/doc_00070385 [00:30:53]file doc_00070386 [00:30:53]remove file /storage/0272/doc_00070386 [00:30:53]file doc_00070387 [00:30:53]remove file /storage/0272/doc_00070387 [00:30:53]file doc_00070388 [00:30:53]remove file /storage/0272/doc_00070388 [00:30:53]file doc_00070389 [00:30:53]remove file /storage/0272/doc_00070389 [00:30:53]file doc_00070390 [00:30:53]remove file /storage/0272/doc_00070390 [00:30:53]file doc_00070391 [00:30:53]remove file /storage/0272/doc_00070391 [00:30:53]file doc_00070392 [00:30:53]remove file /storage/0272/doc_00070392 [00:30:53]file doc_00070393 [00:30:53]remove file /storage/0272/doc_00070393 [00:30:53]file doc_00070394 [00:30:53]remove file /storage/0272/doc_00070394 [00:30:53]file doc_00070395 [00:30:53]remove file /storage/0272/doc_00070395 [00:30:53]file doc_00070396 [00:30:53]remove file /storage/0272/doc_00070396 [00:30:53]file doc_00070397 [00:30:53]remove file /storage/0272/doc_00070397 [00:30:53]file doc_00070398 [00:30:53]remove file /storage/0272/doc_00070398 [00:30:53]file doc_00070399 [00:30:53]remove file /storage/0272/doc_00070399 [00:30:53]file doc_00070400 [00:30:53]remove file /storage/0272/doc_00070400 [00:30:53]file doc_00070401 [00:30:53]remove file /storage/0272/doc_00070401 [00:30:53]file doc_00070402 [00:30:53]remove file /storage/0272/doc_00070402 [00:30:53]file doc_00070403 [00:30:53]remove file /storage/0272/doc_00070403 [00:30:53]file doc_00070404 [00:30:53]remove file /storage/0272/doc_00070404 [00:30:53]file doc_00070405 [00:30:53]remove file /storage/0272/doc_00070405 [00:30:53]file doc_00070406 [00:30:53]remove file /storage/0272/doc_00070406 [00:30:53]file doc_00070407 [00:30:53]remove file /storage/0272/doc_00070407 [00:30:53]file doc_00070408 [00:30:53]remove file /storage/0272/doc_00070408 [00:30:53]file doc_00070409 [00:30:53]remove file /storage/0272/doc_00070409 [00:30:53]file doc_00070410 [00:30:53]remove file /storage/0272/doc_00070410 [00:30:53]file doc_00070411 [00:30:53]remove file /storage/0272/doc_00070411 [00:30:53]file doc_00070412 [00:30:53]remove file /storage/0272/doc_00070412 [00:30:53]file doc_00070413 [00:30:54]remove file /storage/0272/doc_00070413 [00:30:54]file doc_00070414 [00:30:54]remove file /storage/0272/doc_00070414 [00:30:54]file doc_00070415 [00:30:54]remove file /storage/0272/doc_00070415 [00:30:54]file doc_00070416 [00:30:54]remove file /storage/0272/doc_00070416 [00:30:54]file doc_00070417 [00:30:54]remove file /storage/0272/doc_00070417 [00:30:54]file doc_00070418 [00:30:54]remove file /storage/0272/doc_00070418 [00:30:54]file doc_00070419 [00:30:54]remove file /storage/0272/doc_00070419 [00:30:54]file doc_00070420 [00:30:54]remove file /storage/0272/doc_00070420 [00:30:54]file doc_00070421 [00:30:54]remove file /storage/0272/doc_00070421 [00:30:54]file doc_00070422 [00:30:54]remove file /storage/0272/doc_00070422 [00:30:54]file doc_00070423 [00:30:54]remove file /storage/0272/doc_00070423 [00:30:54]file doc_00070424 [00:30:54]remove file /storage/0272/doc_00070424 [00:30:54]file doc_00070425 [00:30:54]remove file /storage/0272/doc_00070425 [00:30:54]file doc_00070426 [00:30:54]remove file /storage/0272/doc_00070426 [00:30:54]file doc_00070427 [00:30:54]remove file /storage/0272/doc_00070427 [00:30:54]file doc_00070428 [00:30:54]remove file /storage/0272/doc_00070428 [00:30:54]file doc_00070429 [00:30:54]remove file /storage/0272/doc_00070429 [00:30:54]file doc_00070430 [00:30:54]remove file /storage/0272/doc_00070430 [00:30:54]file doc_00070431 [00:30:54]remove file /storage/0272/doc_00070431 [00:30:54]file doc_00070432 [00:30:54]remove file /storage/0272/doc_00070432 [00:30:54]file doc_00070433 [00:30:54]remove file /storage/0272/doc_00070433 [00:30:54]file doc_00070434 [00:30:54]remove file /storage/0272/doc_00070434 [00:30:54]file doc_00070435 [00:30:54]remove file /storage/0272/doc_00070435 [00:30:54]file doc_00070436 [00:30:54]remove file /storage/0272/doc_00070436 [00:30:54]file doc_00070437 [00:30:54]remove file /storage/0272/doc_00070437 [00:30:54]file doc_00070438 [00:30:54]remove file /storage/0272/doc_00070438 [00:30:54]file doc_00070439 [00:30:54]remove file /storage/0272/doc_00070439 [00:30:54]file doc_00070440 [00:30:54]remove file /storage/0272/doc_00070440 [00:30:54]file doc_00070441 [00:30:54]remove file /storage/0272/doc_00070441 [00:30:54]file doc_00070442 [00:30:54]remove file /storage/0272/doc_00070442 [00:30:54]remove dir /storage/0272 [00:30:54]ProcessDocumentItem done err = 0, tmpTLVsize=259 [00:30:54]tlvbuf is 02056FE0 [00:30:54]SAM_PROTO_ClearQueue [00:30:54]wFMCommunicate request_size=4 [00:30:54]MH_SAM_APDU [00:30:54]CAPDU: 80 09 00 00 [00:30:54]Write to MH i2c: E2 08 00 58 35 80 09 00 00 00 00 00 00 FF [00:30:54]Write i2c OK [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 [00:30:54]MH_I2C_Read... [00:30:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:30:54]Read from MH i2c: E2 03 00 [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 03 00 58 35 00 90 00 01 [00:30:54]RAPDU: 90 00 [00:30:54]wFMCommunicate OK [00:30:54]SAM_PROTO_ClearQueue done [00:30:54]KKMCreateOFDPacket [00:30:54]OFDProtocolAddRootSTLVToBuf [00:30:54]FM_MakeSignedData [00:30:54]FM_MakeSignedData [00:30:54]SAM_PROTO_SignData [00:30:54]wFMCommunicate request_size=4 [00:30:54]MH_SAM_APDU [00:30:54]CAPDU: 80 0D 01 02 [00:30:54]Write to MH i2c: E2 08 00 59 35 80 0D 01 02 00 00 00 00 07 [00:30:54]Write i2c OK [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 [00:30:54]MH_I2C_Read... [00:30:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:30:54]Read from MH i2c: E2 03 00 [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 03 00 59 35 00 90 00 02 [00:30:54]RAPDU: 90 00 [00:30:54]wFMCommunicate OK [00:30:54]wFMCommunicate request_size=255 [00:30:54]MH_SAM_APDU [00:30:54]CAPDU: 80 0D 02 02 FA 02 00 03 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 91 D0 B0 D1 82 D1 8B D1 80 D0 BA D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 93 2E 20 F1 03 51 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 98 D0 B2 D0 B0 D0 BD D0 BE D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 98 D0 BB D1 8C D0 B8 D0 BD D0 B0 20 31 20 D0 90 2F 31 2C 20 34 32 2E 38 38 31 37 37 37 2C 20 37 35 2E 31 30 37 39 35 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 31 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 42 2F 17 66 0E 04 04 00 11 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2B 13 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 [00:30:54]Write to MH i2c: E2 02 01 5A 35 80 0D 02 02 FA 00 02 00 03 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 91 D0 B0 D1 82 D1 8B D1 80 D0 BA D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 93 2E 20 F1 03 51 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 98 D0 B2 D0 B0 D0 BD D0 BE D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 98 D0 BB D1 8C D0 B8 D0 BD D0 B0 20 31 20 D0 90 2F 31 2C 20 34 32 2E 38 38 31 37 37 37 2C 20 37 35 2E 31 30 37 39 35 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 31 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 42 2F 17 66 0E 04 04 00 11 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2B 13 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 00 00 0C [00:30:54]Write i2c OK [00:30:54]MH_I2C_Read... [00:30:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:30:54]Read from MH i2c: E2 [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 03 00 [00:30:54]MH_I2C_Read... [00:30:54]Read from MH i2c: E2 03 00 5A 35 00 90 00 03 [00:30:54]RAPDU: 90 00 [00:30:54]wFMCommunicate OK [00:30:54]wFMCommunicate request_size=18 [00:30:54]MH_SAM_APDU [00:30:54]CAPDU: 80 0D 02 02 0D 37 34 32 35 04 06 00 40 C2 D6 F5 ED C4 [00:30:54]Write to MH i2c: E2 15 00 5B 35 80 0D 02 02 0D 00 37 34 32 35 04 06 00 40 C2 D6 F5 ED C4 00 00 7E [00:30:54]Write i2c OK [00:30:54]MH_I2C_Read... [00:30:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:30:55]Read from MH i2c: E2 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: E2 03 00 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: E2 03 00 5B 35 00 90 00 04 [00:30:55]RAPDU: 90 00 [00:30:55]wFMCommunicate OK [00:30:55]wFMCommunicate request_size=4 [00:30:55]MH_SAM_APDU [00:30:55]CAPDU: 80 0D 03 02 [00:30:55]Write to MH i2c: E2 08 00 5C 35 80 0D 03 02 00 00 00 00 0C [00:30:55]Write i2c OK [00:30:55]MH_I2C_Read... [00:30:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:30:55]Read from MH i2c: E2 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: E2 0B 00 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: E2 0B 00 5C 35 00 DA 2B C4 D5 1B 93 51 3C 90 00 E6 [00:30:55]RAPDU: DA 2B C4 D5 1B 93 51 3C 90 00 [00:30:55]wFMCommunicate OK [00:30:55]SAM_PROTO_SignData done [00:30:55]FM_MakeSignedData done [00:30:55]CreateOFDProtocolMessage [00:30:55]wFMCommunicate request_size=4 [00:30:55]MH_SAM_APDU [00:30:55]CAPDU: 80 11 00 00 [00:30:55]Write to MH i2c: E2 08 00 5D 35 80 11 00 00 00 00 00 00 0C [00:30:55]Write i2c OK [00:30:55]MH_I2C_Read... [00:30:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:30:55]Read from MH i2c: E2 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: E2 17 00 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: E2 17 00 5D 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 5F [00:30:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [00:30:55]wFMCommunicate OK [00:30:55]CreateOFDProtocolMessage done [00:30:55]OFDSenderStorePacket 70443 [00:30:55]StoreOFDPacket docnum=70443 [00:30:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 17 01 00 00 56 22 0F 01 04 A1 5A 02 01 00 02 00 03 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 91 D0 B0 D1 82 D1 8B D1 80 D0 BA D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 93 2E 20 F1 03 51 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 98 D0 B2 D0 B0 D0 BD D0 BE D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 98 D0 BB D1 8C D0 B8 D0 BD D0 B0 20 31 20 D0 90 2F 31 2C 20 34 32 2E 38 38 31 37 37 37 2C 20 37 35 2E 31 30 37 39 35 34 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 31 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 42 2F 17 66 0E 04 04 00 11 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2B 13 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 35 04 06 00 40 C2 D6 F5 ED C4 DA 2B C4 D5 1B 93 51 3C [00:30:55]CheckFolder [00:30:55]dirname=/storage/ofd_packets [00:30:55]CheckFolder done [00:30:55]ProducePacketName [00:30:55]name=ofd_packets/00070443 [00:30:55]NVStorageSaveData ofd_packets/00070443 [00:30:55]File name is /storage/ofd_packets/00070443 [00:30:55]Write 309 bytes [00:30:55]NVStorageSaveData done [00:30:55]OFDSenderStorePacket done [00:30:55]KKMCreateOFDPacket done [00:30:55]NVStorageSaveData kkm_last_timestamp [00:30:55]File name is /storage/kkm_last_timestamp [00:30:55]Write 4 bytes [00:30:55]NVStorageSaveData done [00:30:55]ExternCall_PrintAddStr [00:30:55]wPrintStart [00:30:55]Write to MH i2c: 01 00 00 5E 35 93 [00:30:55]Write i2c OK [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: 01 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: 01 07 00 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: 01 07 00 5E 35 00 00 00 00 00 FF 0F A8 [00:30:55]RasterBufferAndPrint [00:30:55]line Отчет об открытии смены [00:30:55]line ФФД: 1.0 [00:30:55]line ИНН: 02508201610067 [00:30:55]line Кассир: Батырканова Г. [00:30:55]line Адрес: 720001, с. Ивановка, ул. Г. Ильина 1 А/1, 42.881777, 75.107954 [00:30:55]line Место: АЗС № 121 "Партнер Нефть" [00:30:55]line 11.04.2024 00:30 [00:30:55]line Смена: 273 [00:30:55]line РНМ: 0000000000090617 [00:30:55]line ЗНМ: 0300000024 [00:30:55]line ФД: 70443 [00:30:55]line ФМ: 0000000000874742 [00:30:55]line ФПД: 71205574274500 [00:30:55]written 0, free lines is 4095 [00:30:55]OFD Sender: Processing packet 70443 [packets to send 7, broken 6] [00:30:55]ProducePacketName [00:30:55]name=ofd_packets/00070443 [00:30:55]OFD Sender: To server: pG, [00:30:55]CommunicateWithHost lk.salyk.kg:30040 [00:30:55]ConnectInit lk.salyk.kg [00:30:55]Connected sock=10 [00:30: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 34 32 17 01 00 00 56 22 0F 01 04 A1 5A 02 01 00 02 00 03 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 91 D0 B0 D1 82 D1 8B D1 80 D0 BA D0 B0 D0 BD D0 BE D0 B2 D0 B0 20 D0 93 2E 20 F1 03 51 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 98 D0 B2 D0 B0 D0 BD D0 BE D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 98 D0 BB D1 8C D0 B8 D0 BD D0 Write to MH i2c: B0 01 20 00 31 00 20 70 D0 35 90 A5 2F [00:30:55]31 2C 20 34 32 2E 38 Write i2c OK [00:30:55]38 MH_I2C_Read... [00:30:55]31 37 37 37 2C 20 37 35 2E 31 30 37 39 35 34 A3 04 2A Read from MH i2c: 00 01 D0 [00:30:55]90 MH_I2C_Read... [00:30:55]D0 Read from MH i2c: 97 01 D0 07 A1 00 20 [00:30:55]E2 MH_I2C_Read... [00:30:55]84 96 20 31 Read from MH i2c: 32 01 31 07 20 00 22 70 D0 35 9F 00 D0 00 B0 00 D1 00 80 00 D1 EE 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 42 2F 0E 17 A8 66 [00:30:55]0E RasterBufferAndPrint [00:30:55]04 line [00:30:55]04 line [00:30:55]00 line [00:30:55]11 line [00:30:55]01 line [00:30:55]00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2B 13 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 35 04 06 00 40 C2 D6 F5 ED C4 DA 2B C4 D5 1B 93 51 3C [00:30:55]written 0, free lines is 3907 [00:30:55]MH_Cut [00:30:55]Write to MH i2c: D1 01 00 77 35 01 7E [00:30:55]Write i2c OK [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: D1 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: D1 01 00 [00:30:55]MH_I2C_Read... [00:30:55]Read from MH i2c: D1 01 00 77 35 00 7D [00:30:55]Write to MH i2c: 01 00 00 78 35 AD [00:30:55]Write i2c OK [00:30:55]MH_I2C_Read... [00:30: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 34 32 4F 00 00 00 81 D1 47 00 21 7D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2B 13 01 00 F4 03 04 00 3E DB 16 66 B6 04 01 00 00 54 A5 36 61 E6 4B 4A E7 [00:30:55]CommunicateWithHost err = 0 [00:30:55]CheckOFDResponse [00:30:55]1017 (14) - 77093643461234 [00:30:55]1041 (16) - 0000000000874742 [00:30:55]1040 (4) - 70443 [00:30:55]1012 (4) - 10.04.2024 18:32 [00:30:55]1206 (1) - 0 [00:30:55]OFD Sender: Remove packet 70443 [00:30:55]ProducePacketName [00:30:55]name=ofd_packets/00070443 [00:30:55]NVStorageDeleteData [00:30:55]*** Cut start [00:30:55]*** Partial cut [00:30:55]*** CUTSNS_PIN = 1 [00:30:55]*** CUTSNS_PIN = 0 [00:30:56]*** Brake cut motor [00:30:56]OFD Sender: No OFD packet to send [00:30:56]Read from MH i2c: 01 [00:30:56]MH_I2C_Read... [00:30:56]*** Stop cut motor [00:30:56]*** Cut end [00:30:56]Read from MH i2c: 01 07 00 [00:30:56]MH_I2C_Read... [00:30:56]Read from MH i2c: 01 07 00 78 35 00 00 00 00 00 FF 0F C2 [00:30:56]process_action open_shift done [00:30:56]requested_data is exist [00:30:56]produce_requested_data [00:30:56]requested_item fd.num is exist - process it [00:30:56]SAM_PROTO_GetFieldsCounters [00:30:56]wFMCommunicate request_size=4 [00:30:56]MH_SAM_APDU [00:30:56]CAPDU: 80 13 00 00 [00:30:56]Write to MH i2c: E2 08 00 79 35 80 13 00 00 00 00 00 00 2A [00:30:56]Write i2c OK [00:30:56]MH_I2C_Read... [00:30:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:30:56]Read from MH i2c: E2 [00:30:56]MH_I2C_Read... [00:30:56]Read from MH i2c: E2 62 00 [00:30:56]MH_I2C_Read... [00:30:56]Read from MH i2c: E2 62 00 79 35 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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2B 13 01 00 0E 04 04 00 11 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 9A [00:30: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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2B 13 01 00 0E 04 04 00 11 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:30:56]wFMCommunicate OK [00:30:56]SAM_PROTO_GetFieldsCounters done [00:30:56]requested_item shift.num is exist - process it [00:30:56]requested_item shift.opened is exist - process it [00:30:56]req_shift_opened [00:30:56]FM_GetShiftState [00:30:56]SAM_PROTO_GetShiftState [00:30:56]wFMCommunicate request_size=4 [00:30:56]MH_SAM_APDU [00:30:56]CAPDU: 80 13 01 00 [00:30:56]Write to MH i2c: E2 08 00 7A 35 80 13 01 00 00 00 00 00 2C [00:30:56]Write i2c OK [00:30:56]MH_I2C_Read... [00:30:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:30:56]Read from MH i2c: E2 [00:30:56]MH_I2C_Read... [00:30:56]Read from MH i2c: E2 0E 00 [00:30:56]MH_I2C_Read... [00:30:56]Read from MH i2c: E2 0E 00 7A 35 00 09 00 01 42 2F 17 66 00 00 00 00 90 00 26 [00:30:56]RAPDU: 09 00 01 42 2F 17 66 00 00 00 00 90 00 [00:30:56]wFMCommunicate OK [00:30:56]SAM_PROTO_GetShiftState done [00:30:56]FM_GetShiftState done [00:30:56]req_shift_opened done [00:30:56]requested_item shift.open_date is exist - process it [00:30:56]req_shift_open_date [00:30:56]req_shift_open_date done [00:30:56]produce_requested_data done [00:30:56]produce_requested_data return {"fd.num":70443,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458} [00:30:56]process_action_free open_shift [00:30:56]json_value_free [00:30:56]json_value_free done [00:30:56]process_json_proto returns [00:30:56]Send response to host [00:30:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":70443,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458}}} [00:30:56]free response buf [00:30:56]execute_script done [00:30:56]execute_script returns [00:30:56]free content buf [00:30:56]Sock 7.Close socket [00:30:56]Sock 7.Thread stoped [00:30:56]accept exits with 9 [00:30:56]New connection [00:30:56]New thread 3066879332 created [00:30:56]Thread 3066735972 joined [00:30:56]Waiting for new connection... [00:30:56] Sock 9.Parse request [00:30:56]Sock 9.Check first char [00:30:56]Sock 9.First char is OK [00:30:56]request: POST /json_proto HTTP/1.0 [00:30:56]Method: POST [00:30:56]URL: /json_proto [00:30:56]Method is POST - this is cgi request [00:30:56]url: /json_proto [00:30:56]query_string will be loaded in cgi processing [00:30:56]execute_cgi json_proto POST (null) [00:30:56]execute_cgi path=json_proto method=POST [00:30:56]POST find Content-Length [00:30:56]Host: 172.17.34.200:8080 [00:30:56]Content-Length: 331 [00:30:56]Content-Type: application/json [00:30:56] [00:30:56]POST finish read [00:30:56]Found Content-Length = 331 [00:30:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:30:56]execute_script... [00:30:56]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:30:56]POST & json_proto [00:30:56]process_json_proto [00:30:56]json parsed OK: [00:30:56]protocol is kg_v1.0 [00:30:56]action value=get_value [00:30:56]process_action get_value [00:30:56]cmd_get_value [00:30:56]process_action get_value done [00:30:56]requested_data is exist [00:30:56]produce_requested_data [00:30:56]requested_item fm.sale.total is exist - process it [00:30:56]SAM_PROTO_GetFMData [00:30:56]wFMCommunicate request_size=4 [00:30:56]MH_SAM_APDU [00:30:56]CAPDU: 80 13 03 00 [00:30:56]Write to MH i2c: E2 08 00 7B 35 80 13 03 00 00 00 00 00 2F [00:30:56]Write i2c OK [00:30:56]MH_I2C_Read... [00:30:57]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:30:57]Read from MH i2c: E2 [00:30:57]MH_I2C_Read... [00:30:57]Read from MH i2c: E2 FD 00 [00:30:57]MH_I2C_Read... [00:30:57]Read from MH i2c: E2 FD 00 7B 35 00 C8 04 85 04 C4 04 6E 04 04 00 08 11 01 00 69 04 A3 00 6F 04 04 00 6A 0D 01 00 B1 04 05 00 2B 64 3D B2 01 70 04 05 00 E0 19 7A 12 01 72 04 04 00 4B 4A C3 9F 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 7D 17 1F 2E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 05 D8 D7 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9F 00 6F 04 04 00 9E 03 00 00 B1 04 04 00 74 34 75 23 70 04 04 00 40 EC 6E 23 72 04 03 00 34 48 06 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 7D FD C3 03 90 00 EA [00:30:57]RAPDU: C8 04 85 04 C4 04 6E 04 04 00 08 11 01 00 69 04 A3 00 6F 04 04 00 6A 0D 01 00 B1 04 05 00 2B 64 3D B2 01 70 04 05 00 E0 19 7A 12 01 72 04 04 00 4B 4A C3 9F 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 7D 17 1F 2E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 05 D8 D7 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9F 00 6F 04 04 00 9E 03 00 00 B1 04 04 00 74 34 75 23 70 04 04 00 40 EC 6E 23 72 04 03 00 34 48 06 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 7D FD C3 03 90 00 [00:30:57]wFMCommunicate OK [00:30:57]wFMCommunicate request_size=4 [00:30:57]MH_SAM_APDU [00:30:57]CAPDU: 80 17 00 00 [00:30:57]Write to MH i2c: E2 08 00 7C 35 80 17 00 00 00 00 00 00 31 [00:30:57]Write i2c OK [00:30:57]MH_I2C_Read... [00:30:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:57]Read from MH i2c: E2 [00:30:57]MH_I2C_Read... [00:30:57]Read from MH i2c: E2 FD 00 [00:30:57]MH_I2C_Read... [00:30:57]Read from MH i2c: E2 FD 00 7C 35 00 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 CD 54 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9E [00:30:57]RAPDU: 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 CD 54 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:30:57]wFMCommunicate OK [00:30:57]wFMCommunicate request_size=4 [00:30:57]MH_SAM_APDU [00:30:57]CAPDU: 80 17 00 00 [00:30:57]Write to MH i2c: E2 08 00 7D 35 80 17 00 00 00 00 00 00 32 [00:30:57]Write i2c OK [00:30:57]MH_I2C_Read... [00:30:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:58]Read from MH i2c: E2 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 FD 00 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 FD 00 7D 35 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0A [00:30:58]RAPDU: 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:30:58]wFMCommunicate OK [00:30:58]wFMCommunicate request_size=4 [00:30:58]MH_SAM_APDU [00:30:58]CAPDU: 80 17 00 00 [00:30:58]Write to MH i2c: E2 08 00 7E 35 80 17 00 00 00 00 00 00 33 [00:30:58]Write i2c OK [00:30:58]MH_I2C_Read... [00:30:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:30:58]Read from MH i2c: E2 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 FD 00 [00:30:58]MH_I2C_Read... [00:30:58]Read from MH i2c: E2 FD 00 7E 35 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 90 00 AB [00:30:58]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 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 90 00 [00:30:58]wFMCommunicate OK [00:30:58]wFMCommunicate request_size=4 [00:30:58]MH_SAM_APDU [00:30:58]CAPDU: 80 17 00 00 [00:30:58]Write to MH i2c: E2 08 00 7F 35 80 17 00 00 00 00 00 00 34 [00:30:58]Write i2c OK [00:30:58]MH_I2C_Read... [00:30:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 226! [00:30:59]Read from MH i2c: E2 [00:30:59]MH_I2C_Read... [00:30:59]Read from MH i2c: E2 E5 00 [00:30:59]MH_I2C_Read... [00:30:59]Read from MH i2c: E2 E5 00 7F 35 00 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:30:59]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:30:59]wFMCommunicate OK [00:30:59]SAM_PROTO_GetFMData done [00:30:59]requested_item fm.sale_refund.total is exist - process it [00:30:59]requested_item fm.buy.total is exist - process it [00:30:59]requested_item shift.sale.total is exist - process it [00:30:59]SAM_PROTO_GetShiftData [00:30:59]wFMCommunicate request_size=4 [00:30:59]MH_SAM_APDU [00:30:59]CAPDU: 80 13 02 00 [00:30:59]Write to MH i2c: E2 08 00 80 35 80 13 02 00 00 00 00 00 33 [00:30:59]Write i2c OK [00:30:59]MH_I2C_Read... [00:30:59]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:30:59]Read from MH i2c: E2 [00:30:59]MH_I2C_Read... [00:30:59]Read from MH i2c: E2 FD 00 [00:30:59]MH_I2C_Read... [00:30:59]Read from MH i2c: E2 FD 00 80 35 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 A6 [00:30:59]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:00]wFMCommunicate OK [00:31:00]wFMCommunicate request_size=4 [00:31:00]MH_SAM_APDU [00:31:00]CAPDU: 80 17 00 00 [00:31:00]Write to MH i2c: E2 08 00 81 35 80 17 00 00 00 00 00 00 36 [00:31:00]Write i2c OK [00:31:00]MH_I2C_Read... [00:31:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:00]Read from MH i2c: E2 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: E2 FD 00 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: E2 FD 00 81 35 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 3E [00:31:00]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:00]wFMCommunicate OK [00:31:00]wFMCommunicate request_size=4 [00:31:00]MH_SAM_APDU [00:31:00]CAPDU: 80 17 00 00 [00:31:00]Write to MH i2c: E2 08 00 82 35 80 17 00 00 00 00 00 00 37 [00:31:00]Write i2c OK [00:31:00]MH_I2C_Read... [00:31:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:00]Read from MH i2c: E2 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: E2 FD 00 [00:31:00]MH_I2C_Read... [00:31:00]Read from MH i2c: E2 FD 00 82 35 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 09 [00:31:01]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:01]wFMCommunicate OK [00:31:01]wFMCommunicate request_size=4 [00:31:01]MH_SAM_APDU [00:31:01]CAPDU: 80 17 00 00 [00:31:01]Write to MH i2c: E2 08 00 83 35 80 17 00 00 00 00 00 00 38 [00:31:01]Write i2c OK [00:31:01]MH_I2C_Read... [00:31:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:31:01]OFD Sender: No OFD packet to send [00:31:01]Read from MH i2c: E2 [00:31:01]MH_I2C_Read... [00:31:01]Read from MH i2c: E2 FD 00 [00:31:01]MH_I2C_Read... [00:31:01]Read from MH i2c: E2 FD 00 83 35 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 AA [00:31:01]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:01]wFMCommunicate OK [00:31:01]wFMCommunicate request_size=4 [00:31:01]MH_SAM_APDU [00:31:01]CAPDU: 80 17 00 00 [00:31:01]Write to MH i2c: E2 08 00 84 35 80 17 00 00 00 00 00 00 39 [00:31:01]Write i2c OK [00:31:01]MH_I2C_Read... [00:31:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:31:01]Read from MH i2c: E2 [00:31:01]MH_I2C_Read... [00:31:01]Read from MH i2c: E2 BD 00 [00:31:01]MH_I2C_Read... [00:31:01]Read from MH i2c: E2 BD 00 84 35 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 1F [00:31:02]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:31:02]wFMCommunicate OK [00:31:02]SAM_PROTO_GetShiftData done [00:31:02]requested_item shift.sale.total_cash is exist - process it [00:31:02]requested_item shift.sale_refund.total is exist - process it [00:31:02]requested_item shift.sale_refund.total_cash is exist - process it [00:31:02]requested_item shift.buy.total is exist - process it [00:31:02]requested_item shift.buy.total_cash is exist - process it [00:31:02]produce_requested_data done [00:31:02]produce_requested_data return {"fm.sale.total":72853350.83,"fm.sale_refund.total":5948837.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:02]process_action_free get_value [00:31:02]json_value_free [00:31:02]json_value_free done [00:31:02]process_json_proto returns [00:31:02]Send response to host [00:31:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":72853350.83,"fm.sale_refund.total":5948837.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:02]free response buf [00:31:02]execute_script done [00:31:02]execute_script returns [00:31:02]free content buf [00:31:02]Sock 9.Close socket [00:31:02]Sock 9.Thread stoped [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:21]OFD Sender: No OFD packet to send [00:31:26]OFD Sender: No OFD packet to send [00:31:31]OFD Sender: No OFD packet to send [00:31:36]OFD Sender: No OFD packet to send [00:31:41]OFD Sender: No OFD packet to send [00:31:46]OFD Sender: No OFD packet to send [00:31:51]OFD Sender: No OFD packet to send [00:31:56]OFD Sender: No OFD packet to send [00:31:59]accept exits with 7 [00:31:59]New connection [00:31:59]New thread 3066735972 created [00:31:59]Thread 3066879332 joined [00:31:59]Waiting for new connection... [00:31:59] Sock 7.Parse request [00:31:59]Sock 7.Check first char [00:31:59]Sock 7.First char is OK [00:31:59]request: POST /json_proto HTTP/1.0 [00:31:59]Method: POST [00:31:59]URL: /json_proto [00:31:59]Method is POST - this is cgi request [00:31:59]url: /json_proto [00:31:59]query_string will be loaded in cgi processing [00:31:59]execute_cgi json_proto POST (null) [00:31:59]execute_cgi path=json_proto method=POST [00:31:59]POST find Content-Length [00:31:59]Host: 172.17.34.200:8080 [00:31:59]Content-Length: 215 [00:31:59]Content-Type: application/json [00:31:59] [00:31:59]POST finish read [00:31:59]Found Content-Length = 215 [00:31:59]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:59]execute_script... [00:31:59]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:59]POST & json_proto [00:31:59]process_json_proto [00:31:59]json parsed OK: [00:31:59]protocol is kg_v1.0 [00:31:59]action value=get_value [00:31:59]process_action get_value [00:31:59]cmd_get_value [00:31:59]process_action get_value done [00:31:59]requested_data is exist [00:31:59]produce_requested_data [00:31:59]requested_item kkm.sn is exist - process it [00:31:59]requested_item kkm.ver is exist - process it [00:31:59]requested_item fm.sn is exist - process it [00:31:59]wFMCommunicate request_size=4 [00:31:59]MH_SAM_APDU [00:31:59]CAPDU: 80 11 00 00 [00:31:59]Write to MH i2c: E2 08 00 85 35 80 11 00 00 00 00 00 00 34 [00:31:59]Write i2c OK [00:31:59]MH_I2C_Read... [00:31:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:31:59]Read from MH i2c: E2 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: E2 17 00 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: E2 17 00 85 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 87 [00:31:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [00:31:59]wFMCommunicate OK [00:31:59]requested_item fd.num is exist - process it [00:31:59]SAM_PROTO_GetFieldsCounters [00:31:59]wFMCommunicate request_size=4 [00:31:59]MH_SAM_APDU [00:31:59]CAPDU: 80 13 00 00 [00:31:59]Write to MH i2c: E2 08 00 86 35 80 13 00 00 00 00 00 00 37 [00:31:59]Write i2c OK [00:31:59]MH_I2C_Read... [00:31:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:31:59]Read from MH i2c: E2 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: E2 62 00 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: E2 62 00 86 35 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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2B 13 01 00 0E 04 04 00 11 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 A7 [00:31: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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2B 13 01 00 0E 04 04 00 11 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:59]wFMCommunicate OK [00:31:59]SAM_PROTO_GetFieldsCounters done [00:31:59]requested_item shift.num is exist - process it [00:31:59]requested_item shift.opened is exist - process it [00:31:59]req_shift_opened [00:31:59]FM_GetShiftState [00:31:59]SAM_PROTO_GetShiftState [00:31:59]wFMCommunicate request_size=4 [00:31:59]MH_SAM_APDU [00:31:59]CAPDU: 80 13 01 00 [00:31:59]Write to MH i2c: E2 08 00 87 35 80 13 01 00 00 00 00 00 39 [00:31:59]Write i2c OK [00:31:59]MH_I2C_Read... [00:31:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:31:59]Read from MH i2c: E2 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: E2 0E 00 [00:31:59]MH_I2C_Read... [00:31:59]Read from MH i2c: E2 0E 00 87 35 00 09 00 01 42 2F 17 66 00 00 00 00 90 00 33 [00:31:59]RAPDU: 09 00 01 42 2F 17 66 00 00 00 00 90 00 [00:31:59]wFMCommunicate OK [00:31:59]SAM_PROTO_GetShiftState done [00:31:59]FM_GetShiftState done [00:31:59]req_shift_opened done [00:31:59]requested_item shift.open_date is exist - process it [00:31:59]req_shift_open_date [00:31:59]req_shift_open_date done [00:31:59]produce_requested_data done [00:31:59]produce_requested_data return {"kkm.sn":"0300000024","kkm.ver":"001","fm.sn":"0000000000874742","fd.num":70443,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458} [00:31:59]process_action_free get_value [00:31:59]json_value_free [00:31:59]json_value_free done [00:31:59]process_json_proto returns [00:31:59]Send response to host [00:31:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000024","kkm.ver":"001","fm.sn":"0000000000874742","fd.num":70443,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458}}} [00:31:59]free response buf [00:31:59]execute_script done [00:31:59]execute_script returns [00:31:59]free content buf [00:31:59]Sock 7.Close socket [00:31:59]Sock 7.Thread stoped [00:31:59]accept exits with 9 [00:31:59]New connection [00:31:59]New thread 3066879332 created [00:31:59]Thread 3066735972 joined [00:31:59]Waiting for new connection... [00:31:59] Sock 9.Parse request [00:31:59]Sock 9.Check first char [00:31:59]Sock 9.First char is OK [00:31:59]request: POST /json_proto HTTP/1.0 [00:31:59]Method: POST [00:31:59]URL: /json_proto [00:31:59]Method is POST - this is cgi request [00:31:59]url: /json_proto [00:31:59]query_string will be loaded in cgi processing [00:31:59]execute_cgi json_proto POST (null) [00:31:59]execute_cgi path=json_proto method=POST [00:31:59]POST find Content-Length [00:31:59]Host: 172.17.34.200:8080 [00:31:59]Content-Length: 331 [00:31:59]Content-Type: application/json [00:31:59] [00:31:59]POST finish read [00:31:59]Found Content-Length = 331 [00:31:59]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:59]execute_script... [00:31:59]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:59]POST & json_proto [00:31:59]process_json_proto [00:31:59]json parsed OK: [00:31:59]protocol is kg_v1.0 [00:31:59]action value=get_value [00:31:59]process_action get_value [00:31:59]cmd_get_value [00:31:59]process_action get_value done [00:31:59]requested_data is exist [00:31:59]produce_requested_data [00:31:59]requested_item fm.sale.total is exist - process it [00:31:59]SAM_PROTO_GetFMData [00:31:59]wFMCommunicate request_size=4 [00:31:59]MH_SAM_APDU [00:31:59]CAPDU: 80 13 03 00 [00:31:59]Write to MH i2c: E2 08 00 88 35 80 13 03 00 00 00 00 00 3C [00:31:59]Write i2c OK [00:31:59]MH_I2C_Read... [00:32:00]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:32:00]Read from MH i2c: E2 [00:32:00]MH_I2C_Read... [00:32:00]Read from MH i2c: E2 FD 00 [00:32:00]MH_I2C_Read... [00:32:00]Read from MH i2c: E2 FD 00 88 35 00 C8 04 85 04 C4 04 6E 04 04 00 08 11 01 00 69 04 A3 00 6F 04 04 00 6A 0D 01 00 B1 04 05 00 2B 64 3D B2 01 70 04 05 00 E0 19 7A 12 01 72 04 04 00 4B 4A C3 9F 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 7D 17 1F 2E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 05 D8 D7 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9F 00 6F 04 04 00 9E 03 00 00 B1 04 04 00 74 34 75 23 70 04 04 00 40 EC 6E 23 72 04 03 00 34 48 06 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 7D FD C3 03 90 00 F7 [00:32:00]RAPDU: C8 04 85 04 C4 04 6E 04 04 00 08 11 01 00 69 04 A3 00 6F 04 04 00 6A 0D 01 00 B1 04 05 00 2B 64 3D B2 01 70 04 05 00 E0 19 7A 12 01 72 04 04 00 4B 4A C3 9F 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 7D 17 1F 2E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 05 D8 D7 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9F 00 6F 04 04 00 9E 03 00 00 B1 04 04 00 74 34 75 23 70 04 04 00 40 EC 6E 23 72 04 03 00 34 48 06 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 7D FD C3 03 90 00 [00:32:00]wFMCommunicate OK [00:32:00]wFMCommunicate request_size=4 [00:32:00]MH_SAM_APDU [00:32:00]CAPDU: 80 17 00 00 [00:32:00]Write to MH i2c: E2 08 00 89 35 80 17 00 00 00 00 00 00 3E [00:32:00]Write i2c OK [00:32:00]MH_I2C_Read... [00:32:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:00]Read from MH i2c: E2 [00:32:00]MH_I2C_Read... [00:32:00]Read from MH i2c: E2 FD 00 [00:32:00]MH_I2C_Read... [00:32:00]Read from MH i2c: E2 FD 00 89 35 00 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 CD 54 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AB [00:32:00]RAPDU: 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 CD 54 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:32:00]wFMCommunicate OK [00:32:00]wFMCommunicate request_size=4 [00:32:00]MH_SAM_APDU [00:32:00]CAPDU: 80 17 00 00 [00:32:00]Write to MH i2c: E2 08 00 8A 35 80 17 00 00 00 00 00 00 3F [00:32:00]Write i2c OK [00:32:00]MH_I2C_Read... [00:32:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:00]Read from MH i2c: E2 [00:32:00]MH_I2C_Read... [00:32:00]Read from MH i2c: E2 FD 00 [00:32:00]MH_I2C_Read... [00:32:00]Read from MH i2c: E2 FD 00 8A 35 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 17 [00:32:00]RAPDU: 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:32:00]wFMCommunicate OK [00:32:00]wFMCommunicate request_size=4 [00:32:00]MH_SAM_APDU [00:32:00]CAPDU: 80 17 00 00 [00:32:00]Write to MH i2c: E2 08 00 8B 35 80 17 00 00 00 00 00 00 40 [00:32:00]Write i2c OK [00:32:00]MH_I2C_Read... [00:32:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:01]Read from MH i2c: E2 [00:32:01]MH_I2C_Read... [00:32:01]Read from MH i2c: E2 FD 00 [00:32:01]MH_I2C_Read... [00:32:01]Read from MH i2c: E2 FD 00 8B 35 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 90 00 B8 [00:32:01]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 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 90 00 [00:32:01]wFMCommunicate OK [00:32:01]wFMCommunicate request_size=4 [00:32:01]MH_SAM_APDU [00:32:01]CAPDU: 80 17 00 00 [00:32:01]Write to MH i2c: E2 08 00 8C 35 80 17 00 00 00 00 00 00 41 [00:32:01]Write i2c OK [00:32:01]MH_I2C_Read... [00:32:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 226! [00:32:01]Read from MH i2c: E2 [00:32:01]MH_I2C_Read... [00:32:01]Read from MH i2c: E2 E5 00 [00:32:01]MH_I2C_Read... [00:32:01]Read from MH i2c: E2 E5 00 8C 35 00 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:32:01]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:32:01]wFMCommunicate OK [00:32:01]SAM_PROTO_GetFMData done [00:32:01]requested_item fm.sale_refund.total is exist - process it [00:32:01]requested_item fm.buy.total is exist - process it [00:32:01]requested_item shift.sale.total is exist - process it [00:32:01]SAM_PROTO_GetShiftData [00:32:01]wFMCommunicate request_size=4 [00:32:01]MH_SAM_APDU [00:32:01]CAPDU: 80 13 02 00 [00:32:01]Write to MH i2c: E2 08 00 8D 35 80 13 02 00 00 00 00 00 40 [00:32:01]Write i2c OK [00:32:01]MH_I2C_Read... [00:32:01]OFD Sender: No OFD packet to send [00:32:01]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:32:01]Read from MH i2c: E2 [00:32:01]MH_I2C_Read... [00:32:01]Read from MH i2c: E2 FD 00 [00:32:01]MH_I2C_Read... [00:32:01]Read from MH i2c: E2 FD 00 8D 35 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 B3 [00:32:01]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:32:01]wFMCommunicate OK [00:32:01]wFMCommunicate request_size=4 [00:32:01]MH_SAM_APDU [00:32:01]CAPDU: 80 17 00 00 [00:32:01]Write to MH i2c: E2 08 00 8E 35 80 17 00 00 00 00 00 00 43 [00:32:01]Write i2c OK [00:32:01]MH_I2C_Read... [00:32:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:02]Read from MH i2c: E2 [00:32:02]MH_I2C_Read... [00:32:02]Read from MH i2c: E2 FD 00 [00:32:02]MH_I2C_Read... [00:32:02]Read from MH i2c: E2 FD 00 8E 35 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 4B [00:32:02]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:32:02]wFMCommunicate OK [00:32:02]wFMCommunicate request_size=4 [00:32:02]MH_SAM_APDU [00:32:02]CAPDU: 80 17 00 00 [00:32:02]Write to MH i2c: E2 08 00 8F 35 80 17 00 00 00 00 00 00 44 [00:32:02]Write i2c OK [00:32:02]MH_I2C_Read... [00:32:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:02]Read from MH i2c: E2 [00:32:02]MH_I2C_Read... [00:32:02]Read from MH i2c: E2 FD 00 [00:32:02]MH_I2C_Read... [00:32:02]Read from MH i2c: E2 FD 00 8F 35 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 16 [00:32:02]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:32:02]wFMCommunicate OK [00:32:02]wFMCommunicate request_size=4 [00:32:02]MH_SAM_APDU [00:32:02]CAPDU: 80 17 00 00 [00:32:02]Write to MH i2c: E2 08 00 90 35 80 17 00 00 00 00 00 00 45 [00:32:02]Write i2c OK [00:32:02]MH_I2C_Read... [00:32:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:02]Read from MH i2c: E2 [00:32:02]MH_I2C_Read... [00:32:02]Read from MH i2c: E2 FD 00 [00:32:02]MH_I2C_Read... [00:32:02]Read from MH i2c: E2 FD 00 90 35 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 B7 [00:32:02]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:32:02]wFMCommunicate OK [00:32:02]wFMCommunicate request_size=4 [00:32:02]MH_SAM_APDU [00:32:02]CAPDU: 80 17 00 00 [00:32:02]Write to MH i2c: E2 08 00 91 35 80 17 00 00 00 00 00 00 46 [00:32:02]Write i2c OK [00:32:02]MH_I2C_Read... [00:32:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:32:03]Read from MH i2c: E2 [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 BD 00 [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 BD 00 91 35 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 2C [00:32:03]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:32:03]wFMCommunicate OK [00:32:03]SAM_PROTO_GetShiftData done [00:32:03]requested_item shift.sale.total_cash is exist - process it [00:32:03]requested_item shift.sale_refund.total is exist - process it [00:32:03]requested_item shift.sale_refund.total_cash is exist - process it [00:32:03]requested_item shift.buy.total is exist - process it [00:32:03]requested_item shift.buy.total_cash is exist - process it [00:32:03]produce_requested_data done [00:32:03]produce_requested_data return {"fm.sale.total":72853350.83,"fm.sale_refund.total":5948837.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:32:03]process_action_free get_value [00:32:03]json_value_free [00:32:03]json_value_free done [00:32:03]process_json_proto returns [00:32:03]Send response to host [00:32:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":72853350.83,"fm.sale_refund.total":5948837.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:32:03]free response buf [00:32:03]execute_script done [00:32:03]execute_script returns [00:32:03]free content buf [00:32:03]Sock 9.Close socket [00:32:03]Sock 9.Thread stoped [00:32:06]OFD Sender: No OFD packet to send [00:32:11]OFD Sender: No OFD packet to send [00:32:16]OFD Sender: No OFD packet to send [00:32:21]OFD Sender: No OFD packet to send [00:32:26]OFD Sender: No OFD packet to send [00:32:31]OFD Sender: No OFD packet to send [00:32:36]OFD Sender: No OFD packet to send [00:32:41]OFD Sender: No OFD packet to send [00:32:46]OFD Sender: No OFD packet to send [00:32:51]OFD Sender: No OFD packet to send [00:32:56]OFD Sender: No OFD packet to send [00:33:01]accept exits with 7 [00:33:01]New connection [00:33:01]New thread 3066735972 created [00:33:01]Thread 3066879332 joined [00:33:01]Waiting for new connection... [00:33:01] Sock 7.Parse request [00:33:01]Sock 7.Check first char [00:33:01]Sock 7.First char is OK [00:33:01]request: POST /json_proto HTTP/1.0 [00:33:01]Method: POST [00:33:01]URL: /json_proto [00:33:01]Method is POST - this is cgi request [00:33:01]url: /json_proto [00:33:01]query_string will be loaded in cgi processing [00:33:01]execute_cgi json_proto POST (null) [00:33:01]execute_cgi path=json_proto method=POST [00:33:01]POST find Content-Length [00:33:01]Host: 172.17.34.200:8080 [00:33:01]Content-Length: 215 [00:33:01]Content-Type: application/json [00:33:01] [00:33:01]POST finish read [00:33:01]Found Content-Length = 215 [00:33:01]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:33:01]execute_script... [00:33:01]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:33:01]POST & json_proto [00:33:01]process_json_proto [00:33:01]json parsed OK: [00:33:01]protocol is kg_v1.0 [00:33:01]action value=get_value [00:33:01]process_action get_value [00:33:01]cmd_get_value [00:33:01]process_action get_value done [00:33:01]requested_data is exist [00:33:01]produce_requested_data [00:33:01]requested_item kkm.sn is exist - process it [00:33:01]requested_item kkm.ver is exist - process it [00:33:01]requested_item fm.sn is exist - process it [00:33:01]wFMCommunicate request_size=4 [00:33:01]MH_SAM_APDU [00:33:01]CAPDU: 80 11 00 00 [00:33:01]Write to MH i2c: E2 08 00 92 35 80 11 00 00 00 00 00 00 41 [00:33:01]Write i2c OK [00:33:01]MH_I2C_Read... [00:33:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:33:01]Read from MH i2c: E2 [00:33:01]MH_I2C_Read... [00:33:01]Read from MH i2c: E2 17 00 [00:33:01]MH_I2C_Read... [00:33:01]Read from MH i2c: E2 17 00 92 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 94 [00:33:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [00:33:01]wFMCommunicate OK [00:33:01]requested_item fd.num is exist - process it [00:33:01]SAM_PROTO_GetFieldsCounters [00:33:01]wFMCommunicate request_size=4 [00:33:01]MH_SAM_APDU [00:33:01]CAPDU: 80 13 00 00 [00:33:01]Write to MH i2c: E2 08 00 93 35 80 13 00 00 00 00 00 00 44 [00:33:01]Write i2c OK [00:33:01]MH_I2C_Read... [00:33:01]OFD Sender: No OFD packet to send [00:33:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:33:01]Read from MH i2c: E2 [00:33:01]MH_I2C_Read... [00:33:01]Read from MH i2c: E2 62 00 [00:33:01]MH_I2C_Read... [00:33:01]Read from MH i2c: E2 62 00 93 35 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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2B 13 01 00 0E 04 04 00 11 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 B4 [00:33: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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2B 13 01 00 0E 04 04 00 11 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:33:01]wFMCommunicate OK [00:33:01]SAM_PROTO_GetFieldsCounters done [00:33:01]requested_item shift.num is exist - process it [00:33:01]requested_item shift.opened is exist - process it [00:33:01]req_shift_opened [00:33:01]FM_GetShiftState [00:33:01]SAM_PROTO_GetShiftState [00:33:01]wFMCommunicate request_size=4 [00:33:01]MH_SAM_APDU [00:33:01]CAPDU: 80 13 01 00 [00:33:01]Write to MH i2c: E2 08 00 94 35 80 13 01 00 00 00 00 00 46 [00:33:01]Write i2c OK [00:33:01]MH_I2C_Read... [00:33:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:33:01]Read from MH i2c: E2 [00:33:01]MH_I2C_Read... [00:33:01]Read from MH i2c: E2 0E 00 [00:33:01]MH_I2C_Read... [00:33:01]Read from MH i2c: E2 0E 00 94 35 00 09 00 01 42 2F 17 66 00 00 00 00 90 00 40 [00:33:01]RAPDU: 09 00 01 42 2F 17 66 00 00 00 00 90 00 [00:33:01]wFMCommunicate OK [00:33:01]SAM_PROTO_GetShiftState done [00:33:01]FM_GetShiftState done [00:33:01]req_shift_opened done [00:33:01]requested_item shift.open_date is exist - process it [00:33:01]req_shift_open_date [00:33:01]req_shift_open_date done [00:33:01]produce_requested_data done [00:33:01]produce_requested_data return {"kkm.sn":"0300000024","kkm.ver":"001","fm.sn":"0000000000874742","fd.num":70443,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458} [00:33:01]process_action_free get_value [00:33:01]json_value_free [00:33:01]json_value_free done [00:33:01]process_json_proto returns [00:33:01]Send response to host [00:33:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000024","kkm.ver":"001","fm.sn":"0000000000874742","fd.num":70443,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458}}} [00:33:01]free response buf [00:33:01]execute_script done [00:33:01]execute_script returns [00:33:01]free content buf [00:33:01]Sock 7.Close socket [00:33:01]Sock 7.Thread stoped [00:33:01]accept exits with 9 [00:33:01]New connection [00:33:01]New thread 3066879332 created [00:33:01]Thread 3066735972 joined [00:33:01]Waiting for new connection... [00:33:01] Sock 9.Parse request [00:33:01]Sock 9.Check first char [00:33:01]Sock 9.First char is OK [00:33:01]request: POST /json_proto HTTP/1.0 [00:33:01]Method: POST [00:33:01]URL: /json_proto [00:33:01]Method is POST - this is cgi request [00:33:01]url: /json_proto [00:33:01]query_string will be loaded in cgi processing [00:33:01]execute_cgi json_proto POST (null) [00:33:01]execute_cgi path=json_proto method=POST [00:33:01]POST find Content-Length [00:33:01]Host: 172.17.34.200:8080 [00:33:01]Content-Length: 331 [00:33:01]Content-Type: application/json [00:33:01] [00:33:01]POST finish read [00:33:01]Found Content-Length = 331 [00:33:01]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:33:01]execute_script... [00:33:02]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:33:02]POST & json_proto [00:33:02]process_json_proto [00:33:02]json parsed OK: [00:33:02]protocol is kg_v1.0 [00:33:02]action value=get_value [00:33:02]process_action get_value [00:33:02]cmd_get_value [00:33:02]process_action get_value done [00:33:02]requested_data is exist [00:33:02]produce_requested_data [00:33:02]requested_item fm.sale.total is exist - process it [00:33:02]SAM_PROTO_GetFMData [00:33:02]wFMCommunicate request_size=4 [00:33:02]MH_SAM_APDU [00:33:02]CAPDU: 80 13 03 00 [00:33:02]Write to MH i2c: E2 08 00 95 35 80 13 03 00 00 00 00 00 49 [00:33:02]Write i2c OK [00:33:02]MH_I2C_Read... [00:33:02]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:33:02]Read from MH i2c: E2 [00:33:02]MH_I2C_Read... [00:33:02]Read from MH i2c: E2 FD 00 [00:33:02]MH_I2C_Read... [00:33:02]Read from MH i2c: E2 FD 00 95 35 00 C8 04 85 04 C4 04 6E 04 04 00 08 11 01 00 69 04 A3 00 6F 04 04 00 6A 0D 01 00 B1 04 05 00 2B 64 3D B2 01 70 04 05 00 E0 19 7A 12 01 72 04 04 00 4B 4A C3 9F 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 7D 17 1F 2E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 05 D8 D7 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9F 00 6F 04 04 00 9E 03 00 00 B1 04 04 00 74 34 75 23 70 04 04 00 40 EC 6E 23 72 04 03 00 34 48 06 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 7D FD C3 03 90 00 04 [00:33:02]RAPDU: C8 04 85 04 C4 04 6E 04 04 00 08 11 01 00 69 04 A3 00 6F 04 04 00 6A 0D 01 00 B1 04 05 00 2B 64 3D B2 01 70 04 05 00 E0 19 7A 12 01 72 04 04 00 4B 4A C3 9F 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 7D 17 1F 2E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 05 D8 D7 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9F 00 6F 04 04 00 9E 03 00 00 B1 04 04 00 74 34 75 23 70 04 04 00 40 EC 6E 23 72 04 03 00 34 48 06 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 7D FD C3 03 90 00 [00:33:02]wFMCommunicate OK [00:33:02]wFMCommunicate request_size=4 [00:33:02]MH_SAM_APDU [00:33:02]CAPDU: 80 17 00 00 [00:33:02]Write to MH i2c: E2 08 00 96 35 80 17 00 00 00 00 00 00 4B [00:33:02]Write i2c OK [00:33:02]MH_I2C_Read... [00:33:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:33:02]Read from MH i2c: E2 [00:33:02]MH_I2C_Read... [00:33:02]Read from MH i2c: E2 FD 00 [00:33:02]MH_I2C_Read... [00:33:02]Read from MH i2c: E2 FD 00 96 35 00 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 CD 54 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B8 [00:33:02]RAPDU: 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 CD 54 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:33:02]wFMCommunicate OK [00:33:02]wFMCommunicate request_size=4 [00:33:02]MH_SAM_APDU [00:33:02]CAPDU: 80 17 00 00 [00:33:02]Write to MH i2c: E2 08 00 97 35 80 17 00 00 00 00 00 00 4C [00:33:02]Write i2c OK [00:33:02]MH_I2C_Read... [00:33:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:33:03]Read from MH i2c: E2 [00:33:03]MH_I2C_Read... [00:33:03]Read from MH i2c: E2 FD 00 [00:33:03]MH_I2C_Read... [00:33:03]Read from MH i2c: E2 FD 00 97 35 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 24 [00:33:03]RAPDU: 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:33:03]wFMCommunicate OK [00:33:03]wFMCommunicate request_size=4 [00:33:03]MH_SAM_APDU [00:33:03]CAPDU: 80 17 00 00 [00:33:03]Write to MH i2c: E2 08 00 98 35 80 17 00 00 00 00 00 00 4D [00:33:03]Write i2c OK [00:33:03]MH_I2C_Read... [00:33:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:33:03]Read from MH i2c: E2 [00:33:03]MH_I2C_Read... [00:33:03]Read from MH i2c: E2 FD 00 [00:33:03]MH_I2C_Read... [00:33:03]Read from MH i2c: E2 FD 00 98 35 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 90 00 C5 [00:33:03]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 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 90 00 [00:33:03]wFMCommunicate OK [00:33:03]wFMCommunicate request_size=4 [00:33:03]MH_SAM_APDU [00:33:03]CAPDU: 80 17 00 00 [00:33:03]Write to MH i2c: E2 08 00 99 35 80 17 00 00 00 00 00 00 4E [00:33:03]Write i2c OK [00:33:03]MH_I2C_Read... [00:33:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 226! [00:33:03]Read from MH i2c: E2 [00:33:03]MH_I2C_Read... [00:33:03]Read from MH i2c: E2 E5 00 [00:33:03]MH_I2C_Read... [00:33:03]Read from MH i2c: E2 E5 00 99 35 00 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:33:03]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:33:03]wFMCommunicate OK [00:33:03]SAM_PROTO_GetFMData done [00:33:03]requested_item fm.sale_refund.total is exist - process it [00:33:03]requested_item fm.buy.total is exist - process it [00:33:03]requested_item shift.sale.total is exist - process it [00:33:03]SAM_PROTO_GetShiftData [00:33:03]wFMCommunicate request_size=4 [00:33:03]MH_SAM_APDU [00:33:03]CAPDU: 80 13 02 00 [00:33:03]Write to MH i2c: E2 08 00 9A 35 80 13 02 00 00 00 00 00 4D [00:33:03]Write i2c OK [00:33:03]MH_I2C_Read... [00:33:03]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:33:03]Read from MH i2c: E2 [00:33:03]MH_I2C_Read... [00:33:03]Read from MH i2c: E2 FD 00 [00:33:03]MH_I2C_Read... [00:33:03]Read from MH i2c: E2 FD 00 9A 35 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 C0 [00:33:04]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:33:04]wFMCommunicate OK [00:33:04]wFMCommunicate request_size=4 [00:33:04]MH_SAM_APDU [00:33:04]CAPDU: 80 17 00 00 [00:33:04]Write to MH i2c: E2 08 00 9B 35 80 17 00 00 00 00 00 00 50 [00:33:04]Write i2c OK [00:33:04]MH_I2C_Read... [00:33:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:33:04]Read from MH i2c: E2 [00:33:04]MH_I2C_Read... [00:33:04]Read from MH i2c: E2 FD 00 [00:33:04]MH_I2C_Read... [00:33:04]Read from MH i2c: E2 FD 00 9B 35 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 58 [00:33:04]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:33:04]wFMCommunicate OK [00:33:04]wFMCommunicate request_size=4 [00:33:04]MH_SAM_APDU [00:33:04]CAPDU: 80 17 00 00 [00:33:04]Write to MH i2c: E2 08 00 9C 35 80 17 00 00 00 00 00 00 51 [00:33:04]Write i2c OK [00:33:04]MH_I2C_Read... [00:33:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:33:04]Read from MH i2c: E2 [00:33:04]MH_I2C_Read... [00:33:04]Read from MH i2c: E2 FD 00 [00:33:04]MH_I2C_Read... [00:33:04]Read from MH i2c: E2 FD 00 9C 35 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 23 [00:33:04]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:33:04]wFMCommunicate OK [00:33:04]wFMCommunicate request_size=4 [00:33:04]MH_SAM_APDU [00:33:04]CAPDU: 80 17 00 00 [00:33:04]Write to MH i2c: E2 08 00 9D 35 80 17 00 00 00 00 00 00 52 [00:33:04]Write i2c OK [00:33:04]MH_I2C_Read... [00:33:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:33:04]Read from MH i2c: E2 [00:33:04]MH_I2C_Read... [00:33:04]Read from MH i2c: E2 FD 00 [00:33:04]MH_I2C_Read... [00:33:04]Read from MH i2c: E2 FD 00 9D 35 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 C4 [00:33:04]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:33:04]wFMCommunicate OK [00:33:04]wFMCommunicate request_size=4 [00:33:04]MH_SAM_APDU [00:33:04]CAPDU: 80 17 00 00 [00:33:04]Write to MH i2c: E2 08 00 9E 35 80 17 00 00 00 00 00 00 53 [00:33:04]Write i2c OK [00:33:04]MH_I2C_Read... [00:33:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:33:05]Read from MH i2c: E2 [00:33:05]MH_I2C_Read... [00:33:05]Read from MH i2c: E2 BD 00 [00:33:05]MH_I2C_Read... [00:33:05]Read from MH i2c: E2 BD 00 9E 35 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 39 [00:33:05]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:33:05]wFMCommunicate OK [00:33:05]SAM_PROTO_GetShiftData done [00:33:05]requested_item shift.sale.total_cash is exist - process it [00:33:05]requested_item shift.sale_refund.total is exist - process it [00:33:05]requested_item shift.sale_refund.total_cash is exist - process it [00:33:05]requested_item shift.buy.total is exist - process it [00:33:05]requested_item shift.buy.total_cash is exist - process it [00:33:05]produce_requested_data done [00:33:05]produce_requested_data return {"fm.sale.total":72853350.83,"fm.sale_refund.total":5948837.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:33:05]process_action_free get_value [00:33:05]json_value_free [00:33:05]json_value_free done [00:33:05]process_json_proto returns [00:33:05]Send response to host [00:33:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":72853350.83,"fm.sale_refund.total":5948837.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:33:05]free response buf [00:33:05]execute_script done [00:33:05]execute_script returns [00:33:05]free content buf [00:33:05]Sock 9.Close socket [00:33:05]Sock 9.Thread stoped [00:33:06]OFD Sender: No OFD packet to send [00:33:11]OFD Sender: No OFD packet to send [00:33:16]OFD Sender: No OFD packet to send [00:33:21]OFD Sender: No OFD packet to send [00:33:26]OFD Sender: No OFD packet to send [00:33:31]OFD Sender: No OFD packet to send [00:33:36]OFD Sender: No OFD packet to send [00:33:41]OFD Sender: No OFD packet to send [00:33:46]OFD Sender: No OFD packet to send [00:33:51]OFD Sender: No OFD packet to send [00:33:56]OFD Sender: No OFD packet to send [00:34:01]OFD Sender: No OFD packet to send [00:34:06]OFD Sender: No OFD packet to send [00:34:11]OFD Sender: No OFD packet to send [00:34:16]OFD Sender: No OFD packet to send [00:34:21]OFD Sender: No OFD packet to send [00:34:26]OFD Sender: No OFD packet to send [00:34:31]OFD Sender: No OFD packet to send [00:34:36]OFD Sender: No OFD packet to send [00:34:41]OFD Sender: No OFD packet to send [00:34:46]OFD Sender: No OFD packet to send [00:34:51]OFD Sender: No OFD packet to send [00:34:56]OFD Sender: No OFD packet to send [00:35:01]OFD Sender: No OFD packet to send [00:35:06]OFD Sender: No OFD packet to send [00:35:11]OFD Sender: No OFD packet to send [00:35:16]OFD Sender: No OFD packet to send [00:35:21]OFD Sender: No OFD packet to send [00:35:26]OFD Sender: No OFD packet to send [00:35:31]OFD Sender: No OFD packet to send [00:35:34]accept exits with 7 [00:35:34]New connection [00:35:34]New thread 3066735972 created [00:35:34]Thread 3066879332 joined [00:35:34]Waiting for new connection... [00:35:34] Sock 7.Parse request [00:35:34]Sock 7.Check first char [00:35:34]Sock 7.First char is OK [00:35:34]request: POST /json_proto HTTP/1.0 [00:35:34]Method: POST [00:35:34]URL: /json_proto [00:35:34]Method is POST - this is cgi request [00:35:34]url: /json_proto [00:35:34]query_string will be loaded in cgi processing [00:35:34]execute_cgi json_proto POST (null) [00:35:34]execute_cgi path=json_proto method=POST [00:35:34]POST find Content-Length [00:35:34]Host: 172.17.34.200:8080 [00:35:34]Content-Length: 809 [00:35:34]Content-Type: application/json [00:35:34] [00:35:34]POST finish read [00:35:34]Found Content-Length = 809 [00:35:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1259812", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 69.640, "sum" : 5000.15, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 5000.15 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:35:34]execute_script... [00:35: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 : (1)1259812", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 11", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 69.640, "sum" : 5000.15, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 5000.15 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:35:34]POST & json_proto [00:35:34]process_json_proto [00:35:34]json parsed OK: [00:35:34]protocol is kg_v1.0 [00:35:34]action value=close_receipt [00:35:34]process_action close_receipt [00:35:34]cmd_close_receipt [00:35:34]MH_GetDate [00:35:34]Write to MH i2c: F0 00 00 9F 35 C3 [00:35:34]Write i2c OK [00:35:34]MH_I2C_Read... [00:35:34]Read from MH i2c: F0 [00:35:34]MH_I2C_Read... [00:35:34]Read from MH i2c: F0 09 00 [00:35:34]MH_I2C_Read... [00:35:34]Read from MH i2c: F0 09 00 9F 35 00 5F 30 17 66 B3 F3 14 66 F8 [00:35:34]GetLastDocTimeStamp 1712795458 [00:35:34]current date 1712795743 [00:35:34]FM_GetShiftState [00:35:34]SAM_PROTO_GetShiftState [00:35:34]wFMCommunicate request_size=4 [00:35:34]MH_SAM_APDU [00:35:34]CAPDU: 80 13 01 00 [00:35:34]Write to MH i2c: E2 08 00 A0 35 80 13 01 00 00 00 00 00 52 [00:35:34]Write i2c OK [00:35:34]MH_I2C_Read... [00:35:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:35:34]Read from MH i2c: E2 [00:35:34]MH_I2C_Read... [00:35:34]Read from MH i2c: E2 0E 00 [00:35:34]MH_I2C_Read... [00:35:34]Read from MH i2c: E2 0E 00 A0 35 00 09 00 01 42 2F 17 66 00 00 00 00 90 00 4C [00:35:34]RAPDU: 09 00 01 42 2F 17 66 00 00 00 00 90 00 [00:35:34]wFMCommunicate OK [00:35:34]SAM_PROTO_GetShiftState done [00:35:34]FM_GetShiftState done [00:35:34]opened in 1712795458 [00:35:34]opened+sec_in_day 1712881858 [00:35:34]quantity*price = 500015 [00:35:34]sum+1 = 500016 [00:35:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 5000.15 НСП 1% : 44.25 НДС 12% : 530.99 Наличными: 0.00 Безнал.: 5000.15 Место: АЗС № 121 "Партнер Нефть" Адрес: 720001, с. Ивановка, ул. Г. Ильина 1 А/1, 42.881777, 75.107954 СНО: Общий режим Чек 1 11.04.2024 00:35 Смена: 273 ФФД: 1.0 ЗНМ: 0300000024 РНМ: 0000000000090617 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874742 ФД: 70444 ФПД: 167392249630336 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240411T003543&type=1&operation_type=1&fn_number=0000000000874742&fd_number=70444&fm=167392249630336&tin=02508201610067®Number=0000000000090617&sum=500015 [00:35:35]StoreToDocumentArchive [00:35:35]shift 273 fd 70444 [00:35:35]save to /storage/0273/doc_00070444 [00:35:35]save last doc name /storage/0273/doc_00070444 to /storage/kkm_last_doc_name [00:35:35]save OK [00:35:35]Clear old archive folders... [00:35:35]ProcessDocumentItem done err = 0, tmpTLVsize=252 [00:35:35]tlvbuf is 021D83B0 [00:35:35]SAM_PROTO_ClearQueue [00:35:35]wFMCommunicate request_size=4 [00:35:35]MH_SAM_APDU [00:35:35]CAPDU: 80 09 00 00 [00:35:35]Write to MH i2c: E2 08 00 AD 35 80 09 00 00 00 00 00 00 54 [00:35:35]Write i2c OK [00:35:35]MH_I2C_Read... [00:35:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:35:35]Read from MH i2c: E2 [00:35:35]MH_I2C_Read... [00:35:35]Read from MH i2c: E2 03 00 [00:35:35]MH_I2C_Read... [00:35:35]Read from MH i2c: E2 03 00 AD 35 00 90 00 56 [00:35:35]RAPDU: 90 00 [00:35:35]wFMCommunicate OK [00:35:35]SAM_PROTO_ClearQueue done [00:35:35]KKMCreateOFDPacket [00:35:35]OFDProtocolAddRootSTLVToBuf [00:35:35]FM_MakeSignedData [00:35:35]FM_MakeSignedData [00:35:35]SAM_PROTO_SignData [00:35:35]wFMCommunicate request_size=4 [00:35:35]MH_SAM_APDU [00:35:35]CAPDU: 80 0D 01 02 [00:35:35]Write to MH i2c: E2 08 00 AE 35 80 0D 01 02 00 00 00 00 5C [00:35:35]Write i2c OK [00:35:35]MH_I2C_Read... [00:35:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:35:35]Read from MH i2c: E2 [00:35:35]MH_I2C_Read... [00:35:35]Read from MH i2c: E2 03 00 [00:35:35]MH_I2C_Read... [00:35:35]Read from MH i2c: E2 03 00 AE 35 00 90 00 57 [00:35:35]RAPDU: 90 00 [00:35:35]wFMCommunicate OK [00:35:35]wFMCommunicate request_size=255 [00:35:35]MH_SAM_APDU [00:35:35]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 08 10 01 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2F A1 07 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2F A1 07 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 11 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6B CF 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2F A1 07 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 5F 30 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2C 13 01 00 35 04 06 00 [00:35:35]Write to MH i2c: E2 02 01 AF 35 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 08 10 01 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2F A1 07 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2F A1 07 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 11 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6B CF 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2F A1 07 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 5F 30 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2C 13 01 00 35 04 06 00 00 00 58 [00:35:35]Write i2c OK [00:35:35]MH_I2C_Read... [00:35:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:35:35]Read from MH i2c: E2 [00:35:35]MH_I2C_Read... [00:35:35]Read from MH i2c: E2 03 00 [00:35:35]MH_I2C_Read... [00:35:35]Read from MH i2c: E2 03 00 AF 35 00 90 00 58 [00:35:35]RAPDU: 90 00 [00:35:35]wFMCommunicate OK [00:35:35]wFMCommunicate request_size=11 [00:35:35]MH_SAM_APDU [00:35:35]CAPDU: 80 0D 02 02 06 98 3E 0B 93 CE 80 [00:35:35]Write to MH i2c: E2 0E 00 B0 35 80 0D 02 02 06 00 98 3E 0B 93 CE 80 00 00 2D [00:35:35]Write i2c OK [00:35:35]MH_I2C_Read... [00:35:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:35:35]Read from MH i2c: E2 [00:35:35]MH_I2C_Read... [00:35:35]Read from MH i2c: E2 03 00 [00:35:35]MH_I2C_Read... [00:35:35]Read from MH i2c: E2 03 00 B0 35 00 90 00 59 [00:35:35]RAPDU: 90 00 [00:35:35]wFMCommunicate OK [00:35:35]wFMCommunicate request_size=4 [00:35:35]MH_SAM_APDU [00:35:35]CAPDU: 80 0D 03 02 [00:35:35]Write to MH i2c: E2 08 00 B1 35 80 0D 03 02 00 00 00 00 61 [00:35:35]Write i2c OK [00:35:35]MH_I2C_Read... [00:35:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:35:35]Read from MH i2c: E2 [00:35:35]MH_I2C_Read... [00:35:35]Read from MH i2c: E2 0B 00 [00:35:35]MH_I2C_Read... [00:35:35]Read from MH i2c: E2 0B 00 B1 35 00 56 1B D2 55 80 1D 9D 7F 90 00 B3 [00:35:35]RAPDU: 56 1B D2 55 80 1D 9D 7F 90 00 [00:35:35]wFMCommunicate OK [00:35:35]SAM_PROTO_SignData done [00:35:35]FM_MakeSignedData done [00:35:35]CreateOFDProtocolMessage [00:35:35]wFMCommunicate request_size=4 [00:35:35]MH_SAM_APDU [00:35:35]CAPDU: 80 11 00 00 [00:35:35]Write to MH i2c: E2 08 00 B2 35 80 11 00 00 00 00 00 00 61 [00:35:35]Write i2c OK [00:35:35]MH_I2C_Read... [00:35:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:35:35]Read from MH i2c: E2 [00:35:35]MH_I2C_Read... [00:35:35]Read from MH i2c: E2 17 00 [00:35:35]MH_I2C_Read... [00:35:35]Read from MH i2c: E2 17 00 B2 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 B4 [00:35:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [00:35:35]wFMCommunicate OK [00:35:35]CreateOFDProtocolMessage done [00:35:35]OFDSenderStorePacket 70444 [00:35:35]StoreOFDPacket docnum=70444 [00:35:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 01 00 00 40 4E 08 01 76 FF 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 08 10 01 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2F A1 07 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2F A1 07 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 11 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6B CF 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2F A1 07 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 5F 30 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2C 13 01 00 35 04 06 00 98 3E 0B 93 CE 80 56 1B D2 55 80 1D 9D 7F [00:35:35]CheckFolder [00:35:35]dirname=/storage/ofd_packets [00:35:35]CheckFolder done [00:35:35]ProducePacketName [00:35:35]name=ofd_packets/00070444 [00:35:35]NVStorageSaveData ofd_packets/00070444 [00:35:35]File name is /storage/ofd_packets/00070444 [00:35:35]Write 302 bytes [00:35:35]NVStorageSaveData done [00:35:35]OFDSenderStorePacket done [00:35:35]KKMCreateOFDPacket done [00:35:35]NVStorageSaveData kkm_last_timestamp [00:35:35]File name is /storage/kkm_last_timestamp [00:35:35]Write 4 bytes [00:35:35]NVStorageSaveData done [00:35:35]ExternCall_PrintAddStr [00:35:35]wPrintStart [00:35:35]Write to MH i2c: 01 00 00 B3 35 E8 [00:35:35]Write i2c OK [00:35:35]MH_I2C_Read... [00:35:35]Read from MH i2c: 01 [00:35:35]MH_I2C_Read... [00:35:35]Read from MH i2c: 01 07 00 [00:35:35]MH_I2C_Read... [00:35:35]Read from MH i2c: 01 07 00 B3 35 00 00 00 00 00 FF 0F FD [00:35:35]RasterBufferAndPrint [00:35:35]line Счет N : (1)1259812 [00:35:35]line ИНН: 02508201610067 [00:35:35]line Контрольно-Кассовый Чек [00:35:35]line ПРОДАЖА [00:35:35]line ТРК (МРК, ГНК) : 11 [00:35:35]line Товар: 2710194210 [00:35:35]line ДТ(л)-К-5 [00:35:35]line 69.640 * 71.80 [00:35:35]line = 5000.15 [00:35:35]line НДС 12% НСП 1% [00:35:35]line > о реализуемом товаре [00:35:35]line ИТОГО: 5000.15 [00:35:35]line НСП 1% : 44.25 [00:35:35]line НДС 12% : 530.99 [00:35:35]line Наличными: 0.00 [00:35:35]line Безнал.: 5000.15 [00:35:35]line Место: АЗС № 121 "Партнер Нефть" [00:35:35]line Адрес: 720001, с. Ивановка, ул. Г. Ильина 1 А/1, 42.881777, 75.107954 [00:35:35]line СНО: Общий режим [00:35:35]line Чек 1 11.04.2024 00:35 [00:35:35]line Смена: 273 ФФД: 1.0 [00:35:35]line ЗНМ: 0300000024 [00:35:35]line РНМ: 0000000000090617 [00:35:35]line Версия ККМ: 001 [00:35:35]line Платежная система: O! деньги [00:35:35]line ФМ: 0000000000874742 [00:35:35]line ФД: 70444 [00:35:35]line ФПД: 167392249630336 [00:35:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240411T003543&type=1&operation_type=1&fn_number=0000000000874742&fd_number=70444&fm=167392249630336&tin=02508201610067®Number=0000000000090617&sum=500015 [00:35:36]OFD Sender: Processing packet 70444 [packets to send 7, broken 6] [00:35:36]ProducePacketName [00:35:36]name=ofd_packets/00070444 [00:35:36]OFD Sender: To server: pG, [00:35:36]CommunicateWithHost lk.salyk.kg:30040 [00:35:36]ConnectInit lk.salyk.kg [00:35:36]written 0, free lines is 4095 [00:35:36]Connected sock=10 [00:35: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 34 32 10 01 00 00 40 4E 08 01 76 FF 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 08 10 01 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2F A1 07 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2F A1 07 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 49 11 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6B CF 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2F A1 07 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 5F 30 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2C 13 01 00 35 04 06 00 98 3E 0B 93 CE 80 56 1B D2 55 80 1D 9D 7F [00:35: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 34 32 4F 00 00 00 56 DB 47 00 56 3F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2C 13 01 00 F4 03 04 00 57 DC 16 66 B6 04 01 00 00 EF 22 FE 64 C3 47 95 CD [00:35:36]CommunicateWithHost err = 0 [00:35:36]CheckOFDResponse [00:35:36]1017 (14) - 77093643461234 [00:35:36]1041 (16) - 0000000000874742 [00:35:36]1040 (4) - 70444 [00:35:36]1012 (4) - 10.04.2024 18:37 [00:35:36]1206 (1) - 0 [00:35:36]OFD Sender: Remove packet 70444 [00:35:36]ProducePacketName [00:35:36]name=ofd_packets/00070444 [00:35:36]NVStorageDeleteData [00:35:36]Write to MH i2c: 01 00 00 DD 35 12 [00:35:36]Write i2c OK [00:35:36]MH_I2C_Read... [00:35:36]Read from MH i2c: 01 [00:35:36]MH_I2C_Read... [00:35:36]Read from MH i2c: 01 07 00 [00:35:36]MH_I2C_Read... [00:35:36]Read from MH i2c: 01 07 00 DD 35 00 00 00 00 00 FF 0C 24 [00:35:36]RasterBufferAndPrint [00:35:36]line [00:35:36]line [00:35:36]line [00:35:36]line [00:35:36]line [00:35:36]written 0, free lines is 3336 [00:35:36]MH_Cut [00:35:36]Write to MH i2c: D1 01 00 E4 35 01 EB [00:35:36]Write i2c OK [00:35:36]MH_I2C_Read... [00:35:36]Read from MH i2c: D1 [00:35:36]MH_I2C_Read... [00:35:36]Read from MH i2c: D1 01 00 [00:35:36]MH_I2C_Read... [00:35:36]Read from MH i2c: D1 01 00 E4 35 00 EA [00:35:36]Write to MH i2c: 01 00 00 E5 35 1A [00:35:36]Write i2c OK [00:35:36]MH_I2C_Read... [00:35:36]OFD Sender: No OFD packet to send [00:35:37]*** Cut start [00:35:37]*** Partial cut [00:35:37]*** CUTSNS_PIN = 1 [00:35:37]*** CUTSNS_PIN = 0 [00:35:37]*** Brake cut motor [00:35:37]Read from MH i2c: 01 [00:35:37]MH_I2C_Read... [00:35:37]*** Stop cut motor [00:35:37]*** Cut end [00:35:37]Read from MH i2c: 01 07 00 [00:35:37]MH_I2C_Read... [00:35:37]Read from MH i2c: 01 07 00 E5 35 00 00 00 00 00 FF 0F 2F [00:35:37]process_action close_receipt done [00:35:37]requested_data is exist [00:35:37]produce_requested_data [00:35:37]requested_item fm.sn is exist - process it [00:35:37]wFMCommunicate request_size=4 [00:35:37]MH_SAM_APDU [00:35:37]CAPDU: 80 11 00 00 [00:35:37]Write to MH i2c: E2 08 00 E6 35 80 11 00 00 00 00 00 00 95 [00:35:37]Write i2c OK [00:35:37]MH_I2C_Read... [00:35:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:35:37]Read from MH i2c: E2 [00:35:37]MH_I2C_Read... [00:35:37]Read from MH i2c: E2 17 00 [00:35:37]MH_I2C_Read... [00:35:37]Read from MH i2c: E2 17 00 E6 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 E8 [00:35:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [00:35:37]wFMCommunicate OK [00:35:37]requested_item fd.num is exist - process it [00:35:37]SAM_PROTO_GetFieldsCounters [00:35:37]wFMCommunicate request_size=4 [00:35:37]MH_SAM_APDU [00:35:37]CAPDU: 80 13 00 00 [00:35:37]Write to MH i2c: E2 08 00 E7 35 80 13 00 00 00 00 00 00 98 [00:35:37]Write i2c OK [00:35:37]MH_I2C_Read... [00:35:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:35:38]Read from MH i2c: E2 [00:35:38]MH_I2C_Read... [00:35:38]Read from MH i2c: E2 62 00 [00:35:38]MH_I2C_Read... [00:35:38]Read from MH i2c: E2 62 00 E7 35 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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2C 13 01 00 0E 04 04 00 11 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 0C [00:35: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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2C 13 01 00 0E 04 04 00 11 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:35:38]wFMCommunicate OK [00:35:38]SAM_PROTO_GetFieldsCounters done [00:35:38]requested_item shift.num is exist - process it [00:35:38]requested_item shift.opened is exist - process it [00:35:38]req_shift_opened [00:35:38]FM_GetShiftState [00:35:38]SAM_PROTO_GetShiftState [00:35:38]wFMCommunicate request_size=4 [00:35:38]MH_SAM_APDU [00:35:38]CAPDU: 80 13 01 00 [00:35:38]Write to MH i2c: E2 08 00 E8 35 80 13 01 00 00 00 00 00 9A [00:35:38]Write i2c OK [00:35:38]MH_I2C_Read... [00:35:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:35:38]Read from MH i2c: E2 [00:35:38]MH_I2C_Read... [00:35:38]Read from MH i2c: E2 0E 00 [00:35:38]MH_I2C_Read... [00:35:38]Read from MH i2c: E2 0E 00 E8 35 00 09 00 01 42 2F 17 66 00 00 00 00 90 00 94 [00:35:38]RAPDU: 09 00 01 42 2F 17 66 00 00 00 00 90 00 [00:35:38]wFMCommunicate OK [00:35:38]SAM_PROTO_GetShiftState done [00:35:38]FM_GetShiftState done [00:35:38]req_shift_opened done [00:35:38]requested_item shift.open_date is exist - process it [00:35:38]req_shift_open_date [00:35:38]req_shift_open_date done [00:35:38]produce_requested_data done [00:35:38]produce_requested_data return {"fm.sn":"0000000000874742","fd.num":70444,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458} [00:35:38]process_action_free close_receipt [00:35:38]json_value_free [00:35:38]json_value_free done [00:35:38]process_json_proto returns [00:35:38]Send response to host [00:35:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874742","fd.num":70444,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458}}} [00:35:38]free response buf [00:35:38]execute_script done [00:35:38]execute_script returns [00:35:38]free content buf [00:35:38]Sock 7.Close socket [00:35:38]Sock 7.Thread stoped [00:35:41]OFD Sender: No OFD packet to send [00:35:46]OFD Sender: No OFD packet to send [00:35:51]OFD Sender: No OFD packet to send [00:35:56]OFD Sender: No OFD packet to send [00:36:01]OFD Sender: No OFD packet to send [00:36:06]OFD Sender: No OFD packet to send [00:36:11]OFD Sender: No OFD packet to send [00:36:16]OFD Sender: No OFD packet to send [00:36:21]OFD Sender: No OFD packet to send [00:36:26]OFD Sender: No OFD packet to send [00:36:31]OFD Sender: No OFD packet to send [00:36:36]OFD Sender: No OFD packet to send [00:36:41]OFD Sender: No OFD packet to send [00:36:46]OFD Sender: No OFD packet to send [00:36:51]OFD Sender: No OFD packet to send [00:36:56]OFD Sender: No OFD packet to send [00:37:01]OFD Sender: No OFD packet to send [00:37:06]OFD Sender: No OFD packet to send [00:37:12]OFD Sender: No OFD packet to send [00:37:17]OFD Sender: No OFD packet to send [00:37:22]OFD Sender: No OFD packet to send [00:37:27]OFD Sender: No OFD packet to send [00:37:32]OFD Sender: No OFD packet to send [00:37:37]OFD Sender: No OFD packet to send [00:37:42]OFD Sender: No OFD packet to send [00:37:47]OFD Sender: No OFD packet to send [00:37:52]OFD Sender: No OFD packet to send [00:37:57]OFD Sender: No OFD packet to send [00:38:02]OFD Sender: No OFD packet to send [00:38:07]OFD Sender: No OFD packet to send [00:38:12]OFD Sender: No OFD packet to send [00:38:17]OFD Sender: No OFD packet to send [00:38:22]OFD Sender: No OFD packet to send [00:38:27]OFD Sender: No OFD packet to send [00:38:32]OFD Sender: No OFD packet to send [00:38:37]OFD Sender: No OFD packet to send [00:38:42]OFD Sender: No OFD packet to send [00:38:47]OFD Sender: No OFD packet to send [00:38:52]OFD Sender: No OFD packet to send [00:38:57]OFD Sender: No OFD packet to send [00:39:02]OFD Sender: No OFD packet to send [00:39:07]OFD Sender: No OFD packet to send [00:39:12]OFD Sender: No OFD packet to send [00:39:15]accept exits with 9 [00:39:15]New connection [00:39:15]New thread 3066879332 created [00:39:15]Thread 3066735972 joined [00:39:15]Waiting for new connection... [00:39:15] Sock 9.Parse request [00:39:15]Sock 9.Check first char [00:39:15]Sock 9.First char is OK [00:39:15]request: POST /json_proto HTTP/1.0 [00:39:15]Method: POST [00:39:15]URL: /json_proto [00:39:15]Method is POST - this is cgi request [00:39:15]url: /json_proto [00:39:15]query_string will be loaded in cgi processing [00:39:15]execute_cgi json_proto POST (null) [00:39:15]execute_cgi path=json_proto method=POST [00:39:15]POST find Content-Length [00:39:15]Host: 172.17.34.200:8080 [00:39:15]Content-Length: 678 [00:39:15]Content-Type: application/json [00:39:15] [00:39:15]POST finish read [00:39:15]Found Content-Length = 678 [00:39:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1259813", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 62", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 8.210, "sum" : 520.51, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 520.00, "total" : 520.00, "payments": [ { "type": 0, "sum" : 520.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:39:15]execute_script... [00:39:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1259813", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 62", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 8.210, "sum" : 520.51, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 520.00, "total" : 520.00, "payments": [ { "type": 0, "sum" : 520.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:39:15]POST & json_proto [00:39:15]process_json_proto [00:39:15]json parsed OK: [00:39:15]protocol is kg_v1.0 [00:39:15]action value=close_receipt [00:39:15]process_action close_receipt [00:39:15]cmd_close_receipt [00:39:15]MH_GetDate [00:39:15]Write to MH i2c: F0 00 00 E9 35 0D [00:39:15]Write i2c OK [00:39:15]MH_I2C_Read... [00:39:15]Read from MH i2c: F0 [00:39:15]MH_I2C_Read... [00:39:15]Read from MH i2c: F0 09 00 [00:39:15]MH_I2C_Read... [00:39:15]Read from MH i2c: F0 09 00 E9 35 00 3C 31 17 66 B3 F3 14 66 20 [00:39:15]GetLastDocTimeStamp 1712795743 [00:39:15]current date 1712795964 [00:39:15]FM_GetShiftState [00:39:15]SAM_PROTO_GetShiftState [00:39:15]wFMCommunicate request_size=4 [00:39:15]MH_SAM_APDU [00:39:15]CAPDU: 80 13 01 00 [00:39:15]Write to MH i2c: E2 08 00 EA 35 80 13 01 00 00 00 00 00 9C [00:39:15]Write i2c OK [00:39:15]MH_I2C_Read... [00:39:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:39:15]Read from MH i2c: E2 [00:39:15]MH_I2C_Read... [00:39:15]Read from MH i2c: E2 0E 00 [00:39:15]MH_I2C_Read... [00:39:15]Read from MH i2c: E2 0E 00 EA 35 00 09 00 01 42 2F 17 66 00 00 00 00 90 00 96 [00:39:15]RAPDU: 09 00 01 42 2F 17 66 00 00 00 00 90 00 [00:39:15]wFMCommunicate OK [00:39:15]SAM_PROTO_GetShiftState done [00:39:15]FM_GetShiftState done [00:39:15]opened in 1712795458 [00:39:15]opened+sec_in_day 1712881858 [00:39:15]quantity*price = 52051 [00:39:15]sum+1 = 52052 [00:39:15]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.51 ИТОГО: 520.00 Внесено: 520.00 СДАЧА: 0.00 НСП 1% : 4.61 НДС 12% : 55.27 Наличными: 520.00 Безнал.: 0.00 Место: АЗС № 121 "Партнер Нефть" Адрес: 720001, с. Ивановка, ул. Г. Ильина 1 А/1, 42.881777, 75.107954 СНО: Общий режим Чек 2 11.04.2024 00:39 Смена: 273 ФФД: 1.0 ЗНМ: 0300000024 РНМ: 0000000000090617 Версия ККМ: 001 ФМ: 0000000000874742 ФД: 70445 ФПД: 259309801157787 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240411T003925&type=1&operation_type=1&fn_number=0000000000874742&fd_number=70445&fm=259309801157787&tin=02508201610067®Number=0000000000090617&sum=52000 [00:39:17]StoreToDocumentArchive [00:39:17]shift 273 fd 70445 [00:39:17]save to /storage/0273/doc_00070445 [00:39:17]save last doc name /storage/0273/doc_00070445 to /storage/kkm_last_doc_name [00:39:17]save OK [00:39:17]Clear old archive folders... [00:39:17]ProcessDocumentItem done err = 0, tmpTLVsize=251 [00:39:17]tlvbuf is 021D7DE0 [00:39:17]SAM_PROTO_ClearQueue [00:39:17]wFMCommunicate request_size=4 [00:39:17]MH_SAM_APDU [00:39:17]CAPDU: 80 09 00 00 [00:39:17]Write to MH i2c: E2 08 00 F7 35 80 09 00 00 00 00 00 00 9E [00:39:17]Write i2c OK [00:39:17]MH_I2C_Read... [00:39:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:39:17]Read from MH i2c: E2 [00:39:17]MH_I2C_Read... [00:39:17]Read from MH i2c: E2 03 00 [00:39:17]MH_I2C_Read... [00:39:17]Read from MH i2c: E2 03 00 F7 35 00 90 00 A0 [00:39:17]RAPDU: 90 00 [00:39:17]wFMCommunicate OK [00:39:17]SAM_PROTO_ClearQueue done [00:39:17]KKMCreateOFDPacket [00:39:17]OFDProtocolAddRootSTLVToBuf [00:39:17]FM_MakeSignedData [00:39:17]FM_MakeSignedData [00:39:17]SAM_PROTO_SignData [00:39:17]wFMCommunicate request_size=4 [00:39:17]MH_SAM_APDU [00:39:17]CAPDU: 80 0D 01 02 [00:39:17]Write to MH i2c: E2 08 00 F8 35 80 0D 01 02 00 00 00 00 A6 [00:39:17]Write i2c OK [00:39:17]MH_I2C_Read... [00:39:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:39:17]Read from MH i2c: E2 [00:39:17]MH_I2C_Read... [00:39:17]Read from MH i2c: E2 03 00 [00:39:17]MH_I2C_Read... [00:39:17]Read from MH i2c: E2 03 00 F8 35 00 90 00 A1 [00:39:17]RAPDU: 90 00 [00:39:17]wFMCommunicate OK [00:39:17]wFMCommunicate request_size=255 [00:39:17]MH_SAM_APDU [00:39:17]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 12 20 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 53 CB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 CB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 97 15 00 00 00 00 07 04 06 00 20 CB 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 3D 31 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2D 13 01 00 35 04 06 00 EB [00:39:17]Write to MH i2c: E2 02 01 F9 35 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 12 20 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 53 CB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 CB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 97 15 00 00 00 00 07 04 06 00 20 CB 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 3D 31 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2D 13 01 00 35 04 06 00 EB 00 00 55 [00:39:17]OFD Sender: No OFD packet to send [00:39:17]Write i2c OK [00:39:17]MH_I2C_Read... [00:39:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:39:17]Read from MH i2c: E2 [00:39:17]MH_I2C_Read... [00:39:17]Read from MH i2c: E2 03 00 [00:39:17]MH_I2C_Read... [00:39:17]Read from MH i2c: E2 03 00 F9 35 00 90 00 A2 [00:39:17]RAPDU: 90 00 [00:39:17]wFMCommunicate OK [00:39:17]wFMCommunicate request_size=10 [00:39:17]MH_SAM_APDU [00:39:17]CAPDU: 80 0D 02 02 05 D7 44 95 B4 9B [00:39:17]Write to MH i2c: E2 0D 00 FA 35 80 0D 02 02 05 00 D7 44 95 B4 9B 00 00 B2 [00:39:17]Write i2c OK [00:39:17]MH_I2C_Read... [00:39:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:39:17]Read from MH i2c: E2 [00:39:17]MH_I2C_Read... [00:39:17]Read from MH i2c: E2 03 00 [00:39:17]MH_I2C_Read... [00:39:17]Read from MH i2c: E2 03 00 FA 35 00 90 00 A3 [00:39:17]RAPDU: 90 00 [00:39:17]wFMCommunicate OK [00:39:17]wFMCommunicate request_size=4 [00:39:17]MH_SAM_APDU [00:39:17]CAPDU: 80 0D 03 02 [00:39:17]Write to MH i2c: E2 08 00 FB 35 80 0D 03 02 00 00 00 00 AB [00:39:17]Write i2c OK [00:39:17]MH_I2C_Read... [00:39:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:39:17]Read from MH i2c: E2 [00:39:17]MH_I2C_Read... [00:39:17]Read from MH i2c: E2 0B 00 [00:39:17]MH_I2C_Read... [00:39:17]Read from MH i2c: E2 0B 00 FB 35 00 F5 73 47 5F 32 F4 3D 6E 90 00 8B [00:39:17]RAPDU: F5 73 47 5F 32 F4 3D 6E 90 00 [00:39:17]wFMCommunicate OK [00:39:17]SAM_PROTO_SignData done [00:39:17]FM_MakeSignedData done [00:39:17]CreateOFDProtocolMessage [00:39:17]wFMCommunicate request_size=4 [00:39:17]MH_SAM_APDU [00:39:17]CAPDU: 80 11 00 00 [00:39:17]Write to MH i2c: E2 08 00 FC 35 80 11 00 00 00 00 00 00 AB [00:39:17]Write i2c OK [00:39:17]MH_I2C_Read... [00:39:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:39:17]Read from MH i2c: E2 [00:39:17]MH_I2C_Read... [00:39:17]Read from MH i2c: E2 17 00 [00:39:17]MH_I2C_Read... [00:39:17]Read from MH i2c: E2 17 00 FC 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 FE [00:39:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [00:39:17]wFMCommunicate OK [00:39:17]CreateOFDProtocolMessage done [00:39:17]OFDSenderStorePacket 70445 [00:39:17]StoreOFDPacket docnum=70445 [00:39:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 0F 01 00 00 05 E4 07 01 01 D7 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 12 20 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 53 CB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 CB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 97 15 00 00 00 00 07 04 06 00 20 CB 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 3D 31 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2D 13 01 00 35 04 06 00 EB D7 44 95 B4 9B F5 73 47 5F 32 F4 3D 6E [00:39:17]CheckFolder [00:39:17]dirname=/storage/ofd_packets [00:39:17]CheckFolder done [00:39:17]ProducePacketName [00:39:17]name=ofd_packets/00070445 [00:39:17]NVStorageSaveData ofd_packets/00070445 [00:39:17]File name is /storage/ofd_packets/00070445 [00:39:17]Write 301 bytes [00:39:17]NVStorageSaveData done [00:39:17]OFDSenderStorePacket done [00:39:17]KKMCreateOFDPacket done [00:39:17]NVStorageSaveData kkm_last_timestamp [00:39:17]File name is /storage/kkm_last_timestamp [00:39:17]Write 4 bytes [00:39:17]NVStorageSaveData done [00:39:17]ExternCall_PrintAddStr [00:39:17]wPrintStart [00:39:17]Write to MH i2c: 01 00 00 FD 35 32 [00:39:17]OFD Sender: Processing packet 70445 [packets to send 7, broken 6] [00:39:17]ProducePacketName [00:39:17]name=ofd_packets/00070445 [00:39:17]OFD Sender: To server: pG, [00:39:17]CommunicateWithHost lk.salyk.kg:30040 [00:39:17]ConnectInit lk.salyk.kg [00:39:17]Write i2c OK [00:39:17]MH_I2C_Read... [00:39:17]Read from MH i2c: 01 [00:39:17]MH_I2C_Read... [00:39:17]Read from MH i2c: 01 07 00 [00:39:17]MH_I2C_Read... [00:39:17]Read from MH i2c: 01 07 00 FD 35 00 00 00 00 00 FF 0F 47 [00:39:17]RasterBufferAndPrint [00:39:17]line Счет N : (1)1259813 [00:39:17]line ИНН: 02508201610067 [00:39:17]line Контрольно-Кассовый Чек [00:39:17]line ПРОДАЖА [00:39:17]line ТРК (МРК, ГНК) : 62 [00:39:17]line Товар: 2710124130 [00:39:17]line Аи-92-К-5 [00:39:17]line 8.210 * 63.40 [00:39:17]line = 520.51 [00:39:17]line НДС 12% НСП 1% [00:39:17]line > о реализуемом товаре [00:39:17]line ОКРУГЛЕНИЕ: -0.51 [00:39:17]line ИТОГО: 520.00 [00:39:17]line Внесено: 520.00 [00:39:17]line СДАЧА: 0.00 [00:39:17]line НСП 1% : 4.61 [00:39:17]line НДС 12% : 55.27 [00:39:17]line Наличными: 520.00 [00:39:17]line Безнал.: 0.00 [00:39:17]line Место: АЗС № 121 "Партнер Нефть" [00:39:17]line Адрес: 720001, с. Ивановка, ул. Г. Ильина 1 А/1, 42.881777, 75.107954 [00:39:17]line СНО: Общий режим [00:39:17]line Чек 2 11.04.2024 00:39 [00:39:17]line Смена: 273 ФФД: 1.0 [00:39:17]line ЗНМ: 0300000024 [00:39:17]line РНМ: 0000000000090617 [00:39:17]line Версия ККМ: 001 [00:39:17]line ФМ: 0000000000874742 [00:39:17]line ФД: 70445 [00:39:17]line ФПД: 259309801157787 [00:39:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240411T003925&type=1&operation_type=1&fn_number=0000000000874742&fd_number=70445&fm=259309801157787&tin=02508201610067®Number=0000000000090617&sum=52000 [00:39:17]Connected sock=10 [00:39:17]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 34 32 0F 01 00 00 05 E4 07 01 01 D7 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 12 20 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 53 CB 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 CB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 97 15 00 00 00 00 07 04 06 00 20 CB 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 3D 31 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2D 13 01 00 written 0, free lines is 4095 [00:39:17]35 04 06 00 EB D7 44 95 B4 9B F5 73 47 5F 32 F4 3D 6E [00:39:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 4F 00 00 00 C0 78 47 00 1A 01 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2D 13 01 00 F4 03 04 00 34 DD 16 66 B6 04 01 00 00 97 BC 25 AB E4 14 30 EE [00:39:18]CommunicateWithHost err = 0 [00:39:18]CheckOFDResponse [00:39:18]1017 (14) - 77093643461234 [00:39:18]1041 (16) - 0000000000874742 [00:39:18]1040 (4) - 70445 [00:39:18]1012 (4) - 10.04.2024 18:40 [00:39:18]1206 (1) - 0 [00:39:18]OFD Sender: Remove packet 70445 [00:39:18]ProducePacketName [00:39:18]name=ofd_packets/00070445 [00:39:18]NVStorageDeleteData [00:39:18]Write to MH i2c: 01 00 00 28 36 5E [00:39:18]Write i2c OK [00:39:18]MH_I2C_Read... [00:39:18]Read from MH i2c: 01 [00:39:18]MH_I2C_Read... [00:39:18]Read from MH i2c: 01 07 00 [00:39:18]MH_I2C_Read... [00:39:18]Read from MH i2c: 01 07 00 28 36 00 00 00 00 00 E4 0C 55 [00:39:18]RasterBufferAndPrint [00:39:18]line [00:39:18]line [00:39:18]line [00:39:18]line [00:39:18]line [00:39:18]written 0, free lines is 3306 [00:39:18]MH_Cut [00:39:18]Write to MH i2c: D1 01 00 2F 36 01 37 [00:39:18]Write i2c OK [00:39:18]MH_I2C_Read... [00:39:18]Read from MH i2c: D1 [00:39:18]MH_I2C_Read... [00:39:18]Read from MH i2c: D1 01 00 [00:39:18]MH_I2C_Read... [00:39:18]Read from MH i2c: D1 01 00 2F 36 00 36 [00:39:18]Write to MH i2c: 01 00 00 30 36 66 [00:39:18]Write i2c OK [00:39:18]MH_I2C_Read... [00:39:18]OFD Sender: No OFD packet to send [00:39:19]*** Cut start [00:39:19]*** Partial cut [00:39:19]*** CUTSNS_PIN = 1 [00:39:19]*** CUTSNS_PIN = 0 [00:39:19]*** Brake cut motor [00:39:19]Read from MH i2c: 01 [00:39:19]MH_I2C_Read... [00:39:19]*** Stop cut motor [00:39:19]*** Cut end [00:39:19]Read from MH i2c: 01 07 00 [00:39:19]MH_I2C_Read... [00:39:19]Read from MH i2c: 01 07 00 30 36 00 00 00 00 00 FF 0F 7B [00:39:19]process_action close_receipt done [00:39:19]requested_data is exist [00:39:19]produce_requested_data [00:39:19]requested_item fm.sn is exist - process it [00:39:19]wFMCommunicate request_size=4 [00:39:19]MH_SAM_APDU [00:39:19]CAPDU: 80 11 00 00 [00:39:19]Write to MH i2c: E2 08 00 31 36 80 11 00 00 00 00 00 00 E1 [00:39:19]Write i2c OK [00:39:19]MH_I2C_Read... [00:39:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:39:19]Read from MH i2c: E2 [00:39:19]MH_I2C_Read... [00:39:19]Read from MH i2c: E2 17 00 [00:39:19]MH_I2C_Read... [00:39:19]Read from MH i2c: E2 17 00 31 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 34 [00:39:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [00:39:19]wFMCommunicate OK [00:39:19]requested_item fd.num is exist - process it [00:39:19]SAM_PROTO_GetFieldsCounters [00:39:19]wFMCommunicate request_size=4 [00:39:19]MH_SAM_APDU [00:39:19]CAPDU: 80 13 00 00 [00:39:19]Write to MH i2c: E2 08 00 32 36 80 13 00 00 00 00 00 00 E4 [00:39:19]Write i2c OK [00:39:19]MH_I2C_Read... [00:39:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:39:19]Read from MH i2c: E2 [00:39:19]MH_I2C_Read... [00:39:19]Read from MH i2c: E2 62 00 [00:39:19]MH_I2C_Read... [00:39:19]Read from MH i2c: E2 62 00 32 36 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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2D 13 01 00 0E 04 04 00 11 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 5C [00:39: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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2D 13 01 00 0E 04 04 00 11 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 [00:39:19]wFMCommunicate OK [00:39:19]SAM_PROTO_GetFieldsCounters done [00:39:19]requested_item shift.num is exist - process it [00:39:19]requested_item shift.opened is exist - process it [00:39:19]req_shift_opened [00:39:19]FM_GetShiftState [00:39:19]SAM_PROTO_GetShiftState [00:39:19]wFMCommunicate request_size=4 [00:39:19]MH_SAM_APDU [00:39:19]CAPDU: 80 13 01 00 [00:39:19]Write to MH i2c: E2 08 00 33 36 80 13 01 00 00 00 00 00 E6 [00:39:19]Write i2c OK [00:39:19]MH_I2C_Read... [00:39:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:39:19]Read from MH i2c: E2 [00:39:19]MH_I2C_Read... [00:39:19]Read from MH i2c: E2 0E 00 [00:39:19]MH_I2C_Read... [00:39:19]Read from MH i2c: E2 0E 00 33 36 00 09 00 01 42 2F 17 66 00 00 00 00 90 00 E0 [00:39:19]RAPDU: 09 00 01 42 2F 17 66 00 00 00 00 90 00 [00:39:19]wFMCommunicate OK [00:39:19]SAM_PROTO_GetShiftState done [00:39:19]FM_GetShiftState done [00:39:19]req_shift_opened done [00:39:19]requested_item shift.open_date is exist - process it [00:39:19]req_shift_open_date [00:39:19]req_shift_open_date done [00:39:19]produce_requested_data done [00:39:19]produce_requested_data return {"fm.sn":"0000000000874742","fd.num":70445,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458} [00:39:19]process_action_free close_receipt [00:39:19]json_value_free [00:39:19]json_value_free done [00:39:19]process_json_proto returns [00:39:19]Send response to host [00:39:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874742","fd.num":70445,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458}}} [00:39:19]free response buf [00:39:19]execute_script done [00:39:19]execute_script returns [00:39:19]free content buf [00:39:19]Sock 9.Close socket [00:39:19]Sock 9.Thread stoped [00:39:23]OFD Sender: No OFD packet to send [00:39:28]OFD Sender: No OFD packet to send [00:39:33]OFD Sender: No OFD packet to send [00:39:38]OFD Sender: No OFD packet to send [00:39:43]OFD Sender: No OFD packet to send [00:39:48]OFD Sender: No OFD packet to send [00:39:53]OFD Sender: No OFD packet to send [00:39:58]OFD Sender: No OFD packet to send [00:40:03]OFD Sender: No OFD packet to send [00:40:08]OFD Sender: No OFD packet to send [00:40:13]OFD Sender: No OFD packet to send [00:40:18]OFD Sender: No OFD packet to send [00:40:23]OFD Sender: No OFD packet to send [00:40:28]OFD Sender: No OFD packet to send [00:40:33]OFD Sender: No OFD packet to send [00:40:38]OFD Sender: No OFD packet to send [00:40:43]OFD Sender: No OFD packet to send [00:40:48]OFD Sender: No OFD packet to send [00:40:53]OFD Sender: No OFD packet to send [00:40:58]OFD Sender: No OFD packet to send [00:41:03]OFD Sender: No OFD packet to send [00:41:08]OFD Sender: No OFD packet to send [00:41:13]OFD Sender: No OFD packet to send [00:41:18]OFD Sender: No OFD packet to send [00:41:23]OFD Sender: No OFD packet to send [00:41:28]OFD Sender: No OFD packet to send [00:41:33]OFD Sender: No OFD packet to send [00:41:38]OFD Sender: No OFD packet to send [00:41:43]OFD Sender: No OFD packet to send [00:41:48]OFD Sender: No OFD packet to send [00:41:53]OFD Sender: No OFD packet to send [00:41:58]OFD Sender: No OFD packet to send [00:42:03]OFD Sender: No OFD packet to send [00:42:08]OFD Sender: No OFD packet to send [00:42:13]OFD Sender: No OFD packet to send [00:42:18]OFD Sender: No OFD packet to send [00:42:23]OFD Sender: No OFD packet to send [00:42:28]OFD Sender: No OFD packet to send [00:42:33]OFD Sender: No OFD packet to send [00:42:38]OFD Sender: No OFD packet to send [00:42:43]OFD Sender: No OFD packet to send [00:42:48]OFD Sender: No OFD packet to send [00:42:53]OFD Sender: No OFD packet to send [00:42:58]OFD Sender: No OFD packet to send [00:43:03]OFD Sender: No OFD packet to send [00:43:08]OFD Sender: No OFD packet to send [00:43:13]OFD Sender: No OFD packet to send [00:43:18]OFD Sender: No OFD packet to send [00:43:23]OFD Sender: No OFD packet to send [00:43:28]OFD Sender: No OFD packet to send [00:43:33]OFD Sender: No OFD packet to send [00:43:38]OFD Sender: No OFD packet to send [00:43:43]OFD Sender: No OFD packet to send [00:43:48]OFD Sender: No OFD packet to send [00:43:53]OFD Sender: No OFD packet to send [00:43:58]OFD Sender: No OFD packet to send [00:44:03]OFD Sender: No OFD packet to send [00:44:08]OFD Sender: No OFD packet to send [00:44:13]OFD Sender: No OFD packet to send [00:44:18]OFD Sender: No OFD packet to send [00:44:23]OFD Sender: No OFD packet to send [00:44:28]OFD Sender: No OFD packet to send [00:44:33]OFD Sender: No OFD packet to send [00:44:38]OFD Sender: No OFD packet to send [00:44:43]OFD Sender: No OFD packet to send [00:44:48]OFD Sender: No OFD packet to send [00:44:53]OFD Sender: No OFD packet to send [00:44:58]OFD Sender: No OFD packet to send [00:45:03]OFD Sender: No OFD packet to send [00:45:08]OFD Sender: No OFD packet to send [00:45:13]OFD Sender: No OFD packet to send [00:45:18]OFD Sender: No OFD packet to send [00:45:23]OFD Sender: No OFD packet to send [00:45:28]OFD Sender: No OFD packet to send [00:45:33]OFD Sender: No OFD packet to send [00:45:38]OFD Sender: No OFD packet to send [00:45:43]OFD Sender: No OFD packet to send [00:45:48]OFD Sender: No OFD packet to send [00:45:53]OFD Sender: No OFD packet to send [00:45:58]OFD Sender: No OFD packet to send [00:46:03]OFD Sender: No OFD packet to send [00:46:08]OFD Sender: No OFD packet to send [00:46:13]OFD Sender: No OFD packet to send [00:46:18]OFD Sender: No OFD packet to send [00:46:23]OFD Sender: No OFD packet to send [00:46:28]OFD Sender: No OFD packet to send [00:46:33]OFD Sender: No OFD packet to send [00:46:38]OFD Sender: No OFD packet to send [00:46:43]OFD Sender: No OFD packet to send [00:46:48]OFD Sender: No OFD packet to send [00:46:53]OFD Sender: No OFD packet to send [00:46:58]OFD Sender: No OFD packet to send [00:47:03]OFD Sender: No OFD packet to send [00:47:08]OFD Sender: No OFD packet to send [00:47:13]OFD Sender: No OFD packet to send [00:47:18]OFD Sender: No OFD packet to send [00:47:23]OFD Sender: No OFD packet to send [00:47:28]OFD Sender: No OFD packet to send [00:47:33]OFD Sender: No OFD packet to send [00:47:38]OFD Sender: No OFD packet to send [00:47:43]OFD Sender: No OFD packet to send [00:47:48]OFD Sender: No OFD packet to send [00:47:53]OFD Sender: No OFD packet to send [00:47:58]OFD Sender: No OFD packet to send [00:48:03]OFD Sender: No OFD packet to send [00:48:08]OFD Sender: No OFD packet to send [00:48:13]OFD Sender: No OFD packet to send [00:48:19]OFD Sender: No OFD packet to send [00:48:24]OFD Sender: No OFD packet to send [00:48:29]OFD Sender: No OFD packet to send [00:48:34]OFD Sender: No OFD packet to send [00:48:39]OFD Sender: No OFD packet to send [00:48:44]OFD Sender: No OFD packet to send [00:48:49]OFD Sender: No OFD packet to send [00:48:54]OFD Sender: No OFD packet to send [00:48:59]OFD Sender: No OFD packet to send [00:49:04]OFD Sender: No OFD packet to send [00:49:09]OFD Sender: No OFD packet to send [00:49:14]OFD Sender: No OFD packet to send [00:49:19]OFD Sender: No OFD packet to send [00:49:24]OFD Sender: No OFD packet to send [00:49:29]OFD Sender: No OFD packet to send [00:49:34]OFD Sender: No OFD packet to send [00:49:39]OFD Sender: No OFD packet to send [00:49:44]OFD Sender: No OFD packet to send [00:49:49]OFD Sender: No OFD packet to send [00:49:54]OFD Sender: No OFD packet to send [00:49:59]OFD Sender: No OFD packet to send [00:50:04]OFD Sender: No OFD packet to send [00:50:09]OFD Sender: No OFD packet to send [00:50:14]OFD Sender: No OFD packet to send [00:50:19]OFD Sender: No OFD packet to send [00:50:24]OFD Sender: No OFD packet to send [00:50:29]OFD Sender: No OFD packet to send [00:50:34]OFD Sender: No OFD packet to send [00:50:39]OFD Sender: No OFD packet to send [00:50:44]OFD Sender: No OFD packet to send [00:50:49]OFD Sender: No OFD packet to send [00:50:54]OFD Sender: No OFD packet to send [00:50:59]OFD Sender: No OFD packet to send [00:51:04]OFD Sender: No OFD packet to send [00:51:09]OFD Sender: No OFD packet to send [00:51:14]OFD Sender: No OFD packet to send [00:51:19]OFD Sender: No OFD packet to send [00:51:24]OFD Sender: No OFD packet to send [00:51:29]OFD Sender: No OFD packet to send [00:51:34]OFD Sender: No OFD packet to send [00:51:39]OFD Sender: No OFD packet to send [00:51:44]OFD Sender: No OFD packet to send [00:51:49]OFD Sender: No OFD packet to send [00:51:54]OFD Sender: No OFD packet to send [00:51:59]OFD Sender: No OFD packet to send [00:52:04]OFD Sender: No OFD packet to send [00:52:09]OFD Sender: No OFD packet to send [00:52:14]OFD Sender: No OFD packet to send [00:52:19]OFD Sender: No OFD packet to send [00:52:24]OFD Sender: No OFD packet to send [00:52:29]OFD Sender: No OFD packet to send [00:52:34]OFD Sender: No OFD packet to send [00:52:39]OFD Sender: No OFD packet to send [00:52:44]OFD Sender: No OFD packet to send [00:52:49]OFD Sender: No OFD packet to send [00:52:54]OFD Sender: No OFD packet to send [00:52:59]OFD Sender: No OFD packet to send [00:53:04]OFD Sender: No OFD packet to send [00:53:09]OFD Sender: No OFD packet to send [00:53:14]OFD Sender: No OFD packet to send [00:53:19]OFD Sender: No OFD packet to send [00:53:24]OFD Sender: No OFD packet to send [00:53:29]OFD Sender: No OFD packet to send [00:53:34]OFD Sender: No OFD packet to send [00:53:39]OFD Sender: No OFD packet to send [00:53:44]OFD Sender: No OFD packet to send [00:53:49]OFD Sender: No OFD packet to send [00:53:53]accept exits with 7 [00:53:53]New connection [00:53:53]New thread 3066735972 created [00:53:53]Thread 3066879332 joined [00:53:53]Waiting for new connection... [00:53:53] Sock 7.Parse request [00:53:53]Sock 7.Check first char [00:53:53]Sock 7.First char is OK [00:53:53]request: POST /json_proto HTTP/1.0 [00:53:53]Method: POST [00:53:53]URL: /json_proto [00:53:53]Method is POST - this is cgi request [00:53:53]url: /json_proto [00:53:53]query_string will be loaded in cgi processing [00:53:53]execute_cgi json_proto POST (null) [00:53:53]execute_cgi path=json_proto method=POST [00:53:53]POST find Content-Length [00:53:53]Host: 172.17.34.200:8080 [00:53:53]Content-Length: 215 [00:53:53]Content-Type: application/json [00:53:53] [00:53:53]POST finish read [00:53:53]Found Content-Length = 215 [00:53:53]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:53:53]execute_script... [00:53:53]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:53:53]POST & json_proto [00:53:53]process_json_proto [00:53:53]json parsed OK: [00:53:53]protocol is kg_v1.0 [00:53:53]action value=get_value [00:53:53]process_action get_value [00:53:53]cmd_get_value [00:53:53]process_action get_value done [00:53:53]requested_data is exist [00:53:53]produce_requested_data [00:53:53]requested_item kkm.sn is exist - process it [00:53:53]requested_item kkm.ver is exist - process it [00:53:53]requested_item fm.sn is exist - process it [00:53:53]wFMCommunicate request_size=4 [00:53:53]MH_SAM_APDU [00:53:53]CAPDU: 80 11 00 00 [00:53:53]Write to MH i2c: E2 08 00 34 36 80 11 00 00 00 00 00 00 E4 [00:53:53]Write i2c OK [00:53:53]MH_I2C_Read... [00:53:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:53:53]Read from MH i2c: E2 [00:53:53]MH_I2C_Read... [00:53:53]Read from MH i2c: E2 17 00 [00:53:53]MH_I2C_Read... [00:53:53]Read from MH i2c: E2 17 00 34 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 37 [00:53:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [00:53:53]wFMCommunicate OK [00:53:53]requested_item fd.num is exist - process it [00:53:53]SAM_PROTO_GetFieldsCounters [00:53:53]wFMCommunicate request_size=4 [00:53:53]MH_SAM_APDU [00:53:53]CAPDU: 80 13 00 00 [00:53:53]Write to MH i2c: E2 08 00 35 36 80 13 00 00 00 00 00 00 E7 [00:53:53]Write i2c OK [00:53:53]MH_I2C_Read... [00:53:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:53:53]Read from MH i2c: E2 [00:53:53]MH_I2C_Read... [00:53:53]Read from MH i2c: E2 62 00 [00:53:53]MH_I2C_Read... [00:53:53]Read from MH i2c: E2 62 00 35 36 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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2D 13 01 00 0E 04 04 00 11 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 5F [00: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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2D 13 01 00 0E 04 04 00 11 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 [00:53:53]wFMCommunicate OK [00:53:53]SAM_PROTO_GetFieldsCounters done [00:53:53]requested_item shift.num is exist - process it [00:53:53]requested_item shift.opened is exist - process it [00:53:53]req_shift_opened [00:53:53]FM_GetShiftState [00:53:53]SAM_PROTO_GetShiftState [00:53:53]wFMCommunicate request_size=4 [00:53:53]MH_SAM_APDU [00:53:53]CAPDU: 80 13 01 00 [00:53:53]Write to MH i2c: E2 08 00 36 36 80 13 01 00 00 00 00 00 E9 [00:53:53]Write i2c OK [00:53:53]MH_I2C_Read... [00:53:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:53:53]Read from MH i2c: E2 [00:53:53]MH_I2C_Read... [00:53:53]Read from MH i2c: E2 0E 00 [00:53:53]MH_I2C_Read... [00:53:53]Read from MH i2c: E2 0E 00 36 36 00 09 00 01 42 2F 17 66 00 00 00 00 90 00 E3 [00:53:53]RAPDU: 09 00 01 42 2F 17 66 00 00 00 00 90 00 [00:53:53]wFMCommunicate OK [00:53:53]SAM_PROTO_GetShiftState done [00:53:53]FM_GetShiftState done [00:53:53]req_shift_opened done [00:53:53]requested_item shift.open_date is exist - process it [00:53:53]req_shift_open_date [00:53:53]req_shift_open_date done [00:53:53]produce_requested_data done [00:53:53]produce_requested_data return {"kkm.sn":"0300000024","kkm.ver":"001","fm.sn":"0000000000874742","fd.num":70445,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458} [00:53:53]process_action_free get_value [00:53:53]json_value_free [00:53:53]json_value_free done [00:53:53]process_json_proto returns [00:53:53]Send response to host [00:53:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000024","kkm.ver":"001","fm.sn":"0000000000874742","fd.num":70445,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458}}} [00:53:53]free response buf [00:53:53]execute_script done [00:53:53]execute_script returns [00:53:53]free content buf [00:53:53]Sock 7.Close socket [00:53:53]Sock 7.Thread stoped [00:53:53]accept exits with 9 [00:53:53]New connection [00:53:53]New thread 3066879332 created [00:53:53]Thread 3066735972 joined [00:53:53]Waiting for new connection... [00:53:53] Sock 9.Parse request [00:53:53]Sock 9.Check first char [00:53:53]Sock 9.First char is OK [00:53:53]request: POST /json_proto HTTP/1.0 [00:53:53]Method: POST [00:53:53]URL: /json_proto [00:53:53]Method is POST - this is cgi request [00:53:53]url: /json_proto [00:53:53]query_string will be loaded in cgi processing [00:53:53]execute_cgi json_proto POST (null) [00:53:53]execute_cgi path=json_proto method=POST [00:53:53]POST find Content-Length [00:53:53]Host: 172.17.34.200:8080 [00:53:53]Content-Length: 331 [00:53:53]Content-Type: application/json [00:53:53] [00:53:53]POST finish read [00:53:53]Found Content-Length = 331 [00:53:53]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:53:53]execute_script... [00:53:54]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:53:54]POST & json_proto [00:53:54]process_json_proto [00:53:54]json parsed OK: [00:53:54]protocol is kg_v1.0 [00:53:54]action value=get_value [00:53:54]process_action get_value [00:53:54]cmd_get_value [00:53:54]process_action get_value done [00:53:54]requested_data is exist [00:53:54]produce_requested_data [00:53:54]requested_item fm.sale.total is exist - process it [00:53:54]SAM_PROTO_GetFMData [00:53:54]wFMCommunicate request_size=4 [00:53:54]MH_SAM_APDU [00:53:54]CAPDU: 80 13 03 00 [00:53:54]Write to MH i2c: E2 08 00 37 36 80 13 03 00 00 00 00 00 EC [00:53:54]Write i2c OK [00:53:54]MH_I2C_Read... [00:53:54]OFD Sender: No OFD packet to send [00:53:54]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:53:54]Read from MH i2c: E2 [00:53:54]MH_I2C_Read... [00:53:54]Read from MH i2c: E2 FD 00 [00:53:54]MH_I2C_Read... [00:53:54]Read from MH i2c: E2 FD 00 37 36 00 C8 04 85 04 C4 04 6E 04 04 00 0A 11 01 00 69 04 A3 00 6F 04 04 00 6C 0D 01 00 B1 04 05 00 7A D0 45 B2 01 70 04 05 00 00 E5 7A 12 01 72 04 04 00 7A EB CA 9F 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 7F FC 1F 2E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 1B EB D7 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9F 00 6F 04 04 00 9E 03 00 00 B1 04 04 00 74 34 75 23 70 04 04 00 40 EC 6E 23 72 04 03 00 34 48 06 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 7D FD C3 03 90 00 41 [00:53:54]RAPDU: C8 04 85 04 C4 04 6E 04 04 00 0A 11 01 00 69 04 A3 00 6F 04 04 00 6C 0D 01 00 B1 04 05 00 7A D0 45 B2 01 70 04 05 00 00 E5 7A 12 01 72 04 04 00 7A EB CA 9F 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 7F FC 1F 2E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 1B EB D7 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9F 00 6F 04 04 00 9E 03 00 00 B1 04 04 00 74 34 75 23 70 04 04 00 40 EC 6E 23 72 04 03 00 34 48 06 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 7D FD C3 03 90 00 [00:53:54]wFMCommunicate OK [00:53:54]wFMCommunicate request_size=4 [00:53:54]MH_SAM_APDU [00:53:54]CAPDU: 80 17 00 00 [00:53:54]Write to MH i2c: E2 08 00 38 36 80 17 00 00 00 00 00 00 EE [00:53:54]Write i2c OK [00:53:54]MH_I2C_Read... [00:53:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:53:54]Read from MH i2c: E2 [00:53:54]MH_I2C_Read... [00:53:54]Read from MH i2c: E2 FD 00 [00:53:54]MH_I2C_Read... [00:53:54]Read from MH i2c: E2 FD 00 38 36 00 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 CD 54 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5B [00:53:54]RAPDU: 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 CD 54 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:53:54]wFMCommunicate OK [00:53:54]wFMCommunicate request_size=4 [00:53:54]MH_SAM_APDU [00:53:54]CAPDU: 80 17 00 00 [00:53:54]Write to MH i2c: E2 08 00 39 36 80 17 00 00 00 00 00 00 EF [00:53:54]Write i2c OK [00:53:54]MH_I2C_Read... [00:53:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:53:55]Read from MH i2c: E2 [00:53:55]MH_I2C_Read... [00:53:55]Read from MH i2c: E2 FD 00 [00:53:55]MH_I2C_Read... [00:53:55]Read from MH i2c: E2 FD 00 39 36 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 C7 [00:53:55]RAPDU: 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:53:55]wFMCommunicate OK [00:53:55]wFMCommunicate request_size=4 [00:53:55]MH_SAM_APDU [00:53:55]CAPDU: 80 17 00 00 [00:53:55]Write to MH i2c: E2 08 00 3A 36 80 17 00 00 00 00 00 00 F0 [00:53:55]Write i2c OK [00:53:55]MH_I2C_Read... [00:53:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:53:55]Read from MH i2c: E2 [00:53:55]MH_I2C_Read... [00:53:55]Read from MH i2c: E2 FD 00 [00:53:55]MH_I2C_Read... [00:53:55]Read from MH i2c: E2 FD 00 3A 36 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 90 00 68 [00:53:55]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 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 90 00 [00:53:55]wFMCommunicate OK [00:53:55]wFMCommunicate request_size=4 [00:53:55]MH_SAM_APDU [00:53:55]CAPDU: 80 17 00 00 [00:53:55]Write to MH i2c: E2 08 00 3B 36 80 17 00 00 00 00 00 00 F1 [00:53:55]Write i2c OK [00:53:55]MH_I2C_Read... [00:53:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 226! [00:53:55]Read from MH i2c: E2 [00:53:55]MH_I2C_Read... [00:53:55]Read from MH i2c: E2 E5 00 [00:53:55]MH_I2C_Read... [00:53:55]Read from MH i2c: E2 E5 00 3B 36 00 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D5 [00:53:55]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:53:55]wFMCommunicate OK [00:53:55]SAM_PROTO_GetFMData done [00:53:55]requested_item fm.sale_refund.total is exist - process it [00:53:55]requested_item fm.buy.total is exist - process it [00:53:55]requested_item shift.sale.total is exist - process it [00:53:55]SAM_PROTO_GetShiftData [00:53:55]wFMCommunicate request_size=4 [00:53:55]MH_SAM_APDU [00:53:55]CAPDU: 80 13 02 00 [00:53:55]Write to MH i2c: E2 08 00 3C 36 80 13 02 00 00 00 00 00 F0 [00:53:55]Write i2c OK [00:53:55]MH_I2C_Read... [00:53:56]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:53:56]Read from MH i2c: E2 [00:53:56]MH_I2C_Read... [00:53:56]Read from MH i2c: E2 FD 00 [00:53:56]MH_I2C_Read... [00:53:56]Read from MH i2c: E2 FD 00 3C 36 00 AC 04 AA 04 A8 04 6E 04 04 00 02 00 00 00 69 04 99 00 6F 04 04 00 02 00 00 00 B1 04 03 00 4F 6C 08 70 04 02 00 20 CB 72 04 03 00 2F A1 07 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 02 E5 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 16 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 43 [00:53:56]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 02 00 00 00 69 04 99 00 6F 04 04 00 02 00 00 00 B1 04 03 00 4F 6C 08 70 04 02 00 20 CB 72 04 03 00 2F A1 07 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 02 E5 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 16 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [00:53:56]wFMCommunicate OK [00:53:56]wFMCommunicate request_size=4 [00:53:56]MH_SAM_APDU [00:53:56]CAPDU: 80 17 00 00 [00:53:56]Write to MH i2c: E2 08 00 3D 36 80 17 00 00 00 00 00 00 F3 [00:53:56]Write i2c OK [00:53:56]MH_I2C_Read... [00:53:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:53:56]Read from MH i2c: E2 [00:53:56]MH_I2C_Read... [00:53:56]Read from MH i2c: E2 FD 00 [00:53:56]MH_I2C_Read... [00:53:56]Read from MH i2c: E2 FD 00 3D 36 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 08 [00:53:56]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [00:53:56]wFMCommunicate OK [00:53:56]wFMCommunicate request_size=4 [00:53:56]MH_SAM_APDU [00:53:56]CAPDU: 80 17 00 00 [00:53:56]Write to MH i2c: E2 08 00 3E 36 80 17 00 00 00 00 00 00 F4 [00:53:56]Write i2c OK [00:53:56]MH_I2C_Read... [00:53:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:53:56]Read from MH i2c: E2 [00:53:56]MH_I2C_Read... [00:53:56]Read from MH i2c: E2 FD 00 [00:53:56]MH_I2C_Read... [00:53:56]Read from MH i2c: E2 FD 00 3E 36 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 B5 [00:53:56]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [00:53:56]wFMCommunicate OK [00:53:56]wFMCommunicate request_size=4 [00:53:56]MH_SAM_APDU [00:53:56]CAPDU: 80 17 00 00 [00:53:56]Write to MH i2c: E2 08 00 3F 36 80 17 00 00 00 00 00 00 F5 [00:53:56]Write i2c OK [00:53:56]MH_I2C_Read... [00:53:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:53:56]Read from MH i2c: E2 [00:53:56]MH_I2C_Read... [00:53:56]Read from MH i2c: E2 FD 00 [00:53:56]MH_I2C_Read... [00:53:56]Read from MH i2c: E2 FD 00 3F 36 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 6A [00:53:56]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [00:53:56]wFMCommunicate OK [00:53:56]wFMCommunicate request_size=4 [00:53:56]MH_SAM_APDU [00:53:56]CAPDU: 80 17 00 00 [00:53:56]Write to MH i2c: E2 08 00 40 36 80 17 00 00 00 00 00 00 F6 [00:53:56]Write i2c OK [00:53:56]MH_I2C_Read... [00:53:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [00:53:57]Read from MH i2c: E2 [00:53:57]MH_I2C_Read... [00:53:57]Read from MH i2c: E2 C9 00 [00:53:57]MH_I2C_Read... [00:53:57]Read from MH i2c: E2 C9 00 40 36 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DA [00:53:57]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:53:57]wFMCommunicate OK [00:53:57]SAM_PROTO_GetShiftData done [00:53:57]requested_item shift.sale.total_cash is exist - process it [00:53:57]requested_item shift.sale_refund.total is exist - process it [00:53:57]requested_item shift.sale_refund.total_cash is exist - process it [00:53:57]requested_item shift.buy.total is exist - process it [00:53:57]requested_item shift.buy.total_cash is exist - process it [00:53:57]produce_requested_data done [00:53:57]produce_requested_data return {"fm.sale.total":72858870.98,"fm.sale_refund.total":5948837.00,"fm.buy.total":0.00,"shift.sale.total":5520.15,"shift.sale.total_cash":520.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:53:57]process_action_free get_value [00:53:57]json_value_free [00:53:57]json_value_free done [00:53:57]process_json_proto returns [00:53:57]Send response to host [00:53:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":72858870.98,"fm.sale_refund.total":5948837.00,"fm.buy.total":0.00,"shift.sale.total":5520.15,"shift.sale.total_cash":520.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:53:57]free response buf [00:53:57]execute_script done [00:53:57]execute_script returns [00:53:57]free content buf [00:53:57]Sock 9.Close socket [00:53:57]Sock 9.Thread stoped [00:53:59]OFD Sender: No OFD packet to send [00:54:04]OFD Sender: No OFD packet to send [00:54:09]OFD Sender: No OFD packet to send [00:54:14]OFD Sender: No OFD packet to send [00:54:19]OFD Sender: No OFD packet to send [00:54:24]OFD Sender: No OFD packet to send [00:54:29]OFD Sender: No OFD packet to send [00:54:34]OFD Sender: No OFD packet to send [00:54:39]OFD Sender: No OFD packet to send [00:54:44]OFD Sender: No OFD packet to send [00:54:49]OFD Sender: No OFD packet to send [00:54:54]OFD Sender: No OFD packet to send [00:54:59]OFD Sender: No OFD packet to send [00:55:04]OFD Sender: No OFD packet to send [00:55:09]OFD Sender: No OFD packet to send [00:55:14]OFD Sender: No OFD packet to send [00:55:19]OFD Sender: No OFD packet to send [00:55:24]OFD Sender: No OFD packet to send [00:55:29]OFD Sender: No OFD packet to send [00:55:34]OFD Sender: No OFD packet to send [00:55:39]OFD Sender: No OFD packet to send [00:55:44]OFD Sender: No OFD packet to send [00:55:49]OFD Sender: No OFD packet to send [00:55:54]OFD Sender: No OFD packet to send [00:55:59]OFD Sender: No OFD packet to send [00:56:04]OFD Sender: No OFD packet to send [00:56:09]OFD Sender: No OFD packet to send [00:56:14]OFD Sender: No OFD packet to send [00:56:19]OFD Sender: No OFD packet to send [00:56:24]OFD Sender: No OFD packet to send [00:56:29]OFD Sender: No OFD packet to send [00:56:34]OFD Sender: No OFD packet to send [00:56:39]OFD Sender: No OFD packet to send [00:56:44]OFD Sender: No OFD packet to send [00:56:49]OFD Sender: No OFD packet to send [00:56:54]OFD Sender: No OFD packet to send [00:56:59]OFD Sender: No OFD packet to send [00:57:04]OFD Sender: No OFD packet to send [00:57:09]OFD Sender: No OFD packet to send [00:57:14]OFD Sender: No OFD packet to send [00:57:19]OFD Sender: No OFD packet to send [00:57:24]OFD Sender: No OFD packet to send [00:57:29]OFD Sender: No OFD packet to send [00:57:34]OFD Sender: No OFD packet to send [00:57:39]OFD Sender: No OFD packet to send [00:57:44]OFD Sender: No OFD packet to send [00:57:49]OFD Sender: No OFD packet to send [00:57:54]OFD Sender: No OFD packet to send [00:57:59]OFD Sender: No OFD packet to send [00:58:04]OFD Sender: No OFD packet to send [00:58:09]OFD Sender: No OFD packet to send [00:58:14]OFD Sender: No OFD packet to send [00:58:19]OFD Sender: No OFD packet to send [00:58:24]OFD Sender: No OFD packet to send [00:58:29]OFD Sender: No OFD packet to send [00:58:34]OFD Sender: No OFD packet to send [00:58:39]OFD Sender: No OFD packet to send [00:58:44]OFD Sender: No OFD packet to send [00:58:49]OFD Sender: No OFD packet to send [00:58:54]OFD Sender: No OFD packet to send [00:58:59]OFD Sender: No OFD packet to send [00:59:04]OFD Sender: No OFD packet to send [00:59:09]OFD Sender: No OFD packet to send [00:59:14]OFD Sender: No OFD packet to send [00:59:19]OFD Sender: No OFD packet to send [00:59:24]OFD Sender: No OFD packet to send [00:59:29]OFD Sender: No OFD packet to send [00:59:34]OFD Sender: No OFD packet to send [00:59:39]OFD Sender: No OFD packet to send [00:59:44]OFD Sender: No OFD packet to send [00:59:49]OFD Sender: No OFD packet to send [00:59:54]OFD Sender: No OFD packet to send [00:59:59]OFD Sender: No OFD packet to send [01:00:04]OFD Sender: No OFD packet to send [01:00:09]OFD Sender: No OFD packet to send [01:00:14]OFD Sender: No OFD packet to send [01:00:19]OFD Sender: No OFD packet to send [01:00:24]OFD Sender: No OFD packet to send [01:00:29]OFD Sender: No OFD packet to send [01:00:34]OFD Sender: No OFD packet to send [01:00:39]OFD Sender: No OFD packet to send [01:00:44]OFD Sender: No OFD packet to send [01:00:49]OFD Sender: No OFD packet to send [01:00:54]OFD Sender: No OFD packet to send [01:00:59]OFD Sender: No OFD packet to send [01:01:04]OFD Sender: No OFD packet to send [01:01:09]OFD Sender: No OFD packet to send [01:01:14]OFD Sender: No OFD packet to send [01:01:19]OFD Sender: No OFD packet to send [01:01:24]OFD Sender: No OFD packet to send [01:01:29]OFD Sender: No OFD packet to send [01:01:34]OFD Sender: No OFD packet to send [01:01:39]OFD Sender: No OFD packet to send [01:01:44]OFD Sender: No OFD packet to send [01:01:49]OFD Sender: No OFD packet to send [01:01:54]OFD Sender: No OFD packet to send [01:01:59]OFD Sender: No OFD packet to send [01:02:04]OFD Sender: No OFD packet to send [01:02:09]OFD Sender: No OFD packet to send [01:02:14]OFD Sender: No OFD packet to send [01:02:19]OFD Sender: No OFD packet to send [01:02:24]OFD Sender: No OFD packet to send [01:02:29]OFD Sender: No OFD packet to send [01:02:34]OFD Sender: No OFD packet to send [01:02:39]OFD Sender: No OFD packet to send [01:02:44]OFD Sender: No OFD packet to send [01:02:49]OFD Sender: No OFD packet to send [01:02:54]OFD Sender: No OFD packet to send [01:02:59]OFD Sender: No OFD packet to send [01:03:04]OFD Sender: No OFD packet to send [01:03:09]OFD Sender: No OFD packet to send [01:03:14]OFD Sender: No OFD packet to send [01:03:19]OFD Sender: No OFD packet to send [01:03:24]OFD Sender: No OFD packet to send [01:03:29]OFD Sender: No OFD packet to send [01:03:34]OFD Sender: No OFD packet to send [01:03:39]OFD Sender: No OFD packet to send [01:03:44]OFD Sender: No OFD packet to send [01:03:49]OFD Sender: No OFD packet to send [01:03:54]OFD Sender: No OFD packet to send [01:03:59]OFD Sender: No OFD packet to send [01:04:04]OFD Sender: No OFD packet to send [01:04:09]OFD Sender: No OFD packet to send [01:04:14]OFD Sender: No OFD packet to send [01:04:19]OFD Sender: No OFD packet to send [01:04:24]OFD Sender: No OFD packet to send [01:04:29]OFD Sender: No OFD packet to send [01:04:34]OFD Sender: No OFD packet to send [01:04:39]OFD Sender: No OFD packet to send [01:04:44]OFD Sender: No OFD packet to send [01:04:49]OFD Sender: No OFD packet to send [01:04:54]OFD Sender: No OFD packet to send [01:04:59]OFD Sender: No OFD packet to send [01:05:04]OFD Sender: No OFD packet to send [01:05:09]OFD Sender: No OFD packet to send [01:05:14]OFD Sender: No OFD packet to send [01:05:19]OFD Sender: No OFD packet to send [01:05:24]OFD Sender: No OFD packet to send [01:05:29]OFD Sender: No OFD packet to send [01:05:34]OFD Sender: No OFD packet to send [01:05:39]OFD Sender: No OFD packet to send [01:05:44]OFD Sender: No OFD packet to send [01:05:49]OFD Sender: No OFD packet to send [01:05:54]OFD Sender: No OFD packet to send [01:05:59]accept exits with 7 [01:05:59]New connection [01:05:59]New thread 3066735972 created [01:05:59]Thread 3066879332 joined [01:05:59]Waiting for new connection... [01:05:59] Sock 7.Parse request [01:05:59]Sock 7.Check first char [01:05:59]Sock 7.First char is OK [01:05:59]request: POST /json_proto HTTP/1.0 [01:05:59]Method: POST [01:05:59]URL: /json_proto [01:05:59]Method is POST - this is cgi request [01:05:59]url: /json_proto [01:05:59]query_string will be loaded in cgi processing [01:05:59]execute_cgi json_proto POST (null) [01:05:59]execute_cgi path=json_proto method=POST [01:05:59]POST find Content-Length [01:05:59]Host: 172.17.34.200:8080 [01:05:59]Content-Length: 683 [01:05:59]Content-Type: application/json [01:05:59] [01:05:59]POST finish read [01:05:59]Found Content-Length = 683 [01:05:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1259814", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 4.880, "sum" : 350.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 350.00, "total" : 350.00, "payments": [ { "type": 0, "sum" : 350.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:05:59]execute_script... [01:05: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 : (1)1259814", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 21", "code": "2710194210", "name": "\u0414\u0422(\u043B)-\u041A-5", "price" : 71.80, "quantity" : 4.880, "sum" : 350.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 350.00, "total" : 350.00, "payments": [ { "type": 0, "sum" : 350.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:05:59]POST & json_proto [01:05:59]process_json_proto [01:05:59]json parsed OK: [01:05:59]protocol is kg_v1.0 [01:05:59]action value=close_receipt [01:05:59]process_action close_receipt [01:05:59]cmd_close_receipt [01:05:59]MH_GetDate [01:05:59]Write to MH i2c: F0 00 00 41 36 66 [01:05:59]Write i2c OK [01:05:59]MH_I2C_Read... [01:05:59]Read from MH i2c: F0 [01:05:59]MH_I2C_Read... [01:05:59]Read from MH i2c: F0 09 00 [01:05:59]MH_I2C_Read... [01:05:59]Read from MH i2c: F0 09 00 41 36 00 80 37 17 66 B3 F3 14 66 C3 [01:05:59]GetLastDocTimeStamp 1712795965 [01:05:59]current date 1712797568 [01:05:59]FM_GetShiftState [01:05:59]SAM_PROTO_GetShiftState [01:05:59]wFMCommunicate request_size=4 [01:05:59]MH_SAM_APDU [01:05:59]CAPDU: 80 13 01 00 [01:05:59]Write to MH i2c: E2 08 00 42 36 80 13 01 00 00 00 00 00 F5 [01:05:59]Write i2c OK [01:05:59]MH_I2C_Read... [01:05:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:05:59]Read from MH i2c: E2 [01:05:59]MH_I2C_Read... [01:05:59]Read from MH i2c: E2 0E 00 [01:05:59]MH_I2C_Read... [01:05:59]Read from MH i2c: E2 0E 00 42 36 00 09 00 01 42 2F 17 66 00 00 00 00 90 00 EF [01:05:59]RAPDU: 09 00 01 42 2F 17 66 00 00 00 00 90 00 [01:05:59]wFMCommunicate OK [01:05:59]SAM_PROTO_GetShiftState done [01:05:59]FM_GetShiftState done [01:05:59]opened in 1712795458 [01:05:59]opened+sec_in_day 1712881858 [01:05:59]quantity*price = 35038 [01:05:59]sum+1 = 35039 [01:05:59]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.38 ИТОГО: 350.00 Внесено: 350.00 СДАЧА: 0.00 НСП 1% : 3.10 НДС 12% : 37.21 Наличными: 350.00 Безнал.: 0.00 Место: АЗС № 121 "Партнер Нефть" Адрес: 720001, с. Ивановка, ул. Г. Ильина 1 А/1, 42.881777, 75.107954 СНО: Общий режим Чек 3 11.04.2024 01:06 Смена: 273 ФФД: 1.0 ЗНМ: 0300000024 РНМ: 0000000000090617 Версия ККМ: 001 ФМ: 0000000000874742 ФД: 70446 ФПД: 16065642815626 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240411T010608&type=1&operation_type=1&fn_number=0000000000874742&fd_number=70446&fm=16065642815626&tin=02508201610067®Number=0000000000090617&sum=35000 [01:06:00]StoreToDocumentArchive [01:06:00]shift 273 fd 70446 [01:06:00]save to /storage/0273/doc_00070446 [01:06:00]save last doc name /storage/0273/doc_00070446 to /storage/kkm_last_doc_name [01:06:00]save OK [01:06:00]Clear old archive folders... [01:06:00]ProcessDocumentItem done err = 0, tmpTLVsize=252 [01:06:00]tlvbuf is 021796F0 [01:06:00]SAM_PROTO_ClearQueue [01:06:00]wFMCommunicate request_size=4 [01:06:00]MH_SAM_APDU [01:06:00]CAPDU: 80 09 00 00 [01:06:00]Write to MH i2c: E2 08 00 4F 36 80 09 00 00 00 00 00 00 F7 [01:06:00]Write i2c OK [01:06:00]MH_I2C_Read... [01:06:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:06:00]Read from MH i2c: E2 [01:06:00]MH_I2C_Read... [01:06:00]Read from MH i2c: E2 03 00 [01:06:00]MH_I2C_Read... [01:06:00]Read from MH i2c: E2 03 00 4F 36 00 90 00 F9 [01:06:00]RAPDU: 90 00 [01:06:00]wFMCommunicate OK [01:06:00]SAM_PROTO_ClearQueue done [01:06:00]KKMCreateOFDPacket [01:06:00]OFDProtocolAddRootSTLVToBuf [01:06:00]FM_MakeSignedData [01:06:00]FM_MakeSignedData [01:06:00]SAM_PROTO_SignData [01:06:00]wFMCommunicate request_size=4 [01:06:00]MH_SAM_APDU [01:06:00]CAPDU: 80 0D 01 02 [01:06:00]Write to MH i2c: E2 08 00 50 36 80 0D 01 02 00 00 00 00 FF [01:06:00]Write i2c OK [01:06:00]MH_I2C_Read... [01:06:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:06:00]Read from MH i2c: E2 [01:06:00]MH_I2C_Read... [01:06:00]Read from MH i2c: E2 03 00 [01:06:00]MH_I2C_Read... [01:06:00]Read from MH i2c: E2 03 00 50 36 00 90 00 FA [01:06:00]RAPDU: 90 00 [01:06:00]wFMCommunicate OK [01:06:00]wFMCommunicate request_size=255 [01:06:00]MH_SAM_APDU [01:06:00]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 10 13 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 DE 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 89 0E 00 00 00 00 07 04 06 00 B8 88 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 80 37 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2E 13 01 00 35 04 06 00 [01:06:00]Write to MH i2c: E2 02 01 51 36 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 10 13 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 DE 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 89 0E 00 00 00 00 07 04 06 00 B8 88 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 80 37 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2E 13 01 00 35 04 06 00 00 00 CC [01:06:00]Write i2c OK [01:06:00]MH_I2C_Read... [01:06:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:06:00]Read from MH i2c: E2 [01:06:00]MH_I2C_Read... [01:06:00]Read from MH i2c: E2 03 00 [01:06:00]MH_I2C_Read... [01:06:00]Read from MH i2c: E2 03 00 51 36 00 90 00 FB [01:06:00]RAPDU: 90 00 [01:06:00]wFMCommunicate OK [01:06:00]wFMCommunicate request_size=11 [01:06:00]MH_SAM_APDU [01:06:00]CAPDU: 80 0D 02 02 06 0E 9C 92 EE E0 8A [01:06:00]Write to MH i2c: E2 0E 00 52 36 80 0D 02 02 06 00 0E 9C 92 EE E0 8A 00 00 A2 [01:06:00]Write i2c OK [01:06:00]MH_I2C_Read... [01:06:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:06:00]Read from MH i2c: E2 [01:06:00]MH_I2C_Read... [01:06:00]Read from MH i2c: E2 03 00 [01:06:00]MH_I2C_Read... [01:06:00]Read from MH i2c: E2 03 00 52 36 00 90 00 FC [01:06:00]RAPDU: 90 00 [01:06:00]wFMCommunicate OK [01:06:00]wFMCommunicate request_size=4 [01:06:00]MH_SAM_APDU [01:06:00]CAPDU: 80 0D 03 02 [01:06:00]Write to MH i2c: E2 08 00 53 36 80 0D 03 02 00 00 00 00 04 [01:06:00]Write i2c OK [01:06:00]MH_I2C_Read... [01:06:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:06:00]Read from MH i2c: E2 [01:06:00]MH_I2C_Read... [01:06:00]Read from MH i2c: E2 0B 00 [01:06:00]MH_I2C_Read... [01:06:00]Read from MH i2c: E2 0B 00 53 36 00 41 0A 58 85 76 B9 D5 A6 90 00 D7 [01:06:00]RAPDU: 41 0A 58 85 76 B9 D5 A6 90 00 [01:06:00]wFMCommunicate OK [01:06:00]SAM_PROTO_SignData done [01:06:00]FM_MakeSignedData done [01:06:00]CreateOFDProtocolMessage [01:06:00]wFMCommunicate request_size=4 [01:06:00]MH_SAM_APDU [01:06:00]CAPDU: 80 11 00 00 [01:06:00]Write to MH i2c: E2 08 00 54 36 80 11 00 00 00 00 00 00 04 [01:06:00]Write i2c OK [01:06:00]MH_I2C_Read... [01:06:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:06:00]Read from MH i2c: E2 [01:06:00]MH_I2C_Read... [01:06:00]Read from MH i2c: E2 17 00 [01:06:00]MH_I2C_Read... [01:06:00]Read from MH i2c: E2 17 00 54 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 57 [01:06:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [01:06:00]wFMCommunicate OK [01:06:00]CreateOFDProtocolMessage done [01:06:00]OFDSenderStorePacket 70446 [01:06:00]StoreOFDPacket docnum=70446 [01:06:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 01 00 00 03 EC 08 01 51 B1 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 10 13 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 DE 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 89 0E 00 00 00 00 07 04 06 00 B8 88 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 80 37 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2E 13 01 00 35 04 06 00 0E 9C 92 EE E0 8A 41 0A 58 85 76 B9 D5 A6 [01:06:00]CheckFolder [01:06:00]dirname=/storage/ofd_packets [01:06:00]CheckFolder done [01:06:00]ProducePacketName [01:06:00]name=ofd_packets/00070446 [01:06:00]NVStorageSaveData ofd_packets/00070446 [01:06:00]File name is /storage/ofd_packets/00070446 [01:06:00]Write 302 bytes [01:06:00]NVStorageSaveData done [01:06:00]OFDSenderStorePacket done [01:06:00]KKMCreateOFDPacket done [01:06:00]NVStorageSaveData kkm_last_timestamp [01:06:00]File name is /storage/kkm_last_timestamp [01:06:00]Write 4 bytes [01:06:00]NVStorageSaveData done [01:06:00]ExternCall_PrintAddStr [01:06:00]wPrintStart [01:06:00]Write to MH i2c: 01 00 00 55 36 8B [01:06:00]Write i2c OK [01:06:00]MH_I2C_Read... [01:06:00]Read from MH i2c: 01 [01:06:00]MH_I2C_Read... [01:06:00]Read from MH i2c: 01 07 00 [01:06:00]MH_I2C_Read... [01:06:00]Read from MH i2c: 01 07 00 55 36 00 00 00 00 00 FF 0F A0 [01:06:00]RasterBufferAndPrint [01:06:00]line Счет N : (1)1259814 [01:06:00]line ИНН: 02508201610067 [01:06:00]line Контрольно-Кассовый Чек [01:06:00]line ПРОДАЖА [01:06:00]line ТРК (МРК, ГНК) : 21 [01:06:00]line Товар: 2710194210 [01:06:00]line ДТ(л)-К-5 [01:06:00]line 4.880 * 71.80 [01:06:00]line = 350.38 [01:06:00]line НДС 12% НСП 1% [01:06:00]line > о реализуемом товаре [01:06:00]line ОКРУГЛЕНИЕ: -0.38 [01:06:00]line ИТОГО: 350.00 [01:06:00]line Внесено: 350.00 [01:06:00]line СДАЧА: 0.00 [01:06:00]line НСП 1% : 3.10 [01:06:00]line НДС 12% : 37.21 [01:06:00]line Наличными: 350.00 [01:06:00]line Безнал.: 0.00 [01:06:00]line Место: АЗС № 121 "Партнер Нефть" [01:06:00]line Адрес: 720001, с. Ивановка, ул. Г. Ильина 1 А/1, 42.881777, 75.107954 [01:06:00]line СНО: Общий режим [01:06:00]line Чек 3 11.04.2024 01:06 [01:06:00]line Смена: 273 ФФД: 1.0 [01:06:00]line ЗНМ: 0300000024 [01:06:00]line РНМ: 0000000000090617 [01:06:00]line Версия ККМ: 001 [01:06:00]line ФМ: 0000000000874742 [01:06:00]line ФД: 70446 [01:06:00]line ФПД: 16065642815626 [01:06:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240411T010608&type=1&operation_type=1&fn_number=0000000000874742&fd_number=70446&fm=16065642815626&tin=02508201610067®Number=0000000000090617&sum=35000 [01:06:01]OFD Sender: Processing packet 70446 [packets to send 7, broken 6] [01:06:01]ProducePacketName [01:06:01]name=ofd_packets/00070446 [01:06:01]OFD Sender: To server: pG, [01:06:01]CommunicateWithHost lk.salyk.kg:30040 [01:06:01]ConnectInit lk.salyk.kg [01:06:01]written 0, free lines is 4095 [01:06:01]Connected sock=10 [01:06: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 34 32 10 01 00 00 03 EC 08 01 51 B1 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 0D 00 D0 94 D0 A2 28 D0 BB 29 2D D0 9A 2D 35 FF 03 08 00 03 10 13 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 DE 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 89 0E 00 00 00 00 07 04 06 00 B8 88 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 80 37 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2E 13 01 00 35 04 06 00 0E 9C 92 EE E0 8A 41 0A 58 85 76 B9 D5 A6 [01:06: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 34 32 4F 00 00 00 89 19 47 00 9D C1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2E 13 01 00 F4 03 04 00 78 E3 16 66 B6 04 01 00 00 AC 00 EC EC C9 42 56 C3 [01:06:01]CommunicateWithHost err = 0 [01:06:01]CheckOFDResponse [01:06:01]1017 (14) - 77093643461234 [01:06:01]1041 (16) - 0000000000874742 [01:06:01]1040 (4) - 70446 [01:06:01]1012 (4) - 10.04.2024 19:07 [01:06:01]1206 (1) - 0 [01:06:01]OFD Sender: Remove packet 70446 [01:06:01]ProducePacketName [01:06:01]name=ofd_packets/00070446 [01:06:01]NVStorageDeleteData [01:06:01]Write to MH i2c: 01 00 00 80 36 B6 [01:06:01]Write i2c OK [01:06:01]MH_I2C_Read... [01:06:01]Read from MH i2c: 01 [01:06:01]MH_I2C_Read... [01:06:01]Read from MH i2c: 01 07 00 [01:06:01]MH_I2C_Read... [01:06:01]Read from MH i2c: 01 07 00 80 36 00 00 00 00 00 E4 0C AD [01:06:01]RasterBufferAndPrint [01:06:01]line [01:06:01]line [01:06:01]line [01:06:01]line [01:06:01]line [01:06:01]written 0, free lines is 3309 [01:06:01]MH_Cut [01:06:01]Write to MH i2c: D1 01 00 87 36 01 8F [01:06:01]Write i2c OK [01:06:01]MH_I2C_Read... [01:06:01]Read from MH i2c: D1 [01:06:01]MH_I2C_Read... [01:06:01]Read from MH i2c: D1 01 00 [01:06:01]MH_I2C_Read... [01:06:01]Read from MH i2c: D1 01 00 87 36 00 8E [01:06:01]Write to MH i2c: 01 00 00 88 36 BE [01:06:01]Write i2c OK [01:06:01]MH_I2C_Read... [01:06:02]OFD Sender: No OFD packet to send [01:06:02]*** Cut start [01:06:02]*** Partial cut [01:06:02]*** CUTSNS_PIN = 1 [01:06:02]*** CUTSNS_PIN = 0 [01:06:02]*** Brake cut motor [01:06:02]Read from MH i2c: 01 [01:06:03]MH_I2C_Read... [01:06:03]*** Stop cut motor [01:06:03]*** Cut end [01:06:03]Read from MH i2c: 01 07 00 [01:06:03]MH_I2C_Read... [01:06:03]Read from MH i2c: 01 07 00 88 36 00 00 00 00 00 FF 0F D3 [01:06:03]process_action close_receipt done [01:06:03]requested_data is exist [01:06:03]produce_requested_data [01:06:03]requested_item fm.sn is exist - process it [01:06:03]wFMCommunicate request_size=4 [01:06:03]MH_SAM_APDU [01:06:03]CAPDU: 80 11 00 00 [01:06:03]Write to MH i2c: E2 08 00 89 36 80 11 00 00 00 00 00 00 39 [01:06:03]Write i2c OK [01:06:03]MH_I2C_Read... [01:06:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:06:03]Read from MH i2c: E2 [01:06:03]MH_I2C_Read... [01:06:03]Read from MH i2c: E2 17 00 [01:06:03]MH_I2C_Read... [01:06:03]Read from MH i2c: E2 17 00 89 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 8C [01:06:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [01:06:03]wFMCommunicate OK [01:06:03]requested_item fd.num is exist - process it [01:06:03]SAM_PROTO_GetFieldsCounters [01:06:03]wFMCommunicate request_size=4 [01:06:03]MH_SAM_APDU [01:06:03]CAPDU: 80 13 00 00 [01:06:03]Write to MH i2c: E2 08 00 8A 36 80 13 00 00 00 00 00 00 3C [01:06:03]Write i2c OK [01:06:03]MH_I2C_Read... [01:06:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:06:03]Read from MH i2c: E2 [01:06:03]MH_I2C_Read... [01:06:03]Read from MH i2c: E2 62 00 [01:06:03]MH_I2C_Read... [01:06:03]Read from MH i2c: E2 62 00 8A 36 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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2E 13 01 00 0E 04 04 00 11 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 B8 [01:06: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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2E 13 01 00 0E 04 04 00 11 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:06:03]wFMCommunicate OK [01:06:03]SAM_PROTO_GetFieldsCounters done [01:06:03]requested_item shift.num is exist - process it [01:06:03]requested_item shift.opened is exist - process it [01:06:03]req_shift_opened [01:06:03]FM_GetShiftState [01:06:03]SAM_PROTO_GetShiftState [01:06:03]wFMCommunicate request_size=4 [01:06:03]MH_SAM_APDU [01:06:03]CAPDU: 80 13 01 00 [01:06:03]Write to MH i2c: E2 08 00 8B 36 80 13 01 00 00 00 00 00 3E [01:06:03]Write i2c OK [01:06:03]MH_I2C_Read... [01:06:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:06:03]Read from MH i2c: E2 [01:06:03]MH_I2C_Read... [01:06:03]Read from MH i2c: E2 0E 00 [01:06:03]MH_I2C_Read... [01:06:03]Read from MH i2c: E2 0E 00 8B 36 00 09 00 01 42 2F 17 66 00 00 00 00 90 00 38 [01:06:03]RAPDU: 09 00 01 42 2F 17 66 00 00 00 00 90 00 [01:06:03]wFMCommunicate OK [01:06:03]SAM_PROTO_GetShiftState done [01:06:03]FM_GetShiftState done [01:06:03]req_shift_opened done [01:06:03]requested_item shift.open_date is exist - process it [01:06:03]req_shift_open_date [01:06:03]req_shift_open_date done [01:06:03]produce_requested_data done [01:06:03]produce_requested_data return {"fm.sn":"0000000000874742","fd.num":70446,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458} [01:06:03]process_action_free close_receipt [01:06:03]json_value_free [01:06:03]json_value_free done [01:06:03]process_json_proto returns [01:06:03]Send response to host [01:06:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874742","fd.num":70446,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458}}} [01:06:03]free response buf [01:06:03]execute_script done [01:06:03]execute_script returns [01:06:03]free content buf [01:06:03]Sock 7.Close socket [01:06:03]Sock 7.Thread stoped [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:31]accept exits with 9 [01:07:31]New connection [01:07:31]New thread 3066879332 created [01:07:31]Thread 3066735972 joined [01:07:31]Waiting for new connection... [01:07:31] Sock 9.Parse request [01:07:31]Sock 9.Check first char [01:07:31]Sock 9.First char is OK [01:07:31]request: POST /json_proto HTTP/1.0 [01:07:31]Method: POST [01:07:31]URL: /json_proto [01:07:31]Method is POST - this is cgi request [01:07:31]url: /json_proto [01:07:31]query_string will be loaded in cgi processing [01:07:31]execute_cgi json_proto POST (null) [01:07:31]execute_cgi path=json_proto method=POST [01:07:31]POST find Content-Length [01:07:31]Host: 172.17.34.200:8080 [01:07:31]Content-Length: 801 [01:07:31]Content-Type: application/json [01:07:31] [01:07:31]POST finish read [01:07:31]Found Content-Length = 801 [01:07:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1259815", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 6.960, "sum" : 500.42, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 500.42 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:07:31]execute_script... [01:07:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1259815", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 6.960, "sum" : 500.42, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 500.42 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:07:31]POST & json_proto [01:07:31]process_json_proto [01:07:31]json parsed OK: [01:07:31]protocol is kg_v1.0 [01:07:31]action value=close_receipt [01:07:31]process_action close_receipt [01:07:31]cmd_close_receipt [01:07:31]MH_GetDate [01:07:31]Write to MH i2c: F0 00 00 8C 36 B1 [01:07:31]Write i2c OK [01:07:31]MH_I2C_Read... [01:07:31]Read from MH i2c: F0 [01:07:31]MH_I2C_Read... [01:07:31]Read from MH i2c: F0 09 00 [01:07:31]MH_I2C_Read... [01:07:31]Read from MH i2c: F0 09 00 8C 36 00 DC 37 17 66 B3 F3 14 66 6A [01:07:31]GetLastDocTimeStamp 1712797568 [01:07:31]current date 1712797660 [01:07:31]FM_GetShiftState [01:07:31]SAM_PROTO_GetShiftState [01:07:31]wFMCommunicate request_size=4 [01:07:31]MH_SAM_APDU [01:07:31]CAPDU: 80 13 01 00 [01:07:31]Write to MH i2c: E2 08 00 8D 36 80 13 01 00 00 00 00 00 40 [01:07:31]Write i2c OK [01:07:31]MH_I2C_Read... [01:07:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:07:31]Read from MH i2c: E2 [01:07:31]MH_I2C_Read... [01:07:31]Read from MH i2c: E2 0E 00 [01:07:31]MH_I2C_Read... [01:07:31]Read from MH i2c: E2 0E 00 8D 36 00 09 00 01 42 2F 17 66 00 00 00 00 90 00 3A [01:07:31]RAPDU: 09 00 01 42 2F 17 66 00 00 00 00 90 00 [01:07:31]wFMCommunicate OK [01:07:31]SAM_PROTO_GetShiftState done [01:07:31]FM_GetShiftState done [01:07:31]opened in 1712795458 [01:07:31]opened+sec_in_day 1712881858 [01:07:31]quantity*price = 50042 [01:07:31]sum+1 = 50043 [01:07:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.42 НСП 1% : 4.43 НДС 12% : 53.14 Наличными: 0.00 Безнал.: 500.42 Место: АЗС № 121 "Партнер Нефть" Адрес: 720001, с. Ивановка, ул. Г. Ильина 1 А/1, 42.881777, 75.107954 СНО: Общий режим Чек 4 11.04.2024 01:07 Смена: 273 ФФД: 1.0 ЗНМ: 0300000024 РНМ: 0000000000090617 Версия ККМ: 001 Платежная система: O! деньги ФМ: 0000000000874742 ФД: 70447 ФПД: 36199751413283 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240411T010740&type=1&operation_type=1&fn_number=0000000000874742&fd_number=70447&fm=36199751413283&tin=02508201610067®Number=0000000000090617&sum=50042 [01:07:32]StoreToDocumentArchive [01:07:32]shift 273 fd 70447 [01:07:32]save to /storage/0273/doc_00070447 [01:07:32]save last doc name /storage/0273/doc_00070447 to /storage/kkm_last_doc_name [01:07:32]save OK [01:07:32]Clear old archive folders... [01:07:32]ProcessDocumentItem done err = 0, tmpTLVsize=251 [01:07:32]tlvbuf is 021E8C50 [01:07:32]SAM_PROTO_ClearQueue [01:07:32]wFMCommunicate request_size=4 [01:07:32]MH_SAM_APDU [01:07:32]CAPDU: 80 09 00 00 [01:07:32]Write to MH i2c: E2 08 00 9A 36 80 09 00 00 00 00 00 00 42 [01:07:32]Write i2c OK [01:07:32]MH_I2C_Read... [01:07:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:07:32]Read from MH i2c: E2 [01:07:32]MH_I2C_Read... [01:07:32]Read from MH i2c: E2 03 00 [01:07:32]MH_I2C_Read... [01:07:32]Read from MH i2c: E2 03 00 9A 36 00 90 00 44 [01:07:32]RAPDU: 90 00 [01:07:32]wFMCommunicate OK [01:07:32]SAM_PROTO_ClearQueue done [01:07:32]KKMCreateOFDPacket [01:07:32]OFDProtocolAddRootSTLVToBuf [01:07:32]FM_MakeSignedData [01:07:32]FM_MakeSignedData [01:07:32]SAM_PROTO_SignData [01:07:32]wFMCommunicate request_size=4 [01:07:32]MH_SAM_APDU [01:07:32]CAPDU: 80 0D 01 02 [01:07:32]Write to MH i2c: E2 08 00 9B 36 80 0D 01 02 00 00 00 00 4A [01:07:32]Write i2c OK [01:07:32]MH_I2C_Read... [01:07:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:07:32]Read from MH i2c: E2 [01:07:32]MH_I2C_Read... [01:07:32]Read from MH i2c: E2 03 00 [01:07:32]MH_I2C_Read... [01:07:32]Read from MH i2c: E2 03 00 9B 36 00 90 00 45 [01:07:32]RAPDU: 90 00 [01:07:32]wFMCommunicate OK [01:07:32]wFMCommunicate request_size=255 [01:07:32]MH_SAM_APDU [01:07:32]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 30 1B 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 7A C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7A C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7A C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 DC 37 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2F 13 01 00 35 04 06 00 20 [01:07:32]Write to MH i2c: E2 02 01 9C 36 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 30 1B 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 7A C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7A C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7A C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 DC 37 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2F 13 01 00 35 04 06 00 20 00 00 25 [01:07:32]Write i2c OK [01:07:32]MH_I2C_Read... [01:07:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:07:33]Read from MH i2c: E2 [01:07:33]MH_I2C_Read... [01:07:33]Read from MH i2c: E2 03 00 [01:07:33]MH_I2C_Read... [01:07:33]Read from MH i2c: E2 03 00 9C 36 00 90 00 46 [01:07:33]RAPDU: 90 00 [01:07:33]wFMCommunicate OK [01:07:33]wFMCommunicate request_size=10 [01:07:33]MH_SAM_APDU [01:07:33]CAPDU: 80 0D 02 02 05 EC 69 52 EE 23 [01:07:33]Write to MH i2c: E2 0D 00 9D 36 80 0D 02 02 05 00 EC 69 52 EE 23 00 00 0F [01:07:33]Write i2c OK [01:07:33]MH_I2C_Read... [01:07:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:07:33]Read from MH i2c: E2 [01:07:33]MH_I2C_Read... [01:07:33]Read from MH i2c: E2 03 00 [01:07:33]MH_I2C_Read... [01:07:33]Read from MH i2c: E2 03 00 9D 36 00 90 00 47 [01:07:33]RAPDU: 90 00 [01:07:33]wFMCommunicate OK [01:07:33]wFMCommunicate request_size=4 [01:07:33]MH_SAM_APDU [01:07:33]CAPDU: 80 0D 03 02 [01:07:33]Write to MH i2c: E2 08 00 9E 36 80 0D 03 02 00 00 00 00 4F [01:07:33]Write i2c OK [01:07:33]MH_I2C_Read... [01:07:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:07:33]Read from MH i2c: E2 [01:07:33]MH_I2C_Read... [01:07:33]Read from MH i2c: E2 0B 00 [01:07:33]MH_I2C_Read... [01:07:33]Read from MH i2c: E2 0B 00 9E 36 00 43 90 5D 87 87 03 DC CE 90 00 3B [01:07:33]RAPDU: 43 90 5D 87 87 03 DC CE 90 00 [01:07:33]wFMCommunicate OK [01:07:33]SAM_PROTO_SignData done [01:07:33]FM_MakeSignedData done [01:07:33]CreateOFDProtocolMessage [01:07:33]wFMCommunicate request_size=4 [01:07:33]MH_SAM_APDU [01:07:33]CAPDU: 80 11 00 00 [01:07:33]Write to MH i2c: E2 08 00 9F 36 80 11 00 00 00 00 00 00 4F [01:07:33]Write i2c OK [01:07:33]MH_I2C_Read... [01:07:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:07:33]Read from MH i2c: E2 [01:07:33]MH_I2C_Read... [01:07:33]Read from MH i2c: E2 17 00 [01:07:33]MH_I2C_Read... [01:07:33]Read from MH i2c: E2 17 00 9F 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 A2 [01:07:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [01:07:33]wFMCommunicate OK [01:07:33]CreateOFDProtocolMessage done [01:07:33]OFDSenderStorePacket 70447 [01:07:33]StoreOFDPacket docnum=70447 [01:07:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 0F 01 00 00 06 4D 07 01 71 05 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 30 1B 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 7A C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7A C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7A C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 DC 37 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2F 13 01 00 35 04 06 00 20 EC 69 52 EE 23 43 90 5D 87 87 03 DC CE [01:07:33]CheckFolder [01:07:33]dirname=/storage/ofd_packets [01:07:33]CheckFolder done [01:07:33]ProducePacketName [01:07:33]name=ofd_packets/00070447 [01:07:33]NVStorageSaveData ofd_packets/00070447 [01:07:33]File name is /storage/ofd_packets/00070447 [01:07:33]Write 301 bytes [01:07:33]NVStorageSaveData done [01:07:33]OFDSenderStorePacket done [01:07:33]KKMCreateOFDPacket done [01:07:33]NVStorageSaveData kkm_last_timestamp [01:07:33]File name is /storage/kkm_last_timestamp [01:07:33]Write 4 bytes [01:07:33]NVStorageSaveData done [01:07:33]ExternCall_PrintAddStr [01:07:33]wPrintStart [01:07:33]Write to MH i2c: 01 00 00 A0 36 D6 [01:07:33]Write i2c OK [01:07:33]MH_I2C_Read... [01:07:33]Read from MH i2c: 01 [01:07:33]MH_I2C_Read... [01:07:33]Read from MH i2c: 01 07 00 [01:07:33]MH_I2C_Read... [01:07:33]Read from MH i2c: 01 07 00 A0 36 00 00 00 00 00 FF 0F EB [01:07:33]RasterBufferAndPrint [01:07:33]line Счет N : (1)1259815 [01:07:33]line ИНН: 02508201610067 [01:07:33]line Контрольно-Кассовый Чек [01:07:33]line ПРОДАЖА [01:07:33]line ТРК (МРК, ГНК) : 43 [01:07:33]line Товар: 2710124500 [01:07:33]line Аи-95-К-5 [01:07:33]line 6.960 * 71.90 [01:07:33]line = 500.42 [01:07:33]line НДС 12% НСП 1% [01:07:33]line > о реализуемом товаре [01:07:33]line ИТОГО: 500.42 [01:07:33]line НСП 1% : 4.43 [01:07:33]line НДС 12% : 53.14 [01:07:33]line Наличными: 0.00 [01:07:33]line Безнал.: 500.42 [01:07:33]line Место: АЗС № 121 "Партнер Нефть" [01:07:33]line Адрес: 720001, с. Ивановка, ул. Г. Ильина 1 А/1, 42.881777, 75.107954 [01:07:33]line СНО: Общий режим [01:07:33]line Чек 4 11.04.2024 01:07 [01:07:33]line Смена: 273 ФФД: 1.0 [01:07:33]line ЗНМ: 0300000024 [01:07:33]line РНМ: 0000000000090617 [01:07:33]line Версия ККМ: 001 [01:07:33]line Платежная система: O! деньги [01:07:33]line ФМ: 0000000000874742 [01:07:33]line ФД: 70447 [01:07:33]line ФПД: 36199751413283 [01:07:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240411T010740&type=1&operation_type=1&fn_number=0000000000874742&fd_number=70447&fm=36199751413283&tin=02508201610067®Number=0000000000090617&sum=50042 [01:07:33]OFD Sender: Processing packet 70447 [packets to send 7, broken 6] [01:07:33]ProducePacketName [01:07:33]name=ofd_packets/00070447 [01:07:33]OFD Sender: To server: pG, [01:07:33]CommunicateWithHost lk.salyk.kg:30040 [01:07:33]ConnectInit lk.salyk.kg [01:07:33]written 0, free lines is 4095 [01:07:33]Connected sock=10 [01:07: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 34 32 0F 01 00 00 06 4D 07 01 71 05 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 30 1B 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 7A C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7A C3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C2 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 7A C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 DC 37 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2F 13 01 00 35 04 06 00 20 EC 69 52 EE 23 43 90 5D 87 87 03 DC CE [01:07: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 34 32 4F 00 00 00 8B 99 47 00 59 E4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 2F 13 01 00 F4 03 04 00 D4 E3 16 66 B6 04 01 00 00 56 DA 65 98 97 9E EC 84 [01:07:33]CommunicateWithHost err = 0 [01:07:33]CheckOFDResponse [01:07:33]1017 (14) - 77093643461234 [01:07:33]1041 (16) - 0000000000874742 [01:07:33]1040 (4) - 70447 [01:07:33]1012 (4) - 10.04.2024 19:09 [01:07:33]1206 (1) - 0 [01:07:33]OFD Sender: Remove packet 70447 [01:07:33]ProducePacketName [01:07:33]name=ofd_packets/00070447 [01:07:33]NVStorageDeleteData [01:07:34]Write to MH i2c: 01 00 00 CA 36 00 [01:07:34]Write i2c OK [01:07:34]MH_I2C_Read... [01:07:34]Read from MH i2c: 01 [01:07:34]MH_I2C_Read... [01:07:34]Read from MH i2c: 01 07 00 [01:07:34]MH_I2C_Read... [01:07:34]Read from MH i2c: 01 07 00 CA 36 00 00 00 00 00 F2 0C 05 [01:07:34]RasterBufferAndPrint [01:07:34]line [01:07:34]line [01:07:34]line [01:07:34]line [01:07:34]line [01:07:34]written 0, free lines is 3320 [01:07:34]MH_Cut [01:07:34]Write to MH i2c: D1 01 00 D1 36 01 D9 [01:07:34]Write i2c OK [01:07:34]MH_I2C_Read... [01:07:34]Read from MH i2c: D1 [01:07:34]MH_I2C_Read... [01:07:34]Read from MH i2c: D1 01 00 [01:07:34]MH_I2C_Read... [01:07:34]Read from MH i2c: D1 01 00 D1 36 00 D8 [01:07:34]Write to MH i2c: 01 00 00 D2 36 08 [01:07:34]Write i2c OK [01:07:34]MH_I2C_Read... [01:07:34]OFD Sender: No OFD packet to send [01:07:34]*** Cut start [01:07:34]*** Partial cut [01:07:34]*** CUTSNS_PIN = 1 [01:07:34]*** CUTSNS_PIN = 0 [01:07:35]*** Brake cut motor [01:07:35]Read from MH i2c: 01 [01:07:35]MH_I2C_Read... [01:07:35]*** Stop cut motor [01:07:35]*** Cut end [01:07:35]Read from MH i2c: 01 07 00 [01:07:35]MH_I2C_Read... [01:07:35]Read from MH i2c: 01 07 00 D2 36 00 00 00 00 00 FF 0F 1D [01:07:35]process_action close_receipt done [01:07:35]requested_data is exist [01:07:35]produce_requested_data [01:07:35]requested_item fm.sn is exist - process it [01:07:35]wFMCommunicate request_size=4 [01:07:35]MH_SAM_APDU [01:07:35]CAPDU: 80 11 00 00 [01:07:35]Write to MH i2c: E2 08 00 D3 36 80 11 00 00 00 00 00 00 83 [01:07:35]Write i2c OK [01:07:35]MH_I2C_Read... [01:07:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:07:35]Read from MH i2c: E2 [01:07:35]MH_I2C_Read... [01:07:35]Read from MH i2c: E2 17 00 [01:07:35]MH_I2C_Read... [01:07:35]Read from MH i2c: E2 17 00 D3 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 D6 [01:07:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [01:07:35]wFMCommunicate OK [01:07:35]requested_item fd.num is exist - process it [01:07:35]SAM_PROTO_GetFieldsCounters [01:07:35]wFMCommunicate request_size=4 [01:07:35]MH_SAM_APDU [01:07:35]CAPDU: 80 13 00 00 [01:07:35]Write to MH i2c: E2 08 00 D4 36 80 13 00 00 00 00 00 00 86 [01:07:35]Write i2c OK [01:07:35]MH_I2C_Read... [01:07:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:07:35]Read from MH i2c: E2 [01:07:35]MH_I2C_Read... [01:07:35]Read from MH i2c: E2 62 00 [01:07:35]MH_I2C_Read... [01:07:35]Read from MH i2c: E2 62 00 D4 36 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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2F 13 01 00 0E 04 04 00 11 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 06 [01:07: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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 2F 13 01 00 0E 04 04 00 11 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:07:35]wFMCommunicate OK [01:07:35]SAM_PROTO_GetFieldsCounters done [01:07:35]requested_item shift.num is exist - process it [01:07:35]requested_item shift.opened is exist - process it [01:07:35]req_shift_opened [01:07:35]FM_GetShiftState [01:07:35]SAM_PROTO_GetShiftState [01:07:35]wFMCommunicate request_size=4 [01:07:35]MH_SAM_APDU [01:07:35]CAPDU: 80 13 01 00 [01:07:35]Write to MH i2c: E2 08 00 D5 36 80 13 01 00 00 00 00 00 88 [01:07:35]Write i2c OK [01:07:35]MH_I2C_Read... [01:07:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:07:35]Read from MH i2c: E2 [01:07:35]MH_I2C_Read... [01:07:35]Read from MH i2c: E2 0E 00 [01:07:35]MH_I2C_Read... [01:07:35]Read from MH i2c: E2 0E 00 D5 36 00 09 00 01 42 2F 17 66 00 00 00 00 90 00 82 [01:07:35]RAPDU: 09 00 01 42 2F 17 66 00 00 00 00 90 00 [01:07:35]wFMCommunicate OK [01:07:35]SAM_PROTO_GetShiftState done [01:07:35]FM_GetShiftState done [01:07:35]req_shift_opened done [01:07:35]requested_item shift.open_date is exist - process it [01:07:35]req_shift_open_date [01:07:35]req_shift_open_date done [01:07:35]produce_requested_data done [01:07:35]produce_requested_data return {"fm.sn":"0000000000874742","fd.num":70447,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458} [01:07:35]process_action_free close_receipt [01:07:35]json_value_free [01:07:35]json_value_free done [01:07:35]process_json_proto returns [01:07:35]Send response to host [01:07:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874742","fd.num":70447,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458}}} [01:07:35]free response buf [01:07:35]execute_script done [01:07:35]execute_script returns [01:07:35]free content buf [01:07:35]Sock 9.Close socket [01:07:35]Sock 9.Thread stoped [01:07:39]OFD Sender: No OFD packet to send [01:07:44]OFD Sender: No OFD packet to send [01:07:49]OFD Sender: No OFD packet to send [01:07:54]OFD Sender: No OFD packet to send [01:07:59]OFD Sender: No OFD packet to send [01:08:04]OFD Sender: No OFD packet to send [01:08:09]OFD Sender: No OFD packet to send [01:08:14]OFD Sender: No OFD packet to send [01:08:19]OFD Sender: No OFD packet to send [01:08:24]OFD Sender: No OFD packet to send [01:08:29]OFD Sender: No OFD packet to send [01:08:34]OFD Sender: No OFD packet to send [01:08:39]OFD Sender: No OFD packet to send [01:08:44]OFD Sender: No OFD packet to send [01:08:49]OFD Sender: No OFD packet to send [01:08:54]OFD Sender: No OFD packet to send [01:08:59]OFD Sender: No OFD packet to send [01:09:04]OFD Sender: No OFD packet to send [01:09:09]OFD Sender: No OFD packet to send [01:09:14]OFD Sender: No OFD packet to send [01:09:19]OFD Sender: No OFD packet to send [01:09:24]OFD Sender: No OFD packet to send [01:09:29]OFD Sender: No OFD packet to send [01:09:34]OFD Sender: No OFD packet to send [01:09:39]OFD Sender: No OFD packet to send [01:09:44]OFD Sender: No OFD packet to send [01:09:49]OFD Sender: No OFD packet to send [01:09:54]OFD Sender: No OFD packet to send [01:09:59]OFD Sender: No OFD packet to send [01:10:04]OFD Sender: No OFD packet to send [01:10:09]OFD Sender: No OFD packet to send [01:10:14]OFD Sender: No OFD packet to send [01:10:19]OFD Sender: No OFD packet to send [01:10:24]OFD Sender: No OFD packet to send [01:10:29]OFD Sender: No OFD packet to send [01:10:34]OFD Sender: No OFD packet to send [01:10:39]OFD Sender: No OFD packet to send [01:10:44]OFD Sender: No OFD packet to send [01:10:49]OFD Sender: No OFD packet to send [01:10:54]OFD Sender: No OFD packet to send [01:10:59]OFD Sender: No OFD packet to send [01:11:04]OFD Sender: No OFD packet to send [01:11:09]OFD Sender: No OFD packet to send [01:11:14]OFD Sender: No OFD packet to send [01:11:19]OFD Sender: No OFD packet to send [01:11:24]OFD Sender: No OFD packet to send [01:11:29]OFD Sender: No OFD packet to send [01:11:34]OFD Sender: No OFD packet to send [01:11:39]OFD Sender: No OFD packet to send [01:11:44]OFD Sender: No OFD packet to send [01:11:49]OFD Sender: No OFD packet to send [01:11:54]OFD Sender: No OFD packet to send [01:11:59]OFD Sender: No OFD packet to send [01:12:04]OFD Sender: No OFD packet to send [01:12:09]OFD Sender: No OFD packet to send [01:12:14]OFD Sender: No OFD packet to send [01:12:19]OFD Sender: No OFD packet to send [01:12:24]OFD Sender: No OFD packet to send [01:12:29]OFD Sender: No OFD packet to send [01:12:34]OFD Sender: No OFD packet to send [01:12:39]OFD Sender: No OFD packet to send [01:12:44]OFD Sender: No OFD packet to send [01:12:49]OFD Sender: No OFD packet to send [01:12:54]OFD Sender: No OFD packet to send [01:12:59]OFD Sender: No OFD packet to send [01:13:04]OFD Sender: No OFD packet to send [01:13:09]OFD Sender: No OFD packet to send [01:13:14]OFD Sender: No OFD packet to send [01:13:15]accept exits with 7 [01:13:15]New connection [01:13:15]New thread 3066735972 created [01:13:15]Thread 3066879332 joined [01:13:15]Waiting for new connection... [01:13:15] Sock 7.Parse request [01:13:15]Sock 7.Check first char [01:13:15]Sock 7.First char is OK [01:13:15]request: POST /json_proto HTTP/1.0 [01:13:15]Method: POST [01:13:15]URL: /json_proto [01:13:15]Method is POST - this is cgi request [01:13:15]url: /json_proto [01:13:15]query_string will be loaded in cgi processing [01:13:15]execute_cgi json_proto POST (null) [01:13:15]execute_cgi path=json_proto method=POST [01:13:15]POST find Content-Length [01:13:15]Host: 172.17.34.200:8080 [01:13:15]Content-Length: 817 [01:13:15]Content-Type: application/json [01:13:15] [01:13:15]POST finish read [01:13:15]Found Content-Length = 817 [01:13:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1259816", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 62", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 3.160, "sum" : 200.34, "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" : 200.34 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:13:15]execute_script... [01:13:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1259816", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 62", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 3.160, "sum" : 200.34, "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" : 200.34 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:13:15]POST & json_proto [01:13:15]process_json_proto [01:13:15]json parsed OK: [01:13:15]protocol is kg_v1.0 [01:13:15]action value=close_receipt [01:13:15]process_action close_receipt [01:13:15]cmd_close_receipt [01:13:15]MH_GetDate [01:13:15]Write to MH i2c: F0 00 00 D6 36 FB [01:13:15]Write i2c OK [01:13:15]MH_I2C_Read... [01:13:15]Read from MH i2c: F0 [01:13:15]MH_I2C_Read... [01:13:15]Read from MH i2c: F0 09 00 [01:13:15]MH_I2C_Read... [01:13:15]Read from MH i2c: F0 09 00 D6 36 00 34 39 17 66 B3 F3 14 66 0E [01:13:15]GetLastDocTimeStamp 1712797660 [01:13:15]current date 1712798004 [01:13:15]FM_GetShiftState [01:13:15]SAM_PROTO_GetShiftState [01:13:15]wFMCommunicate request_size=4 [01:13:15]MH_SAM_APDU [01:13:15]CAPDU: 80 13 01 00 [01:13:15]Write to MH i2c: E2 08 00 D7 36 80 13 01 00 00 00 00 00 8A [01:13:15]Write i2c OK [01:13:15]MH_I2C_Read... [01:13:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:13:15]Read from MH i2c: E2 [01:13:15]MH_I2C_Read... [01:13:15]Read from MH i2c: E2 0E 00 [01:13:15]MH_I2C_Read... [01:13:15]Read from MH i2c: E2 0E 00 D7 36 00 09 00 01 42 2F 17 66 00 00 00 00 90 00 84 [01:13:15]RAPDU: 09 00 01 42 2F 17 66 00 00 00 00 90 00 [01:13:15]wFMCommunicate OK [01:13:15]SAM_PROTO_GetShiftState done [01:13:15]FM_GetShiftState done [01:13:15]opened in 1712795458 [01:13:15]opened+sec_in_day 1712881858 [01:13:15]quantity*price = 20034 [01:13:15]sum+1 = 20035 [01:13:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 200.34 НСП 1% : 1.77 НДС 12% : 21.27 Наличными: 0.00 Безнал.: 200.34 Место: АЗС № 121 "Партнер Нефть" Адрес: 720001, с. Ивановка, ул. Г. Ильина 1 А/1, 42.881777, 75.107954 СНО: Общий режим Чек 5 11.04.2024 01:13 Смена: 273 ФФД: 1.0 ЗНМ: 0300000024 РНМ: 0000000000090617 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874742 ФД: 70448 ФПД: 168477754266310 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240411T011324&type=1&operation_type=1&fn_number=0000000000874742&fd_number=70448&fm=168477754266310&tin=02508201610067®Number=0000000000090617&sum=20034 [01:13:16]StoreToDocumentArchive [01:13:16]shift 273 fd 70448 [01:13:16]save to /storage/0273/doc_00070448 [01:13:16]save last doc name /storage/0273/doc_00070448 to /storage/kkm_last_doc_name [01:13:16]save OK [01:13:16]Clear old archive folders... [01:13:16]ProcessDocumentItem done err = 0, tmpTLVsize=251 [01:13:16]tlvbuf is 02419180 [01:13:16]SAM_PROTO_ClearQueue [01:13:16]wFMCommunicate request_size=4 [01:13:16]MH_SAM_APDU [01:13:16]CAPDU: 80 09 00 00 [01:13:16]Write to MH i2c: E2 08 00 E4 36 80 09 00 00 00 00 00 00 8C [01:13:16]Write i2c OK [01:13:16]MH_I2C_Read... [01:13:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:13:16]Read from MH i2c: E2 [01:13:16]MH_I2C_Read... [01:13:16]Read from MH i2c: E2 03 00 [01:13:16]MH_I2C_Read... [01:13:16]Read from MH i2c: E2 03 00 E4 36 00 90 00 8E [01:13:16]RAPDU: 90 00 [01:13:16]wFMCommunicate OK [01:13:16]SAM_PROTO_ClearQueue done [01:13:16]KKMCreateOFDPacket [01:13:16]OFDProtocolAddRootSTLVToBuf [01:13:16]FM_MakeSignedData [01:13:16]FM_MakeSignedData [01:13:16]SAM_PROTO_SignData [01:13:16]wFMCommunicate request_size=4 [01:13:16]MH_SAM_APDU [01:13:16]CAPDU: 80 0D 01 02 [01:13:16]Write to MH i2c: E2 08 00 E5 36 80 0D 01 02 00 00 00 00 94 [01:13:16]Write i2c OK [01:13:16]MH_I2C_Read... [01:13:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:13:16]Read from MH i2c: E2 [01:13:16]MH_I2C_Read... [01:13:16]Read from MH i2c: E2 03 00 [01:13:16]MH_I2C_Read... [01:13:16]Read from MH i2c: E2 03 00 E5 36 00 90 00 8F [01:13:16]RAPDU: 90 00 [01:13:16]wFMCommunicate OK [01:13:16]wFMCommunicate request_size=255 [01:13:16]MH_SAM_APDU [01:13:16]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 58 0C 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 42 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 42 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 42 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 34 39 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 30 13 01 00 35 04 06 00 99 [01:13:16]Write to MH i2c: E2 02 01 E6 36 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 58 0C 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 42 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 42 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 42 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 34 39 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 30 13 01 00 35 04 06 00 99 00 00 72 [01:13:16]Write i2c OK [01:13:16]MH_I2C_Read... [01:13:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:13:17]Read from MH i2c: E2 [01:13:17]MH_I2C_Read... [01:13:17]Read from MH i2c: E2 03 00 [01:13:17]MH_I2C_Read... [01:13:17]Read from MH i2c: E2 03 00 E6 36 00 90 00 90 [01:13:17]RAPDU: 90 00 [01:13:17]wFMCommunicate OK [01:13:17]wFMCommunicate request_size=10 [01:13:17]MH_SAM_APDU [01:13:17]CAPDU: 80 0D 02 02 05 3A C8 B2 12 C6 [01:13:17]Write to MH i2c: E2 0D 00 E7 36 80 0D 02 02 05 00 3A C8 B2 12 C6 00 00 2D [01:13:17]Write i2c OK [01:13:17]MH_I2C_Read... [01:13:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:13:17]Read from MH i2c: E2 [01:13:17]MH_I2C_Read... [01:13:17]Read from MH i2c: E2 03 00 [01:13:17]MH_I2C_Read... [01:13:17]Read from MH i2c: E2 03 00 E7 36 00 90 00 91 [01:13:17]RAPDU: 90 00 [01:13:17]wFMCommunicate OK [01:13:17]wFMCommunicate request_size=4 [01:13:17]MH_SAM_APDU [01:13:17]CAPDU: 80 0D 03 02 [01:13:17]Write to MH i2c: E2 08 00 E8 36 80 0D 03 02 00 00 00 00 99 [01:13:17]Write i2c OK [01:13:17]MH_I2C_Read... [01:13:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:13:17]Read from MH i2c: E2 [01:13:17]MH_I2C_Read... [01:13:17]Read from MH i2c: E2 0B 00 [01:13:17]MH_I2C_Read... [01:13:17]Read from MH i2c: E2 0B 00 E8 36 00 58 20 AC CD 9F B4 14 D8 90 00 CA [01:13:17]RAPDU: 58 20 AC CD 9F B4 14 D8 90 00 [01:13:17]wFMCommunicate OK [01:13:17]SAM_PROTO_SignData done [01:13:17]FM_MakeSignedData done [01:13:17]CreateOFDProtocolMessage [01:13:17]wFMCommunicate request_size=4 [01:13:17]MH_SAM_APDU [01:13:17]CAPDU: 80 11 00 00 [01:13:17]Write to MH i2c: E2 08 00 E9 36 80 11 00 00 00 00 00 00 99 [01:13:17]Write i2c OK [01:13:17]MH_I2C_Read... [01:13:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:13:17]Read from MH i2c: E2 [01:13:17]MH_I2C_Read... [01:13:17]Read from MH i2c: E2 17 00 [01:13:17]MH_I2C_Read... [01:13:17]Read from MH i2c: E2 17 00 E9 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 EC [01:13:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [01:13:17]wFMCommunicate OK [01:13:17]CreateOFDProtocolMessage done [01:13:17]OFDSenderStorePacket 70448 [01:13:17]StoreOFDPacket docnum=70448 [01:13:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 0F 01 00 00 78 BD 07 01 15 E6 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 58 0C 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 42 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 42 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 42 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 34 39 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 30 13 01 00 35 04 06 00 99 3A C8 B2 12 C6 58 20 AC CD 9F B4 14 D8 [01:13:17]CheckFolder [01:13:17]dirname=/storage/ofd_packets [01:13:17]CheckFolder done [01:13:17]ProducePacketName [01:13:17]name=ofd_packets/00070448 [01:13:17]NVStorageSaveData ofd_packets/00070448 [01:13:17]File name is /storage/ofd_packets/00070448 [01:13:17]Write 301 bytes [01:13:17]NVStorageSaveData done [01:13:17]OFDSenderStorePacket done [01:13:17]KKMCreateOFDPacket done [01:13:17]NVStorageSaveData kkm_last_timestamp [01:13:17]File name is /storage/kkm_last_timestamp [01:13:17]Write 4 bytes [01:13:17]NVStorageSaveData done [01:13:17]ExternCall_PrintAddStr [01:13:17]wPrintStart [01:13:17]Write to MH i2c: 01 00 00 EA 36 20 [01:13:17]Write i2c OK [01:13:17]MH_I2C_Read... [01:13:17]Read from MH i2c: 01 [01:13:17]MH_I2C_Read... [01:13:17]Read from MH i2c: 01 07 00 [01:13:17]MH_I2C_Read... [01:13:17]Read from MH i2c: 01 07 00 EA 36 00 00 00 00 00 FF 0F 35 [01:13:17]RasterBufferAndPrint [01:13:17]line Счет N : (1)1259816 [01:13:17]line ИНН: 02508201610067 [01:13:17]line Контрольно-Кассовый Чек [01:13:17]line ПРОДАЖА [01:13:17]line ТРК (МРК, ГНК) : 62 [01:13:17]line Товар: 2710124130 [01:13:17]line Аи-92-К-5 [01:13:17]line 3.160 * 63.40 [01:13:17]line = 200.34 [01:13:17]line НДС 12% НСП 1% [01:13:17]line > о реализуемом товаре [01:13:17]line ИТОГО: 200.34 [01:13:17]line НСП 1% : 1.77 [01:13:17]line НДС 12% : 21.27 [01:13:17]line Наличными: 0.00 [01:13:17]line Безнал.: 200.34 [01:13:17]line Место: АЗС № 121 "Партнер Нефть" [01:13:17]line Адрес: 720001, с. Ивановка, ул. Г. Ильина 1 А/1, 42.881777, 75.107954 [01:13:17]line СНО: Общий режим [01:13:17]line Чек 5 11.04.2024 01:13 [01:13:17]line Смена: 273 ФФД: 1.0 [01:13:17]line ЗНМ: 0300000024 [01:13:17]line РНМ: 0000000000090617 [01:13:17]line Версия ККМ: 001 [01:13:17]line Платежная система: Бакай Банк [01:13:17]line ФМ: 0000000000874742 [01:13:17]line ФД: 70448 [01:13:17]line ФПД: 168477754266310 [01:13:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240411T011324&type=1&operation_type=1&fn_number=0000000000874742&fd_number=70448&fm=168477754266310&tin=02508201610067®Number=0000000000090617&sum=20034 [01:13:17]OFD Sender: Processing packet 70448 [packets to send 7, broken 6] [01:13:17]ProducePacketName [01:13:17]name=ofd_packets/00070448 [01:13:17]OFD Sender: To server: pG, [01:13:17]CommunicateWithHost lk.salyk.kg:30040 [01:13:17]ConnectInit lk.salyk.kg [01:13:17]written 0, free lines is 4095 [01:13:17]Connected sock=10 [01:13:17]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 34 32 0F 01 00 00 78 BD 07 01 15 E6 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 58 0C 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 42 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 42 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4F 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 42 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 34 39 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 30 13 01 00 35 04 06 00 99 3A C8 B2 12 C6 58 20 AC CD 9F B4 14 D8 [01:13: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 34 32 4F 00 00 00 8E 1D 47 00 DA 23 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 30 13 01 00 F4 03 04 00 2C E5 16 66 B6 04 01 00 00 1C 4A A4 B6 CF 31 BC 6E [01:13:17]CommunicateWithHost err = 0 [01:13:17]CheckOFDResponse [01:13:17]1017 (14) - 77093643461234 [01:13:17]1041 (16) - 0000000000874742 [01:13:17]1040 (4) - 70448 [01:13:17]1012 (4) - 10.04.2024 19:14 [01:13:17]1206 (1) - 0 [01:13:17]OFD Sender: Remove packet 70448 [01:13:17]ProducePacketName [01:13:17]name=ofd_packets/00070448 [01:13:17]NVStorageDeleteData [01:13:18]Write to MH i2c: 01 00 00 14 37 4B [01:13:18]Write i2c OK [01:13:18]MH_I2C_Read... [01:13:18]Read from MH i2c: 01 [01:13:18]MH_I2C_Read... [01:13:18]Read from MH i2c: 01 07 00 [01:13:18]MH_I2C_Read... [01:13:18]Read from MH i2c: 01 07 00 14 37 00 00 00 00 00 FB 0C 59 [01:13:18]RasterBufferAndPrint [01:13:18]line [01:13:18]line [01:13:18]line [01:13:18]line [01:13:18]line [01:13:18]written 0, free lines is 3332 [01:13:18]MH_Cut [01:13:18]Write to MH i2c: D1 01 00 1B 37 01 24 [01:13:18]Write i2c OK [01:13:18]MH_I2C_Read... [01:13:18]Read from MH i2c: D1 [01:13:18]MH_I2C_Read... [01:13:18]Read from MH i2c: D1 01 00 [01:13:18]MH_I2C_Read... [01:13:18]Read from MH i2c: D1 01 00 1B 37 00 23 [01:13:18]Write to MH i2c: 01 00 00 1C 37 53 [01:13:18]Write i2c OK [01:13:18]MH_I2C_Read... [01:13:18]OFD Sender: No OFD packet to send [01:13:18]*** Cut start [01:13:18]*** Partial cut [01:13:18]*** CUTSNS_PIN = 1 [01:13:18]*** CUTSNS_PIN = 0 [01:13:18]*** Brake cut motor [01:13:19]Read from MH i2c: 01 [01:13:19]MH_I2C_Read... [01:13:19]*** Stop cut motor [01:13:19]*** Cut end [01:13:19]Read from MH i2c: 01 07 00 [01:13:19]MH_I2C_Read... [01:13:19]Read from MH i2c: 01 07 00 1C 37 00 00 00 00 00 FF 0F 68 [01:13:19]process_action close_receipt done [01:13:19]requested_data is exist [01:13:19]produce_requested_data [01:13:19]requested_item fm.sn is exist - process it [01:13:19]wFMCommunicate request_size=4 [01:13:19]MH_SAM_APDU [01:13:19]CAPDU: 80 11 00 00 [01:13:19]Write to MH i2c: E2 08 00 1D 37 80 11 00 00 00 00 00 00 CE [01:13:19]Write i2c OK [01:13:19]MH_I2C_Read... [01:13:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:13:19]Read from MH i2c: E2 [01:13:19]MH_I2C_Read... [01:13:19]Read from MH i2c: E2 17 00 [01:13:19]MH_I2C_Read... [01:13:19]Read from MH i2c: E2 17 00 1D 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 21 [01:13:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [01:13:19]wFMCommunicate OK [01:13:19]requested_item fd.num is exist - process it [01:13:19]SAM_PROTO_GetFieldsCounters [01:13:19]wFMCommunicate request_size=4 [01:13:19]MH_SAM_APDU [01:13:19]CAPDU: 80 13 00 00 [01:13:19]Write to MH i2c: E2 08 00 1E 37 80 13 00 00 00 00 00 00 D1 [01:13:19]Write i2c OK [01:13:19]MH_I2C_Read... [01:13:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:13:19]Read from MH i2c: E2 [01:13:19]MH_I2C_Read... [01:13:19]Read from MH i2c: E2 62 00 [01:13:19]MH_I2C_Read... [01:13:19]Read from MH i2c: E2 62 00 1E 37 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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 30 13 01 00 0E 04 04 00 11 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 55 [01:13: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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 30 13 01 00 0E 04 04 00 11 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 [01:13:19]wFMCommunicate OK [01:13:19]SAM_PROTO_GetFieldsCounters done [01:13:19]requested_item shift.num is exist - process it [01:13:19]requested_item shift.opened is exist - process it [01:13:19]req_shift_opened [01:13:19]FM_GetShiftState [01:13:19]SAM_PROTO_GetShiftState [01:13:19]wFMCommunicate request_size=4 [01:13:19]MH_SAM_APDU [01:13:19]CAPDU: 80 13 01 00 [01:13:19]Write to MH i2c: E2 08 00 1F 37 80 13 01 00 00 00 00 00 D3 [01:13:19]Write i2c OK [01:13:19]MH_I2C_Read... [01:13:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:13:19]Read from MH i2c: E2 [01:13:19]MH_I2C_Read... [01:13:19]Read from MH i2c: E2 0E 00 [01:13:19]MH_I2C_Read... [01:13:19]Read from MH i2c: E2 0E 00 1F 37 00 09 00 01 42 2F 17 66 00 00 00 00 90 00 CD [01:13:19]RAPDU: 09 00 01 42 2F 17 66 00 00 00 00 90 00 [01:13:19]wFMCommunicate OK [01:13:19]SAM_PROTO_GetShiftState done [01:13:19]FM_GetShiftState done [01:13:19]req_shift_opened done [01:13:19]requested_item shift.open_date is exist - process it [01:13:19]req_shift_open_date [01:13:19]req_shift_open_date done [01:13:19]produce_requested_data done [01:13:19]produce_requested_data return {"fm.sn":"0000000000874742","fd.num":70448,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458} [01:13:19]process_action_free close_receipt [01:13:19]json_value_free [01:13:19]json_value_free done [01:13:19]process_json_proto returns [01:13:19]Send response to host [01:13:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874742","fd.num":70448,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458}}} [01:13:19]free response buf [01:13:19]execute_script done [01:13:19]execute_script returns [01:13:19]free content buf [01:13:19]Sock 7.Close socket [01:13:19]Sock 7.Thread stoped [01:13:23]OFD Sender: No OFD packet to send [01:13:28]OFD Sender: No OFD packet to send [01:13:33]OFD Sender: No OFD packet to send [01:13:38]OFD Sender: No OFD packet to send [01:13:43]OFD Sender: No OFD packet to send [01:13:48]OFD Sender: No OFD packet to send [01:13:53]OFD Sender: No OFD packet to send [01:13:58]OFD Sender: No OFD packet to send [01:14:03]OFD Sender: No OFD packet to send [01:14:08]OFD Sender: No OFD packet to send [01:14:13]OFD Sender: No OFD packet to send [01:14:18]OFD Sender: No OFD packet to send [01:14:23]OFD Sender: No OFD packet to send [01:14:28]OFD Sender: No OFD packet to send [01:14:33]OFD Sender: No OFD packet to send [01:14:38]OFD Sender: No OFD packet to send [01:14:43]OFD Sender: No OFD packet to send [01:14:48]OFD Sender: No OFD packet to send [01:14:53]OFD Sender: No OFD packet to send [01:14:58]OFD Sender: No OFD packet to send [01:15:03]OFD Sender: No OFD packet to send [01:15:08]OFD Sender: No OFD packet to send [01:15:13]OFD Sender: No OFD packet to send [01:15:18]OFD Sender: No OFD packet to send [01:15:23]OFD Sender: No OFD packet to send [01:15:28]OFD Sender: No OFD packet to send [01:15:33]OFD Sender: No OFD packet to send [01:15:38]OFD Sender: No OFD packet to send [01:15:43]OFD Sender: No OFD packet to send [01:15:48]OFD Sender: No OFD packet to send [01:15:53]OFD Sender: No OFD packet to send [01:15:58]OFD Sender: No OFD packet to send [01:16:03]OFD Sender: No OFD packet to send [01:16:08]OFD Sender: No OFD packet to send [01:16:13]OFD Sender: No OFD packet to send [01:16:18]OFD Sender: No OFD packet to send [01:16:23]OFD Sender: No OFD packet to send [01:16:28]OFD Sender: No OFD packet to send [01:16:33]OFD Sender: No OFD packet to send [01:16:38]OFD Sender: No OFD packet to send [01:16:43]OFD Sender: No OFD packet to send [01:16:48]OFD Sender: No OFD packet to send [01:16:53]OFD Sender: No OFD packet to send [01:16:58]OFD Sender: No OFD packet to send [01:17:03]OFD Sender: No OFD packet to send [01:17:08]OFD Sender: No OFD packet to send [01:17:13]OFD Sender: No OFD packet to send [01:17:18]OFD Sender: No OFD packet to send [01:17:23]OFD Sender: No OFD packet to send [01:17:28]OFD Sender: No OFD packet to send [01:17:33]OFD Sender: No OFD packet to send [01:17:38]OFD Sender: No OFD packet to send [01:17:43]OFD Sender: No OFD packet to send [01:17:48]OFD Sender: No OFD packet to send [01:17:53]OFD Sender: No OFD packet to send [01:17:58]OFD Sender: No OFD packet to send [01:18:03]OFD Sender: No OFD packet to send [01:18:08]OFD Sender: No OFD packet to send [01:18:13]OFD Sender: No OFD packet to send [01:18:18]OFD Sender: No OFD packet to send [01:18:23]OFD Sender: No OFD packet to send [01:18:28]OFD Sender: No OFD packet to send [01:18:33]OFD Sender: No OFD packet to send [01:18:38]OFD Sender: No OFD packet to send [01:18:43]OFD Sender: No OFD packet to send [01:18:48]OFD Sender: No OFD packet to send [01:18:53]OFD Sender: No OFD packet to send [01:18:58]OFD Sender: No OFD packet to send [01:19:03]OFD Sender: No OFD packet to send [01:19:08]OFD Sender: No OFD packet to send [01:19:13]OFD Sender: No OFD packet to send [01:19:18]OFD Sender: No OFD packet to send [01:19:23]OFD Sender: No OFD packet to send [01:19:28]OFD Sender: No OFD packet to send [01:19:33]OFD Sender: No OFD packet to send [01:19:38]OFD Sender: No OFD packet to send [01:19:43]OFD Sender: No OFD packet to send [01:19:48]OFD Sender: No OFD packet to send [01:19:53]OFD Sender: No OFD packet to send [01:19:58]OFD Sender: No OFD packet to send [01:20:03]OFD Sender: No OFD packet to send [01:20:08]OFD Sender: No OFD packet to send [01:20:13]OFD Sender: No OFD packet to send [01:20:18]OFD Sender: No OFD packet to send [01:20:23]OFD Sender: No OFD packet to send [01:20:28]OFD Sender: No OFD packet to send [01:20:33]OFD Sender: No OFD packet to send [01:20:38]OFD Sender: No OFD packet to send [01:20:43]OFD Sender: No OFD packet to send [01:20:48]OFD Sender: No OFD packet to send [01:20:53]OFD Sender: No OFD packet to send [01:20:58]OFD Sender: No OFD packet to send [01:21:03]OFD Sender: No OFD packet to send [01:21:08]OFD Sender: No OFD packet to send [01:21:13]OFD Sender: No OFD packet to send [01:21:18]OFD Sender: No OFD packet to send [01:21:23]OFD Sender: No OFD packet to send [01:21:28]OFD Sender: No OFD packet to send [01:21:33]OFD Sender: No OFD packet to send [01:21:38]OFD Sender: No OFD packet to send [01:21:43]OFD Sender: No OFD packet to send [01:21:48]OFD Sender: No OFD packet to send [01:21:53]OFD Sender: No OFD packet to send [01:21:58]OFD Sender: No OFD packet to send [01:22:03]OFD Sender: No OFD packet to send [01:22:08]OFD Sender: No OFD packet to send [01:22:13]OFD Sender: No OFD packet to send [01:22:18]OFD Sender: No OFD packet to send [01:22:23]OFD Sender: No OFD packet to send [01:22:28]OFD Sender: No OFD packet to send [01:22:33]OFD Sender: No OFD packet to send [01:22:38]OFD Sender: No OFD packet to send [01:22:43]OFD Sender: No OFD packet to send [01:22:48]OFD Sender: No OFD packet to send [01:22:53]OFD Sender: No OFD packet to send [01:22:58]OFD Sender: No OFD packet to send [01:23:03]OFD Sender: No OFD packet to send [01:23:08]OFD Sender: No OFD packet to send [01:23:13]OFD Sender: No OFD packet to send [01:23:18]OFD Sender: No OFD packet to send [01:23:23]OFD Sender: No OFD packet to send [01:23:28]OFD Sender: No OFD packet to send [01:23:33]OFD Sender: No OFD packet to send [01:23:38]OFD Sender: No OFD packet to send [01:23:43]OFD Sender: No OFD packet to send [01:23:48]OFD Sender: No OFD packet to send [01:23:53]OFD Sender: No OFD packet to send [01:23:58]OFD Sender: No OFD packet to send [01:24:03]OFD Sender: No OFD packet to send [01:24:08]OFD Sender: No OFD packet to send [01:24:13]OFD Sender: No OFD packet to send [01:24:18]OFD Sender: No OFD packet to send [01:24:23]OFD Sender: No OFD packet to send [01:24:28]OFD Sender: No OFD packet to send [01:24:33]OFD Sender: No OFD packet to send [01:24:38]OFD Sender: No OFD packet to send [01:24:43]OFD Sender: No OFD packet to send [01:24:48]OFD Sender: No OFD packet to send [01:24:53]OFD Sender: No OFD packet to send [01:24:58]OFD Sender: No OFD packet to send [01:25:03]OFD Sender: No OFD packet to send [01:25:08]OFD Sender: No OFD packet to send [01:25:13]OFD Sender: No OFD packet to send [01:25:18]OFD Sender: No OFD packet to send [01:25:23]OFD Sender: No OFD packet to send [01:25:28]OFD Sender: No OFD packet to send [01:25:33]OFD Sender: No OFD packet to send [01:25:38]OFD Sender: No OFD packet to send [01:25:43]OFD Sender: No OFD packet to send [01:25:48]OFD Sender: No OFD packet to send [01:25:53]OFD Sender: No OFD packet to send [01:25:58]OFD Sender: No OFD packet to send [01:26:03]OFD Sender: No OFD packet to send [01:26:08]OFD Sender: No OFD packet to send [01:26:14]OFD Sender: No OFD packet to send [01:26:19]OFD Sender: No OFD packet to send [01:26:24]OFD Sender: No OFD packet to send [01:26:29]OFD Sender: No OFD packet to send [01:26:34]OFD Sender: No OFD packet to send [01:26:39]OFD Sender: No OFD packet to send [01:26:44]OFD Sender: No OFD packet to send [01:26:49]OFD Sender: No OFD packet to send [01:26:54]OFD Sender: No OFD packet to send [01:26:59]OFD Sender: No OFD packet to send [01:27:04]OFD Sender: No OFD packet to send [01:27:09]OFD Sender: No OFD packet to send [01:27:14]OFD Sender: No OFD packet to send [01:27:19]OFD Sender: No OFD packet to send [01:27:24]OFD Sender: No OFD packet to send [01:27:29]OFD Sender: No OFD packet to send [01:27:34]OFD Sender: No OFD packet to send [01:27:39]OFD Sender: No OFD packet to send [01:27:44]OFD Sender: No OFD packet to send [01:27:49]OFD Sender: No OFD packet to send [01:27:51]accept exits with 9 [01:27:51]New connection [01:27:51]New thread 3066879332 created [01:27:51]Thread 3066735972 joined [01:27:51]Waiting for new connection... [01:27:51] Sock 9.Parse request [01:27:51]Sock 9.Check first char [01:27:51]Sock 9.First char is OK [01:27:51]request: POST /json_proto HTTP/1.0 [01:27:51]Method: POST [01:27:51]URL: /json_proto [01:27:51]Method is POST - this is cgi request [01:27:51]url: /json_proto [01:27:51]query_string will be loaded in cgi processing [01:27:51]execute_cgi json_proto POST (null) [01:27:51]execute_cgi path=json_proto method=POST [01:27:51]POST find Content-Length [01:27:51]Host: 172.17.34.200:8080 [01:27:51]Content-Length: 215 [01:27:51]Content-Type: application/json [01:27:51] [01:27:51]POST finish read [01:27:51]Found Content-Length = 215 [01:27:51]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" ] } } [01:27:51]execute_script... [01:27:51]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" ] } } [01:27:51]POST & json_proto [01:27:51]process_json_proto [01:27:51]json parsed OK: [01:27:51]protocol is kg_v1.0 [01:27:51]action value=get_value [01:27:51]process_action get_value [01:27:51]cmd_get_value [01:27:51]process_action get_value done [01:27:51]requested_data is exist [01:27:51]produce_requested_data [01:27:51]requested_item kkm.sn is exist - process it [01:27:51]requested_item kkm.ver is exist - process it [01:27:51]requested_item fm.sn is exist - process it [01:27:51]wFMCommunicate request_size=4 [01:27:51]MH_SAM_APDU [01:27:51]CAPDU: 80 11 00 00 [01:27:51]Write to MH i2c: E2 08 00 20 37 80 11 00 00 00 00 00 00 D1 [01:27:51]Write i2c OK [01:27:51]MH_I2C_Read... [01:27:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:27:51]Read from MH i2c: E2 [01:27:51]MH_I2C_Read... [01:27:51]Read from MH i2c: E2 17 00 [01:27:51]MH_I2C_Read... [01:27:51]Read from MH i2c: E2 17 00 20 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 24 [01:27:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [01:27:51]wFMCommunicate OK [01:27:51]requested_item fd.num is exist - process it [01:27:51]SAM_PROTO_GetFieldsCounters [01:27:51]wFMCommunicate request_size=4 [01:27:51]MH_SAM_APDU [01:27:51]CAPDU: 80 13 00 00 [01:27:51]Write to MH i2c: E2 08 00 21 37 80 13 00 00 00 00 00 00 D4 [01:27:51]Write i2c OK [01:27:51]MH_I2C_Read... [01:27:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:27:51]Read from MH i2c: E2 [01:27:51]MH_I2C_Read... [01:27:51]Read from MH i2c: E2 62 00 [01:27:51]MH_I2C_Read... [01:27:51]Read from MH i2c: E2 62 00 21 37 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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 30 13 01 00 0E 04 04 00 11 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 58 [01:27: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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 30 13 01 00 0E 04 04 00 11 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 [01:27:51]wFMCommunicate OK [01:27:51]SAM_PROTO_GetFieldsCounters done [01:27:51]requested_item shift.num is exist - process it [01:27:51]requested_item shift.opened is exist - process it [01:27:51]req_shift_opened [01:27:51]FM_GetShiftState [01:27:51]SAM_PROTO_GetShiftState [01:27:51]wFMCommunicate request_size=4 [01:27:51]MH_SAM_APDU [01:27:51]CAPDU: 80 13 01 00 [01:27:51]Write to MH i2c: E2 08 00 22 37 80 13 01 00 00 00 00 00 D6 [01:27:51]Write i2c OK [01:27:51]MH_I2C_Read... [01:27:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:27:51]Read from MH i2c: E2 [01:27:51]MH_I2C_Read... [01:27:51]Read from MH i2c: E2 0E 00 [01:27:51]MH_I2C_Read... [01:27:51]Read from MH i2c: E2 0E 00 22 37 00 09 00 01 42 2F 17 66 00 00 00 00 90 00 D0 [01:27:51]RAPDU: 09 00 01 42 2F 17 66 00 00 00 00 90 00 [01:27:51]wFMCommunicate OK [01:27:51]SAM_PROTO_GetShiftState done [01:27:51]FM_GetShiftState done [01:27:51]req_shift_opened done [01:27:51]requested_item shift.open_date is exist - process it [01:27:51]req_shift_open_date [01:27:51]req_shift_open_date done [01:27:51]produce_requested_data done [01:27:51]produce_requested_data return {"kkm.sn":"0300000024","kkm.ver":"001","fm.sn":"0000000000874742","fd.num":70448,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458} [01:27:51]process_action_free get_value [01:27:51]json_value_free [01:27:51]json_value_free done [01:27:51]process_json_proto returns [01:27:51]Send response to host [01:27:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000024","kkm.ver":"001","fm.sn":"0000000000874742","fd.num":70448,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458}}} [01:27:51]free response buf [01:27:51]execute_script done [01:27:51]execute_script returns [01:27:51]free content buf [01:27:51]Sock 9.Close socket [01:27:51]Sock 9.Thread stoped [01:27:51]accept exits with 7 [01:27:51]New connection [01:27:51]New thread 3066735972 created [01:27:51]Thread 3066879332 joined [01:27:51]Waiting for new connection... [01:27:51] Sock 7.Parse request [01:27:51]Sock 7.Check first char [01:27:51]Sock 7.First char is OK [01:27:51]request: POST /json_proto HTTP/1.0 [01:27:51]Method: POST [01:27:51]URL: /json_proto [01:27:51]Method is POST - this is cgi request [01:27:51]url: /json_proto [01:27:51]query_string will be loaded in cgi processing [01:27:51]execute_cgi json_proto POST (null) [01:27:51]execute_cgi path=json_proto method=POST [01:27:51]POST find Content-Length [01:27:51]Host: 172.17.34.200:8080 [01:27:51]Content-Length: 331 [01:27:51]Content-Type: application/json [01:27:51] [01:27:51]POST finish read [01:27:51]Found Content-Length = 331 [01:27:51]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" ] } } [01:27:51]execute_script... [01:27:51]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" ] } } [01:27:51]POST & json_proto [01:27:51]process_json_proto [01:27:51]json parsed OK: [01:27:51]protocol is kg_v1.0 [01:27:51]action value=get_value [01:27:51]process_action get_value [01:27:51]cmd_get_value [01:27:51]process_action get_value done [01:27:51]requested_data is exist [01:27:51]produce_requested_data [01:27:51]requested_item fm.sale.total is exist - process it [01:27:51]SAM_PROTO_GetFMData [01:27:51]wFMCommunicate request_size=4 [01:27:51]MH_SAM_APDU [01:27:51]CAPDU: 80 13 03 00 [01:27:51]Write to MH i2c: E2 08 00 23 37 80 13 03 00 00 00 00 00 D9 [01:27:51]Write i2c OK [01:27:51]MH_I2C_Read... [01:27:52]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [01:27:52]Read from MH i2c: E2 [01:27:52]MH_I2C_Read... [01:27:52]Read from MH i2c: E2 FD 00 [01:27:52]MH_I2C_Read... [01:27:52]Read from MH i2c: E2 FD 00 23 37 00 C8 04 85 04 C4 04 6E 04 04 00 0D 11 01 00 69 04 A3 00 6F 04 04 00 6F 0D 01 00 B1 04 05 00 EE 6A 47 B2 01 70 04 05 00 B8 6D 7B 12 01 72 04 04 00 36 FD CB 9F 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 19 28 20 2E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 BD EE D7 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9F 00 6F 04 04 00 9E 03 00 00 B1 04 04 00 74 34 75 23 70 04 04 00 40 EC 6E 23 72 04 03 00 34 48 06 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 7D FD C3 03 90 00 C0 [01:27:52]RAPDU: C8 04 85 04 C4 04 6E 04 04 00 0D 11 01 00 69 04 A3 00 6F 04 04 00 6F 0D 01 00 B1 04 05 00 EE 6A 47 B2 01 70 04 05 00 B8 6D 7B 12 01 72 04 04 00 36 FD CB 9F 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 19 28 20 2E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 BD EE D7 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9F 00 6F 04 04 00 9E 03 00 00 B1 04 04 00 74 34 75 23 70 04 04 00 40 EC 6E 23 72 04 03 00 34 48 06 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 7D FD C3 03 90 00 [01:27:52]wFMCommunicate OK [01:27:52]wFMCommunicate request_size=4 [01:27:52]MH_SAM_APDU [01:27:52]CAPDU: 80 17 00 00 [01:27:52]Write to MH i2c: E2 08 00 24 37 80 17 00 00 00 00 00 00 DB [01:27:52]Write i2c OK [01:27:52]MH_I2C_Read... [01:27:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:27:52]Read from MH i2c: E2 [01:27:52]MH_I2C_Read... [01:27:52]Read from MH i2c: E2 FD 00 [01:27:52]MH_I2C_Read... [01:27:52]Read from MH i2c: E2 FD 00 24 37 00 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 CD 54 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 48 [01:27:52]RAPDU: 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 CD 54 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:27:52]wFMCommunicate OK [01:27:52]wFMCommunicate request_size=4 [01:27:52]MH_SAM_APDU [01:27:52]CAPDU: 80 17 00 00 [01:27:52]Write to MH i2c: E2 08 00 25 37 80 17 00 00 00 00 00 00 DC [01:27:52]Write i2c OK [01:27:52]MH_I2C_Read... [01:27:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:27:52]Read from MH i2c: E2 [01:27:52]MH_I2C_Read... [01:27:52]Read from MH i2c: E2 FD 00 [01:27:52]MH_I2C_Read... [01:27:52]Read from MH i2c: E2 FD 00 25 37 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B4 [01:27:52]RAPDU: 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:27:52]wFMCommunicate OK [01:27:52]wFMCommunicate request_size=4 [01:27:52]MH_SAM_APDU [01:27:52]CAPDU: 80 17 00 00 [01:27:52]Write to MH i2c: E2 08 00 26 37 80 17 00 00 00 00 00 00 DD [01:27:52]Write i2c OK [01:27:52]MH_I2C_Read... [01:27:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:27:52]Read from MH i2c: E2 [01:27:52]MH_I2C_Read... [01:27:52]Read from MH i2c: E2 FD 00 [01:27:52]MH_I2C_Read... [01:27:52]Read from MH i2c: E2 FD 00 26 37 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 90 00 55 [01:27:52]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 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 90 00 [01:27:52]wFMCommunicate OK [01:27:52]wFMCommunicate request_size=4 [01:27:52]MH_SAM_APDU [01:27:52]CAPDU: 80 17 00 00 [01:27:52]Write to MH i2c: E2 08 00 27 37 80 17 00 00 00 00 00 00 DE [01:27:52]Write i2c OK [01:27:52]MH_I2C_Read... [01:27:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 226! [01:27:53]Read from MH i2c: E2 [01:27:53]MH_I2C_Read... [01:27:53]Read from MH i2c: E2 E5 00 [01:27:53]MH_I2C_Read... [01:27:53]Read from MH i2c: E2 E5 00 27 37 00 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C2 [01:27:53]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [01:27:53]wFMCommunicate OK [01:27:53]SAM_PROTO_GetFMData done [01:27:53]requested_item fm.sale_refund.total is exist - process it [01:27:53]requested_item fm.buy.total is exist - process it [01:27:53]requested_item shift.sale.total is exist - process it [01:27:53]SAM_PROTO_GetShiftData [01:27:53]wFMCommunicate request_size=4 [01:27:53]MH_SAM_APDU [01:27:53]CAPDU: 80 13 02 00 [01:27:53]Write to MH i2c: E2 08 00 28 37 80 13 02 00 00 00 00 00 DD [01:27:53]Write i2c OK [01:27:53]MH_I2C_Read... [01:27:53]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:27:53]Read from MH i2c: E2 [01:27:53]MH_I2C_Read... [01:27:53]Read from MH i2c: E2 FD 00 [01:27:53]MH_I2C_Read... [01:27:53]Read from MH i2c: E2 FD 00 28 37 00 AE 04 AA 04 AA 04 6E 04 04 00 05 00 00 00 69 04 9B 00 6F 04 04 00 05 00 00 00 B1 04 03 00 C3 06 0A 70 04 03 00 D8 53 01 72 04 03 00 EB B2 08 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 9C 10 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 B8 16 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C7 [01:27:53]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 05 00 00 00 69 04 9B 00 6F 04 04 00 05 00 00 00 B1 04 03 00 C3 06 0A 70 04 03 00 D8 53 01 72 04 03 00 EB B2 08 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 9C 10 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 B8 16 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [01:27:53]wFMCommunicate OK [01:27:53]wFMCommunicate request_size=4 [01:27:53]MH_SAM_APDU [01:27:53]CAPDU: 80 17 00 00 [01:27:53]Write to MH i2c: E2 08 00 29 37 80 17 00 00 00 00 00 00 E0 [01:27:53]Write i2c OK [01:27:53]MH_I2C_Read... [01:27:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:27:53]Read from MH i2c: E2 [01:27:53]MH_I2C_Read... [01:27:53]Read from MH i2c: E2 FD 00 [01:27:53]MH_I2C_Read... [01:27:53]Read from MH i2c: E2 FD 00 29 37 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 02 [01:27: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 [01:27:53]wFMCommunicate OK [01:27:53]wFMCommunicate request_size=4 [01:27:53]MH_SAM_APDU [01:27:53]CAPDU: 80 17 00 00 [01:27:53]Write to MH i2c: E2 08 00 2A 37 80 17 00 00 00 00 00 00 E1 [01:27:54]Write i2c OK [01:27:54]MH_I2C_Read... [01:27:54]OFD Sender: No OFD packet to send [01:27:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:27:54]Read from MH i2c: E2 [01:27:54]MH_I2C_Read... [01:27:54]Read from MH i2c: E2 FD 00 [01:27:54]MH_I2C_Read... [01:27:54]Read from MH i2c: E2 FD 00 2A 37 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 98 [01:27: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 [01:27:54]wFMCommunicate OK [01:27:54]wFMCommunicate request_size=4 [01:27:54]MH_SAM_APDU [01:27:54]CAPDU: 80 17 00 00 [01:27:54]Write to MH i2c: E2 08 00 2B 37 80 17 00 00 00 00 00 00 E2 [01:27:54]Write i2c OK [01:27:54]MH_I2C_Read... [01:27:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:27:54]Read from MH i2c: E2 [01:27:54]MH_I2C_Read... [01:27:54]Read from MH i2c: E2 FD 00 [01:27:54]MH_I2C_Read... [01:27:54]Read from MH i2c: E2 FD 00 2B 37 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 54 [01:27: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 [01:27:54]wFMCommunicate OK [01:27:54]wFMCommunicate request_size=4 [01:27:54]MH_SAM_APDU [01:27:54]CAPDU: 80 17 00 00 [01:27:54]Write to MH i2c: E2 08 00 2C 37 80 17 00 00 00 00 00 00 E3 [01:27:54]Write i2c OK [01:27:54]MH_I2C_Read... [01:27:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [01:27:54]Read from MH i2c: E2 [01:27:54]MH_I2C_Read... [01:27:54]Read from MH i2c: E2 CB 00 [01:27:54]MH_I2C_Read... [01:27:54]Read from MH i2c: E2 CB 00 2C 37 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 CC [01:27: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 [01:27:54]wFMCommunicate OK [01:27:54]SAM_PROTO_GetShiftData done [01:27:54]requested_item shift.sale.total_cash is exist - process it [01:27:54]requested_item shift.sale_refund.total is exist - process it [01:27:54]requested_item shift.sale_refund.total_cash is exist - process it [01:27:54]requested_item shift.buy.total is exist - process it [01:27:54]requested_item shift.buy.total_cash is exist - process it [01:27:54]produce_requested_data done [01:27:54]produce_requested_data return {"fm.sale.total":72859921.74,"fm.sale_refund.total":5948837.00,"fm.buy.total":0.00,"shift.sale.total":6570.91,"shift.sale.total_cash":870.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} [01:27:54]process_action_free get_value [01:27:54]json_value_free [01:27:54]json_value_free done [01:27:54]process_json_proto returns [01:27:54]Send response to host [01:27:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":72859921.74,"fm.sale_refund.total":5948837.00,"fm.buy.total":0.00,"shift.sale.total":6570.91,"shift.sale.total_cash":870.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}}} [01:27:54]free response buf [01:27:54]execute_script done [01:27:54]execute_script returns [01:27:54]free content buf [01:27:54]Sock 7.Close socket [01:27:54]Sock 7.Thread stoped [01:27:59]OFD Sender: No OFD packet to send [01:28:04]OFD Sender: No OFD packet to send [01:28:09]OFD Sender: No OFD packet to send [01:28:14]OFD Sender: No OFD packet to send [01:28:19]OFD Sender: No OFD packet to send [01:28:24]OFD Sender: No OFD packet to send [01:28:29]OFD Sender: No OFD packet to send [01:28:34]OFD Sender: No OFD packet to send [01:28:39]OFD Sender: No OFD packet to send [01:28:44]OFD Sender: No OFD packet to send [01:28:49]OFD Sender: No OFD packet to send [01:28:54]OFD Sender: No OFD packet to send [01:28:59]OFD Sender: No OFD packet to send [01:29:04]OFD Sender: No OFD packet to send [01:29:09]OFD Sender: No OFD packet to send [01:29:14]OFD Sender: No OFD packet to send [01:29:19]OFD Sender: No OFD packet to send [01:29:24]OFD Sender: No OFD packet to send [01:29:29]OFD Sender: No OFD packet to send [01:29:34]OFD Sender: No OFD packet to send [01:29:39]OFD Sender: No OFD packet to send [01:29:44]OFD Sender: No OFD packet to send [01:29:49]OFD Sender: No OFD packet to send [01:29:54]OFD Sender: No OFD packet to send [01:29:59]OFD Sender: No OFD packet to send [01:30:04]OFD Sender: No OFD packet to send [01:30:09]OFD Sender: No OFD packet to send [01:30:14]OFD Sender: No OFD packet to send [01:30:19]OFD Sender: No OFD packet to send [01:30:24]OFD Sender: No OFD packet to send [01:30:29]OFD Sender: No OFD packet to send [01:30:34]OFD Sender: No OFD packet to send [01:30:39]OFD Sender: No OFD packet to send [01:30:44]OFD Sender: No OFD packet to send [01:30:49]OFD Sender: No OFD packet to send [01:30:54]OFD Sender: No OFD packet to send [01:30:59]OFD Sender: No OFD packet to send [01:31:04]OFD Sender: No OFD packet to send [01:31:09]OFD Sender: No OFD packet to send [01:31:14]OFD Sender: No OFD packet to send [01:31:19]OFD Sender: No OFD packet to send [01:31:24]OFD Sender: No OFD packet to send [01:31:29]OFD Sender: No OFD packet to send [01:31:34]OFD Sender: No OFD packet to send [01:31:39]OFD Sender: No OFD packet to send [01:31:44]OFD Sender: No OFD packet to send [01:31:49]OFD Sender: No OFD packet to send [01:31:54]OFD Sender: No OFD packet to send [01:31:59]OFD Sender: No OFD packet to send [01:32:04]OFD Sender: No OFD packet to send [01:32:09]OFD Sender: No OFD packet to send [01:32:14]OFD Sender: No OFD packet to send [01:32:19]OFD Sender: No OFD packet to send [01:32:24]OFD Sender: No OFD packet to send [01:32:29]OFD Sender: No OFD packet to send [01:32:34]OFD Sender: No OFD packet to send [01:32:39]OFD Sender: No OFD packet to send [01:32:44]OFD Sender: No OFD packet to send [01:32:49]OFD Sender: No OFD packet to send [01:32:54]OFD Sender: No OFD packet to send [01:32:59]OFD Sender: No OFD packet to send [01:33:04]OFD Sender: No OFD packet to send [01:33:09]OFD Sender: No OFD packet to send [01:33:14]OFD Sender: No OFD packet to send [01:33:19]OFD Sender: No OFD packet to send [01:33:24]OFD Sender: No OFD packet to send [01:33:29]OFD Sender: No OFD packet to send [01:33:34]OFD Sender: No OFD packet to send [01:33:39]OFD Sender: No OFD packet to send [01:33:44]OFD Sender: No OFD packet to send [01:33:49]OFD Sender: No OFD packet to send [01:33:54]OFD Sender: No OFD packet to send [01:33:59]OFD Sender: No OFD packet to send [01:34:04]OFD Sender: No OFD packet to send [01:34:09]OFD Sender: No OFD packet to send [01:34:14]OFD Sender: No OFD packet to send [01:34:19]OFD Sender: No OFD packet to send [01:34:24]OFD Sender: No OFD packet to send [01:34:29]OFD Sender: No OFD packet to send [01:34:34]OFD Sender: No OFD packet to send [01:34:39]OFD Sender: No OFD packet to send [01:34:44]OFD Sender: No OFD packet to send [01:34:49]OFD Sender: No OFD packet to send [01:34:54]OFD Sender: No OFD packet to send [01:34:59]OFD Sender: No OFD packet to send [01:35:04]OFD Sender: No OFD packet to send [01:35:09]OFD Sender: No OFD packet to send [01:35:14]OFD Sender: No OFD packet to send [01:35:19]OFD Sender: No OFD packet to send [01:35:24]OFD Sender: No OFD packet to send [01:35:29]OFD Sender: No OFD packet to send [01:35:34]OFD Sender: No OFD packet to send [01:35:39]OFD Sender: No OFD packet to send [01:35:44]OFD Sender: No OFD packet to send [01:35:49]OFD Sender: No OFD packet to send [01:35:54]OFD Sender: No OFD packet to send [01:35:59]OFD Sender: No OFD packet to send [01:36:04]OFD Sender: No OFD packet to send [01:36:09]OFD Sender: No OFD packet to send [01:36:14]OFD Sender: No OFD packet to send [01:36:19]OFD Sender: No OFD packet to send [01:36:24]OFD Sender: No OFD packet to send [01:36:29]OFD Sender: No OFD packet to send [01:36:34]OFD Sender: No OFD packet to send [01:36:39]OFD Sender: No OFD packet to send [01:36:44]OFD Sender: No OFD packet to send [01:36:49]OFD Sender: No OFD packet to send [01:36:54]OFD Sender: No OFD packet to send [01:36:59]OFD Sender: No OFD packet to send [01:37:04]OFD Sender: No OFD packet to send [01:37:09]OFD Sender: No OFD packet to send [01:37:14]OFD Sender: No OFD packet to send [01:37:19]OFD Sender: No OFD packet to send [01:37:24]OFD Sender: No OFD packet to send [01:37:29]OFD Sender: No OFD packet to send [01:37:34]OFD Sender: No OFD packet to send [01:37:39]OFD Sender: No OFD packet to send [01:37:44]OFD Sender: No OFD packet to send [01:37:49]OFD Sender: No OFD packet to send [01:37:54]OFD Sender: No OFD packet to send [01:37:59]OFD Sender: No OFD packet to send [01:38:04]OFD Sender: No OFD packet to send [01:38:09]OFD Sender: No OFD packet to send [01:38:14]OFD Sender: No OFD packet to send [01:38:19]OFD Sender: No OFD packet to send [01:38:24]OFD Sender: No OFD packet to send [01:38:29]OFD Sender: No OFD packet to send [01:38:34]OFD Sender: No OFD packet to send [01:38:39]OFD Sender: No OFD packet to send [01:38:44]OFD Sender: No OFD packet to send [01:38:49]OFD Sender: No OFD packet to send [01:38:54]OFD Sender: No OFD packet to send [01:38:59]OFD Sender: No OFD packet to send [01:39:04]OFD Sender: No OFD packet to send [01:39:09]OFD Sender: No OFD packet to send [01:39:14]OFD Sender: No OFD packet to send [01:39:19]OFD Sender: No OFD packet to send [01:39:24]OFD Sender: No OFD packet to send [01:39:29]OFD Sender: No OFD packet to send [01:39:34]OFD Sender: No OFD packet to send [01:39:39]OFD Sender: No OFD packet to send [01:39:44]OFD Sender: No OFD packet to send [01:39:49]OFD Sender: No OFD packet to send [01:39:54]OFD Sender: No OFD packet to send [01:39:59]OFD Sender: No OFD packet to send [01:40:04]OFD Sender: No OFD packet to send [01:40:09]OFD Sender: No OFD packet to send [01:40:14]OFD Sender: No OFD packet to send [01:40:19]OFD Sender: No OFD packet to send [01:40:24]OFD Sender: No OFD packet to send [01:40:29]OFD Sender: No OFD packet to send [01:40:34]OFD Sender: No OFD packet to send [01:40:39]OFD Sender: No OFD packet to send [01:40:44]OFD Sender: No OFD packet to send [01:40:49]OFD Sender: No OFD packet to send [01:40:54]OFD Sender: No OFD packet to send [01:40:59]OFD Sender: No OFD packet to send [01:41:04]OFD Sender: No OFD packet to send [01:41:09]OFD Sender: No OFD packet to send [01:41:14]OFD Sender: No OFD packet to send [01:41:19]OFD Sender: No OFD packet to send [01:41:24]OFD Sender: No OFD packet to send [01:41:29]OFD Sender: No OFD packet to send [01:41:34]OFD Sender: No OFD packet to send [01:41:39]OFD Sender: No OFD packet to send [01:41:44]OFD Sender: No OFD packet to send [01:41:49]OFD Sender: No OFD packet to send [01:41:54]OFD Sender: No OFD packet to send [01:41:59]OFD Sender: No OFD packet to send [01:42:04]OFD Sender: No OFD packet to send [01:42:09]OFD Sender: No OFD packet to send [01:42:14]OFD Sender: No OFD packet to send [01:42:19]OFD Sender: No OFD packet to send [01:42:24]OFD Sender: No OFD packet to send [01:42:29]OFD Sender: No OFD packet to send [01:42:34]OFD Sender: No OFD packet to send [01:42:39]OFD Sender: No OFD packet to send [01:42:44]OFD Sender: No OFD packet to send [01:42:49]OFD Sender: No OFD packet to send [01:42:54]OFD Sender: No OFD packet to send [01:42:59]OFD Sender: No OFD packet to send [01:43:04]OFD Sender: No OFD packet to send [01:43:09]OFD Sender: No OFD packet to send [01:43:14]OFD Sender: No OFD packet to send [01:43:19]OFD Sender: No OFD packet to send [01:43:24]OFD Sender: No OFD packet to send [01:43:29]OFD Sender: No OFD packet to send [01:43:34]OFD Sender: No OFD packet to send [01:43:39]OFD Sender: No OFD packet to send [01:43:44]OFD Sender: No OFD packet to send [01:43:49]OFD Sender: No OFD packet to send [01:43:54]OFD Sender: No OFD packet to send [01:43:59]OFD Sender: No OFD packet to send [01:44:04]OFD Sender: No OFD packet to send [01:44:09]OFD Sender: No OFD packet to send [01:44:14]OFD Sender: No OFD packet to send [01:44:19]OFD Sender: No OFD packet to send [01:44:24]OFD Sender: No OFD packet to send [01:44:29]OFD Sender: No OFD packet to send [01:44:34]OFD Sender: No OFD packet to send [01:44:39]OFD Sender: No OFD packet to send [01:44:44]OFD Sender: No OFD packet to send [01:44:49]OFD Sender: No OFD packet to send [01:44:54]OFD Sender: No OFD packet to send [01:44:59]OFD Sender: No OFD packet to send [01:45:04]OFD Sender: No OFD packet to send [01:45:09]OFD Sender: No OFD packet to send [01:45:14]OFD Sender: No OFD packet to send [01:45:19]OFD Sender: No OFD packet to send [01:45:24]OFD Sender: No OFD packet to send [01:45:29]OFD Sender: No OFD packet to send [01:45:34]OFD Sender: No OFD packet to send [01:45:39]OFD Sender: No OFD packet to send [01:45:44]OFD Sender: No OFD packet to send [01:45:49]OFD Sender: No OFD packet to send [01:45:54]OFD Sender: No OFD packet to send [01:45:59]OFD Sender: No OFD packet to send [01:46:04]OFD Sender: No OFD packet to send [01:46:09]OFD Sender: No OFD packet to send [01:46:14]OFD Sender: No OFD packet to send [01:46:19]OFD Sender: No OFD packet to send [01:46:25]OFD Sender: No OFD packet to send [01:46:30]OFD Sender: No OFD packet to send [01:46:35]OFD Sender: No OFD packet to send [01:46:40]OFD Sender: No OFD packet to send [01:46:45]OFD Sender: No OFD packet to send [01:46:50]OFD Sender: No OFD packet to send [01:46:55]OFD Sender: No OFD packet to send [01:47:00]OFD Sender: No OFD packet to send [01:47:05]OFD Sender: No OFD packet to send [01:47:10]OFD Sender: No OFD packet to send [01:47:15]OFD Sender: No OFD packet to send [01:47:20]OFD Sender: No OFD packet to send [01:47:25]OFD Sender: No OFD packet to send [01:47:30]OFD Sender: No OFD packet to send [01:47:35]OFD Sender: No OFD packet to send [01:47:40]OFD Sender: No OFD packet to send [01:47:45]OFD Sender: No OFD packet to send [01:47:50]OFD Sender: No OFD packet to send [01:47:55]OFD Sender: No OFD packet to send [01:48:00]OFD Sender: No OFD packet to send [01:48:05]OFD Sender: No OFD packet to send [01:48:10]OFD Sender: No OFD packet to send [01:48:15]OFD Sender: No OFD packet to send [01:48:20]OFD Sender: No OFD packet to send [01:48:25]OFD Sender: No OFD packet to send [01:48:30]OFD Sender: No OFD packet to send [01:48:35]OFD Sender: No OFD packet to send [01:48:40]OFD Sender: No OFD packet to send [01:48:45]OFD Sender: No OFD packet to send [01:48:50]OFD Sender: No OFD packet to send [01:48:55]OFD Sender: No OFD packet to send [01:49:00]OFD Sender: No OFD packet to send [01:49:05]OFD Sender: No OFD packet to send [01:49:10]OFD Sender: No OFD packet to send [01:49:15]OFD Sender: No OFD packet to send [01:49:20]OFD Sender: No OFD packet to send [01:49:22]accept exits with 9 [01:49:22]New connection [01:49:22]New thread 3066879332 created [01:49:22]Thread 3066735972 joined [01:49:22]Waiting for new connection... [01:49:22] Sock 9.Parse request [01:49:22]Sock 9.Check first char [01:49:22]Sock 9.First char is OK [01:49:22]request: POST /json_proto HTTP/1.0 [01:49:22]Method: POST [01:49:22]URL: /json_proto [01:49:22]Method is POST - this is cgi request [01:49:22]url: /json_proto [01:49:22]query_string will be loaded in cgi processing [01:49:22]execute_cgi json_proto POST (null) [01:49:22]execute_cgi path=json_proto method=POST [01:49:22]POST find Content-Length [01:49:22]Host: 172.17.34.200:8080 [01:49:22]Content-Length: 215 [01:49:22]Content-Type: application/json [01:49:22] [01:49:22]POST finish read [01:49:22]Found Content-Length = 215 [01:49:22]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" ] } } [01:49:22]execute_script... [01:49:22]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" ] } } [01:49:22]POST & json_proto [01:49:22]process_json_proto [01:49:22]json parsed OK: [01:49:22]protocol is kg_v1.0 [01:49:22]action value=get_value [01:49:22]process_action get_value [01:49:22]cmd_get_value [01:49:22]process_action get_value done [01:49:22]requested_data is exist [01:49:22]produce_requested_data [01:49:22]requested_item kkm.sn is exist - process it [01:49:22]requested_item kkm.ver is exist - process it [01:49:22]requested_item fm.sn is exist - process it [01:49:22]wFMCommunicate request_size=4 [01:49:22]MH_SAM_APDU [01:49:22]CAPDU: 80 11 00 00 [01:49:22]Write to MH i2c: E2 08 00 2D 37 80 11 00 00 00 00 00 00 DE [01:49:22]Write i2c OK [01:49:22]MH_I2C_Read... [01:49:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:49:22]Read from MH i2c: E2 [01:49:22]MH_I2C_Read... [01:49:22]Read from MH i2c: E2 17 00 [01:49:22]MH_I2C_Read... [01:49:22]Read from MH i2c: E2 17 00 2D 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 31 [01:49:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [01:49:22]wFMCommunicate OK [01:49:22]requested_item fd.num is exist - process it [01:49:22]SAM_PROTO_GetFieldsCounters [01:49:22]wFMCommunicate request_size=4 [01:49:22]MH_SAM_APDU [01:49:22]CAPDU: 80 13 00 00 [01:49:22]Write to MH i2c: E2 08 00 2E 37 80 13 00 00 00 00 00 00 E1 [01:49:22]Write i2c OK [01:49:22]MH_I2C_Read... [01:49:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:49:22]Read from MH i2c: E2 [01:49:22]MH_I2C_Read... [01:49:22]Read from MH i2c: E2 62 00 [01:49:22]MH_I2C_Read... [01:49:22]Read from MH i2c: E2 62 00 2E 37 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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 30 13 01 00 0E 04 04 00 11 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 65 [01:49: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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 30 13 01 00 0E 04 04 00 11 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 [01:49:22]wFMCommunicate OK [01:49:22]SAM_PROTO_GetFieldsCounters done [01:49:22]requested_item shift.num is exist - process it [01:49:22]requested_item shift.opened is exist - process it [01:49:22]req_shift_opened [01:49:22]FM_GetShiftState [01:49:22]SAM_PROTO_GetShiftState [01:49:22]wFMCommunicate request_size=4 [01:49:22]MH_SAM_APDU [01:49:22]CAPDU: 80 13 01 00 [01:49:22]Write to MH i2c: E2 08 00 2F 37 80 13 01 00 00 00 00 00 E3 [01:49:22]Write i2c OK [01:49:22]MH_I2C_Read... [01:49:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:49:22]Read from MH i2c: E2 [01:49:22]MH_I2C_Read... [01:49:22]Read from MH i2c: E2 0E 00 [01:49:22]MH_I2C_Read... [01:49:22]Read from MH i2c: E2 0E 00 2F 37 00 09 00 01 42 2F 17 66 00 00 00 00 90 00 DD [01:49:22]RAPDU: 09 00 01 42 2F 17 66 00 00 00 00 90 00 [01:49:22]wFMCommunicate OK [01:49:22]SAM_PROTO_GetShiftState done [01:49:22]FM_GetShiftState done [01:49:22]req_shift_opened done [01:49:22]requested_item shift.open_date is exist - process it [01:49:22]req_shift_open_date [01:49:22]req_shift_open_date done [01:49:22]produce_requested_data done [01:49:22]produce_requested_data return {"kkm.sn":"0300000024","kkm.ver":"001","fm.sn":"0000000000874742","fd.num":70448,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458} [01:49:22]process_action_free get_value [01:49:22]json_value_free [01:49:22]json_value_free done [01:49:22]process_json_proto returns [01:49:22]Send response to host [01:49:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000024","kkm.ver":"001","fm.sn":"0000000000874742","fd.num":70448,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458}}} [01:49:22]free response buf [01:49:22]execute_script done [01:49:22]execute_script returns [01:49:22]free content buf [01:49:22]Sock 9.Close socket [01:49:22]Sock 9.Thread stoped [01:49:22]accept exits with 7 [01:49:22]New connection [01:49:22]New thread 3066735972 created [01:49:22]Thread 3066879332 joined [01:49:22]Waiting for new connection... [01:49:22] Sock 7.Parse request [01:49:22]Sock 7.Check first char [01:49:22]Sock 7.First char is OK [01:49:22]request: POST /json_proto HTTP/1.0 [01:49:22]Method: POST [01:49:22]URL: /json_proto [01:49:22]Method is POST - this is cgi request [01:49:22]url: /json_proto [01:49:22]query_string will be loaded in cgi processing [01:49:22]execute_cgi json_proto POST (null) [01:49:22]execute_cgi path=json_proto method=POST [01:49:22]POST find Content-Length [01:49:22]Host: 172.17.34.200:8080 [01:49:22]Content-Length: 331 [01:49:22]Content-Type: application/json [01:49:22] [01:49:22]POST finish read [01:49:22]Found Content-Length = 331 [01:49:22]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" ] } } [01:49:22]execute_script... [01:49:23]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" ] } } [01:49:23]POST & json_proto [01:49:23]process_json_proto [01:49:23]json parsed OK: [01:49:23]protocol is kg_v1.0 [01:49:23]action value=get_value [01:49:23]process_action get_value [01:49:23]cmd_get_value [01:49:23]process_action get_value done [01:49:23]requested_data is exist [01:49:23]produce_requested_data [01:49:23]requested_item fm.sale.total is exist - process it [01:49:23]SAM_PROTO_GetFMData [01:49:23]wFMCommunicate request_size=4 [01:49:23]MH_SAM_APDU [01:49:23]CAPDU: 80 13 03 00 [01:49:23]Write to MH i2c: E2 08 00 30 37 80 13 03 00 00 00 00 00 E6 [01:49:23]Write i2c OK [01:49:23]MH_I2C_Read... [01:49:23]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [01:49:23]Read from MH i2c: E2 [01:49:23]MH_I2C_Read... [01:49:23]Read from MH i2c: E2 FD 00 [01:49:23]MH_I2C_Read... [01:49:23]Read from MH i2c: E2 FD 00 30 37 00 C8 04 85 04 C4 04 6E 04 04 00 0D 11 01 00 69 04 A3 00 6F 04 04 00 6F 0D 01 00 B1 04 05 00 EE 6A 47 B2 01 70 04 05 00 B8 6D 7B 12 01 72 04 04 00 36 FD CB 9F 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 19 28 20 2E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 BD EE D7 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9F 00 6F 04 04 00 9E 03 00 00 B1 04 04 00 74 34 75 23 70 04 04 00 40 EC 6E 23 72 04 03 00 34 48 06 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 7D FD C3 03 90 00 CD [01:49:23]RAPDU: C8 04 85 04 C4 04 6E 04 04 00 0D 11 01 00 69 04 A3 00 6F 04 04 00 6F 0D 01 00 B1 04 05 00 EE 6A 47 B2 01 70 04 05 00 B8 6D 7B 12 01 72 04 04 00 36 FD CB 9F 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 19 28 20 2E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 BD EE D7 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9F 00 6F 04 04 00 9E 03 00 00 B1 04 04 00 74 34 75 23 70 04 04 00 40 EC 6E 23 72 04 03 00 34 48 06 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 7D FD C3 03 90 00 [01:49:23]wFMCommunicate OK [01:49:23]wFMCommunicate request_size=4 [01:49:23]MH_SAM_APDU [01:49:23]CAPDU: 80 17 00 00 [01:49:23]Write to MH i2c: E2 08 00 31 37 80 17 00 00 00 00 00 00 E8 [01:49:23]Write i2c OK [01:49:23]MH_I2C_Read... [01:49:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:49:23]Read from MH i2c: E2 [01:49:23]MH_I2C_Read... [01:49:23]Read from MH i2c: E2 FD 00 [01:49:23]MH_I2C_Read... [01:49:23]Read from MH i2c: E2 FD 00 31 37 00 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 CD 54 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 55 [01:49:23]RAPDU: 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 CD 54 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:49:23]wFMCommunicate OK [01:49:23]wFMCommunicate request_size=4 [01:49:23]MH_SAM_APDU [01:49:23]CAPDU: 80 17 00 00 [01:49:23]Write to MH i2c: E2 08 00 32 37 80 17 00 00 00 00 00 00 E9 [01:49:23]Write i2c OK [01:49:23]MH_I2C_Read... [01:49:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:49:24]Read from MH i2c: E2 [01:49:24]MH_I2C_Read... [01:49:24]Read from MH i2c: E2 FD 00 [01:49:24]MH_I2C_Read... [01:49:24]Read from MH i2c: E2 FD 00 32 37 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C1 [01:49:24]RAPDU: 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:49:24]wFMCommunicate OK [01:49:24]wFMCommunicate request_size=4 [01:49:24]MH_SAM_APDU [01:49:24]CAPDU: 80 17 00 00 [01:49:24]Write to MH i2c: E2 08 00 33 37 80 17 00 00 00 00 00 00 EA [01:49:24]Write i2c OK [01:49:24]MH_I2C_Read... [01:49:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:49:24]Read from MH i2c: E2 [01:49:24]MH_I2C_Read... [01:49:24]Read from MH i2c: E2 FD 00 [01:49:24]MH_I2C_Read... [01:49:24]Read from MH i2c: E2 FD 00 33 37 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 90 00 62 [01:49:24]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 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 90 00 [01:49:24]wFMCommunicate OK [01:49:24]wFMCommunicate request_size=4 [01:49:24]MH_SAM_APDU [01:49:24]CAPDU: 80 17 00 00 [01:49:24]Write to MH i2c: E2 08 00 34 37 80 17 00 00 00 00 00 00 EB [01:49:24]Write i2c OK [01:49:24]MH_I2C_Read... [01:49:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 226! [01:49:24]Read from MH i2c: E2 [01:49:24]MH_I2C_Read... [01:49:24]Read from MH i2c: E2 E5 00 [01:49:24]MH_I2C_Read... [01:49:24]Read from MH i2c: E2 E5 00 34 37 00 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CF [01:49:24]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [01:49:24]wFMCommunicate OK [01:49:24]SAM_PROTO_GetFMData done [01:49:24]requested_item fm.sale_refund.total is exist - process it [01:49:24]requested_item fm.buy.total is exist - process it [01:49:24]requested_item shift.sale.total is exist - process it [01:49:24]SAM_PROTO_GetShiftData [01:49:24]wFMCommunicate request_size=4 [01:49:24]MH_SAM_APDU [01:49:24]CAPDU: 80 13 02 00 [01:49:24]Write to MH i2c: E2 08 00 35 37 80 13 02 00 00 00 00 00 EA [01:49:24]Write i2c OK [01:49:24]MH_I2C_Read... [01:49:25]OFD Sender: No OFD packet to send [01:49:25]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:49:25]Read from MH i2c: E2 [01:49:25]MH_I2C_Read... [01:49:25]Read from MH i2c: E2 FD 00 [01:49:25]MH_I2C_Read... [01:49:25]Read from MH i2c: E2 FD 00 35 37 00 AE 04 AA 04 AA 04 6E 04 04 00 05 00 00 00 69 04 9B 00 6F 04 04 00 05 00 00 00 B1 04 03 00 C3 06 0A 70 04 03 00 D8 53 01 72 04 03 00 EB B2 08 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 9C 10 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 B8 16 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D4 [01:49:25]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 05 00 00 00 69 04 9B 00 6F 04 04 00 05 00 00 00 B1 04 03 00 C3 06 0A 70 04 03 00 D8 53 01 72 04 03 00 EB B2 08 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 9C 10 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 B8 16 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [01:49:25]wFMCommunicate OK [01:49:25]wFMCommunicate request_size=4 [01:49:25]MH_SAM_APDU [01:49:25]CAPDU: 80 17 00 00 [01:49:25]Write to MH i2c: E2 08 00 36 37 80 17 00 00 00 00 00 00 ED [01:49:25]Write i2c OK [01:49:25]MH_I2C_Read... [01:49:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:49:25]Read from MH i2c: E2 [01:49:25]MH_I2C_Read... [01:49:25]Read from MH i2c: E2 FD 00 [01:49:25]MH_I2C_Read... [01:49:25]Read from MH i2c: E2 FD 00 36 37 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 0F [01:49:25]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 [01:49:25]wFMCommunicate OK [01:49:25]wFMCommunicate request_size=4 [01:49:25]MH_SAM_APDU [01:49:25]CAPDU: 80 17 00 00 [01:49:25]Write to MH i2c: E2 08 00 37 37 80 17 00 00 00 00 00 00 EE [01:49:25]Write i2c OK [01:49:25]MH_I2C_Read... [01:49:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:49:25]Read from MH i2c: E2 [01:49:25]MH_I2C_Read... [01:49:25]Read from MH i2c: E2 FD 00 [01:49:25]MH_I2C_Read... [01:49:25]Read from MH i2c: E2 FD 00 37 37 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A5 [01:49:25]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 [01:49:25]wFMCommunicate OK [01:49:25]wFMCommunicate request_size=4 [01:49:25]MH_SAM_APDU [01:49:25]CAPDU: 80 17 00 00 [01:49:25]Write to MH i2c: E2 08 00 38 37 80 17 00 00 00 00 00 00 EF [01:49:25]Write i2c OK [01:49:25]MH_I2C_Read... [01:49:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:49:26]Read from MH i2c: E2 [01:49:26]MH_I2C_Read... [01:49:26]Read from MH i2c: E2 FD 00 [01:49:26]MH_I2C_Read... [01:49:26]Read from MH i2c: E2 FD 00 38 37 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 61 [01:49:26]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 [01:49:26]wFMCommunicate OK [01:49:26]wFMCommunicate request_size=4 [01:49:26]MH_SAM_APDU [01:49:26]CAPDU: 80 17 00 00 [01:49:26]Write to MH i2c: E2 08 00 39 37 80 17 00 00 00 00 00 00 F0 [01:49:26]Write i2c OK [01:49:26]MH_I2C_Read... [01:49:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [01:49:26]Read from MH i2c: E2 [01:49:26]MH_I2C_Read... [01:49:26]Read from MH i2c: E2 CB 00 [01:49:26]MH_I2C_Read... [01:49:26]Read from MH i2c: E2 CB 00 39 37 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 D9 [01:49:26]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 [01:49:26]wFMCommunicate OK [01:49:26]SAM_PROTO_GetShiftData done [01:49:26]requested_item shift.sale.total_cash is exist - process it [01:49:26]requested_item shift.sale_refund.total is exist - process it [01:49:26]requested_item shift.sale_refund.total_cash is exist - process it [01:49:26]requested_item shift.buy.total is exist - process it [01:49:26]requested_item shift.buy.total_cash is exist - process it [01:49:26]produce_requested_data done [01:49:26]produce_requested_data return {"fm.sale.total":72859921.74,"fm.sale_refund.total":5948837.00,"fm.buy.total":0.00,"shift.sale.total":6570.91,"shift.sale.total_cash":870.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} [01:49:26]process_action_free get_value [01:49:26]json_value_free [01:49:26]json_value_free done [01:49:26]process_json_proto returns [01:49:26]Send response to host [01:49:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":72859921.74,"fm.sale_refund.total":5948837.00,"fm.buy.total":0.00,"shift.sale.total":6570.91,"shift.sale.total_cash":870.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}}} [01:49:26]free response buf [01:49:26]execute_script done [01:49:26]execute_script returns [01:49:26]free content buf [01:49:26]Sock 7.Close socket [01:49:26]Sock 7.Thread stoped [01:49:30]OFD Sender: No OFD packet to send [01:49:35]OFD Sender: No OFD packet to send [01:49:40]OFD Sender: No OFD packet to send [01:49:45]OFD Sender: No OFD packet to send [01:49:50]OFD Sender: No OFD packet to send [01:49:55]OFD Sender: No OFD packet to send [01:50:00]OFD Sender: No OFD packet to send [01:50:05]OFD Sender: No OFD packet to send [01:50:10]OFD Sender: No OFD packet to send [01:50:15]OFD Sender: No OFD packet to send [01:50:20]OFD Sender: No OFD packet to send [01:50:25]OFD Sender: No OFD packet to send [01:50:30]OFD Sender: No OFD packet to send [01:50:35]OFD Sender: No OFD packet to send [01:50:40]OFD Sender: No OFD packet to send [01:50:45]OFD Sender: No OFD packet to send [01:50:50]OFD Sender: No OFD packet to send [01:50:55]OFD Sender: No OFD packet to send [01:51:00]OFD Sender: No OFD packet to send [01:51:05]OFD Sender: No OFD packet to send [01:51:10]OFD Sender: No OFD packet to send [01:51:15]OFD Sender: No OFD packet to send [01:51:20]OFD Sender: No OFD packet to send [01:51:25]OFD Sender: No OFD packet to send [01:51:30]OFD Sender: No OFD packet to send [01:51:35]OFD Sender: No OFD packet to send [01:51:40]OFD Sender: No OFD packet to send [01:51:45]OFD Sender: No OFD packet to send [01:51:50]OFD Sender: No OFD packet to send [01:51:55]OFD Sender: No OFD packet to send [01:52:00]OFD Sender: No OFD packet to send [01:52:05]OFD Sender: No OFD packet to send [01:52:10]OFD Sender: No OFD packet to send [01:52:15]OFD Sender: No OFD packet to send [01:52:20]OFD Sender: No OFD packet to send [01:52:25]OFD Sender: No OFD packet to send [01:52:30]OFD Sender: No OFD packet to send [01:52:35]OFD Sender: No OFD packet to send [01:52:40]OFD Sender: No OFD packet to send [01:52:45]OFD Sender: No OFD packet to send [01:52:50]OFD Sender: No OFD packet to send [01:52:55]OFD Sender: No OFD packet to send [01:53:00]OFD Sender: No OFD packet to send [01:53:05]OFD Sender: No OFD packet to send [01:53:10]OFD Sender: No OFD packet to send [01:53:15]OFD Sender: No OFD packet to send [01:53:20]OFD Sender: No OFD packet to send [01:53:25]OFD Sender: No OFD packet to send [01:53:30]OFD Sender: No OFD packet to send [01:53:35]OFD Sender: No OFD packet to send [01:53:40]OFD Sender: No OFD packet to send [01:53:45]OFD Sender: No OFD packet to send [01:53:50]OFD Sender: No OFD packet to send [01:53:55]OFD Sender: No OFD packet to send [01:54:00]OFD Sender: No OFD packet to send [01:54:05]OFD Sender: No OFD packet to send [01:54:10]OFD Sender: No OFD packet to send [01:54:15]OFD Sender: No OFD packet to send [01:54:20]OFD Sender: No OFD packet to send [01:54:25]OFD Sender: No OFD packet to send [01:54:30]OFD Sender: No OFD packet to send [01:54:35]OFD Sender: No OFD packet to send [01:54:40]OFD Sender: No OFD packet to send [01:54:45]OFD Sender: No OFD packet to send [01:54:50]OFD Sender: No OFD packet to send [01:54:55]OFD Sender: No OFD packet to send [01:55:00]OFD Sender: No OFD packet to send [01:55:05]OFD Sender: No OFD packet to send [01:55:10]OFD Sender: No OFD packet to send [01:55:15]OFD Sender: No OFD packet to send [01:55:20]OFD Sender: No OFD packet to send [01:55:25]OFD Sender: No OFD packet to send [01:55:30]OFD Sender: No OFD packet to send [01:55:35]OFD Sender: No OFD packet to send [01:55:40]OFD Sender: No OFD packet to send [01:55:45]OFD Sender: No OFD packet to send [01:55:50]OFD Sender: No OFD packet to send [01:55:55]OFD Sender: No OFD packet to send [01:56:00]OFD Sender: No OFD packet to send [01:56:05]OFD Sender: No OFD packet to send [01:56:10]OFD Sender: No OFD packet to send [01:56:15]OFD Sender: No OFD packet to send [01:56:20]OFD Sender: No OFD packet to send [01:56:25]OFD Sender: No OFD packet to send [01:56:30]OFD Sender: No OFD packet to send [01:56:35]OFD Sender: No OFD packet to send [01:56:40]OFD Sender: No OFD packet to send [01:56:45]OFD Sender: No OFD packet to send [01:56:50]OFD Sender: No OFD packet to send [01:56:55]OFD Sender: No OFD packet to send [01:57:00]OFD Sender: No OFD packet to send [01:57:05]OFD Sender: No OFD packet to send [01:57:10]OFD Sender: No OFD packet to send [01:57:15]OFD Sender: No OFD packet to send [01:57:20]OFD Sender: No OFD packet to send [01:57:25]OFD Sender: No OFD packet to send [01:57:30]OFD Sender: No OFD packet to send [01:57:35]OFD Sender: No OFD packet to send [01:57:40]OFD Sender: No OFD packet to send [01:57:45]OFD Sender: No OFD packet to send [01:57:50]OFD Sender: No OFD packet to send [01:57:55]OFD Sender: No OFD packet to send [01:58:00]OFD Sender: No OFD packet to send [01:58:05]OFD Sender: No OFD packet to send [01:58:10]OFD Sender: No OFD packet to send [01:58:15]OFD Sender: No OFD packet to send [01:58:20]OFD Sender: No OFD packet to send [01:58:25]OFD Sender: No OFD packet to send [01:58:30]OFD Sender: No OFD packet to send [01:58:35]OFD Sender: No OFD packet to send [01:58:40]OFD Sender: No OFD packet to send [01:58:45]OFD Sender: No OFD packet to send [01:58:50]OFD Sender: No OFD packet to send [01:58:55]OFD Sender: No OFD packet to send [01:59:00]OFD Sender: No OFD packet to send [01:59:05]OFD Sender: No OFD packet to send [01:59:10]OFD Sender: No OFD packet to send [01:59:15]OFD Sender: No OFD packet to send [01:59:20]OFD Sender: No OFD packet to send [01:59:25]OFD Sender: No OFD packet to send [01:59:30]OFD Sender: No OFD packet to send [01:59:35]OFD Sender: No OFD packet to send [01:59:40]OFD Sender: No OFD packet to send [01:59:45]OFD Sender: No OFD packet to send [01:59:50]OFD Sender: No OFD packet to send [01:59:55]OFD Sender: No OFD packet to send [02:00:00]OFD Sender: No OFD packet to send [02:00:05]OFD Sender: No OFD packet to send [02:00:10]OFD Sender: No OFD packet to send [02:00:15]OFD Sender: No OFD packet to send [02:00:20]OFD Sender: No OFD packet to send [02:00:25]OFD Sender: No OFD packet to send [02:00:30]OFD Sender: No OFD packet to send [02:00:35]OFD Sender: No OFD packet to send [02:00:40]OFD Sender: No OFD packet to send [02:00:45]OFD Sender: No OFD packet to send [02:00:50]OFD Sender: No OFD packet to send [02:00:55]OFD Sender: No OFD packet to send [02:01:00]OFD Sender: No OFD packet to send [02:01:05]OFD Sender: No OFD packet to send [02:01:10]OFD Sender: No OFD packet to send [02:01:15]OFD Sender: No OFD packet to send [02:01:20]OFD Sender: No OFD packet to send [02:01:25]OFD Sender: No OFD packet to send [02:01:30]OFD Sender: No OFD packet to send [02:01:35]OFD Sender: No OFD packet to send [02:01:40]OFD Sender: No OFD packet to send [02:01:45]OFD Sender: No OFD packet to send [02:01:50]OFD Sender: No OFD packet to send [02:01:55]OFD Sender: No OFD packet to send [02:02:00]OFD Sender: No OFD packet to send [02:02:05]OFD Sender: No OFD packet to send [02:02:10]OFD Sender: No OFD packet to send [02:02:15]OFD Sender: No OFD packet to send [02:02:20]OFD Sender: No OFD packet to send [02:02:25]OFD Sender: No OFD packet to send [02:02:30]OFD Sender: No OFD packet to send [02:02:35]OFD Sender: No OFD packet to send [02:02:40]OFD Sender: No OFD packet to send [02:02:45]OFD Sender: No OFD packet to send [02:02:50]OFD Sender: No OFD packet to send [02:02:55]OFD Sender: No OFD packet to send [02:03:00]OFD Sender: No OFD packet to send [02:03:05]OFD Sender: No OFD packet to send [02:03:10]OFD Sender: No OFD packet to send [02:03:15]OFD Sender: No OFD packet to send [02:03:20]OFD Sender: No OFD packet to send [02:03:25]OFD Sender: No OFD packet to send [02:03:30]OFD Sender: No OFD packet to send [02:03:35]OFD Sender: No OFD packet to send [02:03:40]OFD Sender: No OFD packet to send [02:03:45]OFD Sender: No OFD packet to send [02:03:50]OFD Sender: No OFD packet to send [02:03:55]OFD Sender: No OFD packet to send [02:04:00]OFD Sender: No OFD packet to send [02:04:05]OFD Sender: No OFD packet to send [02:04:10]OFD Sender: No OFD packet to send [02:04:15]OFD Sender: No OFD packet to send [02:04:20]OFD Sender: No OFD packet to send [02:04:25]OFD Sender: No OFD packet to send [02:04:30]OFD Sender: No OFD packet to send [02:04:35]OFD Sender: No OFD packet to send [02:04:40]OFD Sender: No OFD packet to send [02:04:45]OFD Sender: No OFD packet to send [02:04:50]OFD Sender: No OFD packet to send [02:04:55]OFD Sender: No OFD packet to send [02:05:00]OFD Sender: No OFD packet to send [02:05:05]OFD Sender: No OFD packet to send [02:05:10]OFD Sender: No OFD packet to send [02:05:15]OFD Sender: No OFD packet to send [02:05:20]OFD Sender: No OFD packet to send [02:05:25]OFD Sender: No OFD packet to send [02:05:30]OFD Sender: No OFD packet to send [02:05:35]OFD Sender: No OFD packet to send [02:05:40]OFD Sender: No OFD packet to send [02:05:45]OFD Sender: No OFD packet to send [02:05:50]OFD Sender: No OFD packet to send [02:05:55]OFD Sender: No OFD packet to send [02:06:00]OFD Sender: No OFD packet to send [02:06:05]OFD Sender: No OFD packet to send [02:06:10]OFD Sender: No OFD packet to send [02:06:15]OFD Sender: No OFD packet to send [02:06:20]OFD Sender: No OFD packet to send [02:06:26]OFD Sender: No OFD packet to send [02:06:31]OFD Sender: No OFD packet to send [02:06:36]OFD Sender: No OFD packet to send [02:06:41]OFD Sender: No OFD packet to send [02:06:46]OFD Sender: No OFD packet to send [02:06:51]OFD Sender: No OFD packet to send [02:06:56]OFD Sender: No OFD packet to send [02:07:01]OFD Sender: No OFD packet to send [02:07:06]OFD Sender: No OFD packet to send [02:07:11]OFD Sender: No OFD packet to send [02:07:16]OFD Sender: No OFD packet to send [02:07:21]OFD Sender: No OFD packet to send [02:07:26]OFD Sender: No OFD packet to send [02:07:31]OFD Sender: No OFD packet to send [02:07:36]OFD Sender: No OFD packet to send [02:07:41]OFD Sender: No OFD packet to send [02:07:46]OFD Sender: No OFD packet to send [02:07:51]OFD Sender: No OFD packet to send [02:07:56]OFD Sender: No OFD packet to send [02:08:01]OFD Sender: No OFD packet to send [02:08:06]OFD Sender: No OFD packet to send [02:08:11]OFD Sender: No OFD packet to send [02:08:16]OFD Sender: No OFD packet to send [02:08:21]OFD Sender: No OFD packet to send [02:08:26]OFD Sender: No OFD packet to send [02:08:31]OFD Sender: No OFD packet to send [02:08:36]OFD Sender: No OFD packet to send [02:08:41]OFD Sender: No OFD packet to send [02:08:46]OFD Sender: No OFD packet to send [02:08:51]OFD Sender: No OFD packet to send [02:08:56]OFD Sender: No OFD packet to send [02:09:01]OFD Sender: No OFD packet to send [02:09:06]OFD Sender: No OFD packet to send [02:09:11]OFD Sender: No OFD packet to send [02:09:16]OFD Sender: No OFD packet to send [02:09:21]OFD Sender: No OFD packet to send [02:09:26]OFD Sender: No OFD packet to send [02:09:31]OFD Sender: No OFD packet to send [02:09:36]OFD Sender: No OFD packet to send [02:09:41]OFD Sender: No OFD packet to send [02:09:46]OFD Sender: No OFD packet to send [02:09:51]OFD Sender: No OFD packet to send [02:09:56]OFD Sender: No OFD packet to send [02:10:01]OFD Sender: No OFD packet to send [02:10:06]OFD Sender: No OFD packet to send [02:10:11]OFD Sender: No OFD packet to send [02:10:16]OFD Sender: No OFD packet to send [02:10:21]OFD Sender: No OFD packet to send [02:10:26]OFD Sender: No OFD packet to send [02:10:31]OFD Sender: No OFD packet to send [02:10:36]OFD Sender: No OFD packet to send [02:10:41]OFD Sender: No OFD packet to send [02:10:46]OFD Sender: No OFD packet to send [02:10:51]OFD Sender: No OFD packet to send [02:10:56]OFD Sender: No OFD packet to send [02:11:01]OFD Sender: No OFD packet to send [02:11:06]OFD Sender: No OFD packet to send [02:11:11]OFD Sender: No OFD packet to send [02:11:16]OFD Sender: No OFD packet to send [02:11:21]OFD Sender: No OFD packet to send [02:11:26]OFD Sender: No OFD packet to send [02:11:31]OFD Sender: No OFD packet to send [02:11:36]OFD Sender: No OFD packet to send [02:11:41]OFD Sender: No OFD packet to send [02:11:46]OFD Sender: No OFD packet to send [02:11:51]OFD Sender: No OFD packet to send [02:11:56]OFD Sender: No OFD packet to send [02:12:01]OFD Sender: No OFD packet to send [02:12:06]OFD Sender: No OFD packet to send [02:12:11]OFD Sender: No OFD packet to send [02:12:16]OFD Sender: No OFD packet to send [02:12:21]OFD Sender: No OFD packet to send [02:12:26]OFD Sender: No OFD packet to send [02:12:31]OFD Sender: No OFD packet to send [02:12:36]OFD Sender: No OFD packet to send [02:12:41]OFD Sender: No OFD packet to send [02:12:46]OFD Sender: No OFD packet to send [02:12:51]OFD Sender: No OFD packet to send [02:12:56]OFD Sender: No OFD packet to send [02:13:01]OFD Sender: No OFD packet to send [02:13:06]OFD Sender: No OFD packet to send [02:13:11]OFD Sender: No OFD packet to send [02:13:16]OFD Sender: No OFD packet to send [02:13:21]OFD Sender: No OFD packet to send [02:13:26]OFD Sender: No OFD packet to send [02:13:31]OFD Sender: No OFD packet to send [02:13:36]OFD Sender: No OFD packet to send [02:13:41]OFD Sender: No OFD packet to send [02:13:46]OFD Sender: No OFD packet to send [02:13:51]OFD Sender: No OFD packet to send [02:13:56]OFD Sender: No OFD packet to send [02:14:01]OFD Sender: No OFD packet to send [02:14:06]OFD Sender: No OFD packet to send [02:14:11]OFD Sender: No OFD packet to send [02:14:16]OFD Sender: No OFD packet to send [02:14:21]OFD Sender: No OFD packet to send [02:14:26]OFD Sender: No OFD packet to send [02:14:31]OFD Sender: No OFD packet to send [02:14:36]OFD Sender: No OFD packet to send [02:14:41]OFD Sender: No OFD packet to send [02:14:46]OFD Sender: No OFD packet to send [02:14:51]OFD Sender: No OFD packet to send [02:14:56]OFD Sender: No OFD packet to send [02:15:01]OFD Sender: No OFD packet to send [02:15:06]OFD Sender: No OFD packet to send [02:15:11]OFD Sender: No OFD packet to send [02:15:16]OFD Sender: No OFD packet to send [02:15:21]OFD Sender: No OFD packet to send [02:15:26]OFD Sender: No OFD packet to send [02:15:31]OFD Sender: No OFD packet to send [02:15:36]OFD Sender: No OFD packet to send [02:15:41]OFD Sender: No OFD packet to send [02:15:46]OFD Sender: No OFD packet to send [02:15:51]OFD Sender: No OFD packet to send [02:15:56]OFD Sender: No OFD packet to send [02:16:01]OFD Sender: No OFD packet to send [02:16:06]OFD Sender: No OFD packet to send [02:16:11]OFD Sender: No OFD packet to send [02:16:16]OFD Sender: No OFD packet to send [02:16:21]OFD Sender: No OFD packet to send [02:16:26]OFD Sender: No OFD packet to send [02:16:31]OFD Sender: No OFD packet to send [02:16:36]OFD Sender: No OFD packet to send [02:16:41]OFD Sender: No OFD packet to send [02:16:46]OFD Sender: No OFD packet to send [02:16:51]OFD Sender: No OFD packet to send [02:16:56]OFD Sender: No OFD packet to send [02:17:01]OFD Sender: No OFD packet to send [02:17:06]OFD Sender: No OFD packet to send [02:17:11]OFD Sender: No OFD packet to send [02:17:16]OFD Sender: No OFD packet to send [02:17:21]OFD Sender: No OFD packet to send [02:17:26]OFD Sender: No OFD packet to send [02:17:31]OFD Sender: No OFD packet to send [02:17:36]OFD Sender: No OFD packet to send [02:17:41]OFD Sender: No OFD packet to send [02:17:46]OFD Sender: No OFD packet to send [02:17:51]OFD Sender: No OFD packet to send [02:17:56]OFD Sender: No OFD packet to send [02:18:01]OFD Sender: No OFD packet to send [02:18:06]OFD Sender: No OFD packet to send [02:18:11]OFD Sender: No OFD packet to send [02:18:16]OFD Sender: No OFD packet to send [02:18:21]OFD Sender: No OFD packet to send [02:18:26]OFD Sender: No OFD packet to send [02:18:31]OFD Sender: No OFD packet to send [02:18:36]OFD Sender: No OFD packet to send [02:18:41]OFD Sender: No OFD packet to send [02:18:46]OFD Sender: No OFD packet to send [02:18:51]OFD Sender: No OFD packet to send [02:18:56]OFD Sender: No OFD packet to send [02:19:01]OFD Sender: No OFD packet to send [02:19:06]OFD Sender: No OFD packet to send [02:19:11]OFD Sender: No OFD packet to send [02:19:16]OFD Sender: No OFD packet to send [02:19:21]OFD Sender: No OFD packet to send [02:19:26]OFD Sender: No OFD packet to send [02:19:31]OFD Sender: No OFD packet to send [02:19:36]OFD Sender: No OFD packet to send [02:19:41]OFD Sender: No OFD packet to send [02:19:46]OFD Sender: No OFD packet to send [02:19:51]OFD Sender: No OFD packet to send [02:19:56]OFD Sender: No OFD packet to send [02:20:01]OFD Sender: No OFD packet to send [02:20:06]OFD Sender: No OFD packet to send [02:20:11]OFD Sender: No OFD packet to send [02:20:16]OFD Sender: No OFD packet to send [02:20:21]OFD Sender: No OFD packet to send [02:20:26]OFD Sender: No OFD packet to send [02:20:31]OFD Sender: No OFD packet to send [02:20:36]OFD Sender: No OFD packet to send [02:20:41]OFD Sender: No OFD packet to send [02:20:46]OFD Sender: No OFD packet to send [02:20:51]OFD Sender: No OFD packet to send [02:20:56]OFD Sender: No OFD packet to send [02:21:01]OFD Sender: No OFD packet to send [02:21:06]OFD Sender: No OFD packet to send [02:21:11]OFD Sender: No OFD packet to send [02:21:16]OFD Sender: No OFD packet to send [02:21:21]OFD Sender: No OFD packet to send [02:21:26]OFD Sender: No OFD packet to send [02:21:31]OFD Sender: No OFD packet to send [02:21:36]OFD Sender: No OFD packet to send [02:21:41]OFD Sender: No OFD packet to send [02:21:46]OFD Sender: No OFD packet to send [02:21:51]OFD Sender: No OFD packet to send [02:21:56]OFD Sender: No OFD packet to send [02:22:01]OFD Sender: No OFD packet to send [02:22:06]OFD Sender: No OFD packet to send [02:22:11]OFD Sender: No OFD packet to send [02:22:16]OFD Sender: No OFD packet to send [02:22:21]OFD Sender: No OFD packet to send [02:22:26]OFD Sender: No OFD packet to send [02:22:31]OFD Sender: No OFD packet to send [02:22:36]OFD Sender: No OFD packet to send [02:22:41]OFD Sender: No OFD packet to send [02:22:46]OFD Sender: No OFD packet to send [02:22:51]OFD Sender: No OFD packet to send [02:22:56]OFD Sender: No OFD packet to send [02:23:01]OFD Sender: No OFD packet to send [02:23:06]OFD Sender: No OFD packet to send [02:23:08]accept exits with 9 [02:23:08]New connection [02:23:08]New thread 3066879332 created [02:23:08]Thread 3066735972 joined [02:23:08]Waiting for new connection... [02:23:08] Sock 9.Parse request [02:23:08]Sock 9.Check first char [02:23:08]Sock 9.First char is OK [02:23:08]request: POST /json_proto HTTP/1.0 [02:23:08]Method: POST [02:23:08]URL: /json_proto [02:23:08]Method is POST - this is cgi request [02:23:08]url: /json_proto [02:23:08]query_string will be loaded in cgi processing [02:23:08]execute_cgi json_proto POST (null) [02:23:08]execute_cgi path=json_proto method=POST [02:23:08]POST find Content-Length [02:23:08]Host: 172.17.34.200:8080 [02:23:08]Content-Length: 215 [02:23:08]Content-Type: application/json [02:23:08] [02:23:08]POST finish read [02:23:08]Found Content-Length = 215 [02:23:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:23:08]execute_script... [02:23:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:23:08]POST & json_proto [02:23:08]process_json_proto [02:23:08]json parsed OK: [02:23:08]protocol is kg_v1.0 [02:23:08]action value=get_value [02:23:08]process_action get_value [02:23:08]cmd_get_value [02:23:08]process_action get_value done [02:23:08]requested_data is exist [02:23:08]produce_requested_data [02:23:08]requested_item kkm.sn is exist - process it [02:23:08]requested_item kkm.ver is exist - process it [02:23:08]requested_item fm.sn is exist - process it [02:23:08]wFMCommunicate request_size=4 [02:23:08]MH_SAM_APDU [02:23:08]CAPDU: 80 11 00 00 [02:23:08]Write to MH i2c: E2 08 00 3A 37 80 11 00 00 00 00 00 00 EB [02:23:08]Write i2c OK [02:23:08]MH_I2C_Read... [02:23:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:23:08]Read from MH i2c: E2 [02:23:08]MH_I2C_Read... [02:23:08]Read from MH i2c: E2 17 00 [02:23:08]MH_I2C_Read... [02:23:08]Read from MH i2c: E2 17 00 3A 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 3E [02:23:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [02:23:08]wFMCommunicate OK [02:23:08]requested_item fd.num is exist - process it [02:23:08]SAM_PROTO_GetFieldsCounters [02:23:08]wFMCommunicate request_size=4 [02:23:08]MH_SAM_APDU [02:23:08]CAPDU: 80 13 00 00 [02:23:08]Write to MH i2c: E2 08 00 3B 37 80 13 00 00 00 00 00 00 EE [02:23:08]Write i2c OK [02:23:08]MH_I2C_Read... [02:23:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:23:08]Read from MH i2c: E2 [02:23:08]MH_I2C_Read... [02:23:08]Read from MH i2c: E2 62 00 [02:23:08]MH_I2C_Read... [02:23:08]Read from MH i2c: E2 62 00 3B 37 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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 30 13 01 00 0E 04 04 00 11 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 72 [02:23: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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 30 13 01 00 0E 04 04 00 11 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:23:08]wFMCommunicate OK [02:23:08]SAM_PROTO_GetFieldsCounters done [02:23:08]requested_item shift.num is exist - process it [02:23:08]requested_item shift.opened is exist - process it [02:23:08]req_shift_opened [02:23:08]FM_GetShiftState [02:23:08]SAM_PROTO_GetShiftState [02:23:08]wFMCommunicate request_size=4 [02:23:08]MH_SAM_APDU [02:23:08]CAPDU: 80 13 01 00 [02:23:08]Write to MH i2c: E2 08 00 3C 37 80 13 01 00 00 00 00 00 F0 [02:23:08]Write i2c OK [02:23:08]MH_I2C_Read... [02:23:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:23:08]Read from MH i2c: E2 [02:23:08]MH_I2C_Read... [02:23:08]Read from MH i2c: E2 0E 00 [02:23:08]MH_I2C_Read... [02:23:08]Read from MH i2c: E2 0E 00 3C 37 00 09 00 01 42 2F 17 66 00 00 00 00 90 00 EA [02:23:08]RAPDU: 09 00 01 42 2F 17 66 00 00 00 00 90 00 [02:23:08]wFMCommunicate OK [02:23:08]SAM_PROTO_GetShiftState done [02:23:08]FM_GetShiftState done [02:23:08]req_shift_opened done [02:23:08]requested_item shift.open_date is exist - process it [02:23:08]req_shift_open_date [02:23:08]req_shift_open_date done [02:23:08]produce_requested_data done [02:23:08]produce_requested_data return {"kkm.sn":"0300000024","kkm.ver":"001","fm.sn":"0000000000874742","fd.num":70448,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458} [02:23:08]process_action_free get_value [02:23:08]json_value_free [02:23:08]json_value_free done [02:23:08]process_json_proto returns [02:23:08]Send response to host [02:23:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000024","kkm.ver":"001","fm.sn":"0000000000874742","fd.num":70448,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458}}} [02:23:08]free response buf [02:23:08]execute_script done [02:23:08]execute_script returns [02:23:08]free content buf [02:23:08]Sock 9.Close socket [02:23:08]Sock 9.Thread stoped [02:23:08]accept exits with 7 [02:23:08]New connection [02:23:08]New thread 3066735972 created [02:23:08]Thread 3066879332 joined [02:23:08]Waiting for new connection... [02:23:08] Sock 7.Parse request [02:23:08]Sock 7.Check first char [02:23:08]Sock 7.First char is OK [02:23:08]request: POST /json_proto HTTP/1.0 [02:23:08]Method: POST [02:23:08]URL: /json_proto [02:23:08]Method is POST - this is cgi request [02:23:08]url: /json_proto [02:23:08]query_string will be loaded in cgi processing [02:23:08]execute_cgi json_proto POST (null) [02:23:08]execute_cgi path=json_proto method=POST [02:23:08]POST find Content-Length [02:23:08]Host: 172.17.34.200:8080 [02:23:08]Content-Length: 331 [02:23:08]Content-Type: application/json [02:23:08] [02:23:08]POST finish read [02:23:08]Found Content-Length = 331 [02:23:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [02:23:08]execute_script... [02:23:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [02:23:09]POST & json_proto [02:23:09]process_json_proto [02:23:09]json parsed OK: [02:23:09]protocol is kg_v1.0 [02:23:09]action value=get_value [02:23:09]process_action get_value [02:23:09]cmd_get_value [02:23:09]process_action get_value done [02:23:09]requested_data is exist [02:23:09]produce_requested_data [02:23:09]requested_item fm.sale.total is exist - process it [02:23:09]SAM_PROTO_GetFMData [02:23:09]wFMCommunicate request_size=4 [02:23:09]MH_SAM_APDU [02:23:09]CAPDU: 80 13 03 00 [02:23:09]Write to MH i2c: E2 08 00 3D 37 80 13 03 00 00 00 00 00 F3 [02:23:09]Write i2c OK [02:23:09]MH_I2C_Read... [02:23:09]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [02:23:09]Read from MH i2c: E2 [02:23:09]MH_I2C_Read... [02:23:09]Read from MH i2c: E2 FD 00 [02:23:09]MH_I2C_Read... [02:23:09]Read from MH i2c: E2 FD 00 3D 37 00 C8 04 85 04 C4 04 6E 04 04 00 0D 11 01 00 69 04 A3 00 6F 04 04 00 6F 0D 01 00 B1 04 05 00 EE 6A 47 B2 01 70 04 05 00 B8 6D 7B 12 01 72 04 04 00 36 FD CB 9F 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 19 28 20 2E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 BD EE D7 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9F 00 6F 04 04 00 9E 03 00 00 B1 04 04 00 74 34 75 23 70 04 04 00 40 EC 6E 23 72 04 03 00 34 48 06 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 7D FD C3 03 90 00 DA [02:23:09]RAPDU: C8 04 85 04 C4 04 6E 04 04 00 0D 11 01 00 69 04 A3 00 6F 04 04 00 6F 0D 01 00 B1 04 05 00 EE 6A 47 B2 01 70 04 05 00 B8 6D 7B 12 01 72 04 04 00 36 FD CB 9F 00 04 7D 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 19 28 20 2E EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 BD EE D7 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9F 00 6F 04 04 00 9E 03 00 00 B1 04 04 00 74 34 75 23 70 04 04 00 40 EC 6E 23 72 04 03 00 34 48 06 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 7D FD C3 03 90 00 [02:23:09]wFMCommunicate OK [02:23:09]wFMCommunicate request_size=4 [02:23:09]MH_SAM_APDU [02:23:09]CAPDU: 80 17 00 00 [02:23:09]Write to MH i2c: E2 08 00 3E 37 80 17 00 00 00 00 00 00 F5 [02:23:09]Write i2c OK [02:23:09]MH_I2C_Read... [02:23:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:23:09]Read from MH i2c: E2 [02:23:09]MH_I2C_Read... [02:23:09]Read from MH i2c: E2 FD 00 [02:23:09]MH_I2C_Read... [02:23:09]Read from MH i2c: E2 FD 00 3E 37 00 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 CD 54 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 62 [02:23:09]RAPDU: 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 CD 54 50 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [02:23:09]wFMCommunicate OK [02:23:09]wFMCommunicate request_size=4 [02:23:09]MH_SAM_APDU [02:23:09]CAPDU: 80 17 00 00 [02:23:09]Write to MH i2c: E2 08 00 3F 37 80 17 00 00 00 00 00 00 F6 [02:23:09]Write i2c OK [02:23:09]MH_I2C_Read... [02:23:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:23:10]Read from MH i2c: E2 [02:23:10]MH_I2C_Read... [02:23:10]Read from MH i2c: E2 FD 00 [02:23:10]MH_I2C_Read... [02:23:10]Read from MH i2c: E2 FD 00 3F 37 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CE [02:23:10]RAPDU: 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [02:23:10]wFMCommunicate OK [02:23:10]wFMCommunicate request_size=4 [02:23:10]MH_SAM_APDU [02:23:10]CAPDU: 80 17 00 00 [02:23:10]Write to MH i2c: E2 08 00 40 37 80 17 00 00 00 00 00 00 F7 [02:23:10]Write i2c OK [02:23:10]MH_I2C_Read... [02:23:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:23:10]Read from MH i2c: E2 [02:23:10]MH_I2C_Read... [02:23:10]Read from MH i2c: E2 FD 00 [02:23:10]MH_I2C_Read... [02:23:10]Read from MH i2c: E2 FD 00 40 37 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 90 00 6F [02:23:10]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 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 90 00 [02:23:10]wFMCommunicate OK [02:23:10]wFMCommunicate request_size=4 [02:23:10]MH_SAM_APDU [02:23:10]CAPDU: 80 17 00 00 [02:23:10]Write to MH i2c: E2 08 00 41 37 80 17 00 00 00 00 00 00 F8 [02:23:10]Write i2c OK [02:23:10]MH_I2C_Read... [02:23:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 226! [02:23:10]Read from MH i2c: E2 [02:23:10]MH_I2C_Read... [02:23:10]Read from MH i2c: E2 E5 00 [02:23:10]MH_I2C_Read... [02:23:10]Read from MH i2c: E2 E5 00 41 37 00 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DC [02:23:10]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [02:23:10]wFMCommunicate OK [02:23:10]SAM_PROTO_GetFMData done [02:23:10]requested_item fm.sale_refund.total is exist - process it [02:23:10]requested_item fm.buy.total is exist - process it [02:23:10]requested_item shift.sale.total is exist - process it [02:23:10]SAM_PROTO_GetShiftData [02:23:10]wFMCommunicate request_size=4 [02:23:10]MH_SAM_APDU [02:23:10]CAPDU: 80 13 02 00 [02:23:10]Write to MH i2c: E2 08 00 42 37 80 13 02 00 00 00 00 00 F7 [02:23:10]Write i2c OK [02:23:10]MH_I2C_Read... [02:23:11]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:23:11]Read from MH i2c: E2 [02:23:11]MH_I2C_Read... [02:23:11]Read from MH i2c: E2 FD 00 [02:23:11]MH_I2C_Read... [02:23:11]Read from MH i2c: E2 FD 00 42 37 00 AE 04 AA 04 AA 04 6E 04 04 00 05 00 00 00 69 04 9B 00 6F 04 04 00 05 00 00 00 B1 04 03 00 C3 06 0A 70 04 03 00 D8 53 01 72 04 03 00 EB B2 08 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 9C 10 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 B8 16 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E1 [02:23:11]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 05 00 00 00 69 04 9B 00 6F 04 04 00 05 00 00 00 B1 04 03 00 C3 06 0A 70 04 03 00 D8 53 01 72 04 03 00 EB B2 08 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 9C 10 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 B8 16 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [02:23:11]wFMCommunicate OK [02:23:11]wFMCommunicate request_size=4 [02:23:11]MH_SAM_APDU [02:23:11]CAPDU: 80 17 00 00 [02:23:11]Write to MH i2c: E2 08 00 43 37 80 17 00 00 00 00 00 00 FA [02:23:11]Write i2c OK [02:23:11]MH_I2C_Read... [02:23:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:23:11]Read from MH i2c: E2 [02:23:11]MH_I2C_Read... [02:23:11]Read from MH i2c: E2 FD 00 [02:23:11]MH_I2C_Read... [02:23:11]Read from MH i2c: E2 FD 00 43 37 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 1C [02:23:11]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [02:23:11]wFMCommunicate OK [02:23:11]wFMCommunicate request_size=4 [02:23:11]MH_SAM_APDU [02:23:11]CAPDU: 80 17 00 00 [02:23:11]Write to MH i2c: E2 08 00 44 37 80 17 00 00 00 00 00 00 FB [02:23:11]Write i2c OK [02:23:11]MH_I2C_Read... [02:23:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:23:11]Read from MH i2c: E2 [02:23:11]MH_I2C_Read... [02:23:11]Read from MH i2c: E2 FD 00 [02:23:11]MH_I2C_Read... [02:23:11]Read from MH i2c: E2 FD 00 44 37 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B2 [02:23:11]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [02:23:11]wFMCommunicate OK [02:23:11]wFMCommunicate request_size=4 [02:23:11]MH_SAM_APDU [02:23:11]CAPDU: 80 17 00 00 [02:23:11]Write to MH i2c: E2 08 00 45 37 80 17 00 00 00 00 00 00 FC [02:23:11]OFD Sender: No OFD packet to send [02:23:11]Write i2c OK [02:23:11]MH_I2C_Read... [02:23:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:23:12]Read from MH i2c: E2 [02:23:12]MH_I2C_Read... [02:23:12]Read from MH i2c: E2 FD 00 [02:23:12]MH_I2C_Read... [02:23:12]Read from MH i2c: E2 FD 00 45 37 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 6E [02:23:12]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [02:23:12]wFMCommunicate OK [02:23:12]wFMCommunicate request_size=4 [02:23:12]MH_SAM_APDU [02:23:12]CAPDU: 80 17 00 00 [02:23:12]Write to MH i2c: E2 08 00 46 37 80 17 00 00 00 00 00 00 FD [02:23:12]Write i2c OK [02:23:12]MH_I2C_Read... [02:23:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [02:23:12]Read from MH i2c: E2 [02:23:12]MH_I2C_Read... [02:23:12]Read from MH i2c: E2 CB 00 [02:23:12]MH_I2C_Read... [02:23:12]Read from MH i2c: E2 CB 00 46 37 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 E6 [02:23:12]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [02:23:12]wFMCommunicate OK [02:23:12]SAM_PROTO_GetShiftData done [02:23:12]requested_item shift.sale.total_cash is exist - process it [02:23:12]requested_item shift.sale_refund.total is exist - process it [02:23:12]requested_item shift.sale_refund.total_cash is exist - process it [02:23:12]requested_item shift.buy.total is exist - process it [02:23:12]requested_item shift.buy.total_cash is exist - process it [02:23:12]produce_requested_data done [02:23:12]produce_requested_data return {"fm.sale.total":72859921.74,"fm.sale_refund.total":5948837.00,"fm.buy.total":0.00,"shift.sale.total":6570.91,"shift.sale.total_cash":870.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} [02:23:12]process_action_free get_value [02:23:12]json_value_free [02:23:12]json_value_free done [02:23:12]process_json_proto returns [02:23:12]Send response to host [02:23:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":72859921.74,"fm.sale_refund.total":5948837.00,"fm.buy.total":0.00,"shift.sale.total":6570.91,"shift.sale.total_cash":870.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}}} [02:23:12]free response buf [02:23:12]execute_script done [02:23:12]execute_script returns [02:23:12]free content buf [02:23:12]Sock 7.Close socket [02:23:12]Sock 7.Thread stoped [02:23:16]OFD Sender: No OFD packet to send [02:23:21]OFD Sender: No OFD packet to send [02:23:26]OFD Sender: No OFD packet to send [02:23:31]OFD Sender: No OFD packet to send [02:23:36]OFD Sender: No OFD packet to send [02:23:41]OFD Sender: No OFD packet to send [02:23:46]OFD Sender: No OFD packet to send [02:23:51]OFD Sender: No OFD packet to send [02:23:56]OFD Sender: No OFD packet to send [02:24:01]OFD Sender: No OFD packet to send [02:24:06]OFD Sender: No OFD packet to send [02:24:11]OFD Sender: No OFD packet to send [02:24:16]OFD Sender: No OFD packet to send [02:24:21]OFD Sender: No OFD packet to send [02:24:26]OFD Sender: No OFD packet to send [02:24:31]OFD Sender: No OFD packet to send [02:24:36]OFD Sender: No OFD packet to send [02:24:41]OFD Sender: No OFD packet to send [02:24:46]OFD Sender: No OFD packet to send [02:24:51]OFD Sender: No OFD packet to send [02:24:56]OFD Sender: No OFD packet to send [02:25:01]OFD Sender: No OFD packet to send [02:25:06]OFD Sender: No OFD packet to send [02:25:11]OFD Sender: No OFD packet to send [02:25:17]OFD Sender: No OFD packet to send [02:25:22]OFD Sender: No OFD packet to send [02:25:27]OFD Sender: No OFD packet to send [02:25:32]OFD Sender: No OFD packet to send [02:25:37]OFD Sender: No OFD packet to send [02:25:42]OFD Sender: No OFD packet to send [02:25:47]OFD Sender: No OFD packet to send [02:25:52]OFD Sender: No OFD packet to send [02:25:57]OFD Sender: No OFD packet to send [02:26:02]OFD Sender: No OFD packet to send [02:26:07]OFD Sender: No OFD packet to send [02:26:12]OFD Sender: No OFD packet to send [02:26:17]OFD Sender: No OFD packet to send [02:26:22]OFD Sender: No OFD packet to send [02:26:27]OFD Sender: No OFD packet to send [02:26:32]OFD Sender: No OFD packet to send [02:26:37]OFD Sender: No OFD packet to send [02:26:42]OFD Sender: No OFD packet to send [02:26:47]OFD Sender: No OFD packet to send [02:26:52]OFD Sender: No OFD packet to send [02:26:57]OFD Sender: No OFD packet to send [02:27:02]OFD Sender: No OFD packet to send [02:27:07]OFD Sender: No OFD packet to send [02:27:12]OFD Sender: No OFD packet to send [02:27:17]OFD Sender: No OFD packet to send [02:27:22]OFD Sender: No OFD packet to send [02:27:27]OFD Sender: No OFD packet to send [02:27:32]OFD Sender: No OFD packet to send [02:27:37]OFD Sender: No OFD packet to send [02:27:42]OFD Sender: No OFD packet to send [02:27:47]OFD Sender: No OFD packet to send [02:27:52]OFD Sender: No OFD packet to send [02:27:57]OFD Sender: No OFD packet to send [02:28:02]OFD Sender: No OFD packet to send [02:28:07]OFD Sender: No OFD packet to send [02:28:12]OFD Sender: No OFD packet to send [02:28:17]OFD Sender: No OFD packet to send [02:28:22]OFD Sender: No OFD packet to send [02:28:27]OFD Sender: No OFD packet to send [02:28:32]OFD Sender: No OFD packet to send [02:28:37]OFD Sender: No OFD packet to send [02:28:42]OFD Sender: No OFD packet to send [02:28:47]OFD Sender: No OFD packet to send [02:28:52]OFD Sender: No OFD packet to send [02:28:57]OFD Sender: No OFD packet to send [02:29:02]OFD Sender: No OFD packet to send [02:29:07]OFD Sender: No OFD packet to send [02:29:12]OFD Sender: No OFD packet to send [02:29:17]OFD Sender: No OFD packet to send [02:29:22]OFD Sender: No OFD packet to send [02:29:27]OFD Sender: No OFD packet to send [02:29:32]OFD Sender: No OFD packet to send [02:29:37]OFD Sender: No OFD packet to send [02:29:42]OFD Sender: No OFD packet to send [02:29:47]OFD Sender: No OFD packet to send [02:29:52]OFD Sender: No OFD packet to send [02:29:57]OFD Sender: No OFD packet to send [02:30:02]OFD Sender: No OFD packet to send [02:30:07]OFD Sender: No OFD packet to send [02:30:12]OFD Sender: No OFD packet to send [02:30:17]OFD Sender: No OFD packet to send [02:30:22]OFD Sender: No OFD packet to send [02:30:27]OFD Sender: No OFD packet to send [02:30:32]OFD Sender: No OFD packet to send [02:30:37]OFD Sender: No OFD packet to send [02:30:42]OFD Sender: No OFD packet to send [02:30:47]OFD Sender: No OFD packet to send [02:30:52]OFD Sender: No OFD packet to send [02:30:57]OFD Sender: No OFD packet to send [02:31:02]OFD Sender: No OFD packet to send [02:31:07]OFD Sender: No OFD packet to send [02:31:12]OFD Sender: No OFD packet to send [02:31:17]OFD Sender: No OFD packet to send [02:31:22]OFD Sender: No OFD packet to send [02:31:27]OFD Sender: No OFD packet to send [02:31:32]OFD Sender: No OFD packet to send [02:31:37]OFD Sender: No OFD packet to send [02:31:42]OFD Sender: No OFD packet to send [02:31:47]OFD Sender: No OFD packet to send [02:31:52]OFD Sender: No OFD packet to send [02:31:57]OFD Sender: No OFD packet to send [02:32:02]OFD Sender: No OFD packet to send [02:32:07]OFD Sender: No OFD packet to send [02:32:12]OFD Sender: No OFD packet to send [02:32:17]OFD Sender: No OFD packet to send [02:32:22]OFD Sender: No OFD packet to send [02:32:27]OFD Sender: No OFD packet to send [02:32:32]OFD Sender: No OFD packet to send [02:32:37]OFD Sender: No OFD packet to send [02:32:42]OFD Sender: No OFD packet to send [02:32:47]OFD Sender: No OFD packet to send [02:32:52]OFD Sender: No OFD packet to send [02:32:57]OFD Sender: No OFD packet to send [02:33:02]OFD Sender: No OFD packet to send [02:33:07]OFD Sender: No OFD packet to send [02:33:12]OFD Sender: No OFD packet to send [02:33:17]OFD Sender: No OFD packet to send [02:33:22]OFD Sender: No OFD packet to send [02:33:27]OFD Sender: No OFD packet to send [02:33:32]OFD Sender: No OFD packet to send [02:33:37]OFD Sender: No OFD packet to send [02:33:42]OFD Sender: No OFD packet to send [02:33:47]OFD Sender: No OFD packet to send [02:33:52]OFD Sender: No OFD packet to send [02:33:57]OFD Sender: No OFD packet to send [02:34:02]OFD Sender: No OFD packet to send [02:34:07]OFD Sender: No OFD packet to send [02:34:12]OFD Sender: No OFD packet to send [02:34:17]OFD Sender: No OFD packet to send [02:34:22]OFD Sender: No OFD packet to send [02:34:27]OFD Sender: No OFD packet to send [02:34:32]OFD Sender: No OFD packet to send [02:34:37]OFD Sender: No OFD packet to send [02:34:42]OFD Sender: No OFD packet to send [02:34:47]OFD Sender: No OFD packet to send [02:34:52]OFD Sender: No OFD packet to send [02:34:57]OFD Sender: No OFD packet to send [02:35:02]OFD Sender: No OFD packet to send [02:35:07]OFD Sender: No OFD packet to send [02:35:12]OFD Sender: No OFD packet to send [02:35:17]OFD Sender: No OFD packet to send [02:35:22]OFD Sender: No OFD packet to send [02:35:27]OFD Sender: No OFD packet to send [02:35:32]OFD Sender: No OFD packet to send [02:35:37]OFD Sender: No OFD packet to send [02:35:42]OFD Sender: No OFD packet to send [02:35:47]OFD Sender: No OFD packet to send [02:35:52]OFD Sender: No OFD packet to send [02:35:57]OFD Sender: No OFD packet to send [02:36:02]OFD Sender: No OFD packet to send [02:36:07]OFD Sender: No OFD packet to send [02:36:12]OFD Sender: No OFD packet to send [02:36:17]OFD Sender: No OFD packet to send [02:36:22]OFD Sender: No OFD packet to send [02:36:27]OFD Sender: No OFD packet to send [02:36:32]OFD Sender: No OFD packet to send [02:36:37]OFD Sender: No OFD packet to send [02:36:42]OFD Sender: No OFD packet to send [02:36:47]OFD Sender: No OFD packet to send [02:36:52]OFD Sender: No OFD packet to send [02:36:57]OFD Sender: No OFD packet to send [02:37:02]OFD Sender: No OFD packet to send [02:37:07]OFD Sender: No OFD packet to send [02:37:12]OFD Sender: No OFD packet to send [02:37:17]OFD Sender: No OFD packet to send [02:37:22]OFD Sender: No OFD packet to send [02:37:27]OFD Sender: No OFD packet to send [02:37:32]OFD Sender: No OFD packet to send [02:37:37]OFD Sender: No OFD packet to send [02:37:42]OFD Sender: No OFD packet to send [02:37:47]OFD Sender: No OFD packet to send [02:37:52]OFD Sender: No OFD packet to send [02:37:57]OFD Sender: No OFD packet to send [02:38:02]OFD Sender: No OFD packet to send [02:38:07]OFD Sender: No OFD packet to send [02:38:12]OFD Sender: No OFD packet to send [02:38:17]OFD Sender: No OFD packet to send [02:38:22]OFD Sender: No OFD packet to send [02:38:27]OFD Sender: No OFD packet to send [02:38:32]OFD Sender: No OFD packet to send [02:38:37]OFD Sender: No OFD packet to send [02:38:42]OFD Sender: No OFD packet to send [02:38:47]OFD Sender: No OFD packet to send [02:38:52]OFD Sender: No OFD packet to send [02:38:57]OFD Sender: No OFD packet to send [02:39:02]OFD Sender: No OFD packet to send [02:39:07]OFD Sender: No OFD packet to send [02:39:12]OFD Sender: No OFD packet to send [02:39:17]OFD Sender: No OFD packet to send [02:39:22]OFD Sender: No OFD packet to send [02:39:27]OFD Sender: No OFD packet to send [02:39:32]OFD Sender: No OFD packet to send [02:39:37]OFD Sender: No OFD packet to send [02:39:42]OFD Sender: No OFD packet to send [02:39:47]OFD Sender: No OFD packet to send [02:39:52]OFD Sender: No OFD packet to send [02:39:57]OFD Sender: No OFD packet to send [02:40:02]OFD Sender: No OFD packet to send [02:40:07]OFD Sender: No OFD packet to send [02:40:12]OFD Sender: No OFD packet to send [02:40:17]OFD Sender: No OFD packet to send [02:40:22]OFD Sender: No OFD packet to send [02:40:27]OFD Sender: No OFD packet to send [02:40:32]OFD Sender: No OFD packet to send [02:40:37]OFD Sender: No OFD packet to send [02:40:42]OFD Sender: No OFD packet to send [02:40:47]OFD Sender: No OFD packet to send [02:40:52]OFD Sender: No OFD packet to send [02:40:57]OFD Sender: No OFD packet to send [02:41:02]OFD Sender: No OFD packet to send [02:41:07]OFD Sender: No OFD packet to send [02:41:12]OFD Sender: No OFD packet to send [02:41:17]OFD Sender: No OFD packet to send [02:41:22]OFD Sender: No OFD packet to send [02:41:27]OFD Sender: No OFD packet to send [02:41:32]OFD Sender: No OFD packet to send [02:41:37]OFD Sender: No OFD packet to send [02:41:42]OFD Sender: No OFD packet to send [02:41:47]OFD Sender: No OFD packet to send [02:41:52]OFD Sender: No OFD packet to send [02:41:57]OFD Sender: No OFD packet to send [02:42:02]OFD Sender: No OFD packet to send [02:42:07]OFD Sender: No OFD packet to send [02:42:12]OFD Sender: No OFD packet to send [02:42:17]OFD Sender: No OFD packet to send [02:42:22]OFD Sender: No OFD packet to send [02:42:27]OFD Sender: No OFD packet to send [02:42:32]OFD Sender: No OFD packet to send [02:42:37]OFD Sender: No OFD packet to send [02:42:42]OFD Sender: No OFD packet to send [02:42:47]OFD Sender: No OFD packet to send [02:42:52]OFD Sender: No OFD packet to send [02:42:57]OFD Sender: No OFD packet to send [02:43:02]OFD Sender: No OFD packet to send [02:43:07]OFD Sender: No OFD packet to send [02:43:12]OFD Sender: No OFD packet to send [02:43:17]OFD Sender: No OFD packet to send [02:43:22]OFD Sender: No OFD packet to send [02:43:27]OFD Sender: No OFD packet to send [02:43:32]OFD Sender: No OFD packet to send [02:43:37]OFD Sender: No OFD packet to send [02:43:42]OFD Sender: No OFD packet to send [02:43:47]OFD Sender: No OFD packet to send [02:43:52]OFD Sender: No OFD packet to send [02:43:57]OFD Sender: No OFD packet to send [02:44:02]OFD Sender: No OFD packet to send [02:44:07]OFD Sender: No OFD packet to send [02:44:12]OFD Sender: No OFD packet to send [02:44:17]OFD Sender: No OFD packet to send [02:44:22]OFD Sender: No OFD packet to send [02:44:27]OFD Sender: No OFD packet to send [02:44:32]OFD Sender: No OFD packet to send [02:44:37]OFD Sender: No OFD packet to send [02:44:42]OFD Sender: No OFD packet to send [02:44:47]OFD Sender: No OFD packet to send [02:44:52]OFD Sender: No OFD packet to send [02:44:57]OFD Sender: No OFD packet to send [02:45:02]OFD Sender: No OFD packet to send [02:45:07]OFD Sender: No OFD packet to send [02:45:12]OFD Sender: No OFD packet to send [02:45:17]OFD Sender: No OFD packet to send [02:45:22]OFD Sender: No OFD packet to send [02:45:27]OFD Sender: No OFD packet to send [02:45:32]OFD Sender: No OFD packet to send [02:45:37]OFD Sender: No OFD packet to send [02:45:42]OFD Sender: No OFD packet to send [02:45:47]OFD Sender: No OFD packet to send [02:45:52]OFD Sender: No OFD packet to send [02:45:57]OFD Sender: No OFD packet to send [02:46:02]OFD Sender: No OFD packet to send [02:46:07]OFD Sender: No OFD packet to send [02:46:12]OFD Sender: No OFD packet to send [02:46:17]OFD Sender: No OFD packet to send [02:46:22]OFD Sender: No OFD packet to send [02:46:27]OFD Sender: No OFD packet to send [02:46:32]OFD Sender: No OFD packet to send [02:46:37]OFD Sender: No OFD packet to send [02:46:42]OFD Sender: No OFD packet to send [02:46:47]OFD Sender: No OFD packet to send [02:46:53]OFD Sender: No OFD packet to send [02:46:58]OFD Sender: No OFD packet to send [02:47:03]OFD Sender: No OFD packet to send [02:47:08]OFD Sender: No OFD packet to send [02:47:13]OFD Sender: No OFD packet to send [02:47:18]OFD Sender: No OFD packet to send [02:47:23]OFD Sender: No OFD packet to send [02:47:28]OFD Sender: No OFD packet to send [02:47:33]OFD Sender: No OFD packet to send [02:47:38]OFD Sender: No OFD packet to send [02:47:43]OFD Sender: No OFD packet to send [02:47:48]OFD Sender: No OFD packet to send [02:47:53]OFD Sender: No OFD packet to send [02:47:58]OFD Sender: No OFD packet to send [02:48:03]OFD Sender: No OFD packet to send [02:48:08]OFD Sender: No OFD packet to send [02:48:13]OFD Sender: No OFD packet to send [02:48:18]OFD Sender: No OFD packet to send [02:48:23]OFD Sender: No OFD packet to send [02:48:28]OFD Sender: No OFD packet to send [02:48:33]OFD Sender: No OFD packet to send [02:48:38]OFD Sender: No OFD packet to send [02:48:43]OFD Sender: No OFD packet to send [02:48:48]OFD Sender: No OFD packet to send [02:48:53]OFD Sender: No OFD packet to send [02:48:56]accept exits with 9 [02:48:56]New connection [02:48:56]New thread 3066879332 created [02:48:56]Thread 3066735972 joined [02:48:56]Waiting for new connection... [02:48:56] Sock 9.Parse request [02:48:56]Sock 9.Check first char [02:48:56]Sock 9.First char is OK [02:48:56]request: POST /json_proto HTTP/1.0 [02:48:56]Method: POST [02:48:56]URL: /json_proto [02:48:56]Method is POST - this is cgi request [02:48:56]url: /json_proto [02:48:56]query_string will be loaded in cgi processing [02:48:56]execute_cgi json_proto POST (null) [02:48:56]execute_cgi path=json_proto method=POST [02:48:56]POST find Content-Length [02:48:56]Host: 172.17.34.200:8080 [02:48:56]Content-Length: 678 [02:48:56]Content-Type: application/json [02:48:56] [02:48:56]POST finish read [02:48:56]Found Content-Length = 678 [02:48:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)1259817", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 5.210, "sum" : 330.31, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 330.00, "total" : 330.00, "payments": [ { "type": 0, "sum" : 330.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:48:56]execute_script... [02:48: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 : (1)1259817", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 5.210, "sum" : 330.31, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 330.00, "total" : 330.00, "payments": [ { "type": 0, "sum" : 330.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:48:56]POST & json_proto [02:48:56]process_json_proto [02:48:56]json parsed OK: [02:48:56]protocol is kg_v1.0 [02:48:56]action value=close_receipt [02:48:56]process_action close_receipt [02:48:56]cmd_close_receipt [02:48:56]MH_GetDate [02:48:56]Write to MH i2c: F0 00 00 47 37 6D [02:48:56]Write i2c OK [02:48:56]MH_I2C_Read... [02:48:56]Read from MH i2c: F0 [02:48:56]MH_I2C_Read... [02:48:56]Read from MH i2c: F0 09 00 [02:48:56]MH_I2C_Read... [02:48:56]Read from MH i2c: F0 09 00 47 37 00 A2 4F 17 66 B3 F3 14 66 04 [02:48:56]GetLastDocTimeStamp 1712798004 [02:48:56]current date 1712803746 [02:48:56]FM_GetShiftState [02:48:56]SAM_PROTO_GetShiftState [02:48:56]wFMCommunicate request_size=4 [02:48:56]MH_SAM_APDU [02:48:56]CAPDU: 80 13 01 00 [02:48:56]Write to MH i2c: E2 08 00 48 37 80 13 01 00 00 00 00 00 FC [02:48:56]Write i2c OK [02:48:56]MH_I2C_Read... [02:48:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:48:56]Read from MH i2c: E2 [02:48:56]MH_I2C_Read... [02:48:56]Read from MH i2c: E2 0E 00 [02:48:56]MH_I2C_Read... [02:48:56]Read from MH i2c: E2 0E 00 48 37 00 09 00 01 42 2F 17 66 00 00 00 00 90 00 F6 [02:48:56]RAPDU: 09 00 01 42 2F 17 66 00 00 00 00 90 00 [02:48:56]wFMCommunicate OK [02:48:56]SAM_PROTO_GetShiftState done [02:48:56]FM_GetShiftState done [02:48:56]opened in 1712795458 [02:48:56]opened+sec_in_day 1712881858 [02:48:56]quantity*price = 33031 [02:48:56]sum+1 = 33032 [02:48:56]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.31 ИТОГО: 330.00 Внесено: 330.00 СДАЧА: 0.00 НСП 1% : 2.92 НДС 12% : 35.08 Наличными: 330.00 Безнал.: 0.00 Место: АЗС № 121 "Партнер Нефть" Адрес: 720001, с. Ивановка, ул. Г. Ильина 1 А/1, 42.881777, 75.107954 СНО: Общий режим Чек 6 11.04.2024 02:49 Смена: 273 ФФД: 1.0 ЗНМ: 0300000024 РНМ: 0000000000090617 Версия ККМ: 001 ФМ: 0000000000874742 ФД: 70449 ФПД: 941156547192 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240411T024906&type=1&operation_type=1&fn_number=0000000000874742&fd_number=70449&fm=941156547192&tin=02508201610067®Number=0000000000090617&sum=33000 [02:48:57]StoreToDocumentArchive [02:48:57]shift 273 fd 70449 [02:48:57]save to /storage/0273/doc_00070449 [02:48:57]save last doc name /storage/0273/doc_00070449 to /storage/kkm_last_doc_name [02:48:57]save OK [02:48:57]Clear old archive folders... [02:48:57]ProcessDocumentItem done err = 0, tmpTLVsize=251 [02:48:57]tlvbuf is 021E8B20 [02:48:57]SAM_PROTO_ClearQueue [02:48:57]wFMCommunicate request_size=4 [02:48:57]MH_SAM_APDU [02:48:57]CAPDU: 80 09 00 00 [02:48:57]Write to MH i2c: E2 08 00 55 37 80 09 00 00 00 00 00 00 FE [02:48:57]Write i2c OK [02:48:57]MH_I2C_Read... [02:48:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:48:57]Read from MH i2c: E2 [02:48:57]MH_I2C_Read... [02:48:57]Read from MH i2c: E2 03 00 [02:48:57]MH_I2C_Read... [02:48:57]Read from MH i2c: E2 03 00 55 37 00 90 00 00 [02:48:57]RAPDU: 90 00 [02:48:57]wFMCommunicate OK [02:48:57]SAM_PROTO_ClearQueue done [02:48:57]KKMCreateOFDPacket [02:48:57]OFDProtocolAddRootSTLVToBuf [02:48:57]FM_MakeSignedData [02:48:57]FM_MakeSignedData [02:48:57]SAM_PROTO_SignData [02:48:57]wFMCommunicate request_size=4 [02:48:57]MH_SAM_APDU [02:48:57]CAPDU: 80 0D 01 02 [02:48:57]Write to MH i2c: E2 08 00 56 37 80 0D 01 02 00 00 00 00 06 [02:48:57]Write i2c OK [02:48:57]MH_I2C_Read... [02:48:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:48:57]Read from MH i2c: E2 [02:48:57]MH_I2C_Read... [02:48:57]Read from MH i2c: E2 03 00 [02:48:57]MH_I2C_Read... [02:48:57]Read from MH i2c: E2 03 00 56 37 00 90 00 01 [02:48:57]RAPDU: 90 00 [02:48:57]wFMCommunicate OK [02:48:57]wFMCommunicate request_size=255 [02:48:57]MH_SAM_APDU [02:48:57]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5A 14 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 07 81 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 0D 00 00 00 00 07 04 06 00 E8 80 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 A2 4F 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 31 13 01 00 35 04 06 00 00 [02:48:57]Write to MH i2c: E2 02 01 57 37 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5A 14 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 07 81 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 0D 00 00 00 00 07 04 06 00 E8 80 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 A2 4F 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 31 13 01 00 35 04 06 00 00 00 00 61 [02:48:57]Write i2c OK [02:48:57]MH_I2C_Read... [02:48:58]OFD Sender: No OFD packet to send [02:48:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:48:58]Read from MH i2c: E2 [02:48:58]MH_I2C_Read... [02:48:58]Read from MH i2c: E2 03 00 [02:48:58]MH_I2C_Read... [02:48:58]Read from MH i2c: E2 03 00 57 37 00 90 00 02 [02:48:58]RAPDU: 90 00 [02:48:58]wFMCommunicate OK [02:48:58]wFMCommunicate request_size=10 [02:48:58]MH_SAM_APDU [02:48:58]CAPDU: 80 0D 02 02 05 DB 21 4D 3A 78 [02:48:58]Write to MH i2c: E2 0D 00 58 37 80 0D 02 02 05 00 DB 21 4D 3A 78 00 00 0E [02:48:58]Write i2c OK [02:48:58]MH_I2C_Read... [02:48:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:48:58]Read from MH i2c: E2 [02:48:58]MH_I2C_Read... [02:48:58]Read from MH i2c: E2 03 00 [02:48:58]MH_I2C_Read... [02:48:58]Read from MH i2c: E2 03 00 58 37 00 90 00 03 [02:48:58]RAPDU: 90 00 [02:48:58]wFMCommunicate OK [02:48:58]wFMCommunicate request_size=4 [02:48:58]MH_SAM_APDU [02:48:58]CAPDU: 80 0D 03 02 [02:48:58]Write to MH i2c: E2 08 00 59 37 80 0D 03 02 00 00 00 00 0B [02:48:58]Write i2c OK [02:48:58]MH_I2C_Read... [02:48:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:48:58]Read from MH i2c: E2 [02:48:58]MH_I2C_Read... [02:48:58]Read from MH i2c: E2 0B 00 [02:48:58]MH_I2C_Read... [02:48:58]Read from MH i2c: E2 0B 00 59 37 00 27 6A 31 C0 E2 0F 1B 12 90 00 AC [02:48:58]RAPDU: 27 6A 31 C0 E2 0F 1B 12 90 00 [02:48:58]wFMCommunicate OK [02:48:58]SAM_PROTO_SignData done [02:48:58]FM_MakeSignedData done [02:48:58]CreateOFDProtocolMessage [02:48:58]wFMCommunicate request_size=4 [02:48:58]MH_SAM_APDU [02:48:58]CAPDU: 80 11 00 00 [02:48:58]Write to MH i2c: E2 08 00 5A 37 80 11 00 00 00 00 00 00 0B [02:48:58]Write i2c OK [02:48:58]MH_I2C_Read... [02:48:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:48:58]Read from MH i2c: E2 [02:48:58]MH_I2C_Read... [02:48:58]Read from MH i2c: E2 17 00 [02:48:58]MH_I2C_Read... [02:48:58]Read from MH i2c: E2 17 00 5A 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 5E [02:48:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [02:48:58]wFMCommunicate OK [02:48:58]CreateOFDProtocolMessage done [02:48:58]OFDSenderStorePacket 70449 [02:48:58]StoreOFDPacket docnum=70449 [02:48:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 0F 01 00 00 5F F3 07 01 0A 9E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5A 14 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 07 81 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 0D 00 00 00 00 07 04 06 00 E8 80 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 A2 4F 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 31 13 01 00 35 04 06 00 00 DB 21 4D 3A 78 27 6A 31 C0 E2 0F 1B 12 [02:48:58]CheckFolder [02:48:58]dirname=/storage/ofd_packets [02:48:58]CheckFolder done [02:48:58]ProducePacketName [02:48:58]name=ofd_packets/00070449 [02:48:58]NVStorageSaveData ofd_packets/00070449 [02:48:58]File name is /storage/ofd_packets/00070449 [02:48:58]Write 301 bytes [02:48:58]NVStorageSaveData done [02:48:58]OFDSenderStorePacket done [02:48:58]KKMCreateOFDPacket done [02:48:58]NVStorageSaveData kkm_last_timestamp [02:48:58]File name is /storage/kkm_last_timestamp [02:48:58]Write 4 bytes [02:48:58]NVStorageSaveData done [02:48:58]ExternCall_PrintAddStr [02:48:58]wPrintStart [02:48:58]Write to MH i2c: 01 00 00 5B 37 92 [02:48:58]Write i2c OK [02:48:58]MH_I2C_Read... [02:48:58]Read from MH i2c: 01 [02:48:58]MH_I2C_Read... [02:48:58]Read from MH i2c: 01 07 00 [02:48:58]MH_I2C_Read... [02:48:58]Read from MH i2c: 01 07 00 5B 37 00 00 00 00 00 FF 0F A7 [02:48:58]RasterBufferAndPrint [02:48:58]line Счет N : (1)1259817 [02:48:58]line ИНН: 02508201610067 [02:48:58]line Контрольно-Кассовый Чек [02:48:58]line ПРОДАЖА [02:48:58]line ТРК (МРК, ГНК) : 42 [02:48:58]line Товар: 2710124130 [02:48:58]line Аи-92-К-5 [02:48:58]line 5.210 * 63.40 [02:48:58]line = 330.31 [02:48:58]line НДС 12% НСП 1% [02:48:58]line > о реализуемом товаре [02:48:58]line ОКРУГЛЕНИЕ: -0.31 [02:48:58]line ИТОГО: 330.00 [02:48:58]line Внесено: 330.00 [02:48:58]line СДАЧА: 0.00 [02:48:58]line НСП 1% : 2.92 [02:48:58]line НДС 12% : 35.08 [02:48:58]line Наличными: 330.00 [02:48:58]line Безнал.: 0.00 [02:48:58]line Место: АЗС № 121 "Партнер Нефть" [02:48:58]line Адрес: 720001, с. Ивановка, ул. Г. Ильина 1 А/1, 42.881777, 75.107954 [02:48:58]line СНО: Общий режим [02:48:58]line Чек 6 11.04.2024 02:49 [02:48:58]line Смена: 273 ФФД: 1.0 [02:48:58]line ЗНМ: 0300000024 [02:48:58]line РНМ: 0000000000090617 [02:48:58]line Версия ККМ: 001 [02:48:58]line ФМ: 0000000000874742 [02:48:58]line ФД: 70449 [02:48:58]line ФПД: 941156547192 [02:48:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240411T024906&type=1&operation_type=1&fn_number=0000000000874742&fd_number=70449&fm=941156547192&tin=02508201610067®Number=0000000000090617&sum=33000 [02:48:58]OFD Sender: Processing packet 70449 [packets to send 7, broken 6] [02:48:58]ProducePacketName [02:48:58]name=ofd_packets/00070449 [02:48:58]OFD Sender: To server: pG, [02:48:58]CommunicateWithHost lk.salyk.kg:30040 [02:48:58]ConnectInit lk.salyk.kg [02:48:58]written 0, free lines is 4095 [02:48:58]Connected sock=10 [02:48: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 34 32 0F 01 00 00 5F F3 07 01 0A 9E 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 5A 14 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 07 81 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 80 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 0D 00 00 00 00 07 04 06 00 E8 80 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 A2 4F 17 66 0E 04 04 00 11 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 10 04 04 00 31 13 01 00 35 04 06 00 00 DB 21 4D 3A 78 27 6A 31 C0 E2 0F 1B 12 [02:48: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 34 32 4F 00 00 00 DB 3F 47 00 7C 64 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 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 34 32 10 04 04 00 31 13 01 00 F4 03 04 00 99 FB 16 66 B6 04 01 00 00 E4 19 E4 90 BF 84 C0 46 [02:48:58]CommunicateWithHost err = 0 [02:48:58]CheckOFDResponse [02:48:58]1017 (14) - 77093643461234 [02:48:58]1041 (16) - 0000000000874742 [02:48:58]1040 (4) - 70449 [02:48:58]1012 (4) - 10.04.2024 20:50 [02:48:58]1206 (1) - 0 [02:48:58]OFD Sender: Remove packet 70449 [02:48:58]ProducePacketName [02:48:58]name=ofd_packets/00070449 [02:48:58]NVStorageDeleteData [02:48:59]Write to MH i2c: 01 00 00 86 37 BD [02:48:59]Write i2c OK [02:48:59]MH_I2C_Read... [02:48:59]Read from MH i2c: 01 [02:48:59]MH_I2C_Read... [02:48:59]Read from MH i2c: 01 07 00 [02:48:59]MH_I2C_Read... [02:48:59]Read from MH i2c: 01 07 00 86 37 00 00 00 00 00 E4 0C B4 [02:48:59]RasterBufferAndPrint [02:48:59]line [02:48:59]line [02:48:59]line [02:48:59]line [02:48:59]line [02:48:59]written 0, free lines is 3309 [02:48:59]MH_Cut [02:48:59]Write to MH i2c: D1 01 00 8D 37 01 96 [02:48:59]Write i2c OK [02:48:59]MH_I2C_Read... [02:48:59]Read from MH i2c: D1 [02:48:59]MH_I2C_Read... [02:48:59]Read from MH i2c: D1 01 00 [02:48:59]MH_I2C_Read... [02:48:59]Read from MH i2c: D1 01 00 8D 37 00 95 [02:48:59]Write to MH i2c: 01 00 00 8E 37 C5 [02:48:59]Write i2c OK [02:48:59]MH_I2C_Read... [02:48:59]OFD Sender: No OFD packet to send [02:48:59]*** Cut start [02:48:59]*** Partial cut [02:48:59]*** CUTSNS_PIN = 1 [02:48:59]*** CUTSNS_PIN = 0 [02:49:00]*** Brake cut motor [02:49:00]Read from MH i2c: 01 [02:49:00]MH_I2C_Read... [02:49:00]*** Stop cut motor [02:49:00]*** Cut end [02:49:00]Read from MH i2c: 01 07 00 [02:49:00]MH_I2C_Read... [02:49:00]Read from MH i2c: 01 07 00 8E 37 00 00 00 00 00 FF 0F DA [02:49:00]process_action close_receipt done [02:49:00]requested_data is exist [02:49:00]produce_requested_data [02:49:00]requested_item fm.sn is exist - process it [02:49:00]wFMCommunicate request_size=4 [02:49:00]MH_SAM_APDU [02:49:00]CAPDU: 80 11 00 00 [02:49:00]Write to MH i2c: E2 08 00 8F 37 80 11 00 00 00 00 00 00 40 [02:49:00]Write i2c OK [02:49:00]MH_I2C_Read... [02:49:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:49:00]Read from MH i2c: E2 [02:49:00]MH_I2C_Read... [02:49:00]Read from MH i2c: E2 17 00 [02:49:00]MH_I2C_Read... [02:49:00]Read from MH i2c: E2 17 00 8F 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 93 [02:49:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 37 34 32 90 00 [02:49:00]wFMCommunicate OK [02:49:00]requested_item fd.num is exist - process it [02:49:00]SAM_PROTO_GetFieldsCounters [02:49:00]wFMCommunicate request_size=4 [02:49:00]MH_SAM_APDU [02:49:00]CAPDU: 80 13 00 00 [02:49:00]Write to MH i2c: E2 08 00 90 37 80 13 00 00 00 00 00 00 43 [02:49:00]Write i2c OK [02:49:00]MH_I2C_Read... [02:49:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:49:00]Read from MH i2c: E2 [02:49:00]MH_I2C_Read... [02:49:00]Read from MH i2c: E2 62 00 [02:49:00]MH_I2C_Read... [02:49:00]Read from MH i2c: E2 62 00 90 37 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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 31 13 01 00 0E 04 04 00 11 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 CB [02:49: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 34 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 30 36 31 37 10 04 04 00 31 13 01 00 0E 04 04 00 11 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:49:00]wFMCommunicate OK [02:49:00]SAM_PROTO_GetFieldsCounters done [02:49:00]requested_item shift.num is exist - process it [02:49:00]requested_item shift.opened is exist - process it [02:49:00]req_shift_opened [02:49:00]FM_GetShiftState [02:49:00]SAM_PROTO_GetShiftState [02:49:00]wFMCommunicate request_size=4 [02:49:00]MH_SAM_APDU [02:49:00]CAPDU: 80 13 01 00 [02:49:00]Write to MH i2c: E2 08 00 91 37 80 13 01 00 00 00 00 00 45 [02:49:00]Write i2c OK [02:49:00]MH_I2C_Read... [02:49:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:49:00]Read from MH i2c: E2 [02:49:00]MH_I2C_Read... [02:49:00]Read from MH i2c: E2 0E 00 [02:49:00]MH_I2C_Read... [02:49:00]Read from MH i2c: E2 0E 00 91 37 00 09 00 01 42 2F 17 66 00 00 00 00 90 00 3F [02:49:00]RAPDU: 09 00 01 42 2F 17 66 00 00 00 00 90 00 [02:49:00]wFMCommunicate OK [02:49:00]SAM_PROTO_GetShiftState done [02:49:00]FM_GetShiftState done [02:49:00]req_shift_opened done [02:49:00]requested_item shift.open_date is exist - process it [02:49:00]req_shift_open_date [02:49:00]req_shift_open_date done [02:49:00]produce_requested_data done [02:49:00]produce_requested_data return {"fm.sn":"0000000000874742","fd.num":70449,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458} [02:49:00]process_action_free close_receipt [02:49:00]json_value_free [02:49:00]json_value_free done [02:49:00]process_json_proto returns [02:49:00]Send response to host [02:49:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874742","fd.num":70449,"shift.num":273,"shift.opened":1,"shift.open_date":1712795458}}} [02:49:00]free response buf [02:49:00]execute_script done [02:49:00]execute_script returns [02:49:00]free content buf [02:49:00]Sock 9.Close socket [02:49:00]Sock 9.Thread stoped [02:49:04]OFD Sender: No OFD packet to send [02:49:09]OFD Sender: No OFD packet to send [02:49:14]OFD Sender: No OFD packet to send [02:49:19]OFD Sender: No OFD packet to send [02:49:24]OFD Sender: No OFD packet to send [02:49:29]OFD Sender: No OFD packet to send [02:49:34]OFD Sender: No OFD packet to send [02:49:39]OFD Sender: No OFD packet to send [02:49:44]OFD Sender: No OFD packet to send [02:49:49]OFD Sender: No OFD packet to send [02:49:54]OFD Sender: No OFD packet to send [02:49:59]OFD Sender: No OFD packet to send [02:50:04]OFD Sender: No OFD packet to send [02:50:09]OFD Sender: No OFD packet to send [02:50:14]OFD Sender: No OFD packet to send [02:50:19]OFD Sender: No OFD packet to send [02:50:24]OFD Sender: No OFD packet to send [02:50:29]OFD Sender: No OFD packet to send [02:50:34]OFD Sender: No OFD packet to send [02:50:39]OFD Sender: No OFD packet to send [02:50:44]OFD Sender: No OFD packet to send [02:50:49]OFD Sender: No OFD packet to send [02:50:54]OFD Sender: No OFD packet to send [02:50:59]OFD Sender: No OFD packet to send [02:51:04]OFD Sender: No OFD packet to send [02:51:09]OFD Sender: No OFD packet to send [02:51:14]OFD Sender: No OFD packet to send [02:51:19]OFD Sender: No OFD packet to send [02:51:24]OFD Sender: No OFD packet to send [02:51:29]OFD Sender: No OFD packet to send [02:51:34]OFD Sender: No OFD packet to send [02:51:39]OFD Sender: No OFD packet to send [02:51:44]OFD Sender: No OFD packet to send [02:51:49]OFD Sender: No OFD packet to send [02:51:54]OFD Sender: No OFD packet to send [02:51:59]OFD Sender: No OFD packet to send [02:52:04]OFD Sender: No OFD packet to send [02:52:09]OFD Sender: No OFD packet to send [02:52:14]OFD Sender: No OFD packet to send [02:52:19]OFD Sender: No OFD packet to send [02:52:24]OFD Sender: No OFD packet to send [02:52:29]OFD Sender: No OFD packet to send [02:52:34]OFD Sender: No OFD packet to send [02:52:39]OFD Sender: No OFD packet to send [02:52:44]OFD Sender: No OFD packet to send [02:52:49]OFD Sender: No OFD packet to send [02:52:54]OFD Sender: No OFD packet to send [02:52:59]OFD Sender: No OFD packet to send [02:53:04]OFD Sender: No OFD packet to send [02:53:09]OFD Sender: No OFD packet to send [02:53:14]OFD Sender: No OFD packet to send [02:53:19]OFD Sender: No OFD packet to send [02:53:24]OFD Sender: No OFD packet to send [02:53:29]OFD Sender: No OFD packet to send [02:53:34]OFD Sender: No OFD packet to send [02:53:39]OFD Sender: No OFD packet to send [02:53:44]OFD Sender: No OFD packet to send [02:53:49]OFD Sender: No OFD packet to send [02:53:54]OFD Sender: No OFD packet to send [02:53:59]OFD Sender: No OFD packet to send [02:54:04]OFD Sender: No OFD packet to send [02:54:09]OFD Sender: No OFD packet to send [02:54:14]OFD Sender: No OFD packet to send [02:54:19]OFD Sender: No OFD packet to send [02:54:24]OFD Sender: No OFD packet to send [02:54:29]OFD Sender: No OFD packet to send [02:54:34]OFD Sender: No OFD packet to send [02:54:39]OFD Sender: No OFD packet to send [02:54:44]OFD Sender: No OFD packet to send [02:54:49]OFD Sender: No OFD packet to send [02:54:54]OFD Sender: No OFD packet to send [02:54:59]OFD Sender: No OFD packet to send [02:55:04]OFD Sender: No OFD packet to send [02:55:09]OFD Sender: No OFD packet to send [02:55:14]OFD Sender: No OFD packet to send [02:55:19]OFD Sender: No OFD packet to send [02:55:24]OFD Sender: No OFD packet to send [02:55:29]OFD Sender: No OFD packet to send [02:55:34]OFD Sender: No OFD packet to send [02:55:39]OFD Sender: No OFD packet to send [02:55:44]OFD Sender: No OFD packet to send [02:55:49]OFD Sender: No OFD packet to send [02:55:54]OFD Sender: No OFD packet to send [02:55:59]OFD Sender: No OFD packet to send [02:56:04]OFD Sender: No OFD packet to send [02:56:09]OFD Sender: No OFD packet to send [02:56:14]OFD Sender: No OFD packet to send [02:56:19]OFD Sender: No OFD packet to send [02:56:24]OFD Sender: No OFD packet to send [02:56:29]OFD Sender: No OFD packet to send [02:56:34]OFD Sender: No OFD packet to send [02:56:39]OFD Sender: No OFD packet to send [02:56:44]OFD Sender: No OFD packet to send [02:56:49]OFD Sender: No OFD packet to send [02:56:54]OFD Sender: No OFD packet to send [02:56:59]OFD Sender: No OFD packet to send [02:57:04]OFD Sender: No OFD packet to send [02:57:09]OFD Sender: No OFD packet to send [02:57:14]OFD Sender: No OFD packet to send [02:57:19]OFD Sender: No OFD packet to send [02:57:24]OFD Sender: No OFD packet to send [02:57:29]OFD Sender: No OFD packet to send [02:57:34]OFD Sender: No OFD packet to send [02:57:39]OFD Sender: No OFD packet to send [02:57:44]OFD Sender: No OFD packet to send [02:57:49]OFD Sender: No OFD packet to send [02:57:54]OFD Sender: No OFD packet to send [02:57:59]OFD Sender: No OFD packet to send [02:58:04]OFD Sender: No OFD packet to send [02:58:09]OFD Sender: No OFD packet to send [02:58:14]OFD Sender: No OFD packet to send [02:58:19]OFD Sender: No OFD packet to send