[00:00:10] *** EcrCore started. Build 196 *** [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 /dev/ttyS4 opened [00:00:10]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 7B FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 20 [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]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]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]*** [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:11]*** Serial: 3139303353513838 540000000057257B (1903SQ88T) [00:00:11]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:11]*** step 0: 5000 (2650, 2350 REF) [00:00:11]*** step 1: 4835 (2500, 2335 REF) [00:00:11]*** step 2: 4676 (2440, 2236 REF) [00:00:11]*** step 3: 4523 (2280, 2243 REF) [00:00:11]*** 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: 27884880+1687214151=1715099031 [00:00:11]*** BPK Status Register BPK_RDY = 0x0 [00:00:11]*** SEN State Register SEN_STATE = 0xff [00:00:11]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:11]*** Analog Control Register 0 SEN_ANA0 = 0x33590625 [00:00:11]*** Is cutter blocked? [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 7B FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 21 [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 00 00 00 00 FF 0F 19 [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 98 55 3A 66 47 D8 90 64 9F [16:23:52]Current date/time: 07.05.2024 16:23 [16:23:52]FM_Init [16:23:52]wFMConnect [16:23:52]MH_SAM_On [16:23:52]Write to MH i2c: E0 00 00 08 00 E7 [16:23:52]Write i2c OK [16:23:52]MH_I2C_Read... [16:23:52]*** iso7816_init failed -2820! [16:23:52]Read from MH i2c: E0 [16:23:52]MH_I2C_Read... [16:23:52]Read from MH i2c: E0 05 00 [16:23:52]MH_I2C_Read... [16:23:52]Read from MH i2c: E0 05 00 08 00 10 FC F4 FF FF EA [16:23:52]Error from MH - 10 [16:23:52]No FM detected - please insert FM [16:23:52]DocumentArchiveInit [16:23:52]Start Httpd... [16:23:52]Httpd thread 3067350372 created [16:23:52]Write to MH i2c: 01 00 00 09 00 09 [16:23:52]Write i2c OK [16:23:52]MH_I2C_Read... [16:23:52]Read from MH i2c: 01 [16:23:52]MH_I2C_Read... [16:23:52]Read from MH i2c: 01 07 00 [16:23:52]MH_I2C_Read... [16:23:52]Read from MH i2c: 01 07 00 09 00 00 00 00 00 00 FF 0F 1E [16:23:52]No OFD sender enable setting [16:23:52]MH Int Process started [16:23:52]Allocated Socket 7 [16:23:52]Bind OK [16:23:52]Listen OK [16:23:52]httpd running on port 8080 [16:23:52]Waiting for new connection... [16:23:57]No OFD sender enable setting [16:24:02]No OFD sender enable setting [16:24:07]No OFD sender enable setting [16:24:12]No OFD sender enable setting [16:24:17]No OFD sender enable setting [16:24:22]No OFD sender enable setting [16:24:27]No OFD sender enable setting [16:24:32]No OFD sender enable setting [16:24:37]No OFD sender enable setting [16:24:42]No OFD sender enable setting [16:24:47]No OFD sender enable setting [16:24:52]No OFD sender enable setting [16:24:57]No OFD sender enable setting [16:25:02]No OFD sender enable setting [16:25:07]No OFD sender enable setting [16:25:12]No OFD sender enable setting [16:25:17]No OFD sender enable setting [16:25:22]No OFD sender enable setting [16:25:27]No OFD sender enable setting [16:25:32]No OFD sender enable setting [16:25:37]No OFD sender enable setting [16:25:42]No OFD sender enable setting [16:25:47]No OFD sender enable setting [16:25:52]No OFD sender enable setting [16:25:57]No OFD sender enable setting [16:26:02]No OFD sender enable setting [16:26:07]No OFD sender enable setting [16:26:12]No OFD sender enable setting [16:26:17]No OFD sender enable setting [16:26:22]No OFD sender enable setting [16:26:27]No OFD sender enable setting [16:26:32]No OFD sender enable setting [16:26:37]No OFD sender enable setting [16:26:42]No OFD sender enable setting [16:26:47]No OFD sender enable setting [16:26:52]No OFD sender enable setting [16:26:57]No OFD sender enable setting [16:27:02]No OFD sender enable setting [16:27:07]No OFD sender enable setting [16:27:12]No OFD sender enable setting [16:27:17]No OFD sender enable setting [16:27:22]No OFD sender enable setting [16:27:27]No OFD sender enable setting [16:27:32]No OFD sender enable setting [16:27:37]No OFD sender enable setting [16:27:42]No OFD sender enable setting [16:27:47]No OFD sender enable setting [16:27:52]No OFD sender enable setting [16:27:57]No OFD sender enable setting [16:28:02]No OFD sender enable setting [16:28:07]No OFD sender enable setting [16:28:12]No OFD sender enable setting [16:28:17]No OFD sender enable setting [16:28:22]No OFD sender enable setting [16:28:22]*** Cut start [16:28:22]*** Partial cut [16:28:22]*** CUTSNS_PIN = 1 [16:28:22]*** CUTSNS_PIN = 0 [16:28:22]*** Brake cut motor [16:28:23]*** Stop cut motor [16:28:23]*** Cut end [16:28:24]*** Cut start [16:28:24]*** Partial cut [16:28:24]*** CUTSNS_PIN = 1 [16:28:24]*** CUTSNS_PIN = 0 [16:28:24]*** Brake cut motor [16:28:25]*** Stop cut motor [16:28:25]*** Cut end [16:28:27]No OFD sender enable setting [16:28:32]No OFD sender enable setting [16:28:37]No OFD sender enable setting [16:28:42]No OFD sender enable setting [16:28:47]No OFD sender enable setting [16:28:52]No OFD sender enable setting [16:28:57]No OFD sender enable setting [16:29:02]No OFD sender enable setting [16:29:07]No OFD sender enable setting [16:29:12]No OFD sender enable setting [16:29:17]No OFD sender enable setting [16:29:22]No OFD sender enable setting [16:29:27]No OFD sender enable setting [16:29:32]No OFD sender enable setting [16:29:37]No OFD sender enable setting [16:29:42]No OFD sender enable setting [16:29:47]No OFD sender enable setting [16:29:52]No OFD sender enable setting [16:29:57]No OFD sender enable setting [16:30:02]No OFD sender enable setting [16:30:07]No OFD sender enable setting [16:30:12]No OFD sender enable setting [16:30:17]No OFD sender enable setting [16:30:22]No OFD sender enable setting [16:30:27]No OFD sender enable setting [16:30:32]No OFD sender enable setting [16:30:37]No OFD sender enable setting [16:30:42]No OFD sender enable setting [16:30:47]No OFD sender enable setting [16:30:52]No OFD sender enable setting [16:30:57]No OFD sender enable setting [16:31:02]No OFD sender enable setting [16:31:07]No OFD sender enable setting [16:31:12]No OFD sender enable setting [16:31:17]No OFD sender enable setting [16:31:22]No OFD sender enable setting [16:31:27]No OFD sender enable setting [16:31:32]No OFD sender enable setting [16:31:37]No OFD sender enable setting [16:31:42]No OFD sender enable setting [16:31:47]No OFD sender enable setting [16:31:52]No OFD sender enable setting [16:31:57]No OFD sender enable setting [16:32:02]No OFD sender enable setting [16:32:07]No OFD sender enable setting [16:32:12]No OFD sender enable setting [16:32:17]No OFD sender enable setting [16:32:22]No OFD sender enable setting [16:32:27]No OFD sender enable setting [16:32:32]No OFD sender enable setting [16:32:37]No OFD sender enable setting [16:32:42]No OFD sender enable setting [16:32:47]No OFD sender enable setting [16:32:52]No OFD sender enable setting [16:32:57]No OFD sender enable setting [16:33:02]No OFD sender enable setting [16:33:07]No OFD sender enable setting [16:33:12]No OFD sender enable setting [16:33:17]No OFD sender enable setting [16:33:22]No OFD sender enable setting [16:33:27]No OFD sender enable setting [16:33:32]No OFD sender enable setting [16:33:37]No OFD sender enable setting [16:33:42]No OFD sender enable setting [16:33:47]No OFD sender enable setting [16:33:52]No OFD sender enable setting [16:33:57]No OFD sender enable setting [16:34:02]No OFD sender enable setting [16:34:07]No OFD sender enable setting [16:34:12]No OFD sender enable setting [16:34:17]No OFD sender enable setting [16:34:22]No OFD sender enable setting [16:34:27]No OFD sender enable setting [16:34:32]No OFD sender enable setting [16:34:37]No OFD sender enable setting [16:34:42]No OFD sender enable setting [16:34:47]No OFD sender enable setting [16:34:52]No OFD sender enable setting [16:34:57]No OFD sender enable setting [16:35:02]No OFD sender enable setting [16:35:07]No OFD sender enable setting [16:35:12]No OFD sender enable setting [16:35:17]No OFD sender enable setting [16:35:22]No OFD sender enable setting [16:35:27]No OFD sender enable setting [16:35:32]No OFD sender enable setting [16:35:37]No OFD sender enable setting [16:35:42]No OFD sender enable setting [16:35:47]No OFD sender enable setting [16:35:52]No OFD sender enable setting [16:35:57]No OFD sender enable setting [16:36:02]No OFD sender enable setting [16:36:07]No OFD sender enable setting [16:36:12]No OFD sender enable setting [16:36:17]No OFD sender enable setting [16:36:22]No OFD sender enable setting [16:36:27]No OFD sender enable setting [16:36:32]No OFD sender enable setting [16:36:37]No OFD sender enable setting [16:36:42]No OFD sender enable setting [16:36:47]No OFD sender enable setting [16:36:52]No OFD sender enable setting [16:36:57]No OFD sender enable setting [16:37:02]No OFD sender enable setting [16:37:07]No OFD sender enable setting [16:37:12]No OFD sender enable setting [16:37:17]No OFD sender enable setting [16:37:22]No OFD sender enable setting [16:37:27]No OFD sender enable setting [16:37:32]No OFD sender enable setting [16:37:37]No OFD sender enable setting [16:37:42]No OFD sender enable setting [16:37:47]No OFD sender enable setting [16:37:52]No OFD sender enable setting [16:37:57]No OFD sender enable setting [16:38:02]No OFD sender enable setting [16:38:07]No OFD sender enable setting [16:38:12]No OFD sender enable setting [16:38:17]No OFD sender enable setting [16:38:22]No OFD sender enable setting [16:38:27]No OFD sender enable setting [16:38:32]No OFD sender enable setting [16:38:37]No OFD sender enable setting [16:38:42]No OFD sender enable setting [16:38:47]No OFD sender enable setting [16:38:52]No OFD sender enable setting [16:38:57]No OFD sender enable setting [16:39:02]No OFD sender enable setting [16:39:07]No OFD sender enable setting [16:39:12]No OFD sender enable setting [16:39:17]No OFD sender enable setting [16:39:22]No OFD sender enable setting [16:39:27]No OFD sender enable setting [16:39:32]No OFD sender enable setting [16:39:37]No OFD sender enable setting [16:39:42]No OFD sender enable setting [16:39:47]No OFD sender enable setting [16:39:52]No OFD sender enable setting [16:39:57]No OFD sender enable setting [16:40:02]No OFD sender enable setting [16:40:07]No OFD sender enable setting [16:40:12]No OFD sender enable setting [16:40:17]No OFD sender enable setting [16:40:22]No OFD sender enable setting [16:40:27]No OFD sender enable setting [16:40:32]No OFD sender enable setting [16:40:37]No OFD sender enable setting [16:40:42]No OFD sender enable setting [16:40:47]No OFD sender enable setting [16:40:52]No OFD sender enable setting [16:40:57]No OFD sender enable setting [16:41:02]No OFD sender enable setting [16:41:07]No OFD sender enable setting [16:41:12]No OFD sender enable setting [16:41:17]No OFD sender enable setting [16:41:22]No OFD sender enable setting [16:41:27]No OFD sender enable setting [16:41:32]No OFD sender enable setting [16:41:37]No OFD sender enable setting [16:41:42]No OFD sender enable setting [16:41:47]No OFD sender enable setting [16:41:52]No OFD sender enable setting [16:41:57]No OFD sender enable setting [16:42:02]No OFD sender enable setting [16:42:07]No OFD sender enable setting [16:42:12]No OFD sender enable setting [16:42:17]No OFD sender enable setting [16:42:22]No OFD sender enable setting [16:42:27]No OFD sender enable setting [16:42:32]No OFD sender enable setting [16:42:37]No OFD sender enable setting [16:42:42]No OFD sender enable setting [16:42:47]No OFD sender enable setting [16:42:52]No OFD sender enable setting [16:42:57]No OFD sender enable setting [16:43:02]No OFD sender enable setting [16:43:07]No OFD sender enable setting [16:43:12]No OFD sender enable setting [16:43:17]No OFD sender enable setting [16:43:22]No OFD sender enable setting [16:43:27]No OFD sender enable setting [16:43:32]No OFD sender enable setting [16:43:37]No OFD sender enable setting [16:43:42]No OFD sender enable setting [16:43:47]No OFD sender enable setting [16:43:52]No OFD sender enable setting [16:43:57]No OFD sender enable setting [16:44:02]No OFD sender enable setting [16:44:07]No OFD sender enable setting [16:44:12]No OFD sender enable setting [16:44:17]No OFD sender enable setting [16:44:22]No OFD sender enable setting [16:44:27]No OFD sender enable setting [16:44:32]No OFD sender enable setting [16:44:37]No OFD sender enable setting [16:44:42]No OFD sender enable setting [16:44:47]No OFD sender enable setting [16:44:52]No OFD sender enable setting [16:44:57]No OFD sender enable setting [16:45:02]No OFD sender enable setting [16:45:07]No OFD sender enable setting [16:45:12]No OFD sender enable setting [16:45:17]No OFD sender enable setting [16:45:22]No OFD sender enable setting [16:45:27]No OFD sender enable setting [16:45:32]No OFD sender enable setting [16:45:37]No OFD sender enable setting [16:45:42]No OFD sender enable setting [16:45:47]No OFD sender enable setting [16:45:52]No OFD sender enable setting [16:45:57]No OFD sender enable setting [16:46:02]No OFD sender enable setting [16:46:07]No OFD sender enable setting [16:46:12]No OFD sender enable setting [16:46:17]No OFD sender enable setting [16:46:22]No OFD sender enable setting [16:46:27]No OFD sender enable setting [16:46:32]No OFD sender enable setting [16:46:38]No OFD sender enable setting [16:46:43]No OFD sender enable setting [16:46:48]No OFD sender enable setting [16:46:53]No OFD sender enable setting [16:46:58]No OFD sender enable setting [16:47:03]No OFD sender enable setting [16:47:08]No OFD sender enable setting [16:47:13]No OFD sender enable setting [16:47:18]No OFD sender enable setting [16:47:23]No OFD sender enable setting [16:47:28]No OFD sender enable setting [16:47:33]No OFD sender enable setting [16:47:38]No OFD sender enable setting [16:47:43]No OFD sender enable setting [16:47:48]No OFD sender enable setting [16:47:53]No OFD sender enable setting [16:47:58]No OFD sender enable setting [16:48:03]No OFD sender enable setting [16:48:08]No OFD sender enable setting [16:48:13]No OFD sender enable setting [16:48:18]No OFD sender enable setting [16:48:23]No OFD sender enable setting [16:48:28]No OFD sender enable setting [16:48:33]No OFD sender enable setting [16:48:38]No OFD sender enable setting [16:48:43]No OFD sender enable setting [16:48:48]No OFD sender enable setting [16:48:53]No OFD sender enable setting [16:48:58]No OFD sender enable setting [16:49:03]No OFD sender enable setting [16:49:08]No OFD sender enable setting [16:49:13]No OFD sender enable setting [16:49:18]No OFD sender enable setting [16:49:23]No OFD sender enable setting [16:49:28]No OFD sender enable setting [16:49:33]No OFD sender enable setting [16:49:38]No OFD sender enable setting [16:49:43]No OFD sender enable setting [16:49:48]No OFD sender enable setting [16:49:53]No OFD sender enable setting [16:49:58]No OFD sender enable setting [16:50:03]No OFD sender enable setting [16:50:08]No OFD sender enable setting [16:50:13]No OFD sender enable setting [16:50:18]No OFD sender enable setting [16:50:23]No OFD sender enable setting [16:50:28]No OFD sender enable setting [16:50:33]No OFD sender enable setting [16:50:38]No OFD sender enable setting [16:50:43]No OFD sender enable setting [16:50:48]No OFD sender enable setting [16:50:53]No OFD sender enable setting [16:50:58]No OFD sender enable setting [16:51:03]No OFD sender enable setting [16:51:08]No OFD sender enable setting [16:51:13]No OFD sender enable setting [16:51:18]No OFD sender enable setting [16:51:23]No OFD sender enable setting [16:51:28]No OFD sender enable setting [16:51:33]No OFD sender enable setting [16:51:38]No OFD sender enable setting [16:51:43]No OFD sender enable setting [16:51:48]No OFD sender enable setting [16:51:53]No OFD sender enable setting [16:51:58]No OFD sender enable setting [16:52:03]No OFD sender enable setting [16:52:08]No OFD sender enable setting [16:52:13]No OFD sender enable setting [16:52:18]No OFD sender enable setting [16:52:23]No OFD sender enable setting [16:52:28]No OFD sender enable setting [16:52:33]No OFD sender enable setting [16:52:38]No OFD sender enable setting [16:52:43]No OFD sender enable setting [16:52:48]No OFD sender enable setting [16:52:53]No OFD sender enable setting [16:52:58]No OFD sender enable setting [16:53:03]No OFD sender enable setting [16:53:08]No OFD sender enable setting [16:53:13]No OFD sender enable setting [16:53:18]No OFD sender enable setting [16:53:23]No OFD sender enable setting [16:53:28]No OFD sender enable setting [16:53:33]No OFD sender enable setting [16:53:38]No OFD sender enable setting [16:53:43]No OFD sender enable setting [16:53:48]No OFD sender enable setting [16:53:53]No OFD sender enable setting [16:53:58]No OFD sender enable setting [16:54:03]No OFD sender enable setting [16:54:08]No OFD sender enable setting [16:54:13]No OFD sender enable setting [16:54:18]No OFD sender enable setting [16:54:23]No OFD sender enable setting [16:54:28]No OFD sender enable setting [16:54:33]No OFD sender enable setting [16:54:38]No OFD sender enable setting [16:54:43]No OFD sender enable setting [16:54:48]No OFD sender enable setting [16:54:53]No OFD sender enable setting [16:54:58]No OFD sender enable setting [16:55:03]No OFD sender enable setting [16:55:08]No OFD sender enable setting [16:55:13]No OFD sender enable setting [16:55:18]No OFD sender enable setting [16:55:23]No OFD sender enable setting [16:55:28]No OFD sender enable setting [16:55:33]No OFD sender enable setting [16:55:38]No OFD sender enable setting [16:55:43]No OFD sender enable setting [16:55:48]No OFD sender enable setting [16:55:53]No OFD sender enable setting [16:55:58]No OFD sender enable setting [16:56:03]No OFD sender enable setting [16:56:08]No OFD sender enable setting [16:56:13]No OFD sender enable setting [16:56:18]No OFD sender enable setting [16:56:23]No OFD sender enable setting [16:56:28]No OFD sender enable setting [16:56:33]No OFD sender enable setting [16:56:38]No OFD sender enable setting [16:56:43]No OFD sender enable setting [16:56:48]No OFD sender enable setting [16:56:53]No OFD sender enable setting [16:56:58]No OFD sender enable setting [16:57:03]No OFD sender enable setting [16:57:08]No OFD sender enable setting [16:57:13]No OFD sender enable setting [16:57:18]No OFD sender enable setting [16:57:23]No OFD sender enable setting [16:57:28]No OFD sender enable setting [16:57:33]No OFD sender enable setting [16:57:38]No OFD sender enable setting [16:57:43]No OFD sender enable setting [16:57:48]No OFD sender enable setting [16:57:53]No OFD sender enable setting [16:57:58]No OFD sender enable setting [16:58:03]No OFD sender enable setting [16:58:08]No OFD sender enable setting [16:58:13]No OFD sender enable setting [16:58:18]No OFD sender enable setting [16:58:23]No OFD sender enable setting [16:58:28]No OFD sender enable setting [16:58:33]No OFD sender enable setting [16:58:38]No OFD sender enable setting [16:58:43]No OFD sender enable setting [16:58:48]No OFD sender enable setting [16:58:53]No OFD sender enable setting [16:58:58]No OFD sender enable setting [16:59:03]No OFD sender enable setting [16:59:08]No OFD sender enable setting [16:59:13]No OFD sender enable setting [16:59:18]No OFD sender enable setting [16:59:23]No OFD sender enable setting [16:59:28]No OFD sender enable setting [16:59:33]No OFD sender enable setting [16:59:38]No OFD sender enable setting [16:59:43]No OFD sender enable setting [16:59:48]No OFD sender enable setting [16:59:53]No OFD sender enable setting [16:59:58]No OFD sender enable setting [17:00:03]No OFD sender enable setting [17:00:08]No OFD sender enable setting [17:00:13]No OFD sender enable setting [17:00:18]No OFD sender enable setting [17:00:23]No OFD sender enable setting [17:00:28]No OFD sender enable setting [17:00:33]No OFD sender enable setting [17:00:38]No OFD sender enable setting [17:00:43]No OFD sender enable setting [17:00:48]No OFD sender enable setting [17:00:53]No OFD sender enable setting [17:00:58]No OFD sender enable setting [17:01:03]No OFD sender enable setting [17:01:08]No OFD sender enable setting [17:01:13]No OFD sender enable setting [17:01:18]No OFD sender enable setting [17:01:23]No OFD sender enable setting [17:01:28]No OFD sender enable setting [17:01:33]No OFD sender enable setting [17:01:38]No OFD sender enable setting [17:01:43]No OFD sender enable setting [17:01:48]No OFD sender enable setting [17:01:53]No OFD sender enable setting [17:01:58]No OFD sender enable setting [17:02:03]No OFD sender enable setting [17:02:08]No OFD sender enable setting [17:02:13]No OFD sender enable setting [17:02:18]No OFD sender enable setting [17:02:23]No OFD sender enable setting [17:02:28]No OFD sender enable setting [17:02:33]No OFD sender enable setting [17:02:38]No OFD sender enable setting [17:02:43]No OFD sender enable setting [17:02:48]No OFD sender enable setting [17:02:53]No OFD sender enable setting [17:02:58]No OFD sender enable setting [17:03:03]No OFD sender enable setting [17:03:08]No OFD sender enable setting [17:03:13]No OFD sender enable setting [17:03:18]No OFD sender enable setting [17:03:23]No OFD sender enable setting [17:03:28]No OFD sender enable setting [17:03:33]No OFD sender enable setting [17:03:38]No OFD sender enable setting [17:03:43]No OFD sender enable setting [17:03:48]No OFD sender enable setting [17:03:53]No OFD sender enable setting [17:03:58]No OFD sender enable setting [17:04:03]No OFD sender enable setting [17:04:08]No OFD sender enable setting [17:04:13]No OFD sender enable setting [17:04:18]No OFD sender enable setting [00:00:10]/dev/ttyS4 opened [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [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 7B FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 20 [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:11]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:11]*** [00:00:11]Read from MH i2c: A0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: A0 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:11]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:11]*** Waiting for read because exit forced [00:00:11]*** 10 ms more... [00:00:11]*** MH1903S init start (LINUX_LIGHT) [00:00:11]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:11]*** Serial: 3139303353513838 540000000057257B (1903SQ88T) [00:00:11]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:11]*** step 0: 5000 (2650, 2350 REF) [00:00:11]*** step 1: 4835 (2500, 2335 REF) [00:00:11]*** step 2: 4676 (2440, 2236 REF) [00:00:11]*** step 3: 4523 (2280, 2243 REF) [00:00:11]*** 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: 27887440+1687214151=1715101591 [00:00:11]*** BPK Status Register BPK_RDY = 0x0 [00:00:11]*** SEN State Register SEN_STATE = 0xff [00:00:11]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:11]*** Analog Control Register 0 SEN_ANA0 = 0x33590625 [00:00:11]*** Is cutter blocked? [00:00:12]MH_GetMetrics [00:00:12]Write to MH i2c: 00 00 00 03 00 02 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 29 00 [00:00:12]MH_I2C_Read... [00:00:12]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 7B FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 21 [00:00:12]Are we in boot? [00:00:12]We are not in boot now [00:00:12]Write to MH i2c: 01 00 00 04 00 04 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 07 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:12]Model is 3 [00:00:12]MH firmware is 30620 [00:00:12]MH boot firmware is 3 [00:00:12]MH_SetPrinterDots 448 [00:00:12]HeadWidthInBytes 56 [00:00:12]maxmasksize 7 [00:00:12]Write to MH i2c: D6 06 00 05 00 41 00 60 00 FF FF 7F [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 01 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:12]Write to MH i2c: D5 00 00 06 00 DA [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 01 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]ExternCall_SetCallbacks [00:00:12]NVStorageInit [00:00:12]MH_GetDate [00:00:12]Write to MH i2c: F0 00 00 07 00 F6 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 07 00 00 98 5F 3A 66 47 D8 90 64 A9 [17:06:32]Current date/time: 07.05.2024 17:06 [17:06:32]FM_Init [17:06:32]wFMConnect [17:06:32]MH_SAM_On [17:06:32]Write to MH i2c: E0 00 00 08 00 E7 [17:06:32]Write i2c OK [17:06:32]MH_I2C_Read... [17:06:32]*** iso7816_init finished! [17:06:32]*** atr: [17:06:32]*** 0F 3B D5 18 FF 81 91 FE [17:06:32]*** 1F C3 80 73 C8 21 10 0A [17:06:32]*** 00 00 00 00 00 00 00 00 [17:06:32]*** 00 00 00 00 00 00 00 00 [17:06:32]*** 00 00 00 00 00 00 00 00 [17:06:32]*** 00 00 00 00 00 00 00 00 [17:06:32]*** 00 00 00 00 00 00 00 00 [17:06:32]*** 00 00 00 00 00 00 00 00 [17:06:32]Read from MH i2c: E0 [17:06:32]MH_I2C_Read... [17:06:32]Read from MH i2c: E0 10 00 [17:06:32]MH_I2C_Read... [17:06:32]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [17:06:32]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [17:06:32]wFMCommunicate request_size=10 [17:06:32]MH_SAM_APDU [17:06:32]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [17:06:32]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [17:06:32]Write i2c OK [17:06:32]MH_I2C_Read... [17:06:32]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [17:06:32]Read from MH i2c: E2 [17:06:32]MH_I2C_Read... [17:06:32]Read from MH i2c: E2 03 00 [17:06:32]MH_I2C_Read... [17:06:32]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [17:06:32]RAPDU: 90 00 [17:06:32]wFMCommunicate OK [17:06:32]wFMCommunicate request_size=4 [17:06:32]MH_SAM_APDU [17:06:32]CAPDU: 80 11 00 00 [17:06:32]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [17:06:32]Write i2c OK [17:06:32]MH_I2C_Read... [17:06:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:06:32]Read from MH i2c: E2 [17:06:32]MH_I2C_Read... [17:06:32]Read from MH i2c: E2 17 00 [17:06:32]MH_I2C_Read... [17:06:32]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 D8 [17:06:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 [17:06:32]wFMCommunicate OK [17:06:32]Detected FM SN is 0000000000963294 [17:06:32]No stored FM SN - require to set a PIN [17:06:32]DocumentArchiveInit [17:06:32]No OFD sender enable setting [17:06:32]Start Httpd... [17:06:32]Httpd thread 3067587940 created [17:06:32]Write to MH i2c: 01 00 00 0B 00 0B [17:06:32]Write i2c OK [17:06:32]MH_I2C_Read... [17:06:32]Read from MH i2c: 01 [17:06:32]MH_I2C_Read... [17:06:32]Read from MH i2c: 01 07 00 [17:06:32]MH_I2C_Read... [17:06:32]Read from MH i2c: 01 07 00 0B 00 00 00 00 00 00 FF 0F 20 [17:06:32]Allocated Socket 5 [17:06:32]Bind OK [17:06:32]Listen OK [17:06:32]httpd running on port 8080 [17:06:32]Waiting for new connection... [17:06:32]MH Int Process started [17:06:37]No OFD sender enable setting [17:06:37]int [17:06:37]Write to MH i2c: 01 00 00 0C 00 0C [17:06:37]*** FLAG_PRN_KEY set [17:06:37]Write i2c OK [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: 01 [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: 01 07 00 [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: 01 07 00 0C 00 00 08 00 00 00 FF 0F 29 [17:06:37]state=0 [17:06:37]Key pressed [17:06:37]Feed [17:06:37]Write to MH i2c: D8 00 00 0D 00 E4 [17:06:37]Write i2c OK [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: D8 [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: D8 01 00 [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: D8 01 00 0D 00 00 E5 [17:06:37]int [17:06:37]Write to MH i2c: 01 00 00 0E 00 0E [17:06:37]Write i2c OK [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: 01 [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: 01 07 00 [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: 01 07 00 0E 00 00 48 00 00 00 3C 00 99 [17:06:37]state=2 [17:06:37]Key pressed [17:06:37]int [17:06:37]Write to MH i2c: 01 00 00 0F 00 0F [17:06:37]*** FLAG_PRN_KEY reset [17:06:37]Write i2c OK [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: 01 [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: 01 07 00 [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 F6 0F 1B [17:06:37]state=2 [17:06:37]Stop feed [17:06:37]int [17:06:37]Write to MH i2c: 01 00 00 10 00 10 [17:06:37]*** FLAG_PRN_KEY set [17:06:37]Write i2c OK [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: 01 [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: 01 07 00 [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: 01 07 00 10 00 00 08 00 00 00 FF 0F 2D [17:06:37]state=0 [17:06:37]Key pressed [17:06:37]Feed [17:06:37]Write to MH i2c: D8 00 00 11 00 E8 [17:06:37]Write i2c OK [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: D8 [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: D8 01 00 [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: D8 01 00 11 00 00 E9 [17:06:37]int [17:06:37]Write to MH i2c: 01 00 00 12 00 12 [17:06:37]Write i2c OK [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: 01 [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: 01 07 00 [17:06:37]MH_I2C_Read... [17:06:37]Read from MH i2c: 01 07 00 12 00 00 48 00 00 00 3C 00 9D [17:06:37]state=2 [17:06:37]Key pressed [17:06:38]int [17:06:38]Write to MH i2c: 01 00 00 13 00 13 [17:06:38]*** FLAG_PRN_KEY reset [17:06:38]Write i2c OK [17:06:38]MH_I2C_Read... [17:06:38]Read from MH i2c: 01 [17:06:38]MH_I2C_Read... [17:06:38]Read from MH i2c: 01 07 00 [17:06:38]MH_I2C_Read... [17:06:38]Read from MH i2c: 01 07 00 13 00 00 00 00 00 00 F6 0F 1F [17:06:38]state=2 [17:06:38]Stop feed [17:06:38]int [17:06:38]Write to MH i2c: 01 00 00 14 00 14 [17:06:38]*** FLAG_PRN_KEY set [17:06:38]Write i2c OK [17:06:38]MH_I2C_Read... [17:06:38]Read from MH i2c: 01 [17:06:38]MH_I2C_Read... [17:06:38]Read from MH i2c: 01 07 00 [17:06:38]MH_I2C_Read... [17:06:38]Read from MH i2c: 01 07 00 14 00 00 08 00 00 00 FF 0F 31 [17:06:38]state=0 [17:06:38]Key pressed [17:06:38]Feed [17:06:38]Write to MH i2c: D8 00 00 15 00 EC [17:06:38]Write i2c OK [17:06:38]MH_I2C_Read... [17:06:38]Read from MH i2c: D8 [17:06:38]MH_I2C_Read... [17:06:38]Read from MH i2c: D8 01 00 [17:06:38]MH_I2C_Read... [17:06:38]Read from MH i2c: D8 01 00 15 00 00 ED [17:06:38]int [17:06:38]Write to MH i2c: 01 00 00 16 00 16 [17:06:38]Write i2c OK [17:06:38]MH_I2C_Read... [17:06:38]Read from MH i2c: 01 [17:06:38]MH_I2C_Read... [17:06:38]Read from MH i2c: 01 07 00 [17:06:38]MH_I2C_Read... [17:06:38]Read from MH i2c: 01 07 00 16 00 00 48 00 00 00 3C 00 A1 [17:06:38]state=2 [17:06:38]Key pressed [17:06:38]int [17:06:38]Write to MH i2c: 01 00 00 17 00 17 [17:06:38]*** FLAG_PRN_KEY reset [17:06:38]Write i2c OK [17:06:38]MH_I2C_Read... [17:06:38]Read from MH i2c: 01 [17:06:38]MH_I2C_Read... [17:06:38]Read from MH i2c: 01 07 00 [17:06:38]MH_I2C_Read... [17:06:38]Read from MH i2c: 01 07 00 17 00 00 00 00 00 00 F5 0F 22 [17:06:38]state=2 [17:06:38]Stop feed [17:06:42]No OFD sender enable setting [17:06:47]No OFD sender enable setting [17:06:48]accept exits with 6 [17:06:48]New connection [17:06:48]New thread 3067301220 created [17:06:48]Waiting for new connection... [17:06:48]accept exits with 9 [17:06:48]New connection [17:06:48]New thread 3067157860 created [17:06:48]Waiting for new connection... [17:06:48] Sock 9.Parse request [17:06:48]Sock 9.Check first char [17:06:48] Sock 6.Parse request [17:06:48]Sock 6.Check first char [17:06:48]Sock 6.First char is OK [17:06:48]request: GET /testengine HTTP/1.1 [17:06:48]Method: GET [17:06:48]URL: /testengine [17:06:48]Method is GET - find url and querystring [17:06:48]No ? found - this is static page request [17:06:48]url: /testengine [17:06:48]check /htdocs/testengine [17:06:48]file exist [17:06:48]serve_file /htdocs/testengine/index.html [17:06:48]read remaining request lines [17:06:48]Host: 192.168.0.101:8080 [17:06:48]Connection: keep-alive [17:06:48]Upgrade-Insecure-Requests: 1 [17:06:48]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:06:48]Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7 [17:06:48]Accept-Encoding: gzip, deflate [17:06:48]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:06:48] [17:06:48]open file /htdocs/testengine/index.html [17:06:48]send HTTP headers [17:06:48]send file content [17:06:48]Finished. Sent 1003 bytes [17:06:48]close file [17:06:48]Sock 6.Close socket [17:06:48]Sock 6.Thread stoped [17:06:48]Sock 9.First char is OK [17:06:48]request: GET /testengine/css/app.915bc88f.css HTTP/1.1 [17:06:48]Method: GET [17:06:48]URL: /testengine/css/app.915bc88f.css [17:06:48]Method is GET - find url and querystring [17:06:48]No ? found - this is static page request [17:06:48]url: /testengine/css/app.915bc88f.css [17:06:48]check /htdocs/testengine/css/app.915bc88f.css [17:06:48]accept exits with 10 [17:06:48]New connection [17:06:48]New thread 3067014500 created [17:06:48]Thread 3067301220 joined [17:06:48]Waiting for new connection... [17:06:48]accept exits with 6 [17:06:48]New connection [17:06:48]New thread 3067301220 created [17:06:48]Waiting for new connection... [17:06:48]accept exits with 11 [17:06:48]New connection [17:06:48]New thread 3066871140 created [17:06:48]Waiting for new connection... [17:06:48] Sock 11.Parse request [17:06:48]Sock 11.Check first char [17:06:48]file exist [17:06:48]serve_file /htdocs/testengine/css/app.915bc88f.css [17:06:48]read remaining request lines [17:06:48]Host: 192.168.0.101:8080 [17:06:48]Connection: keep-alive [17:06:48]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:06:48]Accept: text/css,*/*;q=0.1 [17:06:48]Referer: http://192.168.0.101:8080/testengine [17:06:48]Accept-Encoding: gzip, deflate [17:06:48]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:06:48] [17:06:48]open file /htdocs/testengine/css/app.915bc88f.css [17:06:48]send HTTP headers [17:06:48]send file content [17:06:48]Sock 11.First char is OK [17:06:48]request: GET /testengine/js/chunk-vendors.8f546e50.js HTTP/1.1 [17:06:48]Method: GET [17:06:48] Sock 6.Parse request [17:06:48]URL: /testengine/js/chunk-vendors.8f546e50.js [17:06:48]Sock 6.Check first char [17:06:48]Method is GET - find url and querystring [17:06:48]Sock 6.First char is OK [17:06:48]No ? found - this is static page request [17:06:48]url: /testengine/js/chunk-vendors.8f546e50.js [17:06:48]check /htdocs/testengine/js/chunk-vendors.8f546e50.js [17:06:48]request: GET /testengine/js/app.a9c38288.js HTTP/1.1 [17:06:48]Method: GET [17:06:48]URL: /testengine/js/app.a9c38288.js [17:06:48]Finished. Sent 1227 bytes [17:06:48]Method is GET - find url and querystring [17:06:48]close file [17:06:48]No ? found - this is static page request [17:06:48]Sock 9.Close socket [17:06:48]url: /testengine/js/app.a9c38288.js [17:06:48]check /htdocs/testengine/js/app.a9c38288.js [17:06:48]Sock 9.Thread stoped [17:06:48] Sock 10.Parse request [17:06:48]Sock 10.Check first char [17:06:48]Sock 10.First char is OK [17:06:48]request: GET /testengine/css/chunk-vendors.1a13a212.css HTTP/1.1 [17:06:48]Method: GET [17:06:48]URL: /testengine/css/chunk-vendors.1a13a212.css [17:06:48]Method is GET - find url and querystring [17:06:48]No ? found - this is static page request [17:06:48]url: /testengine/css/chunk-vendors.1a13a212.css [17:06:48]check /htdocs/testengine/css/chunk-vendors.1a13a212.css [17:06:48]file exist [17:06:48]serve_file /htdocs/testengine/css/chunk-vendors.1a13a212.css [17:06:48]read remaining request lines [17:06:48]Host: 192.168.0.101:8080 [17:06:48]Connection: keep-alive [17:06:48]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:06:48]Accept: text/css,*/*;q=0.1 [17:06:48]Referer: http://192.168.0.101:8080/testengine [17:06:48]Accept-Encoding: gzip, deflate [17:06:48]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:06:48] [17:06:48]open file /htdocs/testengine/css/chunk-vendors.1a13a212.css [17:06:48]send HTTP headers [17:06:48]send file content [17:06:48]file exist [17:06:48]serve_file /htdocs/testengine/js/app.a9c38288.js [17:06:48]read remaining request lines [17:06:48]Host: 192.168.0.101:8080 [17:06:48]Connection: keep-alive [17:06:48]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:06:48]Accept: */* [17:06:48]Referer: http://192.168.0.101:8080/testengine [17:06:48]Accept-Encoding: gzip, deflate [17:06:48]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:06:48] [17:06:48]open file /htdocs/testengine/js/app.a9c38288.js [17:06:48]send HTTP headers [17:06:48]send file content [17:06:48]file exist [17:06:48]serve_file /htdocs/testengine/js/chunk-vendors.8f546e50.js [17:06:48]read remaining request lines [17:06:48]Host: 192.168.0.101:8080 [17:06:49]Connection: keep-alive [17:06:49]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:06:49]Accept: */* [17:06:49]Referer: http://192.168.0.101:8080/testengine [17:06:49]Accept-Encoding: gzip, deflate [17:06:49]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:06:49] [17:06:49]open file /htdocs/testengine/js/chunk-vendors.8f546e50.js [17:06:49]send HTTP headers [17:06:49]send file content [17:06:49]Finished. Sent 140 bytes [17:06:49]close file [17:06:49]Sock 10.Close socket [17:06:49]Sock 10.Thread stoped [17:06:49]Finished. Sent 102400 bytes [17:06:49]close file [17:06:49]Sock 6.Close socket [17:06:49]Sock 6.Thread stoped [17:06:49]Finished. Sent 165537 bytes [17:06:49]close file [17:06:49]Sock 11.Close socket [17:06:49]Sock 11.Thread stoped [17:06:49]accept exits with 12 [17:06:49]New connection [17:06:49]New thread 3066727780 created [17:06:49]Thread 3067157860 joined [17:06:49]Thread 3066871140 joined [17:06:49]Thread 3067014500 joined [17:06:49]Thread 3067301220 joined [17:06:49]Waiting for new connection... [17:06:49] Sock 12.Parse request [17:06:49]Sock 12.Check first char [17:06:49]Sock 12.First char is OK [17:06:49]request: GET /testengine/favicon.ico HTTP/1.1 [17:06:49]Method: GET [17:06:49]URL: /testengine/favicon.ico [17:06:49]Method is GET - find url and querystring [17:06:49]No ? found - this is static page request [17:06:49]url: /testengine/favicon.ico [17:06:49]check /htdocs/testengine/favicon.ico [17:06:49]file exist [17:06:49]serve_file /htdocs/testengine/favicon.ico [17:06:49]read remaining request lines [17:06:49]Host: 192.168.0.101:8080 [17:06:49]Connection: keep-alive [17:06:49]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:06:49]Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8 [17:06:49]Referer: http://192.168.0.101:8080/testengine [17:06:49]Accept-Encoding: gzip, deflate [17:06:49]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:06:49] [17:06:49]open file /htdocs/testengine/favicon.ico [17:06:49]send HTTP headers [17:06:49]send file content [17:06:49]Finished. Sent 4286 bytes [17:06:49]close file [17:06:49]Sock 12.Close socket [17:06:49]Sock 12.Thread stoped [17:06:52]No OFD sender enable setting [17:06:57]No OFD sender enable setting [17:07:02]No OFD sender enable setting [17:07:07]No OFD sender enable setting [17:07:11]accept exits with 6 [17:07:11]New connection [17:07:11]New thread 3067301220 created [17:07:11]Thread 3066727780 joined [17:07:11]Waiting for new connection... [17:07:11] Sock 6.Parse request [17:07:11]Sock 6.Check first char [17:07:12]No OFD sender enable setting [17:07:17]No OFD sender enable setting [17:07:22]No OFD sender enable setting [17:07:22]Sock 6.First char is OK [17:07:22]request: POST /json_proto HTTP/1.1 [17:07:22]Method: POST [17:07:22]URL: /json_proto [17:07:22]Method is POST - this is cgi request [17:07:22]url: /json_proto [17:07:22]query_string will be loaded in cgi processing [17:07:22]execute_cgi json_proto POST (null) [17:07:22]execute_cgi path=json_proto method=POST [17:07:22]POST find Content-Length [17:07:22]Host: 192.168.0.101:8080 [17:07:22]Connection: keep-alive [17:07:22]Content-Length: 95 [17:07:22]Accept: application/json, text/plain, */* [17:07:22]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:07:22]Content-Type: application/json [17:07:22]Origin: http://192.168.0.101:8080 [17:07:22]Referer: http://192.168.0.101:8080/testengine [17:07:22]Accept-Encoding: gzip, deflate [17:07:22]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:07:22] [17:07:22]POST finish read [17:07:22]Found Content-Length = 95 [17:07:22]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["kkm.sn"]}} [17:07:22]execute_script... [17:07:22]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["kkm.sn"]}} [17:07:22]POST & json_proto [17:07:22]process_json_proto [17:07:22]json parsed OK: [17:07:22]protocol is kg_v1.0 [17:07:22]action value=get_value [17:07:22]process_action get_value [17:07:22]cmd_get_value [17:07:22]process_action get_value done [17:07:22]requested_data is exist [17:07:22]produce_requested_data [17:07:22]requested_item kkm.sn is exist - process it [17:07:22]produce_requested_data done [17:07:22]produce_requested_data return {"kkm.sn":"0300000023"} [17:07:22]process_action_free get_value [17:07:22]json_value_free [17:07:22]json_value_free done [17:07:22]process_json_proto returns [17:07:22]Send response to host [17:07:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000023"}}} [17:07:22]free response buf [17:07:22]execute_script done [17:07:22]execute_script returns [17:07:22]free content buf [17:07:22]Sock 6.Close socket [17:07:22]Sock 6.Thread stoped [17:07:27]No OFD sender enable setting [17:07:31]accept exits with 9 [17:07:31]New connection [17:07:31]New thread 3067157860 created [17:07:31]Thread 3067301220 joined [17:07:31]Waiting for new connection... [17:07:31] Sock 9.Parse request [17:07:31]Sock 9.Check first char [17:07:31]Sock 9.First char is OK [17:07:31]request: POST /json_proto HTTP/1.1 [17:07:31]Method: POST [17:07:31]URL: /json_proto [17:07:31]Method is POST - this is cgi request [17:07:31]url: /json_proto [17:07:31]query_string will be loaded in cgi processing [17:07:31]execute_cgi json_proto POST (null) [17:07:31]execute_cgi path=json_proto method=POST [17:07:31]POST find Content-Length [17:07:31]Host: 192.168.0.101:8080 [17:07:31]Connection: keep-alive [17:07:31]Content-Length: 96 [17:07:31]Accept: application/json, text/plain, */* [17:07:31]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:07:31]Content-Type: application/json [17:07:31]Origin: http://192.168.0.101:8080 [17:07:31]Referer: http://192.168.0.101:8080/testengine [17:07:31]Accept-Encoding: gzip, deflate [17:07:31]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:07:31] [17:07:31]POST finish read [17:07:31]Found Content-Length = 96 [17:07:31]post body = {"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["kkm.ver"]}} [17:07:31]execute_script... [17:07:31]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"get_value","params":{},"requested_data":["kkm.ver"]}} [17:07:31]POST & json_proto [17:07:31]process_json_proto [17:07:31]json parsed OK: [17:07:31]protocol is kg_v1.0 [17:07:31]action value=get_value [17:07:31]process_action get_value [17:07:31]cmd_get_value [17:07:31]process_action get_value done [17:07:31]requested_data is exist [17:07:31]produce_requested_data [17:07:31]requested_item kkm.ver is exist - process it [17:07:31]produce_requested_data done [17:07:31]produce_requested_data return {"kkm.ver":"v1.0"} [17:07:31]process_action_free get_value [17:07:31]json_value_free [17:07:31]json_value_free done [17:07:31]process_json_proto returns [17:07:31]Send response to host [17:07:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.ver":"v1.0"}}} [17:07:31]free response buf [17:07:31]execute_script done [17:07:31]execute_script returns [17:07:31]free content buf [17:07:31]Sock 9.Close socket [17:07:31]Sock 9.Thread stoped [17:07:32]No OFD sender enable setting [17:07:37]No OFD sender enable setting [17:07:42]No OFD sender enable setting [17:07:47]No OFD sender enable setting [17:07:52]No OFD sender enable setting [17:07:57]No OFD sender enable setting [17:08:02]No OFD sender enable setting [17:08:07]No OFD sender enable setting [17:08:09]accept exits with 8 [17:08:09]New connection [17:08:09]New thread 3067301220 created [17:08:09]Thread 3067157860 joined [17:08:09]Waiting for new connection... [17:08:09] Sock 8.Parse request [17:08:09]Sock 8.Check first char [17:08:09]Sock 8.First char is OK [17:08:09]request: POST /json_proto HTTP/1.1 [17:08:09]Method: POST [17:08:09]URL: /json_proto [17:08:09]Method is POST - this is cgi request [17:08:09]url: /json_proto [17:08:09]query_string will be loaded in cgi processing [17:08:09]execute_cgi json_proto POST (null) [17:08:09]execute_cgi path=json_proto method=POST [17:08:09]POST find Content-Length [17:08:09]Host: 192.168.0.101:8080 [17:08:09]Connection: keep-alive [17:08:09]Content-Length: 105 [17:08:09]Accept: application/json, text/plain, */* [17:08:09]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:08:09]Content-Type: application/json [17:08:09]Origin: http://192.168.0.101:8080 [17:08:09]Referer: http://192.168.0.101:8080/testengine [17:08:09]Accept-Encoding: gzip, deflate [17:08:09]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:08:09] [17:08:09]POST finish read [17:08:09]Found Content-Length = 105 [17:08:09]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"28735"}}} [17:08:09]execute_script... [17:08:09]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"28735"}}} [17:08:09]POST & json_proto [17:08:09]process_json_proto [17:08:09]json parsed OK: [17:08:09]protocol is kg_v1.0 [17:08:09]action value=set_value [17:08:09]process_action set_value [17:08:09]cmd_set_value [17:08:09]SetValue [17:08:09]group config [17:08:09]SetConfigValue fm_pin=28735 [17:08:09]SettingCheckAndSetValue fm_pin=28735 [17:08:09]wFMCommunicate request_size=4 [17:08:09]MH_SAM_APDU [17:08:09]CAPDU: 80 11 00 00 [17:08:09]Write to MH i2c: E2 08 00 18 00 80 11 00 00 00 00 00 00 92 [17:08:09]Write i2c OK [17:08:09]MH_I2C_Read... [17:08:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:08:10]Read from MH i2c: E2 [17:08:10]MH_I2C_Read... [17:08:10]Read from MH i2c: E2 17 00 [17:08:10]MH_I2C_Read... [17:08:10]Read from MH i2c: E2 17 00 18 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 E6 [17:08:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 [17:08:10]wFMCommunicate OK [17:08:10]Detected FM SN is 0000000000963294 [17:08:10]No stored FM SN - require to set a PIN [17:08:10]wFMCommunicate request_size=4 [17:08:10]MH_SAM_APDU [17:08:10]CAPDU: 80 11 00 00 [17:08:10]Write to MH i2c: E2 08 00 19 00 80 11 00 00 00 00 00 00 93 [17:08:10]Write i2c OK [17:08:10]MH_I2C_Read... [17:08:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:08:10]Read from MH i2c: E2 [17:08:10]MH_I2C_Read... [17:08:10]Read from MH i2c: E2 17 00 [17:08:10]MH_I2C_Read... [17:08:10]Read from MH i2c: E2 17 00 19 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 E7 [17:08:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 [17:08:10]wFMCommunicate OK [17:08:10]Detected FM SN is 0000000000963294 [17:08:10]NVStorageSaveData config_fm_pin [17:08:10]File name is /storage/config_fm_pin [17:08:10]Write 5 bytes [17:08:10]NVStorageSaveData done [17:08:10]wFMCommunicate request_size=4 [17:08:10]MH_SAM_APDU [17:08:10]CAPDU: 80 11 00 00 [17:08:10]Write to MH i2c: E2 08 00 1A 00 80 11 00 00 00 00 00 00 94 [17:08:10]Write i2c OK [17:08:10]MH_I2C_Read... [17:08:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:08:10]Read from MH i2c: E2 [17:08:10]MH_I2C_Read... [17:08:10]Read from MH i2c: E2 17 00 [17:08:10]MH_I2C_Read... [17:08:10]Read from MH i2c: E2 17 00 1A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 E8 [17:08:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 [17:08:10]wFMCommunicate OK [17:08:10]Detected FM SN is 0000000000963294 [17:08:10]No stored FM SN - require to set a PIN [17:08:10]wFMCommunicate request_size=4 [17:08:10]MH_SAM_APDU [17:08:10]CAPDU: 80 11 00 00 [17:08:10]Write to MH i2c: E2 08 00 1B 00 80 11 00 00 00 00 00 00 95 [17:08:10]Write i2c OK [17:08:10]MH_I2C_Read... [17:08:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:08:10]Read from MH i2c: E2 [17:08:10]MH_I2C_Read... [17:08:10]Read from MH i2c: E2 17 00 [17:08:10]MH_I2C_Read... [17:08:10]Read from MH i2c: E2 17 00 1B 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 E9 [17:08:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 [17:08:10]wFMCommunicate OK [17:08:10]Detected FM SN is 0000000000963294 [17:08:10]NVStorageSaveData config_used_fm [17:08:10]File name is /storage/config_used_fm [17:08:10]Write 16 bytes [17:08:10]NVStorageSaveData done [17:08:10]SetValue res=0 [17:08:10]process_action set_value done [17:08:10]no requested_data - finishing processing [17:08:10]process_action_free set_value [17:08:10]json_value_free [17:08:10]json_value_free done [17:08:10]process_json_proto returns [17:08:10]Send response to host [17:08:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:08:10]free response buf [17:08:10]execute_script done [17:08:10]execute_script returns [17:08:10]free content buf [17:08:10]Sock 8.Close socket [17:08:10]Sock 8.Thread stoped [17:08:11]accept exits with 10 [17:08:11]New connection [17:08:11]New thread 3067157860 created [17:08:11]Thread 3067301220 joined [17:08:11]Waiting for new connection... [17:08:11] Sock 10.Parse request [17:08:11]Sock 10.Check first char [17:08:11]Sock 10.First char is OK [17:08:11]request: POST /json_proto HTTP/1.1 [17:08:11]Method: POST [17:08:11]URL: /json_proto [17:08:11]Method is POST - this is cgi request [17:08:11]url: /json_proto [17:08:11]query_string will be loaded in cgi processing [17:08:11]execute_cgi json_proto POST (null) [17:08:11]execute_cgi path=json_proto method=POST [17:08:11]POST find Content-Length [17:08:11]Host: 192.168.0.101:8080 [17:08:11]Connection: keep-alive [17:08:11]Content-Length: 105 [17:08:11]Accept: application/json, text/plain, */* [17:08:11]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:08:11]Content-Type: application/json [17:08:11]Origin: http://192.168.0.101:8080 [17:08:11]Referer: http://192.168.0.101:8080/testengine [17:08:11]Accept-Encoding: gzip, deflate [17:08:11]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:08:11] [17:08:11]POST finish read [17:08:11]Found Content-Length = 105 [17:08:11]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"28735"}}} [17:08:11]execute_script... [17:08:11]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.fm_pin","value":"28735"}}} [17:08:11]POST & json_proto [17:08:11]process_json_proto [17:08:11]json parsed OK: [17:08:11]protocol is kg_v1.0 [17:08:11]action value=set_value [17:08:11]process_action set_value [17:08:11]cmd_set_value [17:08:11]SetValue [17:08:11]group config [17:08:11]SetConfigValue fm_pin=28735 [17:08:11]SettingCheckAndSetValue fm_pin=28735 [17:08:11]wFMCommunicate request_size=4 [17:08:11]MH_SAM_APDU [17:08:11]CAPDU: 80 11 00 00 [17:08:11]Write to MH i2c: E2 08 00 1C 00 80 11 00 00 00 00 00 00 96 [17:08:11]Write i2c OK [17:08:11]MH_I2C_Read... [17:08:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:08:11]Read from MH i2c: E2 [17:08:11]MH_I2C_Read... [17:08:11]Read from MH i2c: E2 17 00 [17:08:11]MH_I2C_Read... [17:08:11]Read from MH i2c: E2 17 00 1C 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 EA [17:08:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 [17:08:11]wFMCommunicate OK [17:08:11]Detected FM SN is 0000000000963294 [17:08:11]Stored FM SN is 0000000000963294 [17:08:11]wFMCommunicate request_size=9 [17:08:11]MH_SAM_APDU [17:08:11]CAPDU: 80 16 00 00 04 3F 70 00 00 [17:08:11]Write to MH i2c: E2 0C 00 1D 00 80 16 00 00 04 00 3F 70 00 00 00 00 53 [17:08:11]Write i2c OK [17:08:11]MH_I2C_Read... [17:08:11]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [17:08:11]Read from MH i2c: E2 [17:08:11]MH_I2C_Read... [17:08:11]Read from MH i2c: E2 03 00 [17:08:11]MH_I2C_Read... [17:08:11]Read from MH i2c: E2 03 00 1D 00 00 90 00 91 [17:08:11]RAPDU: 90 00 [17:08:11]wFMCommunicate OK [17:08:11]FM PIN OK [17:08:11]wFMCommunicate request_size=8 [17:08:11]MH_SAM_APDU [17:08:11]CAPDU: 80 14 04 00 03 02 00 01 [17:08:11]Write to MH i2c: E2 0B 00 1E 00 80 14 04 00 03 00 02 00 01 00 00 A8 [17:08:11]Write i2c OK [17:08:11]MH_I2C_Read... [17:08:11]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [17:08:11]Read from MH i2c: E2 [17:08:11]MH_I2C_Read... [17:08:11]Read from MH i2c: E2 03 00 [17:08:11]MH_I2C_Read... [17:08:11]Read from MH i2c: E2 03 00 1E 00 00 90 00 92 [17:08:11]RAPDU: 90 00 [17:08:11]wFMCommunicate OK [17:08:11]wFMCommunicate request_size=13 [17:08:11]MH_SAM_APDU [17:08:11]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [17:08:11]Write to MH i2c: E2 10 00 1F 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 CD [17:08:11]Write i2c OK [17:08:11]MH_I2C_Read... [17:08:11]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [17:08:11]Read from MH i2c: E2 [17:08:11]MH_I2C_Read... [17:08:11]Read from MH i2c: E2 03 00 [17:08:11]MH_I2C_Read... [17:08:11]Read from MH i2c: E2 03 00 1F 00 00 90 00 93 [17:08:11]RAPDU: 90 00 [17:08:11]wFMCommunicate OK [17:08:11]wFMCommunicate request_size=4 [17:08:11]MH_SAM_APDU [17:08:11]CAPDU: 80 11 00 00 [17:08:11]Write to MH i2c: E2 08 00 20 00 80 11 00 00 00 00 00 00 9A [17:08:11]Write i2c OK [17:08:11]MH_I2C_Read... [17:08:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:08:11]Read from MH i2c: E2 [17:08:11]MH_I2C_Read... [17:08:11]Read from MH i2c: E2 17 00 [17:08:11]MH_I2C_Read... [17:08:11]Read from MH i2c: E2 17 00 20 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 EE [17:08:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 [17:08:11]wFMCommunicate OK [17:08:11]wFMCommunicate request_size=4 [17:08:11]MH_SAM_APDU [17:08:11]CAPDU: 80 11 00 00 [17:08:11]Write to MH i2c: E2 08 00 21 00 80 11 00 00 00 00 00 00 9B [17:08:11]Write i2c OK [17:08:11]MH_I2C_Read... [17:08:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:08:11]Read from MH i2c: E2 [17:08:11]MH_I2C_Read... [17:08:11]Read from MH i2c: E2 17 00 [17:08:11]MH_I2C_Read... [17:08:11]Read from MH i2c: E2 17 00 21 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 EF [17:08:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 [17:08:11]wFMCommunicate OK [17:08:11]Detected FM SN is 0000000000963294 [17:08:11]NVStorageSaveData config_fm_pin [17:08:11]File name is /storage/config_fm_pin [17:08:11]Write 5 bytes [17:08:11]NVStorageSaveData done [17:08:11]wFMCommunicate request_size=4 [17:08:11]MH_SAM_APDU [17:08:11]CAPDU: 80 11 00 00 [17:08:11]Write to MH i2c: E2 08 00 22 00 80 11 00 00 00 00 00 00 9C [17:08:11]Write i2c OK [17:08:11]MH_I2C_Read... [17:08:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:08:11]Read from MH i2c: E2 [17:08:11]MH_I2C_Read... [17:08:11]Read from MH i2c: E2 17 00 [17:08:11]MH_I2C_Read... [17:08:11]Read from MH i2c: E2 17 00 22 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 F0 [17:08:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 [17:08:11]wFMCommunicate OK [17:08:11]Detected FM SN is 0000000000963294 [17:08:11]NVStorageSaveData config_used_fm [17:08:11]File name is /storage/config_used_fm [17:08:11]Write 16 bytes [17:08:11]NVStorageSaveData done [17:08:11]SetValue res=0 [17:08:11]process_action set_value done [17:08:11]no requested_data - finishing processing [17:08:11]process_action_free set_value [17:08:11]json_value_free [17:08:11]json_value_free done [17:08:11]process_json_proto returns [17:08:11]Send response to host [17:08:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:08:11]free response buf [17:08:11]execute_script done [17:08:11]execute_script returns [17:08:11]free content buf [17:08:11]Sock 10.Close socket [17:08:11]Sock 10.Thread stoped [17:08:12]No OFD sender enable setting [17:08:17]No OFD sender enable setting [17:08:22]No OFD sender enable setting [17:08:27]No OFD sender enable setting [17:08:32]No OFD sender enable setting [17:08:37]No OFD sender enable setting [17:08:42]No OFD sender enable setting [17:08:47]No OFD sender enable setting [17:08:52]No OFD sender enable setting [17:08:55]accept exits with 8 [17:08:55]New connection [17:08:55]New thread 3067301220 created [17:08:55]Thread 3067157860 joined [17:08:55]Waiting for new connection... [17:08:55] Sock 8.Parse request [17:08:55]Sock 8.Check first char [17:08:55]Sock 8.First char is OK [17:08:55]request: POST /json_proto HTTP/1.1 [17:08:55]Method: POST [17:08:55]URL: /json_proto [17:08:55]Method is POST - this is cgi request [17:08:55]url: /json_proto [17:08:55]query_string will be loaded in cgi processing [17:08:55]execute_cgi json_proto POST (null) [17:08:55]execute_cgi path=json_proto method=POST [17:08:55]POST find Content-Length [17:08:55]Host: 192.168.0.101:8080 [17:08:55]Connection: keep-alive [17:08:55]Content-Length: 113 [17:08:55]Accept: application/json, text/plain, */* [17:08:55]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:08:55]Content-Type: application/json [17:08:55]Origin: http://192.168.0.101:8080 [17:08:55]Referer: http://192.168.0.101:8080/testengine [17:08:55]Accept-Encoding: gzip, deflate [17:08:55]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:08:55] [17:08:55]POST finish read [17:08:55]Found Content-Length = 113 [17:08:55]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_host","value":"lk.salyk.kg"}}} [17:08:55]execute_script... [17:08:55]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_host","value":"lk.salyk.kg"}}} [17:08:55]POST & json_proto [17:08:55]process_json_proto [17:08:55]json parsed OK: [17:08:55]protocol is kg_v1.0 [17:08:55]action value=set_value [17:08:55]process_action set_value [17:08:55]cmd_set_value [17:08:55]SetValue [17:08:55]group config [17:08:55]SetConfigValue ofd_host=lk.salyk.kg [17:08:55]SettingCheckAndSetValue ofd_host=lk.salyk.kg [17:08:55]NVStorageSaveData config_ofd_host [17:08:55]File name is /storage/config_ofd_host [17:08:55]Write 11 bytes [17:08:55]NVStorageSaveData done [17:08:55]SetValue res=0 [17:08:55]process_action set_value done [17:08:55]no requested_data - finishing processing [17:08:55]process_action_free set_value [17:08:55]json_value_free [17:08:55]json_value_free done [17:08:55]process_json_proto returns [17:08:55]Send response to host [17:08:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:08:55]free response buf [17:08:55]execute_script done [17:08:55]execute_script returns [17:08:55]free content buf [17:08:55]Sock 8.Close socket [17:08:55]Sock 8.Thread stoped [17:08:56]accept exits with 9 [17:08:56]New connection [17:08:56]New thread 3067157860 created [17:08:56]Thread 3067301220 joined [17:08:56]Waiting for new connection... [17:08:56] Sock 9.Parse request [17:08:56]Sock 9.Check first char [17:08:56]Sock 9.First char is OK [17:08:56]request: POST /json_proto HTTP/1.1 [17:08:56]Method: POST [17:08:56]URL: /json_proto [17:08:56]Method is POST - this is cgi request [17:08:56]url: /json_proto [17:08:56]query_string will be loaded in cgi processing [17:08:56]execute_cgi json_proto POST (null) [17:08:56]execute_cgi path=json_proto method=POST [17:08:56]POST find Content-Length [17:08:56]Host: 192.168.0.101:8080 [17:08:56]Connection: keep-alive [17:08:56]Content-Length: 113 [17:08:56]Accept: application/json, text/plain, */* [17:08:56]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:08:56]Content-Type: application/json [17:08:56]Origin: http://192.168.0.101:8080 [17:08:56]Referer: http://192.168.0.101:8080/testengine [17:08:56]Accept-Encoding: gzip, deflate [17:08:56]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:08:56] [17:08:56]POST finish read [17:08:56]Found Content-Length = 113 [17:08:56]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_host","value":"lk.salyk.kg"}}} [17:08:56]execute_script... [17:08:56]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_host","value":"lk.salyk.kg"}}} [17:08:56]POST & json_proto [17:08:56]process_json_proto [17:08:56]json parsed OK: [17:08:56]protocol is kg_v1.0 [17:08:56]action value=set_value [17:08:56]process_action set_value [17:08:56]cmd_set_value [17:08:56]SetValue [17:08:56]group config [17:08:56]SetConfigValue ofd_host=lk.salyk.kg [17:08:56]SettingCheckAndSetValue ofd_host=lk.salyk.kg [17:08:56]NVStorageSaveData config_ofd_host [17:08:56]File name is /storage/config_ofd_host [17:08:56]Write 11 bytes [17:08:56]NVStorageSaveData done [17:08:56]SetValue res=0 [17:08:56]process_action set_value done [17:08:56]no requested_data - finishing processing [17:08:56]process_action_free set_value [17:08:56]json_value_free [17:08:56]json_value_free done [17:08:56]process_json_proto returns [17:08:56]Send response to host [17:08:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:08:56]free response buf [17:08:56]execute_script done [17:08:56]execute_script returns [17:08:56]free content buf [17:08:56]Sock 9.Close socket [17:08:56]Sock 9.Thread stoped [17:08:56]accept exits with 8 [17:08:56]New connection [17:08:56]New thread 3067301220 created [17:08:56]Thread 3067157860 joined [17:08:56]Waiting for new connection... [17:08:56] Sock 8.Parse request [17:08:56]Sock 8.Check first char [17:08:56]Sock 8.First char is OK [17:08:56]request: POST /json_proto HTTP/1.1 [17:08:56]Method: POST [17:08:56]URL: /json_proto [17:08:56]Method is POST - this is cgi request [17:08:56]url: /json_proto [17:08:56]query_string will be loaded in cgi processing [17:08:56]execute_cgi json_proto POST (null) [17:08:56]execute_cgi path=json_proto method=POST [17:08:56]POST find Content-Length [17:08:56]Host: 192.168.0.101:8080 [17:08:56]Connection: keep-alive [17:08:56]Content-Length: 113 [17:08:56]Accept: application/json, text/plain, */* [17:08:56]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:08:56]Content-Type: application/json [17:08:56]Origin: http://192.168.0.101:8080 [17:08:56]Referer: http://192.168.0.101:8080/testengine [17:08:56]Accept-Encoding: gzip, deflate [17:08:56]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:08:56] [17:08:56]POST finish read [17:08:56]Found Content-Length = 113 [17:08:56]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_host","value":"lk.salyk.kg"}}} [17:08:56]execute_script... [17:08:56]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_host","value":"lk.salyk.kg"}}} [17:08:56]POST & json_proto [17:08:56]process_json_proto [17:08:56]json parsed OK: [17:08:56]protocol is kg_v1.0 [17:08:56]action value=set_value [17:08:56]process_action set_value [17:08:56]cmd_set_value [17:08:56]SetValue [17:08:56]group config [17:08:56]SetConfigValue ofd_host=lk.salyk.kg [17:08:56]SettingCheckAndSetValue ofd_host=lk.salyk.kg [17:08:56]NVStorageSaveData config_ofd_host [17:08:56]File name is /storage/config_ofd_host [17:08:56]Write 11 bytes [17:08:56]NVStorageSaveData done [17:08:56]SetValue res=0 [17:08:56]process_action set_value done [17:08:56]no requested_data - finishing processing [17:08:56]process_action_free set_value [17:08:56]json_value_free [17:08:56]json_value_free done [17:08:56]process_json_proto returns [17:08:56]Send response to host [17:08:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:08:56]free response buf [17:08:56]execute_script done [17:08:56]execute_script returns [17:08:56]free content buf [17:08:56]Sock 8.Close socket [17:08:56]Sock 8.Thread stoped [17:08:57]No OFD sender enable setting [17:09:02]No OFD sender enable setting [17:09:07]No OFD sender enable setting [17:09:09]accept exits with 9 [17:09:09]New connection [17:09:09]New thread 3067157860 created [17:09:09]Thread 3067301220 joined [17:09:09]Waiting for new connection... [17:09:09] Sock 9.Parse request [17:09:09]Sock 9.Check first char [17:09:09]Sock 9.First char is OK [17:09:09]request: POST /json_proto HTTP/1.1 [17:09:09]Method: POST [17:09:09]URL: /json_proto [17:09:09]Method is POST - this is cgi request [17:09:09]url: /json_proto [17:09:09]query_string will be loaded in cgi processing [17:09:09]execute_cgi json_proto POST (null) [17:09:09]execute_cgi path=json_proto method=POST [17:09:09]POST find Content-Length [17:09:09]Host: 192.168.0.101:8080 [17:09:09]Connection: keep-alive [17:09:09]Content-Length: 107 [17:09:09]Accept: application/json, text/plain, */* [17:09:09]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:09:09]Content-Type: application/json [17:09:09]Origin: http://192.168.0.101:8080 [17:09:09]Referer: http://192.168.0.101:8080/testengine [17:09:09]Accept-Encoding: gzip, deflate [17:09:09]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:09:09] [17:09:09]POST finish read [17:09:09]Found Content-Length = 107 [17:09:09]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [17:09:09]execute_script... [17:09:09]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [17:09:09]POST & json_proto [17:09:09]process_json_proto [17:09:09]json parsed OK: [17:09:09]protocol is kg_v1.0 [17:09:09]action value=set_value [17:09:09]process_action set_value [17:09:09]cmd_set_value [17:09:09]SetValue [17:09:09]group config [17:09:09]SetConfigValue ofd_port=30040 [17:09:09]SettingCheckAndSetValue ofd_port=30040 [17:09:09]NVStorageSaveData config_ofd_port [17:09:09]File name is /storage/config_ofd_port [17:09:09]Write 5 bytes [17:09:09]NVStorageSaveData done [17:09:09]SetValue res=0 [17:09:09]process_action set_value done [17:09:09]no requested_data - finishing processing [17:09:09]process_action_free set_value [17:09:09]json_value_free [17:09:09]json_value_free done [17:09:09]process_json_proto returns [17:09:09]Send response to host [17:09:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:09:09]free response buf [17:09:09]execute_script done [17:09:09]execute_script returns [17:09:09]free content buf [17:09:09]Sock 9.Close socket [17:09:09]Sock 9.Thread stoped [17:09:09]accept exits with 8 [17:09:09]New connection [17:09:09]New thread 3067301220 created [17:09:09]Thread 3067157860 joined [17:09:09]Waiting for new connection... [17:09:09] Sock 8.Parse request [17:09:09]Sock 8.Check first char [17:09:09]Sock 8.First char is OK [17:09:09]request: POST /json_proto HTTP/1.1 [17:09:09]Method: POST [17:09:09]URL: /json_proto [17:09:09]Method is POST - this is cgi request [17:09:09]url: /json_proto [17:09:09]query_string will be loaded in cgi processing [17:09:09]execute_cgi json_proto POST (null) [17:09:09]execute_cgi path=json_proto method=POST [17:09:09]POST find Content-Length [17:09:09]Host: 192.168.0.101:8080 [17:09:09]Connection: keep-alive [17:09:09]Content-Length: 107 [17:09:09]Accept: application/json, text/plain, */* [17:09:09]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:09:09]Content-Type: application/json [17:09:09]Origin: http://192.168.0.101:8080 [17:09:09]Referer: http://192.168.0.101:8080/testengine [17:09:09]Accept-Encoding: gzip, deflate [17:09:09]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:09:09] [17:09:09]POST finish read [17:09:09]Found Content-Length = 107 [17:09:09]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [17:09:09]execute_script... [17:09:09]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [17:09:09]POST & json_proto [17:09:09]process_json_proto [17:09:09]json parsed OK: [17:09:09]protocol is kg_v1.0 [17:09:09]action value=set_value [17:09:09]process_action set_value [17:09:09]cmd_set_value [17:09:09]SetValue [17:09:09]group config [17:09:09]SetConfigValue ofd_port=30040 [17:09:09]SettingCheckAndSetValue ofd_port=30040 [17:09:09]NVStorageSaveData config_ofd_port [17:09:09]File name is /storage/config_ofd_port [17:09:09]Write 5 bytes [17:09:09]NVStorageSaveData done [17:09:09]SetValue res=0 [17:09:09]process_action set_value done [17:09:09]no requested_data - finishing processing [17:09:09]process_action_free set_value [17:09:09]json_value_free [17:09:09]json_value_free done [17:09:09]process_json_proto returns [17:09:09]Send response to host [17:09:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:09:09]free response buf [17:09:09]execute_script done [17:09:09]execute_script returns [17:09:09]free content buf [17:09:09]Sock 8.Close socket [17:09:09]Sock 8.Thread stoped [17:09:09]accept exits with 9 [17:09:09]New connection [17:09:09]New thread 3067157860 created [17:09:09]Thread 3067301220 joined [17:09:09]Waiting for new connection... [17:09:09] Sock 9.Parse request [17:09:09]Sock 9.Check first char [17:09:09]Sock 9.First char is OK [17:09:09]request: POST /json_proto HTTP/1.1 [17:09:09]Method: POST [17:09:09]URL: /json_proto [17:09:09]Method is POST - this is cgi request [17:09:09]url: /json_proto [17:09:09]query_string will be loaded in cgi processing [17:09:09]execute_cgi json_proto POST (null) [17:09:09]execute_cgi path=json_proto method=POST [17:09:09]POST find Content-Length [17:09:09]Host: 192.168.0.101:8080 [17:09:09]Connection: keep-alive [17:09:09]Content-Length: 107 [17:09:09]Accept: application/json, text/plain, */* [17:09:09]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:09:09]Content-Type: application/json [17:09:09]Origin: http://192.168.0.101:8080 [17:09:09]Referer: http://192.168.0.101:8080/testengine [17:09:09]Accept-Encoding: gzip, deflate [17:09:09]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:09:09] [17:09:09]POST finish read [17:09:09]Found Content-Length = 107 [17:09:09]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [17:09:09]execute_script... [17:09:09]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [17:09:09]POST & json_proto [17:09:09]process_json_proto [17:09:09]json parsed OK: [17:09:09]protocol is kg_v1.0 [17:09:09]action value=set_value [17:09:09]process_action set_value [17:09:09]cmd_set_value [17:09:09]SetValue [17:09:09]group config [17:09:09]SetConfigValue ofd_port=30040 [17:09:09]SettingCheckAndSetValue ofd_port=30040 [17:09:09]NVStorageSaveData config_ofd_port [17:09:09]File name is /storage/config_ofd_port [17:09:09]Write 5 bytes [17:09:09]NVStorageSaveData done [17:09:09]SetValue res=0 [17:09:09]process_action set_value done [17:09:09]no requested_data - finishing processing [17:09:09]process_action_free set_value [17:09:09]json_value_free [17:09:09]json_value_free done [17:09:09]process_json_proto returns [17:09:09]Send response to host [17:09:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:09:09]free response buf [17:09:09]execute_script done [17:09:09]execute_script returns [17:09:09]free content buf [17:09:09]Sock 9.Close socket [17:09:09]Sock 9.Thread stoped [17:09:10]accept exits with 8 [17:09:10]New connection [17:09:10]New thread 3067301220 created [17:09:10]Thread 3067157860 joined [17:09:10]Waiting for new connection... [17:09:10] Sock 8.Parse request [17:09:10]Sock 8.Check first char [17:09:10]Sock 8.First char is OK [17:09:10]request: POST /json_proto HTTP/1.1 [17:09:10]Method: POST [17:09:10]URL: /json_proto [17:09:10]Method is POST - this is cgi request [17:09:10]url: /json_proto [17:09:10]query_string will be loaded in cgi processing [17:09:10]execute_cgi json_proto POST (null) [17:09:10]execute_cgi path=json_proto method=POST [17:09:10]POST find Content-Length [17:09:10]Host: 192.168.0.101:8080 [17:09:10]Connection: keep-alive [17:09:10]Content-Length: 107 [17:09:10]Accept: application/json, text/plain, */* [17:09:10]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:09:10]Content-Type: application/json [17:09:10]Origin: http://192.168.0.101:8080 [17:09:10]Referer: http://192.168.0.101:8080/testengine [17:09:10]Accept-Encoding: gzip, deflate [17:09:10]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:09:10] [17:09:10]POST finish read [17:09:10]Found Content-Length = 107 [17:09:10]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [17:09:10]execute_script... [17:09:10]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [17:09:10]POST & json_proto [17:09:10]process_json_proto [17:09:10]json parsed OK: [17:09:10]protocol is kg_v1.0 [17:09:10]action value=set_value [17:09:10]process_action set_value [17:09:10]cmd_set_value [17:09:10]SetValue [17:09:10]group config [17:09:10]SetConfigValue ofd_port=30040 [17:09:10]SettingCheckAndSetValue ofd_port=30040 [17:09:10]NVStorageSaveData config_ofd_port [17:09:10]File name is /storage/config_ofd_port [17:09:10]Write 5 bytes [17:09:10]NVStorageSaveData done [17:09:10]SetValue res=0 [17:09:10]process_action set_value done [17:09:10]no requested_data - finishing processing [17:09:10]process_action_free set_value [17:09:10]json_value_free [17:09:10]json_value_free done [17:09:10]process_json_proto returns [17:09:10]Send response to host [17:09:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:09:10]free response buf [17:09:10]execute_script done [17:09:10]execute_script returns [17:09:10]free content buf [17:09:10]Sock 8.Close socket [17:09:10]Sock 8.Thread stoped [17:09:10]accept exits with 9 [17:09:10]New connection [17:09:10]New thread 3067157860 created [17:09:10]Thread 3067301220 joined [17:09:10]Waiting for new connection... [17:09:10] Sock 9.Parse request [17:09:10]Sock 9.Check first char [17:09:10]Sock 9.First char is OK [17:09:10]request: POST /json_proto HTTP/1.1 [17:09:10]Method: POST [17:09:10]URL: /json_proto [17:09:10]Method is POST - this is cgi request [17:09:10]url: /json_proto [17:09:10]query_string will be loaded in cgi processing [17:09:10]execute_cgi json_proto POST (null) [17:09:10]execute_cgi path=json_proto method=POST [17:09:10]POST find Content-Length [17:09:10]Host: 192.168.0.101:8080 [17:09:10]Connection: keep-alive [17:09:10]Content-Length: 107 [17:09:10]Accept: application/json, text/plain, */* [17:09:10]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:09:10]Content-Type: application/json [17:09:10]Origin: http://192.168.0.101:8080 [17:09:10]Referer: http://192.168.0.101:8080/testengine [17:09:10]Accept-Encoding: gzip, deflate [17:09:10]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:09:10] [17:09:10]POST finish read [17:09:10]Found Content-Length = 107 [17:09:10]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [17:09:10]execute_script... [17:09:10]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [17:09:10]POST & json_proto [17:09:10]process_json_proto [17:09:10]json parsed OK: [17:09:10]protocol is kg_v1.0 [17:09:10]action value=set_value [17:09:10]process_action set_value [17:09:10]cmd_set_value [17:09:10]SetValue [17:09:10]group config [17:09:10]SetConfigValue ofd_port=30040 [17:09:10]SettingCheckAndSetValue ofd_port=30040 [17:09:10]NVStorageSaveData config_ofd_port [17:09:10]File name is /storage/config_ofd_port [17:09:10]Write 5 bytes [17:09:10]NVStorageSaveData done [17:09:10]SetValue res=0 [17:09:10]process_action set_value done [17:09:10]no requested_data - finishing processing [17:09:10]process_action_free set_value [17:09:10]json_value_free [17:09:10]json_value_free done [17:09:10]process_json_proto returns [17:09:10]Send response to host [17:09:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:09:10]free response buf [17:09:10]execute_script done [17:09:10]execute_script returns [17:09:10]free content buf [17:09:10]Sock 9.Close socket [17:09:10]Sock 9.Thread stoped [17:09:10]accept exits with 8 [17:09:10]New connection [17:09:10]New thread 3067301220 created [17:09:10]Thread 3067157860 joined [17:09:10]Waiting for new connection... [17:09:10] Sock 8.Parse request [17:09:10]Sock 8.Check first char [17:09:10]Sock 8.First char is OK [17:09:10]request: POST /json_proto HTTP/1.1 [17:09:10]Method: POST [17:09:10]URL: /json_proto [17:09:10]Method is POST - this is cgi request [17:09:10]url: /json_proto [17:09:10]query_string will be loaded in cgi processing [17:09:10]execute_cgi json_proto POST (null) [17:09:10]execute_cgi path=json_proto method=POST [17:09:10]POST find Content-Length [17:09:10]Host: 192.168.0.101:8080 [17:09:10]Connection: keep-alive [17:09:10]Content-Length: 107 [17:09:10]Accept: application/json, text/plain, */* [17:09:10]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:09:10]Content-Type: application/json [17:09:10]Origin: http://192.168.0.101:8080 [17:09:10]Referer: http://192.168.0.101:8080/testengine [17:09:10]Accept-Encoding: gzip, deflate [17:09:10]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:09:10] [17:09:10]POST finish read [17:09:10]Found Content-Length = 107 [17:09:10]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [17:09:10]execute_script... [17:09:10]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_port","value":"30040"}}} [17:09:10]POST & json_proto [17:09:10]process_json_proto [17:09:10]json parsed OK: [17:09:10]protocol is kg_v1.0 [17:09:10]action value=set_value [17:09:10]process_action set_value [17:09:10]cmd_set_value [17:09:10]SetValue [17:09:10]group config [17:09:10]SetConfigValue ofd_port=30040 [17:09:10]SettingCheckAndSetValue ofd_port=30040 [17:09:10]NVStorageSaveData config_ofd_port [17:09:10]File name is /storage/config_ofd_port [17:09:10]Write 5 bytes [17:09:10]NVStorageSaveData done [17:09:10]SetValue res=0 [17:09:10]process_action set_value done [17:09:10]no requested_data - finishing processing [17:09:10]process_action_free set_value [17:09:10]json_value_free [17:09:10]json_value_free done [17:09:10]process_json_proto returns [17:09:10]Send response to host [17:09:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:09:10]free response buf [17:09:10]execute_script done [17:09:10]execute_script returns [17:09:10]free content buf [17:09:10]Sock 8.Close socket [17:09:10]Sock 8.Thread stoped [17:09:12]No OFD sender enable setting [17:09:17]No OFD sender enable setting [17:09:20]accept exits with 9 [17:09:20]New connection [17:09:20]New thread 3067157860 created [17:09:20]Thread 3067301220 joined [17:09:20]Waiting for new connection... [17:09:20] Sock 9.Parse request [17:09:20]Sock 9.Check first char [17:09:20]Sock 9.First char is OK [17:09:20]request: POST /json_proto HTTP/1.1 [17:09:20]Method: POST [17:09:20]URL: /json_proto [17:09:20]Method is POST - this is cgi request [17:09:20]url: /json_proto [17:09:20]query_string will be loaded in cgi processing [17:09:20]execute_cgi json_proto POST (null) [17:09:20]execute_cgi path=json_proto method=POST [17:09:20]POST find Content-Length [17:09:20]Host: 192.168.0.101:8080 [17:09:20]Connection: keep-alive [17:09:20]Content-Length: 110 [17:09:20]Accept: application/json, text/plain, */* [17:09:20]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:09:20]Content-Type: application/json [17:09:20]Origin: http://192.168.0.101:8080 [17:09:20]Referer: http://192.168.0.101:8080/testengine [17:09:20]Accept-Encoding: gzip, deflate [17:09:20]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:09:20] [17:09:20]POST finish read [17:09:20]Found Content-Length = 110 [17:09:20]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_send_enable","value":"1"}}} [17:09:20]execute_script... [17:09:20]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_send_enable","value":"1"}}} [17:09:20]POST & json_proto [17:09:20]process_json_proto [17:09:20]json parsed OK: [17:09:20]protocol is kg_v1.0 [17:09:20]action value=set_value [17:09:20]process_action set_value [17:09:20]cmd_set_value [17:09:20]SetValue [17:09:20]group config [17:09:20]SetConfigValue ofd_send_enable=1 [17:09:20]SettingCheckAndSetValue ofd_send_enable=1 [17:09:20]NVStorageSaveData config_ofd_send_enable [17:09:20]File name is /storage/config_ofd_send_enable [17:09:20]Write 1 bytes [17:09:20]NVStorageSaveData done [17:09:20]SetValue res=0 [17:09:20]process_action set_value done [17:09:20]no requested_data - finishing processing [17:09:20]process_action_free set_value [17:09:20]json_value_free [17:09:20]json_value_free done [17:09:20]process_json_proto returns [17:09:20]Send response to host [17:09:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:09:20]free response buf [17:09:20]execute_script done [17:09:20]execute_script returns [17:09:20]free content buf [17:09:20]Sock 9.Close socket [17:09:20]Sock 9.Thread stoped [17:09:20]accept exits with 8 [17:09:20]New connection [17:09:20]New thread 3067301220 created [17:09:20]Thread 3067157860 joined [17:09:20]Waiting for new connection... [17:09:20] Sock 8.Parse request [17:09:20]Sock 8.Check first char [17:09:20]Sock 8.First char is OK [17:09:20]request: POST /json_proto HTTP/1.1 [17:09:20]Method: POST [17:09:20]URL: /json_proto [17:09:20]Method is POST - this is cgi request [17:09:20]url: /json_proto [17:09:20]query_string will be loaded in cgi processing [17:09:20]execute_cgi json_proto POST (null) [17:09:20]execute_cgi path=json_proto method=POST [17:09:20]POST find Content-Length [17:09:20]Host: 192.168.0.101:8080 [17:09:20]Connection: keep-alive [17:09:20]Content-Length: 110 [17:09:20]Accept: application/json, text/plain, */* [17:09:20]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:09:20]Content-Type: application/json [17:09:20]Origin: http://192.168.0.101:8080 [17:09:20]Referer: http://192.168.0.101:8080/testengine [17:09:20]Accept-Encoding: gzip, deflate [17:09:20]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:09:20] [17:09:20]POST finish read [17:09:20]Found Content-Length = 110 [17:09:20]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_send_enable","value":"1"}}} [17:09:20]execute_script... [17:09:20]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_send_enable","value":"1"}}} [17:09:20]POST & json_proto [17:09:20]process_json_proto [17:09:20]json parsed OK: [17:09:20]protocol is kg_v1.0 [17:09:20]action value=set_value [17:09:20]process_action set_value [17:09:20]cmd_set_value [17:09:20]SetValue [17:09:20]group config [17:09:20]SetConfigValue ofd_send_enable=1 [17:09:20]SettingCheckAndSetValue ofd_send_enable=1 [17:09:20]NVStorageSaveData config_ofd_send_enable [17:09:20]File name is /storage/config_ofd_send_enable [17:09:20]Write 1 bytes [17:09:20]NVStorageSaveData done [17:09:20]SetValue res=0 [17:09:20]process_action set_value done [17:09:20]no requested_data - finishing processing [17:09:20]process_action_free set_value [17:09:20]json_value_free [17:09:20]json_value_free done [17:09:20]process_json_proto returns [17:09:20]Send response to host [17:09:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:09:20]free response buf [17:09:20]execute_script done [17:09:20]execute_script returns [17:09:20]free content buf [17:09:20]Sock 8.Close socket [17:09:20]Sock 8.Thread stoped [17:09:20]accept exits with 9 [17:09:20]New connection [17:09:20]New thread 3067157860 created [17:09:20]Thread 3067301220 joined [17:09:20]Waiting for new connection... [17:09:20] Sock 9.Parse request [17:09:20]Sock 9.Check first char [17:09:20]Sock 9.First char is OK [17:09:20]request: POST /json_proto HTTP/1.1 [17:09:20]Method: POST [17:09:20]URL: /json_proto [17:09:20]Method is POST - this is cgi request [17:09:20]url: /json_proto [17:09:20]query_string will be loaded in cgi processing [17:09:20]execute_cgi json_proto POST (null) [17:09:20]execute_cgi path=json_proto method=POST [17:09:20]POST find Content-Length [17:09:20]Host: 192.168.0.101:8080 [17:09:20]Connection: keep-alive [17:09:20]Content-Length: 110 [17:09:20]Accept: application/json, text/plain, */* [17:09:20]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:09:20]Content-Type: application/json [17:09:20]Origin: http://192.168.0.101:8080 [17:09:20]Referer: http://192.168.0.101:8080/testengine [17:09:20]Accept-Encoding: gzip, deflate [17:09:20]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:09:20] [17:09:20]POST finish read [17:09:20]Found Content-Length = 110 [17:09:20]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_send_enable","value":"1"}}} [17:09:20]execute_script... [17:09:20]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_send_enable","value":"1"}}} [17:09:20]POST & json_proto [17:09:20]process_json_proto [17:09:20]json parsed OK: [17:09:20]protocol is kg_v1.0 [17:09:20]action value=set_value [17:09:20]process_action set_value [17:09:20]cmd_set_value [17:09:20]SetValue [17:09:20]group config [17:09:20]SetConfigValue ofd_send_enable=1 [17:09:20]SettingCheckAndSetValue ofd_send_enable=1 [17:09:20]NVStorageSaveData config_ofd_send_enable [17:09:20]File name is /storage/config_ofd_send_enable [17:09:20]Write 1 bytes [17:09:20]NVStorageSaveData done [17:09:20]SetValue res=0 [17:09:20]process_action set_value done [17:09:20]no requested_data - finishing processing [17:09:20]process_action_free set_value [17:09:20]json_value_free [17:09:20]json_value_free done [17:09:20]process_json_proto returns [17:09:20]Send response to host [17:09:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:09:20]free response buf [17:09:20]execute_script done [17:09:20]execute_script returns [17:09:20]free content buf [17:09:20]Sock 9.Close socket [17:09:20]Sock 9.Thread stoped [17:09:20]accept exits with 8 [17:09:20]New connection [17:09:20]New thread 3067301220 created [17:09:20]Thread 3067157860 joined [17:09:20]Waiting for new connection... [17:09:20] Sock 8.Parse request [17:09:20]Sock 8.Check first char [17:09:20]Sock 8.First char is OK [17:09:20]request: POST /json_proto HTTP/1.1 [17:09:20]Method: POST [17:09:20]URL: /json_proto [17:09:20]Method is POST - this is cgi request [17:09:20]url: /json_proto [17:09:20]query_string will be loaded in cgi processing [17:09:20]execute_cgi json_proto POST (null) [17:09:20]execute_cgi path=json_proto method=POST [17:09:20]POST find Content-Length [17:09:20]Host: 192.168.0.101:8080 [17:09:20]Connection: keep-alive [17:09:20]Content-Length: 110 [17:09:20]Accept: application/json, text/plain, */* [17:09:20]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:09:20]Content-Type: application/json [17:09:20]Origin: http://192.168.0.101:8080 [17:09:20]Referer: http://192.168.0.101:8080/testengine [17:09:20]Accept-Encoding: gzip, deflate [17:09:20]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:09:20] [17:09:20]POST finish read [17:09:20]Found Content-Length = 110 [17:09:20]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_send_enable","value":"1"}}} [17:09:20]execute_script... [17:09:20]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.ofd_send_enable","value":"1"}}} [17:09:20]POST & json_proto [17:09:20]process_json_proto [17:09:20]json parsed OK: [17:09:20]protocol is kg_v1.0 [17:09:20]action value=set_value [17:09:20]process_action set_value [17:09:20]cmd_set_value [17:09:20]SetValue [17:09:20]group config [17:09:20]SetConfigValue ofd_send_enable=1 [17:09:20]SettingCheckAndSetValue ofd_send_enable=1 [17:09:20]NVStorageSaveData config_ofd_send_enable [17:09:20]File name is /storage/config_ofd_send_enable [17:09:20]Write 1 bytes [17:09:20]NVStorageSaveData done [17:09:20]SetValue res=0 [17:09:20]process_action set_value done [17:09:20]no requested_data - finishing processing [17:09:20]process_action_free set_value [17:09:20]json_value_free [17:09:20]json_value_free done [17:09:20]process_json_proto returns [17:09:20]Send response to host [17:09:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:09:20]free response buf [17:09:20]execute_script done [17:09:20]execute_script returns [17:09:20]free content buf [17:09:20]Sock 8.Close socket [17:09:20]Sock 8.Thread stoped [17:09:22]OFD Sender: No OFD packet to send [17:09:27]OFD Sender: No OFD packet to send [17:09:29]accept exits with 9 [17:09:29]New connection [17:09:29]New thread 3067157860 created [17:09:29]Thread 3067301220 joined [17:09:29]Waiting for new connection... [17:09:29] Sock 9.Parse request [17:09:29]Sock 9.Check first char [17:09:29]Sock 9.First char is OK [17:09:29]request: POST /json_proto HTTP/1.1 [17:09:29]Method: POST [17:09:29]URL: /json_proto [17:09:29]Method is POST - this is cgi request [17:09:29]url: /json_proto [17:09:29]query_string will be loaded in cgi processing [17:09:29]execute_cgi json_proto POST (null) [17:09:29]execute_cgi path=json_proto method=POST [17:09:29]POST find Content-Length [17:09:29]Host: 192.168.0.101:8080 [17:09:29]Connection: keep-alive [17:09:29]Content-Length: 158 [17:09:29]Accept: application/json, text/plain, */* [17:09:29]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:09:29]Content-Type: application/json [17:09:29]Origin: http://192.168.0.101:8080 [17:09:29]Referer: http://192.168.0.101:8080/testengine [17:09:29]Accept-Encoding: gzip, deflate [17:09:29]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:09:29] [17:09:29]POST finish read [17:09:29]Found Content-Length = 158 [17:09:29]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.qr_uri","value":"https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?"}}} [17:09:29]execute_script... [17:09:29]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.qr_uri","value":"https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?"}}} [17:09:29]POST & json_proto [17:09:29]process_json_proto [17:09:29]json parsed OK: [17:09:29]protocol is kg_v1.0 [17:09:29]action value=set_value [17:09:29]process_action set_value [17:09:29]cmd_set_value [17:09:29]SetValue [17:09:29]group config [17:09:29]SetConfigValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [17:09:29]SettingCheckAndSetValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [17:09:29]NVStorageSaveData config_qr_uri [17:09:29]File name is /storage/config_qr_uri [17:09:29]Write 58 bytes [17:09:29]NVStorageSaveData done [17:09:29]SetValue res=0 [17:09:29]process_action set_value done [17:09:29]no requested_data - finishing processing [17:09:29]process_action_free set_value [17:09:29]json_value_free [17:09:29]json_value_free done [17:09:29]process_json_proto returns [17:09:29]Send response to host [17:09:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:09:29]free response buf [17:09:29]execute_script done [17:09:29]execute_script returns [17:09:29]free content buf [17:09:29]Sock 9.Close socket [17:09:29]Sock 9.Thread stoped [17:09:29]accept exits with 8 [17:09:29]New connection [17:09:29]New thread 3067301220 created [17:09:29]Thread 3067157860 joined [17:09:29]Waiting for new connection... [17:09:29] Sock 8.Parse request [17:09:29]Sock 8.Check first char [17:09:29]Sock 8.First char is OK [17:09:29]request: POST /json_proto HTTP/1.1 [17:09:29]Method: POST [17:09:29]URL: /json_proto [17:09:29]Method is POST - this is cgi request [17:09:29]url: /json_proto [17:09:29]query_string will be loaded in cgi processing [17:09:29]execute_cgi json_proto POST (null) [17:09:29]execute_cgi path=json_proto method=POST [17:09:29]POST find Content-Length [17:09:29]Host: 192.168.0.101:8080 [17:09:29]Connection: keep-alive [17:09:29]Content-Length: 158 [17:09:29]Accept: application/json, text/plain, */* [17:09:29]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:09:29]Content-Type: application/json [17:09:29]Origin: http://192.168.0.101:8080 [17:09:29]Referer: http://192.168.0.101:8080/testengine [17:09:29]Accept-Encoding: gzip, deflate [17:09:29]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:09:29] [17:09:29]POST finish read [17:09:29]Found Content-Length = 158 [17:09:29]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.qr_uri","value":"https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?"}}} [17:09:29]execute_script... [17:09:29]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.qr_uri","value":"https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?"}}} [17:09:29]POST & json_proto [17:09:29]process_json_proto [17:09:29]json parsed OK: [17:09:29]protocol is kg_v1.0 [17:09:29]action value=set_value [17:09:29]process_action set_value [17:09:29]cmd_set_value [17:09:29]SetValue [17:09:29]group config [17:09:29]SetConfigValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [17:09:29]SettingCheckAndSetValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [17:09:29]NVStorageSaveData config_qr_uri [17:09:29]File name is /storage/config_qr_uri [17:09:29]Write 58 bytes [17:09:29]NVStorageSaveData done [17:09:29]SetValue res=0 [17:09:29]process_action set_value done [17:09:29]no requested_data - finishing processing [17:09:29]process_action_free set_value [17:09:29]json_value_free [17:09:29]json_value_free done [17:09:29]process_json_proto returns [17:09:29]Send response to host [17:09:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:09:29]free response buf [17:09:29]execute_script done [17:09:29]execute_script returns [17:09:29]free content buf [17:09:29]Sock 8.Close socket [17:09:29]Sock 8.Thread stoped [17:09:29]accept exits with 9 [17:09:29]New connection [17:09:29]New thread 3067157860 created [17:09:29]Thread 3067301220 joined [17:09:29]Waiting for new connection... [17:09:29] Sock 9.Parse request [17:09:29]Sock 9.Check first char [17:09:29]Sock 9.First char is OK [17:09:29]request: POST /json_proto HTTP/1.1 [17:09:29]Method: POST [17:09:29]URL: /json_proto [17:09:29]Method is POST - this is cgi request [17:09:29]url: /json_proto [17:09:29]query_string will be loaded in cgi processing [17:09:29]execute_cgi json_proto POST (null) [17:09:29]execute_cgi path=json_proto method=POST [17:09:29]POST find Content-Length [17:09:29]Host: 192.168.0.101:8080 [17:09:29]Connection: keep-alive [17:09:29]Content-Length: 158 [17:09:29]Accept: application/json, text/plain, */* [17:09:29]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:09:29]Content-Type: application/json [17:09:29]Origin: http://192.168.0.101:8080 [17:09:29]Referer: http://192.168.0.101:8080/testengine [17:09:29]Accept-Encoding: gzip, deflate [17:09:29]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:09:29] [17:09:29]POST finish read [17:09:29]Found Content-Length = 158 [17:09:29]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.qr_uri","value":"https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?"}}} [17:09:29]execute_script... [17:09:29]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.qr_uri","value":"https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?"}}} [17:09:29]POST & json_proto [17:09:29]process_json_proto [17:09:29]json parsed OK: [17:09:29]protocol is kg_v1.0 [17:09:29]action value=set_value [17:09:29]process_action set_value [17:09:29]cmd_set_value [17:09:29]SetValue [17:09:29]group config [17:09:29]SetConfigValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [17:09:29]SettingCheckAndSetValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [17:09:29]NVStorageSaveData config_qr_uri [17:09:29]File name is /storage/config_qr_uri [17:09:29]Write 58 bytes [17:09:29]NVStorageSaveData done [17:09:29]SetValue res=0 [17:09:29]process_action set_value done [17:09:29]no requested_data - finishing processing [17:09:29]process_action_free set_value [17:09:29]json_value_free [17:09:29]json_value_free done [17:09:29]process_json_proto returns [17:09:29]Send response to host [17:09:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:09:29]free response buf [17:09:29]execute_script done [17:09:29]execute_script returns [17:09:29]free content buf [17:09:29]Sock 9.Close socket [17:09:29]Sock 9.Thread stoped [17:09:30]accept exits with 8 [17:09:30]New connection [17:09:30]New thread 3067301220 created [17:09:30]Thread 3067157860 joined [17:09:30]Waiting for new connection... [17:09:30] Sock 8.Parse request [17:09:30]Sock 8.Check first char [17:09:30]Sock 8.First char is OK [17:09:30]request: POST /json_proto HTTP/1.1 [17:09:30]Method: POST [17:09:30]URL: /json_proto [17:09:30]Method is POST - this is cgi request [17:09:30]url: /json_proto [17:09:30]query_string will be loaded in cgi processing [17:09:30]execute_cgi json_proto POST (null) [17:09:30]execute_cgi path=json_proto method=POST [17:09:30]POST find Content-Length [17:09:30]Host: 192.168.0.101:8080 [17:09:30]Connection: keep-alive [17:09:30]Content-Length: 158 [17:09:30]Accept: application/json, text/plain, */* [17:09:30]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:09:30]Content-Type: application/json [17:09:30]Origin: http://192.168.0.101:8080 [17:09:30]Referer: http://192.168.0.101:8080/testengine [17:09:30]Accept-Encoding: gzip, deflate [17:09:30]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:09:30] [17:09:30]POST finish read [17:09:30]Found Content-Length = 158 [17:09:30]post body = {"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.qr_uri","value":"https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?"}}} [17:09:30]execute_script... [17:09:30]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"set_value","params":{"name":"config.qr_uri","value":"https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?"}}} [17:09:30]POST & json_proto [17:09:30]process_json_proto [17:09:30]json parsed OK: [17:09:30]protocol is kg_v1.0 [17:09:30]action value=set_value [17:09:30]process_action set_value [17:09:30]cmd_set_value [17:09:30]SetValue [17:09:30]group config [17:09:30]SetConfigValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [17:09:30]SettingCheckAndSetValue qr_uri=https://tax.salyk.kg/tax-web-control/client/api/v1/ticket? [17:09:30]NVStorageSaveData config_qr_uri [17:09:30]File name is /storage/config_qr_uri [17:09:30]Write 58 bytes [17:09:30]NVStorageSaveData done [17:09:30]SetValue res=0 [17:09:30]process_action set_value done [17:09:30]no requested_data - finishing processing [17:09:30]process_action_free set_value [17:09:30]json_value_free [17:09:30]json_value_free done [17:09:30]process_json_proto returns [17:09:30]Send response to host [17:09:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:09:30]free response buf [17:09:30]execute_script done [17:09:30]execute_script returns [17:09:30]free content buf [17:09:30]Sock 8.Close socket [17:09:30]Sock 8.Thread stoped [17:09:32]OFD Sender: No OFD packet to send [17:09:37]OFD Sender: No OFD packet to send [17:09:42]OFD Sender: No OFD packet to send [17:09:47]OFD Sender: No OFD packet to send [17:09:52]OFD Sender: No OFD packet to send [17:09:57]OFD Sender: No OFD packet to send [17:10:02]OFD Sender: No OFD packet to send [17:10:07]OFD Sender: No OFD packet to send [17:10:12]OFD Sender: No OFD packet to send [17:10:17]OFD Sender: No OFD packet to send [17:10:22]OFD Sender: No OFD packet to send [17:10:27]OFD Sender: No OFD packet to send [17:10:32]OFD Sender: No OFD packet to send [17:10:37]OFD Sender: No OFD packet to send [17:10:42]OFD Sender: No OFD packet to send [17:10:47]OFD Sender: No OFD packet to send [17:10:52]OFD Sender: No OFD packet to send [17:10:57]OFD Sender: No OFD packet to send [17:11:02]OFD Sender: No OFD packet to send [17:11:07]OFD Sender: No OFD packet to send [17:11:12]OFD Sender: No OFD packet to send [17:11:17]OFD Sender: No OFD packet to send [17:11:22]OFD Sender: No OFD packet to send [17:11:27]OFD Sender: No OFD packet to send [17:11:32]OFD Sender: No OFD packet to send [17:11:37]OFD Sender: No OFD packet to send [17:11:42]OFD Sender: No OFD packet to send [17:11:47]OFD Sender: No OFD packet to send [17:11:52]OFD Sender: No OFD packet to send [17:11:57]OFD Sender: No OFD packet to send [17:12:02]OFD Sender: No OFD packet to send [17:12:07]OFD Sender: No OFD packet to send [17:12:12]OFD Sender: No OFD packet to send [17:12:17]OFD Sender: No OFD packet to send [17:12:22]OFD Sender: No OFD packet to send [17:12:27]OFD Sender: No OFD packet to send [17:12:32]OFD Sender: No OFD packet to send [17:12:37]OFD Sender: No OFD packet to send [17:12:42]OFD Sender: No OFD packet to send [17:12:47]OFD Sender: No OFD packet to send [17:12:52]OFD Sender: No OFD packet to send [17:12:57]OFD Sender: No OFD packet to send [17:13:02]OFD Sender: No OFD packet to send [17:13:07]OFD Sender: No OFD packet to send [17:13:12]OFD Sender: No OFD packet to send [17:13:17]OFD Sender: No OFD packet to send [17:13:22]OFD Sender: No OFD packet to send [17:13:27]OFD Sender: No OFD packet to send [17:13:32]OFD Sender: No OFD packet to send [17:13:37]OFD Sender: No OFD packet to send [17:13:42]OFD Sender: No OFD packet to send [17:13:47]OFD Sender: No OFD packet to send [17:13:52]OFD Sender: No OFD packet to send [17:13:57]OFD Sender: No OFD packet to send [17:14:02]OFD Sender: No OFD packet to send [17:14:07]OFD Sender: No OFD packet to send [17:14:12]OFD Sender: No OFD packet to send [17:14:17]OFD Sender: No OFD packet to send [17:14:22]OFD Sender: No OFD packet to send [17:14:27]OFD Sender: No OFD packet to send [17:14:32]OFD Sender: No OFD packet to send [17:14:37]OFD Sender: No OFD packet to send [17:14:42]OFD Sender: No OFD packet to send [17:14:47]OFD Sender: No OFD packet to send [17:14:52]OFD Sender: No OFD packet to send [17:14:57]OFD Sender: No OFD packet to send [17:15:02]OFD Sender: No OFD packet to send [17:15:07]OFD Sender: No OFD packet to send [17:15:12]OFD Sender: No OFD packet to send [17:15:17]OFD Sender: No OFD packet to send [17:15:22]OFD Sender: No OFD packet to send [17:15:27]OFD Sender: No OFD packet to send [17:15:32]OFD Sender: No OFD packet to send [17:15:37]OFD Sender: No OFD packet to send [17:15:42]OFD Sender: No OFD packet to send [17:15:47]OFD Sender: No OFD packet to send [17:15:52]OFD Sender: No OFD packet to send [17:15:57]OFD Sender: No OFD packet to send [17:16:02]OFD Sender: No OFD packet to send [17:16:07]OFD Sender: No OFD packet to send [17:16:12]OFD Sender: No OFD packet to send [17:16:17]OFD Sender: No OFD packet to send [17:16:22]OFD Sender: No OFD packet to send [17:16:27]OFD Sender: No OFD packet to send [17:16:32]OFD Sender: No OFD packet to send [17:16:37]OFD Sender: No OFD packet to send [17:16:42]OFD Sender: No OFD packet to send [17:16:47]OFD Sender: No OFD packet to send [17:16:52]OFD Sender: No OFD packet to send [17:16:57]OFD Sender: No OFD packet to send [17:17:02]OFD Sender: No OFD packet to send [17:17:07]OFD Sender: No OFD packet to send [17:17:12]OFD Sender: No OFD packet to send [17:17:17]OFD Sender: No OFD packet to send [17:17:22]OFD Sender: No OFD packet to send [17:17:27]OFD Sender: No OFD packet to send [17:17:32]OFD Sender: No OFD packet to send [17:17:37]OFD Sender: No OFD packet to send [17:17:42]OFD Sender: No OFD packet to send [17:17:47]OFD Sender: No OFD packet to send [17:17:52]OFD Sender: No OFD packet to send [17:17:57]OFD Sender: No OFD packet to send [17:18:02]OFD Sender: No OFD packet to send [17:18:07]OFD Sender: No OFD packet to send [17:18:12]OFD Sender: No OFD packet to send [17:18:17]OFD Sender: No OFD packet to send [17:18:22]OFD Sender: No OFD packet to send [17:18:27]OFD Sender: No OFD packet to send [17:18:32]OFD Sender: No OFD packet to send [17:18:37]OFD Sender: No OFD packet to send [17:18:42]OFD Sender: No OFD packet to send [17:18:47]OFD Sender: No OFD packet to send [17:18:52]OFD Sender: No OFD packet to send [17:18:57]OFD Sender: No OFD packet to send [17:19:02]OFD Sender: No OFD packet to send [17:19:07]OFD Sender: No OFD packet to send [17:19:12]OFD Sender: No OFD packet to send [17:19:17]OFD Sender: No OFD packet to send [17:19:22]OFD Sender: No OFD packet to send [17:19:27]OFD Sender: No OFD packet to send [17:19:32]OFD Sender: No OFD packet to send [17:19:37]OFD Sender: No OFD packet to send [17:19:42]OFD Sender: No OFD packet to send [17:19:47]OFD Sender: No OFD packet to send [17:19:52]OFD Sender: No OFD packet to send [17:19:57]OFD Sender: No OFD packet to send [17:20:02]OFD Sender: No OFD packet to send [17:20:07]OFD Sender: No OFD packet to send [17:20:12]OFD Sender: No OFD packet to send [17:20:17]OFD Sender: No OFD packet to send [17:20:22]OFD Sender: No OFD packet to send [17:20:27]OFD Sender: No OFD packet to send [17:20:32]OFD Sender: No OFD packet to send [17:20:37]OFD Sender: No OFD packet to send [17:20:42]OFD Sender: No OFD packet to send [17:20:47]accept exits with 9 [17:20:47]New connection [17:20:47]New thread 3067157860 created [17:20:47]Thread 3067301220 joined [17:20:47]Waiting for new connection... [17:20:47] Sock 9.Parse request [17:20:47]Sock 9.Check first char [17:20:47]Sock 9.First char is OK [17:20:47]request: POST /json_proto HTTP/1.1 [17:20:47]Method: POST [17:20:47]URL: /json_proto [17:20:47]Method is POST - this is cgi request [17:20:47]url: /json_proto [17:20:47]query_string will be loaded in cgi processing [17:20:47]execute_cgi json_proto POST (null) [17:20:47]execute_cgi path=json_proto method=POST [17:20:47]POST find Content-Length [17:20:47]Host: 192.168.0.101:8080 [17:20:47]Connection: keep-alive [17:20:47]Content-Length: 762 [17:20:47]Accept: application/json, text/plain, */* [17:20:47]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:20:47]Content-Type: application/json [17:20:47]Origin: http://192.168.0.101:8080 [17:20:47]Referer: http://192.168.0.101:8080/testengine [17:20:47]Accept-Encoding: gzip, deflate [17:20:47]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:20:47] [17:20:47]POST finish read [17:20:47]Found Content-Length = 762 [17:20:47]post body = {"protocol":"kg_v1.0","request":{"action":"registration","params":{"pre_header_text":" ОсОО \"Партнер Нефть\" \n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","company":"ОсОО \"Партнер Нефть\"","inn":"02508201610067","nds_flag":1,"business_type":1,"service_type":2,"ugns":52,"item_types":1,"rnm":"0000000000160619","address":"720001, г. Каракуль, АЗС 103, 41.629096,72.660610","place":"АЗС № 103 \"Партнер Нефть\"","fm_expiration_date":"07.05.2027","operator":"АЗС № 103 \"Партнер Нефть\"","tax_sys":1,"change_couse":0}}} [17:20:47]execute_script... [17:20:47]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"registration","params":{"pre_header_text":" ОсОО \"Партнер Нефть\" \n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","company":"ОсОО \"Партнер Нефть\"","inn":"02508201610067","nds_flag":1,"business_type":1,"service_type":2,"ugns":52,"item_types":1,"rnm":"0000000000160619","address":"720001, г. Каракуль, АЗС 103, 41.629096,72.660610","place":"АЗС № 103 \"Партнер Нефть\"","fm_expiration_date":"07.05.2027","operator":"АЗС № 103 \"Партнер Нефть\"","tax_sys":1,"change_couse":0}}} [17:20:47]POST & json_proto [17:20:47]process_json_proto [17:20:47]json parsed OK: [17:20:47]protocol is kg_v1.0 [17:20:47]action value=registration [17:20:47]process_action registration [17:20:47]cmd_registration [17:20:47]MH_GetDate [17:20:47]Write to MH i2c: F0 00 00 23 00 12 [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: F0 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: F0 09 00 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: F0 09 00 23 00 00 EF 62 3A 66 47 D8 90 64 1F [17:20:47]GetLastDocTimeStamp 0 [17:20:47]current date 1715102447 [17:20:47]FM_GetShiftState [17:20:47]SAM_PROTO_GetShiftState [17:20:47]wFMCommunicate request_size=4 [17:20:47]MH_SAM_APDU [17:20:47]CAPDU: 80 13 01 00 [17:20:47]Write to MH i2c: E2 08 00 24 00 80 13 01 00 00 00 00 00 A1 [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:20:47]Read from MH i2c: E2 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 0E 00 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 0E 00 24 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 AC [17:20:47]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [17:20:47]wFMCommunicate OK [17:20:47]SAM_PROTO_GetShiftState done [17:20:47]FM_GetShiftState done [17:20:47]KKMCreateRegistartionDocument [17:20:47]Load OK [17:20:47]Malloc new data [17:20:47]MH_GetDate [17:20:47]Write to MH i2c: F0 00 00 25 00 14 [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: F0 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: F0 09 00 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: F0 09 00 25 00 00 F0 62 3A 66 47 D8 90 64 22 [17:20:47]Malloc new data [17:20:47]Malloc new data [17:20:47]Malloc new data [17:20:47]Malloc new data [17:20:47]Malloc new data [17:20:47]Malloc new data [17:20:47]Malloc new data [17:20:47]Malloc new data [17:20:47]KKMSetRegistrationData OK [17:20:47]ProcessDocumentItem done err = 0, tmpTLVsize=305 [17:20:47]tlvbuf is 0094A080 [17:20:47]KKMLoadAndSignRegistrationData [17:20:47]SAM_PROTO_ProcessDocument [17:20:47]wFMCommunicate request_size=9 [17:20:47]MH_SAM_APDU [17:20:47]CAPDU: 80 15 01 00 04 01 00 31 01 [17:20:47]Write to MH i2c: E2 0C 00 26 00 80 15 01 00 04 00 01 00 31 01 00 00 E0 [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:47]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [17:20:47]Read from MH i2c: E2 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 26 00 00 90 00 9A [17:20:47]RAPDU: 90 00 [17:20:47]wFMCommunicate OK [17:20:47]wFMCommunicate request_size=45 [17:20:47]MH_SAM_APDU [17:20:47]CAPDU: 80 15 02 00 28 18 04 24 00 D0 9E D1 81 D0 9E D0 9E 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 [17:20:47]Write to MH i2c: E2 30 00 27 00 80 15 02 00 28 00 18 04 24 00 D0 9E D1 81 D0 9E D0 9E 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 44 [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 [17:20:47]MH_I2C_Read... [17:20:47]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:20:47]Read from MH i2c: E2 03 00 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 27 00 00 90 00 9B [17:20:47]RAPDU: 90 00 [17:20:47]wFMCommunicate OK [17:20:47]wFMCommunicate request_size=23 [17:20:47]MH_SAM_APDU [17:20:47]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [17:20:47]Write to MH i2c: E2 1A 00 28 00 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 9D [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:47]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:20:47]Read from MH i2c: E2 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 28 00 00 90 00 9C [17:20:47]RAPDU: 90 00 [17:20:47]wFMCommunicate OK [17:20:47]wFMCommunicate request_size=11 [17:20:47]MH_SAM_APDU [17:20:47]CAPDU: 80 15 02 00 06 26 04 02 00 01 00 [17:20:47]Write to MH i2c: E2 0E 00 29 00 80 15 02 00 06 00 26 04 02 00 01 00 00 00 E2 [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:47]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:20:47]Read from MH i2c: E2 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 29 00 00 90 00 9D [17:20:47]RAPDU: 90 00 [17:20:47]wFMCommunicate OK [17:20:47]wFMCommunicate request_size=10 [17:20:47]MH_SAM_APDU [17:20:47]CAPDU: 80 15 02 00 05 65 04 01 00 01 [17:20:47]Write to MH i2c: E2 0D 00 2A 00 80 15 02 00 05 00 65 04 01 00 01 00 00 1F [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:47]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:20:47]Read from MH i2c: E2 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 2A 00 00 90 00 9E [17:20:47]RAPDU: 90 00 [17:20:47]wFMCommunicate OK [17:20:47]wFMCommunicate request_size=13 [17:20:47]MH_SAM_APDU [17:20:47]CAPDU: 80 15 02 00 08 03 04 04 00 01 00 00 00 [17:20:47]Write to MH i2c: E2 10 00 2B 00 80 15 02 00 08 00 03 04 04 00 01 00 00 00 00 00 C7 [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:47]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:20:47]Read from MH i2c: E2 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [17:20:47]RAPDU: 90 00 [17:20:47]wFMCommunicate OK [17:20:47]wFMCommunicate request_size=13 [17:20:47]MH_SAM_APDU [17:20:47]CAPDU: 80 15 02 00 08 04 04 04 00 02 00 00 00 [17:20:47]Write to MH i2c: E2 10 00 2C 00 80 15 02 00 08 00 04 04 04 00 02 00 00 00 00 00 CA [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:47]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:20:47]OFD Sender: No OFD packet to send [17:20:47]Read from MH i2c: E2 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [17:20:47]RAPDU: 90 00 [17:20:47]wFMCommunicate OK [17:20:47]wFMCommunicate request_size=13 [17:20:47]MH_SAM_APDU [17:20:47]CAPDU: 80 15 02 00 08 05 04 04 00 34 00 00 00 [17:20:47]Write to MH i2c: E2 10 00 2D 00 80 15 02 00 08 00 05 04 04 00 34 00 00 00 00 00 FE [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:47]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:20:47]Read from MH i2c: E2 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [17:20:47]RAPDU: 90 00 [17:20:47]wFMCommunicate OK [17:20:47]wFMCommunicate request_size=10 [17:20:47]MH_SAM_APDU [17:20:47]CAPDU: 80 15 02 00 05 22 04 01 00 01 [17:20:47]Write to MH i2c: E2 0D 00 2E 00 80 15 02 00 05 00 22 04 01 00 01 00 00 E0 [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:47]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:20:47]Read from MH i2c: E2 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [17:20:47]RAPDU: 90 00 [17:20:47]wFMCommunicate OK [17:20:47]wFMCommunicate request_size=13 [17:20:47]MH_SAM_APDU [17:20:47]CAPDU: 80 15 02 00 08 F4 03 04 00 F0 62 3A 66 [17:20:47]Write to MH i2c: E2 10 00 2F 00 80 15 02 00 08 00 F4 03 04 00 F0 62 3A 66 00 00 AC [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:48]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:20:48]Read from MH i2c: E2 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 03 00 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 03 00 2F 00 00 90 00 A3 [17:20:48]RAPDU: 90 00 [17:20:48]wFMCommunicate OK [17:20:48]wFMCommunicate request_size=25 [17:20:48]MH_SAM_APDU [17:20:48]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 [17:20:48]Write to MH i2c: E2 1C 00 30 00 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 00 00 10 [17:20:48]Write i2c OK [17:20:48]MH_I2C_Read... [17:20:48]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:20:48]Read from MH i2c: E2 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 03 00 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 03 00 30 00 00 90 00 A4 [17:20:48]RAPDU: 90 00 [17:20:48]wFMCommunicate OK [17:20:48]wFMCommunicate request_size=19 [17:20:48]MH_SAM_APDU [17:20:48]CAPDU: 80 15 02 00 0E F5 03 0A 00 30 33 30 30 30 30 30 30 32 33 [17:20:48]Write to MH i2c: E2 16 00 31 00 80 15 02 00 0E 00 F5 03 0A 00 30 33 30 30 30 30 30 30 32 33 00 00 B7 [17:20:48]Write i2c OK [17:20:48]MH_I2C_Read... [17:20:48]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:20:48]Read from MH i2c: E2 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 03 00 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 03 00 31 00 00 90 00 A5 [17:20:48]RAPDU: 90 00 [17:20:48]wFMCommunicate OK [17:20:48]wFMCommunicate request_size=51 [17:20:48]MH_SAM_APDU [17:20:48]CAPDU: 80 15 02 00 2E FD 03 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 [17:20:48]Write to MH i2c: E2 36 00 32 00 80 15 02 00 2E 00 FD 03 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 B1 [17:20:48]Write i2c OK [17:20:48]MH_I2C_Read... [17:20:48]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:20:48]Read from MH i2c: E2 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 03 00 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 03 00 32 00 00 90 00 A6 [17:20:48]RAPDU: 90 00 [17:20:48]wFMCommunicate OK [17:20:48]wFMCommunicate request_size=70 [17:20:48]MH_SAM_APDU [17:20:48]CAPDU: 80 15 02 00 41 F1 03 3D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 BB D1 8C 2C 20 D0 90 D0 97 D0 A1 20 31 30 33 2C 20 34 31 2E 36 32 39 30 39 36 2C 37 32 2E 36 36 30 36 31 30 [17:20:48]Write to MH i2c: E2 49 00 33 00 80 15 02 00 41 00 F1 03 3D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 BB D1 8C 2C 20 D0 90 D0 97 D0 A1 20 31 30 33 2C 20 34 31 2E 36 32 39 30 39 36 2C 37 32 2E 36 36 30 36 31 30 00 00 7B [17:20:48]Write i2c OK [17:20:48]MH_I2C_Read... [17:20:48]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:20:48]Read from MH i2c: E2 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 03 00 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 03 00 33 00 00 90 00 A7 [17:20:48]RAPDU: 90 00 [17:20:48]wFMCommunicate OK [17:20:48]wFMCommunicate request_size=51 [17:20:48]MH_SAM_APDU [17:20:48]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 [17:20:48]Write to MH i2c: E2 36 00 34 00 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 5A [17:20:48]Write i2c OK [17:20:48]MH_I2C_Read... [17:20:48]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:20:48]Read from MH i2c: E2 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 03 00 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 03 00 34 00 00 90 00 A8 [17:20:48]RAPDU: 90 00 [17:20:48]wFMCommunicate OK [17:20:48]wFMCommunicate request_size=13 [17:20:48]MH_SAM_APDU [17:20:48]CAPDU: 80 15 02 00 08 A4 04 04 00 76 31 2E 30 [17:20:48]Write to MH i2c: E2 10 00 35 00 80 15 02 00 08 00 A4 04 04 00 76 31 2E 30 00 00 76 [17:20:48]Write i2c OK [17:20:48]MH_I2C_Read... [17:20:48]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:20:48]Read from MH i2c: E2 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 03 00 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 03 00 35 00 00 90 00 A9 [17:20:48]RAPDU: 90 00 [17:20:48]wFMCommunicate OK [17:20:48]wFMCommunicate request_size=4 [17:20:48]MH_SAM_APDU [17:20:48]CAPDU: 80 15 03 00 [17:20:48]Write to MH i2c: E2 08 00 36 00 80 15 03 00 00 00 00 00 B7 [17:20:48]Write i2c OK [17:20:48]MH_I2C_Read... [17:20:48]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 45! [17:20:48]Read from MH i2c: E2 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 30 00 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 30 00 36 00 00 2B 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 10 04 04 00 01 00 00 00 35 04 06 00 16 DC 8A 88 01 EC 90 00 50 [17:20:48]RAPDU: 2B 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 10 04 04 00 01 00 00 00 35 04 06 00 16 DC 8A 88 01 EC 90 00 [17:20:48]wFMCommunicate OK [17:20:48]SAM_PROTO_ProcessDocument answer len = 43 [17:20:48]SAM_PROTO_ProcessDocument done [17:20:48]SetTLVBufToDocument [17:20:48]Processing tag 1209 (04B9) [17:20:48]Malloc new data [17:20:48]Processing tag 1041 (0411) [17:20:48]Processing tag 1040 (0410) [17:20:48]Malloc new data [17:20:48]Processing tag 1077 (0435) [17:20:48]Malloc new data [17:20:48]SetTLVBufToDocument err=0 [17:20:48]KKMLoadAndSignRegistrationData store KKM data [17:20:48]NVStorageSaveData kkm_registration [17:20:48]File name is /storage/kkm_registration [17:20:48]Write 784 bytes [17:20:48]NVStorageSaveData done [17:20:48]SetUserName err=0 [17:20:48]NVStorageSaveData kkm_registration [17:20:48]File name is /storage/kkm_registration [17:20:48]Write 784 bytes [17:20:48]NVStorageSaveData done [17:20:48]SetUserINN err=0 [17:20:48]NVStorageSaveData kkm_registration [17:20:48]File name is /storage/kkm_registration [17:20:48]Write 784 bytes [17:20:48]NVStorageSaveData done [17:20:48]SetKKMRNM err=0 [17:20:48]NVStorageSaveData kkm_registration [17:20:48]File name is /storage/kkm_registration [17:20:48]Write 784 bytes [17:20:48]NVStorageSaveData done [17:20:48]SetPaymentAddress err=0 [17:20:48]NVStorageSaveData kkm_registration [17:20:48]File name is /storage/kkm_registration [17:20:48]Write 784 bytes [17:20:48]NVStorageSaveData done [17:20:48]SetPaymentPlace err=0 [17:20:48]NVStorageSaveData kkm_registration [17:20:48]File name is /storage/kkm_registration [17:20:48]Write 784 bytes [17:20:48]NVStorageSaveData done [17:20:48]SetSNO err=0 [17:20:48]KKMLoadAndSignRegistrationData err=0 [17:20:48] ОсОО "Партнер Нефть" Добро пожаловать Отчет о регистрации ФФД: 1.0 Организация: ОсОО "Партнер Нефть" ИНН: 02508201610067 СНО: Общий режим Рег. по НДС: ДА Тип: Автомобильная заправочная станция (АЗС) Вид: Розничная торговля горюче-смазочными материалами УГНС: г.Кара-Куль ППР: о реализуемом товаре 07.05.2024 17:20 РНМ: 0000000000160619 ЗНМ: 0300000023 Кассир: АЗС № 103 "Партнер Нефть" Адрес: 720001, г. Каракуль, АЗС 103, 41.629096,72.660610 Место: АЗС № 103 "Партнер Нефть" Версия ККМ: v1.0 Дата окончания ФМ: 07.05.2027 00:00 ** Здесь Вам всегда рады ** *** СПАСИБО *** ФД: 1 ФМ: 0000000000963294 ФПД: 25136472785388 *** ЖДЕМ ВАС ОПЯТЬ *** [17:20:48]StoreToDocumentArchive [17:20:48]shift 0 fd 1 [17:20:48]Create dir for shift 0000 [17:20:48]save to /storage/0000/doc_00000001 [17:20:48]save last doc name /storage/0000/doc_00000001 to /storage/kkm_last_doc_name [17:20:48]save OK [17:20:48]Clear old archive folders... [17:20:48]ProcessDocumentItem done err = 0, tmpTLVsize=356 [17:20:48]tlvbuf is 00984200 [17:20:48]SAM_PROTO_ClearQueue [17:20:48]wFMCommunicate request_size=4 [17:20:48]MH_SAM_APDU [17:20:48]CAPDU: 80 09 00 00 [17:20:48]Write to MH i2c: E2 08 00 37 00 80 09 00 00 00 00 00 00 A9 [17:20:48]Write i2c OK [17:20:48]MH_I2C_Read... [17:20:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:20:48]Read from MH i2c: E2 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 03 00 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 03 00 37 00 00 90 00 AB [17:20:48]RAPDU: 90 00 [17:20:48]wFMCommunicate OK [17:20:48]SAM_PROTO_ClearQueue done [17:20:48]before KKMMakeOFDPacketRegistrationDocument [17:20:48]KKMMakeOFDPacketRegistrationDocument [17:20:48]before KKMCreateOFDPacket [17:20:48]KKMCreateOFDPacket [17:20:48]OFDProtocolAddRootSTLVToBuf [17:20:48]FM_MakeSignedData [17:20:48]FM_MakeSignedData [17:20:48]SAM_PROTO_SignData [17:20:48]wFMCommunicate request_size=4 [17:20:48]MH_SAM_APDU [17:20:48]CAPDU: 80 0D 01 02 [17:20:48]Write to MH i2c: E2 08 00 38 00 80 0D 01 02 00 00 00 00 B1 [17:20:49]Write i2c OK [17:20:49]MH_I2C_Read... [17:20:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:20:49]Read from MH i2c: E2 [17:20:49]MH_I2C_Read... [17:20:49]Read from MH i2c: E2 03 00 [17:20:49]MH_I2C_Read... [17:20:49]Read from MH i2c: E2 03 00 38 00 00 90 00 AC [17:20:49]RAPDU: 90 00 [17:20:49]wFMCommunicate OK [17:20:49]wFMCommunicate request_size=255 [17:20:49]MH_SAM_APDU [17:20:49]CAPDU: 80 0D 02 02 FA 01 00 64 01 B9 04 01 00 01 18 04 24 00 D0 9E D1 81 D0 9E D0 9E 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 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 26 04 02 00 01 00 65 04 01 00 01 03 04 04 00 01 00 00 00 04 04 04 00 02 00 00 00 05 04 04 00 34 00 00 00 22 04 01 00 01 F4 03 04 00 F0 62 3A 66 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 F5 03 0A 00 30 33 30 30 30 30 30 30 32 33 FD 03 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 F1 03 3D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 BB D1 8C 2C 20 D0 90 D0 97 D0 A1 20 31 30 33 2C 20 34 31 2E 36 32 39 30 39 36 [17:20:49]Write to MH i2c: E2 02 01 39 00 80 0D 02 02 FA 00 01 00 64 01 B9 04 01 00 01 18 04 24 00 D0 9E D1 81 D0 9E D0 9E 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 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 26 04 02 00 01 00 65 04 01 00 01 03 04 04 00 01 00 00 00 04 04 04 00 02 00 00 00 05 04 04 00 34 00 00 00 22 04 01 00 01 F4 03 04 00 F0 62 3A 66 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 F5 03 0A 00 30 33 30 30 30 30 30 30 32 33 FD 03 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 F1 03 3D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 BB D1 8C 2C 20 D0 90 D0 97 D0 A1 20 31 30 33 2C 20 34 31 2E 36 32 39 30 39 36 00 00 08 [17:20:49]Write i2c OK [17:20:49]MH_I2C_Read... [17:20:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:20:49]Read from MH i2c: E2 [17:20:49]MH_I2C_Read... [17:20:49]Read from MH i2c: E2 03 00 [17:20:49]MH_I2C_Read... [17:20:49]Read from MH i2c: E2 03 00 39 00 00 90 00 AD [17:20:49]RAPDU: 90 00 [17:20:49]wFMCommunicate OK [17:20:49]wFMCommunicate request_size=115 [17:20:49]MH_SAM_APDU [17:20:49]CAPDU: 80 0D 02 02 6E 2C 37 32 2E 36 36 30 36 31 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 A4 04 04 00 76 31 2E 30 19 04 04 00 80 09 DD 6B 10 04 04 00 01 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 35 04 06 00 16 DC 8A 88 01 EC [17:20:49]Write to MH i2c: E2 76 00 3A 00 80 0D 02 02 6E 00 2C 37 32 2E 36 36 30 36 31 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 A4 04 04 00 76 31 2E 30 19 04 04 00 80 09 DD 6B 10 04 04 00 01 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 35 04 06 00 16 DC 8A 88 01 EC 00 00 02 [17:20:49]Write i2c OK [17:20:49]MH_I2C_Read... [17:20:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:20:49]Read from MH i2c: E2 [17:20:49]MH_I2C_Read... [17:20:49]Read from MH i2c: E2 03 00 [17:20:49]MH_I2C_Read... [17:20:49]Read from MH i2c: E2 03 00 3A 00 00 90 00 AE [17:20:49]RAPDU: 90 00 [17:20:49]wFMCommunicate OK [17:20:49]wFMCommunicate request_size=4 [17:20:49]MH_SAM_APDU [17:20:49]CAPDU: 80 0D 03 02 [17:20:49]Write to MH i2c: E2 08 00 3B 00 80 0D 03 02 00 00 00 00 B6 [17:20:49]Write i2c OK [17:20:49]MH_I2C_Read... [17:20:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:20:49]Read from MH i2c: E2 [17:20:49]MH_I2C_Read... [17:20:49]Read from MH i2c: E2 0B 00 [17:20:49]MH_I2C_Read... [17:20:49]Read from MH i2c: E2 0B 00 3B 00 00 10 68 FD B8 AC 71 EA A2 90 00 8D [17:20:49]RAPDU: 10 68 FD B8 AC 71 EA A2 90 00 [17:20:49]wFMCommunicate OK [17:20:49]SAM_PROTO_SignData done [17:20:49]FM_MakeSignedData done [17:20:49]CreateOFDProtocolMessage [17:20:49]wFMCommunicate request_size=4 [17:20:49]MH_SAM_APDU [17:20:49]CAPDU: 80 11 00 00 [17:20:49]Write to MH i2c: E2 08 00 3C 00 80 11 00 00 00 00 00 00 B6 [17:20:49]Write i2c OK [17:20:49]MH_I2C_Read... [17:20:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:20:49]Read from MH i2c: E2 [17:20:49]MH_I2C_Read... [17:20:49]Read from MH i2c: E2 17 00 [17:20:49]MH_I2C_Read... [17:20:49]Read from MH i2c: E2 17 00 3C 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 0A [17:20:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 [17:20:49]wFMCommunicate OK [17:20:49]CreateOFDProtocolMessage done [17:20:49]OFDSenderStorePacket 1 [17:20:49]StoreOFDPacket docnum=1 [17:20:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 78 01 00 00 61 67 70 01 51 9A 5A 01 01 00 01 00 64 01 B9 04 01 00 01 18 04 24 00 D0 9E D1 81 D0 9E D0 9E 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 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 26 04 02 00 01 00 65 04 01 00 01 03 04 04 00 01 00 00 00 04 04 04 00 02 00 00 00 05 04 04 00 34 00 00 00 22 04 01 00 01 F4 03 04 00 F0 62 3A 66 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 F5 03 0A 00 30 33 30 30 30 30 30 30 32 33 FD 03 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 F1 03 3D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 BB D1 8C 2C 20 D0 90 D0 97 D0 A1 20 31 30 33 2C 20 34 31 2E 36 32 39 30 39 36 2C 37 32 2E 36 36 30 36 31 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 A4 04 04 00 76 31 2E 30 19 04 04 00 80 09 DD 6B 10 04 04 00 01 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 35 04 06 00 16 DC 8A 88 01 EC 10 68 FD B8 AC 71 EA A2 [17:20:49]CheckFolder [17:20:49]dirname=/storage/ofd_packets [17:20:49]mkdir /storage/ofd_packets [17:20:49]CheckFolder done [17:20:49]ProducePacketName [17:20:49]name=ofd_packets/00000001 [17:20:49]NVStorageSaveData ofd_packets/00000001 [17:20:49]File name is /storage/ofd_packets/00000001 [17:20:49]Write 406 bytes [17:20:49]NVStorageSaveData done [17:20:49]OFDSenderStorePacket done [17:20:49]KKMCreateOFDPacket done [17:20:49]after KKMCreateOFDPacket [17:20:49]NVStorageSaveData kkm_last_timestamp [17:20:49]File name is /storage/kkm_last_timestamp [17:20:49]Write 4 bytes [17:20:49]NVStorageSaveData done [17:20:49]ExternCall_PrintAddStr [17:20:49]wPrintStart [17:20:49]Write to MH i2c: 01 00 00 3D 00 3D [17:20:49]Write i2c OK [17:20:49]MH_I2C_Read... [17:20:49]Read from MH i2c: 01 [17:20:49]MH_I2C_Read... [17:20:49]Read from MH i2c: 01 07 00 [17:20:49]MH_I2C_Read... [17:20:49]Read from MH i2c: 01 07 00 3D 00 00 00 00 00 00 FF 0F 52 [17:20:49]RasterBufferAndPrint [17:20:49]line ОсОО "Партнер Нефть" [17:20:49]line Добро пожаловать [17:20:49]line Отчет о регистрации [17:20:49]line ФФД: 1.0 [17:20:49]line Организация: ОсОО "Партнер Нефть" [17:20:49]line ИНН: 02508201610067 [17:20:49]line СНО: Общий режим [17:20:49]line Рег. по НДС: ДА [17:20:49]line Тип: Автомобильная заправочная станция (АЗС) [17:20:49]line Вид: Розничная торговля горюче-смазочными материалами [17:20:49]line УГНС: г.Кара-Куль [17:20:49]line ППР: о реализуемом товаре [17:20:49]line 07.05.2024 17:20 [17:20:49]line РНМ: 0000000000160619 [17:20:49]line ЗНМ: 0300000023 [17:20:49]line Кассир: АЗС № 103 "Партнер Нефть" [17:20:49]line Адрес: 720001, г. Каракуль, АЗС 103, 41.629096,72.660610 [17:20:49]line Место: АЗС № 103 "Партнер Нефть" [17:20:49]line Версия ККМ: v1.0 [17:20:49]line Дата окончания ФМ: 07.05.2027 00:00 [17:20:49]line ** Здесь Вам всегда рады ** [17:20:49]line *** СПАСИБО *** [17:20:49]line ФД: 1 [17:20:49]line ФМ: 0000000000963294 [17:20:49]line ФПД: 25136472785388 [17:20:49]line *** ЖДЕМ ВАС ОПЯТЬ *** [17:20:49]written 0, free lines is 4095 [17:20:49]OFD Sender: Processing packet 1 [packets to send 1, broken 0] [17:20:49]ProducePacketName [17:20:49]name=ofd_packets/00000001 [17:20:49]OFD Sender: To server: pG, [17:20:49]CommunicateWithHost lk.salyk.kg:30040 [17:20:49]ConnectInit lk.salyk.kg [17:20:50]Connected sock=10 [17:20:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 78 01 00 00 61 67 70 01 51 9A 5A 01 01 00 01 00 64 01 B9 04 01 00 01 18 04 24 00 D0 9E D1 81 D0 9E D0 9E 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 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 26 04 02 00 01 00 65 04 01 00 01 03 04 04 00 01 00 00 00 04 04 04 00 02 00 00 00 05 04 04 00 34 00 00 00 22 04 01 00 01 F4 03 04 00 F0 62 3A 66 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 F5 03 0A 00 30 33 30 30 30 30 30 30 32 33 FD 03 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 F1 03 3D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 BB D1 8C 2C 20 D0 90 D0 97 D0 A1 20 31 30 33 2C 20 34 31 2E 36 32 39 30 39 36 2C 37 32 2E 36 36 30 36 31 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 A4 04 04 00 76 31 2E 30 19 04 04 00 80 09 DD 6B 10 04 04 00 01 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 35 04 06 00 16 DC 8A 88 01 EC 10 68 FD B8 AC 71 EA A2 [17:20:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 4F 00 00 00 1C 51 47 00 23 72 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 10 04 04 00 01 00 00 00 F4 03 04 00 63 0A 3A 66 B6 04 01 00 00 A6 90 FB BF 4B AD 02 5F [17:20:50]CommunicateWithHost err = 0 [17:20:50]CheckOFDResponse [17:20:50]1017 (14) - 77093643461234 [17:20:50]1041 (16) - 0000000000963294 [17:20:50]1040 (4) - 1 [17:20:50]1012 (4) - 07.05.2024 11:02 [17:20:50]1206 (1) - 0 [17:20:50]OFD Sender: Remove packet 1 [17:20:50]ProducePacketName [17:20:50]name=ofd_packets/00000001 [17:20:50]NVStorageDeleteData [17:20:50]Write to MH i2c: 01 00 00 60 00 60 [17:20:50]Write i2c OK [17:20:50]MH_I2C_Read... [17:20:50]Read from MH i2c: 01 [17:20:50]MH_I2C_Read... [17:20:50]Read from MH i2c: 01 07 00 [17:20:50]MH_I2C_Read... [17:20:50]Read from MH i2c: 01 07 00 60 00 00 00 00 00 00 8F 0D 03 [17:20:50]RasterBufferAndPrint [17:20:50]line [17:20:50]line [17:20:50]line [17:20:50]line [17:20:50]line [17:20:50]written 0, free lines is 3476 [17:20:50]MH_Cut [17:20:50]Write to MH i2c: D1 01 00 67 00 01 39 [17:20:50]Write i2c OK [17:20:50]MH_I2C_Read... [17:20:50]Read from MH i2c: D1 [17:20:50]MH_I2C_Read... [17:20:50]Read from MH i2c: D1 01 00 [17:20:50]MH_I2C_Read... [17:20:50]Read from MH i2c: D1 01 00 67 00 00 38 [17:20:50]Write to MH i2c: 01 00 00 68 00 68 [17:20:50]Write i2c OK [17:20:50]MH_I2C_Read... [17:20:50]OFD Sender: No OFD packet to send [17:20:50]*** Cut start [17:20:50]*** Partial cut [17:20:50]*** CUTSNS_PIN = 1 [17:20:50]*** CUTSNS_PIN = 0 [17:20:51]*** Brake cut motor [17:20:51]Read from MH i2c: 01 [17:20:51]MH_I2C_Read... [17:20:51]*** Stop cut motor [17:20:51]*** Cut end [17:20:51]Read from MH i2c: 01 07 00 [17:20:51]MH_I2C_Read... [17:20:51]Read from MH i2c: 01 07 00 68 00 00 00 00 00 00 FF 0F 7D [17:20:51]cmd_registration done [17:20:51]process_action registration done [17:20:51]no requested_data - finishing processing [17:20:51]process_action_free registration [17:20:51]json_value_free [17:20:51]json_value_free done [17:20:51]process_json_proto returns [17:20:51]Send response to host [17:20:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:20:51]free response buf [17:20:51]execute_script done [17:20:51]execute_script returns [17:20:51]free content buf [17:20:51]Sock 9.Close socket [17:20:51]Sock 9.Thread stoped [17:20:55]OFD Sender: No OFD packet to send [17:21:00]OFD Sender: No OFD packet to send [17:21:05]OFD Sender: No OFD packet to send [17:21:10]OFD Sender: No OFD packet to send [17:21:15]OFD Sender: No OFD packet to send [17:21:20]OFD Sender: No OFD packet to send [17:21:25]OFD Sender: No OFD packet to send [17:21:30]accept exits with 8 [17:21:30]New connection [17:21:30]New thread 3067301220 created [17:21:30]Thread 3067157860 joined [17:21:30]Waiting for new connection... [17:21:30] Sock 8.Parse request [17:21:30]Sock 8.Check first char [17:21:30]Sock 8.First char is OK [17:21:30]request: POST /json_proto HTTP/1.1 [17:21:30]Method: POST [17:21:30]URL: /json_proto [17:21:30]Method is POST - this is cgi request [17:21:30]url: /json_proto [17:21:30]query_string will be loaded in cgi processing [17:21:30]execute_cgi json_proto POST (null) [17:21:30]execute_cgi path=json_proto method=POST [17:21:30]POST find Content-Length [17:21:30]Host: 192.168.0.101:8080 [17:21:30]Connection: keep-alive [17:21:30]Content-Length: 396 [17:21:30]Accept: application/json, text/plain, */* [17:21:30]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:21:30]Content-Type: application/json [17:21:30]Origin: http://192.168.0.101:8080 [17:21:30]Referer: http://192.168.0.101:8080/testengine [17:21:30]Accept-Encoding: gzip, deflate [17:21:30]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:21:30] [17:21:30]POST finish read [17:21:30]Found Content-Length = 396 [17:21:30]post body = {"protocol":"kg_v1.0","request":{"action":"open_shift","params":{"pre_header_text":" ОсОО \"Партнер Нефть\" \n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"АЗС № 103 \"Партнер Нефть\""}}} [17:21:30]execute_script... [17:21:30]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"open_shift","params":{"pre_header_text":" ОсОО \"Партнер Нефть\" \n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"АЗС № 103 \"Партнер Нефть\""}}} [17:21:30]POST & json_proto [17:21:30]process_json_proto [17:21:30]json parsed OK: [17:21:30]protocol is kg_v1.0 [17:21:30]action value=open_shift [17:21:30]process_action open_shift [17:21:30]cmd_open_shift [17:21:30]MH_GetDate [17:21:30]Write to MH i2c: F0 00 00 69 00 58 [17:21:30]Write i2c OK [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: F0 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: F0 09 00 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: F0 09 00 69 00 00 1A 63 3A 66 47 D8 90 64 91 [17:21:30]GetLastDocTimeStamp 1715102448 [17:21:30]current date 1715102490 [17:21:30]FM_GetShiftState [17:21:30]SAM_PROTO_GetShiftState [17:21:30]wFMCommunicate request_size=4 [17:21:30]MH_SAM_APDU [17:21:30]CAPDU: 80 13 01 00 [17:21:30]Write to MH i2c: E2 08 00 6A 00 80 13 01 00 00 00 00 00 E7 [17:21:30]Write i2c OK [17:21:30]MH_I2C_Read... [17:21:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:21:30]Read from MH i2c: E2 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: E2 0E 00 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: E2 0E 00 6A 00 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F2 [17:21:30]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [17:21:30]wFMCommunicate OK [17:21:30]SAM_PROTO_GetShiftState done [17:21:30]FM_GetShiftState done [17:21:30]KKMCreateOpenShiftDocument [17:21:30]Load OK [17:21:30]Malloc new data [17:21:30]MH_GetDate [17:21:30]Write to MH i2c: F0 00 00 6B 00 5A [17:21:30]Write i2c OK [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: F0 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: F0 09 00 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: F0 09 00 6B 00 00 1A 63 3A 66 47 D8 90 64 93 [17:21:30]Malloc new data [17:21:30]KKMCreateOpenShiftDocument OK [17:21:30]KKMSetOpenShiftData OK [17:21:30]ProcessDocumentItem done err = 0, tmpTLVsize=203 [17:21:30]tlvbuf is B6F16270 [17:21:30]KKMLoadAndSignOpenShiftData [17:21:30]SAM_PROTO_ProcessDocument [17:21:30]wFMCommunicate request_size=9 [17:21:30]MH_SAM_APDU [17:21:30]CAPDU: 80 15 01 00 04 02 00 CB 00 [17:21:30]Write to MH i2c: E2 0C 00 6C 00 80 15 01 00 04 00 02 00 CB 00 00 00 C0 [17:21:30]Write i2c OK [17:21:30]MH_I2C_Read... [17:21:30]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [17:21:30]Read from MH i2c: E2 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: E2 03 00 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: E2 03 00 6C 00 00 90 00 E0 [17:21:30]RAPDU: 90 00 [17:21:30]wFMCommunicate OK [17:21:30]wFMCommunicate request_size=23 [17:21:30]MH_SAM_APDU [17:21:30]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [17:21:30]Write to MH i2c: E2 1A 00 6D 00 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 E2 [17:21:30]Write i2c OK [17:21:30]MH_I2C_Read... [17:21:30]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:21:30]Read from MH i2c: E2 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: E2 03 00 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: E2 03 00 6D 00 00 90 00 E1 [17:21:30]RAPDU: 90 00 [17:21:30]wFMCommunicate OK [17:21:30]wFMCommunicate request_size=51 [17:21:30]MH_SAM_APDU [17:21:30]CAPDU: 80 15 02 00 2E FD 03 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 [17:21:30]Write to MH i2c: E2 36 00 6E 00 80 15 02 00 2E 00 FD 03 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 ED [17:21:30]Write i2c OK [17:21:30]MH_I2C_Read... [17:21:30]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:21:30]Read from MH i2c: E2 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: E2 03 00 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: E2 03 00 6E 00 00 90 00 E2 [17:21:30]RAPDU: 90 00 [17:21:30]wFMCommunicate OK [17:21:30]wFMCommunicate request_size=70 [17:21:30]MH_SAM_APDU [17:21:30]CAPDU: 80 15 02 00 41 F1 03 3D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 BB D1 8C 2C 20 D0 90 D0 97 D0 A1 20 31 30 33 2C 20 34 31 2E 36 32 39 30 39 36 2C 37 32 2E 36 36 30 36 31 30 [17:21:30]Write to MH i2c: E2 49 00 6F 00 80 15 02 00 41 00 F1 03 3D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 BB D1 8C 2C 20 D0 90 D0 97 D0 A1 20 31 30 33 2C 20 34 31 2E 36 32 39 30 39 36 2C 37 32 2E 36 36 30 36 31 30 00 00 B7 [17:21:30]Write i2c OK [17:21:30]MH_I2C_Read... [17:21:30]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:21:30]Read from MH i2c: E2 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: E2 03 00 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: E2 03 00 6F 00 00 90 00 E3 [17:21:30]RAPDU: 90 00 [17:21:30]wFMCommunicate OK [17:21:30]wFMCommunicate request_size=51 [17:21:30]MH_SAM_APDU [17:21:30]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 [17:21:30]Write to MH i2c: E2 36 00 70 00 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 96 [17:21:30]Write i2c OK [17:21:30]MH_I2C_Read... [17:21:30]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:21:30]Read from MH i2c: E2 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: E2 03 00 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: E2 03 00 70 00 00 90 00 E4 [17:21:30]RAPDU: 90 00 [17:21:30]wFMCommunicate OK [17:21:30]wFMCommunicate request_size=13 [17:21:30]MH_SAM_APDU [17:21:30]CAPDU: 80 15 02 00 08 F4 03 04 00 1A 63 3A 66 [17:21:30]Write to MH i2c: E2 10 00 71 00 80 15 02 00 08 00 F4 03 04 00 1A 63 3A 66 00 00 19 [17:21:30]Write i2c OK [17:21:30]MH_I2C_Read... [17:21:30]OFD Sender: No OFD packet to send [17:21:30]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:21:30]Read from MH i2c: E2 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: E2 03 00 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: E2 03 00 71 00 00 90 00 E5 [17:21:30]RAPDU: 90 00 [17:21:30]wFMCommunicate OK [17:21:30]wFMCommunicate request_size=25 [17:21:30]MH_SAM_APDU [17:21:30]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 [17:21:30]Write to MH i2c: E2 1C 00 72 00 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 00 00 52 [17:21:30]Write i2c OK [17:21:30]MH_I2C_Read... [17:21:30]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:21:30]Read from MH i2c: E2 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: E2 03 00 [17:21:30]MH_I2C_Read... [17:21:30]Read from MH i2c: E2 03 00 72 00 00 90 00 E6 [17:21:30]RAPDU: 90 00 [17:21:30]wFMCommunicate OK [17:21:30]wFMCommunicate request_size=4 [17:21:30]MH_SAM_APDU [17:21:30]CAPDU: 80 15 03 00 [17:21:30]Write to MH i2c: E2 08 00 73 00 80 15 03 00 00 00 00 00 F4 [17:21:30]Write i2c OK [17:21:30]MH_I2C_Read... [17:21:31]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [17:21:31]Read from MH i2c: E2 [17:21:31]MH_I2C_Read... [17:21:31]Read from MH i2c: E2 38 00 [17:21:31]MH_I2C_Read... [17:21:31]Read from MH i2c: E2 38 00 73 00 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 10 04 04 00 02 00 00 00 0E 04 04 00 01 00 00 00 35 04 06 00 ED 98 AA 48 FB FE 90 00 34 [17:21:31]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 10 04 04 00 02 00 00 00 0E 04 04 00 01 00 00 00 35 04 06 00 ED 98 AA 48 FB FE 90 00 [17:21:31]wFMCommunicate OK [17:21:31]SAM_PROTO_ProcessDocument answer len = 51 [17:21:31]SAM_PROTO_ProcessDocument done [17:21:31]SetTLVBufToDocument [17:21:31]Processing tag 1209 (04B9) [17:21:31]Malloc new data [17:21:31]Processing tag 1041 (0411) [17:21:31]Processing tag 1040 (0410) [17:21:31]Malloc new data [17:21:31]Processing tag 1038 (040E) [17:21:31]Malloc new data [17:21:31]Processing tag 1077 (0435) [17:21:31]Malloc new data [17:21:31]SetTLVBufToDocument err=0 [17:21:31]KKMLoadAndSignOpenShiftData store KKM data [17:21:31]KKMLoadAndSignOpenShiftData err=0 [17:21:31] ОсОО "Партнер Нефть" Добро пожаловать Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: АЗС № 103 "Партнер Нефть" Адрес: 720001, г. Каракуль, АЗС 103, 41.629096,72.660610 Место: АЗС № 103 "Партнер Нефть" 07.05.2024 17:21 Смена: 1 РНМ: 0000000000160619 ЗНМ: 0300000023 ** Здесь Вам всегда рады ** *** СПАСИБО *** ФД: 2 ФМ: 0000000000963294 ФПД: 261239947721726 *** ЖДЕМ ВАС ОПЯТЬ *** [17:21:31]StoreToDocumentArchive [17:21:31]shift 1 fd 2 [17:21:31]Create dir for shift 0001 [17:21:31]save to /storage/0001/doc_00000002 [17:21:31]save last doc name /storage/0001/doc_00000002 to /storage/kkm_last_doc_name [17:21:31]save OK [17:21:31]Clear old archive folders... [17:21:31]ProcessDocumentItem done err = 0, tmpTLVsize=254 [17:21:31]tlvbuf is 00972B30 [17:21:31]SAM_PROTO_ClearQueue [17:21:31]wFMCommunicate request_size=4 [17:21:31]MH_SAM_APDU [17:21:31]CAPDU: 80 09 00 00 [17:21:31]Write to MH i2c: E2 08 00 74 00 80 09 00 00 00 00 00 00 E6 [17:21:31]Write i2c OK [17:21:31]MH_I2C_Read... [17:21:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:21:31]Read from MH i2c: E2 [17:21:31]MH_I2C_Read... [17:21:31]Read from MH i2c: E2 03 00 [17:21:31]MH_I2C_Read... [17:21:31]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [17:21:31]RAPDU: 90 00 [17:21:31]wFMCommunicate OK [17:21:31]SAM_PROTO_ClearQueue done [17:21:31]KKMCreateOFDPacket [17:21:31]OFDProtocolAddRootSTLVToBuf [17:21:31]FM_MakeSignedData [17:21:31]FM_MakeSignedData [17:21:31]SAM_PROTO_SignData [17:21:31]wFMCommunicate request_size=4 [17:21:31]MH_SAM_APDU [17:21:31]CAPDU: 80 0D 01 02 [17:21:31]Write to MH i2c: E2 08 00 75 00 80 0D 01 02 00 00 00 00 EE [17:21:31]Write i2c OK [17:21:31]MH_I2C_Read... [17:21:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:21:31]Read from MH i2c: E2 [17:21:31]MH_I2C_Read... [17:21:31]Read from MH i2c: E2 03 00 [17:21:31]MH_I2C_Read... [17:21:31]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [17:21:31]RAPDU: 90 00 [17:21:31]wFMCommunicate OK [17:21:31]wFMCommunicate request_size=255 [17:21:31]MH_SAM_APDU [17:21:31]CAPDU: 80 0D 02 02 FA 02 00 FE 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 F1 03 3D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 BB D1 8C 2C 20 D0 90 D0 97 D0 A1 20 31 30 33 2C 20 34 31 2E 36 32 39 30 39 36 2C 37 32 2E 36 36 30 36 31 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 1A 63 3A 66 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 10 04 04 00 02 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 35 04 [17:21:31]Write to MH i2c: E2 02 01 76 00 80 0D 02 02 FA 00 02 00 FE 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 F1 03 3D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 BB D1 8C 2C 20 D0 90 D0 97 D0 A1 20 31 30 33 2C 20 34 31 2E 36 32 39 30 39 36 2C 37 32 2E 36 36 30 36 31 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 1A 63 3A 66 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 10 04 04 00 02 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 35 04 00 00 A8 [17:21:31]Write i2c OK [17:21:31]MH_I2C_Read... [17:21:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:21:31]Read from MH i2c: E2 [17:21:31]MH_I2C_Read... [17:21:31]Read from MH i2c: E2 03 00 [17:21:31]MH_I2C_Read... [17:21:31]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [17:21:31]RAPDU: 90 00 [17:21:31]wFMCommunicate OK [17:21:31]wFMCommunicate request_size=13 [17:21:31]MH_SAM_APDU [17:21:31]CAPDU: 80 0D 02 02 08 06 00 ED 98 AA 48 FB FE [17:21:31]Write to MH i2c: E2 10 00 77 00 80 0D 02 02 08 00 06 00 ED 98 AA 48 FB FE 00 00 77 [17:21:31]Write i2c OK [17:21:31]MH_I2C_Read... [17:21:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:21:31]Read from MH i2c: E2 [17:21:31]MH_I2C_Read... [17:21:31]Read from MH i2c: E2 03 00 [17:21:31]MH_I2C_Read... [17:21:31]Read from MH i2c: E2 03 00 77 00 00 90 00 EB [17:21:31]RAPDU: 90 00 [17:21:31]wFMCommunicate OK [17:21:31]wFMCommunicate request_size=4 [17:21:31]MH_SAM_APDU [17:21:31]CAPDU: 80 0D 03 02 [17:21:31]Write to MH i2c: E2 08 00 78 00 80 0D 03 02 00 00 00 00 F3 [17:21:31]Write i2c OK [17:21:31]MH_I2C_Read... [17:21:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:21:31]Read from MH i2c: E2 [17:21:31]MH_I2C_Read... [17:21:31]Read from MH i2c: E2 0B 00 [17:21:31]MH_I2C_Read... [17:21:31]Read from MH i2c: E2 0B 00 78 00 00 6F 5F 2C 5C DF D1 A5 7B 90 00 1A [17:21:31]RAPDU: 6F 5F 2C 5C DF D1 A5 7B 90 00 [17:21:31]wFMCommunicate OK [17:21:31]SAM_PROTO_SignData done [17:21:31]FM_MakeSignedData done [17:21:31]CreateOFDProtocolMessage [17:21:31]wFMCommunicate request_size=4 [17:21:31]MH_SAM_APDU [17:21:31]CAPDU: 80 11 00 00 [17:21:31]Write to MH i2c: E2 08 00 79 00 80 11 00 00 00 00 00 00 F3 [17:21:31]Write i2c OK [17:21:31]MH_I2C_Read... [17:21:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:21:31]Read from MH i2c: E2 [17:21:31]MH_I2C_Read... [17:21:31]Read from MH i2c: E2 17 00 [17:21:31]MH_I2C_Read... [17:21:31]Read from MH i2c: E2 17 00 79 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 47 [17:21:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 [17:21:31]wFMCommunicate OK [17:21:31]CreateOFDProtocolMessage done [17:21:31]OFDSenderStorePacket 2 [17:21:31]StoreOFDPacket docnum=2 [17:21:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 12 01 00 00 82 F5 0A 01 79 F9 5A 02 01 00 02 00 FE 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 F1 03 3D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 BB D1 8C 2C 20 D0 90 D0 97 D0 A1 20 31 30 33 2C 20 34 31 2E 36 32 39 30 39 36 2C 37 32 2E 36 36 30 36 31 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 1A 63 3A 66 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 10 04 04 00 02 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 35 04 06 00 ED 98 AA 48 FB FE 6F 5F 2C 5C DF D1 A5 7B [17:21:31]CheckFolder [17:21:31]dirname=/storage/ofd_packets [17:21:31]CheckFolder done [17:21:31]ProducePacketName [17:21:31]name=ofd_packets/00000002 [17:21:31]NVStorageSaveData ofd_packets/00000002 [17:21:31]File name is /storage/ofd_packets/00000002 [17:21:31]Write 304 bytes [17:21:31]NVStorageSaveData done [17:21:31]OFDSenderStorePacket done [17:21:31]KKMCreateOFDPacket done [17:21:31]NVStorageSaveData kkm_last_timestamp [17:21:31]File name is /storage/kkm_last_timestamp [17:21:31]Write 4 bytes [17:21:31]NVStorageSaveData done [17:21:31]ExternCall_PrintAddStr [17:21:31]wPrintStart [17:21:31]Write to MH i2c: 01 00 00 7A 00 7A [17:21:31]Write i2c OK [17:21:31]MH_I2C_Read... [17:21:31]Read from MH i2c: 01 [17:21:31]MH_I2C_Read... [17:21:31]Read from MH i2c: 01 07 00 [17:21:31]MH_I2C_Read... [17:21:31]Read from MH i2c: 01 07 00 7A 00 00 00 00 00 00 FF 0F 8F [17:21:31]RasterBufferAndPrint [17:21:31]line ОсОО "Партнер Нефть" [17:21:31]line Добро пожаловать [17:21:31]line Отчет об открытии смены [17:21:31]line ФФД: 1.0 [17:21:31]line ИНН: 02508201610067 [17:21:31]line Кассир: АЗС № 103 "Партнер Нефть" [17:21:31]line Адрес: 720001, г. Каракуль, АЗС 103, 41.629096,72.660610 [17:21:31]line Место: АЗС № 103 "Партнер Нефть" [17:21:31]line 07.05.2024 17:21 [17:21:31]line Смена: 1 [17:21:31]line РНМ: 0000000000160619 [17:21:31]line ЗНМ: 0300000023 [17:21:31]line ** Здесь Вам всегда рады ** [17:21:31]line *** СПАСИБО *** [17:21:31]line ФД: 2 [17:21:31]line ФМ: 0000000000963294 [17:21:31]line ФПД: 261239947721726 [17:21:31]line *** ЖДЕМ ВАС ОПЯТЬ *** [17:21:31]OFD Sender: Processing packet 2 [packets to send 1, broken 0] [17:21:31]ProducePacketName [17:21:31]name=ofd_packets/00000002 [17:21:31]OFD Sender: To server: pG, [17:21:31]CommunicateWithHost lk.salyk.kg:30040 [17:21:31]ConnectInit lk.salyk.kg [17:21:31]written 0, free lines is 4095 [17:21:32]Connected sock=10 [17:21:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 12 01 00 00 82 F5 0A 01 79 F9 5A 02 01 00 02 00 FE 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 F1 03 3D 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 BB D1 8C 2C 20 D0 90 D0 97 D0 A1 20 31 30 33 2C 20 34 31 2E 36 32 39 30 39 36 2C 37 32 2E 36 36 30 36 31 30 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 1A 63 3A 66 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 10 04 04 00 02 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 35 04 06 00 ED 98 AA 48 FB FE 6F 5F 2C 5C DF D1 A5 7B [17:21:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 4F 00 00 00 88 56 47 00 8F 9E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 10 04 04 00 02 00 00 00 F4 03 04 00 8D 0A 3A 66 B6 04 01 00 00 51 13 90 74 44 51 8C 45 [17:21:32]CommunicateWithHost err = 0 [17:21:32]CheckOFDResponse [17:21:32]1017 (14) - 77093643461234 [17:21:32]1041 (16) - 0000000000963294 [17:21:32]1040 (4) - 2 [17:21:32]1012 (4) - 07.05.2024 11:03 [17:21:32]1206 (1) - 0 [17:21:32]OFD Sender: Remove packet 2 [17:21:32]ProducePacketName [17:21:32]name=ofd_packets/00000002 [17:21:32]NVStorageDeleteData [17:21:32]Write to MH i2c: 01 00 00 91 00 91 [17:21:32]Write i2c OK [17:21:32]MH_I2C_Read... [17:21:32]Read from MH i2c: 01 [17:21:32]MH_I2C_Read... [17:21:32]Read from MH i2c: 01 07 00 [17:21:32]MH_I2C_Read... [17:21:32]Read from MH i2c: 01 07 00 91 00 00 00 00 00 00 0E 0E B4 [17:21:32]RasterBufferAndPrint [17:21:32]line [17:21:32]line [17:21:32]line [17:21:32]line [17:21:32]line [17:21:32]written 0, free lines is 3605 [17:21:32]MH_Cut [17:21:32]Write to MH i2c: D1 01 00 98 00 01 6A [17:21:32]Write i2c OK [17:21:32]MH_I2C_Read... [17:21:32]Read from MH i2c: D1 [17:21:32]MH_I2C_Read... [17:21:32]Read from MH i2c: D1 01 00 [17:21:32]MH_I2C_Read... [17:21:32]Read from MH i2c: D1 01 00 98 00 00 69 [17:21:32]Write to MH i2c: 01 00 00 99 00 99 [17:21:32]Write i2c OK [17:21:32]MH_I2C_Read... [17:21:32]OFD Sender: No OFD packet to send [17:21:32]*** Cut start [17:21:32]*** Partial cut [17:21:32]*** CUTSNS_PIN = 1 [17:21:32]*** CUTSNS_PIN = 0 [17:21:32]*** Brake cut motor [17:21:33]Read from MH i2c: 01 [17:21:33]MH_I2C_Read... [17:21:33]*** Stop cut motor [17:21:33]*** Cut end [17:21:33]Read from MH i2c: 01 07 00 [17:21:33]MH_I2C_Read... [17:21:33]Read from MH i2c: 01 07 00 99 00 00 00 00 00 00 FF 0F AE [17:21:33]process_action open_shift done [17:21:33]no requested_data - finishing processing [17:21:33]process_action_free open_shift [17:21:33]json_value_free [17:21:33]json_value_free done [17:21:33]process_json_proto returns [17:21:33]Send response to host [17:21:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:21:33]free response buf [17:21:33]execute_script done [17:21:33]execute_script returns [17:21:33]free content buf [17:21:33]Sock 8.Close socket [17:21:33]Sock 8.Thread stoped [17:21:37]OFD Sender: No OFD packet to send [17:21:42]OFD Sender: No OFD packet to send [17:21:47]OFD Sender: No OFD packet to send [17:21:52]OFD Sender: No OFD packet to send [17:21:57]OFD Sender: No OFD packet to send [17:22:02]OFD Sender: No OFD packet to send [17:22:07]OFD Sender: No OFD packet to send [17:22:12]OFD Sender: No OFD packet to send [17:22:17]OFD Sender: No OFD packet to send [17:22:22]OFD Sender: No OFD packet to send [17:22:27]OFD Sender: No OFD packet to send [17:22:32]OFD Sender: No OFD packet to send [17:22:37]OFD Sender: No OFD packet to send [17:22:42]OFD Sender: No OFD packet to send [17:22:47]accept exits with 9 [17:22:47]New connection [17:22:47]New thread 3067157860 created [17:22:47]Thread 3067301220 joined [17:22:47]Waiting for new connection... [17:22:47] Sock 9.Parse request [17:22:47]Sock 9.Check first char [17:22:47]Sock 9.First char is OK [17:22:47]request: POST /json_proto HTTP/1.1 [17:22:47]Method: POST [17:22:47]URL: /json_proto [17:22:47]Method is POST - this is cgi request [17:22:47]url: /json_proto [17:22:47]query_string will be loaded in cgi processing [17:22:47]execute_cgi json_proto POST (null) [17:22:47]execute_cgi path=json_proto method=POST [17:22:47]POST find Content-Length [17:22:47]Host: 192.168.0.101:8080 [17:22:47]Connection: keep-alive [17:22:47]Content-Length: 153 [17:22:47]Accept: application/json, text/plain, */* [17:22:47]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:22:47]Content-Type: application/json [17:22:47]Origin: http://192.168.0.101:8080 [17:22:47]Referer: http://192.168.0.101:8080/testengine [17:22:47]Accept-Encoding: gzip, deflate [17:22:47]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:22:47] [17:22:47]POST finish read [17:22:47]Found Content-Length = 153 [17:22:47]post body = {"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"АЗС № 103 \"Партнер Нефть\"","type":"sale","tax_sys":0}}} [17:22:47]execute_script... [17:22:47]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"АЗС № 103 \"Партнер Нефть\"","type":"sale","tax_sys":0}}} [17:22:47]POST & json_proto [17:22:47]process_json_proto [17:22:47]json parsed OK: [17:22:47]protocol is kg_v1.0 [17:22:47]action value=open_receipt [17:22:47]process_action open_receipt [17:22:47]cmd_open_receipt [17:22:47]MH_GetDate [17:22:47]Write to MH i2c: F0 00 00 9A 00 89 [17:22:47]Write i2c OK [17:22:47]MH_I2C_Read... [17:22:47]Read from MH i2c: F0 [17:22:47]MH_I2C_Read... [17:22:47]Read from MH i2c: F0 09 00 [17:22:47]MH_I2C_Read... [17:22:47]Read from MH i2c: F0 09 00 9A 00 00 67 63 3A 66 47 D8 90 64 0F [17:22:47]GetLastDocTimeStamp 1715102490 [17:22:47]current date 1715102567 [17:22:47]FM_GetShiftState [17:22:47]SAM_PROTO_GetShiftState [17:22:47]wFMCommunicate request_size=4 [17:22:47]MH_SAM_APDU [17:22:47]CAPDU: 80 13 01 00 [17:22:47]Write to MH i2c: E2 08 00 9B 00 80 13 01 00 00 00 00 00 18 [17:22:47]Write i2c OK [17:22:47]MH_I2C_Read... [17:22:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:22:47]Read from MH i2c: E2 [17:22:47]MH_I2C_Read... [17:22:47]Read from MH i2c: E2 0E 00 [17:22:47]MH_I2C_Read... [17:22:47]Read from MH i2c: E2 0E 00 9B 00 00 09 00 01 1A 63 3A 66 00 00 00 00 90 00 41 [17:22:47]RAPDU: 09 00 01 1A 63 3A 66 00 00 00 00 90 00 [17:22:47]wFMCommunicate OK [17:22:47]SAM_PROTO_GetShiftState done [17:22:47]FM_GetShiftState done [17:22:47]opened in 1715102490 [17:22:47]opened+sec_in_day 1715188890 [17:22:47]KKMCreateReceiptDocument [17:22:47]Load OK [17:22:47]Malloc new data [17:22:47]MH_GetDate [17:22:47]Write to MH i2c: F0 00 00 9C 00 8B [17:22:47]Write i2c OK [17:22:47]MH_I2C_Read... [17:22:47]Read from MH i2c: F0 [17:22:47]MH_I2C_Read... [17:22:47]Read from MH i2c: F0 09 00 [17:22:47]MH_I2C_Read... [17:22:47]Read from MH i2c: F0 09 00 9C 00 00 67 63 3A 66 47 D8 90 64 11 [17:22:47]Malloc new data [17:22:47]Malloc new data [17:22:47]Malloc new data [17:22:47]Malloc new data [17:22:47]KKMCreateReceiptDocument OK [17:22:47]Malloc new data [17:22:47]Malloc new data [17:22:47]KKMSetReceiptData OK [17:22:47]process_action open_receipt done [17:22:47]no requested_data - finishing processing [17:22:47]process_action_free open_receipt [17:22:47]json_value_free [17:22:47]json_value_free done [17:22:47]process_json_proto returns [17:22:47]Send response to host [17:22:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:22:47]free response buf [17:22:47]execute_script done [17:22:47]execute_script returns [17:22:47]free content buf [17:22:47]Sock 9.Close socket [17:22:47]Sock 9.Thread stoped [17:22:47]OFD Sender: No OFD packet to send [17:22:47]accept exits with 8 [17:22:47]New connection [17:22:47]New thread 3067301220 created [17:22:47]Thread 3067157860 joined [17:22:47]Waiting for new connection... [17:22:47] Sock 8.Parse request [17:22:47]Sock 8.Check first char [17:22:47]Sock 8.First char is OK [17:22:47]request: POST /json_proto HTTP/1.1 [17:22:47]Method: POST [17:22:47]URL: /json_proto [17:22:47]Method is POST - this is cgi request [17:22:47]url: /json_proto [17:22:47]query_string will be loaded in cgi processing [17:22:47]execute_cgi json_proto POST (null) [17:22:47]execute_cgi path=json_proto method=POST [17:22:47]POST find Content-Length [17:22:47]Host: 192.168.0.101:8080 [17:22:47]Connection: keep-alive [17:22:47]Content-Length: 225 [17:22:47]Accept: application/json, text/plain, */* [17:22:47]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:22:47]Content-Type: application/json [17:22:47]Origin: http://192.168.0.101:8080 [17:22:47]Referer: http://192.168.0.101:8080/testengine [17:22:47]Accept-Encoding: gzip, deflate [17:22:47]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:22:47] [17:22:47]POST finish read [17:22:47]Found Content-Length = 225 [17:22:47]post body = {"protocol":"kg_v1.0","request":{"action":"add_receipt","params":{"items":[{"name":"Пакет","code":"123456","price":1,"quantity":1,"sum":1,"attribute":0,"unit":"шт.","vats":[{"type":0,"rate":1},{"type":1,"rate":1}]}]}}} [17:22:47]execute_script... [17:22:47]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"add_receipt","params":{"items":[{"name":"Пакет","code":"123456","price":1,"quantity":1,"sum":1,"attribute":0,"unit":"шт.","vats":[{"type":0,"rate":1},{"type":1,"rate":1}]}]}}} [17:22:47]POST & json_proto [17:22:47]process_json_proto [17:22:47]json parsed OK: [17:22:47]protocol is kg_v1.0 [17:22:47]action value=add_receipt [17:22:47]process_action add_receipt [17:22:47]cmd_open_receipt [17:22:47]MH_GetDate [17:22:47]Write to MH i2c: F0 00 00 9D 00 8C [17:22:47]Write i2c OK [17:22:47]MH_I2C_Read... [17:22:47]Read from MH i2c: F0 [17:22:47]MH_I2C_Read... [17:22:47]Read from MH i2c: F0 09 00 [17:22:47]MH_I2C_Read... [17:22:47]Read from MH i2c: F0 09 00 9D 00 00 68 63 3A 66 47 D8 90 64 13 [17:22:47]GetLastDocTimeStamp 1715102490 [17:22:47]current date 1715102568 [17:22:47]FM_GetShiftState [17:22:47]SAM_PROTO_GetShiftState [17:22:47]wFMCommunicate request_size=4 [17:22:47]MH_SAM_APDU [17:22:47]CAPDU: 80 13 01 00 [17:22:47]Write to MH i2c: E2 08 00 9E 00 80 13 01 00 00 00 00 00 1B [17:22:47]Write i2c OK [17:22:47]MH_I2C_Read... [17:22:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:22:47]Read from MH i2c: E2 [17:22:47]MH_I2C_Read... [17:22:47]Read from MH i2c: E2 0E 00 [17:22:47]MH_I2C_Read... [17:22:47]Read from MH i2c: E2 0E 00 9E 00 00 09 00 01 1A 63 3A 66 00 00 00 00 90 00 44 [17:22:47]RAPDU: 09 00 01 1A 63 3A 66 00 00 00 00 90 00 [17:22:47]wFMCommunicate OK [17:22:47]SAM_PROTO_GetShiftState done [17:22:47]FM_GetShiftState done [17:22:47]opened in 1715102490 [17:22:47]opened+sec_in_day 1715188890 [17:22:47]quantity*price = 100 [17:22:47]sum+1 = 101 [17:22:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1.00 НСП 1% : 0.01 НДС 12% : 0.11 Наличными: 1.00 Безнал.: 0.00 Место: АЗС № 103 "Партнер Нефть" Адрес: 720001, г. Каракуль, АЗС 103, 41.629096,72.660610 СНО: Общий режим Чек 1 07.05.2024 17:22 Смена: 1 ФФД: 1.0 ЗНМ: 0300000023 РНМ: 0000000000160619 Версия ККМ: v1.0 *** СПАСИБО *** ФМ: 0000000000963294 ФД: 3 ФПД: 181815151531831 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240507T172247&type=1&operation_type=1&fn_number=0000000000963294&fd_number=3&fm=181815151531831&tin=02508201610067®Number=0000000000160619&sum=100 *** ЖДЕМ ВАС ОПЯТЬ *** [17:22:49]StoreToDocumentArchive [17:22:49]shift 1 fd 3 [17:22:49]save to /storage/0001/doc_00000003 [17:22:49]save last doc name /storage/0001/doc_00000003 to /storage/kkm_last_doc_name [17:22:49]save OK [17:22:49]Clear old archive folders... [17:22:49]ProcessDocumentItem done err = 0, tmpTLVsize=245 [17:22:49]tlvbuf is 00974D30 [17:22:49]SAM_PROTO_ClearQueue [17:22:49]wFMCommunicate request_size=4 [17:22:49]MH_SAM_APDU [17:22:49]CAPDU: 80 09 00 00 [17:22:49]Write to MH i2c: E2 08 00 AC 00 80 09 00 00 00 00 00 00 1E [17:22:49]Write i2c OK [17:22:49]MH_I2C_Read... [17:22:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:22:49]Read from MH i2c: E2 [17:22:49]MH_I2C_Read... [17:22:49]Read from MH i2c: E2 03 00 [17:22:49]MH_I2C_Read... [17:22:49]Read from MH i2c: E2 03 00 AC 00 00 90 00 20 [17:22:49]RAPDU: 90 00 [17:22:49]wFMCommunicate OK [17:22:49]SAM_PROTO_ClearQueue done [17:22:49]KKMCreateOFDPacket [17:22:49]OFDProtocolAddRootSTLVToBuf [17:22:49]FM_MakeSignedData [17:22:49]FM_MakeSignedData [17:22:49]SAM_PROTO_SignData [17:22:49]wFMCommunicate request_size=4 [17:22:49]MH_SAM_APDU [17:22:49]CAPDU: 80 0D 01 02 [17:22:49]Write to MH i2c: E2 08 00 AD 00 80 0D 01 02 00 00 00 00 26 [17:22:49]Write i2c OK [17:22:49]MH_I2C_Read... [17:22:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:22:49]Read from MH i2c: E2 [17:22:49]MH_I2C_Read... [17:22:49]Read from MH i2c: E2 03 00 [17:22:49]MH_I2C_Read... [17:22:49]Read from MH i2c: E2 03 00 AD 00 00 90 00 21 [17:22:49]RAPDU: 90 00 [17:22:49]wFMCommunicate OK [17:22:49]wFMCommunicate request_size=254 [17:22:49]MH_SAM_APDU [17:22:49]CAPDU: 80 0D 02 02 F9 03 00 F5 00 1E 04 01 00 01 23 04 47 00 8A 04 06 00 31 32 33 34 35 36 06 04 0A 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 00 00 00 00 00 13 04 06 00 64 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 00 00 00 00 00 07 04 06 00 64 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 67 63 3A 66 0E 04 04 00 01 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 10 04 04 00 03 00 00 00 35 04 06 00 A5 5C 23 85 97 37 [17:22:49]Write to MH i2c: E2 01 01 AE 00 80 0D 02 02 F9 00 03 00 F5 00 1E 04 01 00 01 23 04 47 00 8A 04 06 00 31 32 33 34 35 36 06 04 0A 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 00 00 00 00 00 13 04 06 00 64 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 00 00 00 00 00 07 04 06 00 64 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 67 63 3A 66 0E 04 04 00 01 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 10 04 04 00 03 00 00 00 35 04 06 00 A5 5C 23 85 97 37 00 00 A0 [17:22:49]Write i2c OK [17:22:49]MH_I2C_Read... [17:22:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:22:50]Read from MH i2c: E2 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 03 00 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 03 00 AE 00 00 90 00 22 [17:22:50]RAPDU: 90 00 [17:22:50]wFMCommunicate OK [17:22:50]wFMCommunicate request_size=4 [17:22:50]MH_SAM_APDU [17:22:50]CAPDU: 80 0D 03 02 [17:22:50]Write to MH i2c: E2 08 00 AF 00 80 0D 03 02 00 00 00 00 2A [17:22:50]Write i2c OK [17:22:50]MH_I2C_Read... [17:22:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:22:50]Read from MH i2c: E2 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 0B 00 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 0B 00 AF 00 00 9E 0E 10 E3 78 AE C5 C3 90 00 78 [17:22:50]RAPDU: 9E 0E 10 E3 78 AE C5 C3 90 00 [17:22:50]wFMCommunicate OK [17:22:50]SAM_PROTO_SignData done [17:22:50]FM_MakeSignedData done [17:22:50]CreateOFDProtocolMessage [17:22:50]wFMCommunicate request_size=4 [17:22:50]MH_SAM_APDU [17:22:50]CAPDU: 80 11 00 00 [17:22:50]Write to MH i2c: E2 08 00 B0 00 80 11 00 00 00 00 00 00 2A [17:22:50]Write i2c OK [17:22:50]MH_I2C_Read... [17:22:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:22:50]Read from MH i2c: E2 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 17 00 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: E2 17 00 B0 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 7E [17:22:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 [17:22:50]wFMCommunicate OK [17:22:50]CreateOFDProtocolMessage done [17:22:50]OFDSenderStorePacket 3 [17:22:50]StoreOFDPacket docnum=3 [17:22:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 09 01 00 00 F5 06 01 01 3F 17 5A 03 01 00 03 00 F5 00 1E 04 01 00 01 23 04 47 00 8A 04 06 00 31 32 33 34 35 36 06 04 0A 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 00 00 00 00 00 13 04 06 00 64 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 00 00 00 00 00 07 04 06 00 64 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 67 63 3A 66 0E 04 04 00 01 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 10 04 04 00 03 00 00 00 35 04 06 00 A5 5C 23 85 97 37 9E 0E 10 E3 78 AE C5 C3 [17:22:50]CheckFolder [17:22:50]dirname=/storage/ofd_packets [17:22:50]CheckFolder done [17:22:50]ProducePacketName [17:22:50]name=ofd_packets/00000003 [17:22:50]NVStorageSaveData ofd_packets/00000003 [17:22:50]File name is /storage/ofd_packets/00000003 [17:22:50]Write 295 bytes [17:22:50]NVStorageSaveData done [17:22:50]OFDSenderStorePacket done [17:22:50]KKMCreateOFDPacket done [17:22:50]NVStorageSaveData kkm_last_timestamp [17:22:50]File name is /storage/kkm_last_timestamp [17:22:50]Write 4 bytes [17:22:50]NVStorageSaveData done [17:22:50]ExternCall_PrintAddStr [17:22:50]wPrintStart [17:22:50]Write to MH i2c: 01 00 00 B1 00 B1 [17:22:50]Write i2c OK [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: 01 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: 01 07 00 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: 01 07 00 B1 00 00 00 00 00 00 FF 0F C6 [17:22:50]RasterBufferAndPrint [17:22:50]line ОсОО "Партнер Нефть" [17:22:50]line Добро пожаловать [17:22:50]line ИНН: 02508201610067 [17:22:50]line Контрольно-Кассовый Чек [17:22:50]line ПРОДАЖА [17:22:50]line ** Здесь Вам всегда рады ** [17:22:50]line Товар: 123456 [17:22:50]line Пакет [17:22:50]line 1.000 шт. * 1.00 [17:22:50]line = 1.00 [17:22:50]line НДС 12% НСП 1% [17:22:50]line > о реализуемом товаре [17:22:50]line ИТОГО: 1.00 [17:22:50]line НСП 1% : 0.01 [17:22:50]line НДС 12% : 0.11 [17:22:50]line Наличными: 1.00 [17:22:50]line Безнал.: 0.00 [17:22:50]line Место: АЗС № 103 "Партнер Нефть" [17:22:50]line Адрес: 720001, г. Каракуль, АЗС 103, 41.629096,72.660610 [17:22:50]line СНО: Общий режим [17:22:50]line Чек 1 07.05.2024 17:22 [17:22:50]line Смена: 1 ФФД: 1.0 [17:22:50]line ЗНМ: 0300000023 [17:22:50]line РНМ: 0000000000160619 [17:22:50]line Версия ККМ: v1.0 [17:22:50]line *** СПАСИБО *** [17:22:50]line ФМ: 0000000000963294 [17:22:50]line ФД: 3 [17:22:50]line ФПД: 181815151531831 [17:22:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240507T172247&type=1&operation_type=1&fn_number=0000000000963294&fd_number=3&fm=181815151531831&tin=02508201610067®Number=0000000000160619&sum=100 [17:22:50]line *** ЖДЕМ ВАС ОПЯТЬ *** [17:22:50]written 0, free lines is 4095 [17:22:50]OFD Sender: Processing packet 3 [packets to send 1, broken 0] [17:22:50]ProducePacketName [17:22:50]name=ofd_packets/00000003 [17:22:50]OFD Sender: To server: pG, [17:22:50]CommunicateWithHost lk.salyk.kg:30040 [17:22:50]ConnectInit lk.salyk.kg [17:22:50]Connected sock=10 [17:22:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 09 01 00 00 F5 06 01 01 3F 17 5A 03 01 00 03 00 F5 00 1E 04 01 00 01 23 04 47 00 8A 04 06 00 31 32 33 34 35 36 06 04 0A 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 00 00 00 00 00 13 04 06 00 64 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 00 00 00 00 00 07 04 06 00 64 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 67 63 3A 66 0E 04 04 00 01 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 10 04 04 00 03 00 00 00 35 04 06 00 A5 5C 23 85 97 37 9E 0E 10 E3 78 AE C5 C3 [17:22:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 4F 00 00 00 1D A9 47 00 AD 4C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 10 04 04 00 03 00 00 00 F4 03 04 00 DB 0A 3A 66 B6 04 01 00 00 5E A4 33 F1 6A EB 68 B4 [17:22:50]CommunicateWithHost err = 0 [17:22:50]CheckOFDResponse [17:22:50]1017 (14) - 77093643461234 [17:22:50]1041 (16) - 0000000000963294 [17:22:50]1040 (4) - 3 [17:22:50]1012 (4) - 07.05.2024 11:04 [17:22:50]1206 (1) - 0 [17:22:50]OFD Sender: Remove packet 3 [17:22:50]ProducePacketName [17:22:50]name=ofd_packets/00000003 [17:22:50]NVStorageDeleteData [17:22:50]Write to MH i2c: 01 00 00 DB 00 DB [17:22:50]Write i2c OK [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: 01 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: 01 07 00 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: 01 07 00 DB 00 00 00 00 00 00 6C 0D 5B [17:22:50]RasterBufferAndPrint [17:22:50]line [17:22:50]line [17:22:50]line [17:22:50]line [17:22:50]line [17:22:50]written 0, free lines is 3444 [17:22:50]MH_Cut [17:22:50]Write to MH i2c: D1 01 00 E2 00 01 B4 [17:22:50]Write i2c OK [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: D1 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: D1 01 00 [17:22:50]MH_I2C_Read... [17:22:50]Read from MH i2c: D1 01 00 E2 00 00 B3 [17:22:50]Write to MH i2c: 01 00 00 E3 00 E3 [17:22:50]Write i2c OK [17:22:50]MH_I2C_Read... [17:22:51]OFD Sender: No OFD packet to send [17:22:51]*** Cut start [17:22:51]*** Partial cut [17:22:51]*** CUTSNS_PIN = 1 [17:22:51]*** CUTSNS_PIN = 0 [17:22:51]*** Brake cut motor [17:22:52]Read from MH i2c: 01 [17:22:52]MH_I2C_Read... [17:22:52]*** Stop cut motor [17:22:52]*** Cut end [17:22:52]Read from MH i2c: 01 07 00 [17:22:52]MH_I2C_Read... [17:22:52]Read from MH i2c: 01 07 00 E3 00 00 00 00 00 00 FF 0F F8 [17:22:52]process_action close_receipt done [17:22:52]no requested_data - finishing processing [17:22:52]process_action_free close_receipt [17:22:52]json_value_free [17:22:52]json_value_free done [17:22:52]process_json_proto returns [17:22:52]Send response to host [17:22:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:22:52]free response buf [17:22:52]execute_script done [17:22:52]execute_script returns [17:22:52]free content buf [17:22:52]Sock 9.Close socket [17:22:52]Sock 9.Thread stoped [17:22:56]OFD Sender: No OFD packet to send [17:23:01]OFD Sender: No OFD packet to send [17:23:06]OFD Sender: No OFD packet to send [17:23:11]OFD Sender: No OFD packet to send [17:23:16]OFD Sender: No OFD packet to send [17:23:21]OFD Sender: No OFD packet to send [17:23:26]OFD Sender: No OFD packet to send [17:23:31]OFD Sender: No OFD packet to send [17:23:36]OFD Sender: No OFD packet to send [17:23:38]accept exits with 8 [17:23:38]New connection [17:23:38]New thread 3067301220 created [17:23:38]Thread 3067157860 joined [17:23:38]Waiting for new connection... [17:23:38] Sock 8.Parse request [17:23:38]Sock 8.Check first char [17:23:38]Sock 8.First char is OK [17:23:38]request: POST /json_proto HTTP/1.1 [17:23:38]Method: POST [17:23:38]URL: /json_proto [17:23:38]Method is POST - this is cgi request [17:23:38]url: /json_proto [17:23:38]query_string will be loaded in cgi processing [17:23:38]execute_cgi json_proto POST (null) [17:23:38]execute_cgi path=json_proto method=POST [17:23:38]POST find Content-Length [17:23:38]Host: 192.168.0.101:8080 [17:23:38]Connection: keep-alive [17:23:38]Content-Length: 160 [17:23:38]Accept: application/json, text/plain, */* [17:23:38]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:23:38]Content-Type: application/json [17:23:38]Origin: http://192.168.0.101:8080 [17:23:38]Referer: http://192.168.0.101:8080/testengine [17:23:38]Accept-Encoding: gzip, deflate [17:23:38]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:23:38] [17:23:38]POST finish read [17:23:38]Found Content-Length = 160 [17:23:38]post body = {"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"АЗС № 103 \"Партнер Нефть\"","type":"sale_refund","tax_sys":0}}} [17:23:38]execute_script... [17:23:38]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"open_receipt","params":{"operator":"АЗС № 103 \"Партнер Нефть\"","type":"sale_refund","tax_sys":0}}} [17:23:38]POST & json_proto [17:23:38]process_json_proto [17:23:38]json parsed OK: [17:23:38]protocol is kg_v1.0 [17:23:38]action value=open_receipt [17:23:38]process_action open_receipt [17:23:38]cmd_open_receipt [17:23:38]MH_GetDate [17:23:38]Write to MH i2c: F0 00 00 E4 00 D3 [17:23:38]Write i2c OK [17:23:38]MH_I2C_Read... [17:23:38]Read from MH i2c: F0 [17:23:38]MH_I2C_Read... [17:23:38]Read from MH i2c: F0 09 00 [17:23:38]MH_I2C_Read... [17:23:38]Read from MH i2c: F0 09 00 E4 00 00 9A 63 3A 66 47 D8 90 64 8C [17:23:38]GetLastDocTimeStamp 1715102567 [17:23:38]current date 1715102618 [17:23:38]FM_GetShiftState [17:23:38]SAM_PROTO_GetShiftState [17:23:38]wFMCommunicate request_size=4 [17:23:38]MH_SAM_APDU [17:23:38]CAPDU: 80 13 01 00 [17:23:38]Write to MH i2c: E2 08 00 E5 00 80 13 01 00 00 00 00 00 62 [17:23:38]Write i2c OK [17:23:38]MH_I2C_Read... [17:23:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:23:38]Read from MH i2c: E2 [17:23:38]MH_I2C_Read... [17:23:38]Read from MH i2c: E2 0E 00 [17:23:38]MH_I2C_Read... [17:23:38]Read from MH i2c: E2 0E 00 E5 00 00 09 00 01 1A 63 3A 66 00 00 00 00 90 00 8B [17:23:38]RAPDU: 09 00 01 1A 63 3A 66 00 00 00 00 90 00 [17:23:38]wFMCommunicate OK [17:23:38]SAM_PROTO_GetShiftState done [17:23:38]FM_GetShiftState done [17:23:38]opened in 1715102490 [17:23:38]opened+sec_in_day 1715188890 [17:23:38]KKMCreateReceiptDocument [17:23:38]Load OK [17:23:38]Malloc new data [17:23:38]MH_GetDate [17:23:38]Write to MH i2c: F0 00 00 E6 00 D5 [17:23:38]Write i2c OK [17:23:38]MH_I2C_Read... [17:23:38]Read from MH i2c: F0 [17:23:38]MH_I2C_Read... [17:23:38]Read from MH i2c: F0 09 00 [17:23:38]MH_I2C_Read... [17:23:38]Read from MH i2c: F0 09 00 E6 00 00 9A 63 3A 66 47 D8 90 64 8E [17:23:38]Malloc new data [17:23:38]Malloc new data [17:23:38]Malloc new data [17:23:38]Malloc new data [17:23:38]KKMCreateReceiptDocument OK [17:23:38]Malloc new data [17:23:38]Malloc new data [17:23:38]KKMSetReceiptData OK [17:23:38]process_action open_receipt done [17:23:38]no requested_data - finishing processing [17:23:38]process_action_free open_receipt [17:23:38]json_value_free [17:23:38]json_value_free done [17:23:38]process_json_proto returns [17:23:38]Send response to host [17:23:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:23:38]free response buf [17:23:38]execute_script done [17:23:38]execute_script returns [17:23:38]free content buf [17:23:38]Sock 8.Close socket [17:23:38]Sock 8.Thread stoped [17:23:38]accept exits with 9 [17:23:38]New connection [17:23:38]New thread 3067157860 created [17:23:38]Thread 3067301220 joined [17:23:38]Waiting for new connection... [17:23:38] Sock 9.Parse request [17:23:38]Sock 9.Check first char [17:23:38]Sock 9.First char is OK [17:23:38]request: POST /json_proto HTTP/1.1 [17:23:38]Method: POST [17:23:38]URL: /json_proto [17:23:38]Method is POST - this is cgi request [17:23:38]url: /json_proto [17:23:38]query_string will be loaded in cgi processing [17:23:38]execute_cgi json_proto POST (null) [17:23:38]execute_cgi path=json_proto method=POST [17:23:38]POST find Content-Length [17:23:38]Host: 192.168.0.101:8080 [17:23:38]Connection: keep-alive [17:23:38]Content-Length: 225 [17:23:38]Accept: application/json, text/plain, */* [17:23:38]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:23:38]Content-Type: application/json [17:23:38]Origin: http://192.168.0.101:8080 [17:23:38]Referer: http://192.168.0.101:8080/testengine [17:23:38]Accept-Encoding: gzip, deflate [17:23:38]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:23:38] [17:23:38]POST finish read [17:23:38]Found Content-Length = 225 [17:23:38]post body = {"protocol":"kg_v1.0","request":{"action":"add_receipt","params":{"items":[{"name":"Пакет","code":"123456","price":1,"quantity":1,"sum":1,"attribute":0,"unit":"шт.","vats":[{"type":0,"rate":1},{"type":1,"rate":1}]}]}}} [17:23:38]execute_script... [17:23:38]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"add_receipt","params":{"items":[{"name":"Пакет","code":"123456","price":1,"quantity":1,"sum":1,"attribute":0,"unit":"шт.","vats":[{"type":0,"rate":1},{"type":1,"rate":1}]}]}}} [17:23:38]POST & json_proto [17:23:38]process_json_proto [17:23:38]json parsed OK: [17:23:38]protocol is kg_v1.0 [17:23:38]action value=add_receipt [17:23:38]process_action add_receipt [17:23:38]cmd_open_receipt [17:23:38]MH_GetDate [17:23:38]Write to MH i2c: F0 00 00 E7 00 D6 [17:23:38]Write i2c OK [17:23:38]MH_I2C_Read... [17:23:38]Read from MH i2c: F0 [17:23:38]MH_I2C_Read... [17:23:38]Read from MH i2c: F0 09 00 [17:23:38]MH_I2C_Read... [17:23:38]Read from MH i2c: F0 09 00 E7 00 00 9B 63 3A 66 47 D8 90 64 90 [17:23:38]GetLastDocTimeStamp 1715102567 [17:23:38]current date 1715102619 [17:23:38]FM_GetShiftState [17:23:38]SAM_PROTO_GetShiftState [17:23:38]wFMCommunicate request_size=4 [17:23:38]MH_SAM_APDU [17:23:38]CAPDU: 80 13 01 00 [17:23:38]Write to MH i2c: E2 08 00 E8 00 80 13 01 00 00 00 00 00 65 [17:23:39]Write i2c OK [17:23:39]MH_I2C_Read... [17:23:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:23:39]Read from MH i2c: E2 [17:23:39]MH_I2C_Read... [17:23:39]Read from MH i2c: E2 0E 00 [17:23:39]MH_I2C_Read... [17:23:39]Read from MH i2c: E2 0E 00 E8 00 00 09 00 01 1A 63 3A 66 00 00 00 00 90 00 8E [17:23:39]RAPDU: 09 00 01 1A 63 3A 66 00 00 00 00 90 00 [17:23:39]wFMCommunicate OK [17:23:39]SAM_PROTO_GetShiftState done [17:23:39]FM_GetShiftState done [17:23:39]opened in 1715102490 [17:23:39]opened+sec_in_day 1715188890 [17:23:39]quantity*price = 100 [17:23:39]sum+1 = 101 [17:23:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1.00 НСП 1% : 0.01 НДС 12% : 0.11 Наличными: 1.00 Безнал.: 0.00 Место: АЗС № 103 "Партнер Нефть" Адрес: 720001, г. Каракуль, АЗС 103, 41.629096,72.660610 СНО: Общий режим Чек 2 07.05.2024 17:23 Смена: 1 ФФД: 1.0 ЗНМ: 0300000023 РНМ: 0000000000160619 Версия ККМ: v1.0 ФД осн.: 3 ФМ осн.: 0000000000963294 *** СПАСИБО *** ФМ: 0000000000963294 ФД: 4 ФПД: 72095546399281 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240507T172338&type=2&operation_type=1&fn_number=0000000000963294&fd_number=4&fm=72095546399281&tin=02508201610067®Number=0000000000160619&sum=100 *** ЖДЕМ ВАС ОПЯТЬ *** [17:23:40]StoreToDocumentArchive [17:23:40]shift 1 fd 4 [17:23:40]save to /storage/0001/doc_00000004 [17:23:40]save last doc name /storage/0001/doc_00000004 to /storage/kkm_last_doc_name [17:23:40]save OK [17:23:40]Clear old archive folders... [17:23:40]ProcessDocumentItem done err = 0, tmpTLVsize=273 [17:23:40]tlvbuf is 00971950 [17:23:40]SAM_PROTO_ClearQueue [17:23:40]wFMCommunicate request_size=4 [17:23:40]MH_SAM_APDU [17:23:40]CAPDU: 80 09 00 00 [17:23:40]Write to MH i2c: E2 08 00 F8 00 80 09 00 00 00 00 00 00 6A [17:23:40]Write i2c OK [17:23:40]MH_I2C_Read... [17:23:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:23:40]Read from MH i2c: E2 [17:23:40]MH_I2C_Read... [17:23:40]Read from MH i2c: E2 03 00 [17:23:40]MH_I2C_Read... [17:23:40]Read from MH i2c: E2 03 00 F8 00 00 90 00 6C [17:23:40]RAPDU: 90 00 [17:23:40]wFMCommunicate OK [17:23:40]SAM_PROTO_ClearQueue done [17:23:40]KKMCreateOFDPacket [17:23:40]OFDProtocolAddRootSTLVToBuf [17:23:40]FM_MakeSignedData [17:23:40]FM_MakeSignedData [17:23:40]SAM_PROTO_SignData [17:23:40]wFMCommunicate request_size=4 [17:23:40]MH_SAM_APDU [17:23:40]CAPDU: 80 0D 01 02 [17:23:40]Write to MH i2c: E2 08 00 F9 00 80 0D 01 02 00 00 00 00 72 [17:23:40]Write i2c OK [17:23:40]MH_I2C_Read... [17:23:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:23:40]Read from MH i2c: E2 [17:23:40]MH_I2C_Read... [17:23:40]Read from MH i2c: E2 03 00 [17:23:40]MH_I2C_Read... [17:23:40]Read from MH i2c: E2 03 00 F9 00 00 90 00 6D [17:23:40]RAPDU: 90 00 [17:23:40]wFMCommunicate OK [17:23:40]wFMCommunicate request_size=255 [17:23:40]MH_SAM_APDU [17:23:40]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 02 23 04 47 00 8A 04 06 00 31 32 33 34 35 36 06 04 0A 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 00 00 00 00 00 13 04 06 00 64 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 00 00 00 00 00 07 04 06 00 64 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9A 63 3A 66 0E 04 04 00 01 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 27 04 04 00 03 00 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 11 04 10 00 30 30 30 30 30 30 30 [17:23:41]Write to MH i2c: E2 02 01 FA 00 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 02 23 04 47 00 8A 04 06 00 31 32 33 34 35 36 06 04 0A 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 00 00 00 00 00 13 04 06 00 64 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 00 00 00 00 00 07 04 06 00 64 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9A 63 3A 66 0E 04 04 00 01 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 27 04 04 00 03 00 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 11 04 10 00 30 30 30 30 30 30 30 00 00 2D [17:23:41]OFD Sender: No OFD packet to send [17:23:41]Write i2c OK [17:23:41]MH_I2C_Read... [17:23:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:23:41]Read from MH i2c: E2 [17:23:41]MH_I2C_Read... [17:23:41]Read from MH i2c: E2 03 00 [17:23:41]MH_I2C_Read... [17:23:41]Read from MH i2c: E2 03 00 FA 00 00 90 00 6E [17:23:41]RAPDU: 90 00 [17:23:41]wFMCommunicate OK [17:23:41]wFMCommunicate request_size=32 [17:23:41]MH_SAM_APDU [17:23:41]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 33 32 39 34 10 04 04 00 04 00 00 00 35 04 06 00 41 92 0D 6E DA 31 [17:23:41]Write to MH i2c: E2 23 00 FB 00 80 0D 02 02 1B 00 30 30 30 39 36 33 32 39 34 10 04 04 00 04 00 00 00 35 04 06 00 41 92 0D 6E DA 31 00 00 30 [17:23:41]Write i2c OK [17:23:41]MH_I2C_Read... [17:23:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:23:41]Read from MH i2c: E2 [17:23:41]MH_I2C_Read... [17:23:41]Read from MH i2c: E2 03 00 [17:23:41]MH_I2C_Read... [17:23:41]Read from MH i2c: E2 03 00 FB 00 00 90 00 6F [17:23:41]RAPDU: 90 00 [17:23:41]wFMCommunicate OK [17:23:41]wFMCommunicate request_size=4 [17:23:41]MH_SAM_APDU [17:23:41]CAPDU: 80 0D 03 02 [17:23:41]Write to MH i2c: E2 08 00 FC 00 80 0D 03 02 00 00 00 00 77 [17:23:41]Write i2c OK [17:23:41]MH_I2C_Read... [17:23:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:23:41]Read from MH i2c: E2 [17:23:41]MH_I2C_Read... [17:23:41]Read from MH i2c: E2 0B 00 [17:23:41]MH_I2C_Read... [17:23:41]Read from MH i2c: E2 0B 00 FC 00 00 AA DF 30 42 68 64 8A 39 90 00 02 [17:23:41]RAPDU: AA DF 30 42 68 64 8A 39 90 00 [17:23:41]wFMCommunicate OK [17:23:41]SAM_PROTO_SignData done [17:23:41]FM_MakeSignedData done [17:23:41]CreateOFDProtocolMessage [17:23:41]wFMCommunicate request_size=4 [17:23:41]MH_SAM_APDU [17:23:41]CAPDU: 80 11 00 00 [17:23:41]Write to MH i2c: E2 08 00 FD 00 80 11 00 00 00 00 00 00 77 [17:23:41]Write i2c OK [17:23:41]MH_I2C_Read... [17:23:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:23:42]Read from MH i2c: E2 [17:23:42]MH_I2C_Read... [17:23:42]Read from MH i2c: E2 17 00 [17:23:42]MH_I2C_Read... [17:23:42]Read from MH i2c: E2 17 00 FD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 CB [17:23:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 [17:23:42]wFMCommunicate OK [17:23:42]CreateOFDProtocolMessage done [17:23:42]OFDSenderStorePacket 4 [17:23:42]StoreOFDPacket docnum=4 [17:23:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 25 01 00 00 9B 69 1D 01 3A 93 5A 03 01 00 03 00 11 01 1E 04 01 00 02 23 04 47 00 8A 04 06 00 31 32 33 34 35 36 06 04 0A 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 00 00 00 00 00 13 04 06 00 64 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 00 00 00 00 00 07 04 06 00 64 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9A 63 3A 66 0E 04 04 00 01 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 27 04 04 00 03 00 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 10 04 04 00 04 00 00 00 35 04 06 00 41 92 0D 6E DA 31 AA DF 30 42 68 64 8A 39 [17:23:42]CheckFolder [17:23:42]dirname=/storage/ofd_packets [17:23:42]CheckFolder done [17:23:42]ProducePacketName [17:23:42]name=ofd_packets/00000004 [17:23:42]NVStorageSaveData ofd_packets/00000004 [17:23:42]File name is /storage/ofd_packets/00000004 [17:23:42]Write 323 bytes [17:23:42]NVStorageSaveData done [17:23:42]OFDSenderStorePacket done [17:23:42]KKMCreateOFDPacket done [17:23:42]NVStorageSaveData kkm_last_timestamp [17:23:42]File name is /storage/kkm_last_timestamp [17:23:42]Write 4 bytes [17:23:42]NVStorageSaveData done [17:23:42]ExternCall_PrintAddStr [17:23:42]wPrintStart [17:23:42]Write to MH i2c: 01 00 00 FE 00 FE [17:23:42]Write i2c OK [17:23:42]MH_I2C_Read... [17:23:42]Read from MH i2c: 01 [17:23:42]MH_I2C_Read... [17:23:42]Read from MH i2c: 01 07 00 [17:23:42]MH_I2C_Read... [17:23:42]Read from MH i2c: 01 07 00 FE 00 00 00 00 00 00 FF 0F 13 [17:23:42]RasterBufferAndPrint [17:23:42]line ОсОО "Партнер Нефть" [17:23:42]line Добро пожаловать [17:23:42]line ИНН: 02508201610067 [17:23:42]line Контрольно-Кассовый Чек [17:23:42]line ВОЗВРАТ ПРОДАЖИ [17:23:42]line ** Здесь Вам всегда рады ** [17:23:42]line Товар: 123456 [17:23:42]line Пакет [17:23:42]line 1.000 шт. * 1.00 [17:23:42]line = 1.00 [17:23:42]line НДС 12% НСП 1% [17:23:42]line > о реализуемом товаре [17:23:42]line ИТОГО: 1.00 [17:23:42]line НСП 1% : 0.01 [17:23:42]line НДС 12% : 0.11 [17:23:42]line Наличными: 1.00 [17:23:42]line Безнал.: 0.00 [17:23:42]line Место: АЗС № 103 "Партнер Нефть" [17:23:42]line Адрес: 720001, г. Каракуль, АЗС 103, 41.629096,72.660610 [17:23:42]line СНО: Общий режим [17:23:42]line Чек 2 07.05.2024 17:23 [17:23:42]line Смена: 1 ФФД: 1.0 [17:23:42]line ЗНМ: 0300000023 [17:23:42]line РНМ: 0000000000160619 [17:23:42]line Версия ККМ: v1.0 [17:23:42]line ФД осн.: 3 [17:23:42]line ФМ осн.: 0000000000963294 [17:23:42]line *** СПАСИБО *** [17:23:42]line ФМ: 0000000000963294 [17:23:42]line ФД: 4 [17:23:42]line ФПД: 72095546399281 [17:23:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240507T172338&type=2&operation_type=1&fn_number=0000000000963294&fd_number=4&fm=72095546399281&tin=02508201610067®Number=0000000000160619&sum=100 [17:23:42]line *** ЖДЕМ ВАС ОПЯТЬ *** [17:23:42]OFD Sender: Processing packet 4 [packets to send 1, broken 0] [17:23:42]ProducePacketName [17:23:42]name=ofd_packets/00000004 [17:23:42]OFD Sender: To server: pG, [17:23:42]CommunicateWithHost lk.salyk.kg:30040 [17:23:42]ConnectInit lk.salyk.kg [17:23:42]written 0, free lines is 4095 [17:23:42]Connected sock=9 [17:23:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 25 01 00 00 9B 69 1D 01 3A 93 5A 03 01 00 03 00 11 01 1E 04 01 00 02 23 04 47 00 8A 04 06 00 31 32 33 34 35 36 06 04 0A 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 00 00 00 00 00 13 04 06 00 64 00 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 00 00 00 00 00 07 04 06 00 64 00 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9A 63 3A 66 0E 04 04 00 01 00 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 27 04 04 00 03 00 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 10 04 04 00 04 00 00 00 35 04 06 00 41 92 0D 6E DA 31 AA DF 30 42 68 64 8A 39 [17:23:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 4F 00 00 00 EE 9F 47 00 CD BE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 10 04 04 00 04 00 00 00 F4 03 04 00 0F 0B 3A 66 B6 04 01 00 00 47 32 08 55 2C AE FB AF [17:23:42]CommunicateWithHost err = 0 [17:23:42]CheckOFDResponse [17:23:42]1017 (14) - 77093643461234 [17:23:42]1041 (16) - 0000000000963294 [17:23:42]1040 (4) - 4 [17:23:42]1012 (4) - 07.05.2024 11:05 [17:23:42]1206 (1) - 0 [17:23:42]OFD Sender: Remove packet 4 [17:23:42]ProducePacketName [17:23:42]name=ofd_packets/00000004 [17:23:42]NVStorageDeleteData [17:23:42]Write to MH i2c: 01 00 00 2A 01 2B [17:23:42]Write i2c OK [17:23:42]MH_I2C_Read... [17:23:42]Read from MH i2c: 01 [17:23:42]MH_I2C_Read... [17:23:42]Read from MH i2c: 01 07 00 [17:23:42]MH_I2C_Read... [17:23:42]Read from MH i2c: 01 07 00 2A 01 00 00 00 00 00 E8 0C 26 [17:23:42]RasterBufferAndPrint [17:23:42]line [17:23:42]line [17:23:42]line [17:23:42]line [17:23:42]line [17:23:42]written 0, free lines is 3314 [17:23:42]MH_Cut [17:23:42]Write to MH i2c: D1 01 00 31 01 01 04 [17:23:42]Write i2c OK [17:23:42]MH_I2C_Read... [17:23:42]Read from MH i2c: D1 [17:23:42]MH_I2C_Read... [17:23:42]Read from MH i2c: D1 01 00 [17:23:42]MH_I2C_Read... [17:23:42]Read from MH i2c: D1 01 00 31 01 00 03 [17:23:42]Write to MH i2c: 01 00 00 32 01 33 [17:23:42]Write i2c OK [17:23:42]MH_I2C_Read... [17:23:43]OFD Sender: No OFD packet to send [17:23:43]*** Cut start [17:23:43]*** Partial cut [17:23:43]*** CUTSNS_PIN = 1 [17:23:43]*** CUTSNS_PIN = 0 [17:23:43]*** Brake cut motor [17:23:44]Read from MH i2c: 01 *** Stop cut motor [17:23:44]*** Cut end [17:23:44] [17:23:44]MH_I2C_Read... [17:23:44]Read from MH i2c: 01 07 00 [17:23:44]MH_I2C_Read... [17:23:44]Read from MH i2c: 01 07 00 32 01 00 00 00 00 00 FF 0F 48 [17:23:44]process_action close_receipt done [17:23:44]no requested_data - finishing processing [17:23:44]process_action_free close_receipt [17:23:44]json_value_free [17:23:44]json_value_free done [17:23:44]process_json_proto returns [17:23:44]Send response to host [17:23:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:23:44]free response buf [17:23:44]execute_script done [17:23:44]execute_script returns [17:23:44]free content buf [17:23:44]Sock 10.Close socket [17:23:44]Sock 10.Thread stoped [17:23:48]OFD Sender: No OFD packet to send [17:23:53]OFD Sender: No OFD packet to send [17:23:53]accept exits with 8 [17:23:53]New connection [17:23:53]New thread 3067157860 created [17:23:53]Thread 3067301220 joined [17:23:53]Waiting for new connection... [17:23:53] Sock 8.Parse request [17:23:53]Sock 8.Check first char [17:23:53]Sock 8.First char is OK [17:23:53]request: POST /json_proto HTTP/1.1 [17:23:53]Method: POST [17:23:53]URL: /json_proto [17:23:53]Method is POST - this is cgi request [17:23:53]url: /json_proto [17:23:53]query_string will be loaded in cgi processing [17:23:53]execute_cgi json_proto POST (null) [17:23:53]execute_cgi path=json_proto method=POST [17:23:53]POST find Content-Length [17:23:53]Host: 192.168.0.101:8080 [17:23:53]Connection: keep-alive [17:23:53]Content-Length: 397 [17:23:53]Accept: application/json, text/plain, */* [17:23:53]User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 [17:23:53]Content-Type: application/json [17:23:53]Origin: http://192.168.0.101:8080 [17:23:53]Referer: http://192.168.0.101:8080/testengine [17:23:53]Accept-Encoding: gzip, deflate [17:23:53]Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7 [17:23:53] [17:23:53]POST finish read [17:23:53]Found Content-Length = 397 [17:23:53]post body = {"protocol":"kg_v1.0","request":{"action":"close_shift","params":{"pre_header_text":" ОсОО \"Партнер Нефть\" \n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"АЗС № 103 \"Партнер Нефть\""}}} [17:23:53]execute_script... [17:23:53]execute_script path=json_proto method=POST query_string={"protocol":"kg_v1.0","request":{"action":"close_shift","params":{"pre_header_text":" ОсОО \"Партнер Нефть\" \n Добро пожаловать","post_header_text":"** Здесь Вам всегда рады **","pre_footer_text":"*** СПАСИБО ***","post_footer_text":"*** ЖДЕМ ВАС ОПЯТЬ ***","operator":"АЗС № 103 \"Партнер Нефть\""}}} [17:23:53]POST & json_proto [17:23:53]process_json_proto [17:23:53]json parsed OK: [17:23:53]protocol is kg_v1.0 [17:23:53]action value=close_shift [17:23:53]process_action close_shift [17:23:53]cmd_close_shift [17:23:53]MH_GetDate [17:23:53]Write to MH i2c: F0 00 00 33 01 23 [17:23:53]Write i2c OK [17:23:53]MH_I2C_Read... [17:23:53]Read from MH i2c: F0 [17:23:53]MH_I2C_Read... [17:23:53]Read from MH i2c: F0 09 00 [17:23:53]MH_I2C_Read... [17:23:53]Read from MH i2c: F0 09 00 33 01 00 A9 63 3A 66 47 D8 90 64 EB [17:23:53]GetLastDocTimeStamp 1715102618 [17:23:53]current date 1715102633 [17:23:53]FM_GetShiftState [17:23:53]SAM_PROTO_GetShiftState [17:23:53]wFMCommunicate request_size=4 [17:23:53]MH_SAM_APDU [17:23:53]CAPDU: 80 13 01 00 [17:23:53]Write to MH i2c: E2 08 00 34 01 80 13 01 00 00 00 00 00 B2 [17:23:53]Write i2c OK [17:23:53]MH_I2C_Read... [17:23:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:23:53]Read from MH i2c: E2 [17:23:53]MH_I2C_Read... [17:23:53]Read from MH i2c: E2 0E 00 [17:23:53]MH_I2C_Read... [17:23:53]Read from MH i2c: E2 0E 00 34 01 00 09 00 01 1A 63 3A 66 00 00 00 00 90 00 DB [17:23:53]RAPDU: 09 00 01 1A 63 3A 66 00 00 00 00 90 00 [17:23:53]wFMCommunicate OK [17:23:53]SAM_PROTO_GetShiftState done [17:23:53]FM_GetShiftState done [17:23:53]KKMCreateCloseShiftDocument [17:23:53]Load OK [17:23:53]Malloc new data [17:23:53]MH_GetDate [17:23:53]Write to MH i2c: F0 00 00 35 01 25 [17:23:53]Write i2c OK [17:23:53]MH_I2C_Read... [17:23:53]Read from MH i2c: F0 [17:23:53]MH_I2C_Read... [17:23:53]Read from MH i2c: F0 09 00 [17:23:53]MH_I2C_Read... [17:23:53]Read from MH i2c: F0 09 00 35 01 00 AA 63 3A 66 47 D8 90 64 EE [17:23:53]Malloc new data [17:23:53]Malloc new data [17:23:53]NVStorageSaveData kkm_registers [17:23:53]File name is /storage/kkm_registers [17:23:53]Write 24 bytes [17:23:53]NVStorageSaveData done [17:23:53]Malloc new data [17:23:53]Malloc new data [17:23:53]KKMCreateCloseShiftDocument OK [17:23:53]KKMSetCloseShiftData OK [17:23:53]ProcessDocumentItem done err = 0, tmpTLVsize=92 [17:23:53]tlvbuf is B6EFDA10 [17:23:53]KKMLoadAndSignCloseShiftData [17:23:53]SAM_PROTO_ProcessDocument [17:23:53]wFMCommunicate request_size=9 [17:23:53]MH_SAM_APDU [17:23:53]CAPDU: 80 15 01 00 04 05 00 5C 00 [17:23:53]Write to MH i2c: E2 0C 00 36 01 80 15 01 00 04 00 05 00 5C 00 00 00 1F [17:23:53]Write i2c OK [17:23:53]MH_I2C_Read... [17:23:53]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [17:23:53]Read from MH i2c: E2 [17:23:53]MH_I2C_Read... [17:23:53]Read from MH i2c: E2 03 00 [17:23:53]MH_I2C_Read... [17:23:53]Read from MH i2c: E2 03 00 36 01 00 90 00 AB [17:23:53]RAPDU: 90 00 [17:23:53]wFMCommunicate OK [17:23:53]wFMCommunicate request_size=23 [17:23:53]MH_SAM_APDU [17:23:53]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [17:23:53]Write to MH i2c: E2 1A 00 37 01 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 AD [17:23:53]Write i2c OK [17:23:53]MH_I2C_Read... [17:23:53]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:23:53]Read from MH i2c: E2 [17:23:53]MH_I2C_Read... [17:23:53]Read from MH i2c: E2 03 00 [17:23:53]MH_I2C_Read... [17:23:53]Read from MH i2c: E2 03 00 37 01 00 90 00 AC [17:23:53]RAPDU: 90 00 [17:23:53]wFMCommunicate OK [17:23:53]wFMCommunicate request_size=51 [17:23:53]MH_SAM_APDU [17:23:53]CAPDU: 80 15 02 00 2E FD 03 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 [17:23:53]Write to MH i2c: E2 36 00 38 01 80 15 02 00 2E 00 FD 03 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 B8 [17:23:53]Write i2c OK [17:23:53]MH_I2C_Read... [17:23:53]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:23:53]Read from MH i2c: E2 [17:23:53]MH_I2C_Read... [17:23:53]Read from MH i2c: E2 03 00 [17:23:53]MH_I2C_Read... [17:23:53]Read from MH i2c: E2 03 00 38 01 00 90 00 AD [17:23:53]RAPDU: 90 00 [17:23:53]wFMCommunicate OK [17:23:53]wFMCommunicate request_size=13 [17:23:53]MH_SAM_APDU [17:23:53]CAPDU: 80 15 02 00 08 F4 03 04 00 AA 63 3A 66 [17:23:53]Write to MH i2c: E2 10 00 39 01 80 15 02 00 08 00 F4 03 04 00 AA 63 3A 66 00 00 72 [17:23:53]Write i2c OK [17:23:53]MH_I2C_Read... [17:23:53]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:23:53]Read from MH i2c: E2 [17:23:53]MH_I2C_Read... [17:23:53]Read from MH i2c: E2 03 00 [17:23:53]MH_I2C_Read... [17:23:53]Read from MH i2c: E2 03 00 39 01 00 90 00 AE [17:23:53]RAPDU: 90 00 [17:23:53]wFMCommunicate OK [17:23:53]wFMCommunicate request_size=25 [17:23:53]MH_SAM_APDU [17:23:53]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 [17:23:53]Write to MH i2c: E2 1C 00 3A 01 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 00 00 1B [17:23:53]Write i2c OK [17:23:53]MH_I2C_Read... [17:23:53]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [17:23:53]Read from MH i2c: E2 [17:23:53]MH_I2C_Read... [17:23:53]Read from MH i2c: E2 03 00 [17:23:53]MH_I2C_Read... [17:23:53]Read from MH i2c: E2 03 00 3A 01 00 90 00 AF [17:23:53]RAPDU: 90 00 [17:23:53]wFMCommunicate OK [17:23:53]wFMCommunicate request_size=4 [17:23:53]MH_SAM_APDU [17:23:53]CAPDU: 80 15 03 00 [17:23:53]Write to MH i2c: E2 08 00 3B 01 80 15 03 00 00 00 00 00 BD [17:23:53]Write i2c OK [17:23:53]MH_I2C_Read... [17:23:54]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [17:23:54]Read from MH i2c: E2 [17:23:54]MH_I2C_Read... [17:23:54]Read from MH i2c: E2 FD 00 [17:23:54]MH_I2C_Read... [17:23:54]Read from MH i2c: E2 FD 00 3B 01 00 EB 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 10 04 04 00 05 00 00 00 0E 04 04 00 01 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 04 00 00 00 AA 04 A4 04 6E 04 04 00 02 00 00 00 69 04 91 00 6F 04 04 00 01 00 00 00 B1 04 01 00 64 70 04 01 00 64 72 04 00 00 00 04 77 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 91 00 6F 04 04 00 01 00 00 00 B1 04 01 00 64 70 04 01 00 64 72 04 00 00 00 04 77 00 90 00 9B [17:23:54]RAPDU: EB 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 10 04 04 00 05 00 00 00 0E 04 04 00 01 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 04 00 00 00 AA 04 A4 04 6E 04 04 00 02 00 00 00 69 04 91 00 6F 04 04 00 01 00 00 00 B1 04 01 00 64 70 04 01 00 64 72 04 00 00 00 04 77 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 91 00 6F 04 04 00 01 00 00 00 B1 04 01 00 64 70 04 01 00 64 72 04 00 00 00 04 77 00 90 00 [17:23:54]wFMCommunicate OK [17:23:54]SAM_PROTO_ProcessDocument answer len = 1259 [17:23:54]SAM_PROTO_ProcessDocument remain to read = 1011 [17:23:54]wFMCommunicate request_size=4 [17:23:54]MH_SAM_APDU [17:23:54]CAPDU: 80 17 00 00 [17:23:54]Write to MH i2c: E2 08 00 3C 01 80 17 00 00 00 00 00 00 BD [17:23:54]Write i2c OK [17:23:54]MH_I2C_Read... [17:23:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:23:54]Read from MH i2c: E2 [17:23:54]MH_I2C_Read... [17:23:54]Read from MH i2c: E2 FD 00 [17:23:54]MH_I2C_Read... [17:23:54]Read from MH i2c: E2 FD 00 3C 01 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 27 [17:23:54]RAPDU: EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:23:54]wFMCommunicate OK [17:23:54]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [17:23:54]SAM_PROTO_ProcessDocument remain to read = 761 [17:23:54]wFMCommunicate request_size=4 [17:23:54]MH_SAM_APDU [17:23:54]CAPDU: 80 17 00 00 [17:23:54]Write to MH i2c: E2 08 00 3D 01 80 17 00 00 00 00 00 00 BE [17:23:54]Write i2c OK [17:23:54]MH_I2C_Read... [17:23:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:23:54]Read from MH i2c: E2 [17:23:54]MH_I2C_Read... [17:23:54]Read from MH i2c: E2 FD 00 [17:23:54]MH_I2C_Read... [17:23:54]Read from MH i2c: E2 FD 00 3D 01 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 1C [17:23:54]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [17:23:54]wFMCommunicate OK [17:23:54]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [17:23:54]SAM_PROTO_ProcessDocument remain to read = 511 [17:23:54]wFMCommunicate request_size=4 [17:23:54]MH_SAM_APDU [17:23:54]CAPDU: 80 17 00 00 [17:23:54]Write to MH i2c: E2 08 00 3E 01 80 17 00 00 00 00 00 00 BF [17:23:54]Write i2c OK [17:23:54]MH_I2C_Read... [17:23:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:23:55]Read from MH i2c: E2 [17:23:55]MH_I2C_Read... [17:23:55]Read from MH i2c: E2 FD 00 [17:23:55]MH_I2C_Read... [17:23:55]Read from MH i2c: E2 FD 00 3E 01 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 47 [17:23:55]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 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 90 00 [17:23:55]wFMCommunicate OK [17:23:55]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [17:23:55]SAM_PROTO_ProcessDocument remain to read = 261 [17:23:55]wFMCommunicate request_size=4 [17:23:55]MH_SAM_APDU [17:23:55]CAPDU: 80 17 00 00 [17:23:55]Write to MH i2c: E2 08 00 3F 01 80 17 00 00 00 00 00 00 C0 [17:23:55]Write i2c OK [17:23:55]MH_I2C_Read... [17:23:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:23:55]Read from MH i2c: E2 [17:23:55]MH_I2C_Read... [17:23:55]Read from MH i2c: E2 FD 00 [17:23:55]MH_I2C_Read... [17:23:55]Read from MH i2c: E2 FD 00 3F 01 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 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 90 00 8F [17:23:55]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 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 90 00 [17:23:55]wFMCommunicate OK [17:23:55]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [17:23:55]SAM_PROTO_ProcessDocument remain to read = 11 [17:23:55]wFMCommunicate request_size=4 [17:23:55]MH_SAM_APDU [17:23:55]CAPDU: 80 17 00 00 [17:23:55]Write to MH i2c: E2 08 00 40 01 80 17 00 00 00 00 00 00 C1 [17:23:55]Write i2c OK [17:23:55]MH_I2C_Read... [17:23:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 11! [17:23:55]Read from MH i2c: E2 [17:23:55]MH_I2C_Read... [17:23:55]Read from MH i2c: E2 0E 00 [17:23:55]MH_I2C_Read... [17:23:55]Read from MH i2c: E2 0E 00 40 01 00 00 35 04 06 00 0E 80 64 C5 72 66 90 00 8E [17:23:55]RAPDU: 00 35 04 06 00 0E 80 64 C5 72 66 90 00 [17:23:55]wFMCommunicate OK [17:23:55]SAM_PROTO_ProcessDocument received (without SW) 11 bytes [17:23:55]SAM_PROTO_ProcessDocument done [17:23:55]1209 (1) - 1.0 - номер версии ФФД [17:23:55]1041 (16) - 0000000000963294 - номер ФМ [17:23:55]1040 (4) - 5 - номер ФД [17:23:55]1038 (4) - 1 - номер смены [17:23:55]1118 (4) - 2 - количество кассовых чеков за смену [17:23:55]1111 (4) - 4 - общее количество ФД за смену [17:23:55]1194 (1188) - счетчики итогов смены [17:23:55] 1134 (4) - 2 - количество чеков со всеми признаками расчетов [17:23:55] 1129 (145) - счетчики операций «приход» [17:23:55] 1135 (4) - 1 - количество чеков по признаку расчетов [17:23:55] 1201 (1) - 1.00 - общая итоговая сумма в чеках [17:23:55] 1136 (1) - 1.00 - итоговая сумма в чеках наличными [17:23:55] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [17:23:55] 1024 (119) - суммы налогов [17:23:55] 1006 (9) - суммы НДС [17:23:55] 1010 (1) - 0% - код ставки НДС [17:23:55] 1011 (0) - 0.00 - сумма НДС по ставке [17:23:55] 1006 (10) - суммы НДС [17:23:55] 1010 (1) - 12% - код ставки НДС [17:23:55] 1011 (1) - 0.11 - сумма НДС по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 0% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (10) - суммы НСП [17:23:55] 1014 (1) - 1% - код ставки НСП [17:23:55] 1015 (1) - 0.01 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 2% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 3% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 5% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 0,50% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 1,50% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1130 (145) - счетчики операций «возврат прихода» [17:23:55] 1135 (4) - 1 - количество чеков по признаку расчетов [17:23:55] 1201 (1) - 1.00 - общая итоговая сумма в чеках [17:23:55] 1136 (1) - 1.00 - итоговая сумма в чеках наличными [17:23:55] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [17:23:55] 1024 (119) - суммы налогов [17:23:55] 1006 (9) - суммы НДС [17:23:55] 1010 (1) - 0% - код ставки НДС [17:23:55] 1011 (0) - 0.00 - сумма НДС по ставке [17:23:55] 1006 (10) - суммы НДС [17:23:55] 1010 (1) - 12% - код ставки НДС [17:23:55] 1011 (1) - 0.11 - сумма НДС по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 0% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (10) - суммы НСП [17:23:55] 1014 (1) - 1% - код ставки НСП [17:23:55] 1015 (1) - 0.01 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 2% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 3% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 5% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 0,50% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 1,50% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1131 (141) - счетчики операций «расход» [17:23:55] 1135 (4) - 0 - количество чеков по признаку расчетов [17:23:55] 1201 (0) - 0.00 - общая итоговая сумма в чеках [17:23:55] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [17:23:55] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [17:23:55] 1024 (117) - суммы налогов [17:23:55] 1006 (9) - суммы НДС [17:23:55] 1010 (1) - 0% - код ставки НДС [17:23:55] 1011 (0) - 0.00 - сумма НДС по ставке [17:23:55] 1006 (9) - суммы НДС [17:23:55] 1010 (1) - 12% - код ставки НДС [17:23:55] 1011 (0) - 0.00 - сумма НДС по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 0% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 1% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 2% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 3% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 5% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 0,50% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 1,50% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1132 (141) - счетчики операций «возврат расхода» [17:23:55] 1135 (4) - 0 - количество чеков по признаку расчетов [17:23:55] 1201 (0) - 0.00 - общая итоговая сумма в чеках [17:23:55] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [17:23:55] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [17:23:55] 1024 (117) - суммы налогов [17:23:55] 1006 (9) - суммы НДС [17:23:55] 1010 (1) - 0% - код ставки НДС [17:23:55] 1011 (0) - 0.00 - сумма НДС по ставке [17:23:55] 1006 (9) - суммы НДС [17:23:55] 1010 (1) - 12% - код ставки НДС [17:23:55] 1011 (0) - 0.00 - сумма НДС по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 0% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 1% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 2% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 3% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 5% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 0,50% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1007 (9) - суммы НСП [17:23:55] 1014 (1) - 1,50% - код ставки НСП [17:23:55] 1015 (0) - 0.00 - сумма НСП по ставке [17:23:55] 1133 (588) - - счетчики коррекции - не используются [17:23:55]1077 (6) - 15944609264230 - ФПД [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1209 (04B9) [17:23:56]Malloc new data [17:23:56]Processing tag 1041 (0411) [17:23:56]Processing tag 1040 (0410) [17:23:56]Malloc new data [17:23:56]Processing tag 1038 (040E) [17:23:56]Malloc new data [17:23:56]Processing tag 1118 (045E) [17:23:56]Malloc new data [17:23:56]Processing tag 1111 (0457) [17:23:56]Malloc new data [17:23:56]Processing tag 1194 (04AA) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1134 (046E) [17:23:56]Malloc new data [17:23:56]Processing tag 1129 (0469) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1135 (046F) [17:23:56]Malloc new data [17:23:56]Processing tag 1201 (04B1) [17:23:56]Malloc new data [17:23:56]Processing tag 1136 (0470) [17:23:56]Malloc new data [17:23:56]Processing tag 1138 (0472) [17:23:56]Malloc new data [17:23:56]Processing tag 1024 (0400) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1006 (03EE) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1010 (03F2) [17:23:56]Malloc new data [17:23:56]Processing tag 1011 (03F3) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1006 (03EE) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1010 (03F2) [17:23:56]Malloc new data [17:23:56]Processing tag 1011 (03F3) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]SetTLVBufToDocument err=0 [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1130 (046A) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1135 (046F) [17:23:56]Malloc new data [17:23:56]Processing tag 1201 (04B1) [17:23:56]Malloc new data [17:23:56]Processing tag 1136 (0470) [17:23:56]Malloc new data [17:23:56]Processing tag 1138 (0472) [17:23:56]Malloc new data [17:23:56]Processing tag 1024 (0400) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1006 (03EE) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1010 (03F2) [17:23:56]Malloc new data [17:23:56]Processing tag 1011 (03F3) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1006 (03EE) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1010 (03F2) [17:23:56]Malloc new data [17:23:56]Processing tag 1011 (03F3) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]SetTLVBufToDocument err=0 [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1131 (046B) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1135 (046F) [17:23:56]Malloc new data [17:23:56]Processing tag 1201 (04B1) [17:23:56]Malloc new data [17:23:56]Processing tag 1136 (0470) [17:23:56]Malloc new data [17:23:56]Processing tag 1138 (0472) [17:23:56]Malloc new data [17:23:56]Processing tag 1024 (0400) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1006 (03EE) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1010 (03F2) [17:23:56]Malloc new data [17:23:56]Processing tag 1011 (03F3) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1006 (03EE) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1010 (03F2) [17:23:56]Malloc new data [17:23:56]Processing tag 1011 (03F3) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]SetTLVBufToDocument err=0 [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1132 (046C) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1135 (046F) [17:23:56]Malloc new data [17:23:56]Processing tag 1201 (04B1) [17:23:56]Malloc new data [17:23:56]Processing tag 1136 (0470) [17:23:56]Malloc new data [17:23:56]Processing tag 1138 (0472) [17:23:56]Malloc new data [17:23:56]Processing tag 1024 (0400) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1006 (03EE) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1010 (03F2) [17:23:56]Malloc new data [17:23:56]Processing tag 1011 (03F3) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1006 (03EE) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1010 (03F2) [17:23:56]Malloc new data [17:23:56]Processing tag 1011 (03F3) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1007 (03EF) [17:23:56]Load OK [17:23:56]SetTLVBufToDocument [17:23:56]Processing tag 1014 (03F6) [17:23:56]Malloc new data [17:23:56]Processing tag 1015 (03F7) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]SetTLVBufToDocument err=0 [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1133 (046D) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Processing tag 1077 (0435) [17:23:56]Malloc new data [17:23:56]SetTLVBufToDocument err=0 [17:23:56]Malloc new data [17:23:56]SAM_PROTO_GetFMData [17:23:56]wFMCommunicate request_size=4 [17:23:56]MH_SAM_APDU [17:23:56]CAPDU: 80 13 03 00 [17:23:56]Write to MH i2c: E2 08 00 41 01 80 13 03 00 00 00 00 00 C1 [17:23:56]Write i2c OK [17:23:56]MH_I2C_Read... [17:23:57]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [17:23:57]Read from MH i2c: E2 [17:23:57]MH_I2C_Read... [17:23:57]Read from MH i2c: E2 FD 00 [17:23:57]MH_I2C_Read... [17:23:57]Read from MH i2c: E2 FD 00 41 01 00 A8 04 85 04 A4 04 6E 04 04 00 02 00 00 00 69 04 91 00 6F 04 04 00 01 00 00 00 B1 04 01 00 64 70 04 01 00 64 72 04 00 00 00 04 77 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 91 00 6F 04 04 00 01 00 00 00 B1 04 01 00 64 70 04 01 00 64 72 04 00 00 00 04 77 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 01 EF 03 09 90 00 EC [17:23:57]RAPDU: A8 04 85 04 A4 04 6E 04 04 00 02 00 00 00 69 04 91 00 6F 04 04 00 01 00 00 00 B1 04 01 00 64 70 04 01 00 64 72 04 00 00 00 04 77 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 91 00 6F 04 04 00 01 00 00 00 B1 04 01 00 64 70 04 01 00 64 72 04 00 00 00 04 77 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 0B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 01 EF 03 09 90 00 [17:23:57]wFMCommunicate OK [17:23:57]wFMCommunicate request_size=4 [17:23:57]MH_SAM_APDU [17:23:57]CAPDU: 80 17 00 00 [17:23:57]Write to MH i2c: E2 08 00 42 01 80 17 00 00 00 00 00 00 C3 [17:23:57]Write i2c OK [17:23:57]MH_I2C_Read... [17:23:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:23:57]Read from MH i2c: E2 [17:23:57]MH_I2C_Read... [17:23:57]Read from MH i2c: E2 FD 00 [17:23:57]MH_I2C_Read... [17:23:57]Read from MH i2c: E2 FD 00 42 01 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CE [17:23:57]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:23:57]wFMCommunicate OK [17:23:57]wFMCommunicate request_size=4 [17:23:57]MH_SAM_APDU [17:23:57]CAPDU: 80 17 00 00 [17:23:57]Write to MH i2c: E2 08 00 43 01 80 17 00 00 00 00 00 00 C4 [17:23:57]Write i2c OK [17:23:57]MH_I2C_Read... [17:23:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:23:57]Read from MH i2c: E2 [17:23:57]MH_I2C_Read... [17:23:57]Read from MH i2c: E2 FD 00 [17:23:57]MH_I2C_Read... [17:23:57]Read from MH i2c: E2 FD 00 43 01 00 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8F [17:23:57]RAPDU: 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:23:57]wFMCommunicate OK [17:23:57]wFMCommunicate request_size=4 [17:23:57]MH_SAM_APDU [17:23:57]CAPDU: 80 17 00 00 [17:23:57]Write to MH i2c: E2 08 00 44 01 80 17 00 00 00 00 00 00 C5 [17:23:57]Write i2c OK [17:23:57]MH_I2C_Read... [17:23:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:23:58]Read from MH i2c: E2 [17:23:58]MH_I2C_Read... [17:23:58]Read from MH i2c: E2 FD 00 [17:23:58]MH_I2C_Read... [17:23:58]Read from MH i2c: E2 FD 00 44 01 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 90 00 3A [17:23:58]RAPDU: F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 90 00 [17:23:58]wFMCommunicate OK [17:23:58]wFMCommunicate request_size=4 [17:23:58]MH_SAM_APDU [17:23:58]CAPDU: 80 17 00 00 [17:23:58]Write to MH i2c: E2 08 00 45 01 80 17 00 00 00 00 00 00 C6 [17:23:58]OFD Sender: No OFD packet to send [17:23:58]Write i2c OK [17:23:58]MH_I2C_Read... [17:23:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 194! [17:23:58]Read from MH i2c: E2 [17:23:58]MH_I2C_Read... [17:23:58]Read from MH i2c: E2 C5 00 [17:23:58]MH_I2C_Read... [17:23:58]Read from MH i2c: E2 C5 00 45 01 00 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 AB [17:23:58]RAPDU: 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [17:23:58]wFMCommunicate OK [17:23:58]SAM_PROTO_GetFMData done [17:23:58]Malloc new data [17:23:58]Malloc new data [17:23:58]Malloc new data [17:23:58]Malloc new data [17:23:58]KKMLoadAndSignCloseShiftData err=0 [17:23:58] ОсОО "Партнер Нефть" Добро пожаловать Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: АЗС № 103 "Партнер Нефть" 07.05.2024 17:23 Смена: 1 РНМ: 0000000000160619 ЗНМ: 0300000023 СНО: Общий режим Чеков за смену: 2 ФД за смену: 4 ** Здесь Вам всегда рады ** Всего чеков: 2 ИТОГИ ПРИХОД Чеков: 1 Общий итог: 1.00 Итого наличными: 1.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.11 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.01 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 1 Общий итог: 1.00 Итого наличными: 1.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.11 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.01 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 *** СПАСИБО *** Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 0.00 НС Приход: 1.00 НС Возвр.Прихода: 1.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 5 ФМ: 0000000000963294 ФПД: 15944609264230 *** ЖДЕМ ВАС ОПЯТЬ *** [17:23:58]StoreToDocumentArchive [17:23:58]shift 1 fd 5 [17:23:58]save to /storage/0001/doc_00000005 [17:23:58]save last doc name /storage/0001/doc_00000005 to /storage/kkm_last_doc_name [17:23:58]save OK [17:23:58]Clear old archive folders... [17:23:58]NVStorageSaveData kkm_registers [17:23:58]File name is /storage/kkm_registers [17:23:58]Write 24 bytes [17:23:58]NVStorageSaveData done [17:23:58]NVStorageSaveData kkm_registers [17:23:58]File name is /storage/kkm_registers [17:23:58]Write 24 bytes [17:23:58]NVStorageSaveData done [17:23:58]ProcessDocumentItem done err = 0, tmpTLVsize=1391 [17:23:58]tlvbuf is 009D2650 [17:23:58]SAM_PROTO_ClearQueue [17:23:58]wFMCommunicate request_size=4 [17:23:58]MH_SAM_APDU [17:23:58]CAPDU: 80 09 00 00 [17:23:58]Write to MH i2c: E2 08 00 46 01 80 09 00 00 00 00 00 00 B9 [17:23:58]Write i2c OK [17:23:58]MH_I2C_Read... [17:23:58]Read from MH i2c: E2 [17:23:58]MH_I2C_Read... [17:23:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:23:58]Read from MH i2c: E2 03 00 [17:23:58]MH_I2C_Read... [17:23:58]Read from MH i2c: E2 03 00 46 01 00 90 00 BB [17:23:58]RAPDU: 90 00 [17:23:58]wFMCommunicate OK [17:23:58]SAM_PROTO_ClearQueue done [17:23:58]KKMCreateOFDPacket [17:23:58]OFDProtocolAddRootSTLVToBuf [17:23:58]FM_MakeSignedData [17:23:58]FM_MakeSignedData [17:23:58]SAM_PROTO_SignData [17:23:58]wFMCommunicate request_size=4 [17:23:58]MH_SAM_APDU [17:23:58]CAPDU: 80 0D 01 02 [17:23:58]Write to MH i2c: E2 08 00 47 01 80 0D 01 02 00 00 00 00 C1 [17:23:58]Write i2c OK [17:23:58]MH_I2C_Read... [17:23:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:23:58]Read from MH i2c: E2 [17:23:58]MH_I2C_Read... [17:23:58]Read from MH i2c: E2 03 00 [17:23:58]MH_I2C_Read... [17:23:58]Read from MH i2c: E2 03 00 47 01 00 90 00 BC [17:23:58]RAPDU: 90 00 [17:23:58]wFMCommunicate OK [17:23:58]wFMCommunicate request_size=255 [17:23:58]MH_SAM_APDU [17:23:58]CAPDU: 80 0D 02 02 FA 05 00 6F 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 AA 63 3A 66 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 5E 04 04 00 02 00 00 00 57 04 04 00 04 00 00 00 AA 04 CC 04 6E 04 04 00 02 00 00 00 69 04 99 00 6F 04 04 00 01 00 00 00 B1 04 01 00 64 70 04 01 00 64 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 0B EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 [17:23:58]Write to MH i2c: E2 02 01 48 01 80 0D 02 02 FA 00 05 00 6F 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 AA 63 3A 66 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 5E 04 04 00 02 00 00 00 57 04 04 00 04 00 00 00 AA 04 CC 04 6E 04 04 00 02 00 00 00 69 04 99 00 6F 04 04 00 01 00 00 00 B1 04 01 00 64 70 04 01 00 64 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 0B EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 35 [17:23:58]Write i2c OK [17:23:58]MH_I2C_Read... [17:23:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:23:59]Read from MH i2c: E2 [17:23:59]MH_I2C_Read... [17:23:59]Read from MH i2c: E2 03 00 [17:23:59]MH_I2C_Read... [17:23:59]Read from MH i2c: E2 03 00 48 01 00 90 00 BD [17:23:59]RAPDU: 90 00 [17:23:59]wFMCommunicate OK [17:23:59]wFMCommunicate request_size=255 [17:23:59]MH_SAM_APDU [17:23:59]CAPDU: 80 0D 02 02 FA 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 01 6A 04 99 00 6F 04 04 00 01 00 00 00 B1 04 01 00 64 70 04 01 00 64 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 0B EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 01 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 [17:23:59]Write to MH i2c: E2 02 01 49 01 80 0D 02 02 FA 00 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 01 6A 04 99 00 6F 04 04 00 01 00 00 00 B1 04 01 00 64 70 04 01 00 64 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 0B EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 01 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 00 00 0D [17:23:59]Write i2c OK [17:23:59]MH_I2C_Read... [17:23:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:23:59]Read from MH i2c: E2 [17:23:59]MH_I2C_Read... [17:23:59]Read from MH i2c: E2 03 00 [17:23:59]MH_I2C_Read... [17:23:59]Read from MH i2c: E2 03 00 49 01 00 90 00 BE [17:23:59]RAPDU: 90 00 [17:23:59]wFMCommunicate OK [17:23:59]wFMCommunicate request_size=255 [17:23:59]MH_SAM_APDU [17:23:59]CAPDU: 80 0D 02 02 FA F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 [17:23:59]Write to MH i2c: E2 02 01 4A 01 80 0D 02 02 FA 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 00 83 [17:23:59]Write i2c OK [17:23:59]MH_I2C_Read... [17:24:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:24:00]Read from MH i2c: E2 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 03 00 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 03 00 4A 01 00 90 00 BF [17:24:00]RAPDU: 90 00 [17:24:00]wFMCommunicate OK [17:24:00]wFMCommunicate request_size=255 [17:24:00]MH_SAM_APDU [17:24:00]CAPDU: 80 0D 02 02 FA 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 [17:24:00]Write to MH i2c: E2 02 01 4B 01 80 0D 02 02 FA 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 8C [17:24:00]Write i2c OK [17:24:00]MH_I2C_Read... [17:24:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:24:00]Read from MH i2c: E2 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 03 00 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 03 00 4B 01 00 90 00 C0 [17:24:00]RAPDU: 90 00 [17:24:00]wFMCommunicate OK [17:24:00]wFMCommunicate request_size=255 [17:24:00]MH_SAM_APDU [17:24:00]CAPDU: 80 0D 02 02 FA 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 [17:24:00]Write to MH i2c: E2 02 01 4C 01 80 0D 02 02 FA 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 00 00 54 [17:24:00]Write i2c OK [17:24:00]MH_I2C_Read... [17:24:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:24:01]Read from MH i2c: E2 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: E2 03 00 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: E2 03 00 4C 01 00 90 00 C1 [17:24:01]RAPDU: 90 00 [17:24:01]wFMCommunicate OK [17:24:01]wFMCommunicate request_size=150 [17:24:01]MH_SAM_APDU [17:24:01]CAPDU: 80 0D 02 02 91 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 05 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 35 04 06 00 0E 80 64 C5 72 66 [17:24:01]Write to MH i2c: E2 99 00 4D 01 80 0D 02 02 91 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 05 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 35 04 06 00 0E 80 64 C5 72 66 00 00 A3 [17:24:01]Write i2c OK [17:24:01]MH_I2C_Read... [17:24:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:24:01]Read from MH i2c: E2 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: E2 03 00 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: E2 03 00 4D 01 00 90 00 C2 [17:24:01]RAPDU: 90 00 [17:24:01]wFMCommunicate OK [17:24:01]wFMCommunicate request_size=4 [17:24:01]MH_SAM_APDU [17:24:01]CAPDU: 80 0D 03 02 [17:24:01]Write to MH i2c: E2 08 00 4E 01 80 0D 03 02 00 00 00 00 CA [17:24:01]Write i2c OK [17:24:01]MH_I2C_Read... [17:24:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:24:01]Read from MH i2c: E2 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: E2 0B 00 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: E2 0B 00 4E 01 00 60 F4 C0 7E 1B 4C 83 A0 90 00 E7 [17:24:01]RAPDU: 60 F4 C0 7E 1B 4C 83 A0 90 00 [17:24:01]wFMCommunicate OK [17:24:01]SAM_PROTO_SignData done [17:24:01]FM_MakeSignedData done [17:24:01]CreateOFDProtocolMessage [17:24:01]wFMCommunicate request_size=4 [17:24:01]MH_SAM_APDU [17:24:01]CAPDU: 80 11 00 00 [17:24:01]Write to MH i2c: E2 08 00 4F 01 80 11 00 00 00 00 00 00 CA [17:24:01]Write i2c OK [17:24:01]MH_I2C_Read... [17:24:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:24:01]Read from MH i2c: E2 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: E2 17 00 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: E2 17 00 4F 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 1E [17:24:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 [17:24:01]wFMCommunicate OK [17:24:01]CreateOFDProtocolMessage done [17:24:01]OFDSenderStorePacket 5 [17:24:01]StoreOFDPacket docnum=5 [17:24:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 83 05 00 00 7F 1F 7B 05 D0 B3 5A 05 01 00 05 00 6F 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 AA 63 3A 66 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 5E 04 04 00 02 00 00 00 57 04 04 00 04 00 00 00 AA 04 CC 04 6E 04 04 00 02 00 00 00 69 04 99 00 6F 04 04 00 01 00 00 00 B1 04 01 00 64 70 04 01 00 64 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 0B EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 01 6A 04 99 00 6F 04 04 00 01 00 00 00 B1 04 01 00 64 70 04 01 00 64 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 0B EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 01 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 05 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 35 04 06 00 0E 80 64 C5 72 66 60 F4 C0 7E 1B 4C 83 A0 [17:24:01]CheckFolder [17:24:01]dirname=/storage/ofd_packets [17:24:01]CheckFolder done [17:24:01]ProducePacketName [17:24:01]name=ofd_packets/00000005 [17:24:01]NVStorageSaveData ofd_packets/00000005 [17:24:01]File name is /storage/ofd_packets/00000005 [17:24:01]Write 1441 bytes [17:24:01]NVStorageSaveData done [17:24:01]OFDSenderStorePacket done [17:24:01]KKMCreateOFDPacket done [17:24:01]NVStorageSaveData kkm_last_timestamp [17:24:01]File name is /storage/kkm_last_timestamp [17:24:01]Write 4 bytes [17:24:01]NVStorageSaveData done [17:24:01]ExternCall_PrintAddStr [17:24:01]wPrintStart [17:24:01]Write to MH i2c: 01 00 00 50 01 51 [17:24:01]Write i2c OK [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: 01 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: 01 07 00 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: 01 07 00 50 01 00 00 00 00 00 FF 0F 66 [17:24:01]RasterBufferAndPrint [17:24:01]line ОсОО "Партнер Нефть" [17:24:01]line Добро пожаловать [17:24:01]line Отчет о закрытии смены [17:24:01]line ФФД: 1.0 [17:24:01]line ИНН: 02508201610067 [17:24:01]line Кассир: АЗС № 103 "Партнер Нефть" [17:24:01]line 07.05.2024 17:23 [17:24:01]line Смена: 1 [17:24:01]line РНМ: 0000000000160619 [17:24:01]line ЗНМ: 0300000023 [17:24:01]line СНО: Общий режим [17:24:01]line Чеков за смену: 2 [17:24:01]line ФД за смену: 4 [17:24:01]line ** Здесь Вам всегда рады ** [17:24:01]line Всего чеков: 2 [17:24:01]line ИТОГИ ПРИХОД [17:24:01]line Чеков: 1 [17:24:01]line Общий итог: 1.00 [17:24:01]line Итого наличными: 1.00 [17:24:01]line Итого безнал.: 0.00 [17:24:01]line НДС 0% : 0.00 [17:24:01]line НДС 12% : 0.11 [17:24:01]line НСП 0% : 0.00 [17:24:01]line НСП 1,50% : 0.00 [17:24:01]line НСП 0,50% : 0.00 [17:24:01]line НСП 5% : 0.00 [17:24:01]line НСП 3% : 0.00 [17:24:01]line НСП 2% : 0.00 [17:24:01]line НСП 1% : 0.01 [17:24:01]line ИТОГИ ВОЗВРАТ ПРИХОДА [17:24:01]line Чеков: 1 [17:24:01]line Общий итог: 1.00 [17:24:01]line Итого наличными: 1.00 [17:24:01]line Итого безнал.: 0.00 [17:24:01]line НДС 0% : 0.00 [17:24:01]line НДС 12% : 0.11 [17:24:01]line НСП 0% : 0.00 [17:24:01]line НСП 1,50% : 0.00 [17:24:01]line НСП 0,50% : 0.00 [17:24:01]line НСП 5% : 0.00 [17:24:01]line НСП 3% : 0.00 [17:24:01]line НСП 2% : 0.00 [17:24:01]line НСП 1% : 0.01 [17:24:01]line ИТОГИ РАСХОД [17:24:01]line Чеков: 0 [17:24:01]line Общий итог: 0.00 [17:24:01]line Итого наличными: 0.00 [17:24:01]line Итого безнал.: 0.00 [17:24:01]line НДС 0% : 0.00 [17:24:01]line НДС 12% : 0.00 [17:24:01]line НСП 0% : 0.00 [17:24:01]line НСП 1,50% : 0.00 [17:24:01]line НСП 0,50% : 0.00 [17:24:01]line НСП 5% : 0.00 [17:24:01]line НСП 3% : 0.00 [17:24:01]line НСП 2% : 0.00 [17:24:01]line НСП 1% : 0.00 [17:24:01]line ИТОГИ ВОЗВРАТ РАСХОДА [17:24:01]line Чеков: 0 [17:24:01]line Общий итог: 0.00 [17:24:01]line Итого наличными: 0.00 [17:24:01]line Итого безнал.: 0.00 [17:24:01]line НДС 0% : 0.00 [17:24:01]line НДС 12% : 0.00 [17:24:01]line НСП 0% : 0.00 [17:24:01]line НСП 1,50% : 0.00 [17:24:01]line НСП 0,50% : 0.00 [17:24:01]line НСП 5% : 0.00 [17:24:01]line НСП 3% : 0.00 [17:24:01]line НСП 2% : 0.00 [17:24:01]line НСП 1% : 0.00 [17:24:01]line *** СПАСИБО *** [17:24:01]line Сумма внесений: 0.00 [17:24:01]line Сумма выплат: 0.00 [17:24:01]line Нал. в кассе: 0.00 [17:24:01]line НС Приход: 1.00 [17:24:01]line НС Возвр.Прихода: 1.00 [17:24:01]line НС Расход: 0.00 [17:24:01]line НС Возвр.Расхода: 0.00 [17:24:01]line ФД: 5 [17:24:02]line ФМ: 0000000000963294 [17:24:02]line ФПД: 15944609264230 [17:24:02]line *** ЖДЕМ ВАС ОПЯТЬ *** [17:24:02]OFD Sender: Processing packet 5 [packets to send 1, broken 0] [17:24:02]ProducePacketName [17:24:02]name=ofd_packets/00000005 [17:24:02]OFD Sender: To server: pG, [17:24:02]CommunicateWithHost lk.salyk.kg:30040 [17:24:02]ConnectInit lk.salyk.kg [17:24:02]written 0, free lines is 4095 [17:24:02]Connected sock=10 [17:24:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 83 05 00 00 7F 1F 7B 05 D0 B3 5A 05 01 00 05 00 6F 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 33 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 AA 63 3A 66 0E 04 04 00 01 00 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 36 30 36 31 39 5E 04 04 00 02 00 00 00 57 04 04 00 04 00 00 00 AA 04 CC 04 6E 04 04 00 02 00 00 00 69 04 99 00 6F 04 04 00 01 00 00 00 B1 04 01 00 64 70 04 01 00 64 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 0B EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 01 6A 04 99 00 6F 04 04 00 01 00 00 00 B1 04 01 00 64 70 04 01 00 64 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 0B EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 01 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 05 00 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 35 04 06 00 0E 80 64 C5 72 66 60 F4 C0 7E 1B 4C 83 A0 [17:24:02]Write to MH i2c: 01 00 00 A6 01 A7 [17:24:02]Write i2c OK [17:24:02]MH_I2C_Read... [17:24:02]Read from MH i2c: 01 [17:24:02]MH_I2C_Read... [17:24:02]Read from MH i2c: 01 07 00 [17:24:02]MH_I2C_Read... [17:24:02]Read from MH i2c: 01 07 00 A6 01 00 00 00 00 00 6B 0A 23 [17:24:02]RasterBufferAndPrint [17:24:02]line [17:24:02]line [17:24:02]line [17:24:02]line [17:24:02]line [17:24:02]written 0, free lines is 2697 [17:24:02]MH_Cut [17:24:02]Write to MH i2c: D1 01 00 AD 01 01 80 [17:24:02]Write i2c OK [17:24:02]MH_I2C_Read... [17:24:02]Read from MH i2c: D1 [17:24:02]MH_I2C_Read... [17:24:02]Read from MH i2c: D1 01 00 [17:24:02]MH_I2C_Read... [17:24:02]Read from MH i2c: D1 01 00 AD 01 00 7F [17:24:02]Write to MH i2c: 01 00 00 AE 01 AF [17:24:02]Write i2c OK [17:24:02]MH_I2C_Read... [17:24:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 4F 00 00 00 32 F7 47 00 5C AC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 10 04 04 00 05 00 00 00 F4 03 04 00 23 0B 3A 66 B6 04 01 00 00 23 FD 1C AE 21 B9 FB 28 [17:24:03]CommunicateWithHost err = 0 [17:24:03]CheckOFDResponse [17:24:03]1017 (14) - 77093643461234 [17:24:03]1041 (16) - 0000000000963294 [17:24:03]1040 (4) - 5 [17:24:03]1012 (4) - 07.05.2024 11:06 [17:24:03]1206 (1) - 0 [17:24:03]OFD Sender: Remove packet 5 [17:24:03]ProducePacketName [17:24:03]name=ofd_packets/00000005 [17:24:03]NVStorageDeleteData [17:24:03]OFD Sender: No OFD packet to send [17:24:03]*** Cut start [17:24:03]*** Partial cut [17:24:03]*** CUTSNS_PIN = 1 [17:24:03]*** CUTSNS_PIN = 0 [17:24:04]*** Brake cut motor [17:24:04]Read from MH i2c: 01 [17:24:04]MH_I2C_Read... [17:24:04]*** Stop cut motor [17:24:04]*** Cut end [17:24:04]Read from MH i2c: 01 07 00 [17:24:04]MH_I2C_Read... [17:24:04]Read from MH i2c: 01 07 00 AE 01 00 00 00 00 00 FF 0F C4 [17:24:04]process_action close_shift done [17:24:04]no requested_data - finishing processing [17:24:04]process_action_free close_shift [17:24:04]json_value_free [17:24:04]json_value_free done [17:24:04]process_json_proto returns [17:24:04]Send response to host [17:24:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK"}} [17:24:04]free response buf [17:24:04]execute_script done [17:24:04]execute_script returns [17:24:04]free content buf [17:24:04]Sock 8.Close socket [17:24:04]Sock 8.Thread stoped [17:24:08]OFD Sender: No OFD packet to send [17:24:13]OFD Sender: No OFD packet to send [17:24:18]OFD Sender: No OFD packet to send [17:24:23]OFD Sender: No OFD packet to send [17:24:28]OFD Sender: No OFD packet to send [17:24:33]OFD Sender: No OFD packet to send [17:24:38]OFD Sender: No OFD packet to send [17:24:43]OFD Sender: No OFD packet to send [17:24:48]OFD Sender: No OFD packet to send [17:24:53]OFD Sender: No OFD packet to send [17:24:58]OFD Sender: No OFD packet to send [17:25:03]OFD Sender: No OFD packet to send [17:25:08]OFD Sender: No OFD packet to send [17:25:13]OFD Sender: No OFD packet to send [17:25:18]OFD Sender: No OFD packet to send [17:25:23]OFD Sender: No OFD packet to send [17:25:28]OFD Sender: No OFD packet to send [17:25:33]OFD Sender: No OFD packet to send [17:25:38]OFD Sender: No OFD packet to send [17:25:43]OFD Sender: No OFD packet to send [17:25:48]OFD Sender: No OFD packet to send [17:25:53]OFD Sender: No OFD packet to send [17:25:58]OFD Sender: No OFD packet to send [17:26:03]OFD Sender: No OFD packet to send [17:26:08]OFD Sender: No OFD packet to send [17:26:13]OFD Sender: No OFD packet to send [17:26:18]OFD Sender: No OFD packet to send [17:26:23]OFD Sender: No OFD packet to send [17:26:28]OFD Sender: No OFD packet to send [17:26:33]OFD Sender: No OFD packet to send [17:26:38]OFD Sender: No OFD packet to send [17:26:43]OFD Sender: No OFD packet to send [17:26:48]OFD Sender: No OFD packet to send [17:26:53]OFD Sender: No OFD packet to send [17:26:58]OFD Sender: No OFD packet to send [17:27:03]OFD Sender: No OFD packet to send [17:27:08]OFD Sender: No OFD packet to send [17:27:13]OFD Sender: No OFD packet to send [17:27:18]OFD Sender: No OFD packet to send [17:27:23]OFD Sender: No OFD packet to send [17:27:28]OFD Sender: No OFD packet to send [17:27:33]OFD Sender: No OFD packet to send [17:27:38]OFD Sender: No OFD packet to send [17:27:43]OFD Sender: No OFD packet to send [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]/dev/ttyS4 opened [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [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 7B FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 20 [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 540000000057257B (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:11]*** step 1: 4835 (2500, 2335 REF) [00:00:11]*** step 2: 4676 (2440, 2236 REF) [00:00:11]*** step 3: 4523 (2280, 2243 REF) [00:00:11]*** 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: 27888924+1687214151=1715103075 [00:00:11]*** BPK Status Register BPK_RDY = 0x0 [00:00:11]*** SEN State Register SEN_STATE = 0xff [00:00:11]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:11]*** Analog Control Register 0 SEN_ANA0 = 0x33590625 [00:00:11]*** Is cutter blocked? [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 7B FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 21 [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 00 00 00 00 FF 0F 19 [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]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 64 65 3A 66 47 D8 90 64 7B [17:31:16]Current date/time: 07.05.2024 17:31 [17:31:16]FM_Init [17:31:16]wFMConnect [17:31:16]MH_SAM_On [17:31:16]Write to MH i2c: E0 00 00 08 00 E7 [17:31:16]Write i2c OK [17:31:16]MH_I2C_Read... [17:31:16]*** iso7816_init finished! [17:31:16]*** atr: [17:31:16]*** 0F 3B D5 18 FF 81 91 FE [17:31:16]*** 1F C3 80 73 C8 21 10 0A [17:31:16]*** 00 00 00 00 00 00 00 00 [17:31:16]*** 00 00 00 00 00 00 00 00 [17:31:16]*** 00 00 00 00 00 00 00 00 [17:31:16]*** 00 00 00 00 00 00 00 00 [17:31:16]*** 00 00 00 00 00 00 00 00 [17:31:16]*** 00 00 00 00 00 00 00 00 [17:31:16]Read from MH i2c: E0 [17:31:16]MH_I2C_Read... [17:31:16]Read from MH i2c: E0 10 00 [17:31:16]MH_I2C_Read... [17:31:16]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [17:31:16]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [17:31:16]wFMCommunicate request_size=10 [17:31:16]MH_SAM_APDU [17:31:16]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [17:31:16]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [17:31:16]Write i2c OK [17:31:16]MH_I2C_Read... [17:31:16]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [17:31:16]Read from MH i2c: E2 [17:31:16]MH_I2C_Read... [17:31:16]Read from MH i2c: E2 03 00 [17:31:16]MH_I2C_Read... [17:31:16]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [17:31:16]RAPDU: 90 00 [17:31:16]wFMCommunicate OK [17:31:16]wFMCommunicate request_size=4 [17:31:16]MH_SAM_APDU [17:31:16]CAPDU: 80 11 00 00 [17:31:16]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [17:31:16]Write i2c OK [17:31:16]MH_I2C_Read... [17:31:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:31:16]Read from MH i2c: E2 [17:31:16]MH_I2C_Read... [17:31:16]Read from MH i2c: E2 17 00 [17:31:16]MH_I2C_Read... [17:31:16]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 D8 [17:31:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 [17:31:16]wFMCommunicate OK [17:31:16]Detected FM SN is 0000000000963294 [17:31:16]Stored FM SN is 0000000000963294 [17:31:16]wFMCommunicate request_size=9 [17:31:16]MH_SAM_APDU [17:31:16]CAPDU: 80 16 00 00 04 3F 70 00 00 [17:31:16]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 3F 70 00 00 00 00 41 [17:31:16]Write i2c OK [17:31:16]MH_I2C_Read... [17:31:16]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [17:31:16]Read from MH i2c: E2 [17:31:16]MH_I2C_Read... [17:31:16]Read from MH i2c: E2 03 00 [17:31:16]MH_I2C_Read... [17:31:16]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [17:31:16]RAPDU: 90 00 [17:31:16]wFMCommunicate OK [17:31:16]FM PIN OK [17:31:16]wFMCommunicate request_size=8 [17:31:16]MH_SAM_APDU [17:31:16]CAPDU: 80 14 04 00 03 02 00 01 [17:31:16]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [17:31:16]Write i2c OK [17:31:16]MH_I2C_Read... [17:31:16]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [17:31:16]Read from MH i2c: E2 [17:31:16]MH_I2C_Read... [17:31:16]Read from MH i2c: E2 03 00 [17:31:16]MH_I2C_Read... [17:31:16]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [17:31:16]RAPDU: 90 00 [17:31:16]wFMCommunicate OK [17:31:16]wFMCommunicate request_size=13 [17:31:16]MH_SAM_APDU [17:31:16]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [17:31:16]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [17:31:16]Write i2c OK [17:31:16]MH_I2C_Read... [17:31:16]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [17:31:16]Read from MH i2c: E2 [17:31:16]MH_I2C_Read... [17:31:16]Read from MH i2c: E2 03 00 [17:31:16]MH_I2C_Read... [17:31:16]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [17:31:16]RAPDU: 90 00 [17:31:16]wFMCommunicate OK [17:31:16]wFMCommunicate request_size=4 [17:31:16]MH_SAM_APDU [17:31:16]CAPDU: 80 11 00 00 [17:31:16]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [17:31:16]Write i2c OK [17:31:16]MH_I2C_Read... [17:31:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:31:16]Read from MH i2c: E2 [17:31:16]MH_I2C_Read... [17:31:16]Read from MH i2c: E2 17 00 [17:31:16]MH_I2C_Read... [17:31:16]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 DC [17:31:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 [17:31:16]wFMCommunicate OK [17:31:16]DocumentArchiveInit [17:31:16]Start Httpd... [17:31:16]Httpd thread 3066899812 created [17:31:16]Write to MH i2c: 01 00 00 0F 00 0F [17:31:16]Write i2c OK [17:31:16]MH_I2C_Read... [17:31:16]Read from MH i2c: 01 [17:31:16]MH_I2C_Read... [17:31:16]Read from MH i2c: 01 07 00 [17:31:16]MH_I2C_Read... [17:31:16]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [17:31:16]Allocated Socket 5 [17:31:16]Bind OK [17:31:16]Listen OK [17:31:16]httpd running on port 8080 [17:31:16]Waiting for new connection... [17:31:16]MH Int Process started [17:31:16]OFD Sender: No OFD packet to send [17:31:21]OFD Sender: No OFD packet to send [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]/dev/ttyS4 opened [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [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 7B FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 20 [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:11]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:11]*** [00:00:11]Read from MH i2c: A0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: A0 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:11]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:11]*** Waiting for read because exit forced [00:00:11]*** 10 ms more... [00:00:11]*** MH1903S init start (LINUX_LIGHT) [00:00:11]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:11]*** Serial: 3139303353513838 540000000057257B (1903SQ88T) [00:00:11]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:11]*** step 0: 5000 (2650, 2350 REF) [00:00:11]*** step 1: 4835 (2500, 2335 REF) [00:00:11]*** step 2: 4676 (2440, 2236 REF) [00:00:11]*** step 3: 4523 (2280, 2243 REF) [00:00:11]*** 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: 27889088+1687214151=1715103239 [00:00:11]*** BPK Status Register BPK_RDY = 0x0 [00:00:11]*** SEN State Register SEN_STATE = 0xff [00:00:11]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:11]*** Analog Control Register 0 SEN_ANA0 = 0x33590625 [00:00:11]*** Is cutter blocked? [00:00:12]MH_GetMetrics [00:00:12]Write to MH i2c: 00 00 00 03 00 02 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 29 00 [00:00:12]MH_I2C_Read... [00:00:12]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 7B FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 21 [00:00:12]Are we in boot? [00:00:12]We are not in boot now [00:00:12]Write to MH i2c: 01 00 00 04 00 04 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 07 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:12]Model is 3 [00:00:12]MH firmware is 30620 [00:00:12]MH boot firmware is 3 [00:00:12]MH_SetPrinterDots 448 [00:00:12]HeadWidthInBytes 56 [00:00:12]maxmasksize 7 [00:00:12]Write to MH i2c: D6 06 00 05 00 41 00 60 00 FF FF 7F [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 01 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:12]Write to MH i2c: D5 00 00 06 00 DA [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 01 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]ExternCall_SetCallbacks [00:00:12]NVStorageInit [00:00:12]MH_GetDate [00:00:12]Write to MH i2c: F0 00 00 07 00 F6 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 07 00 00 08 66 3A 66 47 D8 90 64 20 [17:34:00]Current date/time: 07.05.2024 17:34 [17:34:00]FM_Init [17:34:00]wFMConnect [17:34:00]MH_SAM_On [17:34:00]Write to MH i2c: E0 00 00 08 00 E7 [17:34:00]Write i2c OK [17:34:00]MH_I2C_Read... [17:34:00]*** iso7816_init finished! [17:34:00]*** atr: [17:34:00]*** 0F 3B D5 18 FF 81 91 FE [17:34:00]*** 1F C3 80 73 C8 21 10 0A [17:34:00]*** 00 00 00 00 00 00 00 00 [17:34:00]*** 00 00 00 00 00 00 00 00 [17:34:00]*** 00 00 00 00 00 00 00 00 [17:34:00]*** 00 00 00 00 00 00 00 00 [17:34:00]*** 00 00 00 00 00 00 00 00 [17:34:00]*** 00 00 00 00 00 00 00 00 [17:34:00]Read from MH i2c: E0 [17:34:00]MH_I2C_Read... [17:34:00]Read from MH i2c: E0 10 00 [17:34:00]MH_I2C_Read... [17:34:00]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [17:34:00]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [17:34:00]wFMCommunicate request_size=10 [17:34:00]MH_SAM_APDU [17:34:00]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [17:34:00]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [17:34:00]Write i2c OK [17:34:00]MH_I2C_Read... [17:34:00]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [17:34:00]Read from MH i2c: E2 [17:34:00]MH_I2C_Read... [17:34:00]Read from MH i2c: E2 03 00 [17:34:00]MH_I2C_Read... [17:34:00]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [17:34:00]RAPDU: 90 00 [17:34:00]wFMCommunicate OK [17:34:00]wFMCommunicate request_size=4 [17:34:00]MH_SAM_APDU [17:34:00]CAPDU: 80 11 00 00 [17:34:00]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [17:34:00]Write i2c OK [17:34:00]MH_I2C_Read... [17:34:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:34:00]Read from MH i2c: E2 [17:34:00]MH_I2C_Read... [17:34:00]Read from MH i2c: E2 17 00 [17:34:00]MH_I2C_Read... [17:34:00]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 D8 [17:34:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 [17:34:00]wFMCommunicate OK [17:34:00]Detected FM SN is 0000000000963294 [17:34:00]Stored FM SN is 0000000000963294 [17:34:00]wFMCommunicate request_size=9 [17:34:00]MH_SAM_APDU [17:34:00]CAPDU: 80 16 00 00 04 3F 70 00 00 [17:34:00]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 3F 70 00 00 00 00 41 [17:34:00]Write i2c OK [17:34:00]MH_I2C_Read... [17:34:00]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [17:34:00]Read from MH i2c: E2 [17:34:00]MH_I2C_Read... [17:34:00]Read from MH i2c: E2 03 00 [17:34:00]MH_I2C_Read... [17:34:00]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [17:34:00]RAPDU: 90 00 [17:34:00]wFMCommunicate OK [17:34:00]FM PIN OK [17:34:00]wFMCommunicate request_size=8 [17:34:00]MH_SAM_APDU [17:34:00]CAPDU: 80 14 04 00 03 02 00 01 [17:34:00]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [17:34:00]Write i2c OK [17:34:00]MH_I2C_Read... [17:34:00]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [17:34:00]Read from MH i2c: E2 [17:34:00]MH_I2C_Read... [17:34:00]Read from MH i2c: E2 03 00 [17:34:00]MH_I2C_Read... [17:34:00]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [17:34:00]RAPDU: 90 00 [17:34:00]wFMCommunicate OK [17:34:00]wFMCommunicate request_size=13 [17:34:00]MH_SAM_APDU [17:34:00]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [17:34:00]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [17:34:00]Write i2c OK [17:34:00]MH_I2C_Read... [17:34:00]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [17:34:00]Read from MH i2c: E2 [17:34:00]MH_I2C_Read... [17:34:00]Read from MH i2c: E2 03 00 [17:34:00]MH_I2C_Read... [17:34:00]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [17:34:00]RAPDU: 90 00 [17:34:00]wFMCommunicate OK [17:34:00]wFMCommunicate request_size=4 [17:34:00]MH_SAM_APDU [17:34:00]CAPDU: 80 11 00 00 [17:34:00]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [17:34:00]Write i2c OK [17:34:00]MH_I2C_Read... [17:34:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:34:00]Read from MH i2c: E2 [17:34:00]MH_I2C_Read... [17:34:00]Read from MH i2c: E2 17 00 [17:34:00]MH_I2C_Read... [17:34:00]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 DC [17:34:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 33 32 39 34 90 00 [17:34:00]wFMCommunicate OK [17:34:00]DocumentArchiveInit [17:34:00]Start Httpd... [17:34:00]Httpd thread 3067063652 created [17:34:00]Write to MH i2c: 01 00 00 0F 00 0F [17:34:00]Write i2c OK [17:34:00]MH_I2C_Read... [17:34:00]Read from MH i2c: 01 [17:34:00]MH_I2C_Read... [17:34:00]Read from MH i2c: 01 07 00 [17:34:00]MH_I2C_Read... [17:34:00]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [17:34:00]MH Int Process started [17:34:00]Allocated Socket 7 [17:34:00]Bind OK [17:34:00]Listen OK [17:34:00]httpd running on port 8080 [17:34:00]Waiting for new connection... [17:34:00]OFD Sender: No OFD packet to send [17:34:04]*** Cut start [17:34:04]*** Partial cut [17:34:04]*** CUTSNS_PIN = 1 [17:34:04]*** CUTSNS_PIN = 0 [17:34:04]*** Brake cut motor [17:34:04]*** Stop cut motor [17:34:04]*** Cut end [17:34:05]OFD Sender: No OFD packet to send [17:34:07]*** Cut start [17:34:07]*** Partial cut [17:34:07]*** CUTSNS_PIN = 1 [17:34:07]*** CUTSNS_PIN = 0 [17:34:07]*** Brake cut motor [17:34:07]*** Stop cut motor [17:34:07]*** Cut end [17:34:07]*** Cut start [17:34:07]*** Partial cut [17:34:07]*** CUTSNS_PIN = 1 [17:34:07]*** CUTSNS_PIN = 0 [17:34:07]*** Brake cut motor [17:34:08]*** Stop cut motor [17:34:08]*** Cut end [17:34:09]*** Cut start [17:34:09]*** Partial cut [17:34:09]*** CUTSNS_PIN = 1 [17:34:09]*** CUTSNS_PIN = 0 [17:34:10]*** Brake cut motor [17:34:10]OFD Sender: No OFD packet to send [17:34:10]*** Stop cut motor [17:34:10]*** Cut end [17:34:11]*** Cut start [17:34:11]*** Partial cut [17:34:11]*** CUTSNS_PIN = 1 [17:34:11]*** CUTSNS_PIN = 0 [17:34:11]*** Brake cut motor [17:34:11]*** Stop cut motor [17:34:11]*** Cut end [17:34:13]*** Cut start [17:34:13]*** Partial cut [17:34:13]*** CUTSNS_PIN = 1 [17:34:13]*** CUTSNS_PIN = 0 [17:34:14]*** Brake cut motor [17:34:14]*** Stop cut motor [17:34:14]*** Cut end [17:34:15]OFD Sender: No OFD packet to send [17:34:16]int [17:34:16]Write to MH i2c: 01 00 00 10 00 10 [17:34:16]*** FLAG_PRN_KEY set [17:34:16]Write i2c OK [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: 01 [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: 01 07 00 [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: 01 07 00 10 00 00 08 00 00 00 FF 0F 2D [17:34:16]state=0 [17:34:16]Key pressed [17:34:16]Feed [17:34:16]Write to MH i2c: D8 00 00 11 00 E8 [17:34:16]Write i2c OK [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: D8 [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: D8 01 00 [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: D8 01 00 11 00 00 E9 [17:34:16]int [17:34:16]Write to MH i2c: 01 00 00 12 00 12 [17:34:16]Write i2c OK [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: 01 [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: 01 07 00 [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: 01 07 00 12 00 00 48 00 00 00 3C 00 9D [17:34:16]state=2 [17:34:16]Key pressed [17:34:16]int [17:34:16]Write to MH i2c: 01 00 00 13 00 13 [17:34:16]*** FLAG_PRN_KEY reset [17:34:16]Write i2c OK [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: 01 [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: 01 07 00 [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: 01 07 00 13 00 00 00 00 00 00 F6 0F 1F [17:34:16]state=2 [17:34:16]Stop feed [17:34:16]int [17:34:16]Write to MH i2c: 01 00 00 14 00 14 [17:34:16]*** FLAG_PRN_KEY set [17:34:16]Write i2c OK [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: 01 [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: 01 07 00 [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: 01 07 00 14 00 00 08 00 00 00 FF 0F 31 [17:34:16]state=0 [17:34:16]Key pressed [17:34:16]Feed [17:34:16]Write to MH i2c: D8 00 00 15 00 EC [17:34:16]Write i2c OK [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: D8 [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: D8 01 00 [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: D8 01 00 15 00 00 ED [17:34:16]int [17:34:16]Write to MH i2c: 01 00 00 16 00 16 [17:34:16]Write i2c OK [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: 01 [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: 01 07 00 [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: 01 07 00 16 00 00 48 00 00 00 3D 00 A2 [17:34:16]state=2 [17:34:16]Key pressed [17:34:16]int [17:34:16]Write to MH i2c: 01 00 00 17 00 17 [17:34:16]*** FLAG_PRN_KEY reset [17:34:16]Write i2c OK [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: 01 [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: 01 07 00 [17:34:16]MH_I2C_Read... [17:34:16]Read from MH i2c: 01 07 00 17 00 00 00 00 00 00 F6 0F 23 [17:34:16]state=2 [17:34:16]Stop feed [17:34:17]int [17:34:17]Write to MH i2c: 01 00 00 18 00 18 [17:34:17]*** FLAG_PRN_KEY set [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 18 00 00 08 00 00 00 FF 0F 35 [17:34:17]state=0 [17:34:17]Key pressed [17:34:17]Feed [17:34:17]Write to MH i2c: D8 00 00 19 00 F0 [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: D8 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: D8 01 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: D8 01 00 19 00 00 F1 [17:34:17]int [17:34:17]Write to MH i2c: 01 00 00 1A 00 1A [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 1A 00 00 48 00 00 00 3C 00 A5 [17:34:17]state=2 [17:34:17]Key pressed [17:34:17]int [17:34:17]Write to MH i2c: 01 00 00 1B 00 1B [17:34:17]*** FLAG_PRN_KEY reset [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 1B 00 00 00 00 00 00 F6 0F 27 [17:34:17]state=2 [17:34:17]Stop feed [17:34:17]int [17:34:17]Write to MH i2c: 01 00 00 1C 00 1C [17:34:17]*** FLAG_PRN_KEY set [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 1C 00 00 08 00 00 00 FF 0F 39 [17:34:17]state=0 [17:34:17]Key pressed [17:34:17]Feed [17:34:17]Write to MH i2c: D8 00 00 1D 00 F4 [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: D8 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: D8 01 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: D8 01 00 1D 00 00 F5 [17:34:17]int [17:34:17]Write to MH i2c: 01 00 00 1E 00 1E [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 1E 00 00 48 00 00 00 3C 00 A9 [17:34:17]state=2 [17:34:17]Key pressed [17:34:17]int [17:34:17]Write to MH i2c: 01 00 00 1F 00 1F [17:34:17]*** FLAG_PRN_KEY reset [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 1F 00 00 00 00 00 00 F6 0F 2B [17:34:17]state=2 [17:34:17]Stop feed [17:34:17]int [17:34:17]Write to MH i2c: 01 00 00 20 00 20 [17:34:17]*** FLAG_PRN_KEY set [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 20 00 00 08 00 00 00 FF 0F 3D [17:34:17]state=0 [17:34:17]Key pressed [17:34:17]Feed [17:34:17]Write to MH i2c: D8 00 00 21 00 F8 [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: D8 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: D8 01 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: D8 01 00 21 00 00 F9 [17:34:17]int [17:34:17]Write to MH i2c: 01 00 00 22 00 22 [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 22 00 00 48 00 00 00 3C 00 AD [17:34:17]state=2 [17:34:17]Key pressed [17:34:17]int [17:34:17]Write to MH i2c: 01 00 00 23 00 23 [17:34:17]*** FLAG_PRN_KEY reset [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 23 00 00 00 00 00 00 F5 0F 2E [17:34:17]state=2 [17:34:17]Stop feed [17:34:17]int [17:34:17]Write to MH i2c: 01 00 00 24 00 24 [17:34:17]*** FLAG_PRN_KEY set [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 24 00 00 08 00 00 00 FF 0F 41 [17:34:17]state=0 [17:34:17]Key pressed [17:34:17]Feed [17:34:17]Write to MH i2c: D8 00 00 25 00 FC [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: D8 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: D8 01 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: D8 01 00 25 00 00 FD [17:34:17]int [17:34:17]Write to MH i2c: 01 00 00 26 00 26 [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 26 00 00 48 00 00 00 3D 00 B2 [17:34:17]state=2 [17:34:17]Key pressed [17:34:17]int [17:34:17]Write to MH i2c: 01 00 00 27 00 27 [17:34:17]*** FLAG_PRN_KEY reset [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 27 00 00 00 00 00 00 F5 0F 32 [17:34:17]state=2 [17:34:17]Stop feed [17:34:17]int [17:34:17]Write to MH i2c: 01 00 00 28 00 28 [17:34:17]*** FLAG_PRN_KEY set [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 28 00 00 08 00 00 00 FF 0F 45 [17:34:17]state=0 [17:34:17]Key pressed [17:34:17]Feed [17:34:17]Write to MH i2c: D8 00 00 29 00 00 [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: D8 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: D8 01 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: D8 01 00 29 00 00 01 [17:34:17]int [17:34:17]Write to MH i2c: 01 00 00 2A 00 2A [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 2A 00 00 48 00 00 00 3C 00 B5 [17:34:17]state=2 [17:34:17]Key pressed [17:34:17]int [17:34:17]Write to MH i2c: 01 00 00 2B 00 2B [17:34:17]*** FLAG_PRN_KEY reset [17:34:17]Write i2c OK [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 [17:34:17]MH_I2C_Read... [17:34:17]Read from MH i2c: 01 07 00 2B 00 00 00 00 00 00 F5 0F 36 [17:34:17]state=2 [17:34:17]Stop feed [17:34:20]OFD Sender: No OFD packet to send [17:34:23]int [17:34:23]Write to MH i2c: 01 00 00 2C 00 2C [17:34:23]*** FLAG_PRN_PAP1 set [17:34:23]Write i2c OK [17:34:23]MH_I2C_Read... [17:34:23]Read from MH i2c: 01 [17:34:23]MH_I2C_Read... [17:34:23]Read from MH i2c: 01 07 00 [17:34:23]MH_I2C_Read... [17:34:23]Read from MH i2c: 01 07 00 2C 00 00 01 00 00 00 FF 0F 42 [17:34:23]state=0 [17:34:23]No paper [17:34:23]int [17:34:23]Write to MH i2c: 01 00 00 2D 00 2D [17:34:23]*** FLAG_PRN_PAP2 set [17:34:23]Write i2c OK [17:34:23]MH_I2C_Read... [17:34:23]Read from MH i2c: 01 [17:34:23]MH_I2C_Read... [17:34:23]Read from MH i2c: 01 07 00 [17:34:23]MH_I2C_Read... [17:34:23]Read from MH i2c: 01 07 00 2D 00 00 03 00 00 00 FF 0F 45 [17:34:23]state=0 [17:34:23]No paper [17:34:23]Cover opened [17:34:25]int [17:34:25]Write to MH i2c: 01 00 00 2E 00 2E [17:34:25]*** FLAG_PRN_PAP2 reset [17:34:25]Write i2c OK [17:34:25]MH_I2C_Read... [17:34:25]Read from MH i2c: 01 [17:34:25]MH_I2C_Read... [17:34:25]Read from MH i2c: 01 07 00 [17:34:25]MH_I2C_Read... [17:34:25]Read from MH i2c: 01 07 00 2E 00 00 01 00 00 00 FF 0F 44 [17:34:25]state=3 [17:34:25]No paper [17:34:25]Cover closed [17:34:25]int [17:34:25]Write to MH i2c: 01 00 00 2F 00 2F [17:34:25]*** FLAG_PRN_PAP2 set [17:34:25]Write i2c OK [17:34:25]MH_I2C_Read... [17:34:25]Read from MH i2c: 01 [17:34:25]MH_I2C_Read... [17:34:25]Read from MH i2c: 01 07 00 [17:34:25]MH_I2C_Read... [17:34:25]Read from MH i2c: 01 07 00 2F 00 00 03 00 00 00 FF 0F 47 [17:34:25]state=0 [17:34:25]No paper [17:34:25]Cover opened [17:34:25]int [17:34:25]Write to MH i2c: 01 00 00 30 00 30 [17:34:25]*** FLAG_PRN_PAP2 reset [17:34:25]Write i2c OK [17:34:25]MH_I2C_Read... [17:34:25]Read from MH i2c: 01 [17:34:25]MH_I2C_Read... [17:34:25]Read from MH i2c: 01 07 00 [17:34:25]MH_I2C_Read... [17:34:25]Read from MH i2c: 01 07 00 30 00 00 01 00 00 00 FF 0F 46 [17:34:25]state=3 [17:34:25]No paper [17:34:25]Cover closed [17:34:25]OFD Sender: No OFD packet to send [17:34:25]int [17:34:25]Write to MH i2c: 01 00 00 31 00 31 [17:34:25]*** FLAG_PRN_PAP2 set [17:34:25]Write i2c OK [17:34:25]MH_I2C_Read... [17:34:25]Read from MH i2c: 01 [17:34:25]MH_I2C_Read... [17:34:25]Read from MH i2c: 01 07 00 [17:34:25]MH_I2C_Read... [17:34:25]Read from MH i2c: 01 07 00 31 00 00 03 00 00 00 FF 0F 49 [17:34:25]state=0 [17:34:25]No paper [17:34:25]Cover opened [17:34:26]int [17:34:26]Write to MH i2c: 01 00 00 32 00 32 [17:34:26]*** FLAG_PRN_PAP2 reset [17:34:26]Write i2c OK [17:34:26]MH_I2C_Read... [17:34:26]Read from MH i2c: 01 [17:34:26]MH_I2C_Read... [17:34:26]Read from MH i2c: 01 07 00 [17:34:26]MH_I2C_Read... [17:34:26]Read from MH i2c: 01 07 00 32 00 00 01 00 00 00 FF 0F 48 [17:34:26]state=3 [17:34:26]No paper [17:34:26]Cover closed [17:34:27]int [17:34:27]Write to MH i2c: 01 00 00 33 00 33 [17:34:27]*** FLAG_PRN_PAP1 reset [17:34:27]Write i2c OK [17:34:27]MH_I2C_Read... [17:34:27]Read from MH i2c: 01 [17:34:27]MH_I2C_Read... [17:34:27]Read from MH i2c: 01 07 00 [17:34:27]MH_I2C_Read... [17:34:27]Read from MH i2c: 01 07 00 33 00 00 00 00 00 00 FF 0F 48 [17:34:27]state=0 [17:34:30]OFD Sender: No OFD packet to send