[00:00:10] *** EcrCore started. Build 196 *** [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]/dev/ttyS4 opened [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 D6 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 7B [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]*** [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 54000000005725D6 (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF (ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ) [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:10]*** step 1: 4835 (2500, 2335 REF) [00:00:10]*** step 2: 4676 (2440, 2236 REF) [00:00:10]*** step 3: 4523 (2280, 2243 REF) [00:00:10]*** step 4: 4376 (2160, 2216 REF) [00:00:11]*** step 5: 4235 (2050, 2185 REF) [00:00:11]*** step 6: 4098 (1950, 2148 REF) [00:00:11]*** step 7: 3967 (1870, 2097 REF) [00:00:11]*** step 8: 3840 (1828, 2012 REF) [00:00:11]*** step 9: 3719 (1728, 1991 REF) [00:00:11]*** step 10: 3601 (1675, 1926 REF) [00:00:11]*** step 11: 3488 (1635, 1853 REF) [00:00:11]*** step 12: 3379 (1595, 1784 REF) [00:00:11]*** step 13: 3275 (1565, 1710 REF) [00:00:11]*** step 14: 3174 (1543, 1631 REF) [00:00:11]*** step 15: 3077 (1523, 1554 REF) [00:00:11]*** step 16: 2983 (1503, 1480 REF) [00:00:11]*** step 17: 2893 (1486, 1407 REF) [00:00:11]*** step 18: 2806 (1466, 1340 REF) [00:00:11]*** step 19: 2723 (1426, 1297 REF) [00:00:11]*** step 20: 2642 (1406, 1236 REF) [00:00:11]*** step 21: 2565 (1384, 1181 REF) [00:00:11]*** step 22: 2490 (1364, 1126 REF) [00:00:11]*** step 23: 2418 (1344, 1074 REF) [00:00:11]*** step 24: 2349 (1322, 1027 REF) [00:00:11]*** step 25: 2283 (1302, 981 REF) [00:00:11]*** step 26: 2218 (1282, 936 REF) [00:00:11]*** step 27: 2157 (1262, 895 REF) [00:00:11]*** step 28: 2097 (1242, 855 REF) [00:00:11]*** step 29: 2040 (1222, 818 REF) [00:00:11]*** step 30: 1985 (1202, 783 REF) [00:00:11]*** step 31: 1932 (1191, 741 REF) [00:00:11]*** step 32: 1880 (1181, 699 REF) [00:00:11]*** step 33: 1831 (1171, 660 REF) [00:00:11]*** step 34: 1784 (1161, 623 REF) [00:00:11]*** step 35: 1738 (1151, 587 REF) [00:00:11]*** step 36: 1694 (1141, 553 REF) [00:00:11]*** step 37: 1652 (1131, 521 REF) [00:00:11]*** step 38: 1611 (1121, 490 REF) [00:00:11]*** step 39: 1572 (1111, 461 REF) [00:00:11]*** step 40: 1534 (1103, 431 REF) [00:00:11]*** step 41: 1497 (1093, 404 REF) [00:00:11]*** step 42: 1462 (1083, 379 REF) [00:00:11]*** step 43: 1428 (1073, 355 REF) [00:00:11]*** step 44: 1396 (1063, 333 REF) [00:00:11]*** step 45: 1365 (1053, 312 REF) [00:00:11]*** step 46: 1334 (1043, 291 REF) [00:00:11]*** step 47: 1305 (1033, 272 REF) [00:00:11]*** step 48: 1277 (1023, 254 REF) [00:00:11]*** step 49: 1250 (1013, 237 REF) [00:00:11]*** step 50: 1224 (990, 234 REF) [00:00:11]*** step 51: 1199 (980, 219 REF) [00:00:11]*** step 52: 1175 (970, 205 REF) [00:00:11]*** step 53: 1152 (960, 192 REF) [00:00:11]*** step 54: 1130 (950, 180 REF) [00:00:11]*** step 55: 1108 (940, 168 REF) [00:00:11]*** step 56: 1088 (930, 158 REF) [00:00:11]*** step 57: 1068 (920, 148 REF) [00:00:11]*** step 58: 1049 (910, 139 REF) [00:00:11]*** step 59: 1030 (900, 130 REF) [00:00:11]*** step 60: 1012 (890, 122 REF) [00:00:11]*** step 61: 995 (880, 115 REF) [00:00:11]*** step 62: 979 (870, 109 REF) [00:00:11]*** step 63: 963 (860, 103 REF) [00:00:11]*** step 64: 948 (850, 98 REF) [00:00:11]*** step 65: 933 (840, 93 REF) [00:00:11]*** step 66: 919 (830, 89 REF) [00:00:11]*** step 67: 905 (820, 85 REF) [00:00:11]*** step 68: 892 (810, 82 REF) [00:00:11]*** step 69: 879 (800, 79 REF) [00:00:11]*** step 70: 867 (790, 77 REF) [00:00:11]*** step 71: 855 (780, 75 REF) [00:00:11]*** step 72: 844 (770, 74 REF) [00:00:11]*** step 73: 833 (760, 73 REF) [00:00:11]*** step 74: 822 (750, 72 REF) [00:00:11]*** step 75: 812 (740, 72 REF) [00:00:11]*** step 76: 803 (730, 73 REF) [00:00:11]*** step 77: 793 (720, 73 REF) [00:00:11]*** step 78: 784 (710, 74 REF) [00:00:11]*** step 79: 776 (700, 76 REF) [00:00:11]*** step 80: 767 (690, 77 REF) [00:00:11]*** step 81: 759 (680, 79 REF) [00:00:11]*** step 82: 751 (670, 81 REF) [00:00:11]*** step 83: 744 (660, 84 REF) [00:00:11]*** step 84: 737 (650, 87 REF) [00:00:11]*** step 85: 730 (640, 90 REF) [00:00:11]*** step 86: 723 (630, 93 REF) [00:00:11]*** step 87: 717 (620, 97 REF) [00:00:11]*** step 88: 710 (610, 100 REF) [00:00:11]*** step 89: 705 (600, 105 REF) [00:00:11]*** step 90: 699 [00:00:11]*** step 91: 693 [00:00:11]*** step 92: 688 [00:00:11]*** step 93: 683 [00:00:11]*** step 94: 678 [00:00:11]*** step 95: 673 [00:00:11]*** step 96: 669 [00:00:11]*** step 97: 664 [00:00:11]*** step 98: 660 [00:00:11]*** step 99: 656 [00:00:11]*** step 100: 652 [00:00:11]*** step 101: 648 [00:00:11]*** step 102: 644 [00:00:11]*** step 103: 641 [00:00:11]*** step 104: 638 [00:00:11]*** step 105: 634 [00:00:11]*** step 106: 631 [00:00:11]*** step 107: 628 [00:00:11]*** step 108: 625 [00:00:11]*** step 109: 622 [00:00:11]*** step 110: 620 [00:00:11]*** step 111: 617 [00:00:11]*** step 112: 615 [00:00:11]*** step 113: 612 [00:00:11]*** step 114: 610 [00:00:11]*** step 115: 608 [00:00:11]*** step 116: 605 [00:00:11]*** step 117: 603 [00:00:11]*** step 118: 601 [00:00:11]*** step 119: 599 [00:00:11]*** printer: Printer HW initialized [00:00:11]*** initSamCard finished [00:00:11]*** RTC: 170+0=170 [00:00:11]*** BPK Status Register BPK_RDY = 0x2 [00:00:11]*** SEN State Register SEN_STATE = 0x220ff [00:00:11]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:11]*** Analog Control Register 0 SEN_ANA0 = 0x33570624 [00:00:11]*** Is cutter blocked? [00:00:11]*** FLAG_PRN_PAP1 set [00:00:11]*** FLAG_PRN_PAP2 set [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 03 00 02 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 D6 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 7C [00:00:11]Are we in boot? [00:00:11]We are not in boot now [00:00:11]Write to MH i2c: 01 00 00 04 00 04 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 04 00 00 03 00 00 00 FF 0F 1C [00:00:11]Model is 3 [00:00:11]MH firmware is 30620 [00:00:11]MH boot firmware is 3 [00:00:11]MH_SetPrinterDots 448 [00:00:11]HeadWidthInBytes 56 [00:00:11]maxmasksize 7 [00:00:11]Write to MH i2c: D6 06 00 05 00 41 00 60 00 FF FF 7F [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:11]Write to MH i2c: D5 00 00 06 00 DA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]ExternCall_SetCallbacks [00:00:11]NVStorageInit [00:00:11]No nvstorage dir found. Trying to create it. [00:00:11]Nvstorage dir /storage created. [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 AB 00 00 00 00 00 00 00 AA [00:02:51]Current date/time: 01.01.1970 00:02 [00:02:51]FM_Init [00:02:51]wFMConnect [00:02:51]MH_SAM_On [00:02:51]Write to MH i2c: E0 00 00 08 00 E7 [00:02:51]Write i2c OK [00:02:51]MH_I2C_Read... [00:02:51]*** iso7816_init failed -2820! [00:02:51]Read from MH i2c: E0 [00:02:51]MH_I2C_Read... [00:02:51]Read from MH i2c: E0 05 00 [00:02:51]MH_I2C_Read... [00:02:51]Read from MH i2c: E0 05 00 08 00 10 FC F4 FF FF EA [00:02:51]Error from MH - 10 [00:02:51]No FM detected - please insert FM [00:02:51]DocumentArchiveInit [00:02:51]Start Httpd... [00:02:51]Httpd thread 3067891044 created [00:02:51]Write to MH i2c: 01 00 00 09 00 09 [00:02:51]Write i2c OK [00:02:51]MH_I2C_Read... [00:02:51]Read from MH i2c: 01 [00:02:51]MH_I2C_Read... [00:02:51]Read from MH i2c: 01 07 00 [00:02:51]MH_I2C_Read... [00:02:51]Read from MH i2c: 01 07 00 09 00 00 03 00 00 00 FF 0F 21 [00:02:51]No OFD sender enable setting [00:02:51]MH Int Process started [00:02:51]Allocated Socket 7 [00:02:51]Bind OK [00:02:51]Listen OK [00:02:51]httpd running on port 8080 [00:02:51]Waiting for new connection... [00:02:56]No OFD sender enable setting [00:02:58]accept exits with 8 [00:02:58]New connection [00:02:58]New thread 3067604324 created [00:02:58]Waiting for new connection... [00:02:58] Sock 8.Parse request [00:02:58]Sock 8.Check first char [00:02:58]accept exits with 9 [00:02:58]Sock 8.First char is OK [00:02:58]New connection [00:02:58]request: GET /testengine HTTP/1.1 [00:02:58]Method: GET [00:02:58]New thread 3067460964 created [00:02:58]URL: /testengine [00:02:58]Waiting for new connection... [00:02:58]Method is GET - find url and querystring [00:02:58]No ? found - this is static page request [00:02:58]url: /testengine [00:02:58]check /htdocs/testengine [00:02:58] Sock 9.Parse request [00:02:58]Sock 9.Check first char [00:02:58]file exist [00:02:58]serve_file /htdocs/testengine/index.html [00:02:58]read remaining request lines [00:02:58]Host: 192.168.0.101:8080 [00:02:58]Connection: keep-alive [00:02:58]Cache-Control: max-age=0 [00:02:58]Upgrade-Insecure-Requests: 1 [00:02:58]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.76 [00:02:58]Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7 [00:02:58]Accept-Encoding: gzip, deflate [00:02:58]Accept-Language: en-GB,en;q=0.9,en-US;q=0.8,ru;q=0.7 [00:02:58] [00:02:58]open file /htdocs/testengine/index.html [00:02:58]send HTTP headers [00:02:58]send file content [00:02:58]Finished. Sent 1003 bytes [00:02:58]close file [00:02:58]Sock 8.Close socket [00:02:58]Sock 8.Thread stoped [00:02:58]Sock 9.First char is OK [00:02:58]request: GET /testengine/css/app.915bc88f.css HTTP/1.1 [00:02:58]accept exits with 10 [00:02:58]New connection [00:02:58]Method: GET [00:02:58]URL: /testengine/css/app.915bc88f.css [00:02:58]Method is GET - find url and querystring [00:02:58]New thread 3067317604 created [00:02:58]Thread 3067604324 joined [00:02:58]Waiting for new connection... [00:02:58]accept exits with 8 [00:02:58]No ? found - this is static page request [00:02:58]New connection [00:02:58]url: /testengine/css/app.915bc88f.css [00:02:58]check /htdocs/testengine/css/app.915bc88f.css [00:02:58]New thread 3067604324 created [00:02:58]Waiting for new connection... [00:02:58]accept exits with 11 [00:02:58]New connection [00:02:58] Sock 10.Parse request [00:02:58]New thread 3067174244 created [00:02:58]Sock 10.Check first char [00:02:58]Waiting for new connection... [00:02:58]Sock 10.First char is OK [00:02:58]request: GET /testengine/js/app.a9c38288.js HTTP/1.1 [00:02:58]Method: GET [00:02:58] Sock 8.Parse request [00:02:58]URL: /testengine/js/app.a9c38288.js [00:02:58]Sock 8.Check first char [00:02:58]Method is GET - find url and querystring [00:02:58]Sock 8.First char is OK [00:02:58]No ? found - this is static page request [00:02:58]url: /testengine/js/app.a9c38288.js [00:02:58]check /htdocs/testengine/js/app.a9c38288.js [00:02:58]request: GET /testengine/css/chunk-vendors.1a13a212.css HTTP/1.1 [00:02:58]Method: GET [00:02:58]URL: /testengine/css/chunk-vendors.1a13a212.css [00:02:58]Method is GET - find url and querystring [00:02:58]No ? found - this is static page request [00:02:58] Sock 11.Parse request [00:02:58]url: /testengine/css/chunk-vendors.1a13a212.css [00:02:58]Sock 11.Check first char [00:02:58]check /htdocs/testengine/css/chunk-vendors.1a13a212.css [00:02:58]Sock 11.First char is OK [00:02:58]request: GET /testengine/js/chunk-vendors.8f546e50.js HTTP/1.1 [00:02:58]Method: GET [00:02:58]URL: /testengine/js/chunk-vendors.8f546e50.js [00:02:58]Method is GET - find url and querystring [00:02:58]No ? found - this is static page request [00:02:58]url: /testengine/js/chunk-vendors.8f546e50.js [00:02:58]check /htdocs/testengine/js/chunk-vendors.8f546e50.js [00:02:58]file exist [00:02:58]serve_file /htdocs/testengine/css/app.915bc88f.css [00:02:58]read remaining request lines [00:02:58]Host: 192.168.0.101:8080 [00:02:58]Connection: keep-alive [00:02:58]file exist [00:02:58]serve_file /htdocs/testengine/css/chunk-vendors.1a13a212.css [00:02:58]read remaining request lines [00:02:58]Host: 192.168.0.101:8080 [00:02:58]Connection: keep-alive [00:02:58]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.76 [00:02:58]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.76 [00:02:58]Accept: text/css,*/*;q=0.1 [00:02:58]Referer: http://192.168.0.101:8080/testengine [00:02:58]Accept-Encoding: gzip, deflate [00:02:58]Accept: text/css,*/*;q=0.1 [00:02:58]Accept-Language: en-GB,en;q=0.9,en-US;q=0.8,ru;q=0.7 [00:02:58] [00:02:58]open file /htdocs/testengine/css/chunk-vendors.1a13a212.css [00:02:58]send HTTP headers [00:02:58]Referer: http://192.168.0.101:8080/testengine [00:02:58]send file content [00:02:58]Accept-Encoding: gzip, deflate [00:02:58]Accept-Language: en-GB,en;q=0.9,en-US;q=0.8,ru;q=0.7 [00:02:58] [00:02:58]Finished. Sent 140 bytes [00:02:58]open file /htdocs/testengine/css/app.915bc88f.css [00:02:58]close file [00:02:58]Sock 8.Close socket [00:02:58]Sock 8.Thread stoped [00:02:58]send HTTP headers [00:02:58]send file content [00:02:58]file exist [00:02:58]serve_file /htdocs/testengine/js/app.a9c38288.js [00:02:58]read remaining request lines [00:02:58]Host: 192.168.0.101:8080 [00:02:58]Connection: keep-alive [00:02:58]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.76 [00:02:58]Accept: */* [00:02:58]Referer: http://192.168.0.101:8080/testengine [00:02:58]Accept-Encoding: gzip, deflate [00:02:58]Accept-Language: en-GB,en;q=0.9,en-US;q=0.8,ru;q=0.7 [00:02:58] [00:02:58]open file /htdocs/testengine/js/app.a9c38288.js [00:02:58]send HTTP headers [00:02:58]send file content [00:02:58]Finished. Sent 1227 bytes [00:02:58]close file [00:02:58]Sock 9.Close socket [00:02:58]Sock 9.Thread stoped [00:02:58]file exist [00:02:58]serve_file /htdocs/testengine/js/chunk-vendors.8f546e50.js [00:02:58]read remaining request lines [00:02:58]Host: 192.168.0.101:8080 [00:02:58]Connection: keep-alive [00:02:58]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.76 [00:02:58]Accept: */* [00:02:58]Referer: http://192.168.0.101:8080/testengine [00:02:58]Accept-Encoding: gzip, deflate [00:02:58]Accept-Language: en-GB,en;q=0.9,en-US;q=0.8,ru;q=0.7 [00:02:58] [00:02:58]open file /htdocs/testengine/js/chunk-vendors.8f546e50.js [00:02:58]send HTTP headers [00:02:58]send file content [00:02:58]Finished. Sent 102400 bytes [00:02:58]close file [00:02:58]Sock 10.Close socket [00:02:58]Sock 10.Thread stoped [00:02:58]Finished. Sent 165537 bytes [00:02:58]close file [00:02:58]Sock 11.Close socket [00:02:58]Sock 11.Thread stoped [00:02:58]accept exits with 12 [00:02:58]New connection [00:02:58]New thread 3067030884 created [00:02:58]Thread 3067317604 joined [00:02:58]Thread 3067460964 joined [00:02:58]Thread 3067604324 joined [00:02:58]Thread 3067174244 joined [00:02:58]Waiting for new connection... [00:02:58] Sock 12.Parse request [00:02:58]Sock 12.Check first char [00:02:58]Sock 12.First char is OK [00:02:58]request: GET /testengine/favicon.ico HTTP/1.1 [00:02:58]Method: GET [00:02:58]URL: /testengine/favicon.ico [00:02:58]Method is GET - find url and querystring [00:02:58]No ? found - this is static page request [00:02:58]url: /testengine/favicon.ico [00:02:58]check /htdocs/testengine/favicon.ico [00:02:58]file exist [00:02:58]serve_file /htdocs/testengine/favicon.ico [00:02:58]read remaining request lines [00:02:58]Host: 192.168.0.101:8080 [00:02:58]Connection: keep-alive [00:02:58]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.76 [00:02:58]Accept: image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8 [00:02:58]Referer: http://192.168.0.101:8080/testengine [00:02:58]Accept-Encoding: gzip, deflate [00:02:58]Accept-Language: en-GB,en;q=0.9,en-US;q=0.8,ru;q=0.7 [00:02:58] [00:02:58]open file /htdocs/testengine/favicon.ico [00:02:58]send HTTP headers [00:02:58]send file content [00:02:58]Finished. Sent 4286 bytes [00:02:58]close file [00:02:58]Sock 12.Close socket [00:02:58]Sock 12.Thread stoped [00:03:00]accept exits with 8 [00:03:00]New connection [00:03:00]New thread 3067604324 created [00:03:00]Thread 3067030884 joined [00:03:00]Waiting for new connection... [00:03:00] Sock 8.Parse request [00:03:00]Sock 8.Check first char [00:03:01]No OFD sender enable setting [00:03:03]Sock 8.First char is OK [00:03:03]request: POST /json_proto HTTP/1.1 [00:03:03]Method: POST [00:03:03]URL: /json_proto [00:03:03]Method is POST - this is cgi request [00:03:03]url: /json_proto [00:03:03]query_string will be loaded in cgi processing [00:03:03]execute_cgi json_proto POST (null) [00:03:03]execute_cgi path=json_proto method=POST [00:03:03]POST find Content-Length [00:03:03]Host: 192.168.0.101:8080 [00:03:03]Connection: keep-alive [00:03:03]Content-Length: 105 [00:03:03]Accept: application/json, text/plain, */* [00:03:03]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.76 [00:03:03]Content-Type: application/json [00:03:03]Origin: http://192.168.0.101:8080 [00:03:03]Referer: http://192.168.0.101:8080/testengine [00:03:03]Accept-Encoding: gzip, deflate [00:03:03]Accept-Language: en-GB,en;q=0.9,en-US;q=0.8,ru;q=0.7 [00:03:03] [00:03:03]POST finish read [00:03:03]Found Content-Length = 105 [00:03:03]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [00:03:03]execute_script... [00:03:03]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["config.timestamp"]}} [00:03:03]POST & json_proto [00:03:03]process_json_proto [00:03:03]json parsed OK: [00:03:03]protocol is kg_v1.0 [00:03:03]action value=get_value [00:03:03]process_action get_value [00:03:03]cmd_get_value [00:03:03]process_action get_value done [00:03:03]requested_data is exist [00:03:03]produce_requested_data [00:03:03]requested_item config.timestamp is exist - process it [00:03:03]MH_GetDate [00:03:03]Write to MH i2c: F0 00 00 0A 00 F9 [00:03:03]Write i2c OK [00:03:03]MH_I2C_Read... [00:03:03]Read from MH i2c: F0 [00:03:03]MH_I2C_Read... [00:03:03]Read from MH i2c: F0 09 00 [00:03:03]MH_I2C_Read... [00:03:03]Read from MH i2c: F0 09 00 0A 00 00 B8 00 00 00 00 00 00 00 BA [00:03:03]produce_requested_data done [00:03:03]produce_requested_data return {"config.timestamp":"184"} [00:03:03]process_action_free get_value [00:03:03]json_value_free [00:03:03]json_value_free done [00:03:03]process_json_proto returns [00:03:03]Send response to host [00:03:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"config.timestamp":"184"}}} [00:03:03]free response buf [00:03:03]execute_script done [00:03:03]execute_script returns [00:03:03]free content buf [00:03:03]Sock 8.Close socket [00:03:03]Sock 8.Thread stoped [00:03:06]No OFD sender enable setting [00:03:06]accept exits with 9 [00:03:06]New connection [00:03:06]New thread 3067460964 created [00:03:06]Thread 3067604324 joined [00:03:06]Waiting for new connection... [00:03:06] Sock 9.Parse request [00:03:06]Sock 9.Check first char [00:03:06]Sock 9.First char is OK [00:03:06]request: POST /json_proto HTTP/1.1 [00:03:06]Method: POST [00:03:06]URL: /json_proto [00:03:06]Method is POST - this is cgi request [00:03:06]url: /json_proto [00:03:06]query_string will be loaded in cgi processing [00:03:06]execute_cgi json_proto POST (null) [00:03:06]execute_cgi path=json_proto method=POST [00:03:06]POST find Content-Length [00:03:06]Host: 192.168.0.101:8080 [00:03:06]Connection: keep-alive [00:03:06]Content-Length: 113 [00:03:06]Accept: application/json, text/plain, */* [00:03:06]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.76 [00:03:06]Content-Type: application/json [00:03:06]Origin: http://192.168.0.101:8080 [00:03:06]Referer: http://192.168.0.101:8080/testengine [00:03:06]Accept-Encoding: gzip, deflate [00:03:06]Accept-Language: en-GB,en;q=0.9,en-US;q=0.8,ru;q=0.7 [00:03:06] [00:03:06]POST finish read [00:03:06]Found Content-Length = 113 [00:03:06]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1699526673"}}} [00:03:06]execute_script... [00:03:06]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.timestamp","value":"1699526673"}}} [00:03:06]POST & json_proto [00:03:06]process_json_proto [00:03:06]json parsed OK: [00:03:06]protocol is kg_v1.0 [00:03:06]action value=set_value [00:03:06]process_action set_value [00:03:06]cmd_set_value [00:03:06]SetValue [00:03:06]group config [00:03:06]SetConfigValue timestamp=1699526673 [00:03:06]SettingCheckAndSetValue timestamp=1699526673 [00:03:06]store_timestamp [00:03:06]MH_GetDate [00:03:06]Write to MH i2c: F0 00 00 0B 00 FA [00:03:06]Write i2c OK [00:03:06]MH_I2C_Read... [00:03:06]Read from MH i2c: F0 [00:03:06]MH_I2C_Read... [00:03:06]Read from MH i2c: F0 09 00 [00:03:06]MH_I2C_Read... [00:03:06]Read from MH i2c: F0 09 00 0B 00 00 BA 00 00 00 00 00 00 00 BD [00:03:06]GetLastDocTimeStamp 0 [00:03:06]cur date 186 [00:03:06]tm 1699526673 [00:03:06]tm ok - set date [00:03:06]MH_SetDate [00:03:06]Write to MH i2c: F1 04 00 0C 00 11 B8 4C 65 7A [00:03:06]Write i2c OK [00:03:06]MH_I2C_Read... [00:03:06]Read from MH i2c: F1 [00:03:06]MH_I2C_Read... [00:03:06]Read from MH i2c: F1 01 00 [00:03:06]MH_I2C_Read... [00:03:06]Read from MH i2c: F1 01 00 0C 00 00 FD [10:44:33]SetValue res=0 [10:44:33]process_action set_value done [10:44:33]no requested_data - finishing processing [10:44:33]process_action_free set_value [10:44:33]json_value_free [10:44:33]json_value_free done [10:44:33]process_json_proto returns [10:44:33]Send response to host [10:44:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [10:44:33]free response buf [10:44:33]execute_script done [10:44:33]execute_script returns [10:44:33]free content buf [10:44:33]Sock 9.Close socket [10:44:33]Sock 9.Thread stoped [10:44:37]No OFD sender enable setting [10:44:41]accept exits with 8 [10:44:41]New connection [10:44:41]New thread 3067604324 created [10:44:41]Thread 3067460964 joined [10:44:41]Waiting for new connection... [10:44:41] Sock 8.Parse request [10:44:41]Sock 8.Check first char [10:44:41]Sock 8.First char is OK [10:44:41]request: POST /json_proto HTTP/1.1 [10:44:41]Method: POST [10:44:41]URL: /json_proto [10:44:41]Method is POST - this is cgi request [10:44:41]url: /json_proto [10:44:41]query_string will be loaded in cgi processing [10:44:41]execute_cgi json_proto POST (null) [10:44:41]execute_cgi path=json_proto method=POST [10:44:41]POST find Content-Length [10:44:41]Host: 192.168.0.101:8080 [10:44:41]Connection: keep-alive [10:44:41]Content-Length: 158 [10:44:41]Accept: application/json, text/plain, */* [10:44:41]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.76 [10:44:41]Content-Type: application/json [10:44:41]Origin: http://192.168.0.101:8080 [10:44:41]Referer: http://192.168.0.101:8080/testengine [10:44:41]Accept-Encoding: gzip, deflate [10:44:41]Accept-Language: en-GB,en;q=0.9,en-US;q=0.8,ru;q=0.7 [10:44:41] [10:44:41]POST finish read [10:44:41]Found Content-Length = 158 [10:44:41]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["kkm.sn","kkm.ver","kkm.rnm","fm.sn","fm.ffd_ver","fm.expired","fd.num"]}} [10:44:41]execute_script... [10:44:41]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["kkm.sn","kkm.ver","kkm.rnm","fm.sn","fm.ffd_ver","fm.expired","fd.num"]}} [10:44:41]POST & json_proto [10:44:41]process_json_proto [10:44:41]json parsed OK: [10:44:41]protocol is kg_v1.0 [10:44:41]action value=get_value [10:44:41]process_action get_value [10:44:41]cmd_get_value [10:44:41]process_action get_value done [10:44:41]requested_data is exist [10:44:41]produce_requested_data [10:44:41]requested_item kkm.sn is exist - process it [10:44:41]requested_item kkm.ver is exist - process it [10:44:41]requested_item kkm.rnm is exist - process it [10:44:41]FM_Init [10:44:41]wFMConnect [10:44:41]MH_SAM_On [10:44:41]Write to MH i2c: E0 00 00 0D 00 EC [10:44:41]Write i2c OK [10:44:41]MH_I2C_Read... [10:44:41]*** iso7816_init failed -2820! [10:44:42]Read from MH i2c: E0 [10:44:42]MH_I2C_Read... [10:44:42]Read from MH i2c: E0 05 00 [10:44:42]MH_I2C_Read... [10:44:42]Read from MH i2c: E0 05 00 0D 00 10 FC F4 FF FF EF [10:44:42]Error from MH - 10 [10:44:42]No FM detected - please insert FM [10:44:42]produce_fm_shift_data error [10:44:42]requested_item fm.sn is exist - process it [10:44:42]FM_Init [10:44:42]wFMConnect [10:44:42]MH_SAM_On [10:44:42]Write to MH i2c: E0 00 00 0E 00 ED [10:44:42]Write i2c OK [10:44:42]MH_I2C_Read... [10:44:42]*** iso7816_init failed -2820! [10:44:42]Read from MH i2c: E0 [10:44:42]MH_I2C_Read... [10:44:42]Read from MH i2c: E0 05 00 [10:44:42]MH_I2C_Read... [10:44:42]Read from MH i2c: E0 05 00 0E 00 10 FC F4 FF FF F0 [10:44:42]Error from MH - 10 [10:44:42]No FM detected - please insert FM [10:44:42]requested_item fm.ffd_ver is exist - process it [10:44:42]FM_Init [10:44:42]wFMConnect [10:44:42]MH_SAM_On [10:44:42]Write to MH i2c: E0 00 00 0F 00 EE [10:44:42]Write i2c OK [10:44:42]MH_I2C_Read... [10:44:42]*** iso7816_init failed -2820! [10:44:42]Read from MH i2c: E0 [10:44:42]MH_I2C_Read... [10:44:42]Read from MH i2c: E0 05 00 [10:44:42]MH_I2C_Read... [10:44:42]Read from MH i2c: E0 05 00 0F 00 10 FC F4 FF FF F1 [10:44:42]Error from MH - 10 [10:44:42]No FM detected - please insert FM [10:44:42]produce_fm_shift_data error [10:44:42]requested_item fm.expired is exist - process it [10:44:42]FM_Init [10:44:42]wFMConnect [10:44:42]MH_SAM_On [10:44:42]Write to MH i2c: E0 00 00 10 00 EF [10:44:42]Write i2c OK [10:44:42]MH_I2C_Read... [10:44:42]*** iso7816_init failed -2820! [10:44:42]Read from MH i2c: E0 [10:44:42]MH_I2C_Read... [10:44:42]Read from MH i2c: E0 05 00 [10:44:42]MH_I2C_Read... [10:44:42]Read from MH i2c: E0 05 00 10 00 10 FC F4 FF FF F2 [10:44:42]Error from MH - 10 [10:44:42]No FM detected - please insert FM [10:44:42]produce_fm_shift_data error [10:44:42]requested_item fd.num is exist - process it [10:44:42]FM_Init [10:44:42]wFMConnect [10:44:42]MH_SAM_On [10:44:42]Write to MH i2c: E0 00 00 11 00 F0 [10:44:42]Write i2c OK [10:44:42]MH_I2C_Read... [10:44:42]*** iso7816_init failed -2820! [10:44:42]Read from MH i2c: E0 [10:44:42]MH_I2C_Read... [10:44:42]Read from MH i2c: E0 05 00 [10:44:42]MH_I2C_Read... [10:44:42]Read from MH i2c: E0 05 00 11 00 10 FC F4 FF FF F3 [10:44:42]Error from MH - 10 [10:44:42]No FM detected - please insert FM [10:44:42]produce_fm_shift_data error [10:44:42]produce_requested_data done [10:44:42]produce_requested_data return {"kkm.sn":"0399999999","kkm.ver":"v1.0"} [10:44:42]process_action_free get_value [10:44:42]json_value_free [10:44:42]json_value_free done [10:44:42]process_json_proto returns [10:44:42]Send response to host [10:44:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0399999999","kkm.ver":"v1.0"}}} [10:44:42]free response buf [10:44:42]execute_script done [10:44:42]execute_script returns [10:44:42]free content buf [10:44:42]Sock 8.Close socket [10:44:42]Sock 8.Thread stoped [10:44:42]No OFD sender enable setting [10:44:47]No OFD sender enable setting [10:44:52]No OFD sender enable setting